Commit Graph

1983 Commits

Author SHA1 Message Date
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
Miles Lott
ad9658f725 gettype, intval, ereg_replace changes 2003-12-10 11:36:54 +00:00
Miles Lott
86a9b91004 intval() -> (int) 2003-12-10 11:35:22 +00:00
Miles Lott
69b629038a replace one ereg_replace() with str_replace() 2003-12-10 11:34:39 +00:00
Ralf Becker
1f4dad9ce2 sort- and filter-headers for the nextmatch widget 2003-12-09 00:26:22 +00:00
Lars Kneschke
fdbf8c18a9 modified lock and unlock to return always '1' and to execute no code
=> no locks with pgsql anymore!!!!
2003-12-08 08:07:19 +00:00
shrykedude
f17337d3b7 Added support for specifying the database port number 2003-12-08 04:50:23 +00:00
Miles Lott
f8e449ef62 format 2003-12-05 13:48:29 +00:00
Miles Lott
f9fde4bde1 Another fix for BDAY field import 2003-12-05 12:26:59 +00:00
Miles Lott
5da7953d85 Fix setting of BDAY month/day to 2 chars, some encode/decode intelligence on the fly, etc. 2003-12-05 12:13:02 +00:00
Miles Lott
2e69a4dfe8 Last commit broke more than was fixed - this reverts most changes 2003-12-05 11:17:12 +00:00
Miles Lott
67047e145d Fix for bug #853950 2003-12-05 09:42:03 +00:00
Lars Kneschke
582961ea47 let egw search for the right image type 2003-11-26 22:37:40 +00:00
Ralf Becker
2fe29887ff useing the bash function 'type -p' now instead the alias 'which', which seems not to be set for RH9 or Fedora 2003-11-23 11:01:30 +00:00
Ralf Becker
dbc66bcf00 encode_subject(): remove unnecessary CR's as some mail-scanners complain about them 2003-11-23 10:41:19 +00:00
shrykedude
bac57f2d1f - Added support for small display views on front page.
- Removed Close,Edit,About buttons from portal boxes, which were not implemented anyway.
2003-11-20 21:21:35 +00:00
shrykedude
a4a77a34c0 typo fix 2003-11-19 15:16:37 +00:00
Lars Kneschke
2eebcbee3a phpgroupware -> egroupware
Fix for BUG [ 844428 ] X-Mailer text should be changed
2003-11-18 21:42:16 +00:00
reinerj
10f7b203e4 fix Taiwan - Province of China to Taiwan 2003-11-18 08:39:09 +00:00
reinerj
9745f65e6c fix Taiwan - Province og China 2003-11-18 08:38:12 +00:00
Ralf Becker
db60c7314d fix for debian woody's php-version 2003-11-14 21:53:41 +00:00
Ralf Becker
985c601188 updated add and update to allow access,cat_id,tid as param or in values-array 2003-11-14 21:23:40 +00:00
Ralf Becker
31f6198f72 fix to not return non_contact_fields(owner,access,cat_id,...) as extra_fields 2003-11-14 21:20:55 +00:00
Ralf Becker
df93243fbc fix for id not an integer 2003-11-14 21:09:37 +00:00
Ralf Becker
ad48945359 fix for multidomain-install without domain-selectbox 2003-11-14 17:43:49 +00:00
Ralf Becker
0d250b0c82 fix to allow @ in usernames if no (only one) eGW-domain is used 2003-11-13 23:15:55 +00:00
Ralf Becker
568bc3d513 update to jscalendar ver. 0.9.5 2003-11-11 14:51:10 +00:00
Ralf Becker
14ee63f8f5 fix to allow the apps to unset values in config_data, to get them deleted, also use stored value to determine if value has changed and not need read it again 2003-11-08 22:30:06 +00:00
Carsten Wolff
5f95db7595 do create_database the usual way and don't read the data of a whole table to get just the layout 2003-11-07 17:32:32 +00:00
Ralf Becker
be9802d6f6 fix to get cat_id and access saved again 2003-11-04 16:17:11 +00:00
Miles Lott
a97da7c3c1 Silence this error, since it is a FAQ what to do here. 2003-11-04 14:14:57 +00:00
Ralf Becker
bfb6f3b494 use config::save_value to update the ctimes of the lang-files 2003-11-03 14:41:17 +00:00
Ralf Becker
737461af74 changed config-class to only write config-values if they are changed or new. This should give a better performance and prefents cases where the complete config got lost, because of a concurrent access. 2003-11-03 14:25:50 +00:00
Ralf Becker
5d922e91f1 fixed jscalendar to work with date-format 'd-M-Y', for multibyte charsets this needs mbstring and mbstring_overload & 2 (!) to work fully, thought it is usable without 2003-11-03 12:03:17 +00:00
Ralf Becker
cccbba347d changed charset-detection from lang('charset') to translation::charset() 2003-11-03 10:35:32 +00:00
Ralf Becker
6486998106 added syntax for not-empty check in filter, eg. email=!'' 2003-11-03 00:25:21 +00:00
Ralf Becker
e616c25cb1 added an icon to show the sort-colum and it's sort-order 2003-11-02 19:09:35 +00:00
Ralf Becker
6ad53d62ee added parameter to alternate_row_color to return class-name instead of a color-value 2003-11-02 17:20:47 +00:00
Ralf Becker
f1cf865b12 fixed fatal error if no connection (db does not exist) 2003-11-02 15:19:14 +00:00
Ralf Becker
30d3bedaa4 added english and german translations and only show 'Check install' and 'Logout' if one is loged in 2003-11-02 10:44:50 +00:00
Ralf Becker
5153b0d8e3 automaticaly convert to and from the xml-charset utf-8 2003-10-26 18:37:45 +00:00
Ralf Becker
a3ab98c600 changed iso8601 to YYYY-MM-DDThh:mm:ss 2003-10-25 16:43:23 +00:00
Ralf Becker
0ecc01baaa - fixed the parser to correctly return nested arrays/structs
- added support for datetime.iso8601 type, it is recogniced by the regular  expression '^[0-9]{8}T[0-9]{4}$' as php has no special datetime type
2003-10-25 16:08:05 +00:00
Ralf Becker
24d302ea8b - fixed the annoying php4-sessions bug
- it was introduced by changes lars merged from dave (phpGW) ;-)
- of cause php4 sessions work in eGW without sending cookies, if this is disabled in admin->site configuration
2003-10-25 11:37:36 +00:00
Ralf Becker
10fad5e570 - moved contacts_shared into contacts (one file less to include)
- added rights-fields to each read contact (via read or read_single_entry) with the grants the owner gave the reading user
- extended check_perms: 3. param $addr with can be contacts-record or -id, if used that contact's rights and not the rights-field are used
2003-10-25 10:14:25 +00:00
Ralf Becker
8c9c2f09d0 some more xmlrpc changes 2003-10-24 20:42:00 +00:00
shrykedude
8b9c73d089 Prefixed code that generates PHP notices with a '@' to minimize new user confusion. 2003-10-24 04:38:48 +00:00
shrykedude
e52887d989 Hid some PHP notices behind a '@' to minimize new user confusion. 2003-10-24 00:54:28 +00:00
Ralf Becker
8e1c003cde small fix for the getAccounts function to use the name-style defined in the user prefs by default 2003-10-23 20:30:32 +00:00
Pim Snel
b12b903d8c removed end of body tags from inc/footer.inc.php and added all footer tags the template footer files 2003-10-23 15:19:22 +00:00
Pim Snel
8839558f07 changed default imageformat of the nextmatch arraws to png 2003-10-23 15:17:40 +00:00
Ralf Becker
e4c0b82b2b disabled index generation again for db other then MySQL, til i fixed it 2003-10-22 12:54:39 +00:00
Miles Lott
4b4afd3c23 Add another case for manageheader when domains are not defined in header.inc.php, also some formatting updates 2003-10-22 11:28:17 +00:00
Ralf Becker
27f8837364 reading the indices correct (multiple columns, fulltext and length-limited) indexes 2003-10-22 02:40:16 +00:00
Ralf Becker
7cc899861d added a log-file and a 401 header if unauthorized to the xmlrpc-server 2003-10-21 21:05:23 +00:00
Ralf Becker
8d2c4bb7a3 fixed schemaproc to create indexes and enhanced syntax to create multicolum indexes and unique keys 2003-10-21 18:09:58 +00:00
Ralf Becker
f2b0ca5d6d an other fix for ADOdb, set Record to empty, if a query returns no row 2003-10-21 18:08:22 +00:00
Ralf Becker
9384c24217 fixed php4-sessions to work with xmlrpc, our sessionid is now identical to the php4 sessionid 2003-10-21 10:46:33 +00:00
Ralf Becker
b26fa6246a fixed db::to_timestamp as the ADOdb function returns quotes too 2003-10-21 10:08:48 +00:00
Ralf Becker
c8d9ba1a5f small fix to not use eval 2003-10-21 09:18:21 +00:00
Ralf Becker
0d35fcc72a fix to allow to load non-iso-8859-1 languages without an system-charset set 2003-10-20 19:03:46 +00:00
Ralf Becker
a1bb219315 fix to automatically connect before calling db_addslashes, needed for setup->languages (with ADOdb enabled) 2003-10-20 19:02:32 +00:00
Ralf Becker
6909e7241d some fixes:
- replaced the hardcoded /phpgroupware url with the webserver_url
- register globals
2003-10-20 17:25:56 +00:00
Ralf Becker
dbfd796382 fix to automatically connect before quering the tables, needed for setup->configuration (with ADOdb enabled) 2003-10-20 16:36:03 +00:00
Ralf Becker
0c6b822fea some fixes:
- replaced the hardcoded /phpgroupware url with the webserver_url
- register globals
- some UI fixes, as in idots everything is centered
2003-10-20 16:34:29 +00:00
Ralf Becker
9f450cb1a8 pgsql7.3 fix + wrong id for the addressbook custom-fields, should work now 2003-10-20 08:49:21 +00:00
Ralf Becker
10a51e644b get last_insert_id for pgsql working and fixed the copying of db-objects 2003-10-19 21:41:47 +00:00
Ralf Becker
834c395b0d added empty transaction functions so that db_mysql dont use the adodb ones from the db-class 2003-10-19 19:42:22 +00:00
Ralf Becker
32fa6bc9d0 added db_addslashes version for use without adodb 2003-10-19 19:36:50 +00:00
Ralf Becker
c7a9ba98e5 updated db-class to use ADOdb if one set $GLOBALS['phpgw_info']['server']['use_adodb'] = True; (eg. in your header.inc.php) or to be used as base-class for the other db-classes 2003-10-19 19:09:36 +00:00
Ralf Becker
d6b8677cbd Initial revision 2003-10-19 19:05:23 +00:00
Miles Lott
b2d20be441 Fix for count() using postgresql with query 2003-10-19 18:34:45 +00:00
Miles Lott
fe494abdc1 Fixed count() for postgresql, I hope 2003-10-19 18:29:44 +00:00
Ralf Becker
6fbf81abed added class to functions_backtrace 2003-10-19 18:25:14 +00:00
Miles Lott
7c1621ea40 Move definition of SEP ahead of class instantiation so that php5 won't barf if we use SEP in one of those classes 2003-10-19 18:05:27 +00:00
Miles Lott
ed5e8a5f8e Updated to work with current code (somewhat) 2003-10-19 15:15:00 +00:00
Miles Lott
61bf56843f Oops, this is a more accurate count 2003-10-19 08:12:16 +00:00
Miles Lott
c02c4f563e possibly more efficient record counting query, and fix limit case on queries that return less than limit 2003-10-19 08:06:52 +00:00
Miles Lott
fb3eb50ef8 Close potential security hole for xmlrpc/soap calls 2003-10-18 11:15:48 +00:00
Miles Lott
dec0934ee3 Now using copyobj() - please advise if it breaks and how 2003-10-18 11:12:19 +00:00
Miles Lott
2da29d2861 Add one note about baseline tables 2003-10-18 10:54:47 +00:00
Miles Lott
4c74f7e463 Allow passing of single, non-array paramater for e.g. POST or GET to get_var() 2003-10-18 10:36:34 +00:00
Miles Lott
0103ae5f98 silence the error in another way 2003-10-17 07:45:56 +00:00
Miles Lott
521a3b94d8 These are not strings... 2003-10-17 07:31:23 +00:00
Ralf Becker
94a2f4e043 added function-backtrace to db-error-messages 2003-10-16 16:59:31 +00:00
Ralf Becker
cb12c82707 added function to generate a function-name backtrace 2003-10-16 16:41:35 +00:00
Ralf Becker
3f3d0c79e9 added function to generate a function-name backtrace 2003-10-16 16:34:45 +00:00
Ralf Becker
7abb19b143 added message to login: account is expired 2003-10-16 14:55:12 +00:00
Miles Lott
3a298a8c7d Check that $var is set and not False - some installs will error on the array element not being set 2003-10-16 11:41:40 +00:00
Miles Lott
e07e330732 Add copyobj() function for php5 object cloning vs php3/4 copies, fix _debug_array() for php5 2003-10-16 10:37:31 +00:00
Miles Lott
7d999cd13c Moved inclusion of extension classes after definition of extended class, for php5 (and 3 ;) ) 2003-10-16 10:27:34 +00:00
Lars Kneschke
b2e4e6327e big-5 is supported by php 4.3.X 2003-10-16 04:59:46 +00:00
Lars Kneschke
616a09880a hide errormessage about unsupported charset 2003-10-15 19:15:25 +00:00
Ralf Becker
726607234e register globals 2003-10-15 13:18:13 +00:00
Ralf Becker
f7b2cefbf3 not longer used, as we require php4 now 2003-10-15 13:15:06 +00:00
Ralf Becker
7363643128 removed stupid debug messages 2003-10-15 12:29:27 +00:00
Ralf Becker
692767bcf0 fixed problem with not set system-charset and non-ascii chars in user-name with accounts in ldap:
Username did not get translated, as at the time when the accounts-class get instanciated the user preferences, which determine the language, which determine the charset (if no system-charset), are not loaded. I use iso-8859-1 as default then, which gives us the same behavior then before all the changes.
2003-10-15 12:24:38 +00:00
Ralf Becker
842adc7ae0 reverted lars/dave's change as it does not work !!!
PHPSESSIONID is wrongly encoded in the url
2003-10-14 12:50:51 +00:00
Ralf Becker
26eef15651 suppressed warning about unknown user/pw if db not yet created 2003-10-14 10:06:07 +00:00
Ralf Becker
7818d9902d phpGroupWare --> eGroupWare in login blocked message 2003-10-14 09:32:39 +00:00
Ralf Becker
cfdfd365c6 translated app-name about to phpgwapi, seems to fix problem with open-basedir-restrictions 2003-10-12 19:33:32 +00:00
Lars Kneschke
73d8277b40 fixes for warning about unsupported charset 2003-10-11 20:55:16 +00:00
Lars Kneschke
d8692a29f7 some small fixes from dave hall 2003-10-11 13:30:52 +00:00
Lars Kneschke
ec9e4e621e little fix from dave hall 2003-10-11 13:26:01 +00:00
Lars Kneschke
5fb17b08f6 search for app/template specific css.file
put your app specific css in appname/template/default(or templatename)/app.css
2003-10-11 07:58:40 +00:00
shrykedude
18f7b1e05f pgsql fix for empty var 2003-10-11 00:02:23 +00:00
Ralf Becker
d73cfd3122 fixed get_account_name to convert the values 2003-10-10 12:45:07 +00:00
Ralf Becker
71c2acae50 fix for not set system_charset 2003-10-10 12:06:40 +00:00
Lars Kneschke
00db10168f fix convert for us-ascii 2003-10-10 05:01:49 +00:00
Lars Kneschke
cb65e22c87 typo 2003-10-10 04:42:08 +00:00
Lars Kneschke
a7318559fe converted to convert for correct utf-8 support 2003-10-10 00:55:43 +00:00
Ralf Becker
33389df33d new param to translate, for string to add if no translation present, default '*' 2003-10-10 00:07:20 +00:00
Ralf Becker
e291aa7339 charset 2003-10-10 00:05:28 +00:00
Lars Kneschke
43ec195c6e added check if function iconv exists 2003-10-09 23:38:24 +00:00
Pim Snel
0ee40b75d5 added template var for logout icon in setup 2003-10-09 23:12:41 +00:00
Ralf Becker
9c322199d6 fixed bug in conversation table --> schema for bigint 2003-10-08 19:08:30 +00:00
Ralf Becker
0cba91137e added fallback to iconv if mbstring is not availible and killed a waring if no langs installed 2003-10-08 10:50:24 +00:00
Ralf Becker
7b409a410d some sql-insertion protection 2003-10-08 00:00:55 +00:00
Ralf Becker
3360c838f6 use db from phpgw_setup if the phpgw one is not availible 2003-10-07 22:38:06 +00:00
Ralf Becker
519e874afb use db from phpgw_setup if the phpgw one is not availible 2003-10-07 22:02:30 +00:00
Lars Kneschke
b3dfa3d386 little fix for gb2312 2003-10-07 20:56:33 +00:00