Commit Graph

2496 Commits

Author SHA1 Message Date
Ralf Becker
1417a115f6 fixed typo 2004-03-21 16:23:38 +00:00
Carsten Wolff
7f85671046 'blob'-columns need some special attention in the new quote()-function.
Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
2004-03-17 12:42:24 +00:00
Lars Kneschke
c7b6cf2a49 fix for Call-time pass-by-reference
----------------------------------------------------------------------
2004-03-16 06:54:22 +00:00
Ralf Becker
2238ea9dbb makeing ADOdb the configuration default: unless you explicitly set
$GLOBALS['phpgw_info']['server']['use_adodb'] = False;
in your header.inc.php, eGW uses ADOdb
2004-03-15 22:41:55 +00:00
Ralf Becker
3df33d3ef6 imported ADOdb version 4.20 released 27 Feb 2004 2004-03-15 22:17:52 +00:00
Ralf Becker
0e943f4c58 fix for bug #911628: Intall Cron Job Multiple Domain Error 2004-03-14 18:41:35 +00:00
Miles Lott
06b80fa3bf Formatting cleanup 2004-03-14 17:31:43 +00:00
Ralf Becker
74fe998db9 php.net recommend this for security reasons, it should be our default too 2004-03-14 11:35:33 +00:00
Ralf Becker
ed8ff9cd31 removed the out-commented html and body closing tags 2004-03-13 21:57:15 +00:00
Ralf Becker
6c5c54d4b6 fixed wrong id2name in xmlrpc2cats 2004-03-13 18:09:06 +00:00
Carsten Wolff
a72cb3b1c8 more on the bytea-thing ... sometimes less is more ... 2004-03-13 17:57:20 +00:00
Carsten Wolff
5889064b1f oops, fix for the fix ... /me pulls brown paperbag over his head 2004-03-11 17:39:05 +00:00
Carsten Wolff
7dcab6a1b0 This patch adds full Support for the bytea-datatype, wich is missing from PHP itself. I should have known this, before adding the datatype to schemaproc, but well ... here's the fix. 2004-03-11 15:40:31 +00:00
Ralf Becker
0711abd82b 1) added a base-class with some useful functions:
- converting to and from dateTime.iso8601
- converting cat_id-arrays to and from xmlrpc structs with cat-id / name pairs (and creating & updateing new cats)
2) removed unnecessary (and not standard conform) xmlrpc struc arround all responses
3) added detection to copy arrays (numerical keys 0,1,...) to xmlrpc arrays and not structs
Note: 2+3 only apply to the _php class as the _epi class does this by itself
2004-03-10 00:38:10 +00:00
Ralf Becker
31add06b33 added last_mod to fields always fetched, as its not in the standard_address_fields, it get never returned
(last_mod is not implemented in ldap so far)
2004-03-09 23:42:40 +00:00
Ralf Becker
2c1197d9dc fixes for installations with error_reporting E_ALL 2004-03-09 21:05:28 +00:00
Ralf Becker
49d9007518 fixed function to send xmlrpc-faults (error-msg) from the handler, was not loged in the log-file 2004-03-07 10:00:18 +00:00
Ralf Becker
9ed6f2e60d added function to send xmlrpc-faults (error-msg) from the handler 2004-03-07 09:58:22 +00:00
Ralf Becker
99e4e9efec added standard xmlrpc error-msg for 'entry not found' 2004-03-07 09:55:43 +00:00
Ralf Becker
9c9892c9b7 fix to allow fieldlist like array('id','owner') instead of only ('id'=>'id','owner'=>'owner') 2004-03-07 09:54:37 +00:00
Ralf Becker
3803f842f3 added missing return on success 2004-03-07 09:53:26 +00:00
Ralf Becker
0daaf711d7 typo 2004-03-06 20:35:23 +00:00
Ralf Becker
809a2b8827 fixed foreach for no extra_fields 2004-03-06 20:34:56 +00:00
Lars Kneschke
345fd4de07 fix pass by reference 2004-03-06 11:27:32 +00:00
Miles Lott
2211a5aa63 Oops - comment out debug 2004-03-05 13:54:19 +00:00
Miles Lott
05fb371651 Add sql from phppgadmin for finding indexes on pg < 7.3 2004-03-05 13:32:00 +00:00
Miles Lott
e56c40e8c4 add disconnect function 2004-03-02 02:32:39 +00:00
alpeb
bf943fdce0 was removing '?' in link over + and - images 2004-03-01 20:19:47 +00:00
alpeb
ad19e78d7c last item in the manual tree wasn't showed 2004-03-01 19:51:48 +00:00
Ralf Becker
77fd33e471 1) fix for bug #905284, etemplate does not show images if webserver_url contains protocoll and domain
2) added a new progress-bar
2004-02-29 09:51:45 +00:00
Ralf Becker
dcd1912a7b added default values parameter to RefreshTable 2004-02-29 00:13:47 +00:00
Ralf Becker
1994b1c179 change default-param of htmlarea, to be used if no or empty style is given 2004-02-29 00:12:48 +00:00
Ralf Becker
1cc9c515aa fixed a typo in column_data_implode 2004-02-28 23:56:13 +00:00
Ralf Becker
d99afd7a11 new function activate_links to change url's into links and automaticaly create spam-saver mailto addresses 2004-02-26 15:32:34 +00:00
Carsten Wolff
f11dd0e255 fixed typo in iconv-call and detection of the right lib to use 2004-02-26 10:57:57 +00:00
Lars Kneschke
c7daab6c2b add fix for chinese language conversion 2004-02-26 06:42:20 +00:00
Miles Lott
5e73b0dc6c Remove typing error on use of implode 2004-02-26 01:38:51 +00:00
Miles Lott
00fbb7a4db Remove bad function 2004-02-25 05:28:46 +00:00
Miles Lott
e50524c3ec Add real createdatabase() function for mssql - partial fix for 885687 2004-02-25 05:26:46 +00:00
Miles Lott
978c0e6869 Add bool type from latest schema_proc from dcl 2004-02-24 21:32:20 +00:00
Carsten Wolff
1c8e2629c5 bytea is the blob-equivalent in PostgreSQL 2004-02-23 20:11:23 +00:00
Ralf Becker
b4970a5f65 fixed prob with not changeable pw's, setup::add_acl created acl_rights=0 rows, instead of no rows 2004-02-23 13:22:59 +00:00
Ralf Becker
2898b043c9 fixed password-check, to now allow to use the stored md5 as password 2004-02-23 10:07:55 +00:00
Miles Lott
265b36c9eb Fix for BUG 900342 - determine preloaded query string which includes wildcards 2004-02-20 16:47:06 +00:00
Miles Lott
745a6c347b Comment out php5-specific code since it causes php4 syntax error 2004-02-20 16:30:19 +00:00
Miles Lott
5b2e153cc6 Possible fix for latest beta of php5 2004-02-20 14:49:39 +00:00
Ralf Becker
597f99375c fixed bug in image and submit-button, that caused names containing '.' to be truncated at the first dot 2004-02-19 22:35:38 +00:00
Ralf Becker
06ab7f4476 added new function RefreshTable to:
1. change or newly create the primary key or any other index
2. change the order of columns, drop and add multiple columns in one go
2004-02-19 08:48:15 +00:00
Ralf Becker
35e9e09911 new function to do the complete type-dependent quoting of a value
ToDo: need to write some introduction to the new SQL-inserting save functions of the db-class (inline docs are already there)
2004-02-19 08:45:31 +00:00
Ralf Becker
b7ee6ce75f workaround for idots and IE button prob (wrong/no cursor) 2004-02-16 09:27:37 +00:00
Miles Lott
b7ae8accc8 Make add() match sql class for input; BUG# 897792 - Fix filtering in read() to not
error when adding elements to string vs. array value for phpgwcontactowner;
2004-02-16 04:50:26 +00:00
Miles Lott
4aae93b598 Migrate changes added to contacts_sql so that interfaces are similar; also change to never modify the uid in update(), since this affects the dn and will fail to modify 2004-02-15 18:12:47 +00:00
Ralf Becker
652511bdb3 fixed metadata-function for adodb 2004-02-15 13:54:18 +00:00
Ralf Becker
cb7fa13a6f 1) use images+links for image-buttons, as the IE png-fix does not work on image-buttons
2) for links instead of button (eg. tabs) only one hidden-var is used, not longer one per button
2004-02-14 18:48:53 +00:00
alpeb
894ed06c06 priority between gif and png first search in chosen template dir 2004-02-13 15:09:22 +00:00
shrykedude
faeb3a6a2f (Fix for bug #896172) Corrected quote type for regex matching; Changed to proper function for string replacement 2004-02-13 04:42:47 +00:00
alpeb
56309597dd priority between gif and png as set in config is now working 2004-02-13 01:25:30 +00:00
Miles Lott
50586e085c Cleanup select and insert from integer fields which had quotes around them. 2004-02-09 20:18:21 +00:00
Ralf Becker
15cd1353e1 1) added the symlink functions from the former separate vfs-class in infolog
2) added addslashs to all path and filenames (fix bug #889872)
2004-02-08 22:30:14 +00:00
Miles Lott
df41d8f9c4 remove while loop since there should be only one record 2004-02-08 22:12:00 +00:00
Miles Lott
876d87227f try to not error on the index checking query 2004-02-08 21:58:13 +00:00
Miles Lott
f4e41b1e63 Make index query slightly more efficient, trim index fieldnames 2004-02-08 21:53:00 +00:00
Miles Lott
649b7a9fd8 Hack in display of index values in sqltoarray.php (setup); 2004-02-08 21:49:52 +00:00
Ralf Becker
5ee6f04fd0 fix for update-bug: NULL values where written back as '', which is not ok for int-columns 2004-02-08 20:59:32 +00:00
Ralf Becker
3782e0c397 fix for pgsql: as it reports boolean values as 't' and 'f' and not like mysql as 1 and 0 2004-02-08 20:00:35 +00:00
Ralf Becker
9949311809 1) fixed bug with setup_demo (start_transaction did not call open before)
2) moved create_database code to the shared class: adodb can create the db now for mysql & pgsql
3) fixed the connect to be able to use unix-domain sockets for pgsql (hostname empty)
2004-02-08 11:19:52 +00:00
Miles Lott
39deb72a77 Similar to fix done for sql to fix acl access in some apps again 2004-02-07 21:25:05 +00:00
Lars Kneschke
9f8740113a fix get_account_name to make acls working correctly again 2004-02-07 20:52:42 +00:00
Miles Lott
63819d4dd7 Add some more debug notes and turn debug off during login/logout/home 2004-02-07 03:38:35 +00:00
Miles Lott
bade598435 Patch from kevindouglas@yahoo.com to re-enable the most recent change here (error when selecting idsociety template, etc.) 2004-02-06 22:32:46 +00:00
Ralf Becker
f18b38e74e fixed wrong header_admin_password, if no new one was entered 2004-02-06 07:08:19 +00:00
Miles Lott
f2f773f8ab disable transactions, since they break in 7.3.X so far 2004-02-06 00:34:24 +00:00
Ralf Becker
b58f7c344d moved the existing caching-code into the shared class and implemented caching for get_list 2004-02-05 21:20:41 +00:00
Miles Lott
6adc7fda6f Add some notes to the smd5_compare() function 2004-02-05 02:14:31 +00:00
Miles Lott
dfa356e0c6 Fix smd5 password comparison for sql 2004-02-05 02:01:39 +00:00
Miles Lott
85495afde2 Fix to ensure correct encryption type is used in the creation of accounts 2004-02-05 01:35:53 +00:00
Ralf Becker
891229149e allow sitemgr to use an other domain then the default domain (first defined in the header.inc.php) 2004-02-04 00:33:37 +00:00
Miles Lott
49726e4623 Undo last commit for now to fix bug when selecting idsociety template 2004-02-03 07:22:42 +00:00
Miles Lott
ee57d4698d disable direct api call from xml-rpc 2004-02-03 06:25:36 +00:00
Miles Lott
8c301efe44 Fix error for Bug #887735, although there must be another problem 2004-02-03 06:06:54 +00:00
Miles Lott
7f6c343ce8 Move pgw_ver back outside of new loop - oops! 2004-02-02 23:07:07 +00:00
Miles Lott
6d860f2d3e Add sidebox link to return to main setup menu 2004-02-02 23:04:07 +00:00
Miles Lott
6024c9331b Adjust banner, cleanup formatting and use foreach() where possible 2004-01-31 19:48:34 +00:00
Pim Snel
c646b67eca fix some buttons and update the rest of the htmlarea tree 2004-01-29 21:50:00 +00:00
Pim Snel
e9ff05661c update and fix htmlarea when having more then on textbox in a form 2004-01-29 13:36:38 +00:00
Miles Lott
d456632ae3 Fix failure to select sql mode for password encryption; 2004-01-29 03:28:00 +00:00
iliaa
28a0a7e01a Fixed a bug that could result in an invalid path being picked for default
template path if the theme name can be found >1 inside the path.

Ex. /home/foobar/www/egw/app/foo
would become
/home/defaultbar/www/egw/app/default
2004-01-28 19:36:52 +00:00
Miles Lott
300badbfec Cleanup other cases of PHP_OS testing for WINNT 2004-01-28 13:34:47 +00:00
reinerj
75df9443b0 bugfix from David Desquiens for WIN problem 2004-01-28 00:46:30 +00:00
bgigon
a4b6f98f04 Modify Accounts Modify function (otherwise crash) 2004-01-27 13:33:38 +00:00
Miles Lott
17340424c1 Switch to different host for currentversion check 2004-01-26 14:00:52 +00:00
shrykedude
2f6ad147af accountid should be int, so enforce the type 2004-01-26 09:21:47 +00:00
shrykedude
c353fa6469 acl rights should be int, so need to enforce the type 2004-01-26 08:56:11 +00:00
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
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
Ralf Becker
4c922ae28a applied ilia's patch for binary columns (mysql returns varchar(#) binary) 2003-10-07 16:41:00 +00:00
Ralf Becker
49d4216305 fix for not set up user-charset 2003-10-07 15:05:14 +00:00
Ralf Becker
10318b0554 fixed annoying typo, that caused the lang-files to be loaded on every login 2003-10-07 09:59:40 +00:00
Ralf Becker
cb01770f48 small fix 2003-10-07 01:02:19 +00:00
Lars Kneschke
d13e4685dc added kses-0.2.1 2003-10-06 11:46:38 +00:00
Ralf Becker
6e69d6965f converting all charsets to lowercase 2003-10-06 11:30:21 +00:00
Ralf Becker
cfc0ec8eb4 updated translation_sql::convert:
- now handles arrays or strings
- autodetects the from charset if not set
- uses the system_charset as to charset if not set
2003-10-05 15:41:59 +00:00
Ralf Becker
c7407b9ed1 small addition to automaticaly deal with a not set system-charset 2003-10-05 13:45:46 +00:00
Ralf Becker
def9a6e4df fix for new install 2003-10-05 10:57:50 +00:00
Ralf Becker
0ca093c04f added multibyte-support for conversation of other charsets then utf-8 and iso-8859-1 2003-10-05 10:44:16 +00:00
Ralf Becker
90faf20801 added some db-unspecific functions to deal with db-results-sets as associative arrays and form new querys from column/value arrays with automatical addslash/intval based on the column-type 2003-10-05 10:42:07 +00:00
Ralf Becker
fd2d96d063 1) implemented a share system-charset, which can be different from the charset of the lang-files
2) moved sql-specific part of setup_translation to translation_sql
3) TO-DO: get the translation-tools working in this setting
2003-10-05 02:06:11 +00:00
Ralf Becker
30bdbd48a9 biger Text for the y-axis-texts, transparent background and other cosmetics 2003-10-04 15:31:31 +00:00
Ralf Becker
878f345099 changed the gant-chart-lines to bars 2003-10-04 14:49:39 +00:00
Ralf Becker
c65032a812 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:27:38 +00:00
Ralf Becker
658dfdce96 restructured setup a bit:
- move most of the lang-code from setup/lang.php to phpgwapi/inc/class.translation_sql.inc.php
- added a minimal-auto-configuration, so one does not need to enter the config-step at all for a running installation
- added the language of the admin to the installed languages
2003-10-04 13:24:34 +00:00
Ralf Becker
eeae3102df fix to give the files in vfs only minimal rights (rw for owner, rwx for owner on dirs) 2003-10-04 07:37:03 +00:00
Ralf Becker
8c0e4fd6d7 fixes to get dave's mime_magic class working 2003-10-03 11:58:51 +00:00
Ralf Becker
03e9bb126d fixed add for numerical values 2003-10-03 10:00:21 +00:00
shrykedude
8a2a675b37 expanded !$var check to use empty($var) 2003-10-03 02:01:21 +00:00
Ralf Becker
c218e158b1 added a check agains ldap-insertion in the login-name 2003-10-02 21:01:37 +00:00
Ralf Becker
8ca7b7af8a killed some warnings if open_basedir restrictions do not allow to access the session-files 2003-10-02 16:58:46 +00:00
Ralf Becker
44eaf69f8f imported ceb's changes til 2003/10/01 (reverted the german lang-file to iso8859-1) 2003-10-02 11:16:50 +00:00
Ralf Becker
30a4f77153 fix for delete with empty account_id 2003-10-01 14:50:34 +00:00
Lars Kneschke
67277ed3e8 let the cookie expire after 3 hours 2003-09-28 15:45:07 +00:00
Lars Kneschke
50cee38d83 [ 813855 ] project fix for bug 813570
https://sourceforge.net/tracker/index.php?func=detail&aid=813855&group_id=78745&atid=554340

Author: Shryke Dude (shrykedude)
2003-09-28 14:07:13 +00:00
Lars Kneschke
8dc102aa50 code from jarg - dunno what it does :) 2003-09-28 12:31:16 +00:00
Lars Kneschke
209f477b20 make this class working on windows too 2003-09-28 12:14:08 +00:00
Lars Kneschke
72f6806810 fix for bug [ 805146 ] ldap addressbook query slow
https://sourceforge.net/tracker/?func=detail&atid=554338&aid=805146&group_id=78745
2003-09-28 11:06:44 +00:00
Lars Kneschke
171addbc59 use stream_set_timeout only with php 4.3.0 and above 2003-09-28 10:32:12 +00:00
Lars Kneschke
509aff2cda make it working again 2003-09-28 10:17:21 +00:00
Ralf Becker
ff3a3ce3c8 fixed schema_proc to deal correct with empty ('') defaults 2003-09-25 01:32:08 +00:00
Ralf Becker
54bcb34236 fixed account-enabled check for account-storage != ldap 2003-09-24 12:21:38 +00:00
Lars Kneschke
d0d9dc1721 patch for [ 807213 ] HTTP-AUTH fails
solved by Bernd Oeggl (beoe)
2003-09-24 05:44:57 +00:00
Lars Kneschke
d6a6b37cde use proxy authentication if needed 2003-09-24 05:23:29 +00:00
Ralf Becker
060311ab7d fixed prob with login-scree-message and no cookie 2003-09-23 21:26:58 +00:00
Lars Kneschke
d26cfa20e9 little tricky error 2003-09-23 14:56:25 +00:00
Ralf Becker
1ed1b0f431 some fixes for setup:
- back-button for manage-header
- header-update shows lang-selection
- lang-selection is sorted now alphabetical
- lang-selection in header-admin shows up only if called the first time (without login)
- manage-languages and add-applications respekt now different translations for the same phrase in different apps
2003-09-23 13:08:40 +00:00
Ralf Becker
63d7cc09a3 extended historylog::delete to delete all entries of an app, to be used by setup 2003-09-22 23:43:48 +00:00
Ralf Becker
1433761aa6 some code-modernisation while looking for the fix to show title of disabled apps 2003-09-22 10:58:57 +00:00
Lars Kneschke
d1ffe11af9 fix for creating valid sql 2003-09-21 19:43:29 +00:00
Lars Kneschke
2a4b75c483 ldap fixes 2003-09-21 19:02:12 +00:00
Ralf Becker
90331f1b45 fix to allow '=' in urls and a lot of space to tab conversation in skwashd's comments 2003-09-21 14:04:13 +00:00
Ralf Becker
c30487281b vfs_sql::mkdir creates missing base-directories (like /home, when createing /home/<user>) now automaticaly and updates the directory content if the directory already exists. 2003-09-21 13:54:07 +00:00
Pim Snel
bae60c5128 fixed old theme support when css-dir is empty 2003-09-19 08:51:26 +00:00
Ralf Becker
43024ba1cc second (optional) param. to add_app to specify the language 2003-09-15 08:42:47 +00:00
Lars Kneschke
bfb56ec1de ldap fixes 2003-09-14 14:35:36 +00:00
Ralf Becker
3492fbbe3f code-cleanup and saved loaded apps in an array, so its save to call it more than once 2003-09-14 10:20:46 +00:00
Ralf Becker
cf20f79d91 added the html-class to the API 2003-09-14 10:19:42 +00:00
Lars Kneschke
8c40bd3358 imported phpmailer 2003-09-14 10:08:47 +00:00
Lars Kneschke
78c74e5726 ldap fixes again 2003-09-14 08:29:29 +00:00
Lars Kneschke
ea7f4ffde7 ldap improvments 2003-09-14 06:11:52 +00:00
Lars Kneschke
c579775999 again some ldap fixes
and

support for ldap version 3
2003-09-14 06:02:25 +00:00
Ralf Becker
36b40204e3 update to version 0.9.99.002:
- new columns for accounts-table: contact_id and primary group
- fixed error from 0.9.10 update with groups and permissions columns only half deleted
- update function for phpGW 0.9.14.508/9 and 0.9.15.013/4
2003-09-13 18:19:03 +00:00
Lars Kneschke
ac487777b7 added support for primary group 2003-09-13 17:14:30 +00:00
Ralf Becker
90804b3885 globals 2003-09-11 18:13:49 +00:00
Lars Kneschke
aa9a35f4d3 spelling error 2003-09-11 04:53:29 +00:00
Ralf Becker
ef850c835b disableling the click_history til someone starts useing it 2003-09-06 10:52:42 +00:00
Ralf Becker
f4fd01dd10 added possebility to remove the crontab-line 2003-09-06 10:50:35 +00:00
Ralf Becker
374cc00037 fixed delete 2003-09-06 03:23:37 +00:00
Ralf Becker
16d1fddc52 some more branding www.phpgroupware.org --> www.eGroupWare.org 2003-09-03 12:59:11 +00:00
Ralf Becker
4c93a60578 small fix for formattime 2003-09-03 12:28:46 +00:00
Lars Kneschke
e3dde66e08 change needed for integration of emailadmin
ldap bugfixing
2003-08-31 22:09:12 +00:00
Ralf Becker
0dac7abe0e imported dave's changes 2003-08-30 23:09:28 +00:00
Ralf Becker
b99e600aaa added flag to disable the str_replace('phpGroupWare','eGroupWare'), called egroupware_hack 2003-08-30 11:03:20 +00:00
Ralf Becker
8ea71d2f7d fixed bug with not saved description in preferences::add 2003-08-30 10:25:14 +00:00
Lars Kneschke
c010b47c80 add the file including the javascript class 2003-08-30 08:47:01 +00:00
Lars Kneschke
cecef59550 addedd javascript support class 2003-08-30 08:44:51 +00:00
Lars Kneschke
a4ecc1017c formating 2003-08-30 07:15:36 +00:00
Ralf Becker
7971e01aef some first basic branding 2003-08-28 18:17:11 +00:00
Ralf Becker
55638ce3a5 fixed some probs with not existing database 2003-08-28 18:14:45 +00:00
Ralf Becker
f34fe8088b reimported jsCal into phpgwapi/js now 2003-08-28 16:35:07 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
skeeter
aedaca8c72 Changed the require_once to CreateObject 2003-08-25 10:15:27 +00:00
ceb
0027baea33 droped class 2003-08-23 02:09:37 +00:00
ceb
4e0b29e3a9 what crap 2003-08-23 01:20:13 +00:00
ceb
6e63540873 update 2003-08-23 00:44:53 +00:00
Ralf Becker
940e0c1df9 added a helpmessage to the jsCalendar input-field 2003-08-18 23:17:56 +00:00
Ralf Becker
b32fe49d9b wrapper-class and setup-file for jsCalendar 2003-08-17 23:05:57 +00:00
Ralf Becker
3173e4dfc6 Initial revision 2003-08-17 22:44:06 +00:00
Ralf Becker
c30cd51f22 table_name returns empty if we have no db-connection instead of throwing error-messages (used in setup)
Note: daves OOP changes still needs to be merged to HEAD!!!
2003-08-13 10:56:01 +00:00
ceb
459fceb00f update 2003-07-26 23:37:55 +00:00
ceb
74040b0444 update 2003-07-25 01:11:45 +00:00
ceb
a636497b9e added function 2003-07-22 23:40:37 +00:00
ceb
a400950613 added function 2003-07-22 21:35:49 +00:00
Ralf Becker
6ab850d35c - added update from version 0.9.14.004-6 (security-fixes) and 0.9.14.508 (asyncservice)
- merged asyncservices from .16
2003-07-21 18:20:45 +00:00
ceb
6b683518ef update 2003-07-03 19:29:26 +00:00
Ralf Becker
ebee2598cf xss fix, running the content of the address-label-function through strip_html 2003-07-02 00:08:20 +00:00
ceb
b1aa23e5d0 fix 2003-06-24 22:33:40 +00:00
ceb
782fdf7c2d fix bug #3861 2003-06-24 13:32:25 +00:00
ceb
5503443533 fix bug #3522 2003-06-24 12:38:08 +00:00
ceb
64aa244e2e update 2003-06-24 11:54:22 +00:00
ceb
99cb204413 update 2003-06-21 00:59:30 +00:00
ceb
298c0d03ae fix 2003-06-17 13:23:42 +00:00
Ralf Becker
b6ef1b3605 fix for bug #3427: no email-notifications
send class does not default to port 25, as email does when smpt-port is left empty in the email-site-config
2003-05-30 16:11:36 +00:00
Ralf Becker
cef302db7b Fix for methode-hooks with no return-value 2003-05-24 14:25:13 +00:00
Ralf Becker
8d77552935 merged dave's php4.1+ change from .16 2003-05-24 12:21:42 +00:00
ceb
3a92c8d5bb update 2003-05-22 23:20:08 +00:00
ceb
6c05d396d9 update 2003-05-21 23:12:44 +00:00
ceb
6494d641da update 2003-05-21 23:02:25 +00:00
Ralf Becker
8c4912bce3 modified add and delete to set / unset default and forced prefs too 2003-05-19 23:05:32 +00:00
Ralf Becker
b03789273e killed some left-over debug-messages 2003-05-19 13:34:33 +00:00
Ralf Becker
b68857973c added lang-call to display_mainscreen 2003-05-18 19:31:21 +00:00
Ralf Becker
a09ccfb730 merged sesson-functions for .16, incl. the brute-force stuffe and cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:18:58 +00:00
Ralf Becker
53b8b8844f merged sesson-functions for .16, incl. cacheing the data from other session in the appsession
fixed multidomain logins for register_globals off
2003-05-18 19:16:58 +00:00
Ralf Becker
6b8a74ecc9 fixed wrong users_localtime time:
offset in user_prefs is not against GMT but servertime
2003-05-17 21:25:09 +00:00
Ralf Becker
9a074ef8b3 added function to encode subject for 8-bit-chars and made boundary a param 2003-05-17 20:41:14 +00:00
Ralf Becker
c1f78f4efc changed username to fullname 2003-05-17 20:37:51 +00:00
Ralf Becker
02c9cec298 fixed display_fullname for missing parts of the name
merged kneckes ldap-change too
2003-05-17 20:34:55 +00:00
Ralf Becker
e51acc6ad8 fixed bug, account_id param in constructor was not used
merged jengos changes from .16 too
2003-05-17 20:26:49 +00:00
mdean
39a55af60a SV# 3634: Syntax error return Rrue; should have been return True; 2003-05-17 19:29:58 +00:00
seek3r
68e9fd40cc dd 2003-05-15 10:01:57 +00:00
seek3r
550d17d454 wrapped a couple functions in if statements because they are now part of new versions of PHP 2003-05-10 08:53:43 +00:00
seek3r
ebc98519ce fixed bad reference which caused problems on windows servers 2003-05-10 08:52:21 +00:00
Ralf Becker
52ad25deb0 call constructor of sbox class 2003-05-05 20:59:14 +00:00
Ralf Becker
0953e3e21b gnu-patch #1245 2003-05-05 20:24:57 +00:00
Ralf Becker
3d2edbc0a7 gnu-patch #740 2003-05-05 19:33:10 +00:00
Ralf Becker
a573aac782 gnu-patch #810 2003-05-05 19:25:16 +00:00
Ralf Becker
6f48cb5363 gnu-patch #1244 2003-05-05 19:11:47 +00:00
Ralf Becker
06489ff747 added an other display-type for accounts: Firstname Lastname [lid]
changed < > into [ ]
2003-05-04 15:14:06 +00:00
Ralf Becker
e152c6727d changed pref-name maildomain to domain 2003-05-04 10:30:38 +00:00
Ralf Becker
1a01f33308 account-display is now configurable via the prefs:
- Firstname Lastname (default)
- Lastname, Firstname
- username
- <username> Lastname, Firstname
2003-05-03 22:23:50 +00:00
ceb
3f24159bfd update tpl 2003-05-03 14:17:15 +00:00
Ralf Becker
3826112059 Fixed get_image_dir and get_image_path to not return the templates imagedir if it only contains the navbar icon (eg. idots or idsociety).
Thats only a fix, better would be if every app uses the image or find_image function.
2003-05-03 10:59:16 +00:00
Ralf Becker
ce1a06d831 small fix, added a wrapper for the renamed function email_address (was sub_default_addres) for email/anglemail 2003-05-03 10:58:46 +00:00
Ralf Becker
e1c1ecad78 added notify-messages to prefs:
- notify messages contain vars to be substituted, eg. $$username$$
- the var-name gets translated for editing
- new function create_notify in preferences.php
- new function parse_notify to substitute / create the notify msg
2003-05-02 01:33:32 +00:00
Ralf Becker
f44171243c fix for phrase which end (after truncating to 230 chars) in a space (which has been striped by the db) 2003-05-02 01:06:33 +00:00
ceb
7546857b3e update cats 2003-05-01 23:24:09 +00:00
Ralf Becker
52ff07f6c9 fix from sigurdne, for bug #3300 and #2740 2003-05-01 12:49:11 +00:00
Ralf Becker
21d8e8fd62 reworked preferences (ported from .16 incl. fixes):
- not set user-prefs use the default value, default values have been used only for new accounts before
- preference-table has new column preference_app
- preferences got automaticaly quoted now, eg. its save to use single and double quotes as well as backslashs
2003-05-01 09:19:50 +00:00
Ralf Becker
f81afd60a9 fixed template_alternate_row_color, so also set the row_color in the supplied template, not only in the template of the nextmatch-class 2003-05-01 09:17:44 +00:00
Ralf Becker
ad1a0a1cb3 fixed schema_proc for pgSql to properly rename a table, if forgot to rename the index 2003-04-30 11:07:24 +00:00
ceb
486e0b043f update portal 2003-04-30 02:13:17 +00:00
Ralf Becker
104bad578d added param try_unregistered to hooks::single for setup 2003-04-28 08:25:59 +00:00
Ralf Becker
2c59c61f0d added param try_unregistered to hooks::single for setup 2003-04-28 08:24:45 +00:00
Ralf Becker
b12d672c5c importing asyncservices from .16 2003-04-27 23:19:49 +00:00
Ralf Becker
4e1cd7d1f5 new type of hooks via methodes instead of separate files:
- allows to parse arguments ot the hook and return content
- all access to the hook-table is now handled by the hook-class (for admin and setup too)
- all existing hooks continue to work of cause
2003-04-27 22:26:04 +00:00
ceb
996ae97971 update img 2003-04-27 19:27:28 +00:00
ceb
7420f58b18 update img 2003-04-27 14:10:16 +00:00
ceb
79f95f0576 update 2003-04-26 20:52:59 +00:00
ceb
9cddaf2f6e added extra function for filter plus update tpl class to version .16 2003-04-26 01:19:45 +00:00
ceb
dbca6b1b6b removed charset from tpls since its added by xslt already plus update class.common: add a flag to disable any xslt output 2003-04-24 21:04:22 +00:00
ceb
ded88a0790 update js and css 2003-04-24 01:34:44 +00:00
Ralf Becker
251699f154 gugux lang-update 2003-04-22 22:30:38 +00:00
Ralf Becker
cad7e38029 fixed for login: dont call framework for login 2003-04-21 08:32:53 +00:00
ceb
0d021d3426 it was impossible to login/logout after change of framework call 2003-04-21 00:49:42 +00:00
Ralf Becker
b69defa25b added app_header via $GLOBALS['phpgw_info']['flags']['app_header'] 2003-04-20 20:47:50 +00:00
ceb
bf02473ccd update cats 2003-04-20 14:15:01 +00:00
ceb
cf343ac9d6 update hook_admin 2003-04-20 02:16:22 +00:00
ceb
2dd760281b moved function deisplay_entry from admin to api 2003-04-19 23:17:40 +00:00
Ralf Becker
fefe0305fd fix for bug reported on user-list, time-compare creates date before 1970/1/1 which is the earliest allowed date on windows 2003-04-18 08:37:04 +00:00
Ralf Becker
6b1cfa855e limited the length of the message_id to 230 and defined a constant for it 2003-04-02 17:46:37 +00:00
Ralf Becker
486fd309c0 changed wrong php-version-number 2003-04-02 10:42:12 +00:00
Ralf Becker
8a9884ec96 had to redo it as it breaks other stuff 2003-03-31 17:34:38 +00:00
Ralf Becker
64309e9e5a made it more compatible with the version in 0.9.14 2003-03-31 16:51:25 +00:00
Ralf Becker
ea968b1cd6 added function redirect_link and added nodisplay before exit 2003-03-31 16:50:49 +00:00
Ralf Becker
ec8ba8cab3 added appname to website title (as dave in .16) 2003-03-30 11:04:57 +00:00
Ralf Becker
32f1ed2b83 now admin can enable/disable the preferences as any other app, fix for bug#2967 2003-03-28 16:19:46 +00:00
Ralf Becker
a29965b1ea added a local var $oProc as reference to the global one, to be compatible with old-style default_records.inc.php 2003-03-27 18:39:49 +00:00
Ralf Becker
d948f09973 moved generation and translation of app-title into applications-class 2003-03-22 12:29:42 +00:00
Ralf Becker
b83af98a7f skwashd's patch to:
- name2id return system-global cats too
- return_array use strlen now to differ between not set and 0 parent_cat_id
2003-03-22 09:37:40 +00:00
Ralf Becker
254ba69217 dave's parse_navbar_end-fix (no more complaining it's not defined) 2003-03-22 09:04:37 +00:00
Ralf Becker
c2778383c5 2 changes:
- newer lang-files get now installed automaticaly when a user log's in
- Czech is added to the supported lang's
==> phpgwapi version updated to 0.9.14.002
2003-03-22 01:32:43 +00:00
Ralf Becker
556680d7f8 fix for 2 pgSql bugs:
- if a table get droped (eg. uninstall an app) the sequenz got not droped, which leads to complains of pgSql if you tried to reinstall the table/app
- _CopyAlteredTable (which is used by AlterColumn) uses a 'SELECT * ' and then the $db->f(0|1|2) which leads to errors when the column-order is not as expected
2003-03-22 01:28:48 +00:00
Ralf Becker
f9c53875eb Moved list_sessions and total from admin.socurrentsessions into the session-class and implemented them for php4 too.
So admin.socurrentsessions is no longer used and bocurrentsessions as well as the phpgwapi/templates/xxx/navbar.inc.php use the session-class to get the number of loged-in-users.
Aktivated the accesslog f�r php4-sessions too.
2003-03-21 00:47:18 +00:00
Ralf Becker
0b53b03eae skwashd's patch to use last_insert_id instead of an extra max(id) query 2003-03-19 23:14:21 +00:00
Ralf Becker
4d4f86af2b an other issue with daylight-saveing in days_between solved, now the calculation is down ignoring the daylight-saveing 2003-03-18 18:02:36 +00:00
Ralf Becker
c280a1ab7e made some more messages from the users-prefs translatable 2003-03-18 17:05:42 +00:00
Ralf Becker
027cfe7207 fix for postgreSql's AddColumn, to allow to set a default and a not null contraint, they are not allowed in add column in pgSQL 2003-03-18 00:07:17 +00:00
Ralf Becker
ff708d4917 skwashd's patch to be able to retrive entries with parent_id == 0 2003-03-16 22:16:33 +00:00
Ralf Becker
2df14f0419 fix for bug #2549, patch from ||cw 2003-03-13 17:59:45 +00:00
Ralf Becker
b4f4f7c938 fix for pgsql >= 7.3 need separate LIMIT and OFFSET clause, works with 7.2.x too 2003-03-13 17:44:53 +00:00
Ralf Becker
e19a2ee41d fix multidomain header-generation 2003-03-05 14:21:49 +00:00
Ralf Becker
982f00b803 fix to include the mysql-error-msg again 2003-03-05 13:57:29 +00:00
Ralf Becker
cc9eace636 sim's patch #1218: vfs patch (to implement "view" method) 2003-03-04 18:15:38 +00:00
Ralf Becker
ff3eae22d3 sim's patch #1217: webdav client cache fix 2003-03-04 18:10:15 +00:00
Ralf Becker
6395e2a6ab sim's patch #1096: webdav client class fix (small but essential) 2003-03-04 17:46:16 +00:00
Ralf Becker
bdf2cb9d91 reimplemented the days_between function because it led to an infinite recursion in some cases and its simpler/faster now 2003-02-26 16:44:11 +00:00
Zone
241a0bbf09 Load vfs_shared class 2003-02-17 19:35:52 +00:00
Zone
f72d5d300e Move shared variables and functions to vfs_shared 2003-02-17 19:34:56 +00:00
Zone
45caae75f9 Initial commit 2003-02-17 19:33:07 +00:00
Zone
efc0287bc1 Initial commit. From Jonathon Sim <sim@zeald.com> 2003-02-06 22:45:05 +00:00
Zone
4697629414 Initial commit. Original author Leo West <west_leo@yahoo-REMOVE-.com>, changes from and submitted by Jonathon Sim <sim@zeald.com> 2003-02-06 22:43:18 +00:00
seek3r
a80e96953f added new acl class as acl2 while its being tested 2003-01-12 20:19:12 +00:00
seek3r
d1f5fdf372 oops. left debug line in safe_args() 2003-01-12 03:46:38 +00:00
seek3r
8ae1ee9e14 fixed validation bug in safe_args() and removed debug line I left in createobject() 2003-01-12 03:43:55 +00:00
seek3r
637307f51c added new safe_args function which should help to make our functions safer and more flexible 2003-01-11 08:32:44 +00:00