Commit Graph

82 Commits

Author SHA1 Message Date
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
Filipa Lacerda c4d4f4d857 Clean history after every test that changes history 2017-04-03 10:40:31 +01:00
Kushal Pandya 9a0f96f9ad Add metrics button to Environment Overview page 2017-03-31 09:20:11 +00:00
Filipa Lacerda d3ab245a5b Adds tests that were only in EE 2017-03-29 17:29:57 +01:00
Filipa Lacerda 5cad1401b8 Fix broken test 2017-03-28 18:44:50 +01:00
Filipa Lacerda b64555d36a Adds show all button 2017-03-28 14:11:04 +01:00
Filipa Lacerda cbf1b656a4 Use a button and a post request instead of UJS links - part 1 - Environments 2017-03-14 00:58:26 +00:00
winniehell 572f9782d5 Remove .es6 from file extensions (!9241) 2017-03-05 21:22:40 +01:00
Filipa Lacerda 3ef300d1f3 Remove unused test 2017-02-25 21:35:10 +00:00
Filipa Lacerda 8ca90a68c4 Merge branch 'fe-paginated-environments-api-add-pagination' into fe-paginated-environments-api-add-subview
* fe-paginated-environments-api-add-pagination:
  Changes after review
  Rename storePagination to setPagination
2017-02-16 11:24:34 +00:00
Filipa Lacerda ac71013642 Rename storePagination to setPagination 2017-02-16 11:15:08 +00:00
Filipa Lacerda 605195c26a Fix broken tests 2017-02-16 10:23:59 +00:00
Filipa Lacerda 1285d62906 Move change page param to utility function
Add tests

Adds folder name in the top of the table
2017-02-15 19:57:48 +00:00
Filipa Lacerda c2fe699ac8 Add pagination tests for environments table
Remove fdescribe statement

Fix conflict
2017-02-12 14:05:44 +00:00
Filipa Lacerda 27d7ec70b1 Remove spec checking for scope 'all' since it's no longer part of component
Changes after review

Fix typo
2017-02-12 14:00:02 +00:00
Filipa Lacerda 595afed2e3 Integrates pagination component with API
Adds pagination tests

Remove misplaced comment

Fix broken store test
2017-02-12 13:59:27 +00:00
Filipa Lacerda bd01d79f73 Merge branch 'master' into fe-paginated-environments-api
* master: (97 commits)
  convert js-cookie dependency to an npm module
  convert timeago.js dependency to an npm module
  remove vue from vendor since it is now in node_modules
  Add CHANGELOG file
  Stylize blockquote in notification emails
  Add js prefix to right sidebar
  Replace accidentally deleted metaclick
  Remove right padding from navbar-collapse on large screens
  Add changelog
  common_utils merge conflicts
  Set sidebar height to 100% if at top of page
  Set height of fixed sidebars with js
  Add sticky sidebar on wiki page
  Fix comment button test for slash commands
  Fix time tracking spec
  Fix issue boards sidebar alignment and sidebar toggle spec
  Fix failing conflicts test
  Fix build sidebar scrolling
  Refactor JS
  Fix pinned sidebar alignment
  ...
2017-02-12 11:52:59 +00:00
Mike Greiling e7ac1628ae convert timeago.js dependency to an npm module 2017-02-11 01:02:57 -06:00
Filipa Lacerda 482e7ff012 Fix broken test and linter error 2017-02-09 17:32:08 +00:00
Filipa Lacerda d6ae01da55 Use CJS in all environments components 2017-02-09 11:55:35 +00:00
Filipa Lacerda 26a951b7ab Use CJS for tests.
Updates expected model in tests
2017-02-09 11:35:53 +00:00
Filipa Lacerda 71899e1087 Adjustments for the new response with counters
a
2017-02-09 11:11:15 +00:00
Filipa Lacerda b3309bb2fa Adjustments to receive new data schema 2017-02-09 11:10:46 +00:00
Kamil Trzcinski bc66944248
Fix stoppable? 2017-02-07 13:30:33 +01:00
Mike Greiling 69e4072f89 Merge branch 'master' into go-go-gadget-webpack
* master: (389 commits)
  Document "No gems fetched from git repositories" policy [ci skip]
  Typos
  Small gramatical tweaks
  Typos
  Added PHP & NPM doc
  Use `:empty_project` where possible in request specs
  Add caching of droplab ajax requests
  Use `:empty_project` where possible in model specs
  Revert 3f17f29a
  Remove unused js response from refs controller
  Add MR id to changelog entry
  fixed small mini pipeline graph line glitch
  Prevent form to be submitted twice
  Fix Error 500 when repositories contain annotated tags pointing to blobs
  Fix /explore sorting (trending)
  Simplify wording in "adding an image" docs
  Remove "official merge window" from CONTRIBUTING.md [ci skip]
  Update repository check documentation
  Fixed flexbox and wrap issues
  Update two_factor_authentication.md
  ...
2017-01-27 19:33:58 -06:00
Bryce Johnson f0b7e5708c Flag multiple empty lines in eslint, fix offenses. 2017-01-24 16:48:06 -05:00
Filipa Lacerda 463fddeafc Adds tests
Adds changelog entry

Finishes tests

Fix eslint errors

Fix teaspoon test timing out
2017-01-12 14:38:26 -05:00
Mike Greiling 19b94e715d fix globals within environments_bundle mock data 2017-01-10 12:30:44 -06:00
Mike Greiling 8d2099cb53 use ~ to reference non-local scripts instead of resolve.root 2017-01-10 12:30:43 -06:00