Commit Graph

37 Commits

Author SHA1 Message Date
Aleksander Machniak
1c24c69a3b Fix path for css file existence check in include_stylesheet() 2017-08-09 08:03:24 +02:00
Aleksander Machniak
69f50b122d Add a way to include plugin stylesheets optionally only if the file exists 2017-08-06 19:46:22 +02:00
Aleksander Machniak
e04f72d018 Fix PHP 7.2 warnings on count() use (#5845) 2017-07-09 13:20:57 +02:00
Aleksander Machniak
7e3298753a Use ternary operator where aplicable 2015-11-14 10:08:07 +01:00
Aleksander Machniak
5ed8ade763 Fix bug where some plugins could be initialized more than one time 2015-08-05 11:45:03 +02:00
Aleksander Machniak
a958748947 CS fixes 2015-06-07 15:26:33 +02:00
Thomas Bruederli
5def0d8e9e Ignore plugin loading filter if force parameter is set 2015-03-11 16:47:28 +01:00
Aleksander Machniak
75e8a7d313 Really make sure plugins aren't initialized twice 2015-02-24 11:38:22 +01:00
Aleksander Machniak
6c8cbe3ee5 Fix regression where require_plugin() wasn't initializing the plugin 2015-02-23 11:06:55 -05:00
Aleksander Machniak
3665d1e8ec Merge pull request #259 from corbosman/plugin_preload
Plugin preload
2015-02-19 08:31:43 +01:00
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.
2015-02-04 13:17:51 +01:00
Aleksander Machniak
09d52dbb67 Fix some typos in comments 2015-02-04 10:46:14 +01:00
Aleksander Machniak
20740a9650 Fix error in exec_hook() in case some hook handler was unregistered before 2015-02-04 10:21:00 +01:00
Aleksander Machniak
0a5841702f Fix exec_hook() so handlers added inside the hook are not omitted 2015-01-29 12:41:43 -05:00
Aleksander Machniak
8c2075b9fc Remove hook aliases deprecated long time ago, CS fixes 2015-01-10 18:05:49 +01:00
Aleksander Machniak
72b117feb1 Use consistent license identifiers, remove redundant package.xml files 2014-12-09 05:02:13 -05:00
Aleksander Machniak
a1d042fd58 Add rcube_plugin_api::get_plugin() method 2014-09-04 16:52:53 -04:00
Aleksander Machniak
29c24e647c Get rid of DIRECTORY_SEPARATOR for consistency 2014-08-28 19:24:03 +02:00
Thomas Bruederli
64d49edd78 Maintain a stack of currently running plugin hooks 2014-08-27 14:37:52 +02:00
JohnDoh
0b799bee90 add support for optional plugins 2014-08-16 07:02:50 +01:00
Thomas Bruederli
65baa033e0 List all plugins which have been attempted to load (#1488871) 2014-08-03 19:17:23 +02:00
Thomas Bruederli
509a6bc368 Allow to force-load plugins which have been loaded but not initialized before 2014-04-02 16:26:59 +02:00
Thomas Bruederli
ce6050cbbb Display version from composer.json even if not intstalled 2013-11-28 21:21:36 +01:00
Thomas Bruederli
fa635d8862 Make $force parameter only override the task check for required plugins (#1489437) 2013-11-16 15:49:25 +01:00
Thomas Bruederli
cf31954661 Make require_plugin() force loading of the required plugin 2013-11-14 18:58:23 +01:00
Aleksander Machniak
70c7df8faa Fix vulnerability in handling _session argument of utils/save-prefs (#1489382) 2013-10-17 10:17:32 +02:00
Aleksander Machniak
c1bc8f6c82 Change so abort=true does not break the loop in exec_hook(), provide a new 'break' flag for this purpose 2013-10-14 13:19:37 +02:00
Aleksander Machniak
3725cfb245 Avoid uninitialized/unused variables 2013-05-07 15:12:22 +02:00
Thomas Bruederli
378d6cf97f Build plugin info from both package.xml and composer.json files; allow plugins to override the meta info method 2013-04-28 13:45:32 +02:00
Aleksander Machniak
648fcf5709 Whitelist configuration options (user preferences) that can be changed using save-pref command 2013-03-27 16:32:51 +01:00
Aleksander Machniak
8b771646fa Fix so task name can really contain all from a-z0-9_- characters (#1488941) 2013-03-10 11:49:20 +01:00
Aleksander Machniak
c4781306a5 CS fixes 2012-12-21 09:13:11 +01:00
Aleksander Machniak
d2534c63f2 Cleanup, remove file paths from doc 2012-12-18 09:07:00 +01:00
Aleksander Machniak
5b15700d11 Rename hook imap_connect to storage_connect 2012-12-13 14:41:36 +01:00
Thomas Bruederli
bfc3070067 Cut dependencies to rcmail class 2012-11-25 20:07:37 +01:00
Thomas Bruederli
9be2f43d02 Define more (uniquely prefixed) constants for Roundcube directories in order to enhance the interoperability of the Roundcube framework 2012-11-25 17:35:53 +01:00
Aleksander Machniak
ba6f21caeb Framework files moved to lib/Roundcube 2012-11-21 19:52:03 +01:00