Commit Graph

3890 Commits

Author SHA1 Message Date
Nathan Gray
df0592f7c8 Fix broken check if calendar was for just a group, or owner was set as a string 2016-01-19 16:52:05 +00:00
Nathan Gray
a253a7b568 Avoid re-adding to the same cache ID we just removed it from, fixes unresponsive script after adding 2016-01-19 16:21:44 +00:00
Nathan Gray
2a91237c2a Fix some months not showing enough weeks 2016-01-19 15:37:15 +00:00
Nathan Gray
eacabe0cec Activate links in location & description 2016-01-19 00:48:21 +00:00
Nathan Gray
85eebd426d Fix fatal error when copying an event 2016-01-19 00:42:27 +00:00
Nathan Gray
a075d5a612 Remove some more margin to get rid of unwanted scrollbar in FF 2016-01-18 23:52:23 +00:00
Nathan Gray
c6a0169fd3 Remove round corners from tooltip too 2016-01-18 23:42:51 +00:00
Nathan Gray
2608b63d54 Fix planner by month could not start on some months 2016-01-18 23:26:19 +00:00
Nathan Gray
a79e017ea9 Better use supplied context when adding 2016-01-18 22:48:38 +00:00
Nathan Gray
0726de19fc Avoid failure if parent does not have owner set 2016-01-18 21:38:45 +00:00
Nathan Gray
e25442abce Fix clicks on daycol sub-divs were ignored 2016-01-18 20:55:30 +00:00
Nathan Gray
fd70bdd606 Never change automatically for just 1 row 2016-01-18 20:35:57 +00:00
Nathan Gray
a6b38f335e If timegrid is too small (< 180px) automatically switch to gridlist view 2016-01-18 20:32:33 +00:00
Nathan Gray
57b955de9e Change regular (grid view) event styling 2016-01-18 20:02:35 +00:00
Nathan Gray
f438940598 Fix alarms not updated when event is moved 2016-01-18 17:45:25 +00:00
Nathan Gray
a16c2b0648 Something wrong with r54749, revert until I can figure it out 2016-01-16 01:01:21 +00:00
Nathan Gray
2acad0e019 Looking for performance
- Don't update days if week is disabled
- Avoid some unneeded calls to et2_date
2016-01-16 00:38:44 +00:00
Nathan Gray
f813f55b25 Looking for performance
- Defer tooltip generation until mouseover
- Avoid some unneeded calls to et2_date & jQuery
2016-01-16 00:38:04 +00:00
Nathan Gray
5e5139ae2e - Simplify grid sizing calculations
- Fix non-consolidated day update
2016-01-15 22:43:59 +00:00
Nathan Gray
2c31029f66 Fix early ajax update losing not yet saved partially entered events 2016-01-15 21:11:19 +00:00
Nathan Gray
c146da8106 Fix planner view sizing issue where row headers overlapped row data when planner was not wide enough 2016-01-15 20:51:12 +00:00
Nathan Gray
1a5d137ede Hide partially visible events in gridlist view, and make sure there's some free space to click so user can add events 2016-01-15 20:22:55 +00:00
Nathan Gray
a4d89520e4 Fix broken validity check - failed when parent was a group 2016-01-15 16:58:59 +00:00
Hadi Nategh
af70d057f0 Add new holidays.CH till 2020 2016-01-15 15:05:41 +00:00
Nathan Gray
932fcbc78c Align planner view to weeks 2016-01-15 00:05:02 +00:00
Nathan Gray
e4a0808693 Keep list search keywords around through an app refresh 2016-01-14 23:23:22 +00:00
Nathan Gray
9dc2038652 Try some more speedups, using a timeout & avoid double value copy 2016-01-14 23:03:53 +00:00
Nathan Gray
62f15c3098 Avoid error if event node could not be found 2016-01-14 23:01:55 +00:00
Nathan Gray
ca015e4249 Sort users alphabetically for planner by user 2016-01-14 22:21:38 +00:00
Nathan Gray
74531bbae4 Fix gridlist event colors for Pixelegg theme 2016-01-14 22:01:23 +00:00
Nathan Gray
cc53069d40 Some missing bits for Stylite theme
- Missing new & day toolbar icons (thanks Ulle)
- Incorrect colors
2016-01-14 21:52:40 +00:00
Nathan Gray
931a354a66 Style changes for gridlist view 2016-01-14 21:24:01 +00:00
Nathan Gray
6b78eb9d36 More intelligent updating to avoid having to re-do a whole week when one event is added 2016-01-14 15:46:55 +00:00
Nathan Gray
36672c5626 Better support for storing a planner view as a favorite - detects months better 2016-01-13 22:58:20 +00:00
Nathan Gray
70686f0847 Some code cleanup 2016-01-13 22:07:09 +00:00
Nathan Gray
1e2b03abb0 Fix error blocking complete removal of multi-day events when deleted 2016-01-13 18:55:23 +00:00
Nathan Gray
6e614ee4b7 Fix wrong action ID 2016-01-13 18:36:44 +00:00
Nathan Gray
f9886b12bf Tweak borders for gridlist view for visual separation between weeks 2016-01-13 18:14:27 +00:00
Nathan Gray
cbfb3816a9 Fix updating while not visible gave wrong values 2016-01-13 16:30:41 +00:00
Nathan Gray
a05ec9ae55 Fix typo in previous commit 2016-01-13 00:27:10 +00:00
Nathan Gray
66138ad402 Better handling of time grid preference value possibilities 2016-01-13 00:24:19 +00:00
Nathan Gray
c4d56049ab Fix incorrect default for day consolidate 2016-01-13 00:23:37 +00:00
Nathan Gray
fccaedf231 Fix unable to drag & drop infologs 2016-01-13 00:07:55 +00:00
Nathan Gray
15dd34edcb Re-enable/implement preference for showing events as a per-day list 2016-01-12 23:55:59 +00:00
Hadi Nategh
9afd1976a9 * Calendar/ mail integration: Fix created event out of mail has no delete button available in participants list 2016-01-12 11:13:16 +00:00
Hadi Nategh
e729fc39a5 Some more styling for toolbar widget and toolbar in calendar 2016-01-12 10:22:40 +00:00
Nathan Gray
bad0262c4e Do not update infolog changes if calendar is not showing infolog entries 2016-01-11 20:43:52 +00:00
Nathan Gray
bdacc3573a Fix resize while hidden resulted in wrong sizing of time grid / events 2016-01-11 20:19:45 +00:00
Nathan Gray
11b4a13b3d Use resizable interface on daycols too, fixes events not getting re-sized on some changes (WeekN - week) 2016-01-11 19:46:01 +00:00
Hadi Nategh
87fca58c0b Better styling toolbar widget and toolbar in calendar 2016-01-11 19:38:03 +00:00
Hadi Nategh
435dd0075e Remove legacy styles of the weekend slideSwitch in calendar toolbar from pixelegg template 2016-01-11 09:35:42 +00:00
Hadi Nategh
7325f4e8c7 Style the weekend slideSwitch in calendar toolbar 2016-01-11 09:27:04 +00:00
Nathan Gray
f93ca28702 Fix overlap between todos and toolbar more button 2016-01-09 01:03:30 +00:00
Nathan Gray
22770805c4 Use toggle for weekend in toolbar 2016-01-09 00:54:27 +00:00
Nathan Gray
000376c69d Fix sorting users in non-consolidated day view 2016-01-08 22:38:11 +00:00
Nathan Gray
0431ebf38b Fix action conflict with sidebox 2016-01-06 22:42:52 +00:00
Nathan Gray
d1739fd873 - Fix day view user header
- Fix toolbar add button
2016-01-06 20:37:29 +00:00
Nathan Gray
556495e6cc Move sidebox buttons into a toolbar 2016-01-06 18:24:45 +00:00
Nathan Gray
4d0977f8f9 - Fix inconsistency in participant / owner between planner & weekview
- Change default participant default to selected users
2016-01-05 22:54:33 +00:00
Nathan Gray
4439abc2b1 Change child category indicator 2016-01-05 21:34:49 +00:00
Nathan Gray
7d1de17438 Refactor & more intelligence in grid views for speed improvements 2016-01-05 20:43:19 +00:00
Nathan Gray
34d896f8ee Fix timescale resizer 2015-12-29 22:36:20 +00:00
Nathan Gray
260c320ba9 Stop planner & nextmatch from fighting over events, some timing improvements 2015-12-29 22:12:30 +00:00
Nathan Gray
4792b69802 Increase default consolidation by 1 2015-12-29 16:28:29 +00:00
Nathan Gray
4b5bb644f7 Fix refresh while calendar tab is hidden caused events to be minimum height
Second attempt
2015-12-29 16:20:50 +00:00
Nathan Gray
ad689951a2 Mark categories with children in planner by category 2015-12-29 16:01:27 +00:00
Nathan Gray
f08cfee22c Fix context menu action 'Add' in grid views 2015-12-29 00:19:45 +00:00
Nathan Gray
d89e847acc Add a preference for participants for new events - just me, or selected
Applies when there is no obvious participant (clicking on a single user's calendar)
2015-12-29 00:11:29 +00:00
Nathan Gray
94b80f7790 - Planner view uses a date object internally
- Avoid ID conflicts between rows and events
2015-12-28 23:33:29 +00:00
Nathan Gray
d9f09e1333 Single day, multiple owner now shows in a single row
Also start of some refactoring to reduce the same code in multiple places
2015-12-28 22:21:47 +00:00
Nathan Gray
bcea893927 Todo icons:
- Use defaults for missing icons
- Prevent wrapping
2015-12-28 17:59:47 +00:00
Nathan Gray
6dfef23ae3 Match consolidation number to the phrasing in preferences 2015-12-28 16:55:51 +00:00
Nathan Gray
e4f6b60db9 Fix refresh while calendar tab is hidden caused events to be minimum height 2015-12-28 16:25:53 +00:00
Nathan Gray
f01c973324 Fix wrong width for week when going from day -> planner -> week 2015-12-23 21:09:02 +00:00
Nathan Gray
17b1a3387f Fix 4 day view not showing any days, changing to planner from day or 4 day view did not properly keep the date span 2015-12-23 20:50:33 +00:00
Nathan Gray
3f96725bdb Another attempt at reducing Firefox weirdness, which might be related to the order of template processing 2015-12-23 18:15:23 +00:00
Nathan Gray
bb380e2c59 Make sure sidebox template is loaded also 2015-12-23 00:42:39 +00:00
Nathan Gray
ffad978c81 Move consolidation limit from config to preference, and split it into two for day & week views 2015-12-22 23:34:53 +00:00
Nathan Gray
a13f9cd3c9 Load sub-categories immediately, or if they are not already cached they will be missing. 2015-12-22 21:35:08 +00:00
Nathan Gray
7a62f96866 Planner view
- When changing into planner view, keep the current time span
- Today button keeps displayed number of days
- Remove header arrows, planner now uses same navigation as others
2015-12-22 20:07:40 +00:00
Nathan Gray
18a7c47b95 Fix drag and dropped events in a different timezone get set to the wrong time 2015-12-22 00:26:56 +00:00
Nathan Gray
e1d60f6729 Favorites do not change the current date. 2015-12-21 23:03:42 +00:00
Nathan Gray
decf8efa34 Clicking week numbers changes date in any other view also (fixes it for multi-week view) 2015-12-21 18:16:32 +00:00
Nathan Gray
2ee00759bc Resolve some issues with week numbers between east & west of GMT 2015-12-21 18:14:33 +00:00
Nathan Gray
e5810f793a Avoid calendar change event and directly update state. Avoids double state change. 2015-12-18 17:18:05 +00:00
Nathan Gray
a6a104fba6 Planner view
- Fix wrong month end in month header
2015-12-17 23:52:49 +00:00
Nathan Gray
7e445d2d6b Planner view
- Make week header slightly less weird - Fix trailing partial weeks
2015-12-17 23:38:16 +00:00
Nathan Gray
f36fe66fe3 Planner view
- Make week header slightly less weird
2015-12-17 23:28:47 +00:00
Nathan Gray
db071039a4 Planner view
- Fix missing rows with planner by user, group selected
2015-12-17 23:13:26 +00:00
Nathan Gray
c3900b27a4 Planner view
- Fix extra sub-category events when hiding empty rows
2015-12-17 22:43:22 +00:00
Nathan Gray
cd9381c223 Planner view
- Make week header slightly less weird
- Fix missing sub-category events
2015-12-17 22:24:28 +00:00
Nathan Gray
a22f945e8c Shrink hidden event placeholder by 1px more 2015-12-17 20:12:10 +00:00
Nathan Gray
0e50aaee77 Remove no longer used preference for preselected group entering the planner 2015-12-17 00:02:38 +00:00
Nathan Gray
5843f28677 Make planner view headers slightly less weird, clicking on a month should view that month 2015-12-16 23:46:44 +00:00
Nathan Gray
fc48eab1e7 Correct header holidays east of GMT 2015-12-16 23:06:42 +00:00
Nathan Gray
7bbe8b0152 Planner view time indicator should be hidden until needed 2015-12-16 22:58:26 +00:00
Nathan Gray
db675f2fda Planner view categories
- Use standard order (hierarchy / alphabetical)
- Implement hidden rows preference
- If no specific categories are chosen, group into top-level categories
2015-12-16 22:54:00 +00:00
Nathan Gray
d67cbb39e7 Tie sidebox calendar to listview, so if you click month, or click a week or day, it changes the listview filter too 2015-12-16 20:41:54 +00:00
Nathan Gray
6236c7e1ca Add some exceptions to Month header button
- Planner & list view stay, they just update their date to that month
2015-12-16 19:54:22 +00:00
Nathan Gray
66321e8527 Shrink hidden event placeholder by 1px 2015-12-16 18:39:05 +00:00
Nathan Gray
4aed504622 Fix drag and drop series exception in a different timezone did not remove original event 2015-12-16 00:28:56 +00:00
Nathan Gray
67652ccaf1 Avoid js error on first calendar load when there are no preferences yet 2015-12-16 00:23:25 +00:00
Nathan Gray
2e5b034ca0 - Change default weekN to 2 weeks (& fix error)
- Remove no longer useful default view
2015-12-15 20:06:03 +00:00
Nathan Gray
f0bfbbd687 Limit chozen dropdown height so it stays in the tab 2015-12-15 18:58:52 +00:00
Nathan Gray
9a53499c77 Fix events oversized by the border height 2015-12-15 17:43:03 +00:00
Nathan Gray
4d5f8da0c9 Use background color if border color is white 2015-12-15 17:07:19 +00:00
Nathan Gray
c5eac7749c When the current view is nextmatch, pass sidebox merge through the listview nextmatch action so it gets proper processing of the selected rows and nextmatch filter. 2015-12-15 16:36:54 +00:00
Nathan Gray
0d10639848 Do not use white for out of view events, it is too hard to see 2015-12-15 00:06:00 +00:00
Nathan Gray
c7167979e4 Avoid displaying more than 100 days in planner by user or category views (switching from year view), as it results in a sub-optimal user experience 2015-12-14 23:47:57 +00:00
Nathan Gray
fdfad272aa Fix some extra next buttons in the planner header 2015-12-14 23:46:45 +00:00
Nathan Gray
d07ab5285f Keep hooked sidebox templates from other applications (resources) up to date as state changes 2015-12-14 22:08:12 +00:00
Nathan Gray
9252607705 A better way to make keywords only apply to list view, not the other views. 2015-12-14 20:46:25 +00:00
Nathan Gray
6a8b5bc629 Make keywords only apply to list view, and clear the box after setting it 2015-12-14 19:32:04 +00:00
Nathan Gray
3dfc697c7c Fix missing participant names in sidebox & listview 2015-12-14 18:38:53 +00:00
Nathan Gray
e580e7991c Avoid error if an edit popup is opened before the calendar tab 2015-12-12 00:13:38 +00:00
Nathan Gray
4503abf1bc - Fix view list hook to be able to view the list from any other application
- Participant is not always an integer
2015-12-12 00:07:40 +00:00
Nathan Gray
c2c2c6c672 Make sure date is not an object before passing it along, or it cannot be in the URL 2015-12-11 19:52:52 +00:00
Nathan Gray
33437acb96 Keep internal date span up to date if user is using list view and week or month filter.
Fixes some problems with strange date ranges when merging using the sidemenu selectbox
2015-12-11 19:38:52 +00:00
Nathan Gray
ac08939314 Use the right variable to avoid breaking the whole app 2015-12-10 22:55:28 +00:00
Nathan Gray
8a5e720851 Revert r54516, it can cause infinite loops 2015-12-10 00:40:04 +00:00
Nathan Gray
da2d6cc321 Keep client side state up to date with month & week filters 2015-12-10 00:06:08 +00:00
Nathan Gray
b4cfde8c35 Automatically make adjustments to merge range to try to match the selected template 2015-12-09 23:12:12 +00:00
Nathan Gray
e7fd0ff52a Fix some issues in drag and drop CSS with resizing on drop 2015-12-09 20:54:01 +00:00
Nathan Gray
0e834e372c Add ACL check to allow editing other users events via drag and drop 2015-12-09 17:36:46 +00:00
Nathan Gray
948b462e45 Set ID when passed 2015-12-09 16:23:40 +00:00
Nathan Gray
77d4a48a5b Fix missing resource name in initial load of owner list 2015-12-08 22:29:56 +00:00
Nathan Gray
d00eaa9834 Catch empty owner as array, which would also cause problems 2015-12-08 22:17:44 +00:00
Nathan Gray
cbf2497d58 Do not check for conflicts when changing status via ajax 2015-12-08 22:13:35 +00:00
Nathan Gray
786cfbb040 Listen to tab changes to avoid scroll to top in Firefox 2015-12-08 21:54:40 +00:00
Nathan Gray
dfa30deb56 Do not scroll time grid when you're dragging over the header. 2015-12-08 19:27:25 +00:00
Nathan Gray
bd8b9a930f Fix all day events were incorrectly prompting about series split 2015-12-08 17:19:15 +00:00
Nathan Gray
4ece177cf9 Fix exceptions on the day of series ending got copied to new series 2015-12-08 17:00:49 +00:00
Nathan Gray
9dd383c5a9 Add external owners that a select account widget will not find, so they are there on initial load 2015-12-08 00:57:45 +00:00
Nathan Gray
864a5f2673 Avoid some potential error conditions with missing state stuff 2015-12-08 00:22:50 +00:00
Nathan Gray
ecc189fd05 Fix some action issues
- Keep event widget ActionObject ID matching event ID
- Add ability to pass extra data to default recur_prompt callback
- Fix open context menu action did not prompt for series vs exception
2015-12-07 18:32:59 +00:00
Nathan Gray
d547416956 Fix missing 'add' refresh call 2015-12-07 16:11:44 +00:00
Nathan Gray
84da22b93d Do not ask about modifying series when creating an exception 2015-12-07 15:48:29 +00:00
Nathan Gray
7d20c6074d Fix typo breaking some merge combinations, make sure to always merge to end date 2015-12-04 20:58:37 +00:00
Nathan Gray
003b090103 Fix exceptions before split time were disconnected from original series 2015-12-04 19:52:53 +00:00
Nathan Gray
ecd1ad3628 Common method to show split series warning, used for edit popup & drag and drop. Now (tries) to indicate the date the split will occur. 2015-12-04 17:37:26 +00:00
Nathan Gray
7b527d699e Fix some more cases with recurring events & drag and drop (duration changes) 2015-12-03 22:56:52 +00:00
Nathan Gray
585c856307 Sidebox calendar changes
- Fix month button only worked once.  Again.
2015-12-03 20:51:55 +00:00
Nathan Gray
3ec70206cd Fix some load order bugs. Firefox finishes loading list view before the sidebox, causing some discrepancies in views 2015-12-03 20:44:52 +00:00
Klaus Leithoff
3f861274aa first shot at missing (recurring) appointments 2015-12-03 15:55:48 +00:00
Nathan Gray
ecb2003f4f Change calendar merging to be able to handle merging a range into a document with only pagerepeat 2015-12-02 17:34:06 +00:00
Nathan Gray
60539797af Let todo list in day view take full height 2015-12-02 16:17:04 +00:00
Nathan Gray
a71ab3b066 Sidebox calendar changes
- Fix month button only worked once.
2015-12-02 15:36:11 +00:00
Nathan Gray
7aabcd31a3 Sidebox calendar changes
- Missed variable rename from previous commit
2015-12-01 23:58:11 +00:00
Nathan Gray
619e675be5 Sidebox calendar changes
- Move Today button, add Month button
- Calendar header no longer immediately changes main view
2015-12-01 23:49:14 +00:00
Nathan Gray
efc7048c82 Fix holidays in sidebox calendar 2015-12-01 22:53:13 +00:00