Commit Graph

1828 Commits

Author SHA1 Message Date
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
a08c382e06 Separate views registration from controllers one.
- Add an Extension->registerViews() method.
- Views are first searched in extension paths, then in APP_PATH.
- It gives a way to override easily existing controllers / views.
- Change include into an include_once in Dispatcher for new controllers.

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06 15:20:20 +01:00
Marien Fressinaud
c6a682deb9 Extensions can define new views
- View base pathname is set to the extension directory
- An extension can now override an existing controller / view

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 15:27:56 +01:00
Marien Fressinaud
f8aa66152f Give possibility to register a new Controller.
- Add a Extension->registerController(name) method
- Controllers must be written in extension_dir/controllers/nameController.php
- Controllers must be named as FreshExtension_name_Controller
- Controllers must extend Minz_ActionController

See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05 14:48:09 +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
a2da70fd11 Fix security hole from ext.php script.
Now, ext.php can only serve file under a EXTENSIONS_PATH/ext_dir/static/ directory.
A 400 Bad Request error will be returned for other files.

See https://github.com/FreshRSS/FreshRSS/issues/252
And https://github.com/FreshRSS/FreshRSS/commit/f9b037742a0aeb49cab86782d1a59913c2de47b
2014-12-05 10:54:44 +01:00
Marien Fressinaud
f1fd1091b9 Remove old code for extensions 2014-12-04 20:43:05 +01:00
Marien Fressinaud
f9b037742a Update ext.php to serve any file from extensions
Add an extension->getFileUrl() method to facilitate url generation
2014-12-04 20:41:01 +01:00
Marien Fressinaud
0316badf64 Update gitignore for extensions 2014-12-04 19:52:07 +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
Alexis Degrugillier
53410887c9 Fix behavior to hide articles
I do not like it since it is partly duplicated. We need to find something better.
2014-12-03 18:57:53 -05:00
Alexis Degrugillier
5617911644 Revert "Fix behavior when marking an article as unread"
This reverts commit 93af0cf61e.
2014-12-03 18:35:42 -05:00
Alexis Degrugillier
93af0cf61e Fix behavior when marking an article as unread 2014-12-03 18:16:50 -05:00
Alexis Degrugillier
d88335072d Merge pull request #723 from Alwaysin/patch-3
Add i18n (french) for auto_remove_article #2
2014-12-03 17:49:45 -05:00
Alwaysin
7161eacb40 Add i18n (french) for auto_remove_article #2
Reference : #694
2014-12-03 23:42:38 +01:00
Marien Fressinaud
a7d83225d3 Merge branch '334-new-i18n' into dev 2014-12-03 17:02:15 +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
adaec6176c Add article auto-remove after clicking on the read link 2014-12-02 23:34:31 -05:00
Alexis Degrugillier
82745a509a Optimize screwdriver theme icons. 2014-11-26 18:14:17 -05:00
Alexis Degrugillier
498f8315f7 Optimize bluelagoon theme icons.
In the future, we should pay attention to those icons since I've done that a couple of time now. We should have some documentation for new contributions.
2014-11-26 18:05:51 -05:00
Marien Fressinaud
b9b3e963b4 Add BlueLagoon theme 2014-11-24 15:49:13 +01:00
Marien Fressinaud
7781add6da Update Screwdriver theme 2014-11-24 15:45:47 +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
Alexandre Alapetite
4b374ce991 Merge pull request #708 from FreshRSS/theme-selector
Theme selection redesign
2014-11-16 17:59:17 +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
dab266a922 SimplePie changelog
https://github.com/FreshRSS/FreshRSS/issues/456
https://github.com/FreshRSS/FreshRSS/issues/706
2014-11-12 23:33:47 +01: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
Alexandre Alapetite
e4ea629f59 SimplePie: Added unconventional mime type for RSS
Since `application/rss+xml` is not official
http://www.iana.org/assignments/media-types/media-types.xhtml, then it
is fair enough to use the `x-` prefix.
https://github.com/FreshRSS/FreshRSS/issues/706
2014-11-12 22:42:47 +01:00
Alexandre Alapetite
56ac35095a Better error message for inaccessible feeds
https://github.com/FreshRSS/FreshRSS/issues/456
2014-11-12 22:23:59 +01:00
Alexis Degrugillier
2cbad0c1d7 Merge pull request #702 from FreshRSS/fix-number
Small format fix
2014-11-08 10:05:39 -05:00
Alexis Degrugillier
c4f6709a29 Small format fix 2014-11-08 10:04:43 -05:00
Alexis Degrugillier
76fbc8c719 Merge pull request #701 from FreshRSS/stats
Add more info in article repartition page
2014-11-08 09:34:59 -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
Alexandre Alapetite
ba7d63e5ca Temporarily remove scheme check in referer
If needed, we may re-introduce the check for scheme with proper support
for proxy
https://github.com/FreshRSS/FreshRSS/issues/565#issuecomment-61602425
2014-11-04 08:47:23 +01:00
Alexis Degrugillier
2046766a88 Merge pull request #696 from FreshRSS/fix-label
Fix view title
2014-11-02 18:24:45 -05: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
Alexis Degrugillier
0eae6ef6b4 Merge pull request #692 from FreshRSS/theme-cleaning
Remove border on Dark and Origin for unread entry counters
2014-11-01 10:12:57 -04:00
Alexis Degrugillier
2dcea37e70 Remove border on Dark and Origin for unread entry counters 2014-11-01 10:11:11 -04:00