Commit Graph

3600 Commits

Author SHA1 Message Date
Ralf Becker
0d48d6021e "setting a higher CHUNK_SIZE to improve performance" 2009-10-19 07:47:06 +00:00
Ralf Becker
df8217ff61 "fix to cope with $vars[0] containing '%2' in lang() calls" 2009-10-19 07:41:03 +00:00
Ralf Becker
e1e712c9fb php5 constructor and constants for default and forced prefs owner 2009-10-18 12:45:09 +00:00
Jörg Lehrke
431530c8bb Fix RRULE colon bug 2009-10-17 21:59:12 +00:00
Ralf Becker
c1f385be48 "fix autoindex to work with iterator" 2009-10-17 12:22:40 +00:00
Ralf Becker
447c8b618a Using an iterator to query addressbook in chunks of 100 contacts to
allow to do propfinds on hugh addressbooks independent of memory_limit:
- regular groupdav_handler::profind() method gets split in a method just
  computing a filter and a callback to run that filter on the backend
- groupdav_propfind_iterator class is returned from profind method
  instead of an array with information about the files
- iterator calls groupdav_hander::propfind_callback if there are no more
  entries from the previous call
- constructor of groupdav_propfind_iterator allows to pass an extra array
  with files to return, to simplify modifying existing implementation
  (were eg. information about the current path, get's supplied from
  calling groupdav class).
2009-10-17 09:13:36 +00:00
Ralf Becker
e0a9ae63cf "fix allowing (at least in the calendar GUI under Linux) to enter curing events starting prior to 1970" 2009-10-16 05:13:52 +00:00
Ralf Becker
c4e9e875a2 "- fixed error prefenting updating of locks
- added constant do enable debuging of locks"
2009-10-13 21:05:09 +00:00
Ralf Becker
c0eec4aa07 "quiten permanent error_log" 2009-10-13 19:18:38 +00:00
Jörg Lehrke
7c4592434c Adds COUNT to VTIMEZONE RRULE and fixes year selection 2009-10-12 20:11:57 +00:00
Christian Binder
501e715561 re-added support for gzipped and unzipped files for db restore on empty installations - was (maybe accidentally) removed with housekeeping feature 2009-10-12 13:28:28 +00:00
Ralf Becker
3cbf249bea "setting minimum php version to 5.2" 2009-10-12 09:48:04 +00:00
Ralf Becker
624cf172e8 "fixed wrong path buildng (missing slash)" 2009-10-12 09:46:36 +00:00
Ralf Becker
756ecd2b18 "updated function_backtrace to show if class method is called static (::) or not (->)" 2009-10-12 09:44:36 +00:00
Ralf Becker
587bd2bc95 - added an optional timezone quick selection in top menu (it shows up
only if you select more then one timezone to display in it)
- moved generation of beautified timezone array to egw_time
- moved all preferences hooks to a new class preferences_hooks (updated
  version so setup updates hook data, or you need to call admin>>update
  hooks)
2009-10-12 09:41:46 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Ralf Becker
5225fe81e1 automatic convert egw_time/DateTime objects when quoting values 2009-10-08 16:20:37 +00:00
Ralf Becker
3ef01bc589 Refined egw_time class a bit more and and integrated it with preferences
class, to automatically set relevant user prefs (tz, dateformat,
timeformat).
2009-10-08 16:14:18 +00:00
Ralf Becker
e0795f7328 "fixed session preferences, were broken since 1.6" 2009-10-07 18:59:01 +00:00
Ralf Becker
ab9c9d21b6 New egw_time class used to implement correct timezone handling for
calendar, plus a first calendar implemenation.

This implementation just replaces following calendar_bo methods:
- date2ts($date,$user2server=False)
- date2array($date,$server2user=False)
- date2string($date,$server2user=False,$format='Ymd')
- format_date($date,$format='')
which static methods from egw_time.

If your server is in same timezone as the user, you should experience no
difference. As a small test, you can switch to an other timezone (eg.
UTC) to recognice on a weekly repeating event (which still repeats on
equal server time!) that it moves by one hour when daylight saving
changes. This switching to a TZ with different daylight saving rules,
was not working before.

Happy testing :-)
2009-10-07 13:29:06 +00:00
Christian Binder
efad9168fa fixed typo 2009-10-07 08:05:10 +00:00
Ralf Becker
610b629325 first step for real timezones in EGroupware 2009-10-06 06:45:28 +00:00
Jörg Lehrke
83d00a845a Fix VTIMEZONE part of VCALENDAR 2009-10-05 04:38:09 +00:00
Ralf Becker
ee536325fc "improved support for other users calendar/addressbooks" 2009-10-03 10:22:14 +00:00
Ralf Becker
656ae5713b "fixed not working egw_link::set_cache" 2009-09-29 09:58:05 +00:00
Jörg Lehrke
b1a9d0f546 Fix issue with adding new entries from device 2009-09-28 19:45:35 +00:00
Klaus Leithoff
2dc68b1c8d added the option allfirst for account display to show [username] firstname lastname, as the option all displayed [username] firstname lastname and not [username] lastname, firstnamne as advertised 2009-09-28 15:10:02 +00:00
Jörg Lehrke
217f0de233 Calendar special pseudo recurrence exception handling moved to SyncML code
- content type is now available in replace method
  - pseudo to real exception propagation does now work within a single session
2009-09-23 19:20:15 +00:00
Nathan Gray
a3df76902f Hide close button if user is forced to have the section on their homepage 2009-09-21 21:47:04 +00:00
Nathan Gray
9ec105b3ca Implement close button for homepage boxes. Still needs a little work to hide the close icon when the box is forced by admin. 2009-09-21 21:29:39 +00:00
Ralf Becker
cdd5ba5dc2 removed tests folder, as it is NOT used by EGroupware 2009-09-21 08:18:50 +00:00
Jörg Lehrke
6648c7c404 Fix Funambol configuration issue and missing spaces in log enrties 2009-09-20 19:45:03 +00:00
Ralf Becker
65a08ece84 "2. fixing the fix ;-)
only add optional user objectclasses for users NOT for groups"
2009-09-15 08:43:44 +00:00
Ralf Becker
868c89e606 "- making csv_spilt and escape_date methods public static (to use them in other classes)
- fixed not working calls to remove_dir_content"
2009-09-14 17:48:58 +00:00
Ralf Becker
a8c9eebf52 Fix to get iCal in OS X 10.6 working (again):
WebDAV RFC 4918 allows a full url or a path as <D:href>:
        http://www.webdav.org/specs/rfc4918.html#ELEMENT_href
Some clients can NOT deal with one or the other:
- KAddressbook (at least in 3.5) can NOT subscribe to addressbooks (it
  does not find them) if just a path is used
- iCal in OS X 10.6 generates wrong requests, if a full url is used
2009-09-14 08:44:37 +00:00
Klaus Leithoff
ae9c0bc918 improving decode_header for charset x-unknown and encoding Base64 2009-09-08 13:25:57 +00:00
Klaus Leithoff
7272217d14 some work in progress regarding the mailhandling in tracker, moving some stuff to translation class from bofelamimail to be commonly available 2009-09-04 13:40:10 +00:00
Ralf Becker
4e2f35d4dc added support for ms excel 2007 2009-09-01 14:41:48 +00:00
Klaus Leithoff
b41730ee15 always try to set the Sender information; use set Sender, then try using the Sender info possibly supplied with the SMTP Auth info, then use the Profiles identity eMailaddress, if available 2009-09-01 07:12:50 +00:00
Ralf Becker
a52fa4d5fc "fixed sometimes not loaded self:$db object in crontab calls" 2009-08-27 19:59:18 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Ralf Becker
af19f3663e "added stream_stat required to use file_get_contents" 2009-08-26 14:10:25 +00:00
Ralf Becker
bcfe710de2 Fixed typo happend --> happened, as reported by David Rankin 2009-08-25 08:31:37 +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
ceaf32919f "fixing the fix ;-)
adding the addressbook object classes only when adding new accounts"
2009-08-22 07:51:55 +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
74a41902b8 "quote all table or column names, to allow to use reserved words of dbms" 2009-08-19 10:20:01 +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