Commit Graph

1189 Commits

Author SHA1 Message Date
Piotr Sarnacki
eb78d62adb Change popup functions to not use events 2015-01-09 13:07:12 +01:00
Piotr Sarnacki
4d9d0f10d9 Bring back hack for download log button 2015-01-09 13:07:12 +01:00
Lisa P
3bf326a942 Add actions for remove log 2015-01-09 13:07:12 +01:00
Lisa P
3582969e90 add popup stub 2015-01-09 13:06:15 +01:00
Piotr Sarnacki
2a64382563 Use Urls.githubCommit for githubify 2015-01-09 11:18:02 +01:00
Piotr Sarnacki
2d468190e0 Fix the message about public/private repos on account page 2015-01-08 17:14:38 +01:00
Piotr Sarnacki
7959442a99 Disable remove log button for now 2015-01-08 17:11:48 +01:00
Piotr Sarnacki
78dccd194c Bring back hack for download log button 2015-01-08 17:03:34 +01:00
Lisa P
97050b8111 Add actions for remove log 2015-01-08 16:56:40 +01:00
Lisa P
c0a681e73b add popup stub 2015-01-08 15:45:43 +01:00
Piotr Sarnacki
cc7fef21ca Fix download log and remove log button display checks
For some reason when we run get('build.jobs.firstObject.id') it returns
different result than get('build.jobs').objectAt(0).get('id'). I can't reproduce
it on a clean Ember application, so it's probably a consequence of something
that we do in our views.
2015-01-08 15:15:41 +01:00
Piotr Sarnacki
e6bde154ec Put statusImages in actions 2015-01-08 14:16:53 +01:00
Piotr Sarnacki
d2faa71acc Show code climate for both pro and org 2015-01-08 14:07:44 +01:00
Piotr Sarnacki
ad0567fe13 Remove regenerate key option from settings menu for now
We added regenerate key button in order to allow people reset their private key
on Travis CI after a possible security breach. Travis CI users can't leak the
key, because they don't even have access to it, so at this point it's not needed
anymore.
2015-01-08 12:16:07 +01:00
Piotr Sarnacki
e68b6b49c0 Fix getting started page 2015-01-08 11:50:02 +01:00
Piotr Sarnacki
8abbdb931a Show lint only on org 2015-01-08 10:42:00 +01:00
Piotr Sarnacki
2d69946772 It's Travis.config not Travis.features 2015-01-07 17:19:08 +01:00
Piotr Sarnacki
86a02ad1da Add access_token only on pro for log url 2015-01-07 13:06:05 +01:00
Piotr Sarnacki
35b059e783 Fix initialization for pro 2015-01-06 18:14:19 +01:00
Piotr Sarnacki
f566d601ee Move toggleTailing to actions in PreView 2015-01-06 14:08:21 +01:00
Piotr Sarnacki
36b174102a Change /my_repositories to /repositories 2015-01-06 14:01:41 +01:00
Piotr Sarnacki
963ad64d62 Oh, logic, how does it work 2015-01-06 13:50:03 +01:00
Piotr Sarnacki
c6195f124a Show 'we're hiring' message only on .org 2015-01-06 13:49:11 +01:00
Piotr Sarnacki
60410d50ec Show 'we're hiring message 2015-01-06 13:47:11 +01:00
Piotr Sarnacki
321c1efb33 Fix specs 2015-01-06 13:08:41 +01:00
Piotr Sarnacki
514a127083 Add layout for notFound view 2015-01-06 13:08:16 +01:00
Piotr Sarnacki
0074acb8fe Fix profile info tab 2015-01-06 12:45:08 +01:00
Piotr Sarnacki
e95e679e80 Use label helper on ssh key form 2014-12-31 15:45:53 +01:00
Piotr Sarnacki
5cfc3d44a6 Fix ssh key form when returning after form was open
When user opens ssh key form, navigates to a different rote and returns, ssh key
form shows that a custom key is added, but it's just a leftover from the
previous open of the form. It seems that Ember Model caches the new model in
the store and returns it from fetch. The fix is to return null in such case.
2014-12-31 15:35:02 +01:00
Piotr Sarnacki
04e97aa9ab Fix HTML on repos/show/empty.hbs 2014-12-31 15:18:25 +01:00
Piotr Sarnacki
8241c2b91e Bring back billing link in the user menu on top bar 2014-12-30 13:37:11 +01:00
Piotr Sarnacki
dee7e7758a Fix auth view to include layout 2014-12-30 13:06:43 +01:00
Piotr Sarnacki
d95738c975 Use Handlebars.registerHelper instead of .helper 2014-12-30 12:25:43 +01:00
Piotr Sarnacki
fbcfa04859 Don't destroy parts on cleanup
Destroying parts on cleanup can have weird effects, because we observe parts in
log view.
2014-12-30 11:58:56 +01:00
Piotr Sarnacki
eb9eac2b09 Merge branch 'refactoring' into ps-travis-pro-merge 2014-12-30 11:30:08 +01:00
Piotr Sarnacki
47e1de1d26 Extract Github URLs to controller 2014-12-30 11:28:49 +01:00
Piotr Sarnacki
f64adfbc89 Use injected 'config' object instead of global Travis.config 2014-12-30 11:19:55 +01:00
Piotr Sarnacki
15283b0294 Use model property instead of content on controllers 2014-12-30 11:19:38 +01:00
Piotr Sarnacki
63ea231fe6 [pro-merge] Use proper template for running jobs 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
86c2e8334e [pro-merge] Sidebar can be rendered, no need to use outlet 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
e9cbd98713 [pro-merge] Update routes with changes from travis-pro 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
fde3af46f2 [pro-merge] Add application configuration hooks for pro 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
23dd688d09 [pro-merge] Add token to log urls when in pro mode 2014-12-29 18:17:58 +01:00
Piotr Sarnacki
73f06eba0f [pro-merge] Add token when fetching logs 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
8309941c95 [pro-merge] Add pusher extensions for travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
88eb2e09db [pro-merge] Feature flip url helpers that need token in travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
e712644a86 [pro-merge] Add views used only on pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
2c05af6588 [pro-merge] Add travis-pro auth extensions 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
8e2f8fc7f3 [pro-merge] Add controllers and controller extensions from travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
b4573ff293 [pro-merge] Add model extensions from travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
f8c17775ed [pro-merge] Add config entries from travis pro 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
249d45ace6 Move save method in settings to actions 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
385287489c Fix toggling hooks on profile page 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
66be22af68 Fix actions on views
Almost all actions on views were not properly handled, because they were still
methods directly on a view object rather than in `actions` property. This commit
fixes it.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
f355bc58f3 Fix search to work with new way of handling repos tabs 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
345dacff29 Remove deprecation warnings for #with 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
b771f79587 No need to specify path when path is the same as name 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
9d4146f155 Refactor index.recent and index.my_repositories routes 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
5f2f4c3852 First stab at fixing weird view errors
This commit starts refactoring of one of the remaining areas where we do weird
tricks to get the desired behaviour. Namely, we were treating "my_repositories"
and "recent" not as individual routes with separate URLs, but only different
states on the repos controller. Such approach leads to various problem with
connecting outlets on rerenders (ie. we don't explicitly connect outlets when
changing from one view to another programatically).

A new cleaner way is to change both tabs into routes.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
0dfb5dc10c Get parts from a log object
For some reason using this.get('log.parts') is not equivalent to
log.get('parts')
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
e08584b879 Fix HTML 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
8d867010b5 Outlet names should be passed as strings 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
fa6b0fe161 No need to destroy parts in runloop 2014-12-29 18:16:16 +01:00
Piotr Sarnacki
0a69a5424d Fix log errors on 1.8.1
This part needs further refactoring, but for now I just fixed log view to
teardown and setup things properly in all cases something changes (when element
is inserted or removed, but also when log object is changed).
2014-12-29 18:16:15 +01:00
Piotr Sarnacki
e6800c80c6 Refactor our layout handling
Layout handling in travis-web was implemented in a dynamic way, so we
could change a main layout from any of the routes. This needed a
`rerender` call which was making things harder and needed some hacks. It
also broke a few transitions when upgrading to 1.8.1.

After examining our usage of layouts I've noticed that we don't need to
change the entire layout dynamically and instead we can set layout on
root routes (like "index", "profile" and other root routes).
2014-12-29 18:16:14 +01:00
Piotr Sarnacki
09eeeaff1b Revert "Revert "Merge pull request #308 from rwjblue/update-ember""
This reverts commit 840ce5a47d.
2014-12-29 18:16:14 +01:00
Mathias Meyer
1e97d6fb59 Merge pull request #319 from travis-ci/ja-new-topbar
ch-ch-changes on topbar
2014-12-23 09:30:01 +01:00
Adam Prescott
922fb93dca Rename 'Concurrent builds' setting to 'Concurrent jobs'.
My understanding is that this setting is actually a value used to
control job concurrency, not build concurrency, so this clarifies that
by referring to jobs instead of builds.
2014-12-22 15:48:46 -05:00
Piotr Sarnacki
296d25206e Forgot to remove static text used for testing 2014-12-22 18:51:07 +01:00
Piotr Sarnacki
f2bd748526 Make commit first line go under branch if it's too long 2014-12-22 18:49:21 +01:00
Justine Arreche
59115b7779 ch-ch-changes on topbar 2014-12-22 16:47:55 +01:00
Piotr Sarnacki
a287026aa2 Merge branch 'ps-fix-subject' 2014-12-19 11:09:17 +01:00
Mathias Meyer
a2af3f859b Uncomment hiring message. 2014-12-19 09:10:43 +01:00
Piotr Sarnacki
fc18c185cc Change request-kind background to have flexible height 2014-12-18 21:52:49 +01:00
Mathias Meyer
2a5b1c89d8 Fix link to status page. 2014-12-18 09:29:21 +01:00
Mathias Meyer
b5276ef4a6 Hacky fix to make the status images work again.
The bindings are a bit odd in this setup. The status images view
reaches into the repos/show view to fetch relevant information.
2014-12-12 18:21:46 +01:00
Mathias Meyer
096e9872a6 Fix eventType for the build.
This (somehow) ensures that the job page is properly populated.
2014-12-12 12:22:20 +01:00
Mathias Meyer
81ffc3d6a7 Fix pull request number display. 2014-12-12 12:06:21 +01:00
Mathias Meyer
aef53f4554 Fix event type display on the jobs page. 2014-12-12 11:41:54 +01:00
Justine Arreche
806fd899bc attempting to add job event types to jobs tab 2014-12-12 11:36:43 +01:00
Josh Kalderimis
90c8997379 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 20:23:13 +01:00
Josh Kalderimis
354c6a4410 Revert "trying to fix ember stuffs"
This reverts commit e4a76499a8.
2014-12-11 20:22:47 +01:00
Josh Kalderimis
a2d4446382 Revert "comment out push code"
This reverts commit 2d5643f392.

Conflicts:
	assets/scripts/app/models/build.coffee
2014-12-11 20:22:33 +01:00
Josh Kalderimis
b09d26b1e8 removed some commented out code for now
recommended by @rwjblue
2014-12-11 20:14:40 +01:00
Justine Arreche
2f1933a137 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 19:54:58 +01:00
Justine Arreche
e4a76499a8 trying to fix ember stuffs 2014-12-11 19:52:37 +01:00
Justine
a7ad256324 Auto-merged master into ja-build-header on deployment. 2014-12-11 19:36:21 +01:00
Justine Arreche
860977347f add push 2014-12-11 19:34:56 +01:00
Justine Arreche
2d5643f392 comment out push code 2014-12-11 19:31:05 +01:00
Justine Arreche
3995a0aa90 added default avatar and hid hiring 2014-12-11 15:54:39 +01:00
Justine Arreche
22aab4a629 created classes for push and pull requests 2014-12-11 11:55:08 +01:00
Justine Arreche
a1eac086fd commented out the remove log tool for now 2014-12-10 22:04:47 +01:00
Sven Fuchs
8a3c05fe36 fix repo settings menu to not display the "regenerate key" item when user does not have admin access 2014-12-10 21:30:46 +01:00
Sven Fuchs
776e3e9c3b set the build request type class from build.eventType 2014-12-10 21:30:46 +01:00
Justine Arreche
ce3ef8f7d2 fixed line-height issue in Chrome and Firefox 2014-12-10 21:30:45 +01:00
Justine Arreche
ae00085f88 added pull request and push icons and pushed author to baseline of new-summary div 2014-12-10 21:30:45 +01:00
Piotr Sarnacki
a8bd45eaec Fix code climate icon 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
03926ddc70 Text breaks icons position, removing for now 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
55f6fa30ec Fix PR info on jobs/show 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
cb3f1a4d9f More fixes for IE 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
e32e2922de Change loading spinner type on icons 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
79968ca76b Compatibility fixes for new build header 2014-12-10 21:30:44 +01:00
Justine Arreche
326e31b6a1 svg icons 2014-12-10 21:30:44 +01:00
Justine Arreche
847786cbea changed delete log to download log 2014-12-10 21:30:43 +01:00
Justine Arreche
72a355d46a fixes to action icon sizes and position and addition of new log action icons 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
abb5f422f2 Fix status badge icon 2014-12-10 21:30:43 +01:00
Justine Arreche
702b975624 added arrow and size adjustments to settings dropdown button 2014-12-10 21:30:43 +01:00
Justine Arreche
e7e283ab8f moved build status img to repo-header 2014-12-10 21:30:43 +01:00
Justine Arreche
f5db8c5cc8 added icon and space for tags 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
c3a843a886 Add button for removing logs 2014-12-10 21:30:43 +01:00
Justine Arreche
e98d429426 fixed colors, position on build status 2014-12-10 21:30:42 +01:00
Justine Arreche
e9b8183ead fixing what was lost this morning 2014-12-10 21:30:42 +01:00
Mathias Meyer
b51ca7e50a Fix hiring link to point to the proper page.
Also includes a quick fix for styling the link.
2014-12-09 19:01:39 +01:00
Justine Arreche
3d0b50c679 we're hiring message added to #top bar 2014-12-09 18:31:13 +01:00
Piotr Sarnacki
95538498f0 Make pusher log fallback configurable and disable it by default 2014-11-12 12:26:49 +01:00
Piotr Sarnacki
840ce5a47d Revert "Merge pull request #308 from rwjblue/update-ember"
After upgrading ember to 1.8.1 tests pass, but I found a few cases where
things break (for example when navigating between certain routes). I'm
reverting for now.

This reverts commit fa5e9179af, reversing
changes made to 978c887123.
2014-11-12 12:11:53 +01:00
Piotr Sarnacki
fa5e9179af Merge pull request #308 from rwjblue/update-ember
Update to Ember 1.8.1.
2014-11-10 15:31:37 +01:00
Chad Whitacre
3084212f2e fix typo: "the the" -> "the" 2014-11-07 08:37:00 -05:00
Robert Jackson
e40d8a282f
Inject config into controllers.
Avoid deprecations from globals in template.
2014-11-05 15:29:26 -05:00
Robert Jackson
aa7fab4cc0
Use container to lookup views (instead of globals). 2014-11-05 15:29:03 -05:00
Robert Jackson
b21ceadc63
Use alias when appropriate. 2014-11-05 12:51:16 -05:00
Robert Jackson
e66ccfdfcd
Remove view.state checks (in favor of _state). 2014-11-05 12:50:40 -05:00
Robert Jackson
89a3c20217
Keep elements fully within a single element.
{{if}} is implemented as an Ember.View (without an element), and
children must be valid DOM.
2014-11-05 12:48:26 -05:00
Robert Jackson
2faca2e9d6
Do not use globals to lookup views from template. 2014-11-05 08:19:49 -05:00
Robert Jackson
a789fdab6f
Do not run timers in testing. 2014-11-05 08:19:16 -05:00
Robert Jackson
0972475dcb
Controller#content -> Controller#model. 2014-11-05 08:18:32 -05:00
Robert Jackson
f9fe221e9a
Use standard Ember.Handlebars.registerBoundHelper.
No need for the custom Ember.registerBoundHelper implementation.
2014-11-05 07:39:45 -05:00
Sven Fuchs
7315efed5f remove extra comma 2014-10-14 15:29:12 +02:00
Sven Fuchs
b348ee0e40 Revert "Make sorting more in line with what we will do on a server"
This makes the timeline ordering odd when restarting: The repo will be
sorted to be bottom of the timeline while in :created state, and then
pops back up to the top when :started.

One weird thing is that it only seems to behave this way on com
(staging) and enterprise, but not on org (staging).

This reverts commit ce8237b4e7.
2014-10-14 15:20:14 +02:00
Sven Fuchs
bd4c0aa0a0 do not create two Pusher instances 2014-10-13 17:20:02 +02:00
Sven Fuchs
fa8a00194a remove stale prefix 2014-10-13 15:00:04 +02:00
Sven Fuchs
6ab834f516 fix Travis.Pusher.prefix 2014-10-13 15:00:00 +02:00
Sven Fuchs
e9552a5f60 can channel be undefined? 2014-10-13 14:59:34 +02:00
Sven Fuchs
5130726389 restore CHANNEL_PREFIX, but check if it is already present 2014-10-13 14:59:31 +02:00
Sven Fuchs
1951784c28 add private attribute to repo, prefix job channels based on the private status, otherwise use what api hands over 2014-10-13 14:59:25 +02:00
Sven Fuchs
aa286866a8 try simplifying pusher channel subscriptions 2014-10-13 14:59:19 +02:00
Sven Fuchs
f827c155f5 disable sending metrics to pusher 2014-10-13 14:56:23 +02:00
Sven Fuchs
be63d535e1 on the repos list remove "summary" elements for repos without a build 2014-10-13 14:56:07 +02:00
Piotr Sarnacki
ce8237b4e7 Make sorting more in line with what we will do on a server 2014-10-13 14:55:54 +02:00
Sven Fuchs
0468b1e327 remove path from endpoint 2014-10-13 14:46:49 +02:00
Sven Fuchs
2aba520512 more hardcoded github.com urls 2014-10-13 14:46:36 +02:00
Sven Fuchs
8b1dfd67f9 ignore pusher error code 1006 2014-10-13 14:46:19 +02:00
Sven Fuchs
bf8f944ab1 fix ignoreWarning 2014-10-13 14:45:58 +02:00
Sven Fuchs
b2d3a6199d config source_endpoint
Conflicts:
	config.ru
	public/index.html
2014-10-13 14:45:50 +02:00
Sven Fuchs
65ee0d5486 allow setting the pusher host 2014-10-13 14:42:12 +02:00
zamabe
2c027f730e irc urls have a / between the server and target 2014-09-29 22:44:57 -05:00
Piotr Sarnacki
e84b7b81c5 Remove incomplete records loading implementation 2014-09-19 15:43:17 +02:00
Piotr Sarnacki
5c913fcaaa Destroy parts object when leaving log 2014-09-12 16:20:52 +02:00
Piotr Sarnacki
1200d27fb3 Merge pull request #301 from travis-ci/ps-pusher-timeout
Implement fallback for pusher log messages
2014-09-12 16:02:42 +02:00
Piotr Sarnacki
1297c99396 Don't fetch missing log parts if test haven't started yet 2014-09-12 15:43:43 +02:00
Mathias Meyer
fe7ea41425 Change link from mailing list to stack overflow. 2014-09-12 11:03:47 +02:00
Piotr Sarnacki
13408d875a Implement fallback for pusher log messages
If we don't get any pusher messages with log updates after 5 seconds, we
will try to download them from the API.
2014-09-11 18:22:31 +02:00
Mathias Meyer
fd007dcb84 Reduce and change the help menu. 2014-09-11 15:56:09 +02:00
Piotr Sarnacki
5dec305cda Caches and requests need authentication
(closes #299)
2014-09-03 13:56:56 +02:00
Piotr Sarnacki
d15b6f851c _referenceCache is not a function 2014-08-25 15:32:19 +02:00
Piotr Sarnacki
5c41529d07 Reset ssh key controller properly 2014-08-25 15:22:17 +02:00
Piotr Sarnacki
3b8ecdad41 Add a newline in ssh key screen 2014-08-25 13:58:25 +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
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
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
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
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
Piotr Sarnacki
68fe6f4f46 Merge branch 'ps-env-vars' of github.com:travis-ci/travis-web into ps-env-vars 2014-07-31 15:42:19 +02:00
Justine Arreche
b5bb386023 Finished all action hover states 2014-07-31 12:48:19 +02:00
Piotr Sarnacki
040848619a Add loading indicator for settings 2014-07-31 12:26:33 +02:00