Marien Fressinaud
7fd88adeb0
Add hooks to ExtensionManager ( #2482 )
...
Hooks allow to:
- add items in menus
- perform new actions at the end of FreshRSS initialization
2019-08-14 22:19:24 +02:00
Alexandre Alapetite
031acde003
Fix extension hook for updated articles ( #1932 )
...
* Fix extension hook for updated articles
https://github.com/FreshRSS/FreshRSS/issues/1926
* Enable extensions during PubSubHubbub
* A little array protection
* Changelog 1926
https://github.com/FreshRSS/FreshRSS/issues/1926
https://github.com/FreshRSS/FreshRSS/pull/1932
* Add null check
2018-06-13 09:27:02 +02:00
Alexandre Alapetite
6a56894e94
New extension event + Tumblr GDPR ( #1924 )
...
* New extension event + Tumblr GDPR
https://github.com/FreshRSS/FreshRSS/issues/1894
simplepie_before_init event
* Refactor extension enabling + Tumblr GDPR enabled by default
Add possibility for extensions to be enabled by default, and disabled
back by users.
* Minor whitespace
2018-06-09 15:58:18 +02:00
Alexandre Alapetite
a756878219
Merge pull request #1714 from kevinpapst/hook-readingmodes
...
Added extension hook for reading modes
2018-01-01 20:49:18 +01:00
Kevin Papst
417178e957
fixed bug in catch block
...
added types to docblocks
2017-12-13 21:59:02 +01:00
Kevin Papst
84c78098d2
added new extension hook
...
using hook for reading modes in navigation
2017-12-10 11:31:19 +01:00
Marien Fressinaud
a47ce4f6af
Fix including extensions for actualize_script
...
Extensions could be included multiple times. It resulted in an error.
2015-01-29 10:17:29 +01:00
Alexandre Alapetite
d30b3becfa
Addressed warnings when reading from new files
...
There were warnings when reading extensions (trying to use e.g. README
and .gitignore as directories), and when reading update file.
https://github.com/FreshRSS/FreshRSS/issues/733
2015-01-19 13:54:57 +01:00
Marien Fressinaud
13cf8b5f9f
Improve hook calls and add post_update hook
...
- To the hook is associated a method signature (OneToOne or NoneToNone for now) so
it is easier to call hooks correctly
- post_update hook is called during the post update moment.
2015-01-15 12:02:42 +01:00
Marien Fressinaud
789d9fc6c8
Fix coding style in extension manager
...
Yep, same as 8968288...
2015-01-14 23:40:18 +01:00
Marien Fressinaud
ade1524d43
Fix valid extension entry points.
...
Add possibility to use underscores (_) in entrypoints.
2015-01-14 21:59:53 +01:00
Marien Fressinaud
73023bc12b
Merge branch 'dev' into 252-extensions
...
Conflicts:
app/FreshRSS.php
app/Models/Configuration.php
app/views/index/index.phtml
app/views/index/normal.phtml
lib/Minz/Configuration.php
lib/Minz/Translate.php
lib/lib_rss.php
2015-01-08 14:18:32 +01:00
Marien Fressinaud
188b517daa
Add a feed_before_insert hook
...
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:05:56 +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
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
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