Commit graph

87 commits

Author SHA1 Message Date
Fredrik Jervfors
c076a1f1ae Update copyright 2013-07-26 17:31:02 +00:00
pdontthink
acc409fb2a Updating copyrights. Happy New Year. 2012-01-02 02:09:17 +00:00
pdontthink
fc57bf2b59 Happy New Year! 2011-01-06 03:16:21 +00:00
pdontthink
7aa0e60863 Update copyrights to 2010 2010-01-25 03:23:30 +00:00
Fredrik Jervfors
134d462c94 The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation. 2009-09-29 12:15:33 +00:00
Fredrik Jervfors
0a6245814a There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style. 2009-04-15 22:00:49 +00:00
pdontthink
118125ad8e More of the same 2009-02-19 22:32:50 +00:00
pdontthink
aa91dedc20 Allow version numbers to omit trailing zeros 2009-02-19 22:24:48 +00:00
Fredrik Jervfors
0885d1dcd7 Fix for phpDocumentor. 2008-08-02 16:50:06 +00:00
pdontthink
ce0fb43635 Fix plugin names showing up as "INCOMPATIBLE" on configtest list 2008-07-22 04:47:52 +00:00
pdontthink
f5f1f8d4c0 Allow plugins to specify that other plugins are incompatible with it in the info() function - in the required_plugins array therein, the incompatible plugin name as array key and value of SQ_INCOMPATIBLE. See upcoming release of the add_address plugin for an example. 2008-07-04 08:41:31 +00:00
pdontthink
9d4c58cb21 Allow plugins to require CORE plugins 2008-03-11 04:13:34 +00:00
Thijs Kinkhorst
dfbdae5943 replace preg_split without a regular expression with the
faster and less complicated explode()
2007-05-17 16:36:13 +00:00
pdontthink
647cd26450 Use constant instead of hard-coded string for plugin incompatibility indicator 2007-05-07 05:43:56 +00:00
pdontthink
80f0b8957e Add ability for plugin to indicate that they are not compatible with a particular SM version. Using hard-coded string maybe should be changed to a constant...? 2007-05-06 03:33:23 +00:00
pdontthink
743f0b6456 Add generic get_plugin_requirement() function and change expected structure for plugin dependency information (but is still backward compatible). Also change configtest to make use of extended information 2007-04-05 03:48:55 +00:00
pdontthink
5cff40d10d Add functions to help diagnose if plugin dependencies are in place 2007-03-22 21:24:05 +00:00
pdontthink
90e5a07b05 Fix loss of 2007-03-20 23:17:14 +00:00
pdontthink
e8a79d213c Readjust location of code that massages plugin versions to more handy spot 2007-02-14 05:25:59 +00:00
pdontthink
440c2438b8 New get_plugin_version() function, and a couple places to use it. 2007-02-05 06:06:40 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
pdontthink
5c8bf54951 Fix for unknown index notices caused in templates when looking for plugin output in what was an empty string instead of an empty array 2007-01-03 20:33:11 +00:00
pdontthink
d84b99123c Revert last commit; passing by reference like that causes deprecation PHP notices in PHP4. It is the responsibility of the receiving plugin to accept the args by reference if it intends to change its value. 2006-12-10 20:11:29 +00:00
Thijs Kinkhorst
83493c4e9a must pass $args by ref to to plugin function too, if we want the plugin
to be able to modify it
2006-12-10 19:37:11 +00:00
pdontthink
717be5c30c Massive update to plugin system architecture. Please test! Not all core plugins are tested yet, please point out issues that need to be fixed. Please see http://marc.theaimsgroup.com/?t=116282394000001&r=1&w=2 2006-12-10 05:07:54 +00:00
pdontthink
33f1343d8e Removed one line left over from copied code 2006-10-25 11:07:22 +00:00
pdontthink
539f8b5947 New static plugin hook registration has now been implemented. Looks to work with a handful of plugins, but keep your eyes out and TEST! Seems like this will be a winner. Everyone needs to run conf.pl once and just type 's' to save after updating their CVS trees. 2006-10-13 17:29:53 +00:00
tokul
22701975cb don't leave old code and DO check filters plugin when reporter informs about
the way to reproduce issue.
2006-09-30 07:09:09 +00:00
pdontthink
8fde45ca15 Should be a better fix so this hook now works with plugins that have been using it the old way too 2006-09-29 18:20:56 +00:00
pdontthink
5f9e8ffb19 New hook type that I am very excited about; should address a kind of plugin stacking that we should have had long ago 2006-09-28 14:30:45 +00:00
pdontthink
4bd8d42edf Fix broken legacy use of concat_hook_function. Now you can log in again. 2006-09-22 09:42:04 +00:00
pdontthink
8ac4e87d23 Move sqm_array_merge to arrays.php and subsequently move inclusion of arrays.php to init.php for global access. 2006-09-22 09:29:04 +00:00
pdontthink
649406b8aa Extensive rework of concat hook function to support merged array return values 2006-09-22 03:31:50 +00:00
pdontthink
6bfa08b203 Enabling use of <plugin>_info() function 2006-09-19 17:19:29 +00:00
pdontthink
71550060f9 Duh 2006-09-07 17:18:59 +00:00
pdontthink
8fd317de69 New helper function for checking plugin version numbers check_plugin_version() 2006-09-07 16:53:57 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
Thijs Kinkhorst
184c69663d config.php was not loaded before plugin.php, but that's needed to make
plugins work. The real solution is a centralized init and no active code
under functions/
2006-01-28 19:12:19 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
tokul
d20ef12ab2 prevent output in plugins/*/setup.php files. 2006-01-14 09:33:56 +00:00
tokul
2845b7c446 simplified check. thanks, Jon. 2005-10-04 17:21:10 +00:00
tokul
8d11e55aab explaining $plugins tests 2005-10-04 06:27:18 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
5e13f2f9f3 code reuse. moving generic function from plugin to function/plugins.php 2005-07-14 14:49:22 +00:00
tokul
ac9598c450 function might be removed in 1.6. 2005-05-29 08:34:58 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
Jimmy Conner
2cd94f0d75 Removed variables that were initialized, but never actually used
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
pdontthink
adb48be6a4 Make current hook name globally available when running a hook 2004-07-30 15:09:17 +00:00