Commit graph

257 commits

Author SHA1 Message Date
Francis Lachapelle e24ee771e2 Honor the domain defaults when creating an event
Initialize the editor with the value of
SOGoAppointmentSendEMailNotifications from the domain defaults.

Fixes #3729
2016-06-14 10:34:53 -04:00
Francis Lachapelle d2869bed7f (js) Use a speed dial for event/task creation 2016-06-13 09:59:35 -04:00
Francis Lachapelle 64ce3c9c22 Escape HTML in raw source of events and tasks
Fixes #3718
2016-06-08 16:06:58 -04:00
Francis Lachapelle 77ce13967c (js) Improve $scope.$watch 2016-06-07 11:08:06 -04:00
Francis Lachapelle ab74ef0c41 (js) Fix event classification icon in month view
Fixes #3711
2016-06-03 09:15:47 -04:00
Francis Lachapelle 9b9d214760 (js) Load CKEditor in Calendar module 2016-06-02 12:35:35 -04:00
Francis Lachapelle 5ab405efcc (js) Compose mail from attendee's email addresses 2016-05-31 21:56:10 -04:00
Francis Lachapelle 0773dec6b8 (js) Fix event classification icon in days views 2016-05-24 11:07:04 -04:00
Francis Lachapelle ac13ef0005 (js) Fix month view when spawning six weeks
Fixes #3663
2016-05-19 17:24:47 -04:00
Francis Lachapelle 045013bc74 (js) Fix breakpoints consistency 2016-05-18 14:35:24 -04:00
Francis Lachapelle e396e29430 Fix handling of Web calendars
- handle Web calendars that require authentication;
- properly save the "reload on login" option;
- reload Web calendars when clicking on the reload button on top of the
  events/tasks list;
- properly activate the checkbox of new calendars (as they are enabled
  by default).

Fixes #3326
2016-05-13 15:50:24 -04:00
Francis Lachapelle 8334c975e4 (js) Handle invalid dates in component editor 2016-05-09 15:53:19 -04:00
Francis Lachapelle 6aae6357c4 (js) Improve events display with many categories 2016-05-09 15:51:54 -04:00
Francis Lachapelle 8789db67b3 (js) Fix drag'n'drop in month view 2016-05-06 15:45:42 -04:00
Francis Lachapelle f2903db43c (js) Check for undefined priority in cmpt editor 2016-05-06 14:22:53 -04:00
Francis Lachapelle c5eeadf041 Allow user to choose which weekdays to display
Closes #1841
2016-05-06 14:22:52 -04:00
Ludovic Marcotte f3f1f6dcb4 (fix) XSRF supprot for all calendar operations 2016-05-04 14:52:06 -04:00
Francis Lachapelle 2a3a575e72 (js) angularFileUpload now requires ngCookies 2016-05-02 09:39:55 -04:00
Francis Lachapelle 2963654800 (html,js) Reorder and filter calendars list 2016-04-27 15:48:31 -04:00
Francis Lachapelle 7ea3608dab Style transparent (not opaque) events
Fixes #3192
2016-04-22 12:22:02 -04:00
Francis Lachapelle 1a30df03c8 Style events depending on user participation state
Also use one-time binding for non-ghost events.
2016-04-22 10:55:26 -04:00
Francis Lachapelle 0b7485228c Display components priorities in list and views 2016-04-21 17:02:07 -04:00
Francis Lachapelle 3da59cbc7e (js) Fix saving of a custom weekly recurrence 2016-04-04 16:12:24 -04:00
Francis Lachapelle fd388e2373 (css,js) Btn to expand toolbar of all-day events 2016-03-30 11:11:23 -04:00
Ludovic Marcotte 49f1c30e77 (feat) now able to copy/move events and also duplicate them (fixes #3196) 2016-03-24 14:53:27 -04:00
Emílio José de Souza Fonseca 72e0e0ad2e Fix Translation string 2016-03-22 15:19:09 -03:00
Francis Lachapelle 819851bb92 (js) Respect super user creation privilege 2016-03-10 09:22:46 -05:00
Francis Lachapelle ef00885941 (js) Fix display of ghosts when dragging events 2016-03-09 09:18:21 -05:00
Francis Lachapelle 19d22cdcfb Adapt to latest md changes 2016-03-08 13:21:11 -05:00
Francis Lachapelle eefb9056ca (html) Use datepicker for task completion date 2016-03-04 11:34:02 -05:00
Francis Lachapelle 5aa19ebfb7 (js) Enable new calendar subscriptions by default 2016-03-04 09:54:49 -05:00
Francis Lachapelle d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Francis Lachapelle 540ed1f63b (js) Fix pos. of personal calendar after rename 2016-03-03 09:29:12 -05:00
Francis Lachapelle 68cb3d091c (html) Colorize event/task categories chips 2016-03-01 14:31:52 -05:00
Francis Lachapelle 1d25944c43 (js) Improve event editor (attendees list)
Respect SOGoSearchMinimumWordLength and hide detailed view after
deleting the last attendee.
2016-02-29 13:59:31 -05:00
Francis Lachapelle 4c01417690 Handle resource limits in the Web interface
See @d7b010
2016-02-16 12:40:59 -05:00
Francis Lachapelle d56d9f8b08 Handle attendee conflicts in the Web interface
See @d7b010
2016-02-15 16:03:16 -05:00
Francis Lachapelle 9cc4bfd9be (js) Fix batch delete of components
Fixes #3516
2016-02-11 09:33:58 -05:00
Francis Lachapelle 99e5c1b93c (feature) Convert a message to an event or task
Resolves #1722
2016-02-10 16:15:00 -05:00
Ludovic Marcotte 6876ba8709 (feat) show all/only this calendar 2016-02-10 13:47:17 -05:00
Francis Lachapelle 37f4b11834 (js) Improve confirm dialogs for deletions 2016-02-10 10:52:46 -05:00
Francis Lachapelle 1eced8bcec (js) Set summary when creating event from DnD 2016-02-03 14:37:53 -05:00
Francis Lachapelle 0236d9ef46 (js) Remove empty error callbacks for promises 2016-02-03 14:32:29 -05:00
Francis Lachapelle 687521d60c (js) Improve saving of events/tasks 2016-02-01 14:01:43 -05:00
Francis Lachapelle be441f5cd3 (css,js) Fix display of all-day events 2016-01-27 10:28:40 -05:00
Francis Lachapelle 8a177bea47 (js) Fix date parsing on Safari 2016-01-26 09:07:00 -05:00
Francis Lachapelle f1873edf21 (js) Display event ghost block start/end hours 2016-01-21 20:46:04 -05:00
Francis Lachapelle 2537abf9e6 (js) Use Date.format instead of local functions 2016-01-18 16:32:26 -05:00
Francis Lachapelle fe7a12bad0 (js) Improve initialization of Calendar model
Fixes #156
2016-01-14 16:41:58 -05:00
Ludovic Marcotte ab23d0f766 (fix) added translations + fixed typos 2016-01-13 12:48:20 -05:00
Francis Lachapelle dad9b71a5b (js) Preserve selected date when switching view 2016-01-12 13:38:54 -05:00
Francis Lachapelle 2acf9830f1 (js) Move ngSanitize dependency to SOGo.Common 2016-01-04 11:51:59 -05:00
Francis Lachapelle 0d43b02cab (js) Fix the "save" method of Component service 2015-12-22 22:37:36 -05:00
Francis Lachapelle d08c490992 (js) Decompose contacts list in attendees editor 2015-12-22 17:24:16 -05:00
Francis Lachapelle 89e947b07b (js) Improve handling of dates changes 2015-12-17 14:00:56 -05:00
Francis Lachapelle 020563016b (js) Component: move some code from $omit to $save 2015-12-17 13:22:57 -05:00
Francis Lachapelle 52863bf820 (js) Fix JavaScript syntax error in Component 2015-12-17 13:19:34 -05:00
Francis Lachapelle 4973580b4b (js) Improve parsing of dates in component editor 2015-12-16 22:16:04 -05:00
Francis Lachapelle 8ff6fc8c1f (js) Fix DnD in multicolumn calendars view 2015-12-15 22:55:40 -05:00
Francis Lachapelle 5a8d986cad (js) Respect SOGoDefaultCalendar 2015-12-14 15:04:31 -05:00
Ludovic Marcotte 89ae2a3d8d (fix #154) show toast upon subscribtion - strings will be added in separate commit 2015-12-10 13:24:31 -05:00
Ludovic Marcotte 156463c084 (fix #157) we now honor which calendars we can write to 2015-12-10 11:11:22 -05:00
Francis Lachapelle 49fb7b3487 (js) Remove draggable CSS class when not editable 2015-12-09 20:13:19 -05:00
Francis Lachapelle f4e80aa819 (js) Adapt md-toast following changes in md 2015-12-09 18:52:52 -05:00
Francis Lachapelle 903c4280f4 (js) Set default Calendar view to 'week' 2015-12-09 11:55:21 -05:00
Francis Lachapelle e14414ed56 Various Web interface changes
- more contrasted primary palette;
- white toolbars for list and detail views;
- modules navigation always visible;
- wrapped detail views into a md-card;
- moved preferences button to the sidenav;
- moved the sidenav toggle button to the top toolbar;
- new "flip" visual effect when looking at the raw source of cards and
  messages.
2015-12-04 15:15:44 -05:00
Ludovic Marcotte 39455a283a (fix) replace .md-actions with md-dialog-actions in JS files 2015-11-27 13:56:31 -05:00
Francis Lachapelle 656835ca19 (html) Improve custom dialog for recurrent events 2015-11-27 11:58:14 -05:00
Francis Lachapelle 00b22a71db (js) Only allow dragging of editable events 2015-11-26 13:31:26 -05:00
Francis Lachapelle 2e2d8b6963 (js) Fix count of selected events/tasks 2015-11-26 12:11:39 -05:00
Francis Lachapelle bb88643568 (js) Improve condition in CalendarListController 2015-11-26 12:04:52 -05:00
Francis Lachapelle c2d539d3c8 (js) Scroll to user's defined day start hour 2015-11-23 16:22:32 -05:00
Francis Lachapelle 3baef22df4 (js) Create event by dragging in month's view 2015-11-20 15:36:24 -05:00
Francis Lachapelle 90e79e7605 (js) Add drag'n'drop to month's view 2015-11-20 13:31:04 -05:00
Francis Lachapelle e4eef9b780 (js,css) Show categories in events/tasks lists 2015-11-17 12:22:06 -05:00
Francis Lachapelle 450ec06bd8 (js) Add shadow to event ghost (DnD) 2015-11-17 11:27:30 -05:00
Francis Lachapelle 4685c0ff2a (js) Show events categories as color bands 2015-11-14 14:29:21 -05:00
Francis Lachapelle ace9fa9e4e (html) Show event location in Calendar days views 2015-11-13 15:45:44 -05:00
Francis Lachapelle 5ed142853a (html) Mark recurrent events in Calendar views 2015-11-13 10:52:38 -05:00
Francis Lachapelle fc1dfcff10 (js) Fix display and refresh of freebusy 2015-11-13 10:46:32 -05:00
Francis Lachapelle 4f6c099564 (js) Fix creation of a task 2015-11-12 16:04:31 -05:00
Francis Lachapelle d081f3c6eb Display description for alarm & repeat definitions
This is not the perfect solution has the localization may be unsuitable
in some languages.
2015-11-12 12:29:10 -05:00
Francis Lachapelle b30f20e1b3 (js) Fix creation of a Calendar 2015-11-11 16:42:46 -05:00
Ludovic Marcotte c7ef7a1d2f (feat) added calendar import/export feature 2015-11-11 11:18:49 -05:00
Francis Lachapelle d23f7f1cc2 (js) Improve event creation through DnD 2015-11-09 12:15:16 -05:00
Francis Lachapelle a576b95663 (js) Add sgCalendarDayBlockGhost directive 2015-11-06 16:07:52 -05:00
Francis Lachapelle 2e02380a93 Initial drag'n'drop support in Calendar module
TODO:
- drag'n'drop in month's view;
- drag to create an all-day event;
- drag'n'drop to a calendar in the sidenav;
- touchscreen gestures support.
2015-11-06 15:15:37 -05:00
Francis Lachapelle cbf9b6da3e Fix all-day events covering a timezone change 2015-11-03 15:47:30 -05:00
Francis Lachapelle 0b490a00c6 (js) Improve dates adjustments in editors
The main issue to resolve was to handle the time reset by the datepicker
when changing dates.
2015-10-30 08:38:19 -04:00
Francis Lachapelle 2bad5c0da4 (js) Preserve the time when changing the day 2015-10-29 16:17:37 -04:00
Francis Lachapelle ddf97ebb13 (js) Improve sgColorPicker directive
- replaced sg-on-select by ng-model;
- set button background (no more wrapping necessary).
2015-10-15 15:13:28 -04:00
Francis Lachapelle e0e4a94b87 (js) Improve handling of calendar color edition 2015-10-14 21:05:17 -04:00
Francis Lachapelle dc3741f436 (html,js) Adjust padding of dialogs
Following this commit:
d2140b1565
2015-10-14 10:31:15 -04:00
Francis Lachapelle 84f4698225 (js) Add missing dependency in Scheduler routing 2015-10-09 16:20:19 -04:00
Ludovic Marcotte e6be7e00ba (fix) improved the start/end delta handling and fixed the attendees viewer 2015-10-07 14:42:37 -04:00
Ludovic Marcotte 74eb0846e8 (fix) correctly round up the start/end/due time to 15 mins 2015-10-07 09:22:26 -04:00
Francis Lachapelle a393128d7a (js,html) View raw source of components 2015-10-02 17:01:06 -04:00
Francis Lachapelle d27c792324 (js,html) Allow the removable of attendees 2015-10-02 11:22:30 -04:00
Francis Lachapelle 42d306a24b (js) Remove some debugging output 2015-10-02 11:16:47 -04:00
Francis Lachapelle 45bc5a5368 Multicolumn day view
Restored multicolumn day view from v2.

Month view as also been improved.
2015-09-29 14:17:04 -04:00
Francis Lachapelle b27cfc2bd8 (js) Delete an event or a task 2015-09-28 11:27:20 -04:00
Francis Lachapelle 08fbc00d7a (js) Add "today" button to Calendar module 2015-09-22 10:17:17 -04:00
Francis Lachapelle 5034a72ed1 (css) Lower events overlapping (5% => 2%) 2015-09-21 12:29:06 -04:00
Francis Lachapelle 2a5e19a762 (css) Improve Calendar views 2015-09-19 22:22:39 -04:00
Francis Lachapelle 2ea2edbccd Display all-day events in day & week views
All-day events are now displayed and the day/week views are now built using flexbox.
2015-09-18 16:11:31 -04:00
Francis Lachapelle 58ff8139e9 Allow rename of calendars 2015-09-17 10:33:12 -04:00
Francis Lachapelle 16d312eb98 (js) Don't load item in multi-selection mode
Also review the toolbars of the Calendar module.
2015-09-09 16:06:17 -04:00
Ludovic Marcotte 9d92318524 (feat) autorefresh support for calendars 2015-09-01 10:50:50 -04:00
Ludovic Marcotte 431c53b84d (feat) new time picker component + enabled it in the calendar module 2015-08-28 13:59:41 -04:00
Francis Lachapelle ba148eec5b (js) Fix error in Component.prototype.$reset 2015-08-24 14:54:25 -04:00
Ludovic Marcotte 525d1ad80f (fix) also return all calendars in findAll 2015-08-20 22:38:01 -04:00
Ludovic Marcotte dffdbf318c (feat) new 'viewable' property on events/tasks for full viewers 2015-08-19 11:22:17 -04:00
Ludovic Marcotte 7b5541b5d1 (fix) reuse the calendar urls from the model 2015-08-17 13:44:21 -04:00
Ludovic Marcotte 02daebe36b (fix) also handle tasks deletion correctly 2015-08-12 18:31:06 -04:00
Ludovic Marcotte 47252affba (feat) initial selection + ops in calendar module 2015-08-12 16:11:38 -04:00
Francis Lachapelle ce8a4b6d8a (js) Make events clickable in month view 2015-08-07 15:32:00 -04:00
Francis Lachapelle 29d86ad478 (js) Respect user's settings in Calendar module 2015-08-07 14:15:26 -04:00
Francis Lachapelle b966fd3e30 (js) Move *.app.js files to their directories 2015-08-07 09:56:47 -04:00
Francis Lachapelle 5e19a889c2 (feat) Handle invitations in appointment viewer 2015-08-05 17:31:22 -04:00
Francis Lachapelle 95a360dd36 (fix) Variable test in Component service 2015-08-04 13:46:55 -04:00
Francis Lachapelle f17b3638d7 (js) Fix usage of Settings.activeUser 2015-08-04 08:31:39 -04:00
Francis Lachapelle a330ff7320 (js) Move Settings to a value in Common ng module
Also removed explicit settings and defaults that were imported in
various app modules. We now always use the Preferences ng service.
2015-08-03 11:57:04 -04:00
Francis Lachapelle 1d52be415f (html) Improve Calendar properties dialog 2015-07-31 11:18:29 -04:00
Francis Lachapelle 1f8edbdd1f (js) Respect SOGoCalendarDefaultReminder in editor 2015-07-30 12:05:33 -04:00
Francis Lachapelle b61eb00b99 (js) Reload lists when (en|dis)abling a calendar
Only the displayed list was refresh. Now we invalidate the hidden list.
2015-07-30 11:55:02 -04:00
Francis Lachapelle d7b7824aad Improve display of attendees in event viewer 2015-07-29 16:42:20 -04:00
Francis Lachapelle 7e10cff395 (js) Restore user's last Calendar view
Also reviewed the handling of Angular modules dependencies.
2015-07-29 11:47:01 -04:00
Francis Lachapelle e208ee3fde (feat) Open events from day and week views 2015-07-28 20:45:46 -04:00
Francis Lachapelle d7aae0e667 (fix) _.allKeys doesn't exist in lodash 2015-07-28 14:21:19 -04:00
Ludovic Marcotte 7365f77dd5 (feat) new Alarm service + alarms support in all modules 2015-07-28 11:54:49 -04:00
Francis Lachapelle e8dcc6df37 (js) New common ACL Controller 2015-07-28 10:53:29 -04:00
Francis Lachapelle 86a0032cc1 Handle the edition of recurring event occurrences 2015-07-27 16:02:05 -04:00
Francis Lachapelle 049c1385d6 (fix) Event propagation when saving component 2015-07-27 13:50:14 -04:00
Francis Lachapelle dc9a0896e5 (js) Fix possible errors (help from jsjint) 2015-07-24 16:14:53 -04:00
Francis Lachapelle 9c464c15ad (fix) Show/hide completed tasks in list 2015-07-21 15:54:26 -04:00
Francis Lachapelle a75524af9f Review task/event viewer/editor
Components will now appear in dialogs instead of a right sidenav.

This commit also introduces read-only viewers for tasks and events.
2015-07-21 08:29:28 -04:00
Francis Lachapelle 191a1afe23 (fix) Filtering components lists 2015-07-16 16:29:00 -04:00
Francis Lachapelle ee0e45cad6 (js) Respect user's default classification 2015-07-16 11:21:55 -04:00
Francis Lachapelle 7c6716784e (feat) Events/tasks sorting in Calendar module 2015-07-09 16:35:19 -04:00
Francis Lachapelle 9514103031 (js) Improve search toolbar in Calendar module
- new distinct search toolbar
- restored filtering options
- honor user's settings
2015-07-08 14:49:42 -04:00
Francis Lachapelle b948384ec9 (js) Preload ACL users in Calendar module 2015-07-03 21:45:59 -04:00
Francis Lachapelle a408fdff52 (js) Minor JavaScript improvements 2015-07-01 15:21:22 -04:00
Francis Lachapelle cc7eeca2c4 (js) Improve calendar lists controller
- preload both lists (events & tasks)
- don't reload list when switching tab
2015-07-01 15:17:55 -04:00
Francis Lachapelle 35ff82710a Handle attach URLs in appointment editor 2015-07-01 15:00:12 -04:00
Francis Lachapelle c524782395 Initial task editor 2015-06-25 11:30:44 -04:00
Francis Lachapelle b41828a7f1 (html,js) Add reminder/alarm to event editor 2015-06-22 15:49:27 -04:00
Francis Lachapelle 0ed67f1355 (doc) Improve Angular services documentation 2015-06-15 11:33:21 -04:00
Ludovic Marcotte d41458dfdc (fix) hide the dialog after save 2015-06-15 10:07:56 -04:00
Ludovic Marcotte b4f9b9095d (feat) first pass at the calendar properties dialog 2015-06-15 09:53:10 -04:00
Ludovic Marcotte ee9e559765 (feat) links to calendars 2015-06-12 14:24:33 -04:00