Commit Graph

17 Commits

Author SHA1 Message Date
Grzegorz Bizon 9363675380 Use update build policy instead of new play policy 2017-05-05 12:25:24 +02:00
Grzegorz Bizon 72307940bb Improve code style related to protected actions 2017-05-03 12:32:39 +02:00
Grzegorz Bizon 2aa211fa69 Use build policy to determine if user can play build 2017-04-12 13:48:43 +02:00
Grzegorz Bizon 3dbef510c1 Expose manual action abilities from a build entity 2017-04-06 17:15:15 +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
Shinya Maeda a5b96417f3 with_status to represent_status 2017-03-23 17:11:49 +09:00
Shinya Maeda 3b63500297 3 lines to One line. Correct spec caption. 2017-03-23 17:11:49 +09:00
Shinya Maeda ba27f1b954 Expose only status. ci_cd_status to status. Support abstract class. 2017-03-23 17:11:48 +09:00
Shinya Maeda 0e06cfc059 Add api points for ci cd status. Add favicon. 2017-03-23 17:11:48 +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
Kamil Trzcinski be039d22d7 Make manual actions blocking 2017-03-06 10:04:04 +01:00
Grzegorz Bizon 651eccda62 Expose timestamp in build entity used by serializer 2016-11-29 14:14:05 +01:00
Grzegorz Bizon 54ee0df78a Do not use absolute URLS in entities use relative 2016-11-17 16:10:12 +01:00
Grzegorz Bizon b0a4635be3 Simplify implementation of entity serializers 2016-11-04 15:00:39 +01:00
Grzegorz Bizon f203ca5c93 Fix specs related to deployments and environments 2016-11-03 15:19:07 +01:00
Grzegorz Bizon 52d333b9f4 Remove duplication from build serializer entity 2016-11-03 13:35:57 +01:00
Grzegorz Bizon 573921cb9d Implement entities needed for environments folders 2016-11-03 13:27:00 +01:00