Commit Graph

93 Commits

Author SHA1 Message Date
Ralf Becker
0f834be527 * Calendar: fix SQL error on storing events containing rfc822 email addresses with non-ascii characters eg. "Hugo Müller <hm@test.org>"
egw_cal_user.cal_user_id is now an md5 hash of lowercased raw email address (eg. "hm@test.org" in above example). Full attendee information is now stored in egw_cal_user.cal_user_attendee.
Will allow in a further step also to store attendee information for accounts to eg. answer with correct email to external organizers
2015-08-17 14:06:18 +00:00
Ralf Becker
a93474ef2b * Update API version to 14.3, NO new features, just database optimization targeting InnoDB engine in MySQL
changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars
2015-07-19 10:24:53 +00:00
Ralf Becker
0a09f08d72 fixed wrong date for Fronleichnam 2016 for existing instances via DB update script 2015-06-13 06:56:26 +00:00
Hadi Nategh
50782cfa8b * Mail: Implement mail integration with new structure and add new feature
- Add mail to calendar as calendar entry, including all mail attachments as links
- Add user choice for saving mail into an existing ticket or a new ticket
- Fix mail attachments integration into infolog, tracker or calendar entry
2015-05-05 08:03:13 +00:00
Ralf Becker
2532d0fb5c * Calendar: update to remove with 14.2.001 updated set end-date for yearly recuring events (other recurrence-types can not be changed) 2015-04-28 17:03:58 +00:00
Hadi Nategh
b7c6be226d WIP of mail integration
-Centralize mail functionality of mail message integration in mail module
-Some clean up of mail_import in infolog and tracker apps
-Use hook registery in order of an app uses mail integration services
-Implement mail import into calendar
2015-04-15 11:23:59 +00:00
Ralf Becker
b9f502c10c * Calendar: fix not shown last recurrence of limited recurring event in day-view (requires database update for existing events) 2015-03-09 18:56:42 +00:00
Ralf Becker
965e56e02e * Calendar: fix not shown last recurrence of limited recurring event in day-view (requires database update for existing events) 2015-03-09 18:56:17 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Ralf Becker
f0252c1b74 * Calendar/CalDAV/eSync: exceptions show up in calendars of participants only participating in exceptions not whole recuring event (requires a DB update for existing events!) 2014-10-28 16:01:55 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
f0e391220f * Calendar: adding default alarm for regular or whole-day events, preference is shared with CalDAV clients 2014-05-28 10:03:57 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Ralf Becker
410abc5fb7 * CalDAV/CardDAV/Calendar/InfoLog/Addressbook: changed database schema to allow for up to 200 char name-part in url to support eg. Bynari WebDAV Collaborator Outlook client 2013-05-13 09:35:51 +00:00
Ralf Becker
163702b752 * Calendar: create InfoLog from event
added a general infolog_set hook like existing timesheet_set hook, to allow implementing apps to push further data to infolog, modified existing tracker code to use the hook too
2013-05-10 10:54:36 +00:00
Ralf Becker
ec40a3e6bd * Calendar: create index on egw_cal.cal_reference to speed up etag generation of recuring events 2013-02-25 12:05:36 +00:00
Ralf Becker
7bf5b90739 * Calendar/CalDAV/eSync: tracking participant status changes now in modified date and user of calendar entry (main table), fixes sometimes not synced status changes and simplifies code a lot 2012-09-25 11:54:41 +00:00
Ralf Becker
cb824beff3 fix 1.9.007 update to work with PostgreSQL, deleting all broken events having range_start=0 (not a single recurrence or a broken one with cal_start=0), they are not displayed in regular calendar anyway, but might be synced to CalDAV or eSync clients 2012-09-20 12:10:15 +00:00
Ralf Becker
1eca8a8fa8 * Calendar/CalDAV/eSync: tremendious speed improvment for sync-queries on huge installations (few milisecs instead of more then 2 minutes) *** REQUIRES SCHEMA UPDATE *** 2012-09-18 08:02:56 +00:00
Ralf Becker
7eec30c57a * Calendar: Try alter description to varchar(16384), to not force temp. tables to disk on MySQL (because of text columns) 2012-08-12 09:49:54 +00:00
Ralf Becker
56a4bdfbbe * Calendar: fixed issue of deleted first recurrence shortens event and causes it not to be find in CalDAV or eSync ("event has exceptions before startdate"), REQUIRES SCHEMA UPDATE (visit setup)! 2012-08-11 10:01:02 +00:00
Ralf Becker
fc799e99a7 *Calendar/CalDAV: Add index for cal_modified and cal_user_modified to improve performance of ctag and etag generation on big installtions 2012-01-04 21:42:46 +00:00
Nathan Gray
2f4d8848c5 - Remove previously added hook & base class, turns out there's an established way to do it...
- Use existing link_app type hook to create calendar from infolog
2011-12-12 21:51:12 +00:00
Nathan Gray
332427277d Add ability to create calendar entries from infolog entries, using new base so other apps can be added (hopefully) easily later 2011-12-08 23:20:49 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Ralf Becker
486e99ec0c - Implemented a hook for timesheet_ui::edit to query calling apps for additional information to set in new tickets incl. links.
Replaces existing $_GET parameters, which are hard to set for new action system.
- also adding category color to infolog and tracker
2011-05-30 14:21:27 +00:00
Ralf Becker
0bfd238e3f * CalDAV: store name part of URL from client PUT request, to fully comply with CalDAV spec 2011-04-06 19:26:10 +00:00
Ralf Becker
8241be4091 storing deleted timestamp instead of a deleted flag, to allow to use calendar table instead of egw_api_content_history later on 2010-09-09 09:11:57 +00:00
Ralf Becker
50c43deec9 updating verson to 1.8 2010-09-05 15:24:34 +00:00
Nathan Gray
c4a8515d99 Add feature to regularly remove old calendar events that are more than x years in the past. Set in Admin -> Calendar -> Site configuration 2010-04-22 20:27:14 +00:00
Nathan Gray
074b893e37 Change preserving deleted events. For speed improvements, use an extra column instead of joining to the sync tables 2010-04-22 16:09:36 +00:00
Ralf Becker
a1332b56cc two more indexes to speed up sync 2010-04-14 12:19:02 +00:00
Ralf Becker
50ae17055f Create an index over egw_cal_user.cal_user_type and cal_user_id, to speed up calendar queries 2010-03-04 15:39:52 +00:00
Christian Binder
ad47ebfafc adjust calendar db to have correct UIDs and RECURRENCE-IDs. PLEASE READ THE NOTES in the forum before you update (Subject: IMPORTANT NOTE FOR ALL SYNCML USERS) 2010-02-03 18:17:39 +00:00
Christian Binder
2e71e7e80f database updates: fix whole day event cal_end times and fix wrong recur_interval values. The first fix reduces duplicates on SyncML slowsyncs. The second fix prevents event series from being destroyed when a new exception was created on series created on previous EGw versions. Please update your databases. 2010-01-14 17:12:11 +00:00
Ralf Becker
4865854281 Added aliases for Windows timezone to standard TZID's 2009-11-10 19:37:27 +00:00
Ralf Becker
4e9120ecf0 New tz_id column in egw_cal storing id into egw_cal_timezones
Please note: timestamps in egw_cal* tables are in server-time,
tz_id / timezone is only used to (re-)calculate recurrences and to
export in iCals (NOT yet implemented)
2009-11-04 15:00:08 +00:00
Ralf Becker
867636861e Added calendar table for timezones:
- timezone data is imported from SQLite DB from Thunderbird Lighting 1.0pre
- contains iCal VTIMEZONE component
- also contains not yet used latitude and longitude for timezone
- methods to convert between TZID string, nummeric tz_id and VTIMEZONE
  iCal component
--> preparation to store timezone information for each events
    (using tz_id as foreing key into egw_cal_timezones table)
2009-10-31 14:47:16 +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
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
Ralf Becker
2e4577ae83 skipping unnecessary redirect by directly displaying index-method link in navbar 2009-03-30 08:48:59 +00:00
Ralf Becker
ef700b0061 new class naming schema 2008-06-07 17:45:33 +00:00
Ralf Becker
cb9212e691 Calendar can now store participants which are no accounts or contacts.
- as required by iCal/CalDAV/GroupDAV/SyncML
- this also fixes problems with LDAP contacts, which have non-numeric
  ids
- iCal code now converts to and from all participant types supported by
  eGroupWare: some types (eg. ressources) require that the clients keeps
  the new X-EGROUPWARE-UID attribute
- calendar UI allows to enter email addresses via the addressbook search
  box (dont type search, but direct add)
2008-05-08 15:02:35 +00:00
Ralf Becker
5d50d41004 - modified etag/optimistic locking, to always increment the etag, was before only via the GUI
- replaced own "locks" via egw_cal.cal_edit_user/time with the new egw_vfs::lock() methods
2008-05-07 22:12:25 +00:00
Klaus Leithoff
573f7f2470 Feature to control the concurrent opening of calendar events.
If an entry which is opened by another user, gets saved by another user before the former commits its changes, the former user is notified at the
time saving the event and asked to reload the event and reedit. A link to reedit is provided.
Additionally there is a feature to inform a user that a given entry is opened by another user within a configurable timespan.
This feature was developed by Stefan Becker
2008-01-15 08:21:25 +00:00
Ralf Becker
14fc433fcf updated application versions 1.4 and dependencies accordingly (API is still 1.3.xxx 'til the first RC) 2007-04-30 09:10:36 +00:00
Ralf Becker
a92c5ea81a new egw_cal.cal_special integer column, to flag calendar entries as eg. birthdays/aniversaries (1). Plans are to use this to store the holidays and and linked entries of timed infolog (eg. phonecalls) too. 2006-08-21 08:15:14 +00:00
Ralf Becker
45b93c09ce check_install reads now further checks from the setup.inc.php file of the apps 2006-06-20 23:02:03 +00:00
Ralf Becker
e644513233 fix to get old alarms (saved before 1.2) working again 2006-04-30 12:52:14 +00:00