Commit Graph

249 Commits

Author SHA1 Message Date
Lukasz Sarnacki
201a3abf17 Disable links in cog menu when not signed in
When user is not logged in, some links in cog menu
are not display. This commit makes them visible but
disabled.
2013-02-07 00:40:15 +01:00
Piotr Sarnacki
4b01db6d4b Don't parse user if data can't be fetched from storage (closes #124) 2013-01-30 02:24:12 +01:00
Piotr Sarnacki
ead17606b5 Fix download log link after log changes 2013-01-30 02:15:11 +01:00
Piotr Sarnacki
9df79d6944 Wait for job.id in Travis.Artifact 2013-01-29 15:36:14 +01:00
Piotr Sarnacki
28b17f97a0 Build log url manually if Location header can't be fetched 2013-01-29 05:02:15 +01:00
Piotr Sarnacki
f6baa172a5 Fetch archived logs from S3 without redirect 2013-01-29 04:17:17 +01:00
Piotr Sarnacki
eb2feca02a Set proper content type for logs requests 2013-01-28 18:18:16 +01:00
Piotr Sarnacki
5d3333efd2 Remove console.log 2013-01-27 22:51:45 +01:00
Piotr Sarnacki
5fbf153ed9 Use /jobs/:id/log.txt endpoint for fetching logs 2013-01-27 02:46:18 +01:00
Piotr Sarnacki
e9092418a7 Fetch builds for branches from /builds endpoint (closes #123) 2013-01-26 12:04:39 +01:00
Piotr Sarnacki
0e925c0eed Load branches for status images only after opening the popup 2013-01-24 00:48:11 +01:00
Piotr Sarnacki
2723ae5c06 Find job for clearing logs only if it's already in store
Otherwise we make ajax request every time job is created.
2013-01-23 22:08:17 +01:00
Piotr Sarnacki
ee9f9d934c Don't instantiate repo nor job on worker updates
We can create thos records based on job:started event. Also, links used
on the workers list are created from attributes only anyway.
2013-01-23 21:33:13 +01:00
Sven Fuchs
28e40ab0e4 make WorkerItemView.display rely on the model more 2013-01-22 19:04:25 +01:00
Sven Fuchs
f2ca2d5260 remove worker.lastSeenAt (useless anyway) and use payload.job instead of (deprecated) payload.build for active worker links 2013-01-22 18:55:08 +01:00
Sven Fuchs
9be127fa59 re-enable worker updates via pusher 2013-01-22 17:30:42 +01:00
Piotr Sarnacki
b4ea261ee3 Delegate isLoaded in ArrayProxy on repos list 2013-01-22 01:58:20 +01:00
Piotr Sarnacki
2ca67e6b06 Bring back repo url, it's used in status images urls (closes #118) 2013-01-22 01:30:56 +01:00
Piotr Sarnacki
9052869f9f Remove class from log line number to make template simpler (closes #112) 2013-01-22 01:22:47 +01:00
Sven Fuchs
f4fb1d14d4 add comment 2013-01-19 14:45:16 +01:00
Sven Fuchs
99edd9f0df Merge branch 'master' of github.com:travis-ci/travis-web 2013-01-17 20:25:13 +01:00
Sven Fuchs
050c9fd211 clear log on job:created, too 2013-01-17 20:24:51 +01:00
Piotr Sarnacki
f3b37b9aaf Add redirect on /jobs/:id/log.txt and /builds/:id/log.txt 2013-01-16 13:14:46 +01:00
Piotr Sarnacki
a8b5460eed Show download log link in the cog menu 2013-01-16 12:59:15 +01:00
Piotr Sarnacki
13d752a77b Disable worker:removed and worker:added events until we find a fix on server side 2013-01-15 15:25:22 +01:00
Piotr Sarnacki
98e6503e73 Add download log link at the bottom of the log 2013-01-15 13:18:49 +01:00
Piotr Sarnacki
e40fa3b26d Removed unused urls 2013-01-15 13:18:49 +01:00
Nick Schonning
850b5148f9 Remove name attribute from log line link
Name is only intended for form elements, also the ID is what is used by
the anchor link
2013-01-14 20:16:16 -05:00
Piotr Sarnacki
6fb15c4a97 Show pull request number on the list 2013-01-15 00:48:34 +01:00
Kirill Lashuk
402722d563 Rename urlStatusImage to statusImageUrl. 2013-01-14 23:12:31 +03:00
Kirill Lashuk
9bfd9f3948 Fix urlStatusImage generation. 2013-01-14 23:11:02 +03:00
Kirill Lashuk
8d4c28b7f7 Rename property to statusImageBranch. 2013-01-14 23:04:37 +03:00
Kirill Lashuk
ec14d96236 Select current branch in status images popup. 2013-01-14 23:04:37 +03:00
Piotr Sarnacki
64b94711c7 Disable worker:removed and worker:added events until we find a fix on server side 2013-01-14 18:15:46 +01:00
Piotr Sarnacki
4519736fcd Put message before the commit on lists (closes #93) 2013-01-11 18:36:22 +01:00
Piotr Sarnacki
b83948f583 Fallback to login if name is not given for a user 2013-01-09 16:42:10 +01:00
Konstantin Haase
5ca5b15f40 Merge branch 'master' of github.com:travis-ci/travis-web 2013-01-08 15:10:59 +01:00
Piotr Sarnacki
ae9ff005d3 Don't throw error when repo can't be find
When visiting page of repo that doesn't exist, we should not throw an
error. It still does not work as expected, redirecting to
/undefined/undefined, which should be addressed as well, but at least we
don't throw errors now.
2013-01-08 15:01:49 +01:00
Konstantin Haase
5b48aa20e7 check scopes 2013-01-07 20:59:54 +01:00
Piotr Sarnacki
938aaafc71 Merge pull request #84 from randym/instrumentation
WIP! Added first level instrumentation for travis-web
2013-01-03 07:13:34 -08:00
Konstantin Haase
cb392b549d reduce logging 2012-12-17 20:33:28 +01:00
Konstantin Haase
f756df1468 typo 2012-12-17 20:17:36 +01:00
Konstantin Haase
12c84d8359 more logging in auth 2012-12-17 20:15:19 +01:00
Konstantin Haase
7ce690aecf add logging 2012-12-17 19:58:34 +01:00
Konstantin Haase
f326960f9a check for token 2012-12-17 15:19:22 +01:00
Konstantin Haase
34aaa070c9 don't check for token for now 2012-12-16 18:14:04 +01:00
Konstantin Haase
946dd55ce3 fix validation 2012-12-16 18:01:44 +01:00
Konstantin Haase
6c87a9c267 more verbose validation 2012-12-16 17:52:59 +01:00
Konstantin Haase
0b7d7a6eec fix typo 2012-12-16 17:44:27 +01:00
Konstantin Haase
de0790c5d9 we might not have user yet 2012-12-16 17:26:52 +01:00