Commit Graph

562 Commits

Author SHA1 Message Date
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
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
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
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
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
106652b2d2 Stop day view resize while hidden - it gets the size wrong. 2016-05-03 21:10:20 +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
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
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
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
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
42ac5b8a08 Hide participants for private events 2016-04-26 20:13:14 +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
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
00f8cb0a07 Change title display for planner view long / whole day events 2016-04-21 20:30:48 +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
4d5b923ad7 Fix for previous mousover scrolling, which broke all hovering in timegrid 2016-04-21 15:58:50 +00:00
Nathan Gray
4a2b0e7aaa Stop little scrolling when mouseover day header, then all day events 2016-04-21 15:32:43 +00:00
Nathan Gray
88338c2c8c Stop little scrolling when mouseover week label or header with long (ends 21:00+) days 2016-04-20 17:25:06 +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
Nathan Gray
ea612aeb8e Use event sorting from daycol to keep event order within a row more consistent 2016-04-20 15:40:09 +00:00
Nathan Gray
20a191464b Keep a single day/week on one page 2016-04-19 22:57:23 +00:00
Nathan Gray
40cff39e5a Improvements to printing in Firefox 2016-04-19 22:45:43 +00:00
Nathan Gray
8a93fa5068 Apply show_weekends to planner view 2016-04-19 20:27:09 +00:00
Nathan Gray
399dd4cec5 Calendar planner view shows event title instead of timespan for events > 8 hours
Now fixed for events spanning multiple days
2016-04-19 17:39:57 +00:00
Nathan Gray
9098943dd3 Check for options before using it, fixes error when un-loading widget 2016-04-18 20:48:42 +00:00
Nathan Gray
3b864e4e54 Calendar planner view shows event title instead of timespan for events > 8 hours 2016-04-18 19:03:35 +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
8ada80fac3 Prevent small event display from being wrecked by partial scroll out of view 2016-04-12 22:48:16 +00:00
Nathan Gray
f8e953ed80 Remove unneeded expand on focus event, fixes dropdown opens then closes when clicking on the owner 2016-04-12 15:11:45 +00:00
Nathan Gray
0b09f5e31e Fix clicking all day non-blocking section under day title went to day view instead of creating a new event 2016-04-11 14:37:04 +00:00
Nathan Gray
ce4dd3420d Fix drag and drop in grid list view (month) 2016-04-07 16:48:41 +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
d0bbcc98da Slight improvement for printing calendar in Firefox - it shows start of workday now instead of 00:00 2016-04-06 18:31:13 +00:00
Nathan Gray
8df7c00b21 Do not show loading prompt for popups 2016-04-06 15:19:24 +00:00
Nathan Gray
47de53e086 Fix timegrid column header clicks did not add a new full-day event 2016-04-06 14:56:03 +00:00
Nathan Gray
e7371b0d66 Keep loading prompt up until there's events too 2016-04-05 21:57:10 +00:00
Nathan Gray
b18d7a407b Make week numbers look like links 2016-04-05 21:48:57 +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
1b4deda76f Fix clicking day of week headers did not take you to the day view. 2016-04-05 20:59:40 +00:00
Nathan Gray
d99b06294d Try to fix occasional black events when editing an event with multiple owners visible 2016-04-04 23:58:23 +00:00
Nathan Gray
211d3a5438 Fix drag and drop across some months could change event to the wrong (± 1) month - now works with any date format 2016-04-04 22:06:01 +00:00
Nathan Gray
e79b418f04 Fix click on label / week number changes to that owner / week 2016-04-04 21:51:06 +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
4603bee75a Only show invalid formatting if we allow free entries, this lets calendar fetch any unknown owners in favorites from the server instead of removing them as invalid. 2016-04-04 19:19:31 +00:00
Nathan Gray
501c8318eb Show longer or shorter day of week labels based on screen width 2016-04-04 17:55:49 +00:00
Nathan Gray
4553b4c3be Fix drag and drop across some months could change event to the wrong (± 1) month 2016-04-04 16:03:59 +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
6f07b8384f Fix some issues with calendar owner name
- contacts would sometimes show week name and contact name
- Long owner names for first week would overflow onto the times
2016-03-31 22:32:13 +00:00
Nathan Gray
0f18558682 Print function for calendar 2016-03-31 20:55:41 +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
e764d36d0a Fix drag to change duration was often 1/2 hour too short 2016-03-24 18:47:58 +00:00
Nathan Gray
cd8632e354 Some fine adjustments for display of events right at the edge of the work day 2016-03-24 17:28:51 +00:00
Nathan Gray
8cfe88056f Stop Firefox from immediately hiding the hover div 2016-03-22 17:57:17 +00:00
Nathan Gray
995c6d38b4 Highlight working hours 2016-03-22 15:09:39 +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
80d716a8af Fix missing translations in series dialogs 2016-03-14 22:55:43 +00:00
Nathan Gray
09e3000cb6 Fix missing / unset planner by user label 2016-03-14 21:43:34 +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
a397de82d2 Keyboard navigation was fixed in parent 2016-03-10 17:56:44 +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
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +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
Ralf Becker
4c37f90cc1 remove old no longer used stuff 2016-03-01 16:26:14 +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
101742e39b Avoid permission errors by doing nothing when user clicks on event they have no permission to view 2016-02-23 22:23:01 +00:00
Nathan Gray
3930dd4c5c Avoid positioning or sizing events when their parent is hidden to speed things up a little. 2016-02-23 21:32:43 +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
Nathan Gray
32b4872084 Use calendar-owner widget in edit dialog for participants 2016-02-18 20:54:26 +00:00
Nathan Gray
58b7f38426 Promote calendar-owner to full widget, loadable by etemplate on its own 2016-02-18 19:45:37 +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
c6c0d970ae Some more taglist changes
- Styled to look like selectbox with tags
- Start server search with 2+ chars on enter, even if there is a local match
- Fire change on change again, not blur, for less confusion
2016-02-16 21:37:19 +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