summaryrefslogtreecommitdiff
path: root/classes/plugin.php
AgeCommit message (Collapse)Author
2022-11-28get_self_url: strip all trailing slashesAndrew Dolgov
2022-07-24 * add HOOK_LOGINFORM_ADDITIONAL_BUTTONSAndrew Dolgov
* allow plugins to inject JS code into login form
2022-01-06generate a warning if plugin-generated content of HOOK_ARTICLE_BUTTON or ↵Andrew Dolgov
_LEFT_BUTTON can't be parsed as valid XML
2021-12-14 * fox.form.Select: add several properties allowing it to betterAndrew 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_LOGOUTAndrew Dolgov
* auth_remote: add config option AUTH_REMOTE_POST_LOGOUT_URL
2021-11-18 * base plugin class: correct description of hook_house_keeping()Andrew Dolgov
* cache_starred_images: keep status files in a separate cache directory
2021-11-17document a few more plugin hooksAndrew Dolgov
2021-11-17add descriptions for some plugin hooksAndrew Dolgov
2021-11-16adjust phpdoc tags for hook definitions/constants (make them reference each ↵Andrew Dolgov
other)
2021-11-15revise phpdoc annotations for hook_search()Andrew Dolgov
2021-11-14Also fix the param signature for Plugin#hook_hotkey_info()wn_
2021-11-14Fix the return signature for Plugin#hook_hotkey_info()wn_
2021-11-14revise prototype for hook_enclosure_importedAndrew Dolgov
2021-11-14revise phpdoc annotations for hook_sanitize()Andrew Dolgov
2021-11-14plugin.php: add some minor method phpdoc correctionsAndrew Dolgov
2021-11-14deal with the rest of warnings in plugin.phpAndrew Dolgov
2021-11-14deal with a few more phpstan warnings re: base plugin classAndrew Dolgov
2021-11-14fix HOOK_QUERY_HEADLINES being invoked with different argument lists, add ↵Andrew Dolgov
some more phpdoc comments for base plugin class
2021-11-14 * deal with some phpstan warnings in base plugin classAndrew Dolgov
* arguably better hack for incompatible plugins causing E_COMPILE_ERROR
2021-11-14normalize some mismatching hook function definitions to match base Plugin classAndrew Dolgov
2021-11-14deal with phpstan warnings related to base authentication modulesAndrew Dolgov
2021-11-13set some annotations on Plugin hook methodsAndrew Dolgov
2021-11-13experimental: bring back plugin hooks to Plugin base class once (to be ↵Andrew Dolgov
improved/fixed with annotations later)
2021-11-13deal with some warnings in plugins/trgm,readability and base plugin classAndrew Dolgov
2021-11-13no need to duplicate annotationsAndrew Dolgov
2021-11-13rework previous Plugin changes as phpdoc annotationsAndrew Dolgov
2021-11-13revert all plugin base class related changes to keep compatibility with ↵Andrew Dolgov
extant plugins (for the time being)
2021-11-13fix phpstan warnings in classes/plugin-template.phpAndrew Dolgov
2021-11-13experimental: auto-generate and add all plugin hook methods to Plugin classAndrew Dolgov
2021-03-02move around some methods in base plugins classAndrew Dolgov
2021-02-17 * add (disabled) shortcut syntax for plugin methodsAndrew Dolgov
* add controls shortcut for pluginhandler tags * add similar shortcut for frontend * allow plugins to selectively exclude their methods from CSRF checking
2021-02-08remove PHPMD.UnusedFormalParameterAndrew Dolgov
2019-03-05pluginhost: remove plugin gettext helpers (moved to plugin base class)Andrew Dolgov
2017-12-03plugin base: add type hint to init(host)Andrew Dolgov
2017-12-03plugin base class: init pdo objectAndrew Dolgov
plugins/share: use PDO
2017-12-03auth_internal: use PDO + other fixesAndrew Dolgov
2017-05-23classes/Plugin: remove dbh & host fields; set init() and about() as abstract ↵Andrew Dolgov
methods.
2017-04-26remove some redundant php closing tagsAndrew Dolgov
2017-04-26fix various issues reported by static analysisAndrew Dolgov
update gitlab-ci config
2017-02-10allow user plugins to expose public methods out in a limited fashionAndrew Dolgov
2016-01-26only stop inline feed updates with open_basedir enabled if there are any ↵Andrew Dolgov
plugins that require CURL enabled add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
2013-04-19implement plugin API version compatibility checkAndrew Dolgov
2013-04-17remove $linkAndrew Dolgov
2012-12-25more work on user-selectable plugins; properly process system and user pluginsAndrew Dolgov
2012-12-23add and check plugin base classAndrew Dolgov
2012-08-21remove hook-based pluginsAndrew Dolgov
2012-08-17rework class system to use subdirectoriesAndrew Dolgov
add placeholder plugin/hook system