Commit graph

62 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
7cab7f11c4 Fix issues caused by use of PostgreSQL keyword 'user' in SquirrelMail's default preferences database schema (#2943483) 2010-07-21 07:06:12 +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
cc981461ed Someone added some prefs hooks to the file-based prefs backend but never added them to the db-based one - fix that 2008-06-23 19:57:55 +00:00
Thijs Kinkhorst
c582eb3d3a Allow database based preferences to read in default settings from the
default_pref file next to hardcoding them into the DB class, thanks
Thierry Godefroy.
2008-05-06 14:58:49 +00:00
pdontthink
669ea6899f Clean up variable naming and function docs. 2008-01-05 06:05:40 +00:00
Thijs Kinkhorst
7f8507d3d2 remove some HTML from within functions. Unneeded HTML to be precise. 2007-06-08 19:50:02 +00:00
Fredrik Jervfors
1d4da1b2ea Moving "doc/db-backend.txt" to the administrator's manual. 2007-03-04 01:56:54 +00:00
Thijs Kinkhorst
11b10ba5d1 increment year in copyright notices 2007-01-13 20:15:44 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
tokul
edd3a34104 handle DB.php load errors inside preference class and don't worry about
error_box function and other code.
2006-05-14 16:13:02 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
7140767480 style fix 2005-09-10 11:13:56 +00:00
tokul
d5cd5f3d3a adding database field size checks (#1233721) 2005-09-10 08:46:15 +00:00
tokul
f4a491aee7 documenting prefs functions 2005-05-29 08:33:18 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
3b83c567dd Minor cleanups 2004-08-24 00:40:28 +00:00
Thijs Kinkhorst
39f5f66142 When checking for prefs_are_cached we should retrieve this from the session
the proper way. Closes #995102
2004-07-24 11:39:46 +00:00
Fredrik Jervfors
91d6cd59d5 Removing HTML tags from strings 2004-07-01 15:03:30 +00:00
Thijs Kinkhorst
7c3465c148 Be a bit more verbose in the error message about PEAR not being included:
give a pointer as to what might be the problem (also in configtest).
Small cosmetic fixes in configtest.
2004-07-01 12:12:07 +00:00
Thijs Kinkhorst
0c7380594b In stead of just crashing, give a proper error when PEAR DB functions could
not be included.

Also, from now on I will add a vim comment to the foot of each file I commit
to make sure everyone that edits the file with vim will automatically use the
correct 4-spaces-indentation.
2004-07-01 11:54:24 +00:00
Fredrik Jervfors
9d4db8b166 Phpdocumentor update - sed is your friend for these kinds of things ;) 2004-05-21 23:56:53 +00:00
tokul
097e96eba2 common functions are documented only in one backend 2004-05-10 09:56:02 +00:00
Thijs Kinkhorst
cde0377d36 We're living in 2004 now... perl is your friend for these kinds of things :) 2004-02-24 15:51:22 +00:00
tassium
9098cb73e4 Preparation to begin using phpdocumentor.
Added basic @package/@subpackage tags
The decode/ files were documented slightly more thoroughly, although they're almost self-explanatory anyway.

The individual functions in the functions/ files need to be documented though, and now that this commit is in, anyone willing to write docblocks for functions should get cracking ;)
2003-10-28 21:27:47 +00:00
Erin Schnabel
68cbad0c64 remove_pref function was missing global prefs_cache declare. 2003-03-28 05:22:51 +00:00
jangliss
f0683457c6 PHP 4.3.x prefs fix for db based prefs. 2003-03-26 16:04:20 +00:00
Thijs Kinkhorst
75de52f258 Getting ready for 1.4.0 RC1 2002-12-31 12:49:43 +00:00
Erin Schnabel
8d444c3e17 Carried over modification made to file_prefs to distinguish
between a 0 value, and an unset value using ===.

Certain prefs were unsaveable after the XSS changes, which
cast zero values to ints (instead of strings), causing
them to pass the $set_to == '' check, and thus be treated
as an unset value, rather than a value of 0.
2002-12-17 20:36:23 +00:00
Thijs Kinkhorst
b1401713e8 Store highlighting rules differently to make them more reliable 2002-10-29 22:15:21 +00:00
simond
566cd026ec Remove isWarning as it's been dropped from PEAR with cvs versions 2002-10-15 08:25:29 +00:00
Thijs Kinkhorst
067363daea Update function directory to rg=0. 2002-09-21 15:59:32 +00:00
thomppj
9001d31cf8 Converted all files in functions/ to use SM_PATH. This will break all
plugins. Each callable script needs a:

  define('SM_PATH', '../../');

Or something like that put at the top.
2002-09-06 00:31:43 +00:00
Thijs Kinkhorst
2b1643b8e4 Overlooked that default theme was also hardcoded in db_prefs, not anymore. 2002-08-09 13:13:37 +00:00
simond
64d94e24dd Remove obsolete text 2002-07-01 13:18:24 +00:00
simond
5e4d22c18d Sig code doesn't really need to know about the internal database bits, it
should just use getPref and setPref.
2002-04-12 07:31:44 +00:00
simond
0bb875e85b backout PHP<4.0.2 change as it's not supported 2002-03-13 15:37:49 +00:00
simond
127f77e7b1 Fix problems with <PHP4.0.2 including every listed require file 2002-03-12 10:45:53 +00:00
simond
dc26a6eba2 PostgreSQL should now work as a db prefs backend (and fix alterable field names) 2002-03-03 14:18:57 +00:00
simond
e8a23e0ab1 Add support for renaming db prefs fieldnames (this doesn't add postgres support, but that's on it's way next 2002-03-01 09:01:35 +00:00
simond
2eab6ef55a Should really use a persistant DB connection 2002-02-17 13:48:52 +00:00
simond
765a189c88 fix to support multiple sigs 2002-02-14 09:33:05 +00:00
simond
4deb99f715 I should really have checked if the database is opened before using it... 2002-02-07 13:51:28 +00:00
simond
1cc3050f4c Allow easy selection of database backed prefs 2002-02-04 12:53:26 +00:00