Commit Graph

1145 Commits

Author SHA1 Message Date
Marien Fressinaud
c6dfec3ad3 Add behaviour to configure action (extensions)
- Put extension configure view in dir_ext/configure.phtml
- Handle POST action in Extension->handleConfigureAction() method

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 12:01:47 +01:00
Marien Fressinaud
2232d1e02a Load user extensions after all the global inits
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 15:45:34 +01:00
Marien Fressinaud
ea849d7c68 Prepare better organization of view files for exts
View files must be well-splitted to simplify work for extensions.

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 15:03:42 +01:00
Marien Fressinaud
7ef4d6c033 Fix entry_before_insert hook
The hook must be called also in:
- feedController->addAction()
- importExportController->importJson()

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 14:39:02 +01:00
Marien Fressinaud
5932c3427b Add entry_before_display hook
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07 14:31:50 +01:00
Marien Fressinaud
08546af75f Add a first draft for hooks
- New Extension->registerHook($hook_name, $hook_function) method to register a new hook
- Only one hook works for the moment: entry_before_insert
- ExtensionManager::callHook will need to evolve based on future hooks

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 18:48:00 +01:00
Marien Fressinaud
bc81979a6b Add default behaviour for configure / remove ext
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 17:25:01 +01:00
Marien Fressinaud
2da7c05fa6 Update i18n (extensions)
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 17:15:20 +01:00
Marien Fressinaud
9d66462c1d Fix typo (extensions)
- change feedback.extension into feedback.extensions
- disable button is pushed by default

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:48:13 +01:00
Marien Fressinaud
4c888590e6 Improve system/user types for extensions
- system extensions can only be managed by an administrator
- system extensions are loaded for all users (even if not logged)
- user extensions are loaded for logged users only
- system extensions loading is saved in global config.php file

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:41:06 +01:00
Marien Fressinaud
2e4682ebd4 Add enable / disable extension features
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 16:17:11 +01:00
Marien Fressinaud
9fc60317ee First draft for listing and manipulate extensions
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 14:17:02 +01:00
Marien Fressinaud
f1fd1091b9 Remove old code for extensions 2014-12-04 20:43:05 +01:00
Marien Fressinaud
1086ba4a2b Enable extensions for users 2014-12-04 19:47:43 +01:00
Marien Fressinaud
86f69ca396 First draft for the new extension feature
- Only system extensions can be loaded for the moment by adding them in the config.php
  file.
- Remove previous system (it will be added properly in the new system in the next step).
2014-12-04 19:33:29 +01:00
Alwaysin
7161eacb40 Add i18n (french) for auto_remove_article #2
Reference : #694
2014-12-03 23:42:38 +01:00
Marien Fressinaud
ddc50090b5 Fix i18n for installation script
See https://github.com/FreshRSS/FreshRSS/issues/334
2014-12-03 16:58:12 +01:00
Marien Fressinaud
aa232d8fd5 Update the i18n system.
Follow recommendations from https://github.com/FreshRSS/FreshRSS/issues/334
2014-12-03 16:45:51 +01:00
Alexis Degrugillier
0ad04f82ea Merge pull request #710 from FreshRSS/hide-article
Add an automatic sticky post configuration
2014-11-22 08:05:21 -05:00
Alexis Degrugillier
a3a77b09e9 Add an automatic sticky post configuration
Before, when the article while marked as read while scrolling and auto removed after reading, the display was in the middle of the following article.
Now, the article is forced to be a sticky article so the user display is forced to be on top of the following article.
2014-11-22 08:01:31 -05:00
Alexandre Alapetite
2c50ed7dc1 Merge pull request #694 from FreshRSS/hide-article
Add a feature to hide articles when they are read
2014-11-16 18:10:55 +01:00
Alexis Degrugillier
91388c5b76 Theme properties are more visible 2014-11-16 08:55:19 -05:00
Alexis Degrugillier
ec55aa94bf Theme selection redesign
I made a CSS3 gallery to select the theme. Now you can see the theme before applying it.
Comments are welcome.

See #571
2014-11-15 18:08:14 -05:00
Alexandre Alapetite
764946814f force_feed option
By adding #force_feed at the end of the URL of a feed sent with a wrong
content-type (mime)
https://github.com/FreshRSS/FreshRSS/issues/456
2014-11-12 23:28:47 +01:00
Alexandre Alapetite
a235f003bd Better log in case of nonce errors
https://github.com/FreshRSS/FreshRSS/issues/676
2014-11-12 22:58:33 +01:00
Alexis Degrugillier
c4f6709a29 Small format fix 2014-11-08 10:04:43 -05:00
Alexis Degrugillier
960abfcc65 Refactor some if statements 2014-11-08 09:29:51 -05:00
Alexis Degrugillier
38cf7a109e Add more info in article repartition page
I added the same information than on the main stat page (total, read, unread and favorite) on the repartition page. Some refactoring was needed.
2014-11-08 09:26:01 -05:00
Marien Fressinaud
0b7af8f871 Fix bug on archiving page
Introduced by ee5bbe4826
2014-11-04 13:39:17 +01:00
Alexis Degrugillier
4c4604120e Fix view title 2014-11-02 18:22:59 -05:00
Alexis Degrugillier
960f86ba20 Add a feature to hide articles when they are read
This is a new reading option to hide articles when they are read. The hidding process occurs when the article is left for an other article. This way, even when the article is marked as read on opening, it is hidden only while navigating to an other article.
I'm not really happy with the behavior when the "mark while scrolling" option is enabled. Please review.
It is missing the i18n since we're not supposed to push them before it exists on i18n.freshrss.org. Or maybe I misunderstood the process.

See #476
2014-11-02 10:05:26 -05:00
Marien Fressinaud
724e13f0a6 Fix global view mark as read 2014-10-31 16:43:05 +01:00
Marien Fressinaud
d9c56fb6f7 Remove check database for next beta
See https://github.com/FreshRSS/FreshRSS/issues/678
2014-10-31 15:58:19 +01:00
Marien Fressinaud
39d2a26cf0 Fix bug in stats/index.phtml 2014-10-30 20:00:25 +01:00
Marien Fressinaud
58deab37cd Fix Minz_Error::error() -> use default values 2014-10-30 19:57:08 +01:00
Marien Fressinaud
036240ab01 Fix coding style formatNumber and formatBytes 2014-10-30 19:31:32 +01:00
Marien Fressinaud
ee5bbe4826 Fix bug size with SQLite 2014-10-30 19:19:09 +01:00
Marien Fressinaud
9478d2f011 Add do_post_update support 2014-10-30 12:43:52 +01:00
Marien Fressinaud
d20b5a127f Fix limit in import Json files
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 11:47:51 +01:00
Marien Fressinaud
fb3cda8ac9 Fix limits in import OPML files
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 11:08:31 +01:00
Marien Fressinaud
cf7350af47 Update i18n for limit of feeds
See https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-29 10:21:34 +01:00
Marien Fressinaud
1ea996c4ea Update i18n for limit of category. 2014-10-29 10:15:22 +01:00
Alexandre Alapetite
9f97f7df88 Ne pas rafraîchir les flux des utilisateurs non logués depuis x jours
https://github.com/marienfressinaud/FreshRSS/issues/681
Warning: needs some testing
2014-10-29 00:45:42 +01:00
Alexandre Alapetite
00127f07c5 SimplePie: cache feeds with errors
Before the cache system was not used for feeds with errors, which was
problematic especially if several users have this feed.
Furthermore, there was no protection against repetitive refresh.

Bonus: slightly better performance by avoiding some superfluous
file_exists().

Warning: needs a bit of testing
https://github.com/marienfressinaud/FreshRSS/issues/681
2014-10-28 23:52:46 +01:00
Alexandre Alapetite
4cbd7e0583 Bug: unlock was not done for feeds with error 2014-10-28 23:32:55 +01:00
Alexandre Alapetite
c6f35ef51c Global limits for number of feeds and categories
New 'limits' sub-array in config.php with 'max_feeds' and
'max_categories'. If the values are < 0, then it is the default value
(16384).
https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-27 21:45:30 +01:00
Luc Didry
e861e5789d Fix errors + improvements on bug #683 fix. 2014-10-26 19:00:00 +01:00
Luc Didry
956896bf87 Fixes #683 2014-10-26 17:01:31 +01:00
Marien Fressinaud
4dec7bf127 Fix i18n string
Order has been changed due to a little bug in sort order function.
2014-10-26 12:37:38 +01:00
Marien Fressinaud
5d6407a0bf Update i18n
- Fix i18n strings
- Fix typo profil -> profile

See https://github.com/marienfressinaud/FreshRSS/issues/678
2014-10-26 12:22:13 +01:00