43 Commits

Author SHA1 Message Date
Francis Lachapelle
67ccf748ed fix(web(js)): improve validation of email addresses
Overwrite the AngularJS validation and transformation of email inputs in
order to support umlauts and eszett.
2022-07-28 10:46:40 -04:00
Francis Lachapelle
c7ee4d8c19 fix(addressbook(web)): update card on save when certificate is removed 2022-03-21 10:12:21 -04:00
Francis Lachapelle
547d26af19 fix(addressbook(js)): unselect current card on delete 2022-03-21 09:22:52 -04:00
Simon Hauser
fc121acff3 fix(addressbook(js)): custom field creation
availableKeys will always be an array containing ["1", "2", "3", "4"]
because currently the wrong customFields is not accessed correctly.

This leads to the removal of CUSTOM1 if you wanna add a second custom
field.
2021-11-25 13:17:33 -05:00
Francis Lachapelle
a14c456800 feat(addressbook): warn when similar contacts are found
When creating a new contact, we now search for similar contacts in the
current addressbook, based on the firstname, lastname, email address,
and telephone number. We return a 409 when such a card is found.
2021-10-04 10:14:14 -04:00
Francis Lachapelle
3b9835095f (js) Check addressbook ACL prior to delete cards 2018-08-31 15:56:26 -04:00
Francis Lachapelle
45af5ef230 (js) Initialize new contact URL with example 2018-07-06 10:41:36 -04:00
Francis Lachapelle
7ebdac5525 Improve display of S/MIME certificates 2018-01-23 13:30:56 -05:00
Francis Lachapelle
7464c2e680 (js) Support backspace AND delete keys 2017-06-14 13:38:40 -04:00
Ludovic Marcotte
2b90ff70fa (feat) added custom fields support from Thunderbird's address book 2017-05-30 09:12:13 -04:00
Francis Lachapelle
b7bc59d599 Enable Save btn after deleting attribute from card
Fixes #4095
2017-03-23 12:48:17 -04:00
Francis Lachapelle
25430a8128 Fix handling of contact organizations
Fixes #4028
2017-03-03 10:35:50 -05:00
Francis Lachapelle
961b2226f0 (js) Disable submit button while saving a contact 2016-11-21 10:43:45 -05:00
Francis Lachapelle
7310834ac6 (js) Fix auto-completion of list members
Fixes #3870
2016-10-26 15:48:40 -04:00
Francis Lachapelle
3e501be5a9 (js) Respect SearchMinWordLength in list editor
More precisely, the domain default is named SOGoSearchMinimumWordLength.
2016-10-14 16:35:57 -04:00
Francis Lachapelle
57a735753f (js,css) Improve keyboard shortcuts
- Defined some hotkeys in all modules;
- Added generation of cheat sheet.
2016-09-27 16:16:09 -04:00
Francis Lachapelle
c9703c0f74 (js) Fix refresh after deleting card(s) 2016-07-19 16:31:48 -04:00
Ludovic Marcotte
5f2a862bc8 (fix) XSRF supprot for all contact operations 2016-05-04 14:15:18 -04:00
Francis Lachapelle
d4745ef598 (js) Update lodash to version 4.6.1 2016-03-03 13:46:14 -05:00
Francis Lachapelle
a93874b6fe (js) Fix references to Card objects in controllers 2016-02-26 16:24:18 -05:00
Francis Lachapelle
4030cf86fd (feature) Live loading of (GCS) addressbooks
Using md-on-demand of md-virtual-repeat, we now progressively load the
cards metadata of a personal addressbook.
2016-02-19 23:19:07 -05:00
Francis Lachapelle
37f4b11834 (js) Improve confirm dialogs for deletions 2016-02-10 10:52:46 -05:00
Francis Lachapelle
5c4da276bf (js) Fix handling of contact categories 2016-01-18 14:46:23 -05:00
Francis Lachapelle
94b6213ba9 (js) Use $window instead of window when possible 2016-01-15 10:26:38 -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
Ludovic Marcotte
dbffc50f06 (feat) screenname (x-aim) is now shown and editable 2015-11-27 10:58:56 -05:00
Francis Lachapelle
5f54ee09f1 (js) Fix navigation when deleting a card 2015-11-25 11:23:13 -05:00
Francis Lachapelle
dc3741f436 (html,js) Adjust padding of dialogs
Following this commit:
d2140b1565
2015-10-14 10:31:15 -04:00
Francis Lachapelle
3611c4021d Improve view detail (messages, cards) 2015-08-27 13:37:47 -04:00
Francis Lachapelle
69000a0929 Review animations of view detail (messages, cards) 2015-08-26 17:28:03 -04:00
Ludovic Marcotte
9c6884bd7d (feat) add single export/save as actions 2015-08-24 20:04:56 -04:00
Ludovic Marcotte
65525dd33b (feat) added date picker in contact editor + now handle correctly birthday 2015-08-20 10:29:47 -04:00
Francis Lachapelle
eb543ce14f (js) Allow to change the labels of Dialog.confirm 2015-08-06 17:39:00 -04:00
Ludovic Marcotte
da119ef3ad (feat) raw source support in contact module 2015-08-04 20:32:43 -04:00
Francis Lachapelle
dc9a0896e5 (js) Fix possible errors (help from jsjint) 2015-07-24 16:14:53 -04:00
Francis Lachapelle
c1d744e47a (js) Reset "selectedCard" when cancelling new card 2015-07-23 12:01:14 -04:00
Francis Lachapelle
4c51d4702f (fix) List members auto-completion 2015-07-16 16:29:54 -04:00
Francis Lachapelle
04b992e1f1 (js) Make use of 'controllerAs' in Contacts module 2015-06-12 12:03:56 -04:00
Francis Lachapelle
af353fb73f (js) Improve contact chips in card list editor
Exclude list members from auto-completion results.
2015-06-12 12:03:56 -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
2d46f4fd33 (js) Improve Contacts controllers 2015-06-12 12:02:13 -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