Commit Graph

5440 Commits

Author SHA1 Message Date
Ralf Becker
958452ff95 Implementation of global categories limited to a certain group:
- from user perspectiv they are global cat like the existing ones
  (also comming in two flavors: global or for a certain app)
- admins can select to limit a global cat when they create it
--> all members of a given group have the cat as a global one
==> This does a silent modification of the categories table: 
global cats get changed from cat_owner=-1 to cat_owner=0 !!!
2010-01-31 03:36:01 +00:00
Ralf Becker
5073a8b24e completly reworked admin >> global categories, in preparation for group specific global cats 2010-01-30 23:57:03 +00:00
Ralf Becker
e73dcb2a27 fixed colorpicker (as not using current color) and added colorpicker widget to etemplate 2010-01-30 23:55:36 +00:00
Ralf Becker
43553a0226 - depricated return_single($cat_id) in favor of read($cat_id) return not
an array with a single cat, but just the cat
- read($cat_id) and id2name($cat_id,'data') return now data as array
- edit($cat) and add($cat) now serialize data, if it's an array
- return*() have optional parameter to return data as array (default is
  still to return it serialized)
- new constants categories::GLOBAL_APPNAME='phpgw' and
  categories::GLOBAL_ACCOUNT=-1 (the later will change in the next step)
2010-01-30 23:50:51 +00:00
Jörg Lehrke
32639bd47e Major SyncML Calendar update
- SIFE support improved
  - various vCalendar 1.0 issues fixed
  - device specific timezone support for recurring events
  - pseudo exception handling improvements
2010-01-29 21:42:54 +00:00
Ralf Becker
61d26df913 reworked auth classes, to allow them to use each other and a new auth class using a primary backend (ldap) and a fallback (sql) 2010-01-28 04:22:37 +00:00
Ralf Becker
30e13c4acf first step of group prefs (backend only for now) 2010-01-27 05:44:31 +00:00
Ralf Becker
5e3541c5b2 read all installed apps and not just the enabled ones 2010-01-27 05:22:41 +00:00
Ralf Becker
49b237ec72 handing argument types for wz_tooltips and only using UnTip(), if tooltip is NOT sticky 2010-01-24 03:15:12 +00:00
Ralf Becker
27c2de1986 re-adding default width of 300px, I missed when updating the class 2010-01-24 02:29:29 +00:00
Ralf Becker
49d444e3c9 fixed problem if $order is given as string, supporting it now again 2010-01-24 01:31:06 +00:00
Ralf Becker
0c5e495994 fixed common::setLocal() to fallback to en_US, not en_EN (which does not exist) and then de_DE (giving german) 2010-01-24 01:07:26 +00:00
Hans-Jürgen Tappe
2606c0b439 Remove duplicate return. 2010-01-22 21:43:50 +00:00
Hans-Jürgen Tappe
9c5fd08d90 Fix backup->restore() as discussed on the devel list:
- Internationalization of error messages.
- Typos
- Add missing code documentation
- Respect return code of db->transaction_commit()
- Add missing filename arguments in restore() calls.
2010-01-22 21:39:19 +00:00
Klaus Leithoff
577ce3e8df improve db_backup/restore 2010-01-22 13:52:04 +00:00
Ralf Becker
0e405049b3 A few improvments with hooks:
- register_all_hooks deletes now hooks of no longer existing apps
- hooks get instanciated directly with egw object, to cache the hooks
  read from the DB (and not read it again on each request)
- hooks get now stored by location, so no need anymore too loop for each
  hooks::process() call to all apps to find applying hooks
- hooks::process($location,$order,$no_permission_check) no longer
  defaults automatically puts current app in $order, if $order is not
  given, without $order hooks are executed in application order!
2010-01-21 23:31:28 +00:00
Ralf Becker
9c4b9aebbf fixed not deleted files in filesystem 2010-01-21 22:56:57 +00:00
Ralf Becker
507bad0b92 new registry method edit/edit_id to edit an entry 2010-01-19 22:14:39 +00:00
Klaus Leithoff
30abf86181 only warn, for no ziparchive, if you want to backup files 2010-01-19 15:27:30 +00:00
Klaus Leithoff
0075e7f4cd attempt to improve the parsing/cleaning of html messages. 2010-01-19 13:29:16 +00:00
Jörg Lehrke
21a2cab5a8 Fix session issue 2010-01-18 14:57:35 +00:00
Ralf Becker
4600c7cb38 Imported latest version of wz_tooltips (5.31) as they no longer need to
process the whole dom tree to enable the tooltips.
(Also made the changed from r23372 again)
2010-01-17 03:20:45 +00:00
Ralf Becker
8b2fe41fe0 refractored our exception handler a bit, to allow using part of it from ajax too. Ajax logs now the exception to the error_log and only shows a trace to the user if enabled in the config, like the rest of EGroupware 2010-01-14 23:50:06 +00:00
Klaus Leithoff
83b53cadbe use require_once instead of require, as we seem to run into some 'cannot redeclare class'-errors 2010-01-14 11:43:54 +00:00
Jörg Lehrke
16c190cfe2 Improve SyncML session handling 2010-01-13 09:05:27 +00:00
Jörg Lehrke
59affe07ce Improve SyncML session handling; code cleunups 2010-01-13 08:47:00 +00:00
Ralf Becker
07d7b66735 some fixes for session of basic auth clients as sogo connector:
- added user IP to hash used as session id (so changed IP, different devices force a different session)
- returning false in verify, if domain is changed
- fixed "Wrong IP" message
2010-01-12 03:55:42 +00:00
Ralf Becker
aca03d2dbc somehow forgot to remove old xajax files 2010-01-12 03:42:46 +00:00
Jörg Lehrke
548f5f8c98 Fix various issues introduced with Funambol adjustments; code cleanup 2010-01-10 19:02:16 +00:00
Jörg Lehrke
3242e169cc More Funambol adjustments and workarounds 2010-01-09 18:04:21 +00:00
Jörg Lehrke
49823ecd7e Fix encoding issues; improvements for Funambol clients 2010-01-08 13:09:36 +00:00
Ralf Becker
583a4b91d7 register doXMLHTTPsync as an alias to call doXMLHTTP synchronious 2010-01-08 01:16:29 +00:00
Ralf Becker
d9d303db6d remove reference from $obj =& new obj() constructs, to get ride of depricated warnings in php5.3 2010-01-07 23:44:33 +00:00
Ralf Becker
65aa5f8740 using new xajax version 0.5, thought automatically defining all pre 0.5 response functions, so no changes in EGroupware callbacks necessary, everything should work as before 2010-01-07 23:39:17 +00:00
Ralf Becker
19215ae75e adding stock xajax_0.5_minimal 2010-01-07 23:33:20 +00:00
Ralf Becker
8d55e4800e fixed supported-report-set according to a calendarserver example and reorganized HTTP_WebDAV_Server to generally support hierachical properties 2010-01-07 04:24:45 +00:00
Ralf Becker
b446f6de4e supported-report-set as required for CardDAV and Sogo connector 2010-01-07 02:04:09 +00:00
Ralf Becker
d53f0c91bf ctag for addressbook, sogo connector seem to require it, thought it should be optional, anyway ctag makes sense 2010-01-05 23:25:17 +00:00
Jörg Lehrke
ed519fda33 Optimized Funambol recognition 2010-01-05 10:09:47 +00:00
Ralf Becker
19dd3785a9 make input readonly via javascript to NOT trigger mobile devices to display a keyboard 2010-01-01 23:04:39 +00:00
Christian Binder
b3a02f9408 recognize zero value also as a real value 2009-12-30 13:48:00 +00:00
Ralf Becker
08d5ce1f30 fixed not used user date and time format, if no timezone set 2009-12-24 01:48:51 +00:00
Ralf Becker
7bfa59767c fixed typo preventing creation of new events, if no timezone pref is set (should show just the server timezone) 2009-12-24 01:03:35 +00:00
Nathan Gray
b94bf0c8a0 Completely revert changes from rev 28826.
Now using a seperate array to hold additional topmenu entries from hooks to prevent occasional duplication of info items.  Apps should now be able to call ['egw']->framework->add_topmenu_item('name', 'url', 'title') to add an additional entry to the topmenu.
2009-12-17 18:07:59 +00:00
Klaus Leithoff
95540c3fa7 revert n.gray s rev 28826, as it clutters the topmenu occasionaly 2009-12-17 14:48:19 +00:00
Christian Binder
86346deefe fixed empty resultset if num_rows option is not defined, removed some weird indents 2009-12-16 13:10:55 +00:00
Klaus Leithoff
b48c4f51fc improving the display by toggling the editor mode; improving import of html mails after flaw in rev28758 2009-12-16 10:57:37 +00:00
Nathan Gray
77c889f907 Don't clear items, it will erase anything added by apps in topmenu_info hook 2009-12-09 23:15:46 +00:00
Nathan Gray
219ae4d224 Can't use ExecMethod2(), it doesn't pass by reference.
Used code to pass options by reference from nextmatch widget so apps can update  array if they need.
2009-12-08 17:56:22 +00:00
Ralf Becker
76e43e442c fixed typo 2009-12-08 08:19:58 +00:00