aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Extend
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'dev' into 'dev'"M. Dent2018-10-051-2/+1
| | | This reverts merge request !1310
* Fix: hooks not added to App::[] at the time of registrationM.Dent2018-10-051-1/+2
|
* functions to support module and widget registration by plugins. These have ↵zotlabs2018-07-122-0/+95
| | | | identical construction to core modules and widgets and are registered just like hooks during addon load. Also additional Apps functions addon_app_installed() and system_app_installed() which will eventually replace feature_installed() for features which are converted to apps. The convention being used is that the module associated with the app calls the appropriate *_app_installed() function and if not present emits descriptive text about the app and exits. This allows one to click on an 'available' app and learn about it. Once installed, the app module behaves normally and may offer functionality or what once were addon settings on the settings/featured page. Refer to zap-addons in the zap repository for examples of how this is being used to eliminate the 'additional features' and 'addon settings' pages.
* :bulb: Improving Doxygen documentation.Klaus Weidenbach2017-11-031-6/+12
| | | | | Fix some Doxygen parsing errors. Improve hooks documentation.
* new function Hook::register_array() to bulk register several hooks from the ↵zotlabs2017-05-011-0/+9
| | | | same file with default settings
* start removing db backticksredmatrix2016-10-031-5/+5
|
* start removing reserved words from database column names (this run: addon ↵redmatrix2016-05-301-4/+4
| | | | and hook)
* allow engineering units (e.g. 400M, 1G) as service class limitsredmatrix2016-04-281-2/+2
|
* provide a Hook method to unregister all hooks with a given filespec ↵redmatrix2016-04-271-0/+21
| | | | component. This will be useful in upgrading plugins to use new interfaces, as you won't have to individually unregister hook declarations that you are no longer using in the code.
* Class method support for hooksredmatrix2016-04-231-0/+10
|
* new hook interface (the old one still works but requires handlers to have ↵redmatrix2016-04-211-0/+76
two calling arguments; the first of which is no longer used). The new interface is called from Zotlabs\Extend\Hook::register() and allows you to specify which hook version to use. The default will be the new interface with one function argument. We also implement the hook priority field which was always there but needed to be set manually in the DB. This provides a way for two hook handlers that implement the same hook interface to determine which order to be called in the event of conflicts.