Marien Fressinaud
76358846ab
Implement extension deletion
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
0543f96a97
Update comments for ExtensionController
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
28c77f2290
Fix a bug with feed_before_insert hook
...
$feed->name() was called on a null value.
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
188b517daa
Add a feed_before_insert hook
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
a79107fb04
Merge branch 'dev' into 252-extensions
10 years ago
Marien Fressinaud
a596385343
Fix a security issue in Minz_Error::error()
...
Mehtod must redirect automatically by default to avoid code execution after
calling the method.
10 years ago
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
10 years ago
Marien Fressinaud
2232d1e02a
Load user extensions after all the global inits
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
198b154064
Fix View files inclusion.
...
Now, each part of the view (layout, partials, helpers, views) is included based
on the $base_pathnames attribute.
Extensions can now override all of these files.
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
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
10 years ago
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
10 years ago
Marien Fressinaud
5932c3427b
Add entry_before_display hook
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
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
10 years ago
Marien Fressinaud
bc81979a6b
Add default behaviour for configure / remove ext
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
2da7c05fa6
Update i18n (extensions)
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
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
10 years ago
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
10 years ago
Alexis Degrugillier
eaaf8cdbf1
Add comments
10 years ago
Marien Fressinaud
2e4682ebd4
Add enable / disable extension features
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Marien Fressinaud
9fc60317ee
First draft for listing and manipulate extensions
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Alexis Degrugillier
6a706c95df
fix typo
10 years ago
Alexis Degrugillier
427ab0e875
Merge pull request #724 from Alwaysin/patch-5
...
Add i18n (english) for auto_remove_article #2
10 years ago
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
10 years ago
Alwaysin
2a74b9e9a6
Add i18n (english) for auto_remove_article #2
...
Reference : https://github.com/FreshRSS/FreshRSS/pull/694
10 years ago
Marien Fressinaud
f1fd1091b9
Remove old code for extensions
10 years ago
Marien Fressinaud
f9b037742a
Update ext.php to serve any file from extensions
...
Add an extension->getFileUrl() method to facilitate url generation
10 years ago
Marien Fressinaud
0316badf64
Update gitignore for extensions
10 years ago
Marien Fressinaud
1086ba4a2b
Enable extensions for users
10 years ago
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).
10 years ago
Alexis Degrugillier
53410887c9
Fix behavior to hide articles
...
I do not like it since it is partly duplicated. We need to find something better.
10 years ago
Alexis Degrugillier
5617911644
Revert "Fix behavior when marking an article as unread"
...
This reverts commit 93af0cf61e
.
10 years ago
Alexis Degrugillier
93af0cf61e
Fix behavior when marking an article as unread
10 years ago
Alexis Degrugillier
d88335072d
Merge pull request #723 from Alwaysin/patch-3
...
Add i18n (french) for auto_remove_article #2
10 years ago
Alwaysin
7161eacb40
Add i18n (french) for auto_remove_article #2
...
Reference : #694
10 years ago
Marien Fressinaud
a7d83225d3
Merge branch '334-new-i18n' into dev
10 years ago
Marien Fressinaud
ddc50090b5
Fix i18n for installation script
...
See https://github.com/FreshRSS/FreshRSS/issues/334
10 years ago
Marien Fressinaud
aa232d8fd5
Update the i18n system.
...
Follow recommendations from https://github.com/FreshRSS/FreshRSS/issues/334
10 years ago
Alexis Degrugillier
adaec6176c
Add article auto-remove after clicking on the read link
10 years ago
Alexis Degrugillier
82745a509a
Optimize screwdriver theme icons.
10 years ago
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.
10 years ago
Marien Fressinaud
b9b3e963b4
Add BlueLagoon theme
10 years ago
Marien Fressinaud
7781add6da
Update Screwdriver theme
10 years ago
Alexis Degrugillier
0ad04f82ea
Merge pull request #710 from FreshRSS/hide-article
...
Add an automatic sticky post configuration
10 years ago
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.
10 years ago
Alexandre Alapetite
2c50ed7dc1
Merge pull request #694 from FreshRSS/hide-article
...
Add a feature to hide articles when they are read
10 years ago
Alexandre Alapetite
4b374ce991
Merge pull request #708 from FreshRSS/theme-selector
...
Theme selection redesign
10 years ago
Alexis Degrugillier
91388c5b76
Theme properties are more visible
10 years ago