Commit Graph

910 Commits

Author SHA1 Message Date
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
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