Commit Graph

4247 Commits

Author SHA1 Message Date
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
nathangray
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -06:00
Hadi Nategh
c0e480f465 Implement no_notification switch, used in infolog,tracker and calendar edit dialogs for mobile template 2016-07-06 17:00:31 +02:00
Ralf Becker
5374b39680 1) skip all past events and recurrences in conflict check and fix off-by-one error in recurrence limit
2) restructure config a bit:
- rename Birthday section to Addressbook
- rename Scheduling conflict section to Recurrences and conflict check
- add: Please note: conflict check is never done in the past and always limited by above recurrence horizont.
2016-07-06 16:44:06 +02:00
Ralf Becker
cae960965e add Github url of Mozilla holiday calendar data 2016-07-06 14:43:59 +02:00
Ralf Becker
b4017cb8c4 * Calendar: check recurrences for conflicts too (until configured search-time is exceeded, default 3s) 2016-07-06 12:46:00 +02:00
nathangray
3de70526d0 Fix some bugs in drag to create event
- Firefox needed drag helper explicitly removed
- bug in move exceptions caused SQL error
2016-07-05 13:14:10 -06:00
nathangray
24dcb5e2cf Fix Scrutinizer "bug" 2016-07-05 09:04:39 -06:00
nathangray
bfb599666e When an infolog changes, only refresh calendar when it's the active app, otherwise wait until it is activated. Fixes event positioning problems caused by refreshing while hidden without needing to recalculate everything while hidden. 2016-07-04 15:20:22 -06:00
nathangray
0a129c0214 Fix some bugs in drag to create event
- Firefox tried to do drag to create & drag to resize when resizing an event
- Speed improvement for mouseover
2016-07-04 10:26:38 -06:00
nathangray
4d3cf6c58e Make sure single day does not get partially covered by todos 2016-07-04 09:17:34 -06:00
nathangray
0aaca03d89 Fix some bugs in drag to create event
- Firefox opened 2 popups, one for span and one for end time
- Dragging existing events longer or shorter created a new event also
- Did not work in dayview
- Categories from category planner were not set
2016-07-01 11:57:06 -06:00
nathangray
ca7779c825 Fix documentation 2016-06-30 15:47:32 -06:00
nathangray
b7919b1fe0 * Calendar: Create new events by dragging on empty space 2016-06-30 13:21:13 -06:00
nathangray
d60596cb43 Add tooltip explaining do not notify flag 2016-06-28 09:17:05 -06:00
nathangray
1325740df1 Add tooltip explaining private flag in calendar edit dialog 2016-06-28 08:58:19 -06:00
Ralf Becker
0a2b637f00 fix not possible to invite groups you are not a member of 2016-06-27 11:39:25 +02:00
Ralf Becker
381b9fa1a4 fix calendar-planer SiteMgr block to working with Mambo templates like (javascript free) simple_plain 2016-06-25 12:28:52 +02:00
Ralf Becker
1a27a7b840 z-push (2.3 at least) requires a timezone for recurring events 2016-06-25 10:55:28 +02:00
nathangray
814955bf4d Fix empty calendars did not turn off loader div 2016-06-24 16:29:40 -06:00
nathangray
0962d7fb27 Better/more hiding of calendar redrawing when changing views 2016-06-24 15:31:39 -06:00
nathangray
184a68bb73 Fix 'Whole day' was not translated in calendar event tooltips 2016-06-24 11:19:03 -06:00
nathangray
6897cffdc7 Append calendar owner ID to cache ID without regard for current state. Fixes some problems where entries would go missing or show in the wrong date when you changed the selected owner. 2016-06-24 10:44:33 -06:00
Ralf Becker
67ffe04524 * eSync/Calendar: reading events in chunks of 100, to keep memory down for huge calendars 2016-06-24 11:15:56 +02:00
Ralf Becker
50b33f279c Italian translations from Ilias Chasapakis, Webtrain 2016-06-23 18:35:20 +02:00
Hadi Nategh
5551832c4d Revert commit d95a6f82ab as it breaks calendar loading 2016-06-23 17:38:32 +02:00
Hadi Nategh
1fab6876c4 Fix calendar participant does not show user accounts 2016-06-23 17:21:45 +02:00
nathangray
d95a6f82ab Better/more hiding of calendar redrawing when changing views 2016-06-22 09:57:14 -06:00
nathangray
a557ce5ceb Fix deleting a single event of a series deleted correctly, but caused the whole series to disappear from view. 2016-06-21 11:42:44 -06:00
nathangray
fc53782f60 Remove participant restriction on new events to just users or groups, now we add any contacts or resources selected as well 2016-06-21 11:17:06 -06:00
Ralf Becker
eae2b52f79 real Exceptions not always shown, because using SyncAppointment instead of SyncAppointmentException did not render required ExceptionStartTime
Thanks to Sebastian from Z-Push
2016-06-20 22:11:35 +02:00
Ralf Becker
c08853a711 German an Czech translations from Stefan Unvericht 2016-06-20 17:45:14 +02:00
nathangray
4625915f11 Fix missing toolbar tooltip translations 2016-06-20 08:05:27 -06:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00
Ralf Becker
c07b3b26e4 remove old (from Andreas z-push fork) and no longer used md5body attribute 2016-06-17 08:42:49 +02:00
nathangray
8cb1bb19b1 Check event filters when updating status or category through edit dialog to remove the event if it no longer matches. 2016-06-16 11:08:31 -06:00
Ralf Becker
e600eede2a fix iOS calendar crashed if event-organizer had no email address 2016-06-16 18:14:28 +02:00
nathangray
27ef0c20a9 Supress tooltip on holidays shown as events 2016-06-15 09:17:50 -06:00
nathangray
358df21fd2 Fix resource (contact, resource, etc.) label sometimes not found 2016-06-15 08:51:07 -06:00
Ralf Becker
7bb87c2615 stop jQuery from setting $ as early as possible and added more checks for calendar running in frameworked template 2016-06-14 21:17:46 +02:00
nathangray
700ef496d7 For new events with title pre-set, highlight the title for easy editing 2016-06-14 11:24:14 -06:00
nathangray
f9a490aea5 Fix touch swipe destruction sometimes blocked reload of calendar 2016-06-14 09:27:34 -06:00
nathangray
b8f8d59793 Show holidays & birthdays as events on mobile 2016-06-13 19:08:56 -06:00
Ralf Becker
218831f76d do not load categories in iframe for calendar, thought unloading them via clicking on app-header still failes 2016-06-13 18:04:11 +02:00
nathangray
78a1768bc4 Fix yearly planner
- months were 1 day too short when computer timezone was east of GMT
- slight mismatch between positions between months
- hover time was off by just a bit
2016-06-09 19:13:35 +02:00
nathangray
1ce17f4656 Better handle reloads from framework to avoid double toolbar and bad display 2016-06-08 16:02:54 -06:00
nathangray
0d77d8e62a Better handling for drag & drop of multi-day events between blocking & non-blocking areas 2016-06-08 10:16:17 -06:00
nathangray
fa7cbf6fcd Fix yearly planner had different day widths for longer or shorter months 2016-06-08 09:03:52 -06:00
Ralf Becker
ce684b0ee7 revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 13:01:09 +02:00
Ralf Becker
3f9fd761bb revert last commit to fix PHP Fatal error: Declaration of calendar_zpush::ChangeMessage($folderid, $_id, SyncAppointment $message, $contentParameters) must be compatible with activesync_plugin_write::ChangeMessage($folderid, $id, $message, $contentParameters) 2016-06-08 12:53:05 +02:00
Ralf Becker
277c21ed9e add SyncAppointment object to function signature 2016-06-08 11:57:12 +02:00
nathangray
ce329317d7 Separate years in planner view month headers, clicking on them changes to monthly view 2016-06-07 17:03:16 -06:00
nathangray
4f4c2e5b71 Planner monthly view month labels zoom into that month in planner by user 2016-06-07 16:45:02 -06:00
nathangray
147f9688e4 Make sidebox calendar 'goto' stay in planner view 2016-06-07 16:44:25 -06:00
nathangray
b3e8a5e38c Fix drag and drop 'Move to' with all day non-blocking events in day view did not remove original user 2016-06-07 16:14:11 -06:00
Ralf Becker
a5b57b3047 fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback 2016-06-06 13:53:54 +02:00
Ralf Becker
bc9f3701c2 fix update from 14.2.002 failing, because there's no more egw_cal_holidays definition in 16.1 2016-06-03 17:35:58 +02:00
Ralf Becker
108a654c1f git a little more space between go (checkmark) and calendar navigation <o> 2016-06-03 10:41:03 +02:00
nathangray
974c6105e1 Fix day view drag and drop invite / move action for drop on own all day non-blocking section 2016-06-02 10:01:12 -06:00
Hadi Nategh
d040534a1f Deprecate $j global variable used in php files and replace them all with standard jQuery 2016-06-02 17:43:23 +02:00
nathangray
033ba0159f Fix calendar list view custom date filter always switched to another filter & hid the dates 2016-06-02 09:25:01 -06:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
nathangray
660888c716 Drag and drop move or invite in day view 2016-06-01 13:47:18 -06:00
nathangray
6d10b8d231 Drag and drop to another user's calendar
- Add exception prompt
- Change to -> Move to
2016-06-01 09:30:42 -06:00
Ralf Becker
8e540fe144 fix deprecated warnings because of constructor named as class, and dont give a PHP Fatal if old phpgwapi is missing 2016-05-30 20:38:14 +02:00
Ralf Becker
ab4cd83b41 remove no longer used boholiday class, seems to been left over from new holiday loading via iCal 2016-05-30 20:32:53 +02:00
nathangray
fba129a80b Fix drag and drop event to all day area no longer works 2016-05-30 09:34:28 -06:00
nathangray
80a7a121ed - Fix clicking on month labels in planner monthly view opens add dialog
- Keep AJAX loading spinner up until done
2016-05-30 09:34:28 -06:00
nathangray
43f65b81e5 Make yearly view row headers open in month view instead of adjusting year view start date 2016-05-30 09:34:28 -06:00
Hadi Nategh
178d86adfa Fix year and month dropdown menus in calendar sidebox are half shown in FF 2016-05-30 10:45:17 +02:00
nathangray
db98dd457e Fix month names are not fully visible - they were covered by end of month filler 2016-05-26 15:39:53 -06:00
nathangray
f7592ae0b0 Fix month names are not fully visible - they were covered by end of month filler 2016-05-25 15:30:30 -06:00
nathangray
f3ec3a205c Do not reposition events while hidden 2016-05-25 15:21:39 -06:00
nathangray
bd6c45c845 Get nextmatch column widths sorted out so column selector is visible, and columns line up with headers. 2016-05-25 11:54:46 -06:00
nathangray
d772e459dd Remove extra commas 2016-05-25 10:20:10 -06:00
nathangray
362366ed28 Fix addressbook - calendar permission issue blocking viewing contact calendar 2016-05-24 17:13:40 -06:00
nathangray
1756179bb3 Restore export function, turns out it is used by context menu -> export 2016-05-24 16:44:14 -06:00
nathangray
0357d2bf84 Do not refresh on tab change if autorefresh is off 2016-05-24 15:28:22 -06:00
nathangray
61a9a28c4d Fix css include 2016-05-24 15:08:48 -06:00
nathangray
deedf7a808 Handle changing status via ajax for a user in a group invitation 2016-05-24 14:51:16 -06:00
Hadi Nategh
b14b3dcddc Update css files with running new LESS version 2016-05-19 13:44:07 +02:00
nathangray
5be77f5ef2 Support customfields at the beginning of content 2016-05-18 15:41:20 -06:00
nathangray
8789d8d944 Fix incorrect client update when changing status on a recurring event exception 2016-05-18 11:30:50 -06:00
nathangray
984a7f6f72 Avoid exception if use_time_grid preference is not set 2016-05-18 11:30:02 -06:00
Hadi Nategh
75d51c02f2 Fix calendar date picker in sidebox stops resizing after switching between tabs 2016-05-18 15:08:05 +02:00
Hadi Nategh
e4ab391e04 Fix sometimes points for menu items in admin sidebox not showing up 2016-05-17 12:43:20 +02:00
nathangray
1a16869651 Add missing conversion to human values 2016-05-16 17:26:15 -06:00
nathangray
f1b4367181 Fix original event stays when a series exception is created 2016-05-16 15:56:08 -06:00
nathangray
2976d910db Some bugfixes for planner view in sitemgr:
- Add check on sel_options arrayMgr for missing owner names, since sidebox is not there
- Pre-fill sel_options for above, so they can be found
- Fix clicking on an event could alter the calendar state
2016-05-16 14:32:03 -06:00
nathangray
877d00b2ee Avoid some action errors in planner view - invite is not implemented there 2016-05-16 13:53:35 -06:00
nathangray
ffccce1c8a Send holiday cache data for current year on initial load, so it's available for sidebox menu. 2016-05-16 11:21:03 -06:00
nathangray
62b7beec71 Fix client-side event filtering for owner-too filter and group expansion 2016-05-16 10:55:02 -06:00
nathangray
7e0b2543d0 Fix fatal error, get_account_name() does not exist 2016-05-16 10:13:22 -06:00
Ralf Becker
8a24f3e449 fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer) 2016-05-14 21:26:36 +02:00
Hadi Nategh
2c43d7d24b Make repeat days available for Month-by day repeat type in calendar edit 2016-05-13 13:20:38 +02:00
Nathan Gray
c6e6da63ef Allow drag and drop between calendars, asking to invite or transfer 2016-05-11 17:29:58 +00:00
Hadi Nategh
1faa2495de Fix wrong navbar icon used as navbar.svg in calendar 2016-05-11 14:36:10 +00:00
Hadi Nategh
b5e95c8f20 Apply correct icons for planner by category action in calendar 2016-05-11 07:36:53 +00:00
Nathan Gray
74b330ad3f Calendar autorefresh for all views 2016-05-10 19:41:28 +00:00
Nathan Gray
e7763189b1 Some more print improvements:
- Fix day & week height in FF
- Fix todos not hidden
2016-05-10 16:03:26 +00:00
Nathan Gray
de89542712 Do not resize todos or day view if not visible. Hidden elements break the sizing without special handling. 2016-05-09 20:48:50 +00:00
Nathan Gray
d321f78eb1 Directly set default resource selection preference 2016-05-09 20:18:10 +00:00
Ralf Becker
19501960e1 fix wrong case in "AsyncService" to "Asyncservice" 2016-05-09 09:15:48 +00:00
Hadi Nategh
c558d1667d Optimize window size of registered popups in appregistry 2016-05-06 15:12:27 +00:00
Klaus Leithoff
7ab832fe9f set a default in paramslist for shift_alarm parm 3 (timestamp) to avoid php-warning and comply to the function description 2016-05-06 13:54:08 +00:00
Ralf Becker
20331879b1 change max size for calendar customfields to 16k, as we use it for addressbook and infolog too (was only 255) 2016-05-06 12:40:10 +00:00
Hadi Nategh
2339ca4598 Some more styles for participants tab in calendar edit dialog 2016-05-06 09:32:17 +00:00
Hadi Nategh
94a0d83042 Add tooltip for add participants button in calendar edit 2016-05-06 08:19:52 +00:00
Hadi Nategh
9ab22630e9 Add an icon for planner-by-category action in calendar 2016-05-06 07:53:07 +00:00
Nathan Gray
9859cfa679 Fix fatal error caused by moved Categories 2016-05-05 16:56:25 +00:00
Ralf Becker
67f113be49 fix PHP Fatal because for removed datetime from calendar_ui 2016-05-05 11:38:28 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
f9b551236c Updated timezones to 2016c from Mozilla 2016-05-04 19:13:47 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Ralf Becker
3c5207cd7b no need for holidays.*.csv anymore 2016-05-04 17:56:00 +00:00
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Nathan Gray
647dae4167 Make today button always bring sidebox calendar back to today, regardless of current selected date 2016-05-04 17:11:11 +00:00
Nathan Gray
b408d9fa1d Stop day view resize while hidden - it gets the size wrong.
Another attempt, preventing events from resizing incorrectly
2016-05-04 16:45:42 +00:00
Nathan Gray
4c167a2d80 Revert r55868, hide participants for private events 2016-05-04 15:09:37 +00:00
Nathan Gray
dafe7d484d Remove 30 minute lines 2016-05-03 21:58:58 +00:00
Nathan Gray
106652b2d2 Stop day view resize while hidden - it gets the size wrong. 2016-05-03 21:10:20 +00:00
Nathan Gray
e4aa767911 Fix calendar resource search 2016-05-03 21:03:51 +00:00
Ralf Becker
e5d6f6a909 fix calendar preferences to show start- and end-time of day 2016-05-03 13:24:21 +00:00
Nathan Gray
c8c11a00de Stop event widget from altering cache data. Fixes list view showing offset times. 2016-05-02 20:24:04 +00:00
Ralf Becker
bc4362c22e remove old phpgwapi datetime class from calendar, as it is no longer in api 2016-05-02 20:22:47 +00:00
Ralf Becker
c15a722f3a do not instanciate eT2 Widget in setup (no need, and gives autoloading conflict), also calling static calendar_bo method static 2016-05-02 20:21:59 +00:00
Nathan Gray
5d14807720 Planner sitemgr module
- Check ACL and only offer users or resources anonymous user has access (read or free/busy) to
- Stop some errors from missing framework breaking the timegrid
- Fallback to be able to get resource labels in all cases
2016-05-02 19:22:52 +00:00
Ralf Becker
5db786a7ae fixed (hopefully correct) some undefined variables and other IDE warnings 2016-05-02 15:39:41 +00:00
Nathan Gray
cbb2d73b98 Make some old code that returns HTML unused, then remove it 2016-05-02 15:26:56 +00:00
Nathan Gray
86c86fab9f Avoid undefined labels breaking the sort 2016-05-02 15:17:20 +00:00
Ralf Becker
a0e3340d1c revert last (unnecessary) commit 2016-05-01 17:54:13 +00:00
Ralf Becker
dcc003cedf move calendar to new api 2016-05-01 17:47:59 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Nathan Gray
40fbf3e2c9 Update for resource selection to re-enable conflict detection
- Remove account & contact options from default resource selection preference
- Edit dialog participant now passes selected start & duration, so conflict detection works again
2016-04-29 18:01:17 +00:00
Hadi Nategh
1bf2ab4016 Implement enable/disable quantity base on participant's value type 2016-04-29 08:40:55 +00:00
Hadi Nategh
bd59406191 Make sure windows.opener has egw object, fixes not able to open calendar entry 2016-04-29 08:37:33 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
b74b3d84f4 etemplate2.css is now in api 2016-04-28 18:23:44 +00:00
Ralf Becker
38412a1149 use new api in home and portlets 2016-04-28 18:06:46 +00:00
Nathan Gray
67faad146f Fix extra empty participant in new event for another user from planner by user view 2016-04-27 23:06:51 +00:00
Nathan Gray
aee540d7bb Stop extra nextmatch refresh when refreshing calendar app 2016-04-27 22:50:56 +00:00
Nathan Gray
40bdd2771d Fix all day non-blocking overflow calculation causing false positives 2016-04-27 22:23:06 +00:00
Nathan Gray
91b8995938 Implement ical context menu action on single events in non-list views 2016-04-27 19:28:31 +00:00
Nathan Gray
ebc14c847c Avoid empty popup & cryptic error from drag and drop series in the past with future conflict 2016-04-27 18:53:15 +00:00
Ralf Becker
7c2b2d4950 * CalDAV: fix exceptions (EXDATE) was exported with timezone and Zulu-time, causing eM Clinet to fail
current Horde_Icalendar only exports EXDATE in Zulu-time, so we can only remove timezone. Apple calendar on OS X 10.11.4 uses a timezone, so does Horde eg. for Recurrence-ID
2016-04-27 16:27:04 +00:00
Ralf Becker
df83dcf933 fix wrong replacement 2016-04-27 16:23:30 +00:00
Hadi Nategh
9188e9a0f4 Fix add participants does not work with multiple items in calendar edit 2016-04-27 10:36:59 +00:00
Hadi Nategh
eded80d13b Fix toolbar actions are not getting fit in small screen devices 2016-04-27 08:56:59 +00:00
Ralf Becker
3e92578753 fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class 2016-04-27 07:10:04 +00:00