Commit Graph

20 Commits

Author SHA1 Message Date
Mike Greiling c90cfbd4ea
ensure all project repository settings panels remain open after form submission 2018-08-08 01:17:43 -05:00
Annabel Dunstone Gray 0deb8547af
Replace label-light with label-bold. Because it's bold, not light 2018-07-19 17:11:31 -05:00
Marcel Amirault 7a5b5f1e6c Update _form.html.haml (deploy tokens) to improve display of scopes 2018-07-18 13:05:30 +00:00
George Tsiolis 6af7397f60 Close revoke deploy token modal on escape keypress 2018-07-05 07:43:16 +00:00
Filipa Lacerda 26dd4b3b49
Adds an ID to the settings section to allow anchor linking 2018-06-27 13:25:17 +01:00
Sam Beckham f4ab8fe3a7 Resolve "Creating a deploy token doesn't bring back to the creation page" 2018-06-18 11:38:22 +00:00
samdbeckham 696766fee1 Updated the styling for modal titles 2018-06-01 15:20:26 +01:00
samdbeckham 4963303fae Updates a load of modal headers to use better markup 2018-06-01 15:01:37 +01:00
Clement Ho b413785e1d [skip ci] Replace .pull-right with .float-right 2018-04-09 12:42:45 -05:00
Clement Ho 3e7a17d475 Replace .pull-left with .float-left 2018-04-09 12:36:21 -05:00
Mayra Cabrera 5bc58bac26 Handle limit for datetime attributes on MySQL
The TIMESTAMP data type is used for values that contain both date and
time parts. TIMESTAMP has a range of '1970-01-01 00:00:01' UTC to
'2038-01-19 03:14:07' UTC.

A Forever lib class was included to handle future dates for PostgreSQL
and MySQL, also changes were made to DeployToken to enforce Forever.date

Also removes extra conditional from JwtController
2018-04-06 22:28:44 -05:00
Mayra Cabrera 2991381630 Addresses database comments
- Adds a default on expires_at datetime
- Modifies deploy tokens views to handle default expires at value
- Use datetime_with_timezone where possible
- Remove unused scopes
2018-04-06 21:20:17 -05:00
Mayra Cabrera c4f56a8802 Increase test suite around deploy tokens behavior
Also, fixes broken specs
2018-04-06 21:20:17 -05:00
Mayra Cabrera a475411f43 Fixes broken schema and minor changes 2018-04-06 21:20:16 -05:00
Kamil Trzciński 2c6c61815e Get rid of Redis when dealing with deploy tokens
We use controller actions to pass a newly created token and errors
2018-04-06 21:20:16 -05:00
Mayra Cabrera 8315861c9a Include ProjectDeployTokens
Also:
- Changes scopes from serializer to use boolean columns
- Fixes broken specs
2018-04-06 21:20:16 -05:00
Mayra Cabrera 726f5bbf04 Fix i18n on deploy_token views 2018-04-06 21:20:16 -05:00
Mayra Cabrera 46a6036cf9 Addreses frontend review
Also fixes spec failures on presenter and docs
2018-04-06 21:20:16 -05:00
Mayra Cabrera 345ac03b7a Address UX review
- Keep 'Deploy Section' open upon save, otherwise the token might get
  lost
- When an error appears, display the error inside the form and also keep
  the Deploy Section open
- Changue copy of revoke modal
2018-04-06 21:20:16 -05:00
Mayra Cabrera db18993f65 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
2018-04-06 21:20:16 -05:00