Commit Graph

607 Commits

Author SHA1 Message Date
Nathan Gray
5e5139ae2e - Simplify grid sizing calculations
- Fix non-consolidated day update
2016-01-15 22:43:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
e7fd0ff52a Fix some issues in drag and drop CSS with resizing on drop 2015-12-09 20:54:01 +00:00
Nathan Gray
948b462e45 Set ID when passed 2015-12-09 16:23:40 +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
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
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
84da22b93d Do not ask about modifying series when creating an exception 2015-12-07 15:48:29 +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
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
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
Nathan Gray
23f9a9a75b Make sure ID is a string, prevents duplication if it gets updated to an int 2015-12-01 22:14:47 +00:00
Nathan Gray
e172ff448b Fix some app_id vs id issues breaking drag & drop 2015-12-01 22:02:47 +00:00
Nathan Gray
b1dd9f69f1 Add question back in for editing series, even if in the future 2015-11-30 18:12:26 +00:00
Nathan Gray
e2680aef64 Fix 'Today' button always showed wrong week when you clicked it on a Sunday (with weekday starts on Monday) 2015-11-30 17:55:21 +00:00
Nathan Gray
9de2bba126 Fix could not scroll to next year with certain date format preferences 2015-11-30 17:31:59 +00:00
Nathan Gray
e191075303 Fix dnd & drag resize of non-recurring events 2015-11-30 17:21:40 +00:00
Nathan Gray
ede4956797 Changes to how recurring events are split when you change them
- Events before today can (still) not be changed
- Events after today can (still) be changed
- If you change a series by editing (or dnd) an event after today, the change is effective as of that day
2015-11-27 16:57:25 +00:00
Nathan Gray
9a97d108a5 Fix recurring private events breaking things 2015-11-25 17:20:30 +00:00
Nathan Gray
85135e6790 Deal with planner days set as string instead of int 2015-11-25 16:05:36 +00:00
Nathan Gray
d9b556aee1 If only one owner is selected, automatically change to single selection 2015-11-24 21:36:52 +00:00
Nathan Gray
c91b4af435 Make sure listview start & end dates stay valid 2015-11-24 17:21:37 +00:00
Nathan Gray
3373d16c71 Do not include date in state, don't want favorites to be stuck in time. 2015-11-24 16:17:00 +00:00
Nathan Gray
031b25c740 Improvement to listview header when you're looking at only 1 day 2015-11-24 16:04:44 +00:00
Nathan Gray
3a875a433d Changes to event icons:
- Show private flag to users who can see the data
- Include app icon for other app entries
2015-11-23 23:32:45 +00:00
Nathan Gray
f8552eb5b9 Fix keyword (& other optional filters) did not work the first time 2015-11-23 22:57:05 +00:00
Nathan Gray
187614dddb Better layout for user & category selectboxes 2015-11-23 22:44:16 +00:00
Nathan Gray
871efde40d Yearly planner does not show infologs 2015-11-23 22:06:31 +00:00
Nathan Gray
c32d2287c5 Avoid wrapping owner icons if user has group + search 2015-11-23 22:01:02 +00:00
Nathan Gray
47c1839b01 Fix calendar scrolls to the last event when editing with a hidden event after work hours. 2015-11-23 21:31:21 +00:00
Nathan Gray
46229e0860 Fix clicks in hidden event bar carried through to timegrid, causing unwanted add event dialog 2015-11-23 20:03:37 +00:00
Nathan Gray
cb416017c9 Fix column z-order was not always right, causing some conflicting events to be covered 2015-11-23 20:00:31 +00:00
Nathan Gray
fb7ec13d77 Fix update did not always go to correct calendar 2015-11-23 19:59:44 +00:00
Nathan Gray
f87c905777 More fixing on the category filter, this time to make it work again 2015-11-23 17:36:21 +00:00
Nathan Gray
88a9bd6583 Fix today button always went to yesterday east of GMT 2015-11-23 17:14:52 +00:00
Nathan Gray
98b12c024b Fix bug where single events spanning 2 days did not show in the second day 2015-11-23 17:02:51 +00:00
Nathan Gray
d08a91dcff Fix bug where the refresh did not happen with multiple users selected 2015-11-23 16:50:44 +00:00
Nathan Gray
c51e9db46b Disable hidden nextmatch, should fix some disappearing events and some UI slowdown. 2015-11-23 15:51:13 +00:00
Nathan Gray
9b56ed39c3 Fix favorites with only current user (owner=0) showed first user in selection list 2015-11-20 18:05:27 +00:00
Hadi Nategh
5a6ca10c0d Check cat_id and join function are not undefined 2015-11-20 09:05:53 +00:00
Nathan Gray
614ff2627c Fix typo 2015-11-19 15:26:12 +00:00
Hadi Nategh
5f86f911f7 Make sure object is there before join(), fix not working calendar 2015-11-19 09:08:42 +00:00
Nathan Gray
174a63f86f Make dragging/dropping over events work even if you do it right on the event. 2015-11-18 18:40:52 +00:00
Nathan Gray
0861a6d58c Fix some more sneaky caching / refresh bugs 2015-11-18 17:44:22 +00:00
Nathan Gray
22e4fc038f Send some refresh commands when deleting 2015-11-17 21:32:46 +00:00
Nathan Gray
c3464e4552 Nicer formatting in tooltip for multiple categories, and still working with single categories 2015-11-17 20:56:47 +00:00
Nathan Gray
0b13d0deac Nicer formatting in tooltip for multiple categories 2015-11-17 20:48:29 +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
7467f3b855 Fix display issues with multi-day events
- fix missing events when span is changed to cover new days
- fix events stay when changing weeks, and the new week has a day with no events
2015-11-17 16:57:34 +00:00
Nathan Gray
5846aaa317 - Automatically handle when time rows are too small for proper display
- Increase options for weekN display to 4
2015-11-16 18:31:09 +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
98c18b04ec Fix delete of series did not work 2015-11-16 16:45:02 +00:00
Nathan Gray
6e924a3700 Fix infinite loop in monthly planner with multi-month events 2015-11-14 00:09:45 +00:00
Nathan Gray
c0ba0a5bcf Fix multi-day events extending outside the currently selected timespan blocked the cache for those days, leading to missing events. 2015-11-13 23:21:16 +00:00
Nathan Gray
d6298d8c9b Apparently we do care about group invitations for determining status 2015-11-13 20:48:28 +00:00
Nathan Gray
3e054b90f7 Need more data to handle adding a recurring event 2015-11-13 20:38:29 +00:00
Nathan Gray
43e69977f2 Fix some update conditions that were missing some cases 2015-11-13 20:22:58 +00:00
Nathan Gray
ddb63f4f46 - Fix clicking to create an event on another user's calendar did not always set that user as owner, even with add permission
- Fix doubled users in planner view when users and groups were selected
2015-11-13 17:07:48 +00:00
Nathan Gray
41380c589f Allow mouse over tooltip 2015-11-13 00:53:23 +00:00
Nathan Gray
14176f70d4 Fix status change could not change border when updating 2015-11-12 23:34:04 +00:00
Nathan Gray
4565bf4779 Sizing fixes for better (intitial) layout 2015-11-12 23:10:16 +00:00
Nathan Gray
190d028bf7 Fix not able to create new all day non-blocking events when you click on the non-blocking section, but the week has other non-blocking all events. 2015-11-12 19:32:04 +00:00
Nathan Gray
83390eca97 Fix missing conflict dialog if you drag a full day non-blocking event to a time changing it to full day blocking, and there's a conflict with en existing event that day. 2015-11-12 18:54:20 +00:00
Nathan Gray
948bf94f67 Fix missing status borders 2015-11-12 18:22:48 +00:00
Nathan Gray
28d4ebe407 Event display:
- Always respect granularity in multiweek view, number of users selected doesn't matter
- Reduce multiweek options to 2 or 3
- Fix start of day positioning when there are several all day non-blocking events
- Try to work with CSS transitions and sizes a little better
2015-11-12 01:01:21 +00:00
Nathan Gray
bddf7ab28b Event display:
- Show description in event body, as much as will fit
- Preserve whitespace in event description
- Change when event title is shown in header to be based on available space, not grid size
- Adjust z-index of overlapping events to reduce covering
2015-11-11 18:48:41 +00:00
Nathan Gray
541bca25b4 Change when we switch to white text to use black a little more 2015-11-11 18:01:35 +00:00
Nathan Gray
ddd82175d2 Don't even start the drag if you do not have edit permission 2015-11-11 16:54:00 +00:00
Nathan Gray
3209a6671c Show error message when trying to get calendars with no access. 2015-11-10 23:31:55 +00:00
Nathan Gray
9a1f24e3a4 Prevent users in selected groups from showing up more than once 2015-11-10 21:40:42 +00:00
Nathan Gray
2d18c663b6 Update daywise caches when an event changes days 2015-11-10 21:24:06 +00:00
Nathan Gray
cbde1b5664 Avoid error when closing home tab if calendar tab is not loaded 2015-11-10 20:04:17 +00:00
Nathan Gray
f3794d510c Make sure loading indicator is displayed, even if drag handler is already gone 2015-11-10 19:57:05 +00:00
Nathan Gray
fff964f307 Better handling of drag and drop between full day and times 2015-11-10 18:35:24 +00:00
Nathan Gray
2df3a14e36 Calendar planner:
- Fix error in group invitations when expanding into in each user's row
2015-11-10 01:00:44 +00:00
Nathan Gray
697444965d Calendar planner:
- Fix planner category filter
- Planner by user now lists group invitations in each user's row
2015-11-10 00:56:31 +00:00
Nathan Gray
a8b62158ea Calendar display:
- Fix planner view clicking on user label breaks view
- Fix holidays and today off by one day in planner depending on time zone
2015-11-09 23:49:26 +00:00
Nathan Gray
8671fdc837 Calendar display:
- Better handling of planner group by categories to handle events with multiple categories and events from other apps
- No time indicator line on planner headers
- Events from other apps now show colors from other app's categories
2015-11-09 23:06:17 +00:00
Nathan Gray
7a79c9e088 Calendar display:
- Fix full day infologs sometimes showing as gray box without title
2015-11-09 21:21:17 +00:00
Nathan Gray
809c35e97d Calendar display:
- Fix infolog entries are displayed multiple times when you drag & drop to move them
2015-11-09 18:55:48 +00:00
Nathan Gray
eb999f98a6 Calendar planner:
- Hover shows current time
- Clicking a row adds event at that time for that user / category
2015-11-06 22:57:27 +00:00
Nathan Gray
e611d52f8e If weekend is not explicitly off, set it to on 2015-11-06 18:42:39 +00:00
Nathan Gray
d24d7ceb42 Remove debugger 2015-11-06 18:28:07 +00:00
Nathan Gray
4d9de94469 Calendar sidebox:
- Resize sidebox calendar to fill the sidebox
2015-11-06 18:04:39 +00:00
Nathan Gray
c3791daa37 Fix columns get no width when they are created while calendar is not the active tab. 2015-11-06 15:52:06 +00:00
Nathan Gray
b4087292a8 Add toggle button for weekends 2015-11-06 00:37:23 +00:00
Nathan Gray
f742d11d45 Calendar sidebox:
- Apply today class to calendar (background is orange)
2015-11-05 22:47:38 +00:00
Nathan Gray
791102cdec Calendar display
- Add event title or count to indicators for events hidden outside of work hours
- Hover css for widget planner
2015-11-05 22:31:47 +00:00
Nathan Gray
a2cb9064fa Calendar sidebox:
- Move today button to sidebox calendar header
- Fix bug in resources select options where resources overwrote owners
2015-11-05 21:52:43 +00:00
Nathan Gray
cc5b035d15 - Fix drag & drop breaks when changing to another application tab
- Fix wrong ajax method called to move infologs
2015-11-05 20:56:13 +00:00
Nathan Gray
09abdcb47e Calendar display
- Fix whole day blocking event titles didn't move into view
2015-11-05 17:43:39 +00:00
Nathan Gray
08bbc433ae Calendar display
- Make hidden indicators clickable
2015-11-04 23:05:22 +00:00
Nathan Gray
36b54a7c33 Calendar display
- Add indicators for events hidden outside of work hours
- Show hidden headers for events starting before current displayed time
- Fix scroll animation for multi-week views
2015-11-04 21:47:52 +00:00
Nathan Gray
c02865301f Fix scrolling while dragging 2015-11-03 23:41:55 +00:00
Nathan Gray
35eab31c7e Only process first drop event if an event is dropped onto multiple conflicting events. Fixes multiple schedule conflict popups. 2015-11-03 21:53:04 +00:00
Nathan Gray
67b48d11c3 Calendar sidebox:
- Move today button to sidebox calendar header
- Resources now add & remove from current owner, not replace it
2015-11-02 23:21:59 +00:00
Nathan Gray
e1640a94a8 Calendar drag & drop:
- Fix dropping events on events did nothing, now does something
- Dragging all day events to a time now changes from all day event
2015-11-02 20:04:31 +00:00
Nathan Gray
39ab8282f3 Calendar display issues
- Fix multiple week with multiple users time divisions were too large
- Clicking in full day space creates full day non-blocking event
- Today & holiday styles only applied to day headings, not full day space
- Fix positioning when multiple events span the same time
2015-10-29 21:53:47 +00:00
Nathan Gray
7d12993e1a Do not change selected date when going to week or month view. 2015-10-29 20:33:04 +00:00
Nathan Gray
f3d166a6c5 Fix wrong date headers after crossing DST east of Greenwich 2015-10-29 19:47:01 +00:00
Nathan Gray
35f08f39b5 Calendar display issues
- Give owner name / calendar label its own space to avoid colliding with first day header
- Full day non-blocking now have their own dedicated space
2015-10-28 15:55:10 +00:00
Nathan Gray
05b2bdc920 Calendar display issues
- Keep planner header if you have to scroll down
- Show full hour at the end of the day, not just first division
2015-10-27 19:08:33 +00:00
Nathan Gray
625cc51c59 Fix categories would not always refresh
Fix calendar categories would never refresh
2015-10-27 16:55:57 +00:00
Nathan Gray
252a8fd11a Calendar scrolling, swiping and keyhandler for page up & page down 2015-10-27 16:45:37 +00:00
Ralf Becker
f60e046511 fix sometimes shown old / no longer used delete dialog, buttons in new dialog were not translated and missing tooltip 2015-10-26 15:10:39 +00:00
Nathan Gray
7e5873eefa Calendar scrolling
- prevent fast scrolling with a touchpad
- animation while changing scrolled dates
2015-10-21 19:53:19 +00:00
Nathan Gray
8339db86d2 Fix app header tending to show previous value for owner when calendar tab is first opened 2015-10-19 23:08:16 +00:00
Nathan Gray
1be489b706 window.setTimeout() might help with Safari column layout being all to the left 2015-10-19 19:29:09 +00:00
Nathan Gray
607dfda6ac Attempt to fix spacing in Safari 2015-10-19 19:16:11 +00:00
Nathan Gray
6915d76f29 Fix missed needs action icon change
Fix 1/2 hour events show header twice
2015-10-19 17:24:21 +00:00
Nathan Gray
642b52850b Unify app header for the different views 2015-10-16 17:32:21 +00:00
Nathan Gray
1673cc9aed Calendar tooltip style fixes for Firefox 2015-10-15 21:34:07 +00:00
Nathan Gray
4184d88027 Fix closing & reopening Calendar crashed egw
If only 1 user selected in sidebox, add user name to app header
2015-10-15 20:06:19 +00:00
Nathan Gray
211056ba2e More calendar bugfixes:
- reload loop in home
- sidebox keywords did nothing
- list view participants filter was missing groups
- Sidebox user filter updates list view to match
2015-10-14 18:10:39 +00:00
Nathan Gray
edc3cac79f Handle multiple categories, though the last one determines the color of the event. 2015-10-14 15:25:29 +00:00
Nathan Gray
f7a8b0ed65 Calendar bugfixes:
- App reload just reloads, not change view
- Fix caching bug
- Fix missing resource names
- Fix app header changing inappropriately
- Fix favorites not working properly.
2015-10-14 14:32:33 +00:00
Nathan Gray
3286642374 Fix merge from listview, and handle merging from listview into a template designed for the other views (range tag, no pagerepeat) 2015-10-09 19:48:28 +00:00
Nathan Gray
0bdbccf1b4 Make sure categories with no color do not turn the event transparent. 2015-10-09 16:33:34 +00:00
Nathan Gray
b926795898 Fix integrated apps were opening in calendar edit 2015-10-07 15:34:37 +00:00
Nathan Gray
a384714a8d Calendar W.I.P
- Change layout to show the whole 24 hour day with a scrollbar, not just work day
- Fix some translation issues (thanks Ulle) by using calendar's egw for lang calls
- Fix cache is discarded even when state doesn't change, which broke filtering (thanks Ulle)
2015-10-05 23:45:51 +00:00
Nathan Gray
b2c78d5b6f Apply end date to list view too. Only makes a difference when selected range is used, but now it is pre-set. 2015-10-05 18:27:19 +00:00
Nathan Gray
fa62547d77 Keep user's last choice for weekend in week view 2015-09-29 16:50:49 +00:00
Nathan Gray
815b6bc09a Calendar bugs with multi-day events:
- Fix not properly visible if they span weeks
- Fix end date changes when editing if the event spans DST (daylight savings time) change
2015-09-28 19:31:01 +00:00
Nathan Gray
b7f7c40d28 Always show weekends in month view 2015-09-28 17:31:30 +00:00
Nathan Gray
2806cd06c1 Make planner headers look like links 2015-09-21 15:41:56 +00:00
Nathan Gray
7e9be1ea38 Calendar bugs:
- Fix infinite loop west of GMT
- Sidebox calendar now only changes views in day, week or month.  Other views just change the date
- Fix inconsistant week number in planner
2015-09-14 20:47:25 +00:00
Nathan Gray
7d83c27684 Calendar bugs:
- Fix infinite loop east of GMT
2015-09-14 18:29:22 +00:00
Nathan Gray
50b3c77986 Calendar et2 bugs:
- Add link styling to grid views
- Don't fail if loading without access
2015-09-09 21:35:26 +00:00
Nathan Gray
84b1eafc24 Calendar et2 bugs:
- Clicking a date in sidebox now changes to day view, unless you're in 4 day view
- Today button no longer switches to month view
- Put upper limits on planner by user & category headers to avoid hundreds of day headers
2015-09-09 20:59:23 +00:00
Hadi Nategh
a951366235 Add today button into sidebox navigation calendar 2015-09-07 17:13:20 +00:00
Nathan Gray
ed6948a9f2 - Better granularity calculations using number of weeks & view
- Clicking sidebox calendar no longer changes view
- Fixed header links to different day (broken in some views) & got clickable week numbers working
2015-09-02 22:40:38 +00:00
Ralf Becker
49873b317a only unlock, if we have a lock(-token) 2015-08-31 10:49:58 +00:00
Nathan Gray
75c7d36a31 Some speed optimizations and plugging some leaks. 2015-08-25 23:30:32 +00:00
Nathan Gray
c4758f1679 - Give user names their own line to avoid being hidden by first day of week
- Fix bug showing first user's name when crossing the merge calendar limit
2015-08-25 00:00:45 +00:00
Nathan Gray
f05a777215 Calendar bugs
- Add loading spinner when changing (resize) an event
- If user changes the month using the sidebox calendar, switch to month view for that month
- Mark holidays on the sidebox calendar
- Change cursor over sidebox week number  to match cursor over days
2015-08-24 17:28:19 +00:00
Nathan Gray
8cb0aade18 Calendar bugs
- Fix 'Today' button went to yesterday if timezone was < GMT
- Fix navigation buttons & scrolling in year planner
- Fix sometimes missing data in year planner if timezone was < GMT
2015-08-19 16:17:55 +00:00
Nathan Gray
3cc740d35e Calendar bugs
- Remove tooltip border
- Always show weekends in sidebox & 4 day view
- variable granularity, weekN & month view show less
- Added missing week numbers
- Hide participants if more than one & calendar is combined
2015-08-19 00:08:22 +00:00
Nathan Gray
949ea0c000 Implement app refresh (via observer) to clear all cached data & redraw properly 2015-08-12 17:42:22 +00:00
Nathan Gray
8db7e46aa6 Implement app refresh (via observer) to clear all cached data & redraw 2015-08-12 16:51:03 +00:00
Nathan Gray
5090c767c5 Calendar et2 bugs:
- Fix holiday & timezone admin screens 
- Fix sometimes not shown events when there are more than one on a day
- Fix resource names not always shown in grid labels
2015-08-12 16:37:02 +00:00
Nathan Gray
bf2fff51f6 Calendar et2 bugs:
- Fix daywise cache kept even when changing owner
- Fix filtering for a single participant did not return correct results
- Fix sometimes missing resource name in single calendars
2015-08-11 23:20:24 +00:00
Nathan Gray
57ab5dc678 Calendar et2 bugs:
- Fix drag to re-order calendars
- Keep order in planner view
2015-08-11 22:30:50 +00:00
Nathan Gray
6ad8a5e309 Calendar et2 conversion work in progress.
- Fixes for losing actions
- Drag & drop move & resize for planner view
2015-08-11 15:35:54 +00:00
Nathan Gray
47813048ab Calendar et2 conversion bugs:
- Home favorites were missing data
- View selectbox did not show Planner when you clicked the button
- Weekend toggle did not affect multi-week view
- Refresh lost the event if it changed day
2015-08-06 17:14:20 +00:00
Nathan Gray
68f778f163 Calendar et2 conversion bugs:
- Home favorites were missing data
- View selectbox did not show Planner when you clicked the button
- Weekend toggle did not affect multi-week view
- Refresh lost the event if it changed day
2015-08-06 17:12:34 +00:00
Nathan Gray
9903a5f926 Calendar et2 conversion work in progress.
- Home favorites with context menus
2015-08-05 21:24:07 +00:00
Nathan Gray
1ac7324243 Calendar et2 conversion work in progress.
- Drag & drop reschedule across days/weeks (grid views)
2015-07-21 23:45:38 +00:00
Nathan Gray
f0ebb448a2 Calendar et2 conversion work in progress.
- Client side event caching
- Home fixes
2015-07-15 16:29:10 +00:00
Ralf Becker
7c141d1c65 Fix empty meeting request display in mail, caused by default handling in et2_ready 2015-07-15 13:16:31 +00:00
Nathan Gray
4562b53b1b Calendar et2 conversion work in progress.
- Slightly more efficient event positioning
2015-07-03 17:56:36 +00:00
Nathan Gray
ed1970b1aa Calendar et2 conversion work in progress.
- Drag & drop linking and event creation for other apps (grid views)
- Drag & drop reschedule and resize within the same day (grid views)
2015-07-02 19:31:52 +00:00
Nathan Gray
4032bcb213 Calendar et2 conversion work in progress.
- Event styling
2015-07-01 16:02:20 +00:00
Nathan Gray
3d6e1573bb Calendar et2 conversion work in progress.
- Update after edit
2015-06-30 23:34:38 +00:00
Nathan Gray
925c29ce9d Calendar et2 conversion work in progress.
- Some context menu actions
- Reduce code duplication in views
- Fix views still using iframe
2015-06-30 22:26:59 +00:00
Nathan Gray
dcc69abf9b * Smarter favorite highlighting
Now highlights if the current application state matches a favorite, either by click or manually setting the filters.
2015-06-29 19:16:56 +00:00
Nathan Gray
4648f91bb7 Calendar et2 conversion work in progress.
- Start of planner view
- Scroll moved to app.js so month works better
2015-06-25 17:44:28 +00:00
Nathan Gray
cdc3ad9a10 Fix insert into document from sidebox dropdown 2015-06-15 21:38:03 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Nathan Gray
2f6c66c600 WIP on converting Calendar to etemplate2
- Weekview shows widgets now
2015-05-06 19:03:45 +00:00
Nathan Gray
047ee13253 Fix some missed details and simplifications in resource search options 2015-03-12 16:50:47 +00:00
Nathan Gray
255494fc20 Fix resource participant search conflict checking 2015-03-12 16:24:55 +00:00
Hadi Nategh
343bffd902 No need to submit after the print is triggerd 2015-02-18 09:44:25 +00:00
Ralf Becker
de4d246726 * Calendar: speed improvments for huge calendar databases
by using time-range views instead of whole calendar and dates table
Also got old, much simpler non-union code working again, but union is still slightly quicker for huge databases (not at all for small ones!)
2015-01-19 19:32:26 +00:00
Nathan Gray
daf62789a0 Add observer to home, delegating the update to each portlet if possible. 2015-01-13 17:36:18 +00:00
Nathan Gray
e8821f2497 Use 0 instead of current user ID in calendar state to allow admins to create default calendar favorites useful for all users. 2015-01-08 15:51:36 +00:00
Hadi Nategh
e07c11be85 Fix popup's window close
-Make sure window.close() closing the right egw window
-Make sure the modal popup has the opener
2014-12-12 14:21:04 +00:00
Nathan Gray
d62e9a1b0d More Home progress:
- Hide navigation buttons in non-list calendar views to prevent reloads
 - Fix state / session interference between home views & main calendar view
2014-12-03 00:20:57 +00:00
Ralf Becker
48c8b1de74 do not destroy top-level app object, if we run in popup 2014-11-27 17:37:18 +00:00
Hadi Nategh
6b1addce9f Preset enddate accroding to start date of an event, plus considering duration if it exists 2014-11-14 09:37:49 +00:00
Hadi Nategh
93aa6fb83a * Calendar: Add new feature to the calendar app, in order to be able to sort calendars in day and week views 2014-11-05 16:13:26 +00:00
Ralf Becker
a4389c7cbc fix javascript error when creating an exception 2014-10-30 10:24:11 +00:00
Hadi Nategh
27f13cad92 More performance optimization for calendar tooltip 2014-10-27 13:04:31 +00:00
Hadi Nategh
16e6f807de Performance improvment for calender tooltip 2014-10-23 12:59:19 +00:00
Hadi Nategh
628b1369f7 Make calendar's tooltip scrollable 2014-10-15 12:03:15 +00:00
Hadi Nategh
b88102618b Fix calendar entries mess up after editing an integrated entry (eg. infolog) while the calendar is not the active tab (happens only in F.F.) 2014-10-07 16:21:19 +00:00
Hadi Nategh
9b917407e0 * Calendar: Fix not being able to add calenadr alarm for user with limited access
-Fix javascript error while switching to custom alarm date
2014-09-23 13:49:22 +00:00
Ralf Becker
91ea6f8d9f fixed whole-day checkbox comparison (this should probably be fixed on widget level too), fixes together with r48580 false "startdate changed" message while trying to save a recuring event 2014-09-10 10:24:40 +00:00
Ralf Becker
8c9854daa2 date widget has now api to set or get year, month, date, hours, minutes or time(stamp) and using that in calendar app.js for date manipulation 2014-09-05 10:34:37 +00:00
Ralf Becker
35f63b35d5 * Calendar: fixed freetime search to correctly read and set times from edit window
- fixed et2_date.set_value() to understand nummeric timestamps in usertime used on server-side (needed timezone offset)
- added new parameter-type for et2_date.set_value() string starting with + or - to add or subtract given number of seconds from current time (to not have to code that in applications)
2014-09-04 13:03:48 +00:00
Ralf Becker
ff37c7c3f4 * Calendar/IE11: fixed calendar and other apps were not working, if doing something in the calendar in IE11 2014-08-26 16:29:12 +00:00
Hadi Nategh
16cb288efc * Calendar/all views: Fix recurrent whole day events do not pop up edit series dialog. 2014-08-25 10:30:52 +00:00
Ralf Becker
08abe654ac fixed sometimes (specially day-view) not working drag-n-drop, caused by DOM not ready 2014-08-21 14:12:07 +00:00
Ralf Becker
75feb92950 fix date arithmetic date.getTime() is milisecs not secs 2014-08-21 13:31:10 +00:00
Ralf Becker
cfd28ae9a9 fix not working data arithmetic, after change from timestamps to strings in date widget 2014-08-21 12:43:14 +00:00
Hadi Nategh
6e9215e0ff * Calendar/infolog events: Implement drag,drop and resize for integrated infolog events in all calendar views. 2014-08-21 11:20:37 +00:00
Hadi Nategh
1960c8c7f7 Fix calendar Action->Infolog opens not as popup 2014-07-21 09:38:35 +00:00
Hadi Nategh
dcad41f542 Try to not always refresh calendar via observer for every infolog entry, but only the ones that are integrated in calendar 2014-06-26 12:39:20 +00:00
Hadi Nategh
6849109e2a Add observer method for calendar and fix calendar not being refreshed when an integrated infolog event updates 2014-06-25 15:39:58 +00:00
Hadi Nategh
7f5af09f87 Retrive accidentally removed delete and undelete nm_popup templates from calendar listview temp by commit 45376. Additionally, fix error calling cal_delete for deleting recurrent events from listview 2014-06-17 09:44:15 +00:00
Hadi Nategh
7a9378d0d7 Fix calendar delete series event with exceptions 2014-06-16 16:49:45 +00:00
Ralf Becker
b308b0027d changed default alarms pref to single "date-duration" pref (in minutes), fixed date-duration to have for prefs reasonable default of data_format=m,display_format=mhd,hours_per_day=24,empty_not_0=1 2014-06-06 11:59:20 +00:00
Hadi Nategh
0b109288f4 Set user prefered default alarm for regular and wholeday events 2014-06-05 16:07:59 +00:00
Hadi Nategh
b063901fde Set alarm's default value according to user preferences for both regular and wholeday events 2014-05-28 15:04:06 +00:00
Hadi Nategh
706c69ed90 * Calendar/Alarm: Move calendar Alarm from Alarm tab to Details tab and make it more user friendly to add alarm 2014-05-27 15:02:56 +00:00
Nathan Gray
8954da4956 Another fix for edit series confirm dialog - handle case of recur type = 0 (single event) 2014-03-25 15:04:14 +00:00
Hadi Nategh
227280d03c Complement fix for commit r46319, cover copied entries, or genrally entried with no id cases 2014-03-19 09:53:19 +00:00
Hadi Nategh
5347c8d133 Fix edit series confirm dialog pops up for new entries which are not recurrent event 2014-03-18 16:12:39 +00:00
Hadi Nategh
0024a805c5 A few more changes on calendar edit popup layout 2014-03-11 14:08:12 +00:00
Hadi Nategh
e00ddbaeb3 Arrange calendar edit popup template 2014-03-11 10:45:02 +00:00
Ralf Becker
9be29f5122 set date for "No Filter" (blank) favorite to todays date 2014-02-28 10:51:33 +00:00
Ralf Becker
ba6e9129e7 fix handling for "No filter" (blank) favorite for attributes and views managed on server-side 2014-02-26 13:35:27 +00:00
Nathan Gray
d221a84c29 Fix 'No filters' favorite handling to detect and use internal name 'blank' instead of translated label.
Copied from parent.
2014-02-24 23:50:51 +00:00
Hadi Nategh
68864a0683 Remove another inline-script in calendar dayView which was causing CSP violation 2014-02-24 09:48:22 +00:00
Hadi Nategh
cbae6e5722 Change multiple jquery statements to single jquery with on() method to handle events 2014-02-21 16:37:39 +00:00
Ralf Becker
26e0f079a1 fixed not working move/resize of events in IE (did not understand redirect to empty url) 2014-02-19 17:48:25 +00:00
Ralf Becker
07db88276e fixed or working around javascript errors in IE11 2014-02-19 15:20:19 +00:00
Hadi Nategh
1b14b2ad31 Fix Calendar new event opened with wrong owner 2014-02-18 08:51:53 +00:00
Nathan Gray
b8938e66ff Somehow calendar sidebox does not exist when normal initialization happens, so re-initialize it (again) here. 2014-02-12 17:36:20 +00:00
Nathan Gray
dfb1be231d Fix TypeError: Cannot read property 'view' of undefined when clicking on some calendar favorites 2014-02-12 16:17:58 +00:00
Ralf Becker
7cfdae66b6 fix not working ical export from calendar edit 2014-02-10 12:45:57 +00:00
Hadi Nategh
bf376292f5 Style the d-n-d and resize time indicator 2014-02-10 08:53:42 +00:00
Ralf Becker
3778191a20 fixed add event was opened in to big popup when clicking on calendar background, using not egw.open(...,"add") for it 2014-02-05 14:32:15 +00:00
Ralf Becker
628070da5e fixed today button in navigation-calendar to stay in current-view und just change to todays date 2014-02-03 11:53:19 +00:00
Hadi Nategh
00b040764d Align calendar resizable time indicator at bottom and center 2014-02-03 08:27:56 +00:00
Ralf Becker
968d5d6760 fix permanent reload in idots template, when switching to a listview-favorite 2014-01-30 18:24:24 +00:00