Commit Graph

14 Commits (138ee065a24cc65f5d3db1c6e2e93500f33acd92)

Author SHA1 Message Date
Francis Lachapelle 1432600fae fix(common(js)): initialize search field with pre-selected option
This is required because of regression in AngularJS Material.

Fixes #5044
2020-06-17 17:46:33 -04:00
Francis Lachapelle eb90760b39 Use address books search fields in Contacts module
Searches can now be scoped to one or multiple fields. Those fields are
now dynamic and can be defined using SearchFieldNames in external
contacts sources (SQL and LDAP).
2017-11-21 15:56:16 -05:00
Francis Lachapelle 524a481340 (js) Cleanup sg-search directive 2016-10-25 17:34:20 -04:00
Francis Lachapelle b294c5381a (js) Improve sg-search directive 2016-02-25 10:10:53 -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 2e73b66e53 (js) Fix second search with same attributes 2016-01-18 15:37:27 -05:00
Francis Lachapelle f496f2b28f (js) Respect SOGoSearchMinimumSearchLength 2015-12-17 14:53:56 -05:00
Francis Lachapelle 348ba65c6e (js) Restore dot search in Contacts module 2015-12-02 16:43:06 -05:00
Francis Lachapelle 7b580f8af6 (js) Fix variable verification in sgSearch 2015-09-16 14:26:24 -04:00
Francis Lachapelle dc9a0896e5 (js) Fix possible errors (help from jsjint) 2015-07-24 16:14:53 -04:00
Francis Lachapelle 9bdc365bf0 (js) Allow cancelling of sgSearch 2015-07-08 14:49:41 -04:00
Francis Lachapelle fe20cc220f (js) Improve sgSearch directive
The directive now relies on transclusion to compile its content. This
way, we don't limit the directives used inside the content.
2015-07-08 14:49:38 -04:00
Francis Lachapelle a408fdff52 (js) Minor JavaScript improvements 2015-07-01 15:21:22 -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