-
- Downloads
Create barebones for Deploytoken
Includes: - Model, factories, create service and controller actions - As usual, includes specs for everything - Builds UI (copy from PAT) - Add revoke action Closes #31591
Showing
- app/assets/javascripts/pages/projects/settings/repository/show/index.js 2 additions, 0 deletions...ascripts/pages/projects/settings/repository/show/index.js
- app/assets/stylesheets/pages/settings.scss 19 additions, 0 deletionsapp/assets/stylesheets/pages/settings.scss
- app/controllers/projects/deploy_tokens_controller.rb 34 additions, 0 deletionsapp/controllers/projects/deploy_tokens_controller.rb
- app/controllers/projects/settings/repository_controller.rb 10 additions, 0 deletionsapp/controllers/projects/settings/repository_controller.rb
- app/models/deploy_token.rb 25 additions, 0 deletionsapp/models/deploy_token.rb
- app/models/project.rb 1 addition, 0 deletionsapp/models/project.rb
- app/presenters/projects/settings/deploy_tokens_presenter.rb 48 additions, 0 deletionsapp/presenters/projects/settings/deploy_tokens_presenter.rb
- app/services/deploy_tokens/create_service.rb 24 additions, 0 deletionsapp/services/deploy_tokens/create_service.rb
- app/views/profiles/personal_access_tokens/index.html.haml 0 additions, 1 deletionapp/views/profiles/personal_access_tokens/index.html.haml
- app/views/projects/deploy_tokens/_form.html.haml 21 additions, 0 deletionsapp/views/projects/deploy_tokens/_form.html.haml
- app/views/projects/deploy_tokens/_index.html.haml 19 additions, 0 deletionsapp/views/projects/deploy_tokens/_index.html.haml
- app/views/projects/deploy_tokens/_new_deploy_token.html.haml 9 additions, 0 deletionsapp/views/projects/deploy_tokens/_new_deploy_token.html.haml
- app/views/projects/deploy_tokens/_revoke_modal.html.haml 15 additions, 0 deletionsapp/views/projects/deploy_tokens/_revoke_modal.html.haml
- app/views/projects/deploy_tokens/_scope_form.html.haml 4 additions, 0 deletionsapp/views/projects/deploy_tokens/_scope_form.html.haml
- app/views/projects/deploy_tokens/_table.html.haml 29 additions, 0 deletionsapp/views/projects/deploy_tokens/_table.html.haml
- app/views/projects/settings/repository/show.html.haml 1 addition, 0 deletionsapp/views/projects/settings/repository/show.html.haml
- changelogs/unreleased/31591-project-deploy-tokens-to-allow-permanent-access.yml 5 additions, 0 deletions...31591-project-deploy-tokens-to-allow-permanent-access.yml
- config/routes/project.rb 6 additions, 0 deletionsconfig/routes/project.rb
- db/migrate/20180319190020_create_deploy_tokens.rb 16 additions, 0 deletionsdb/migrate/20180319190020_create_deploy_tokens.rb
- db/schema.rb 15 additions, 0 deletionsdb/schema.rb
app/models/deploy_token.rb
0 → 100644
app/services/deploy_tokens/create_service.rb
0 → 100644
Please register or sign in to comment