Commit Graph

214 Commits

Author SHA1 Message Date
Marien Fressinaud
ba163baa84 Fix bug with getExtension()
getExtension() is not available on PHP < 5.3.7
Replaced by pathinfo(..., PATHINFO_EXTENSION)

See https://github.com/marienfressinaud/FreshRSS/issues/649
2014-10-09 16:02:56 +02:00
Alexis Degrugillier
57d4914bf8 Add an average per day for the 30 day period
Conflicts:
	app/views/stats/index.phtml
2014-10-09 16:00:15 +02:00
Marien Fressinaud
d6396be41a Fix category not appear on feed.add page (GET)
Must apply to 0.8.1 and 0.9.1

See https://github.com/marienfressinaud/FreshRSS/issues/649
2014-10-09 15:54:37 +02:00
Marien Fressinaud
17f686095d Remove queries at the same time as feeds
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 13:38:07 +02:00
Marien Fressinaud
5a1baff9be Refactor removing query by get param
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 13:28:09 +02:00
Marien Fressinaud
666162ae56 Fix a bug when $query['state'] doesn't exist
Add a test in addQueryAction().
2014-09-24 12:34:44 +02:00
Marien Fressinaud
a80e12cbf7 Remove queries at the same time as categories
See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-24 12:32:49 +02:00
Marien Fressinaud
0ea3a5a394 Coding style configureController.php 2014-09-24 11:49:32 +02:00
Alexis Degrugillier
c791d84ded Fix user queries
Before, when adding a user query where the state contains the strict filter, the label applied to the query was wrong.
Now, the strict filter is always removed so the label applied is correct.
2014-09-21 18:49:34 -04:00
Alexis Degrugillier
23e4577e02 Change param filter for user queries
Before, the filter was based on a blacklist so the user could add something and have unwanted behavior.
Now, the filter is based on a whilelist so the user can use only predetermined parameters.
2014-09-21 18:40:08 -04:00
Alexis Degrugillier
04403c5dfa Remove number values for shortcuts as they are used in the default configuration 2014-09-21 18:26:27 -04:00
Alexis Degrugillier
3753ea8fd6 Change parameter settings to be consistent through out the file 2014-09-21 18:23:25 -04:00
Alexis Degrugillier
f87dfbc528 Change notification code
Before, it was using the old way to display notifications to the user.
Now, it uses the encapsulated method to do that.
2014-09-21 18:09:10 -04:00
Alexis Degrugillier
5889ef35c8 Change todo align 2014-09-21 12:01:36 -04:00
Alexis Degrugillier
0420a98939 Add comments on the stat controller 2014-09-21 11:51:53 -04:00
Alexis Degrugillier
bad165b0c4 Add a todo 2014-09-21 11:28:46 -04:00
Alexis Degrugillier
cf01508fa5 Fix typo 2014-09-21 11:25:53 -04:00
Alexis Degrugillier
ea7f21ba7f Add some comments
It is a work in progress. I only did that for a single class so you can tell me if this is a good idea, if the content is missing something.
Any comments are welcome.
2014-09-21 11:21:51 -04:00
Marien Fressinaud
a14d325432 Auto-redirect from formLogin if already logged in 2014-09-19 20:30:54 +02:00
Marien Fressinaud
d284958d52 Improve redirection when deleting an idle feed 2014-09-19 19:44:40 +02:00
Marien Fressinaud
07d123f1aa Load $nb/2 articles when reading view
Fix 7d5e57b35b
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-19 18:47:49 +02:00
Marien Fressinaud
ae4ecd8e09 Coding style (user queries) 2014-09-19 15:44:33 +02:00
Marien Fressinaud
ba378791c2 Fix blank page for invalid user queries
Add a "deprecated" information

See https://github.com/marienfressinaud/FreshRSS/issues/625
2014-09-19 13:52:50 +02:00
Marien Fressinaud
0947b780c9 Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev 2014-09-18 15:42:00 +02:00
Marien Fressinaud
94915f1c0a Reset auth system: i18n and style
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:32:59 +02:00
Marien Fressinaud
d2799d168e Improve resetAuth redirections
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 15:09:47 +02:00
Marien Fressinaud
f727a13836 Improve reset auth system
- Add bcrypt.js in resetAuthAction()
- Rename init_loginForm() in init_crypto_form()
- Load init_crypto_form() everytime (if no #crypto-form, do nothing)
2014-09-18 14:50:54 +02:00
Marien Fressinaud
23609ad858 Add page for reset auth type [NOT WORKING]
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18 14:18:00 +02:00
Alexandre Alapetite
ca74b2fca3 Merge pull request #620 from plopoyop/dev
Ajout d'un timeout pour la notification HTML5
2014-09-18 13:34:22 +02:00
plopoyop
4211539c24 Add timeout option for HTML5 notification 2014-09-18 10:46:34 +02:00
Marien Fressinaud
3b8c381689 No cache for update system
See https://github.com/marienfressinaud/FreshRSS/issues/616
2014-09-17 13:37:39 +02:00
Marien Fressinaud
a3b5e72729 Move button to apply update outside the message 2014-09-17 13:26:32 +02:00
Marien Fressinaud
7d5e57b35b Load $nb/2 articles when articles are unfolded
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-17 09:15:19 +02:00
Marien Fressinaud
a4e43e9c53 Message if last update checking is close
last_update.txt is updated even if there is no update
If last_update.txt has been modified during last hour, show a message

See https://github.com/marienfressinaud/FreshRSS/issues/480#issuecomment-55765373
2014-09-16 18:30:24 +02:00
Marien Fressinaud
1e5efc9299 Mark many as read must be a POST action
See https://github.com/marienfressinaud/FreshRSS/issues/599
2014-09-16 14:23:04 +02:00
Marien Fressinaud
69c7c1aa48 Change loading of base-theme css
If metadata.json indicates it should use "_template.css" or "_base.css",
base-theme/template|base.css is used. It facilitates theme maintenance.
2014-09-15 15:55:35 +02:00
Marien Fressinaud
b7b05ca3ce Import/Export: use transactions
List of articles must be iterated twice since feeds must be in DB before
using transaction for articles. It may be improved?

See https://github.com/marienfressinaud/FreshRSS/issues/591
2014-09-15 15:34:56 +02:00
Marien Fressinaud
0214576571 FIXME (import/export) Use entryDAO addEntryPrepare 2014-09-12 21:46:37 +02:00
Marien Fressinaud
3fa726a81e Import all .json files
Before, only feed_*.json and *starred*.json was imported. Now, all
*.json files are imported.
2014-09-12 21:34:42 +02:00
Marien Fressinaud
098f5e6d74 Log error if update.freshrss.org is unreachable 2014-09-12 21:10:45 +02:00
Marien Fressinaud
213bc2b9dd Check if update has been done during last minute
Cancel check action if update has been done during last hour.
2014-09-12 21:07:53 +02:00
Marien Fressinaud
d59eebf542 Add data/last_update.txt
Remember last update timestamp.
2014-09-08 20:07:09 +02:00
Marien Fressinaud
48f91da2e5 Check FRESHRSS_PATH is writable.
FRESHRSS_PATH needs to be writable before performing update.
2014-09-08 19:52:21 +02:00
Marien Fressinaud
ef1b35fc43 Merge branch 'dev' into 411-update-system
Conflicts:
	constants.php
2014-09-08 19:26:35 +02:00
Alexis Degrugillier
f002dbe4ce Add average on repartition charts.
It needs some verification on the value used to calculate the averages.
2014-09-01 20:58:05 -04:00
Marien Fressinaud
1316ada152 Fix bug add favorite entry
See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 22:02:22 +02:00
Marien Fressinaud
ae54a14386 Fix problem with starred files for import/export
Improve guessFileType method

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-23 21:37:37 +02:00
Marien Fressinaud
17cf6fae6b Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev 2014-08-23 20:55:08 +02:00
Alexis Degrugillier
b1139bf39c Add category reading option
Before, when a category was selected, it was expanded to show the feeds in that category.
Now, there is a parameter that allows the user to choose either if he wants the old behaviour or if he wants to expand only when needed (when selecting a feed or when clicking the appropriate button)
2014-08-23 08:18:47 -04:00
Alexandre Alapetite
fb664c2405 Correction pagination bug for read articles
https://github.com/marienfressinaud/FreshRSS/issues/587
2014-08-23 11:04:17 +02:00