Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-12-14 | * fox.form.Select: add several properties allowing it to better | Andrew Dolgov | |
imitate other controls like DropDownButton, etc. * rework several main toolbar items to use fox.form.Select instead of other controls * replace HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM with HOOK_HEADLINE_TOOLBAR_SELECT_MENU_ITEM2 because of markup change (option instead of menuitem) * PluginHost: add some explicit typecasts to make intellephense shut up | |||
2021-12-06 | * add HOOK_POST_LOGOUT | Andrew Dolgov | |
* auth_remote: add config option AUTH_REMOTE_POST_LOGOUT_URL | |||
2021-11-16 | pluginhost: set stricter @params | Andrew Dolgov | |
2021-11-16 | adjust phpdoc tags for hook definitions/constants (make them reference each ↵ | Andrew Dolgov | |
other) | |||
2021-11-14 | * deal with some phpstan warnings in base plugin class | Andrew Dolgov | |
* arguably better hack for incompatible plugins causing E_COMPILE_ERROR | |||
2021-11-14 | pluginhost: add a hack to not crash on an incompatible plugin more than once ↵ | Andrew Dolgov | |
(per login) - UGLY | |||
2021-11-12 | Switch class properties from PHP typing to PHPDoc for compatibility with PHP ↵ | wn_ | |
< 7.4.0 | |||
2021-11-12 | Address PHPStan warnings in 'classes/pluginhost.php'. | wn_ | |
2021-11-01 | Address PHPStan warnings in 'classes/pluginhost.php'. | wn_ | |
------ -------------------------------------------------------------------- Line classes/pluginhost.php ------ -------------------------------------------------------------------- 16 Property PluginHost::$last_registered is never read, only written. 386 If condition is always true. ------ -------------------------------------------------------------------- | |||
2021-10-22 | pluginhost: update comments for HOOK_ constants to use phpdoc syntax; add ↵ | Andrew Dolgov | |
HOOK_PRE_SUBSCRIBE | |||
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 | |