Piotr Sarnacki
5e45008044
Env var should be saved with PATCH
2014-08-22 16:55:55 +02:00
Piotr Sarnacki
0014c65cbd
Fix hooks toggling
...
When changing adapter to make it work with env vars I used PATCH method.
Hooks are using PUT to update active fields, so it broke hooks. This
commit moves saveRecord with PATCH to env vars' adapter.
2014-08-21 20:23:05 +02:00
Piotr Sarnacki
b43842dade
Fix requests page
2014-08-21 17:07:59 +02:00
Piotr Sarnacki
a77f3827ee
Settings need a signed in user
2014-08-21 16:56:04 +02:00
Piotr Sarnacki
50e9986dda
Fixes after merging ps-env-vars
2014-08-21 16:39:15 +02:00
Piotr Sarnacki
9741ede075
Merge branch 'ps-env-vars'
...
Conflicts:
assets/scripts/app/controllers.coffee
assets/scripts/app/helpers/handlebars.coffee
assets/scripts/app/templates/repo/settings.hbs
assets/scripts/app/views/repo/show.coffee
assets/styles/tabs.sass
config.ru
2014-08-21 16:02:07 +02:00
Piotr Sarnacki
79806fb8f4
Fix env vars css on chrome, align forms
2014-08-21 14:34:10 +02:00
Piotr Sarnacki
daa8646eea
Add lock icon to a non public env var
2014-08-20 21:56:48 +02:00
Justine Arreche
6ac46f002f
wip re-styling env-vars
2014-08-20 21:38:33 +02:00
Piotr Sarnacki
71b4c6b865
Make env var form play better with oneliners
2014-08-20 14:41:31 +02:00
Piotr Sarnacki
3c847bbb38
Display env vars in one line
2014-08-20 12:45:04 +02:00
Piotr Sarnacki
b32bd3fe61
Fix settings link on the profile page
2014-08-20 11:45:27 +02:00
Piotr Sarnacki
5db108c5d4
Use switch on env vars form
2014-08-20 11:32:25 +02:00
Piotr Sarnacki
9aa3513766
Allow to resize switch with a font setting
2014-08-20 11:24:01 +02:00
Piotr Sarnacki
6aa9771170
Reset value in env_var controller also based on public attr
...
When we switch from private to public env var, we don't want to set
"***********" as a new value of a var.
2014-08-19 19:42:08 +02:00
Justine Arreche
d1de40d918
Cleaned up typographic dominant styling
2014-08-19 15:29:02 +02:00
Mathias Meyer
135b9afb43
Use "Private Key" as a label for the key field.
2014-08-18 11:24:39 +02:00
Mathias Meyer
3d6cc0cb1f
Fix casing for the settings tabs.
...
This also slighlty improves the copy on the SSH key settings page.
2014-08-18 10:45:13 +02:00
Piotr Sarnacki
0f3f966c3f
Update pusher to 2.2.2
2014-08-18 10:08:11 +02:00
Piotr Sarnacki
61f820cada
Specify _finishedAt and _startedAt as dependencies for duration
...
Because of our partial loading implementation we need to specify
finishedAt and startedAt differently than we would normally do. For some
reason duration was not recalculated while loading record and specifying
raw attributes helps here.
2014-08-15 06:25:19 +02:00
Piotr Sarnacki
4fc599f767
Revert dd46161
and 2ccade4
...
Duration on job was not specified, beacuse we actually don't return
duration from the API, it's always calculated based on startedAt and
finishedAt, that's why it's obsolete. It doesn't hurt to have it defined
on the Job model, but there's no need to do it.
2014-08-15 06:05:04 +02:00
Piotr Sarnacki
dd46161487
Duration is not returned before build is finished
2014-08-14 22:47:56 +02:00
Piotr Sarnacki
2ccade46a4
Fix some of the issues with duration sometimes not showing up
...
* duration was not actually defined in Travis.Job, which may have caused
bugs when combined with partial record loading (so for example it was
ok on a refresh, but may have been broken on update)
* notStarted was not a dependency of duration
2014-08-14 22:39:49 +02:00
Piotr Sarnacki
615edb5686
Fix specs
...
For some reason mocked ajax queries don't fire when build page is opened
directly in specs. I don't want to go into detail at this point, because
I plan rewriting build/job related views and controllers to decouple
repo controller anyway, which should fix some of the oddities.
2014-08-14 18:45:06 +02:00
Piotr Sarnacki
0ba62df35c
Remove outdated specs
2014-08-14 16:08:57 +02:00
Christophe Coevoet
c482100769
Fixed the display of the build in the list of requests
...
Closes travis-ci/travis-ci#2667
2014-08-14 03:03:00 +02:00
Piotr Sarnacki
1f2b8a84ff
Don't display link to caches if caches are disabled
2014-08-12 16:06:06 +02:00
Piotr Sarnacki
eb8b5092e6
Revert "Revert "Better wording for deleting all caches""
...
This reverts commit a9b1560999
.
2014-08-12 16:05:30 +02:00
Piotr Sarnacki
94a752592d
Revert "Revert "API uses match to filter by slug""
...
This reverts commit 0a9fdb718c
.
2014-08-12 16:05:28 +02:00
Piotr Sarnacki
eecd5187a3
Revert "Revert "Page for displaying caches""
...
This reverts commit 3d6931c523
.
2014-08-12 16:05:21 +02:00
Sven Fuchs
361afed583
bump travis-web-log
2014-08-12 15:59:41 +02:00
Sven Fuchs
3d6931c523
Revert "Page for displaying caches"
...
This reverts commit a58688b451
.
2014-08-12 15:53:19 +02:00
Sven Fuchs
0a9fdb718c
Revert "API uses match to filter by slug"
...
This reverts commit e286428722
.
2014-08-12 15:53:06 +02:00
Sven Fuchs
a9b1560999
Revert "Better wording for deleting all caches"
...
This reverts commit 07b06b2b8c
.
2014-08-12 15:52:40 +02:00
Sven Fuchs
11a4293fc1
turn off debugging
2014-08-12 15:42:48 +02:00
Sven Fuchs
f8ce687b2e
bump web-log
2014-08-12 15:03:49 +02:00
Sven Fuchs
eba80920b6
update web-log, add styles, turn on DEBUG
2014-08-12 15:03:49 +02:00
Sven Fuchs
8ed39d75e8
bump travis-web-log
2014-08-12 15:03:49 +02:00
Sven Fuchs
097a076a33
use log.js from travis-web-log/sf-log-timing
2014-08-12 15:03:49 +02:00
Piotr Sarnacki
2958717eba
Fix settings tab highlighting
2014-08-06 16:38:37 +02:00
Piotr Sarnacki
b4dc5ec547
Don't try to put labels on nested paths
2014-08-06 16:30:44 +02:00
Piotr Sarnacki
d50ec7f5af
General -> General settings
2014-08-06 16:04:30 +02:00
Piotr Sarnacki
907c363707
Add labels to settings forms
2014-08-06 16:01:28 +02:00
Piotr Sarnacki
07b06b2b8c
Better wording for deleting all caches
2014-08-05 18:15:13 +02:00
Piotr Sarnacki
e286428722
API uses match to filter by slug
2014-08-05 18:14:34 +02:00
Piotr Sarnacki
a58688b451
Page for displaying caches
2014-08-05 18:09:24 +02:00
Piotr Sarnacki
c6cfd57b0a
Proper field name on ssh_key form
2014-08-01 04:33:57 +02:00
Piotr Sarnacki
534ac6431b
Allow to disable ssh_key
2014-08-01 04:33:04 +02:00
Piotr Sarnacki
74d20d0149
Ssh key form styling and polishing
2014-08-01 04:10:26 +02:00
Piotr Sarnacki
c9f58718cf
Final touches on env vars
2014-08-01 02:50:20 +02:00