Commit Graph

110 Commits

Author SHA1 Message Date
Nathan Friend a24cb6de02
Update pipeline list view
This commit updates the pipeline page  and related components to include
new pipeline information added by the post-merge pipeline feature.
2019-03-20 12:39:27 -03:00
Filipa Lacerda 71d4d25545 Removes EE differences for environment_item_spec 2019-03-14 17:09:21 +00:00
Phil Hughes 26c6b7fc23 Merge branch '10082-env-store' into 'master'
Removes EE differences for env store

Closes gitlab-ee#10082

See merge request gitlab-org/gitlab-ce!26099
2019-03-14 08:22:21 +00:00
Phil Hughes 7ded65c6fe Merge branch '10026-folder-ee' into 'master'
Removes EE differences for folder_view

Closes gitlab-ee#10026

See merge request gitlab-org/gitlab-ce!26053
2019-03-13 17:45:20 +00:00
Filipa Lacerda e35163872b Removes EE differences for env store
Creates helpers file
Cleans up tests
2019-03-13 17:30:50 +00:00
Filipa Lacerda c829c1c4a9 Removes EE differences for folder_view 2019-03-13 09:28:44 +00:00
Filipa Lacerda 8926e4f2ba Removes EE differences for env app 2019-03-12 12:56:54 +00:00
Filipa Lacerda cf7068000b Reduces EE differences for environments table
Async loads EE components
Creates a Mixin for EE properties
2019-03-08 14:35:12 +00:00
Andrew Fontaine ba98e91c06 Add Component to Confirm Environment Rollback
Ensure a vue.js component to confirm the re-deployment/rollback of an
environment pops up when rollback/re-deploy has been clicked so the user
must confirm their actions before accidentally rolling back or
re-deploying an environment.

Only on the `environment-table` view.
2019-03-05 18:33:10 +00:00
Clement Ho d63483a2da Fix inconsistent pagination styles 2019-02-27 10:16:46 +00:00
Andrew Fontaine fa882a674a Sort Environments in Table by Last Updated
Ensure folders push to the top, if both have no last update, sort by
name.

The sorting algorithm should sort in the following priorities:

1. folders first,
2. last updated descending,
3. by name ascending,

the sorting algorithm must:

1. Sort by name ascending,
2. Reverse (sort by name descending),
3. Sort by last deployment ascending,
4. Reverse (last deployment descending, name ascending),
5. Put folders first.

It is done this way, as `underscore`'s sort API is very basic: simple
comparisons, sorting by ascending only.
2019-02-25 09:31:40 -05:00
Shinya Maeda 6b99848be3 Move permission check of manual actions of deployments 2019-02-08 12:53:35 +00:00
Mike Greiling 9f0983a4b1 Resolve "Hide cluster features that don't work yet with Group Clusters" 2018-12-20 09:39:09 +00:00
Tim Zallmann 425ddcc5a8 Merge branch 'scheduled-manual-jobs-environment-play-buttons' into 'master'
Add the Play button for delayed jobs in environment page

Closes #52129

See merge request gitlab-org/gitlab-ce!22106
2018-11-05 11:45:36 +00:00
Achilleas Pipinellis 7f47e13218 Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'
Fix typos in comments and specs

See merge request gitlab-org/gitlab-ce!22683
2018-11-01 10:34:23 +00:00
George Tsiolis 733ae94921 Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
Mike Greiling 160157a92b
Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
Winnie Hellmann 53be95daf4 Merge branch 'master' into scheduled-manual-jobs-environment-play-buttons
Conflicts:
	spec/javascripts/environments/environment_actions_spec.js
2018-10-22 22:06:05 +02:00
Mike Greiling 7a3e605350
Resolve eslint violations 2018-10-17 11:18:17 -05:00
Mike Greiling f666026d71
Prettify all spec files 2018-10-17 11:18:17 -05:00
George Tsiolis ea75b72710 Update environments empty state 2018-10-17 14:25:22 +03:00
Johann Hubert Sonntagbauer 6f5723a169 enable jasmine/new-line-before-expect 2018-10-17 06:57:29 +02:00
George Tsiolis 469dc95a95 Replace `<i>` in vue components with `<icon>` 2018-10-15 18:35:00 +00:00
Winnie Hellmann 6a5e7e7af6 Add component test for scheduled jobs in environments actions component 2018-10-09 19:54:16 +02:00
Grzegorz Bizon e270366d84 Rename environments stop action method
This makes it more explicit that an environment is not a stop action,
but instead is merely contains a stop action.
2018-07-12 12:22:11 +02:00
Winnie Hellmann d79cef3a9a Support manually stopping any environment from the UI 2018-07-10 08:11:04 +00:00
gfyoung bce890820f Enable no-restricted-globals in JS files 2018-06-15 15:58:27 +00:00
Filipa Lacerda 1fa1858546
Replace vue resource with axios for environments 2018-05-14 18:29:21 +01:00
Mike Greiling a898a2ab87 Remove common_vue bundle 2018-03-06 21:17:52 +00:00
Rémy Coutable d434c62a83 Move EE-specific JavaScript files to ee/app/assets/javascripts 2018-02-26 19:43:34 +00:00
Achilleas Pipinellis 85940d766a
Default to HTTPS for all Gravatar URLs
If using gravatar.com, both plain_url and ssl_url in settings are now
served via HTTPS. Make this the default.
2018-01-25 10:00:46 +01:00
Phil Hughes ff0f74ac6e
Tidy up main JS file 2018-01-10 11:07:42 +00:00
Filipa Lacerda 4563156256 Improve environments performance 2017-11-23 12:04:03 +00:00
Phil Hughes 47ee81ffc6
fixed location.pathname not being reset 2017-09-12 09:33:08 +01:00
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
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00:00
Filipa Lacerda f040336545 Handles realtime with 2 states for environments table 2017-07-05 16:08:53 +00:00
Eric Eastwood 6cb575d612 Add support for multiple tooltips in the same Vue component
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33223
2017-06-23 02:12:45 -05:00
Annabel Dunstone Gray 7a9c9a259e Responsive environment tables 2017-06-06 12:58:29 +00:00
tauriedavis a9e0218cc5 32118 Make New environment empty state btn lowercase 2017-06-02 13:00:21 -07:00
Filipa Lacerda 4158342b50 Adds polling function to environments table
Adds missing eventhub to folder table
2017-05-22 21:56:12 +02:00
Filipa Lacerda 2d6f1e9600 Remove service from actions dropdown, stop button and redeploy button 2017-05-03 15:44:38 +01:00
Filipa Lacerda 54933058a6 Use vue files for vue components. 2017-04-27 14:06:17 +00:00
Filipa Lacerda 76dac550f3 Refactor environments components into vue files - part 3 2017-04-21 15:16:22 +00:00
Filipa Lacerda d4021122c5 Refactor into .vue files 2017-04-20 11:48:54 +00:00
Filipa Lacerda 324aa1413e Refactor into .vue files part 2 2017-04-20 09:04:06 +00:00
Filipa Lacerda f87158af3a Backport of EE changes in environments tests 2017-04-07 11:34:07 +01:00
Kamil Trzciński e3ce5b642e Merge branch 'tc-fix-unplayable-build-action-404' into 'master'
Disable pipeline & environment actions that are not playable

Closes #25385 and #24601

See merge request !10052
2017-04-05 23:01:35 +00:00
Alfredo Sumaran 30253183c6 Merge branch '28732-expandable-folders' into 'master'
Resolve "Expandable folders for environments"

Closes #28732

See merge request !10290
2017-04-04 18:41:01 +00:00
Filipa Lacerda 5197b011a9 Fixes broken lints
Adds js unit tests
2017-04-04 14:14:15 +01:00