Commit Graph

312 Commits

Author SHA1 Message Date
Jose Ivan Vargas 146954d0bb UX Adjustments for the prometheus dashboard 2018-04-06 14:37:46 -05:00
Kushal Pandya 10143937c1 Add page helper methods for notesApp 2018-04-05 13:54:41 +05:30
Jan Provaznik 65664c2eae Refactor discussions/notes code 2018-04-03 16:03:00 +00:00
Tim Zallmann 9d958af5a2 Fixed Utility Function based on Review Comments 2018-03-28 15:35:28 +02:00
Tim Zallmann a868ca0b12 Removed strangely added import 2018-03-28 12:50:50 +02:00
Tim Zallmann 8b72bcfae0 Added Utility Function for WebIDE URL 2018-03-28 12:17:30 +02:00
Simon Knox 44fce0b0fd Resolve "Loss of input text on comments after preview" 2018-03-20 17:02:41 +00:00
Phil Hughes bd26e012fc Merge branch 'remove-jquery-globals' into 'master'
Require jQuery to be explicitly imported

See merge request gitlab-org/gitlab-ce!17674
2018-03-12 10:55:46 +00:00
Mike Greiling f248be7257
require jQuery to be explicitly imported 2018-03-09 15:18:09 -06:00
Filipa Lacerda 06cb160b43
Removes duplicated & non used code 2018-03-09 16:49:43 +00:00
Kushal Pandya e4ec50b70b Add support for query params for labels endpoint 2018-03-02 23:29:39 +05:30
Fatih Acet 059ab73b8e Render MR Notes with Vue with behind a cookie 2018-02-28 00:10:43 +00:00
André Luís da531c3905 Add Tip about Push to Create project on New Project page 2018-02-23 09:00:19 +00:00
Jacob Schatz 35c8fd5586 Update to jQuery 3. 2018-02-20 22:20:48 +00:00
Filipa Lacerda bb6895ec6c Merge branch '3559-ce-port-group-roadmap' into 'master'
CE Port for Group Roadmap changes

See merge request gitlab-org/gitlab-ce!16908
2018-02-07 16:52:10 +00:00
Kushal Pandya 3976368808 Add `convertObjectPropsToCamelCase` helper method 2018-02-07 21:32:38 +05:30
Kushal Pandya 99a5c4b932 Add `convertToCamelCase` helper method 2018-02-07 19:00:11 +05:30
Kushal Pandya 74f6ef9f91 Add more date helper functions 2018-02-07 19:00:07 +05:30
Eric Eastwood 3be32027b6 Use dynamic variable list in scheduled pipelines and group/project CI secret variables
See https://gitlab.com/gitlab-org/gitlab-ce/issues/39118

Conflicts:
	app/views/ci/variables/_form.html.haml
	app/views/ci/variables/_table.html.haml
	ee/app/views/ci/variables/_environment_scope.html.haml
	spec/javascripts/ci_variable_list/ci_variable_list_ee_spec.js
	spec/javascripts/fixtures/projects.rb
2018-02-05 13:09:29 -06:00
Phil Hughes 645d635976
fixed issue with axios_utils not reducing activeVueResources variable when request fails 2018-02-02 10:05:37 +00:00
Phil Hughes 4377b4795f
remove useless ajaxPost method 2018-02-01 09:14:53 +00:00
Phil Hughes a3356bce09
fixed eslint 🙈 2018-01-31 15:48:12 +00:00
Phil Hughes 5d88e736ac
Merge branch 'master' into ph-axios-2 2018-01-31 15:45:02 +00:00
Clement Ho 2f1a55fa4e Use axios instead of jquery ajax for setCiStatusFavicon 2018-01-31 15:24:54 +00:00
Phil Hughes 641f1d2c4b
Converted common_utils to axios 2018-01-31 10:14:55 +00:00
Phil Hughes ae401d03d3
Converted ajax_cache to axios 2018-01-31 09:58:14 +00:00
Phil Hughes 9af1773f8d
Converted API.js to axios 2018-01-30 09:12:56 +00:00
Winnie Hellmann d82e709fe5 Make sure that axios adapater is restored after mocking 2018-01-25 12:51:36 +01:00
Tim Zallmann e79db43d2c WebIDE: Fix Commit bugs 2018-01-19 09:38:34 +00:00
Filipa Lacerda f6e339141d
Backport of methods and components added in EBackport of methods and components added in EEE 2018-01-03 21:03:39 +00:00
Eric Eastwood d2e5313ad8 Switch issue_show to Axios 2018-01-02 17:59:04 -06:00
Eric Eastwood b7da615c0d Fix mergeUrlParams encoding query parameters
Before:
/-/boards/1/issues.json?page=1&per=50&scope=all&utf8=✓&state=opened&milestone_title=#upcoming

After:
 /-/boards/1/issues.json?page=1&per=50&scope=all&utf8=%E2%9C%93&state=opened&milestone_title=%23upcoming
2018-01-02 17:56:35 -06:00
Eric Eastwood 5df1a6d312 Add `X-Requested-With: XMLHttpRequest` header so Rails can recognize XHR
Backport from
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3732
2018-01-02 17:56:35 -06:00
Winnie Hellmann 4a95302d3e Restore missing language code in datetime_utility.js 2017-12-21 11:22:47 +00:00
Winnie Hellmann 1109a5cea4 Move dateTickFormat to separate module 2017-12-18 11:13:41 +01:00
Filipa Lacerda 3c19c971df
Merge branch 'master' into 38869-datetime
* master: (112 commits)
  small change to make less conflict with EE version
  Add cop for use of remove_column
  Resolve merge conflicts with dev.gitlab.org/master after security release
  add index for doc/administration/operations/
  Remove RubySampler#sample_objects for performance as well
  Bugfix: User can't change the access level of an access requester
  Add spec for removing issues.assignee_id
  updated imports
  Keep track of storage check timings
  Remove a header level in the new 'Automatic CE->EE merge' doc
  Improve down step of removing issues.assignee_id column
  Fix specs after removing assignee_id field
  Remove issues.assignee_id column
  Resolve conflicts in app/models/user.rb
  Fix image view mode
  Do not raise when downstream pipeline is created
  Remove the need for destroy and add a comment in the spec
  Use build instead of create in importer spec
  Simplify normalizing of paths
  Remove allocation tracking code from InfluxDB sampler for performance
  ...
2017-12-11 19:42:58 +00:00
Phil Hughes 00fa900fc1
fixed URL being undefined :face_palm: 2017-12-08 08:54:51 +00:00
Phil Hughes e0bbadc2d2
use exported methods instead of gl.utils 2017-12-08 08:54:51 +00:00
Phil Hughes 13df7a85cb
Moved URL utility methods into es modules 2017-12-08 08:52:41 +00:00
Filipa Lacerda a2479aaa1b
Merge branch 'master' into 38869-datetime
* master: (82 commits)
  Docs: add EEU tier to the landing page
  CE backport of ProtectedBranches API changes
  Support uploads for groups
  Update pipeline create chain Prometheus metric
  Don't set timeago title to what was already there.
  Resolve "Display member role per project"
  The API isn't using the appropriate services for managing forks
  Add chevron to create dropdown on repository page
  Rename GKE as Kubernetes Engine
  Fix specs for MySQL
  Fix broken tests
  Refactor banzai to support referencing from group context
  Fix specs after rebase
  Prevent dups when using StringIO for binary reads
  Bump redis-rails to 5.0.2 to get redis-store security updates
  add note on deploying Pages to a private network
  Bump GITLAB_SHELL_VERSION
  Updates the dropdown to match the docs and remove old hack of stop event propagation
  Move invalid builds counter out of the transaction
  Add invalid builds counter metric to stage seeds class
  ...
2017-12-07 13:44:09 +00:00
Filipa Lacerda 139ce1c445
Export date utility functions as ES6 modules 2017-12-07 11:09:17 +00:00
Bob Van Landuyt a79f7ca3af Don't set timeago title to what was already there.
This didn't actually do anything.
2017-12-07 10:19:46 +01:00
Eric Eastwood 078ba6a2d6 Fix issue comment submit button disabled on GFM paste
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/40373

When copying some text from another note and paste,
it goes through `copy_as_gfm` `paste` handler
that calls `e.preventDefault()` which stops things.
But then when inserting the text, we manually trigger
an `input` event with jQuery which doesn't seem to be
picked up by Vue `v-model`.

Using copy/paste trick from https://stackoverflow.com/a/41046276/796832
2017-11-28 10:53:01 -06:00
Fatih Acet f8de23e626 Merge branch 'backport-add-epic-sidebar' into 'master'
Backport of add-epic-sidebar

See merge request gitlab-org/gitlab-ce!15335
2017-11-27 20:21:53 +00:00
Filipa Lacerda 4563156256 Improve environments performance 2017-11-23 12:04:03 +00:00
Filipa Lacerda 9400ed3b3e Use axios instead of vue resource - step 1 2017-11-20 09:57:08 +00:00
Clement Ho fe93f98275 Update text_utility.js 2017-11-17 16:53:18 +00:00
Clement Ho 56a0415846 Fix potential EE conflict 2017-11-16 13:34:35 -06:00
Clement Ho cd0ae8541c Merge branch 'master' into 'backport-add-epic-sidebar'
# Conflicts:
#   app/assets/javascripts/lib/utils/text_utility.js
2017-11-15 22:23:10 +00:00
Annabel Dunstone Gray 227de8f06f Merge branch 'fix-typo' into 'master'
Fix typo

See merge request gitlab-org/gitlab-ce!15358
2017-11-14 17:30:46 +00:00