Jörg Lehrke
6f780041fa
Fix VTIMEZONE handling
2009-10-09 18:20:13 +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
Jörg Lehrke
6312a087e3
Fix participants() deleted attendee issue, again
2009-10-07 04:23:42 +00:00
Jörg Lehrke
7f07102630
Fix participants() deleted attendee issue
2009-10-06 23:30:05 +00:00
Christian Binder
49de506d6f
also export servertime if event has no recur_enddate - it could be a weekly or monthly recurring event
2009-10-06 14:29:46 +00:00
Christian Binder
68dc2e4f47
also set date_format if servertime gets set - just for the case that it is used later
2009-10-06 13:20:41 +00:00
Christian Binder
14d4f08b36
added missing param date_format
2009-10-06 12:41:08 +00:00
Jörg Lehrke
1353ae511a
Adds TZID/VTIMEZONE support for server timezone entries
2009-10-05 21:00:08 +00:00
Ralf Becker
04d48a677a
Implemented display of custom fields in list-view
...
ToDo: implement search, sort and filtering by them
2009-10-03 07:32:05 +00:00
Ralf Becker
cc91687826
"fixed print without edit rights"
2009-10-01 19:21:37 +00:00
Ralf Becker
d77f7998af
"added missing check if recur-endtime is before start, thanks to Hans-Juergen"
2009-10-01 19:16:38 +00:00
Christian Binder
9621d17f28
make ical class ready to propagate a status only exception to a real exception. this is just successful if the user has ACL edit rights on the event - otherwise the propagation attempt gets ignored. additionaly added some logical fixes
2009-10-01 13:30:18 +00:00
Ralf Becker
c38acb88d5
New filter for calendar based on participant status:
...
- Not rejected
- Accepted
- Invitations
- Tentative
- Rejected
- Owner too: display also events you own, not only ones you participate
- All incl. rejected
- Hide private infos: as usual
--> filter is stored in the user prefs (survives logouts)
--> old "show events you rejected" preference got removed
Also added a hook allowing applications supplying resources to modify
calendar search with SQL.
2009-09-29 19:58:51 +00:00
Ralf Becker
f855b57683
"make storing of cf's aware of arrays
...
Thanks to Hans-Jürgen Tappe"
2009-09-27 07:59:01 +00:00
Jörg Lehrke
327bd79662
Improved find_event() for propper pseudo recurrence exception handling during Slow Syncs
2009-09-24 22:29:22 +00:00
Christian Binder
bbe301095e
fixed alarm handling: dont touch / ignore alarms being set for all users or alarms of other users since most clients do not know specific owners for alarms
2009-09-23 08:08:37 +00:00
Christian Binder
5602cac698
complete rework of the ical import part: removed unclear 1:N relations, introduced get_event_info method which completely classifies incoming events first, removed code duplicates, re-organized importVCal() to have a more linear code structure and to make debugging easier in future. -- please forgive me if i may have introduced some bugs with that but its a huge change --"
2009-09-22 13:43:55 +00:00
Ralf Becker
a8942ec499
updated holiday files submitted to egroupware.org
2009-09-21 08:11:46 +00:00
Ralf Becker
b0a29726f1
"- disabling accept_holiday.php by default, as it's only used on www.egroupware.org
...
- only allow 2-char locale's"
2009-09-21 07:56:45 +00:00
Ralf Becker
ff0f2dcbbe
run wrong values in error message through htmlspecialchars()
2009-09-21 06:51:05 +00:00
Oscar Manuel Gómez Senovilla
2386a28cc5
Update Czech translation for trunk. Tracker #1956
2009-09-09 22:12:43 +00:00
Christian Binder
b3f5fc282b
removed init of unused var minimum_uid_lenght in importVCal()
2009-08-26 12:14:41 +00:00
Jörg Lehrke
c902314499
Fixes user status update issue
2009-08-24 17:22:05 +00:00
Jörg Lehrke
babe8f056c
* Adapted to new database schema with reference/recurrence
...
* Group invitation handling
* Fixes for pseudo recurrences
2009-08-23 19:26:14 +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
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
Christian Binder
45dfa1ab0d
fix: new supported field "recurrence" was named "reference"
2009-08-17 10:34:22 +00:00
Christian Binder
77de24e563
manually insert or truncate the recurrences when changing enddate. recurrences rebuild (and stati reset) is now minimized to the following cases: move startdate/enddate, change recur_type, change recur_interval
2009-08-10 09:24:39 +00:00
Ralf Becker
da981bb02f
"fixed problem reported in bug #2202 and on the devel list: Database Error when modifying the time of a calendar event
...
wrong SQL (UPDATE with ORDER BY) was introduce in SyncML-1.2 patch, no idea what the idea behind was ..."
2009-08-09 07:51:27 +00:00
Ralf Becker
0a1a7f4637
some more role related fixes: updating participants, if quantity or role changes
2009-08-07 10:20:58 +00:00
Christian Binder
a41aceaaae
fixing wrong recurrence value: value should always be set to the effective date of the recurrence
2009-08-07 09:26:11 +00:00
Ralf Becker
bb5511cc9f
- methods to combine and split status, quantity and role
...
- $ignore_acl parameter for calendar_boupdate::delete()
- removed setting owner always as participant: owner is allowed to
remove himself as participant from an event
(owner only get's set, if there are no other participants in BO)
2009-08-06 11:29:05 +00:00
Klaus Leithoff
95e36754ce
handle offset and control the number of results retrieved regardingly (note: no offset means you get no so/bo->total)
2009-08-06 10:43:46 +00:00
Klaus Leithoff
57542f5f74
set offset to false if no num_rows is passed via argument, as 0 triggers the use of num rows, which defaults to the default max_rows
2009-08-05 11:47:29 +00:00
Klaus Leithoff
f5284a6324
allow to determine, if the listview is to use the start of the week for displaying events
2009-08-05 07:49:00 +00:00
Ralf Becker
7742b606f8
"- storing and setting ROLE
...
- storing and setting resource quantity as X-EGROUPWARE-QUANTITY"
2009-08-04 17:37:49 +00:00
Ralf Becker
c29ab01e8d
- added ability to store participant roles to calendar backend,
...
currently not settable via GUI, but GUI leaves them untouched
- showing quantity for resources in brackets behind resource name
- docu and formatting updates all over the place
2009-08-04 17:14:16 +00:00
Klaus Leithoff
e757e53819
remove listview from calendar_list title, as it offers no additional information. Use get_weekday_start in calendar_list as used in calendar_month; Use numEntries for calendar_month, as passing no number of entries to fetch, will result in applying the default number of entries, or the number of entries to fetch for the anonymous user
2009-08-04 14:26:11 +00:00
Klaus Leithoff
5283f3098f
fix from H.J.Tappe regarding the calculation of the enddate for the events to show
2009-08-04 10:23:48 +00:00
Klaus Leithoff
4a7c8737bb
calendar integration from H.J.Tappe Listview/Multiple Weekview, to show Calendar events in sitemanager sites. Simple Demo http://213.183.76.121/TrunkWebSeite/?category_id=45 ; Some documentation of abilities and howto available with egroupware.org Tracker Patches Sitemgr #1991 , 1993 and 1994
2009-08-03 09:51:35 +00:00
Jörg Lehrke
79b1279028
Fixes Export of Yearly Recurring Events and eGW Coding Standards
2009-07-30 20:52:13 +00:00
Ralf Becker
5aa62b71b9
"- first step of using new recurrence field
...
- fixed some wrong idention"
2009-07-28 08:58:39 +00:00
Ralf Becker
062f02987b
holiday files / modifications uploaded to egroupware.org
2009-07-28 05:48:11 +00:00
Ralf Becker
4cfc990ea1
Hongkong and Thai holidays, thanks to Louis Li <96477092(at)alumni.cityu.edu.hk>
2009-07-28 05:44:48 +00:00
Nigel Vickers
7d2308bedf
add switch based logging to default file /tmp/log-vcal or if set ['server']['temp_dir']./log-vcal
2009-07-24 14:18:57 +00:00
Ralf Becker
841aef5769
"fixed typo (in commented code) phpgwpai"
2009-07-24 10:34:20 +00:00
Ralf Becker
560f18bacd
- added new colums cal_creator, cal_created for easier deleting of
...
doublicates from failed sync
- added cal_recurrences timestamp for exceptions (ts of original
recurrence), for existing exceptions update script uses
the closest recur_exception date/time for it
- using uid of original series for new recurrence exceptions,
update script does NOT update the uid's of existing exceptions
- displaying (maybe temporary) these data in the recurrence tab
2009-07-23 16:14:22 +00:00