Commit graph

327 commits

Author SHA1 Message Date
pdontthink
af9ab09c24 Fix mixup of session restore location 2007-08-28 20:09:41 +00:00
pdontthink
35bd284200 No longer store all message composition sessions in the PHP session, since it was not made use of and in rare cases, made sessions too big. Composition restoration functionality now correctly restores attachments. 2007-08-28 19:08:20 +00:00
pdontthink
d743d173d6 Move inclusion of strings.php much higher in init process; beside making sense, it is required for the prefs.php fix a couple day ago 2007-08-26 05:24:11 +00:00
pdontthink
fce1d4d3ac Move prefs init above plugin stuff, make life easier for plugins hooked on config_override 2007-08-24 04:35:27 +00:00
pdontthink
f8e864200a Load prefs for all page loads, no matter if user is logged in. This fixes some login page issues and seems fine when user isn't logged in, but please report problems I may not have seen in my limited testing. 2007-08-24 02:29:20 +00:00
pdontthink
4233e4f0b1 Avoid calling javascript check fxn if user is not logged in 2007-07-17 22:24:57 +00:00
Thijs Kinkhorst
c9ff9f9e14 use PAGE_NAME to switch on which page we are, rather than
sInitLocation
2007-07-14 17:39:27 +00:00
Thijs Kinkhorst
c54face6b0 on second thought, revise r12527 to use one, generic constant
PAGE_NAME, because that doesn't clutter the namespace as much.
2007-07-14 17:11:31 +00:00
Thijs Kinkhorst
2d79bd2f50 Fix test for signout.php in the logged in check in init.php so it
cannot be circumvented by manipulating the URL. External plugins migh
rely on init.php guarranteeing that the user is logged in.
Thanks Stefan Esser for finding this.
2007-07-14 17:07:23 +00:00
pdontthink
b7c1f07be0 Fix syntax error 2007-06-29 23:38:35 +00:00
pdontthink
b427a139aa Make sq_change_text_domain() return previous text domain 2007-06-29 23:29:09 +00:00
pdontthink
708612aaf9 Make dir parameter optional for sq_bindtextdomain() 2007-06-29 21:30:52 +00:00
Thijs Kinkhorst
baff951679 color has been dropped as a parameter from (plain_)error_message,
update the code to follow
2007-06-08 19:55:53 +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
738be84025 Shifting the location of bind_textdomain_codeset() in the SM wrapper functions 2007-04-01 23:31:44 +00:00
pdontthink
c21b5c21fd Add sq_change_text_domain for plugins to use when switching text domains 2007-03-30 20:45:55 +00:00
pdontthink
e7f79ec82e Skip .svn dir. Leaving CVS dir in case it is left over in some people's downloaded locale packages. 2007-03-27 19:08:15 +00:00
pdontthink
ee0444272e Remove $version, use SM_VERSION constant instead 2007-03-22 20:01:33 +00:00
Thijs Kinkhorst
0addec9b57 Prevent including index.php for charset decoding/encoding (#1671874) 2007-03-02 23:15:52 +00:00
Thijs Kinkhorst
46995d0b89 Add option to ask users for personal information on first login.
Many users start sending out mail without a decent or even correct
"From" header. Defaults to on. Admin can disable if he has a
retrieve_user_info plugin or the guessed defaults are ok.
2007-02-18 18:47:48 +00:00
Thijs Kinkhorst
5a04219efc HTTP_SERVER_SERVER should be HTTP_SERVER_VARS, but since
we require PHP >= 4.1.x, we need not use it anyware.
2007-02-18 12:46:47 +00:00
pdontthink
be5f8591fb Fix: When session auto-start not enabled, undefined var notice for 2007-01-25 01:22:33 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
Thijs Kinkhorst
f585138b19 replace CVS with SVN 2007-01-13 19:08:18 +00:00
stekkel
1eb04b2d99 Setting the SQSESSID cookie with path "/" to deleted caused failed logins
because somehow php or the browser prefered the SQSESSID cookie with path
"/" over the SQSESSID cookie with the correct path $base_uri.
2007-01-13 16:04:20 +00:00
stekkel
5d6c8787b4 Remove sqsetcookieflush call 2007-01-13 14:06:32 +00:00
pdontthink
4fe3cc2423 Remove HTML from SM option widget code; use forms.php utilities, which in turn use templated output 2007-01-09 05:09:28 +00:00
pdontthink
329e123b47 Always add $base_uri to templates 2007-01-03 09:46:30 +00:00
pdontthink
dad2f33916 Use checkForJavascrip() instead of $javascript_on 2007-01-03 09:23:56 +00:00
pdontthink
9b38011c91 Move code that verifies template and theme settings AFTER plugin hook that might override those settings 2006-12-13 10:56:19 +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
d5b9e374f3 Adding plugins on/off switch, which disables plugins completely (optionally for only one named user, otherwise for all users). 2006-11-16 12:25:48 +00:00
pdontthink
ff01b27d1b Signout.php needed the error class to be loaded earlier. 2006-11-04 03:50:20 +00:00
stevetruckstuff
181a0e815f Fix default theme setting. 2006-10-17 22:15:37 +00:00
pdontthink
701507b66d Reorg placement of plugin loading and add config_override hook. Wondering why we can't move SM version constants to top of file. Also considering removal of loading_constants hook. Anyone know what plugins use it? 2006-10-14 15:57:13 +00:00
pdontthink
29f609f189 require instead of include_once 2006-10-13 17:57:50 +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
Alexandros Vellis
feb3e317f9 Make authz available globally, if it exists. 2006-10-10 11:14:44 +00:00
stevetruckstuff
bb268c7629 Use paths for user/template themes rather than u_ and t_ prefixes. 2006-10-09 20:56:38 +00:00
stevetruckstuff
c8615bcb72 Add support for fallback icon themes. Similar to fallback template set. 2006-10-09 18:04:42 +00:00
stevetruckstuff
3e2bd79a4f Prepend SM_PATH to $icon_theme_path since it is no longer returned by the template as part of the path. 2006-10-09 16:56:50 +00:00
stevetruckstuff
5e2efcdc75 Make sure icon variables are setup on the login page. 2006-10-09 16:23:06 +00:00
stevetruckstuff
da98e43de7 Removing check that is no longer needed. 2006-10-09 16:21:49 +00:00
pdontthink
6e754ea52b Need to instantiate template object earlier so user prefs css theme selection can be verified 2006-10-09 07:07:52 +00:00
stevetruckstuff
d8ac66397f Add javascript_on to the list of variables that are always available to templates. 2006-10-05 21:59:04 +00:00
stevetruckstuff
d25e2493b8 Comments 2006-10-05 15:29:50 +00:00
tassium
748709f9aa Missing auth.php for redirect.php section was breaking fancy auth methods like digest-md5 2006-10-04 18:28:54 +00:00
pdontthink
6b8cb9114d Added comment only 2006-10-04 15:36:31 +00:00
stevetruckstuff
441608ef28 Add support for tempalte-provided themes. 2006-10-03 15:30:53 +00:00