Commit Graph

464 Commits

Author SHA1 Message Date
Hadi Nategh
15b3e56764 WIP calendar report:
- Implement csv report + download csv file
2016-11-08 15:03:33 +01:00
Hadi Nategh
2e1e3d8727 WIP calendar report 2016-11-07 20:24:31 +01:00
Hadi Nategh
521de3a23f Fix broken enable/disable function in holiday_report 2016-11-03 11:55:36 +01:00
Hadi Nategh
035c544529 W.I.P of Calendar holiday report:
- Handle holiday_report preference on server-side
2016-11-02 18:38:31 +01:00
Hadi Nategh
6a035feb6f W.I.P of holiday report for calendar app 2016-10-31 17:33:01 +01:00
nathangray
606f8ec667 Update currently selected Add alarm time when start time changes 2016-09-12 10:58:15 -06:00
Hadi Nategh
eac56687ce Apply another patch to 12fbe113cf 2016-09-08 14:03:05 +02:00
Hadi Nategh
12fbe113cf Fix calendar favorites gets failed when encounters cat_ids in string format 2016-09-08 12:23:41 +02:00
nathangray
93c76dd878 No longer need to update nm owner filterheader, since we changed it to a plain header 2016-09-07 10:03:34 -06:00
nathangray
78593797c9 Fix day header coloring from other months was kept when the week was reused 2016-09-01 10:36:43 -06:00
nathangray
961a2a01da Calendar context menu to add an event now works the same as a simple click; the event is only for that user 2016-08-18 15:33:24 -06:00
nathangray
10b954a9d1 If calendar listview search is cleared, make sure it doesn't come back 2016-08-03 10:54:02 -06:00
nathangray
dc3dd6819d - Fix listview filter changes confusingly when searching
- Fix listview does not update for new events
2016-08-02 09:30:36 -06:00
nathangray
6a5003fee7 Make sure listview header gets a date 2016-07-26 09:52:03 -06:00
nathangray
76c537b63a Limit event edit dialog's recurrence end date to after the event start date 2016-07-25 16:14:13 -06:00
nathangray
945fce3e9b Fix typo causing blanking in some cases when refreshing because of infolog changes 2016-07-15 08:24:57 -06:00
nathangray
1a0ff85355 Make sure we don't hit undefined last_format 2016-07-15 08:08:32 -06:00
nathangray
5fa3d455a5 Fix long date display got the wrong month for some combinations of date format and timezone offset direction. 2016-07-14 11:30:04 -06:00
nathangray
76307c4bbf Allow contact lists as event participants 2016-07-06 13:19:54 -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
4d3cf6c58e Make sure single day does not get partially covered by todos 2016-07-04 09:17:34 -06:00
nathangray
b7919b1fe0 * Calendar: Create new events by dragging on empty space 2016-06-30 13:21:13 -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
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
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
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
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
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
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
1ce17f4656 Better handle reloads from framework to avoid double toolbar and bad display 2016-06-08 16:02:54 -06:00
Ralf Becker
108a654c1f git a little more space between go (checkmark) and calendar navigation <o> 2016-06-03 10:41:03 +02: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
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
0357d2bf84 Do not refresh on tab change if autorefresh is off 2016-05-24 15:28:22 -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
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
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
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
74b330ad3f Calendar autorefresh for all views 2016-05-10 19:41:28 +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
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
106652b2d2 Stop day view resize while hidden - it gets the size wrong. 2016-05-03 21:10:20 +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
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
Nathan Gray
aee540d7bb Stop extra nextmatch refresh when refreshing calendar app 2016-04-27 22:50:56 +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
Hadi Nategh
9188e9a0f4 Fix add participants does not work with multiple items in calendar edit 2016-04-27 10:36:59 +00:00
Nathan Gray
4ef7afca9e Hide granularity change so you don't have to see it 2016-04-25 22:09:57 +00:00
Nathan Gray
5740c448ad When calendar list view is switched to custom date range, set range to current state 2016-04-25 15:56:23 +00:00
Nathan Gray
5d5e45e1ad Some more performance improvements when scrolling through weeks:
- Fix typo causing unneeded time resize before redraw
- Change daycol resize & event sizing, eliminating the need to resize all events when daycol changes size
- Fix check for existing week by only checking day, not whole time
- Better handling of scrolling through weeks for faster update
2016-04-21 19:00:21 +00:00
Nathan Gray
80e935fb0b Some adjusting of calendar list sort order:
- All filters except Before default to sorting earlier events first  (start date asc)
- For all day events for the same date, non-blocking before blocking
2016-04-20 16:52:52 +00:00
Hadi Nategh
a77b41c651 Do not render calendar TODO list if it's on mobile devices 2016-04-18 14:05:24 +00:00
Hadi Nategh
0ba271d581 Enable/Disable add participants based on participant value in calendar edit 2016-04-18 13:56:47 +00:00
Nathan Gray
ef6f689121 - Fix loading overlay on home was not removed
- Fix missing initial data on home
2016-04-06 22:23:43 +00:00
Nathan Gray
8df7c00b21 Do not show loading prompt for popups 2016-04-06 15:19:24 +00:00
Nathan Gray
e7371b0d66 Keep loading prompt up until there's events too 2016-04-05 21:57:10 +00:00
Nathan Gray
51be1aa2a9 - Add framework loader back until calendar templates are loaded
- Use pointer cursor for week view so it looks clickable
2016-04-05 21:38:49 +00:00
Nathan Gray
3428d82b26 New previous, next & check icons
Fix calendar sidebox previous & next buttons move when clicked
2016-04-01 15:12:27 +00:00
Nathan Gray
af51ef29de Fix sidebox calendar buttons are in the wrong place on first load 2016-03-30 18:39:13 +00:00
Nathan Gray
0f5ed51075 Fix search term passed in link 2016-03-29 23:34:45 +00:00
Nathan Gray
6d2e461a83 Fix 4 day view to follow week consolidation rules 2016-03-29 14:52:40 +00:00
Nathan Gray
521c28cfd5 Get planner sitemanager module working 2016-03-18 15:49:11 +00:00
Nathan Gray
e76fa3aa16 Stop calendar activating when an infolog is added, while still allowing a refresh 2016-03-15 16:51:10 +00:00
Nathan Gray
70b00c8d70 Remove some unused code 2016-03-14 19:36:22 +00:00
Nathan Gray
32943c5c15 Fix refreshing an infolog blanked calendar 2016-03-14 15:58:59 +00:00
Nathan Gray
3ea15bf95c Add some missed cases for adding new events:
- click on day in month view
- context menu with no specific time (month view)
- fix all day non-blocking in header no longer created a new event
2016-03-09 18:10:43 +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
d6faffb32f Revert r55136, it did not work 2016-02-29 22:17:25 +00:00
Nathan Gray
ce48b78e54 Fix active calendar tab could not be closed 2016-02-24 18:04:40 +00:00
Nathan Gray
a837f8d30c Help for Safari + FF on Mac sidebox position bug
Force a re-layout of the sidebox scroll to get the correct position
2016-02-24 17:57:55 +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
9460e1a2f9 Home improvements - Weekend toggle, weekN & month support 2016-02-22 22:45:48 +00:00
Nathan Gray
9627e5dd8d Stop calendar from activating itself on every infolog save. 2016-02-22 15:43:03 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Nathan Gray
5d2bd454bb Force the sidebox calendar next/ previous buttons to line up vertically with go / today buttons. 2016-02-17 00:49:43 +00:00
Nathan Gray
5955705002 Owner widget changes:
- Now returns results with users, then groups, then other apps
- If a result is found in the static options, the server is not queried
- 2 character limit before searching
- Change event fires on blur, not change in selection
2016-02-11 20:30:55 +00:00
Nathan Gray
4e7521a33a Remove drag and drop target divs. Now using one target div and moving it around as needed. 2016-02-11 17:02:06 +00:00
Nathan Gray
c8cf2d30d8 Fix resize issues with etemplate2 / calendar 2016-02-10 16:50:42 +00:00
Nathan Gray
37be48c772 Avoid potential infinite loop due to logic evaluation order 2016-02-10 00:35:54 +00:00
Nathan Gray
d7dfd44c8b Use taglist for owner 2016-02-09 20:28:57 +00:00
Klaus Leithoff
e3f63c2564 return expected granularity when nothing or 0 is set for use_time_grid 2016-02-05 15:00:34 +00:00
Nathan Gray
c4f125a772 - Disable scrolling to change week (swipe & pg up/ pg dn kept)
- Remove animations
2016-02-04 21:05:31 +00:00
Nathan Gray
db7528b249 Fix weekview shown as list when preference was none 2016-02-04 19:47:57 +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
cd30a70a96 Sidebox calendar buttons
- change button colors
- change tooltip for added buttons to match jqueryui buttons
- finally found (& removed) that 1px wiggle
2016-02-03 16:52:28 +00:00
Nathan Gray
0be32cf840 Change sidebox calendar button order, change today icon to • 2016-02-02 22:59:13 +00:00
Nathan Gray
98bf388da7 Re-add sidebox 'month' button as go button, styled to look like calendar navigation buttons 2016-02-01 20:52:53 +00:00
Nathan Gray
7b2902f0c2 Fix (remove) right margin on sidebox calendar 2016-01-28 22:08:15 +00:00
Nathan Gray
40779b6dbf - Change all day event sorting so longer events are higher
- Change short event display so 1 line shows title, 2-4 lines show timespan & title
- Increase maximum number of events loaded at once
2016-01-28 21:35:22 +00:00
Nathan Gray
b5be17ad9c Fixes for errors when closing calendar tab, which broke tabs at the framework level 2016-01-28 16:59:23 +00:00
Nathan Gray
794d6aee5c Fix events missing if home loaded before calendar 2016-01-27 17:35:25 +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
52dd6cd644 Move today button between prev & next buttons 2016-01-22 20:48:30 +00:00
Nathan Gray
edd827b221 Sidebox calendar - remove borders, header background, month button 2016-01-22 00:58:12 +00:00
Nathan Gray
ac4bef3c47 In single week view, only show the date labels once 2016-01-22 00:22:08 +00:00
Nathan Gray
0ae7ba40ce Toolbar changes:
- Change Add button icon from new to +
- Add Today button to toolbar
2016-01-21 18:41:54 +00:00
Nathan Gray
80ce556003 Remove view names from header 2016-01-21 18:35:53 +00:00
Nathan Gray
ad05ac0cc3 Fix some months not showing enough weeks, better this time 2016-01-21 15:40:32 +00:00
Nathan Gray
72991fc007 Smarter updates for recurring events, to avoid refreshing more than needed. 2016-01-20 20:58:14 +00:00
Nathan Gray
2a91237c2a Fix some months not showing enough weeks 2016-01-19 15:37:15 +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
5e5139ae2e - Simplify grid sizing calculations
- Fix non-consolidated day update
2016-01-15 22:43:59 +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
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
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
15dd34edcb Re-enable/implement preference for showing events as a per-day list 2016-01-12 23:55:59 +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
000376c69d Fix sorting users in non-consolidated day view 2016-01-08 22:38:11 +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
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
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
6dfef23ae3 Match consolidation number to the phrasing in preferences 2015-12-28 16:55:51 +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
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
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
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
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
67652ccaf1 Avoid js error on first calendar load when there are no preferences yet 2015-12-16 00:23:25 +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
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
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
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
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