Commit Graph

14561 Commits

Author SHA1 Message Date
Ralf Becker
22b8623913 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was
  checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:41:08 +00:00
Ralf Becker
cdd5103888 fixing a few more PHP5.3 problems, caused by PHP5.3 behavior to NOT
register cookies in $_REQUEST any more by default (there's now a php.ini
variable 'request_order' to controll that, but we want to work with a
default configuraltion):
- session restore was not working, as only $_REQUEST[sessionid] was checked
- multi domain installs not working, as domain cookie was not checked
- encrypted session were not working, because kp3 cookie was not checked
--> there's now a static method egw_session::get_request($name), which
checks $_REQUEST[$name], $_COOKIE[$name] and for that Safari bug also
$_COOKIE[ucfirst($name)]
2009-08-22 19:32:28 +00:00
Ralf Becker
f1f2b4f956 "PHP5.3 fix: call_user_func_array($callback,null) 2. parameter has to be array
If called in php5.2, $callback is called with no argument, in php5.3 above warning is issued and $callback is NOT called
--> stoping some xajax calls from fmail in 1.6.002"
2009-08-22 16:45:21 +00:00
Ralf Becker
6d78b5ce58 "PHP5.3 fix: call_user_func_array($callback,null) 2. parameter has to be array
If called in php5.2, $callback is called with no argument, in php5.3 above warning is issued and $callback is NOT called
--> stoping some xajax calls from fmail in 1.6.002"
2009-08-22 16:42:11 +00:00
Ralf Becker
607dd27c48 PHP5.3 fix, which is already in trunk, but forgotten to backport to stable 2009-08-22 15:58:36 +00:00
Jörg Lehrke
3a6e839a14 Moved device specific supported fields to SyncML API. 2009-08-22 15:57:57 +00:00
Jörg Lehrke
2d89868180 allows to limit contact synchronization to specific an addressbook and distribution list (thanks to Zorg) 2009-08-22 14:22:55 +00:00
Jörg Lehrke
3188333c45 Implemented ability to check for more then one right for get_lists:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only listss fullfilling all the given rights
2009-08-22 11:55:10 +00:00
Ralf Becker
b760d30876 "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:53:23 +00:00
Ralf Becker
ceaf32919f "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:51:55 +00:00
Ralf Becker
2d5eae0cb2 Patch from Jean-Charles Passard <jcharles(at)provectio.org>: allows to use either uid or id to retrieve contacts 2009-08-22 07:31:53 +00:00
Ralf Becker
8e53977cfb "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:16:38 +00:00
Ralf Becker
1628c09432 "- adding addressbook object classes to accounts (if they are supported by the server)
--> overcome problem reported by krupka(at)depag.de on the german list: password get's lost if contact get saved, because it had to remove the account first to add the addressbook object classes
- docu update
"
2009-08-22 07:13:59 +00:00
Ralf Becker
19e6159a4a - phpDocumentor headers and improved docu about class methods
- coding stylite cleanup
2009-08-22 06:58:38 +00:00
Ralf Becker
109c50fecf not used since some time (used vcard parser class is addressbook_vcard) 2009-08-22 06:48:07 +00:00
Ralf Becker
7b63b57aae "Patch from Jean-Charles Passard <jcharles(at)provectio.org>: allows to use either uid or id to retrieve contacts
"
2009-08-22 06:28:58 +00:00
Ralf Becker
fdbf3b207b - added support for 1:N relations to history logging
--> added documentation for 1:N relations and general usage
- created a public method to determine if a record is changed,
  which can be called before an application to determine if
  saving is necessary (it's result can then be passed on to
  bo_tracking::track() to not compute the changed fields again)
2009-08-21 12:57:12 +00:00
Ralf Becker
ff7aff5207 "Implemented ability to check for more then one right:
@param int $required=EGW_ACL_READ required rights on the addressbook or multiple rights or'ed together,
to return only addressbooks fullfilling all the given rights
"
2009-08-21 07:12:07 +00:00
Klaus Leithoff
5940e891b2 if app changes while displaying content, be aware of that (as of addressbook infolog view) 2009-08-20 14:11:52 +00:00
Klaus Leithoff
796dba966d if app changes while displaying content, be aware of that (as of addressbook infolog view) 2009-08-20 14:11:10 +00:00
Ralf Becker
4f910c4a5e "automatic convert db timestamps to unix timestamps, our db class does the reverse on writing them" 2009-08-20 11:41:13 +00:00
Ralf Becker
c4230c7356 "fixed not savable empty site configuration 'responsible_edit', once a value was set before" 2009-08-19 15:00:28 +00:00
Ralf Becker
ae33932f0b "fixed not savable empty site configuration 'responsible_edit', once a value was set before" 2009-08-19 14:59:58 +00:00
Ralf Becker
ced14e2c15 "removed depricated calltime pass reference, it's unnecessary in these cases anyway" 2009-08-19 13:56:35 +00:00
Ralf Becker
19086bb7b0 Some fixes and enhancments to simplify search with so_sql
- search($criteria,...) if $criteria is a string, search in all data
  columns or - if set - $this->columns_to_search
  --> that's NOT backward compatible - though a quick scan through the
      EGroupware code showed no use of $criteria as string!
- this automatic search, appends and prepends '%' only, if search
  pattern does NOT already contain wildcards (* or ?)
  --> allows to search "test*" for values starting with test
- improved handling of db timestamps (Y-m-d H:i:s), to allow to search
  for them too (eg. "2009-08-*")
- so_sql_cf::get_rows() now calls parent
- so_sql_cf::search() adds DISTINCT if query contains a join
--> ToDo: remove custom search code from apps, to give consitent search
behavior in all apps and simplify the code there
2009-08-19 12:08:52 +00:00
Ralf Becker
c324275b1d docu update and remove decriated assignment of objects by reference 2009-08-19 11:58:43 +00:00
Ralf Becker
74a41902b8 "quote all table or column names, to allow to use reserved words of dbms" 2009-08-19 10:20:01 +00:00
Ralf Becker
1bb3fadd1f "added simple callback for config templates, html eg. selectbox get created by using:
- {call_class::method} or 
- {call_app.class.method}
The returned selectbox or input has to be for \"newsettings[$name]\"!"
2009-08-18 16:07:39 +00:00
Klaus Leithoff
171eaab0e9 performance issues (handling classes, CreateObject, ...), issues regarding session restore/handling 2009-08-18 12:03:32 +00:00
Ralf Becker
f70cccd2ef "allowing to use GET parameter \"auth\" instead of (basic) Authentication header, as talked on devel list" 2009-08-18 07:55:59 +00:00
Klaus Leithoff
f2c4679dcb commit regarding problem with persistent session restore; further work needed 2009-08-18 07:40:26 +00:00
Christian Binder
faa51609ae user messages adjusted again. another attempt to make it clear for the user whats happening with event series and single occurrences of the event - if someone finds a better solution please edit 2009-08-17 21:15:40 +00:00
Christian Binder
1d5b6b6828 prevent privileged user from pressing "save" or "apply" if just a status of a single recurrence was changed - otherwise a real exception will be created 2009-08-17 20:05:46 +00:00
Stefan Becker
cead53394e Added select all on top of the listview 2009-08-17 19:18:26 +00:00
Stefan Becker
ecb0d4fa05 added no status filter to filter options 2009-08-17 18:46:47 +00:00
Stefan Becker
2618570931 added a predifined status for a new Timesheet 2009-08-17 18:33:50 +00:00
Christian Binder
6b3c7942d6 disabled horde error logging by default; sorry devs but this killed my production server while accidentally having turned it on and synced a big addressbook - maybe we avoid happening this to others 2009-08-17 14:55:02 +00:00
Christian Binder
2db8bd6c9c complete rework of participants() method. The only purpose of this method is now to add or delete participants - NOT to overwrite stati. Added a new param "add_only" to have the possibility to check for the existence of a single participant in the egw_cal_user db and add this participant if needed. This is used for e.g. group invitations where a default set of stati does no primary exist for the user. 2009-08-17 14:45:42 +00:00
Christian Binder
1793a546e3 give a response to the user on how many occurrences have been changed. Display the correct participant status depending if a single occurrence or a whole event series is displayed. 2009-08-17 14:38:18 +00:00
Ralf Becker
35626a6593 "docu update to avoid a common pitfall" 2009-08-17 12:28:30 +00:00
Christian Binder
45dfa1ab0d fix: new supported field "recurrence" was named "reference" 2009-08-17 10:34:22 +00:00
Ralf Becker
01a45a3d3a "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:31:52 +00:00
Ralf Becker
8c8d1e7b8c "cant create an index without fields (was observed in broken backups)" 2009-08-17 07:30:47 +00:00
Ralf Becker
8d60b25ccf "autoindex for collections:
- listing resources in collection
- displaying properties
--> easy debuging and discovery of CalDAV server"
2009-08-16 15:24:43 +00:00
Christian Binder
40372cba8f add eGW independent html output mode for new mail stationery feature sponsored by Inspections Unlimited Franchise services (http://www.inspectionsunlimited.com) 2009-08-14 22:15:15 +00:00
Ralf Becker
55233ca9fd "added warning if zip extension is missing (OpenOffice and MsOffice documents)" 2009-08-14 09:50:58 +00:00
Ralf Becker
044cd984cc "added warning if zip extension is missing (OpenOffice and MsOffice documents)" 2009-08-14 09:50:28 +00:00
Ralf Becker
5722b54a10 "added check for following php extensions:
- error if ctype is missing (required by HTMLpurifier)
- warning if mcrypt is missing (eTemplate form state)"
2009-08-14 09:49:31 +00:00
Ralf Becker
07c3816a14 "added check for following php extensions:
- error if ctype is missing (required by HTMLpurifier)
- warning if mcrypt is missing (eTemplate form state)"
2009-08-14 09:48:49 +00:00
Ralf Becker
d0910b5307 "HTMLpurifier requires ctype extension, which is on SuSE in php5-ctype package (RH has it in php-common)" 2009-08-14 09:35:56 +00:00