Commit Graph

2643 Commits

Author SHA1 Message Date
Ralf Becker
dafaf45680 fixed typo which caused the admin passwd to be changed, instead the one of the edited user 2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44 some more db-capabilities:
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b code cleanup and link function allows now query in the url too 2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00 fix for referer under etemplate 2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat 2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81 tinymce
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf adjust link to new view dialog 2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b fixed typo 2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583 fixed not working reference assignment 2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630 hopefully now all possebilities to construct an eGW URL are covered 2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5 new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function 2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0 phpgw --> egw plus some documentation 2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND 2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5 reverted last commit, as &amp; in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used 2005-11-08 20:03:46 +00:00
Ralf Becker
c84bb21068 xhtml conforming url's 2005-11-08 17:53:04 +00:00
Ralf Becker
263caae5e8 missing param 2005-11-08 10:10:36 +00:00
Ralf Becker
709ef070c9 fix for bug, that empty arrays are returned as serialized empty array and not an empty array 2005-11-08 08:12:30 +00:00
Ralf Becker
a0beab57d4 fixed bug reported by Lutz on the german list (missing AND before filter in return_array) 2005-11-08 05:07:37 +00:00
Ralf Becker
40b35348e0 Get- and SetCharSet for mysql and mysqli 2005-11-07 13:37:21 +00:00
Ralf Becker
ae9ae56e30 fix for the segfaults happening since the last commits in several apps: function was calling itself ;-) 2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2 it was definitly to late last night ;-) 2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476 typo 2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9 phpgw_categories --> egw_categories plus reworked categories class 2005-11-05 22:58:51 +00:00
Ralf Becker
2ec277c0d9 typo 2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3 typo 2005-11-05 18:18:55 +00:00
Ralf Becker
0f7354b09b check for the old table too, to not scare updating users ;-) 2005-11-05 13:15:33 +00:00
Ralf Becker
912aac5e6c 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
2477ebc7bb functions to get and set the charset 2005-11-04 18:38:29 +00:00
Ralf Becker
970a92297e an other big update ;-)
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
 - charset gets now set for the connect
 - charset gets used for new tables
 - some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
 - update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
65c41b525e fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working 2005-11-04 06:57:22 +00:00
Ralf Becker
a41761660e fixed bug: addressbook popup for email apps: adding all search results was not working with ldap (contacts_ldap class did not support the "!''" filter used) 2005-11-03 14:30:40 +00:00
Ralf Becker
335cef9104 display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user 2005-11-02 20:43:04 +00:00
Ralf Becker
3960fcc0ae implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both 2005-11-02 20:40:44 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
e4ed1ac5b0 add execmethod2 which could handle multiple arguments
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
295d7844e5 added no_notify parameter to link function, to suppress the notify 2005-10-27 09:28:24 +00:00
Régis Leroy
7b9f0f7b79 add mysqlt type for mysql in transactionnal mode with innodb tables 2005-10-25 15:27:42 +00:00
Régis Leroy
0f476f3e98 Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE 2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81 bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before 2005-10-25 14:38:10 +00:00
Ralf Becker
a4b67d9f2b UUPS javascript ;-) 2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb 1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Régis Leroy
c2c29c186b removing galaxia library. See reworked workflow library in workflow/inc/engine 2005-10-17 15:54:19 +00:00
Régis Leroy
c53b0302ba removing galaxia library. See in reworked workflow library in workflow/inc/engine 2005-10-17 15:52:39 +00:00
Cornelius Weiß
f578c4f826 make tinymce call easier and provide some custom view 2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf switch to tinymce by default 2005-10-13 15:16:38 +00:00
Ralf Becker
ea1e8d89a2 fixed sql error on deleting users, thanks to Regis Leroy 2005-10-13 14:26:29 +00:00
Ralf Becker
1784637cff Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
Ralf Becker
e2e0fd6446 Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
zhangweiwu
0ec0bc7654 add a bit of phpdoc explanation. 2005-10-11 02:00:23 +00:00
Ralf Becker
8fd573db65 setting language, date- and timeformat for tinymce from the user prefs 2005-10-11 00:27:24 +00:00
Ralf Becker
2a05447886 fixed domain-selection via url 2005-10-09 12:02:24 +00:00
Ralf Becker
9f0f20a4cf an other try to get the right size for the multiple selectbox with checkboxes 2005-10-05 12:40:59 +00:00
Cornelius Weiß
5c8e62b4ce files with owner_id == 0 need to be readable for all useres! 2005-10-04 22:59:14 +00:00
Ralf Becker
8a8077bf4e typo 2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067 moved InfoLog's link class and it's table into the api 2005-10-01 20:18:41 +00:00
Ralf Becker
f7ec5b42f5 fix to use our db class with the new php5 mysqli extension 2005-10-01 09:09:45 +00:00
Ralf Becker
7f835c1020 mysqli has a separete param for the port 2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0 mysqli should use the mysql datadictionary 2005-10-01 08:47:27 +00:00
Carsten Wolff
7ae0075fb3 fix an usort sideeffect 2005-09-30 16:03:27 +00:00
Ralf Becker
42e14d2cfd multiselectbox with checkboxes: calculated widths was far to much 2005-09-30 14:21:50 +00:00
Miles Lott
eefec39e13 Formatting 2005-09-29 11:31:02 +00:00
Carsten Wolff
c5f0daa001 remove PHP3 legacy code and fix performance bug in sorting ldap_search results. 2005-09-28 13:10:22 +00:00
Ralf Becker
93e3241b70 re-added to postgres fixes not (yet) contributed to JohnLim:
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e imported adodb 4.65 2005-09-26 10:12:10 +00:00
Ralf Becker
bd527ef0b8 the xmlrpc log should be off be default, as it contains everything in cleartext (eg. passwords) and it is in most distros world readable 2005-09-20 10:14:10 +00:00
Ralf Becker
e72ec322e1 added configuration switch for xmlrpc and soap services (default off) 2005-09-10 10:39:36 +00:00
Ralf Becker
a4b3f4fecb added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again 2005-09-06 10:20:56 +00:00
Carsten Wolff
3be92d3fa2 fix change_owner() 2005-08-30 20:56:33 +00:00
Lars Kneschke
e2f6eb9b06 always include some common javascript functions 2005-08-28 20:31:36 +00:00
Miles Lott
35d6232281 Switch to new arrays and db cloning 2005-08-27 12:24:56 +00:00
Miles Lott
137e472433 Use correct quoting when querying/setting account_id; minor formatting 2005-08-27 12:19:35 +00:00
Miles Lott
b4a21c4e9e Switch to egw_info, etc, and remove reset/while 2005-08-23 17:53:41 +00:00
Miles Lott
9438655ca5 Format and switch to egw_info, et al. 2005-08-23 17:49:49 +00:00
Miles Lott
7d18902b97 HEAD only: Add client from 2.0 lib - adds compression, proxy auth, etc. 2005-08-16 13:23:03 +00:00
Miles Lott
46e44572df Remove eval from ldap version, too 2005-08-14 22:11:15 +00:00
Miles Lott
4248167886 Update lib to version 2.0; remove eval calls 2005-08-14 20:36:46 +00:00
Miles Lott
08b61a050e Fix for multiple domains via xml-rpc to ensure the correct domain 2005-08-14 17:01:30 +00:00
Carsten Wolff
d61920a22b fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1. 2005-08-13 21:01:14 +00:00
Miles Lott
4af309944f initial line spacing 2005-08-13 13:16:01 +00:00
Lars Kneschke
7dc342e317 removed organizer as required field 2005-07-29 07:31:30 +00:00
Ralf Becker
8d4c01bf4b fixed missing escaping of double quotes in the title of wz_tooltips 2005-07-28 09:45:58 +00:00
Ralf Becker
0c38cbea43 fixed wrong charset in xajax responses 2005-07-27 10:04:52 +00:00
Lars Kneschke
bf49d639c6 remove session after successfull sync 2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34 fixed handling of ALERT 222 2005-07-26 07:22:58 +00:00
Miles Lott
ca8cf03ff2 Update for egw arrays 2005-07-23 11:39:20 +00:00
Ralf Becker
5cbbbb7d29 1) phpgw --> egw
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
7b1229e29a fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog 2005-07-22 17:53:02 +00:00
Ralf Becker
c395f26dc6 added function to invalidate the session-cache if:
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:20:31 +00:00
Ralf Becker
b82ac2c4d6 added function to invalidate the session-cache if:
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
d933e70c72 fixed SQL queries 2005-07-20 12:42:09 +00:00
Ralf Becker
5e97b462c4 setting defines for currentapp=login too 2005-07-20 12:31:58 +00:00
Ralf Becker
83b0801533 commit for Lars: latest SyncML updates 2005-07-20 12:09:32 +00:00
Ralf Becker
ef7bff339e commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a commit for Lars:
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f20c9f093e the LDAP server also needs to be re-connected 2005-07-17 22:47:54 +00:00
Ralf Becker
f99f2ef4e8 1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
5736cb296c *** empty log message *** 2005-07-17 19:58:41 +00:00
Ralf Becker
7c46b63263 1) fixed not working session kill
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +00:00
Miles Lott
47d7968d60 Disable debugging by default, but enable for the interserv test application 2005-07-02 20:19:19 +00:00