Commit Graph

73 Commits

Author SHA1 Message Date
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
b7919b1fe0 * Calendar: Create new events by dragging on empty space 2016-06-30 13:21:13 -06: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
ce329317d7 Separate years in planner view month headers, clicking on them changes to monthly view 2016-06-07 17:03:16 -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
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
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
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
Nathan Gray
86c86fab9f Avoid undefined labels breaking the sort 2016-05-02 15:17:20 +00:00
Ralf Becker
7cb470d904 fix wrong/old url to load categories, now /api/categories.php 2016-04-26 14:35:58 +00:00
Nathan Gray
8a93fa5068 Apply show_weekends to planner view 2016-04-19 20:27:09 +00:00
Nathan Gray
d02a1d31a6 Fix missing calendar owner labels when they weren't in the default options 2016-04-04 21:36:44 +00:00
Nathan Gray
521c28cfd5 Get planner sitemanager module working 2016-03-18 15:49:11 +00:00
Nathan Gray
09e3000cb6 Fix missing / unset planner by user label 2016-03-14 21:43:34 +00:00
Ralf Becker
3a9c0c237b fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs, also enabled "use strict" for calendar/js/app.js and fixed a reference error found by it 2016-03-01 16:27:45 +00:00
Nathan Gray
17f2882639 Get calendar home less broken
- Fix actions missing on home reload
- Fix full reload on home reload
- Fix calendar reload removed home events
2016-02-23 21:29:13 +00:00
Nathan Gray
138065be64 Handle cat_id == '0' as false, fixes missing None line 2016-02-04 16:25:20 +00:00
Nathan Gray
edf60ac0f8 Completely remove any planner_days and switch to using other views for calculation 2016-02-03 18:27:52 +00:00
Nathan Gray
f30cbdeb9e Some layout fixes
- fix hidden toolbar in Safari
- fix name label shown at wrong times when switching between views & single / multi user
- better handling of not set start / end times for planner to avoid loading everything
2016-01-26 22:17:51 +00:00
Nathan Gray
49fc2d9898 Changes to get calendar working on home tab again
- Do not default owner to 0, use the actual value
- Do not take space for toolbar unless it's there
2016-01-25 23:47:58 +00:00
Nathan Gray
c4923848ef Planner view:
- Add vertical lines
- Keep larger timescale header for zooming out
2016-01-21 23:07:29 +00:00
Nathan Gray
14041ccde4 - Fix broken drag to resize
- Fix single day was sometimes too wide
2016-01-19 18:03:42 +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
ca015e4249 Sort users alphabetically for planner by user 2016-01-14 22:21:38 +00:00
Nathan Gray
70686f0847 Some code cleanup 2016-01-13 22:07:09 +00:00
Nathan Gray
556495e6cc Move sidebox buttons into a toolbar 2016-01-06 18:24:45 +00:00
Nathan Gray
7d1de17438 Refactor & more intelligence in grid views for speed improvements 2016-01-05 20:43:19 +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
ad689951a2 Mark categories with children in planner by category 2015-12-29 16:01:27 +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
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
2ee00759bc Resolve some issues with week numbers between east & west of GMT 2015-12-21 18:14:33 +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
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
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
fdfad272aa Fix some extra next buttons in the planner header 2015-12-14 23:46:45 +00:00
Nathan Gray
871efde40d Yearly planner does not show infologs 2015-11-23 22:06:31 +00:00
Nathan Gray
955466d156 Fix some layout / formatting problems with 12h times 2015-11-17 20:19:47 +00:00
Nathan Gray
0df5d6f207 Fix planner events
- Createing event by clicking on row had wrong end date
- Display problems from previous commit
2015-11-17 17:59:23 +00:00
Nathan Gray
71bd17628d Fix users in groups were doubled in planner view, if you selected additional users already in a selected group 2015-11-16 17:15:43 +00:00
Nathan Gray
406c96defe Fix planner view got end date wrong when adding an event by clicking on a row. 2015-11-16 17:07:56 +00:00
Nathan Gray
6e924a3700 Fix infinite loop in monthly planner with multi-month events 2015-11-14 00:09:45 +00:00