Commit Graph

2003 Commits

Author SHA1 Message Date
Miles Lott
1336dfef54 switch to _GET and remove stray whitespace 2004-01-26 03:34:17 +00:00
Miles Lott
afcc4231f4 ereg_replaceD 2004-01-26 03:33:09 +00:00
Miles Lott
ae216a7346 fix some formatting issues 2004-01-26 03:31:56 +00:00
Miles Lott
136f437912 minor change to encode/decode 2004-01-26 03:30:16 +00:00
Miles Lott
82ed6bc041 fix bad var name in account add 2004-01-26 03:26:11 +00:00
Miles Lott
0d23f90fd4 ensure integer value sent to avoid badfilter 2004-01-26 03:24:40 +00:00
Miles Lott
4f724bc9b1 add empty functions for create_database() 2004-01-26 03:23:06 +00:00
Miles Lott
d26eacbeea move check for auth object 2004-01-26 03:22:15 +00:00
Miles Lott
04067c7a04 Add SMD5 hashing for sql and ldap based on my debian experience today 2004-01-26 03:01:54 +00:00
Lars Kneschke
61c768f8d3 add a first and last name for auto created accounts too 2004-01-25 22:38:26 +00:00
Lars Kneschke
893c085f78 added addaccount-hook for auto created accounts 2004-01-25 22:27:31 +00:00
Miles Lott
1dabd74aa0 Cleanup format of if() 2004-01-25 21:29:20 +00:00
shrykedude
9e0d88fd69 fix for changing non-nullable fields in postgres 2004-01-25 06:40:59 +00:00
Miles Lott
0039d2a51c Cleanup badfilter on empty values; cleanup formatting 2004-01-25 00:04:40 +00:00
Miles Lott
f07775857e use foreach where possible vs. reset/while; Move extra loop in read() and read_single_entry() into the existing loop in sql/ldap classes. 2004-01-24 15:57:57 +00:00
shrykedude
ab21a58d75 enable more debug output 2004-01-22 20:52:14 +00:00
Miles Lott
934067f137 Fix the function call some more 2004-01-21 23:13:02 +00:00
Miles Lott
56085e8acf Fix bad function call for md5 passwords 2004-01-21 23:10:05 +00:00
Miles Lott
9be5a8982d Consolidate password updates and remove debug output, i think 2004-01-21 22:53:02 +00:00
Miles Lott
cae90732c6 Add check in ldapConnect() for presence of ldap_functions per bug# 880672 2004-01-21 13:55:22 +00:00
Miles Lott
d7db3b384e update credits by request 2004-01-20 21:31:33 +00:00
Miles Lott
33eac40a77 This should fix the detection and setting of passwords in the header 2004-01-20 13:16:45 +00:00
Lars Kneschke
0364332b5c add stripslashes for a second level for arrays 2004-01-20 05:28:04 +00:00
Miles Lott
372f742c69 Fix extra domain being added by empty config_user variable 2004-01-20 00:52:11 +00:00
Miles Lott
77fd8f4882 Move password functions to auth class; Add support for new encryption types in setup
and implement password checking and creation for these new types
2004-01-18 21:12:53 +00:00
Miles Lott
037369b6e6 Add header and per-domain user login values - default is admin during the upgrade process.
Hopefully these are all the files.
2004-01-18 21:03:56 +00:00
shrykedude
b79a7e67ea load DB port with other settings 2004-01-18 02:24:42 +00:00
shrykedude
653a5e78d3 Avoid multiple NOT NULL parameters, as with MySQL auto_increment fields 2004-01-18 02:23:48 +00:00
shrykedude
9197af0108 Allow local socket connection to MySQL DBs, from bug #878395 2004-01-17 19:42:02 +00:00
Miles Lott
e733502283 Add initial version of server class using EPI xml-rpc; default to use old class for now with no config 2004-01-17 18:41:34 +00:00
Miles Lott
63d80f2fcd Add the search for 1st character of certain fields, showing alphabet at the top. This feature was lost for 2 years(!), so hopefully it works for you. 2004-01-17 03:21:21 +00:00
alpeb
1dd27ea7c0 fix id2name not returning cat_name. This avoided category names to be shown in phpbrain 2004-01-16 17:57:19 +00:00
Lars Kneschke
05b73a96b0 enable check for casesensitive usernames 2004-01-16 07:44:38 +00:00
Miles Lott
a2553c138b And a similar fix for getntpoffset() 2004-01-15 08:55:48 +00:00
Lars Kneschke
247d678ec0 fix for [ 865676 ] Windows does not support dates prior to midnight (00:00:00), 2004-01-15 01:25:29 +00:00
Lars Kneschke
69e0eea014 strip slashes from value only if it exists 2004-01-12 06:11:23 +00:00
Miles Lott
da05690b13 really fix Id string 2004-01-10 15:18:52 +00:00
Miles Lott
32b2d29415 format and fix Id string 2004-01-10 15:18:12 +00:00
Miles Lott
f61e52640f formatting 2004-01-10 15:14:01 +00:00
Miles Lott
e0e5763821 stripslashes on the first level of a posted array, per discussion with lars 2004-01-10 15:04:17 +00:00
Ralf Becker
618960e067 fixed the header 2004-01-08 09:07:07 +00:00
Ralf Becker
1e39ae995d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
==> translations for jscalendar and htmlarea now in own apps
2004-01-08 09:06:40 +00:00
Ralf Becker
3881bfbcc0 fix to allow to set more then one onLoad parameter in the body tag: the get concated, so dont forget the ';' after each one!!! 2004-01-08 09:06:15 +00:00
Ralf Becker
a4d5d57722 fix for find_image to use the aktive template set 2004-01-08 09:04:58 +00:00
Ralf Becker
a3a85a862d import htmlarea 3.0beta
eGW code to use it, is in phpgwapi/inc/class.html.inc.php the translations (via eGW standard translation system) are in phpgwapi/inc/htmlarea-lang.php
2004-01-08 09:03:17 +00:00
Miles Lott
5c76f8b80f fix email address 2004-01-07 09:22:07 +00:00
Miles Lott
27619fb663 check_db now takes $setup_info 2004-01-07 09:19:38 +00:00
Miles Lott
2808518560 spell check 2004-01-07 09:17:15 +00:00
Miles Lott
d0904ebde2 Reinstate setting of cookies similar to standard api logins by cookie; Reorganized login/logout logic; Switched to class var for $ConfigDomain 2004-01-06 13:38:45 +00:00
Miles Lott
27f2acb285 Switch back to prior setcookie method, but add path 2004-01-03 22:44:49 +00:00
Miles Lott
6a08a48087 Should fix array posting problem 2004-01-03 10:36:50 +00:00
Miles Lott
5dbef396f9 Appears to fix problems with bad data sent to a couple of functions, causing bad SQL generation 2004-01-02 22:49:10 +00:00
Lars Kneschke
b11297fc59 make password changing using ldap working again 2004-01-02 15:07:04 +00:00
Miles Lott
6d4b027d1a Fix error in nextmatchs (oops) switch tpl class to foreach() 2004-01-02 06:11:21 +00:00
Miles Lott
cb1f65ec54 Switch to foreach vs. reset/while 2004-01-02 06:04:35 +00:00
Miles Lott
ff8d604036 Maybe some minor speed improvements 2004-01-02 05:47:24 +00:00
Miles Lott
9cd1308d2f update authors ;) 2004-01-02 02:54:29 +00:00
Lars Kneschke
75e6e79ddb added stripslashes when magic qoutes is on 2004-01-02 01:42:23 +00:00
Miles Lott
e0d336f7ee Borrow cookie setting methods from api sessions class as test for IE issues 2004-01-02 00:19:04 +00:00
Ralf Becker
65034dab5a small fix to get sitemgr working with php4 sessions 2003-12-29 21:10:46 +00:00
Ralf Becker
21ccc36222 added 2 functions to:
- add a user/group
- add an ACL record
for use by all default_records.inc.php files
2003-12-29 21:05:06 +00:00
Miles Lott
0f85f3763f Modified md5_cryptpasswd() function to create {md5}xxx style password;
Add actual function to deal with sha passwords, and added ability for use of ssha;
2003-12-28 17:27:34 +00:00
Miles Lott
4f382debb6 Show correct copyright for this file 2003-12-28 15:19:25 +00:00
Miles Lott
eaad270825 Another spell-check and wrapper added 2003-12-28 14:54:17 +00:00
Miles Lott
6d5de5038e mime, not mine 2003-12-28 14:51:24 +00:00
Miles Lott
e506ffa377 fix string offset error - maybe php5 only 2003-12-27 18:05:20 +00:00
Ralf Becker
51b445e0fb make it a bit more xhtml compatible: lowercase tag- and attribute-names
added charset to htmlspecialchars (might fix some probs with chiniese charsets)
2003-12-26 21:00:00 +00:00
Ralf Becker
96b8f96ad2 bugfix: in days_between (missing brakets) 2003-12-26 20:58:43 +00:00
Ralf Becker
5f91c1c62c fixed bug in id2name 2003-12-23 22:24:55 +00:00
Miles Lott
82e79812d3 This might fix the index creation error - will be testing asap. 2003-12-23 13:54:45 +00:00
Lars Kneschke
c839398de4 hack to check for cn and sn, which must be set in ldap 2003-12-22 12:46:38 +00:00
Lars Kneschke
65d2177084 enabled domainnames with . in the name
kneschke.de becomes kneschke_de as variable name
2003-12-22 11:43:06 +00:00
Miles Lott
53352e87eb Instead of adding a default port in the form, set one based on the default_db_ports var in manageheader.php 2003-12-22 02:57:52 +00:00
Miles Lott
021ec31824 Fix error caused by move to str_replace - upgrade works again 2003-12-22 00:27:43 +00:00
Miles Lott
0e9e0c2da2 formatting, ereg_ replaced, remove rude comments 2003-12-20 18:41:42 +00:00
Miles Lott
6f2f6d23dc use str_replace() where possible 2003-12-20 18:34:55 +00:00
Miles Lott
07af3f1b54 use str_replace() where possible and fix some spellings 2003-12-20 18:32:53 +00:00
Miles Lott
90dbed8d0e use str_replace() where possible 2003-12-20 18:29:02 +00:00
Miles Lott
e51d3f26ab intval -> (int) 2003-12-20 18:26:24 +00:00
Miles Lott
13813b67de Change error message to egw 2003-12-19 10:46:37 +00:00
Ralf Becker
2aa000eac8 fixed fallback to images in the api-dir, did not work if no api-image was used before 2003-12-18 06:11:08 +00:00
Miles Lott
b5854dbaee missed one call in last commit 2003-12-18 02:27:03 +00:00
Miles Lott
3c12d529f8 Modifed GetIXSQL routines to actually return valid index SQL for postgresql; This needs to be tested further, but does appear to work. 2003-12-17 13:58:02 +00:00
Miles Lott
6674d23cd1 See line 218 - possible fix for DropColumn() to ensure dropped column name is not in the sql 2003-12-17 12:54:17 +00:00
Miles Lott
feb9a52840 Readd missing stock fields 2003-12-17 11:22:37 +00:00
Pim Snel
51afdd7cfd fixed parse error, sorry ;( 2003-12-17 11:00:43 +00:00
Pim Snel
1e7f7531b8 fixed the storage of loginid for contacts 2003-12-17 01:14:43 +00:00
Lars Kneschke
561d37df31 add very short day name(Mo, Di, Mi, ...) 2003-12-16 23:14:15 +00:00
Miles Lott
5a63f7cfd0 intval -> (int) 2003-12-15 01:22:13 +00:00
Miles Lott
df474920e7 ereg replaced 2003-12-15 01:19:54 +00:00
Miles Lott
4fefb85d65 replace gettype() 2003-12-14 17:31:24 +00:00
Miles Lott
b6162efea5 Replace gettype() where possible 2003-12-14 17:29:52 +00:00
Miles Lott
ce5a6009fd Remove ANCIENT use of global 2003-12-14 17:24:19 +00:00
Miles Lott
20b851da6f intval -> (int), replace gettype() and ereg functions where possible 2003-12-14 17:18:41 +00:00
Miles Lott
4f612cbbde intval -> (int), replace gettype() and ereg_replace() where possible 2003-12-14 17:07:16 +00:00
Miles Lott
8afddf6b17 backport fix for php5 error on cleanup() 2003-12-14 17:06:11 +00:00
Miles Lott
e18438cdcc intval -> (int), remove unnecessary switch statement 2003-12-14 16:50:34 +00:00
Miles Lott
376535ad22 Add ability to request string return from gethttpsocketfile() 2003-12-13 18:29:53 +00:00
Miles Lott
5794ca4cc1 intval() -> (int) 2003-12-13 15:03:23 +00:00
Miles Lott
1df412f9c4 ereg_replace/intval update 2003-12-10 11:45:03 +00:00