Andrew Dolgov
8b73bd28d8
remove apache-specific x-sendfile stuff
...
implement a hook (HOOK_SEND_LOCAL_FILE) which plugins may use to send files
via httpd-specific implementation to increase performance typically on larger files
7 years ago
wn_
bec5ba93e2
Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
...
It's expected the plugin will return content parsable by FeedParser, which
will act as an interface to the basic feed info. In the case of a plugin
that also uses 'HOOK_FETCH_FEED', both might return the same content.
The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
7 years ago
Andrew Dolgov
e50a647916
add HOOK_FORMAT_ARTICLE & HOOK_FORMAT_ARTICLE_CDM
...
Feeds::format_headlines_list: add some comments for cdm article closing tags
8 years ago
Andrew Dolgov
ea79a0e033
remove some redundant php closing tags
8 years ago
Andrew Dolgov
7b55001eee
fix various issues reported by static analysis
...
update gitlab-ci config
8 years ago
Andrew Dolgov
58210301e0
add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy
8 years ago
Andrew Dolgov
6293d3717c
add toggle_sidebar plugin, remove obsolete toggle button
...
add PluginHost::HOOK_MAIN_TOOLBAR_BUTTON
8 years ago
Andrew Dolgov
399678a14e
add PluginHost.HOOK_ARTICLE_EXPORT_FEED
9 years ago
Andrew Dolgov
583f163f40
don't init plugins when loading everything to make a list, duh
9 years ago
Andrew Dolgov
b87744534a
add plugin-based filter actions (see example plugin in attic)
...
bump schema
9 years ago
Andrew Dolgov
5914f31981
pluginhost: mention that update task & housekeeping hooks are for global plugins only
10 years ago
Andrew Dolgov
ca5d39e866
pluginhost: assume plugins.local exists
10 years ago
Andrew Dolgov
7c0a2ab202
pluginhost: allow loading user plugins from plugins.local
10 years ago
Andrew Dolgov
945346cbff
add HOOK_RENDER_ENCLOSURE & af_youtube_embed plugin
10 years ago
Andrew Dolgov
7eb87b80d5
add pluginhost HOOK_HEADLINES_BEFORE (refs #814 )
10 years ago
wltb
01465325b4
Add subscribe hook, give more information to fetch_feed hook
11 years ago
Dave Zaikos
2bb11658a8
Added HOOK_FORMAT_ENCLOSURES plugin hook.
...
Runs HTML and enclosures array through a plugin hook when rendering an article's enclosures in format_article_enclosures(). Allows plugins to override handling of how enclosures are presented by either filtering the array of enclosures, or generating the HTML to add to the article content.
11 years ago
Rob Hoelz
baaf4c3043
Make search mechanism pluggable
...
Currently, TinyTinyRSS can use raw SQL or the Sphinx search engine
for searching. It would be nice if other search engines (such as
Xapian) could be used, or if features of the underlying SQL engine
(such as MySQL's FULLTEXT indexes) could be leveraged. This commit
makes searching into a plugin hook, falling back to the builtin behavior
if no search plugin is active. The Sphinx search behavior has been
broken out into a plugin.
11 years ago
Andrew Dolgov
84e36b61a3
make_init_params: add plugins
11 years ago
Dave Zaikos
a96bb3d88a
Fixed a bug in PluginHost::del_hook() where the parameters passed to array_search() were in the incorrect order.
11 years ago
Andrew Dolgov
8e47022036
add hook_house_keeping
11 years ago
justauser
891e36f57e
Changes to add a new hook: HOOK_QUERY_HEADLINES. An example is provided.
12 years ago
Andrew Dolgov
14c84904fe
pluginhost: allow html tags in plugin storage
12 years ago
Andrew Dolgov
ee65bef405
add HOOK_FETCH_FEED
12 years ago
Rasmus Lerdorf
6f7798b643
Fixing bugs found by static analysis
12 years ago
Andrew Dolgov
d48398e647
pluginhost: remove session cache for storage
12 years ago
Andrew Dolgov
8cefe38a0a
add HOOK_PREFS_SAVE_FEED
12 years ago
Andrew Dolgov
057177eb2c
add HOOK_PREFS_EDIT_FEED
12 years ago
Andrew Dolgov
106a3de91c
plugins: bump API version
12 years ago
Andrew Dolgov
ddf28801e4
implement plugin API version compatibility check
12 years ago
Andrew Dolgov
726bd48e8c
better handle get_link() enabled plugins crashing on load
12 years ago
Andrew Dolgov
48ed517e8d
pref_prefs: remove second argument from the constructor
12 years ago
Andrew Dolgov
1ffe3391f9
make pluginhost a singleton
12 years ago
Andrew Dolgov
d9c85e0f11
classes: use OO DB interface
12 years ago
Andrew Dolgov
a42c55f02b
fix blank character after opening bracket in function calls
12 years ago
Andrew Dolgov
6322ac79a0
remove $link
12 years ago
Andrew Dolgov
b8c7f8357d
do not try to load plugins which aren't directories
12 years ago
Andrew Dolgov
79f9bef767
add support for plugins adding API methods
12 years ago
Andrew Dolgov
ccb2b8dd42
add HOOK_ARTICLE_LEFT_BUTTON
12 years ago
Daniel Andersson
4785420034
Add hook to add explanations of hotkey actions via plugins.
12 years ago
Andrew Dolgov
ceb7847108
add HOOK_TOOLBAR_BUTTON, HOOK_ACTION_ITEM, HOOK_HEADLINE_TOOLBAR_BUTTON
12 years ago
Andrew Dolgov
4cf0f9a900
greaderimport: add command line mode
12 years ago
Andrew Dolgov
a413f53ebf
add experimental base for plugin vfeeds (3 pane mode not yet
...
implemented)
12 years ago
Andrew Dolgov
3972bf5981
db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close()
12 years ago
Andrew Dolgov
b6604c9613
add HOOK_RENDER_ARTICLE_API ( closes #608 )
12 years ago
Andrew Dolgov
764555ff8a
rework update.php to use getopt; allow --task parameter
12 years ago
Andrew Dolgov
e9b86f0a1c
reimplement HOOK_SANITIZE (plugs before final removal of harmful tags)
12 years ago
Andrew Dolgov
be124dc236
Revert "add experimental HOOK_SANITIZE"
...
This reverts commit 2130fe7a18
.
12 years ago
Andrew Dolgov
2130fe7a18
add experimental HOOK_SANITIZE
12 years ago
Andrew Dolgov
be17885789
pluginhost: add get_debug()/set_debug() for plugins to detect if debugging is allowed
12 years ago