Commit Graph

147 Commits (138ee065a24cc65f5d3db1c6e2e93500f33acd92)

Author SHA1 Message Date
Francis Lachapelle e494dbc57c (js) Changes for ui-router v1.0
$urlRouterProvider is deprecated.
2018-06-28 15:44:12 -04:00
Francis Lachapelle 97e168cab1 (js) Localization 2018-06-28 12:08:32 -04:00
Francis Lachapelle 65812424d6 (js) Fix mail filters with flags prefixed with $
Fixes #4461
2018-05-14 23:18:59 -04:00
Francis Lachapelle 6f042ca7d2 (js) Fix mail filters with flags prefixed with $
Fixes #4461
2018-05-14 10:31:41 -04:00
Francis Lachapelle 371504e997 (js) Cleanup unused function 2018-05-14 10:22:29 -04:00
Francis Lachapelle 218d8aa5fa (js) New mail filter is active by default 2018-02-23 10:23:21 -05:00
Francis Lachapelle 2fc8018b52 (js) Fix changes check in Preferences module 2018-01-18 21:56:30 -05:00
Francis Lachapelle 15de264967 Web-based management of email certificate (cont'd) 2018-01-12 14:47:31 -05:00
Francis Lachapelle 4b355f532d Initial Web-based management of email certificate 2017-12-21 16:41:06 -05:00
Francis Lachapelle 60bbe26289 (js) Catch some exceptions to avoid console errors 2017-12-19 09:53:48 -05:00
Francis Lachapelle 08ec68c07c (js) Lower constraints on auto-reply dates range
Fixes #7276
2017-11-16 15:33:04 -05:00
Francis Lachapelle e59a8e12ba (js) Allow edition of IMAP flags/labels 2017-10-12 15:44:14 -04:00
Francis Lachapelle e5f9f3383a (js) Fix automatic close of sidenav 2017-10-12 10:16:51 -04:00
Francis Lachapelle f34937d92c (js) Prevent the creation of empty card categories 2017-10-10 14:55:22 -04:00
Francis Lachapelle 104ac2db33 New SOGoMailComposeWindow default 2017-09-20 16:50:41 -04:00
Francis Lachapelle 8662dd199d (js) Add missing timezone list in Preferences 2017-06-28 12:00:36 -04:00
Francis Lachapelle e1bc458d46 (js) Don't save form when invalid
Fixes #3793
2017-06-20 15:25:07 -04:00
Francis Lachapelle 6c654e0f90 (js) Fix validation in Sieve filter editor
Fixes #4200
2017-06-16 16:37:17 -04:00
Francis Lachapelle 89bfa0c536 Expose user's settings and defaults inline
This improves performance by removing two AJAX calls and a lot of
JavaScript promises.
2017-06-01 13:48:45 -04:00
Francis Lachapelle e7a06c42a4 (js) Fix sanitisation of flags in Sieve filters
Fixes #4087
2017-03-22 13:26:43 -04:00
Francis Lachapelle 88bc1294cd (js) Fix saving the preferences with Mail disabled 2017-01-27 12:40:36 -05:00
Francis Lachapelle c663f7ab4c Prevent using localhost on auxiliary IMAP accounts 2016-12-05 16:12:16 -05:00
Francis Lachapelle ba5bd65ea3 Fix support for SOGoSieveFolderEncoding defaults
Cont'd. Fixes #3904
2016-12-02 17:38:33 -05:00
Francis Lachapelle baf1d44548 Fix support for SOGoSieveFolderEncoding defaults
Fixed the following bugs in the mail filter editor:

1. Sieve folder encoding not respecting the SOGoSieveFolderEncoding
system defaults;
2. Conditions are still displayed when rule affects all messages;
3. Missing custom mail labels to "flag with" action.
2016-11-17 09:41:15 -05:00
Francis Lachapelle 0b99dbfc99 Fix SOGoLoginModule when set to "Last used" 2016-10-31 15:19:03 -04:00
Francis Lachapelle 1d09a980da (js) Add minimumSearchLength to sgSettings value 2016-10-26 15:44:43 -04:00
Francis Lachapelle 24e4c60baa Improve Preferences module and Mail account editor 2016-10-21 10:49:09 -04:00
Francis Lachapelle 03661eef9e (js) Improve initialization of "vacation" dates 2016-10-20 18:08:32 -04:00
Francis Lachapelle 58ee225e6b (js) Improve dates constraints of vacation reply
Fixes #3841
2016-10-19 16:14:27 -04:00
Francis Lachapelle 6f14696e0a (js) Improve dates constraints of vacation reply
Fixes #3846
2016-10-18 09:22:32 -04:00
Francis Lachapelle 56283668d0 (js) Add constraints to dates of vacation reply
Fixes #3841
2016-10-14 11:49:23 -04:00
Francis Lachapelle 261a17c83b (js) Improve error handling in Preferences service 2016-08-11 12:00:29 -04:00
Francis Lachapelle 93e77d49e9 (js,css) Replace sortable library 2016-07-08 15:44:47 -04:00
Francis Lachapelle da0a099638 (js) Add date picker to navigate in Calendar view 2016-07-04 17:11:48 -04:00
Ludovic Marcotte cf3a9b89b6 (fix) commented out bogus option for now 2016-06-23 14:35:48 -04:00
Francis Lachapelle dfc904f4f3 (js) Never query Gravatar.com when disabled 2016-06-21 21:29:44 -04:00
Francis Lachapelle d8fc40217d Specify a custom vacation subject
User can now specify a custom vacation subject. For Sieve servers
implementing the variables extension, one can write ${subject} to insert
the original subject in the auto reply.

SOGoDefaultVacationSubject is a new domain defaults parameter used when
the user doesn't specify a custom subject.

Fixes #685, #1447
2016-06-15 16:02:12 -04:00
Ludovic Marcotte a3d64d05f6 (feat) now possible to set vacation message start date (fixes #3679) 2016-06-13 15:39:57 -04:00
Francis Lachapelle 684c32ee95 (js) Fix sgTimePicker parsing of input field 2016-06-10 11:38:35 -04:00
Francis Lachapelle 97e6385f4c (js) Fix validation of Sieve filter editor 2016-06-08 15:21:36 -04:00
Francis Lachapelle 65f56f47b5 (js) Improve Preferences module
- Added constraint to timezone;
- Enable save button only if form is dirty and valid;
- Confirm unsaved changes before leaving.
2016-03-29 15:07:04 -04:00
Francis Lachapelle efc34658ec (js) Fix handling of mail labels in Preferences 2016-03-09 16:08:51 -05:00
Francis Lachapelle d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Francis Lachapelle 5d28d81c1e (js) Improve handling of SOGoMailComposeFontSize 2016-02-12 12:03:26 -05:00
Francis Lachapelle 256a64172e (feature) Custom base font size for HTML messages
If SOGoMailComposeFontSize is set to zero, we keep the previous
behaviour (no font-size added to the message HTML body).
2016-02-11 17:45:57 -05:00
Francis Lachapelle c8ea2000d8 (js) Fix mail draft autosave in preferences
Fixes #3519
2016-02-11 11:41:09 -05:00
Francis Lachapelle fed57435d4 (js) Fix exposure of date locale provider
Expose $mdDateLocaleProvider in the Preferences singleton.
2016-02-10 16:18:12 -05:00
Francis Lachapelle 2380890428 (js) Allow mail filters to be sortable
Added dependency to https://github.com/RubaXa/Sortable
2016-02-09 15:57:51 -05:00
Ludovic Marcotte eff8ab3e0e (fix) don't offer forward/vacation options in filters if not enabled 2016-02-09 14:15:23 -05:00
Francis Lachapelle 8a177bea47 (js) Fix date parsing on Safari 2016-01-26 09:07:00 -05:00
Francis Lachapelle 77baffb85c Localize datepicker and respect user's defaults 2016-01-12 11:57:38 -05:00
Francis Lachapelle 2acf9830f1 (js) Move ngSanitize dependency to SOGo.Common 2016-01-04 11:51:59 -05:00
Francis Lachapelle 80533a6f9a (js) Automatically close sidenav on small devices 2015-12-18 11:43:05 -05:00
Francis Lachapelle 4b5abdb5ce Adapt to latest md changes
See https://github.com/angular/material/commit/17797f0
2015-12-11 15:12:43 -05:00
Ludovic Marcotte 153c2c33e5 (fix #147) can now add multiple mail labels 2015-12-10 15:12:12 -05:00
Francis Lachapelle b74b73bca4 (js) Focus to new calendar/contact category field
Fixes #172
2015-12-10 11:47:43 -05:00
Francis Lachapelle 6e988404d9 (js) Make sure some arrays are initialized 2015-12-09 19:28:26 -05:00
Ludovic Marcotte 93ced64456 (fix) make sure empty categories are possible 2015-12-09 19:23:20 -05:00
Francis Lachapelle ad550a61bc (js) Fix JavaScript syntax 2015-12-09 18:53:35 -05:00
Francis Lachapelle f4e80aa819 (js) Adapt md-toast following changes in md 2015-12-09 18:52:52 -05:00
Ludovic Marcotte 450e3f03e2 (fix) make sure we don't have empty addresses 2015-12-09 18:40:03 -05:00
Ludovic Marcotte 9926653faa (fix) improve default vacation preferences handling 2015-12-09 14:06:07 -05:00
Francis Lachapelle ecf297208a (js) Fix handling of prevent invitations whitelist 2015-12-07 11:05:01 -05:00
Francis Lachapelle 5a5b4cc829 (js) Various improvements and fixes 2015-11-24 15:05:32 -05:00
Francis Lachapelle 333d279246 (js) Ask to reload the page when changing language 2015-11-24 15:05:32 -05:00
Francis Lachapelle e2d6e8ffe9 (js) Fix "file into" option of Sieve filter 2015-10-08 16:42:24 -04:00
Francis Lachapelle 9fa9b7acab Improve mail (Sieve) filter editor
- Used 'controller as' syntax;
- Don't create new filter if user cancels the edition;
- Set default values for new filter.
2015-10-05 10:45:30 -04:00
Ludovic Marcotte 3609e41205 (fix) make sure the autoreply addresses are always defined to avoid an exception in v2 if not 2015-09-18 19:55:37 -04:00
Francis Lachapelle 2f82b5cfd3 (js) Localization of toast message 2015-08-20 16:39:34 -04:00
Ludovic Marcotte 078ba95f8e (feat) show small toast when preferences are saved to give user's feedback 2015-08-20 14:53:43 -04:00
Ludovic Marcotte c6f17cd45c (feat) make use of the sieve capabilities 2015-08-19 08:47:33 -04:00
Ludovic Marcotte 2144d3122a (feat) added support back for SOGoForwardConstraints 2015-08-18 15:25:51 -04:00
Ludovic Marcotte 9d272ae063 (feat) added the 'add default email addresses' feature in vacation module 2015-08-18 14:57:29 -04:00
Ludovic Marcotte 744cba4422 (feat) integrated md-datepicker and enabled it in the Preferences module (Vacation)
The date picker suffers from this bug: https://github.com/angular/material/issues/4192

Which makes it not that usable right now.
2015-08-17 10:10:57 -04:00
Francis Lachapelle b966fd3e30 (js) Move *.app.js files to their directories 2015-08-07 09:56:47 -04:00
Francis Lachapelle 2239286697 (js) Use CK Editor in mail account editor (Prefs) 2015-08-06 16:13:10 -04:00
Francis Lachapelle d2b2cb186e (js) Fix usage of Settings.activeUser 2015-08-03 16:18:23 -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 d3a233b222 (js) Improve Angular modules initialization 2015-07-29 15:16:43 -04:00
Francis Lachapelle c700608f0f (fix) Sidenav list items display of Preferences 2015-07-27 20:11:57 -04:00
Francis Lachapelle dc9a0896e5 (js) Fix possible errors (help from jsjint) 2015-07-24 16:14:53 -04:00
Francis Lachapelle f8b6864553 (js) Remove Mailbox dependency in Preferences 2015-07-22 17:27:46 -04:00
Ludovic Marcotte d7c008f2d9 (feat) timezones are now using md-autocomplete 2015-07-21 15:21:57 -04:00
Francis Lachapelle 066bdc5f3f (js) New 'ready' method for Preferences service
This method returns a promise that succeeds when the user's defaults and
settings have been received from the server.
2015-07-08 14:49:40 -04:00
Francis Lachapelle 396892b0e1 (js) Simplify PreferencesController 2015-07-08 14:49:40 -04:00
Francis Lachapelle d159e12b3f (js) Improve contact chips in Preferences module
Exclude users already in the prevent invitations whitelist.
2015-06-12 12:03:55 -04:00
Francis Lachapelle 9db7d3b85d (fix) Show/save whitelisted users for invitations 2015-06-12 12:03:50 -04:00
Francis Lachapelle 9f9cd68997 (fix) Partial fix for md-contact-chips
Those fixes resolve the JavaScript errors, but the behavior is wrong;
the displayed results are delayed with respect to the search string.
md-contact-chips is expected to change (for the best) soon.
2015-06-12 12:02:15 -04:00
Francis Lachapelle ab38134ba9 Improve user search auto-completion 2015-06-12 12:02:14 -04:00
Francis Lachapelle 618d3d9cc0 (js) Fix dependency injections 2015-06-12 12:02:12 -04:00
Francis Lachapelle 1dc5f0d412 (js) New file structure for Angular modules
JavaScript files are now merged by the 'js' Grunt task.
2015-06-12 12:01:21 -04:00
Ludovic Marcotte 966a088a0f (fix) correctly initialize the PreventInvitationsWhitelist array 2015-06-12 11:58:53 -04:00
Ludovic Marcotte ebf4c1a9c7 (fix) also handle forwardAddress 2015-06-12 11:58:53 -04:00
Ludovic Marcotte a25a01495f Added chips for prevent invitations 2015-06-12 11:46:48 -04:00
Ludovic Marcotte d581054214 (fix) fixed default values for many prefs 2015-06-12 11:45:09 -04:00
Ludovic Marcotte 96d2a4cea8 Preferences saving support 2015-06-12 11:27:17 -04:00
Ludovic Marcotte 5c3f0138f5 First pass at the v3 pref module
The UI needs to be styled. We also need to properly load "default"
values from the system/domain/user defaults and save them correctly
too.
2015-06-12 11:17:49 -04:00