Aleksander Machniak
75e8a7d313
Really make sure plugins aren't initialized twice
10 years ago
Aleksander Machniak
6c8cbe3ee5
Fix regression where require_plugin() wasn't initializing the plugin
10 years ago
Aleksander Machniak
3665d1e8ec
Merge pull request #259 from corbosman/plugin_preload
...
Plugin preload
10 years ago
corbosman
de89d46be2
Load plugins before sessions have started
...
Move the plugin loading phase to before sessions have started allowing plugins to add session drivers. Plugins that want to use this should define an "onload" method in their plugins. This method does not have access to variables like $task as they are not yet initialised at that time.
10 years ago
Aleksander Machniak
09d52dbb67
Fix some typos in comments
10 years ago
Aleksander Machniak
20740a9650
Fix error in exec_hook() in case some hook handler was unregistered before
10 years ago
Aleksander Machniak
0a5841702f
Fix exec_hook() so handlers added inside the hook are not omitted
10 years ago
Aleksander Machniak
8c2075b9fc
Remove hook aliases deprecated long time ago, CS fixes
10 years ago
Aleksander Machniak
72b117feb1
Use consistent license identifiers, remove redundant package.xml files
10 years ago
Aleksander Machniak
a1d042fd58
Add rcube_plugin_api::get_plugin() method
10 years ago
Aleksander Machniak
29c24e647c
Get rid of DIRECTORY_SEPARATOR for consistency
10 years ago
Thomas Bruederli
64d49edd78
Maintain a stack of currently running plugin hooks
10 years ago
JohnDoh
0b799bee90
add support for optional plugins
10 years ago
Thomas Bruederli
65baa033e0
List all plugins which have been attempted to load ( #1488871 )
10 years ago
Thomas Bruederli
509a6bc368
Allow to force-load plugins which have been loaded but not initialized before
11 years ago
Thomas Bruederli
ce6050cbbb
Display version from composer.json even if not intstalled
11 years ago
Thomas Bruederli
fa635d8862
Make $force parameter only override the task check for required plugins ( #1489437 )
11 years ago
Thomas Bruederli
cf31954661
Make require_plugin() force loading of the required plugin
11 years ago
Aleksander Machniak
70c7df8faa
Fix vulnerability in handling _session argument of utils/save-prefs ( #1489382 )
11 years ago
Aleksander Machniak
c1bc8f6c82
Change so abort=true does not break the loop in exec_hook(), provide a new 'break' flag for this purpose
11 years ago
Aleksander Machniak
3725cfb245
Avoid uninitialized/unused variables
12 years ago
Thomas Bruederli
378d6cf97f
Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method
12 years ago
Aleksander Machniak
648fcf5709
Whitelist configuration options (user preferences) that can be changed using save-pref command
12 years ago
Aleksander Machniak
8b771646fa
Fix so task name can really contain all from a-z0-9_- characters ( #1488941 )
12 years ago
Aleksander Machniak
c4781306a5
CS fixes
12 years ago
Aleksander Machniak
d2534c63f2
Cleanup, remove file paths from doc
12 years ago
Aleksander Machniak
5b15700d11
Rename hook imap_connect to storage_connect
12 years ago
Thomas Bruederli
bfc3070067
Cut dependencies to rcmail class
12 years ago
Thomas Bruederli
9be2f43d02
Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework
12 years ago
Aleksander Machniak
ba6f21caeb
Framework files moved to lib/Roundcube
12 years ago