Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-09 | pluginhost: add profile_get/profile_set helpers | Andrew Dolgov | |
2021-03-15 | Fix E_NOTICE in `add_handler()`. | JustAMacUser | |
2021-03-07 | * af_redditimgur: optionally import score | Andrew Dolgov | |
* add pluginhost->set_array() to set many plugin settings at once | |||
2021-03-03 | wip: initial for db_migrations | Andrew Dolgov | |
2021-03-03 | add basic local plugin uninstaller | Andrew Dolgov | |
2021-03-03 | add a send test email button to prefs/system | Andrew Dolgov | |
2021-03-02 | pluginhost: remove namespace classloader, plugins should use composer instead | Andrew Dolgov | |
2021-03-02 | * sanitize: never rewrite relative links to our own prefix | Andrew Dolgov | |
* use Config::get_self_url() instead of get_self_url_prefix() in a bunch of places | |||
2021-02-26 | add pluginhost->get_array() shorthand | Andrew Dolgov | |
2021-02-22 | dirname(__FILE__) -> __DIR__ | Andrew Dolgov | |
2021-02-22 | fix several issues reported by phpstan | Andrew Dolgov | |
2021-02-22 | reinstate HOOK_RENDER_ENCLOSURE | Andrew Dolgov | |
2021-02-19 | move bookmarklet-related methods out of public.php into the plugin | Andrew Dolgov | |
2021-02-17 | * add (disabled) shortcut syntax for plugin methods | Andrew Dolgov | |
* add controls shortcut for pluginhandler tags * add similar shortcut for frontend * allow plugins to selectively exclude their methods from CSRF checking | |||
2021-02-17 | * implement shortcut syntax for exposed plugin methods | Andrew Dolgov | |
* move shared article rendering code to share plugin | |||
2021-02-15 | article: unify naming | Andrew Dolgov | |
2021-02-09 | pluginhost: a few more warnings and type hints | Andrew Dolgov | |
2021-02-08 | pluginhost: add some type hints | Andrew Dolgov | |
2021-02-08 | db: add type hints | Andrew Dolgov | |
2021-02-08 | more hooks, also add type hint for PluginHost::getInstance() | Andrew Dolgov | |
2021-02-08 | pluginhost: note hook function prototypes | Andrew Dolgov | |
2021-02-08 | pluginhost: deny hook registration to plugins which lack relevant ↵ | Andrew Dolgov | |
implementation methods | |||
2021-02-08 | move some old-style handlers to new callback ones | Andrew Dolgov | |
2021-02-08 | pluginhost: rework run_hooks() to be shorter, add callback variant; ↵ | Andrew Dolgov | |
implement exception handling for both | |||
2021-02-08 | pluginhost: catch errors while loading plugin source code | Andrew Dolgov | |
2021-02-08 | pluginhost: catch fatal errors in plugin init | Andrew Dolgov | |
2021-02-06 | fix some more warnings reported by phpstan | Andrew Dolgov | |
2021-02-05 | initial WIP for php8; bump php version requirement to 7.0 | Andrew Dolgov | |
2021-01-17 | Select... dropdown: replace dijit Select with DropDownButton, simplify layout | Andrew Dolgov | |
PluginHost: add HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM Headlines.onActionChanged: removed | |||
2021-01-15 | pluginhost: load_data: check schema last | Andrew Dolgov | |
2021-01-15 | pluginhost: load plugin data automatically (also marks load_data method as ↵ | Andrew Dolgov | |
private) | |||
2020-09-22 | use self:: in some places to invoke static methods from the same class | Andrew Dolgov | |
2020-09-17 | replace FALSE with false so that static analyzer shuts up about it | Andrew Dolgov | |
2020-09-14 | - fix multiple vulnerabilities in af_proxy_http | Andrew Dolgov | |
- fix vulnerability in rewrite_relative_url() which prevented some URLs from being properly absolutized - fetch_file_contents: validate all URLs before requesting them - validate URLs: explicitly whitelist http and https scheme, forbid everything else - DiskCache/cached_url: only serve whitelisted content types (images, video) - simplify filename/URL handling code, remove and consolidate some less-used functions | |||
2020-08-13 | pluginhost: allow overriding default sort modes via ↵ | Andrew Dolgov | |
HOOK_HEADLINES_CUSTOM_SORT_MAP etc | |||
2020-04-29 | * add HOOK_ENCLOSURE_IMPORTED | Andrew Dolgov | |
* pass feed id to HOOK_FEED_PARSED | |||
2020-03-10 | PluginHost/save_data: use separate PDO connection to prevent issues with ↵ | Andrew Dolgov | |
nested transactions | |||
2019-11-27 | remove hardcoded iframe domain whitelist, make iframe script whitelisting ↵ | Andrew Dolgov | |
configurable by plugins (HOOK_IFRAME_WHITELISTED) | |||
2019-10-07 | Add const HOOK_FEED_TREE | jc | |
2019-10-07 | Add const HOOK_FEED_TREE | jc | |
2019-08-16 | af_readability: add missing file | Andrew Dolgov | |
2019-08-15 | fix get_method_url() to use correct method parameter | Andrew Dolgov | |
2019-08-15 | pluginhost: add helper methods to get private/public pluginmethod endpoint URLs | Andrew Dolgov | |
2019-08-15 | pluginhost: implement priority-based system for running hooks | Andrew Dolgov | |
2019-08-15 | add HOOK_ARTICLE_IMAGE for Article::get_article_image() | Andrew Dolgov | |
2019-08-13 | * HOOK_ENCLOSURE_ENTRY: pass article_id to handler | Andrew Dolgov | |
* DiskCache: multiple fixes; support isWritable() for cache entries, set content-disposition for send() * public/cached_url: allow selecting files from sub-caches other than images * plugins/Cache_Starred_Images: rework to use DiskCache, can be enabled per-user, properly handles article enclosures, etc | |||
2019-04-17 | plugins: add HOOK_GET_FULL_TEXT which may be used to provide full text ↵ | Andrew Dolgov | |
extraction to core code and other plugins, instead of trying to invoke af_readability specifically | |||
2019-03-05 | pluginhost: remove plugin gettext helpers (moved to plugin base class) | Andrew Dolgov | |
2019-03-05 | add P_sprintf | Andrew Dolgov | |
2019-03-01 | support per-plugin locale directories | Andrew Dolgov | |