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
Ludovic Marcotte
a728616bca
(fix) comment typo
2015-07-31 09:05:56 -04:00
Ludovic Marcotte
65b8382020
(fix) move refresh timeout to service classes and enabled repeating timers
2015-07-30 19:47:53 -04:00
Ludovic Marcotte
85f4efab46
(fix) refactored to code
2015-07-30 14:51:14 -04:00
Ludovic Marcotte
a52d42f6b2
(feat) manual+auto refresh support for addressbooks/mailboxes
2015-07-30 13:06:28 -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
e8dcc6df37
(js) New common ACL Controller
2015-07-28 10:53:29 -04:00
Ludovic Marcotte
40dd3e5875
(fix) reworked c_ prefixes on givenname,cn,sn,o and component.
...
This makes it easier to map to the quick table and avoid
fields duplications.
2015-07-27 12:47:40 -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
dfb750caf4
(fix) Resolve addressbook before rendering view
2015-07-20 15:33:51 -04:00
Ludovic Marcotte
cdd449fec9
(feat) search capabilities in the addressbook module
2015-07-20 15:03:29 -04:00
Ludovic Marcotte
7c2cb259a2
(feat) sorting capabilities in the addressbook module
2015-07-20 14:24:36 -04:00
Francis Lachapelle
4c51d4702f
(fix) List members auto-completion
2015-07-16 16:29:54 -04:00
Francis Lachapelle
8c8070ff16
(fix) Respect order of cards list
2015-07-16 16:26:09 -04:00
Francis Lachapelle
f09f1a4282
(fix) Respect order in list of cards
2015-07-15 15:20:08 -04:00
Francis Lachapelle
25f364991e
(fix) Creation of card/list in Contacts module
2015-07-15 15:18:23 -04:00
Francis Lachapelle
730b803ad6
(js) Replace vs-repeat by md-virtual-repeat
...
There're some issues with mdVirtualRepeat that required some changes to
our app:
1. Having multiple directives with md-virtual-repeat doesn't work well.
That why I added a dedicated div for the md-virtual-repeat directive.
2. ui-sref-active doesn't work well for child nodes of the
md-virtual-repeat element. The class was applied repetitively to a
visible child. I now save which message or card is selected and use the
ng-class directive to highlight the selected list item.
2015-07-15 13:44:17 -04:00
Francis Lachapelle
1c34e71cdc
(js) Remove unused dependency on $q in controllers
2015-07-03 21:44:28 -04:00
Francis Lachapelle
a408fdff52
(js) Minor JavaScript improvements
2015-07-01 15:21:22 -04:00
Ludovic Marcotte
b4f9b9095d
(feat) first pass at the calendar properties dialog
2015-06-15 09:53:10 -04:00
Ludovic Marcotte
a89b116940
(feat) allow showing links to address books
2015-06-12 14:24:23 -04:00
Francis Lachapelle
fb992db5ad
Improve ACL editor (Scheduler & Contacts)
2015-06-12 12:03:58 -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
0ac27aab50
(js) Improve coding style of Card.service.js
2015-06-12 12:03:53 -04:00
Ludovic Marcotte
6cd02043af
(feat) can now batch delete messages
2015-06-12 12:02:17 -04:00
Francis Lachapelle
2fa0e91ca7
(js) AddressBook service: Improve documentation
2015-06-12 12:02:17 -04:00
Francis Lachapelle
b37892e033
(js) Card service: Improve initialization
2015-06-12 12:02:17 -04:00
Ludovic Marcotte
7d54bd5e86
Initial work for muliple selections + new toolbar with ops
2015-06-12 12:02:16 -04:00
Francis Lachapelle
499e66ffe9
(css) Improve contacts and messages lists
2015-06-12 12:02:16 -04:00
Francis Lachapelle
395f3585ca
(js) Improve user search in AddressBook ACL editor
2015-06-12 12:02:15 -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
a52e6604c1
Improve contact list auto-completion
2015-06-12 12:02:14 -04:00
Francis Lachapelle
2d46f4fd33
(js) Improve Contacts controllers
2015-06-12 12:02:13 -04:00
Francis Lachapelle
0eb2ecd2f2
(js) Improve Gravatar support
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
Francis Lachapelle
494e2be680
(js) Save addressbook search string
...
This allow to show the email address that matches the search string (if
it does)
2015-06-12 11:59:00 -04:00
Ludovic Marcotte
a166d1b4cf
Using chips for adding/viewing contact categories
2015-06-12 11:47:50 -04:00
Francis Lachapelle
96ebc32d8a
Split AddressBooks list by type
...
The list of addressbook books is now splitted by type: personal
addressbooks, other's addressbooks (subscriptions) and global
addressbooks (from sogo.conf, per domain).
The main ui-view has been splitted and therefore an additional
controller has been created.
The constructor of the AddressBook model has been improved.
2015-06-12 11:47:46 -04:00
Ludovic Marcotte
5ea57f195b
Allow creation or list/contact
2015-06-12 11:46:49 -04:00
Ludovic Marcotte
2ff6131483
Added list editor/viewer, fixed contact editor
2015-06-12 11:46:49 -04:00
Francis Lachapelle
3864264787
JS Card model: initialize birthday as Date object
2015-06-12 11:26:06 -04:00
Francis Lachapelle
01d4134a23
Use sgSearch directive in addressbook module
2015-06-12 11:22:44 -04:00
Francis Lachapelle
8148209fc8
Improve instanciation of Resource in Card model
2015-06-11 15:49:21 -04:00
Francis Lachapelle
34d7a3bf52
Improve error handling in JavaScript promises
2015-06-11 15:49:20 -04:00
Francis Lachapelle
bc86ff1e04
Fix position of new or renamed addressbook
2015-06-11 15:48:14 -04:00
Francis Lachapelle
32196b56db
Fix short formatting of cards for mail editor
2015-06-11 15:42:34 -04:00
Francis Lachapelle
af09691964
Auto-completion of mail addresses in mail editor
2015-06-11 15:42:33 -04:00