Commit Graph

251 Commits (master)

Author SHA1 Message Date
Francis Lachapelle 19d22cdcfb Adapt to latest md changes 2016-03-08 13:21:11 -05:00
Francis Lachapelle 9b58693873 (html) Use new sg-checkmark element
This fixes the issue of md-checkbox not usable in an md-menu in Firefox.

Fixes #3557
2016-03-01 14:15:04 -05:00
Francis Lachapelle 70fbeab27a (js) Improve sg-search directive
Will now respect the "listRequiresDot" source parameter and uses
ng-messages to show an error if the minimum number of characters is not
reached.

Fixes #438, #3464
2016-02-24 21:41:03 -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 ed4e70faab (fix) Blank view when selecting descending order 2016-02-19 16:44:00 -05:00
Francis Lachapelle c68ca9dbb7 Aria attributes 2016-02-04 20:59:34 -05:00
Francis Lachapelle 5ccd33c126 Adapt to latest md changes 2016-02-04 20:59:34 -05:00
Francis Lachapelle c6bc8245a2 (css) Apply .sg-app-content to body 2016-01-18 16:04:09 -05:00
Francis Lachapelle 491f8b4f2a (js) Fix sg-avatar-image with md-virtual-repeat 2016-01-14 14:45:50 -05:00
Francis Lachapelle dc43146a4e (html) Change bg color of selected message or card 2016-01-08 21:30:52 -05:00
Francis Lachapelle c08f507dbf Fix multi-selection of cards in Firefox 2015-12-21 11:40:01 -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
Francis Lachapelle 95ca7d0193 (js) Don't allow export from system addressbook 2015-12-09 20:28:07 -05:00
Francis Lachapelle 28163b859c (html) Allow clicking on folder name to search 2015-12-09 20:27:22 -05:00
Francis Lachapelle 52fd2174b8 (html) Adapt templates to new breakpoints 2015-12-09 16:52:54 -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
Francis Lachapelle 348ba65c6e (js) Restore dot search in Contacts module 2015-12-02 16:43:06 -05:00
Francis Lachapelle b02de72e57 Add sidenav toggle button in Calendar module
Also show the current list filter on the right side of the toggle
button.
2015-12-02 13:55:08 -05:00
Francis Lachapelle fdb36970d4 (css) Adapt to new breakpoints and layout-align 2015-11-30 14:13:15 -05:00
Francis Lachapelle 3106fa44c8 (html) Fix "no selection" right-side of Contacts 2015-11-27 17:34:42 -05:00
Francis Lachapelle 33edaacb13 (js) Fix height of virtual repeater in Contacts 2015-11-27 17:30:49 -05:00
Francis Lachapelle d19593afc3 (js) Allow hiding the sidenav on large screens
Position of button is not final as it causes an issue with the tabs of
the Calendar module.
2015-11-27 16:40:23 -05:00
Francis Lachapelle 5c6e19a67c (html) Add placeholder to search input fields 2015-11-25 11:23:12 -05:00
Francis Lachapelle 69ff0634b4 (html) Fix "no selection" right-side views 2015-11-25 09:37:59 -05:00
Francis Lachapelle 7316d13176 Improve contacts import dialog box 2015-11-10 15:05:41 -05:00
Ludovic Marcotte 72b1fc1f3f (fix) wrong class for list avatar 2015-11-04 11:26:21 -05:00
Ludovic Marcotte 12863f1d2f (feat) now properties dialog for addressbooks
Now also possible to set the EAS sync flag for addressbooks
2015-11-04 10:38:24 -05:00
Francis Lachapelle aface8f8cf (html) Restore shadows in toolbars 2015-10-01 09:34:37 -04:00
Francis Lachapelle 5496dd97d9 Improve lists by compacting items 2015-09-25 16:07:56 -04:00
Francis Lachapelle a6c440d245 (js) Improve renaming an address book 2015-09-24 11:12:57 -04:00
Francis Lachapelle 3a4365b15a (js) Fix ngSwitch in Contacts module 2015-09-24 11:01:27 -04:00
Francis Lachapelle 7f3d57c8dc (html) Sort by lastname and firstname in Contacts 2015-09-24 10:55:08 -04:00
Ludovic Marcotte c0f51cf731 (fix) don't offer the delete option on personal resources 2015-09-21 15:00:32 -04:00
Francis Lachapelle ae3ce7186d (css) Set flex width of search field menu 2015-09-21 12:29:07 -04:00
Francis Lachapelle 70bb512bb8 Improve folders rename 2015-09-16 16:15:04 -04:00
Francis Lachapelle c464791d92 Improve display of mail advanced search 2015-09-14 21:35:34 -04:00
Francis Lachapelle 92bf494973 (css) Improve display of folder name 2015-09-14 14:58:00 -04:00
Ludovic Marcotte 7cdfaf4d9c (fix) add missing flex attribute 2015-09-14 11:23:27 -04:00
Francis Lachapelle f3a5df37ae (js) Don't load card in multi-selection mode 2015-09-10 09:19:28 -04:00
Francis Lachapelle 11e7af3450 Adopt theming system of Angular Material
The SASS has been simplified so that different themes can be applied by
only using the $mdThemingProvider serivce.

The resulting design is more "Materialized" and less prone to the
future changes of Angular Material.
2015-09-09 16:35:09 -04:00
Francis Lachapelle cab6a8c1e2 (html) Use md-subheader in contacts/messages lists 2015-09-09 14:43:09 -04:00
Francis Lachapelle d72188e2da Improve toolbars on small screens
- normalized toolbars in message viewer, contact viewer and contact
  editor;
- lower width of sidenav on medium screens;
- reworked display of message headers
2015-09-03 16:17:21 -04:00
Francis Lachapelle a5213b3321 (css) Improve subheaders with no buttons 2015-09-03 14:11:38 -04:00
Ludovic Marcotte a87daf282c (fix) workaround for Firefox with menus which include md-checkbox
See https://github.com/angular/material/issues/4212 for details
on the Angular Material bug.
2015-08-29 16:30:07 -04:00
Francis Lachapelle 1667f8879d (js) New progress indicator in AddressBook module 2015-08-27 14:09:43 -04:00
Francis Lachapelle 3611c4021d Improve view detail (messages, cards) 2015-08-27 13:37:47 -04:00
Ludovic Marcotte d878c69c15 (feat) can now create mails from address book module 2015-08-27 11:01:23 -04:00
Francis Lachapelle 69000a0929 Review animations of view detail (messages, cards) 2015-08-26 17:28:03 -04:00
Ludovic Marcotte 4dee99e0ba (fix) improved padding usage to better align icons 2015-08-25 20:47:12 -04:00
Francis Lachapelle eea08d083d (html) Improve contacts list 2015-08-25 14:56:30 -04:00
Francis Lachapelle 0aac4897fa (fix) Set virtual item size in contacts list 2015-08-24 17:28:01 -04:00
Francis Lachapelle 9db633cada (html) Replace md-layout-fill by layout-fill 2015-08-24 11:21:17 -04:00
Ludovic Marcotte 85c8aebbd4 (feat) initial support for contact import in the address book module 2015-08-21 20:56:21 -04:00
Ludovic Marcotte a45000d15d (fix) show delete option only where objectEraser is on 2015-08-20 19:42:24 -04:00
Ludovic Marcotte 26e8276b08 (feat) improved ACLs handling for address book 2015-08-20 15:47:11 -04:00
Ludovic Marcotte 93fa74d279 (feat) save/restore sorting state for address books
The initial loading doesn't work yet. Will work on this later.
2015-08-14 15:22:59 -04:00
Ludovic Marcotte 935df2bd00 (fix) wrong label name 2015-08-11 21:16:16 -04:00
Ludovic Marcotte b59287d6df (fix) removed unused code 2015-08-11 11:18:41 -04:00
Ludovic Marcotte bdc8dfb2b4 (fix) removed unused code 2015-08-11 09:38:53 -04:00
Ludovic Marcotte d2aeee39ef (feat) now able to rename folders w/o double-tap 2015-08-10 14:13:25 -04:00
Ludovic Marcotte e41e17c5d9 (fix) use proper var:string value 2015-08-10 09:54:14 -04:00
Ludovic Marcotte 5741d7f95c (feat) can now copy selected cards 2015-08-10 09:48:47 -04:00
Francis Lachapelle 52559087b3 (css) Merge autoScrollList.scss with list.scss 2015-08-07 11:17:09 -04:00
Francis Lachapelle ff1a1e6f59 (html) Cleanup UIxContactFoldersView.wox 2015-08-06 11:26:26 -04:00
Ludovic Marcotte 87aec2fc01 (feat) added batch export option to cards 2015-08-05 16:02:57 -04:00
Ludovic Marcotte 5327df4c7a (feat) added select all feature to contacts module 2015-08-05 15:04:47 -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
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 e87a6de46b (html) Remove previous "hack" for ng-material
The md-menu positioned as a secondary action in a list can now be
properly hidden. ng-material is just getting better :)
2015-07-28 14:16:56 -04:00
Francis Lachapelle e064dc4a46 (js) Add support for local URL in sgAvatarImage
Directive was previously named sgGravatarImage.

The local URL will be used before falling back to Gravatar.
2015-07-24 15:48:28 -04:00
Ludovic Marcotte f09c06f8c4 (feat) show folders stats 2015-07-24 15:35:29 -04:00
Francis Lachapelle 01f213e65e (fix) Main toolbar of contacts module 2015-07-22 12:11:19 -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 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 2337d4057f Integrate md-icon using the Material Icons font 2015-07-03 21:42:21 -04:00
Francis Lachapelle 6b31e3d3b9 (fix) Remove useless ng-show directive (Contacts) 2015-06-15 11:34:48 -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
Ludovic Marcotte 942c972942 (feat) re-enabled export cards feature 2015-06-12 14:23:51 -04:00
Ludovic Marcotte 3a1c1226bc (feat) added menu in list of address books 2015-06-12 12:06:00 -04:00
Francis Lachapelle 04b992e1f1 (js) Make use of 'controllerAs' in Contacts module 2015-06-12 12:03:56 -04:00
Ludovic Marcotte 6cd02043af (feat) can now batch delete messages 2015-06-12 12:02:17 -04:00
Ludovic Marcotte 0edc2c1217 Added email button for selected contacts (to be implemented) 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 8568094266 (wox) Improve mobile display of Contacts 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 7e82ece74c (fix) hide the detail view when we have nothing to show 2015-06-12 11:59:05 -04:00
Francis Lachapelle 666d36736f Fix/improve search filter of Contacts module 2015-06-12 11:58:59 -04:00
Ludovic Marcotte bc67ffe20d (feat) Gravatar support for mail/contacts 2015-06-12 11:58:57 -04:00
Francis Lachapelle 16b75b1deb Improve lists in sidenav
- the ripple effect is now visible when clicking on list items;
- the fab icon has been moved over the items list;
- colorized the checkboxes of the calendars list.
2015-06-12 11:58:56 -04:00
Francis Lachapelle d77f75da49 (fix) Save card in Contacts module 2015-06-12 11:47:50 -04:00
Ludovic Marcotte 5e3b3e6987 Added ACL sharing capabilities for address books 2015-06-12 11:47:47 -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 19c12add73 Added the capability to create address books 2015-06-12 11:47:46 -04:00
Ludovic Marcotte 47e7201eb6 added list avatar, make use of it 2015-06-12 11:47:45 -04:00
Ludovic Marcotte 428f2586c7 Added addressbook subscription support 2015-06-12 11:46:49 -04:00
Ludovic Marcotte 5ea57f195b Allow creation or list/contact 2015-06-12 11:46:49 -04:00