Commit Graph

52 Commits

Author SHA1 Message Date
Filipa Lacerda 96e6fc70b4 Import modules instead of using the ones in global namespace
Removes set favicon related methods from global scope
Improves test related with favicon

Removes convertPermissionToBoolean from global scope.
Adds tests for convertPermissionToBoolean - were non existant

Removes setParamInURL from gl.utils

Removes parseIntPagination from gl.utils namespace

Remove normalizeCRLFHeaders from gl.utils namespace

Removes normalizeHeaders from gl.utils namespace

Use gl.utils for filtered search

Fix bad import

Fix broken test by cleaning window.history namespace

Adds changelog
2017-09-09 09:54:27 +01:00
kushalpandya 073ab676d9 Update identicon path and selector 2017-08-30 11:22:08 +05:30
kushalpandya ee0fae8eaf Renamed to `identicon` and make shared component 2017-08-30 11:21:43 +05:30
kushalpandya 018e1bd55f Use kebab-case for props 2017-08-02 14:45:00 +05:30
kushalpandya e7d6af729f Remove unnecessary name property 2017-08-02 14:44:46 +05:30
kushalpandya 7a70452632 Prop name update, minor cleanup 2017-08-01 14:38:54 +05:30
kushalpandya 00226a9404 Import `group_identicon` minor clean up and prop updates 2017-08-01 14:38:40 +05:30
kushalpandya 8456899743 Use GroupIdenticon for missing avatars 2017-07-31 16:04:25 +05:30
kushalpandya b535be35ae Group Identicon for groups without avatars 2017-07-31 16:03:39 +05:30
Alfredo Sumaran a0f13d2f52 Expose correct path to group 2017-06-16 08:54:20 +00:00
Alfredo Sumaran 2a33752cb4 Add missing aria-hidden attribute to i tags 2017-06-08 02:34:38 -05:00
Alfredo Sumaran ec7f906b56 Fix type casing 2017-06-08 02:29:21 -05:00
Alfredo Sumaran c38688a53e Do not show access type to a group if there’s no access 2017-06-08 01:50:48 -05:00
Alfredo Sumaran 7ff17980ce Display user access type for each group
Also adds unit tests for this
2017-06-07 23:00:03 -05:00
Alfredo Sumaran f5dfd98856 Address feedback 2017-06-07 04:27:53 -05:00
Alfredo Sumaran 494e809091 Add rows hover state and improve layout for mobile 2017-06-06 22:30:51 -05:00
Alfredo Sumaran d8403ec18f Minor visual adjustments 2017-06-06 09:01:42 -05:00
Alfredo Sumaran 323a326c73 Improve pagination when searching or filtering
[ci skip]
2017-06-06 04:31:40 -05:00
Alfredo Sumaran 9c71b78145 Fix JS error when filtering by option 2017-05-31 20:27:37 -05:00
Alfredo Sumaran abdd18922b Restore accidentally deleted code 2017-05-31 19:45:05 -05:00
Alfredo Sumaran 682df5c57b Replace v-show with v-if to conform style guide 2017-05-31 16:37:30 -05:00
Alfredo Sumaran b2f18828c3 Update i tags so they are not self closed 2017-05-31 16:25:40 -05:00
Alfredo Sumaran 912d1317d5 Put extra chars length on a constant for readability 2017-05-31 16:22:12 -05:00
Alfredo Sumaran 720f09f341 Remove unnecesary return statements 2017-05-31 16:04:54 -05:00
Alfredo Sumaran 0d3b7f4681 Add default prop values 2017-05-31 16:02:09 -05:00
Alfredo Sumaran 8fca24bd15 Move eslint disable rule before line containing the offense 2017-05-31 15:40:24 -05:00
Alfredo Sumaran 9cce9e735d Move component visibility validation to parent component 2017-05-31 15:33:27 -05:00
Alfredo Sumaran 876107d520 Fix search by input 2017-05-30 23:21:40 -05:00
Alfredo Sumaran c3f5e60e63 Set visibility icon correctly 2017-05-30 17:22:30 -05:00
Alfredo Sumaran fd467c934d Fix click event handling 2017-05-30 17:01:48 -05:00
Alfredo Sumaran 0b594f6827 Display number of users and number of projects for each group 2017-05-30 04:25:53 -05:00
Alfredo Sumaran d15521c79d Do not allow to expand a row if group doesn’t have subgroups 2017-05-30 03:53:40 -05:00
Alfredo Sumaran 5e9378961f Do not show edit button if user has no privilege 2017-05-30 03:29:21 -05:00
Alfredo Sumaran 88b60cf62f Handle leave group action 2017-05-30 03:12:06 -05:00
Alfredo Sumaran b425373541 Fix toggling subgroups and pagination 2017-05-30 01:04:58 -05:00
Alfredo Sumaran 6f85943044 Change is-expandable to has-subgroups 2017-05-30 00:06:34 -05:00
Alfredo Sumaran 72c9454eef Stop click event is group has no subgroups 2017-05-26 18:58:00 -05:00
Alfredo Sumaran b3666a7829 Add tests for Group item component
Also adds more tests fro groups folder component

[ci skip]
2017-05-25 19:50:16 -05:00
Alfredo Sumaran a472f078e2 Remove parent group prefix from current orphan group
[ci skip]
2017-05-24 21:04:51 -05:00
Alfredo Sumaran 5eb885e5bb Build tree from server response
[ci skip]
2017-05-23 18:02:10 -05:00
Alfredo Sumaran 1f0a785db8 Add basic tests for groups component
[ci skip]
2017-05-22 18:20:15 -05:00
Alfredo Sumaran a5a7b574df Paginate group results
[ci skip]
2017-05-22 12:47:05 -05:00
Alfredo Sumaran a87d447c35 Restore previous tree format
Tree object is an array now.

- All groups are displayed at the top level
- To access subgroups now we have to click every parent which will make a request to fetch sub groups.

[ci skip]
2017-05-17 01:41:47 -05:00
Alfredo Sumaran f9f450fd87 Basic layout for groups tree
[ci skip]
2017-05-16 09:29:38 -05:00
Alfredo Sumaran db098f22e1 Stop event propagation to prevent multiple ajax calls 2017-05-15 16:32:09 -05:00
Alfredo Sumaran 1604c76493 Build tree object from endpoint response 2017-05-12 03:36:08 -05:00
Alfredo Sumaran fa6d7094ae Decorate server response objects
Set property defaults and match JS variable naming conventions
2017-05-11 12:10:54 -05:00
Alfredo Sumaran 8b2eaa60fa Better checking for subgroups 2017-05-10 20:33:41 -05:00
Alfredo Sumaran 3b6ff7fcaf Add support to filter by name to Group list 2017-05-10 03:06:51 -05:00
Alfredo Sumaran 4c3753387b Set tree structure for groups 2017-05-09 18:10:19 -05:00