Commit Graph

117 Commits

Author SHA1 Message Date
Fatih Acet 0151325dac Merge request widget redesign 2017-05-09 04:15:34 +00:00
Kamil Trzciński 6ad3814e1b Merge branch 'feature/gb/manual-actions-protected-branches-permissions' into 'master'
Check access to a branch when user triggers manual action

Closes #20261

See merge request !10494
2017-05-06 17:17:02 +00:00
Zeger-Jan van de Weg c17e6a6c68 Real time pipeline show action 2017-05-06 16:45:46 +00:00
Winnie Hellmann b51f2a6080 Colorize labels in issue search field 2017-05-05 22:47:32 +00:00
Grzegorz Bizon b6facd8313 Merge commit '3a2b60f7' from 'master'
* commit '3a2b60f7a0109cdb84e8727a2625318a746e84dc': (151 commits)
  Fixed Karma spec
  Reject EE reserved namespace paths in CE as well
  Updated webpack config
  Include the bundler:audit job into the static-analysis job
  Document serializers
  Add artifact file page that uses the blob viewer
  Pipeline table mini graph dropdown remains open when table is refreshed
  Adds off for event hub
  Compile gitlab-shell go executables
  Allow to create new branch and empty WIP merge request from issue page
  Moved to a view spec
  Improving copy of CONTRIBUTING.md, PROCESS.md, and code_review.md
  Convert seconds to minutes and hours on chat notifations
  Disable navigation to Pages config if Pages is disabled
  Sort the network graph both by commit date and topographically.
  Add tooltips to note action buttons
  Add breadcrumb, build header and pipelines submenu to artifacts browser
  Update todos screenshots
  removes the possibility of commit messages having carriage returns
  Handle incoming emails from aliases correctly
  ...
2017-05-05 12:22:46 +02:00
Phil Hughes f29e5d4d93 Merge branch 'master' into deploy-keys-load-async 2017-05-03 17:04:47 +01:00
Grzegorz Bizon 738bf2c238 Merge branch 'master' into feature/gb/manual-actions-protected-branches-permissions
* master: (103 commits)
  Include missing project attributes to Import/Export
  Create the rest of the wiki docs
  Fill in information about creating the wiki Home page
  Move wiki doc to its own index page
  Create initial file for Wiki documentation
  Default to null user when asignee is unselected
  Re-enable ref operations with gitaly after not-found fix
  #31560 Add repo parameter to gitaly:install and workhorse:install
  Remove N+1 queries when checking nodes visible to user
  Don't validate reserved words if the format doesn't match
  Revert "Shorten and improve some job names"
  Remove unused initializer
  DRY the `<<: *except-docs` a bit in `.gitlab-ci.yml`
  Make the static-analysis job be run for docs branches too
  Add download_snippet_path helper
  Refresh the markdown cache if it was `nil`
  Add some documentation for the new migration helpers
  Update comments
  Display comments for personal snippets
  Update docs on creating a project
  ...
2017-05-03 12:27:30 +02:00
Douwe Maan d048d9268c Merge branch 'metrics-deployment-history' into 'master'
Metrics deployment history

Closes #26914

See merge request !10649
2017-05-02 16:56:49 +00:00
Sean McGivern 6d211eb7ac Merge branch 'add-tanuki-ci-status-favicons' into 'master'
updated to new favicons

Closes #12818

See merge request !10923
2017-05-02 10:15:24 +00:00
Grzegorz Bizon d276ea9372 Merge branch 'master' into feature/gb/manual-actions-protected-branches-permissions
* master: (314 commits)
  Better Explore Groups view
  Update Carrierwave and fog-core
  Add specs for Gitlab::RequestProfiler
  Add scripts/static-analysis to run all the static analysers in one go
  Shorten and improve some job names
  Group static-analysis jobs into a single job
  Don't blow up when email has no References header
  Update CHANGELOG.md for 9.1.2
  Add changelog
  Add changelog
  Show Raw button as Download for binary files
  Use blob viewers for snippets
  Fix typo
  Fixed transient failure related to dropdown animations
  Revert "Merge branch 'tc-no-todo-service-select' into 'master'"
  fix link to MR 10416
  Another change from .click -> .trigger('click') to make spec pass
  Change from .click -> .trigger('click') to make spec pass
  Disable AddColumnWithDefaultToLargeTable cop for pre-existing migrations
  Add AddColumnWithDefaultToLargeTable cop
  ...

Conflicts:
	spec/requests/api/jobs_spec.rb
2017-05-02 10:40:10 +02:00
Phil Hughes 357ab10da3 Fixed some spinach & rspec tests 2017-04-28 20:59:20 +01:00
Jacob Schatz 57f8be4e69 Merge remote-tracking branch 'origin/29667-deploy-keys' into deploy-keys-load-async 2017-04-27 16:40:27 -04:00
Sean McGivern 5069682d8e Enable RSpec/FilePath cop
- Ignore JS fixtures
- Ignore qa directory
- Rewrite concern specs to put concern name first
2017-04-26 12:50:32 +01:00
Luke "Jared" Bennett a14e28abe0
Added test 2017-04-25 18:36:05 +01:00
Pawel Chojnacki 33f7c40f3f use represent_concise instead of separate entity 2017-04-24 22:34:36 +02:00
Grzegorz Bizon 8c8f6db457 Merge branch 'master' into feature/gb/manual-actions-protected-branches-permissions
* master: (274 commits)
  Update VERSION to 9.2.0-pre
  Update CHANGELOG.md for 9.1.0
  Update Auto Deploy documentation
  Disable import URL field in New project form since it's hidden by default
  Remove reference to burndown charts since they don't exist for ce.
  Use master_password for Sentinel
  Refactor Discussions docs
  Start versioning cached markdown fields
  Refactor add_users method for project and group
  Improved the spec Now correctly tests against different forms
  Refactor environments components into vue files - part 3
  Adding animation for all dropdown
  fix placeholder visibility
  submodule_links: handle urls that don't end with .git
  Add help regarding vue resource and where to include it
  Append .json to ajax endpoint to prevent browser to display raw json
  Fixed the preview keyboard shortcut focusing wrong tab
  Fix broken link
  Added new discussions docs
  Started on resolvable discussions docs
  ...
2017-04-22 21:01:50 +02:00
Pawel Chojnacki e8f2daae8e Cleanup duplicates in deploymentEntityDetailed and add small spec tests 2017-04-20 12:21:24 +02:00
Pawel Chojnacki 4469946105 Reduce the amount of data deployment endpoint returns 2017-04-20 11:58:31 +02:00
Pawel Chojnacki 27cc95ab49 Merge remote-tracking branch 'upstream/master' into 26914-add_deploy_history_data_source 2017-04-20 11:10:00 +02:00
Luke "Jared" Bennett b544d8fade
Review changes, used eq instead of match 2017-04-17 13:18:40 +01:00
Grzegorz Bizon a8231ea1be Merge branch 'master' into feature/gb/manual-actions-protected-branches-permissions
* master: (641 commits)
  Revert "Fix registry for projects with uppercases in path"
  Fix registry for projects with uppercases in path
  Move event icons into events_helper
  Reset New branch button when issue state changes
  Add link to environments on kubernetes.md
  Indent system notes on desktop screens
  Improve webpack-dev-server compatibility with non-localhost setups.
  Add changelog entry
  Fix recent searches icon alignment in Safari
  Use preload to avoid Rails using JOIN
  Fix NUMBER_OF_TRUNCATED_DIFF_LINES re-definition error
  Prepare for zero downtime migrations
  Fix filtered search input width for IE
  Fix the `gitlab:gitlab_shell:check` task
  Fixed random failures with Poll spec
  Include CONTRIBUTING.md file when importing .gitlab-ci.yml templates
  Let uses hide verbose output by default
  Separate examples for each other
  Collapse similar sibling scenarios
  Use empty_project for resources that are independent of the repo
  ...

Conflicts:
	app/views/projects/ci/builds/_build.html.haml
2017-04-13 15:08:52 +02:00
Luke "Jared" Bennett b24cb99856
Updated specs 2017-04-13 12:50:03 +01:00
Grzegorz Bizon 0b75541559 Fix manual action entity specs 2017-04-12 15:22:32 +02:00
Jarka Kadlecova 703df2881b expose additional values in deploy key entity 2017-04-07 17:08:14 +02:00
Kamil Trzcinski 37a7b099d6
Merge remote-tracking branch 'origin/master' into optimise-pipelines 2017-04-06 22:05:22 +02:00
Grzegorz Bizon 3dbef510c1 Expose manual action abilities from a build entity 2017-04-06 17:15:15 +02:00
Kamil Trzcinski 227a664e5e
Next round 2017-04-06 15:36:13 +02:00
Kamil Trzcinski 93f9e71b0d
Further optimise queries 2017-04-06 15:21:25 +02:00
Kamil Trzcinski 62919a17e1
Update tests and associations 2017-04-06 15:14:40 +02:00
Kamil Trzcinski b828a98c1c
Optimise includes 2017-04-06 15:04:26 +02:00
Kamil Trzcinski 8a1c12aa6f
Introduce endpoint optimisations 2017-04-06 14:33:17 +02:00
Kamil Trzcinski 062806e47d
Define baseline for test for pipelines serializer 2017-04-06 14:32:39 +02:00
Filipa Lacerda 1b85c5a73f Merge branch 'master' into tc-fix-unplayable-build-action-404
* master: (525 commits)
  Introduce "polling_interval_multiplier" as application setting
  fix spelling CI_REPOSITORY_URL (line:355) gitab-ci-token to gitlab-ci-token.
  Pass Gitaly Repository messages to workhorse
  Use gitaly 0.5.0
  Fix specs
  Improve specs examples
  Minor refactor
  Fix BrachFormatter for removed users
  Changelog
  Fix specs
  One more change to the branch names to preserve metadata
  Prefixes source branch name with short SHA to avoid collision
  Fix GitHub importer for PRs of deleted forked repositories
  Change order of specs
  Clean history after every test that changes history
  Clean history state after each test
  Fixes method not replacing URL parameters correctly
  Fix a transient failure caused by FFaker
  Remove unnecessary ORDER BY clause when updating todos
  Add a wait_for_ajax call to ensure Todos page cleans up properly
  ...
2017-04-03 17:22:18 +01:00
Kushal Pandya 9a0f96f9ad Add metrics button to Environment Overview page 2017-03-31 09:20:11 +00:00
Pawel Chojnacki 7320387343 Use DeploymentSerializer to create deployment json 2017-03-28 12:52:13 +02:00
Robert Speicher b1222ebcf3 Use `:empty_project` where possible in serializer specs 2017-03-27 18:45:36 -04:00
Jarka Kadlecova e0dc73527a Project deploy keys json end point 2017-03-24 11:53:47 +01:00
Shinya Maeda a375d80eb0 Use detailed_status effectively. Remove unnecesarry context(nest). Add new context in merge_requests_controller_spec.rb and fix a bug. Correct description of spec. 2017-03-23 17:11:49 +09:00
Shinya Maeda d8343a0c41 Remove unnecessary spaces 2017-03-23 17:11:49 +09:00
Shinya Maeda 08a0bc5397 Add more specs 2017-03-23 17:11:49 +09:00
Shinya Maeda 74f13e0ddf Fix unchanged structure. Add favicon for 'failed_allowed' and 'success_warning' because it'll be used. 2017-03-23 17:11:49 +09:00
Shinya Maeda a5b96417f3 with_status to represent_status 2017-03-23 17:11:49 +09:00
Shinya Maeda 2b33e9eeb6 with_status to only_status 2017-03-23 17:11:49 +09:00
Shinya Maeda 170e542369 Fix deployment_entity_spec.rb. It also reads BuildSerializer. 2017-03-23 17:11:49 +09:00
Shinya Maeda 617292046c Add spec for entity and serializer 2017-03-23 17:11:49 +09:00
Toon Claes 16cca3a0ea Expose if action is playable in JSON
To avoid a manual build action being played (resulting in a 404),
expose `playable?` in the JSON so the frontend can disable/hide the
play button if it's not playable.
2017-03-20 14:39:37 +01:00
Grzegorz Bizon d0d94e4f10 Fix pagination headers in grouped environments API 2017-02-10 09:36:52 +01:00
Grzegorz Bizon a7420b77bd Add specs for standalone pagination for serializers 2017-02-06 15:07:13 +01:00
Grzegorz Bizon 16a72896a2 Extend environments folders and pagination API specs 2017-02-03 12:03:57 +01:00
Grzegorz Bizon a5e5e4ac8a Fix typo in pipeline serializer specs 2017-02-03 11:41:23 +01:00