Piotr Sarnacki
02ff533774
Fix integration tests running and 2 first tests
2013-02-28 15:54:48 +01:00
Piotr Sarnacki
0f89da6dea
Fix selected class on repos list
2013-02-28 15:54:47 +01:00
Sven Fuchs
079998093b
re-add the limit
2013-02-27 17:09:02 +01:00
Sven Fuchs
c4bb49cc17
Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update
2013-02-26 23:19:55 +01:00
Piotr Sarnacki
6dbcd95c8b
Merge branch 'master' into ps-ember-update
...
Conflicts:
assets/scripts/travis.coffee
public/index.html
2013-02-26 12:43:43 +01:00
Piotr Sarnacki
2256ddeb46
Get rid of updateAssociations method
...
It seems that with current version of ember-data it's not longer needed
- associations are updated automatically now.
2013-02-26 12:04:37 +01:00
Piotr Sarnacki
12da46a623
Fix showAll button
2013-02-26 11:21:34 +01:00
Piotr Sarnacki
a47147ed82
Fix build lists to not interfere with each other
2013-02-26 11:17:42 +01:00
Piotr Sarnacki
1f3f0559bc
Fix build and job configs
2013-02-26 08:57:03 +01:00
Piotr Sarnacki
211b2723f9
Fix authentication
2013-02-26 07:05:40 +01:00
Piotr Sarnacki
ba1eecec45
Remove github stats
2013-02-26 05:26:51 +01:00
Piotr Sarnacki
d76463c3f2
Fix a few more UI issues
2013-02-26 05:24:56 +01:00
Piotr Sarnacki
9bac8ecba1
Fix status icon on build's view
2013-02-26 05:02:56 +01:00
Piotr Sarnacki
46f7e6bba0
Fix remaining ember-data and pusher updates issues
...
When records are updated by pusher events, we should not mark them as
dirty - we don't modify them on client side anyway.
2013-02-26 04:37:23 +01:00
Piotr Sarnacki
e96abff0e6
Hack for one to many relationship changes
2013-02-26 04:36:47 +01:00
Piotr Sarnacki
1bccb5d177
Fix line numbers when loading an url
2013-02-25 15:18:59 +01:00
Sven Fuchs
dbac2f8458
debug output
2013-02-25 13:07:07 +01:00
Randy Morgan
050bdfddb8
Added de locale to profile
...
This is dependent on https://github.com/travis-ci/travis-core/pull/190
2013-02-25 21:02:02 +09:00
Piotr Sarnacki
3e031981bc
Remove console.log
2013-02-23 00:21:52 +01:00
Piotr Sarnacki
f0ea65b114
Keep the hash in the location so we can scroll to line in logs
2013-02-23 00:21:01 +01:00
Sven Fuchs
729d22c9a4
Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update
2013-02-22 23:44:58 +01:00
Sven Fuchs
f4832bd5f4
remove stale stuff from log/pre views
2013-02-22 23:38:33 +01:00
Piotr Sarnacki
b5bda962f9
Remove old router
2013-02-22 23:15:43 +01:00
Sven Fuchs
0b5715fe43
port log pre template
2013-02-22 17:09:14 +01:00
Piotr Sarnacki
553495c56c
Add @svenfuchs' log reimplementation
2013-02-22 17:00:50 +01:00
Piotr Sarnacki
83fb0ebb2c
Fix incomplete implementation
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
395c818a64
Fix permission check for cog menu
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
cfbec29978
Fix some of the places still using Travis.app
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
bd7d2ede3a
Refactor proxy creation in router
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
db2f01aa23
Fix sponsors
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
4f21b097a8
Fix profile views
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
f121a008c6
Add TODO for user's @poll()
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
a3622e14c9
Allow to sign in and sign out
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
50a69cccad
Don't do request to get repos every time home page is reloaded
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
9bf2cb1078
Add stats view and fix connectLayout
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
0b001acfaf
Event is no longer passed as an argument to handlers
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
9b26ae4312
Fix workers view
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
9ed3598f95
Implement branches
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
cadc8c0e72
Fix running jobs
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
42ed7cf4de
Make sure that repo has a slug when creating a link to repo
...
Raw repo data is sometimes passed to linkTo helpers and in such case
Repo instance is created by id and it does not include slug. This commit
will be reverted after fixing "incomplete" implementation, which will
allow to preload Repo with both id and slug before searching for it.
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
86670def14
Fix queues lists
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
4cdd4df515
Tabs and basic views are mostly working
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
075e714fc3
Fix job view
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
a3f8e0ff7d
Add missing mappings to adapter
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
99b9c72e2e
Fix attributes and relatiobships in build
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
8ccd95e0b0
Fix build view and links on left sidebar
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
f0e95ddd3f
Main view mostly works on new router
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
829e1a4001
Fix routes code if google analytics is not loaded
2013-02-18 23:46:42 +01:00
Piotr Sarnacki
5255cfe744
Remove console log statements
2013-02-13 14:45:36 +01:00
Piotr Sarnacki
4590492547
Fix one more problem with folds
2013-02-13 14:42:23 +01:00
Piotr Sarnacki
76520cfcdb
Add count for running jobs
2013-02-13 11:52:00 +01:00
Piotr Sarnacki
3862dd163d
Limit log to 5000 lines
2013-02-13 04:03:02 +01:00
Josh Kalderimis
c72837f70e
Running jobs => Running Jobs
2013-02-11 19:15:44 -08:00
Josh Kalderimis
7ed8aaefad
add a check to running jobs to display a friendly message if no jobs are running
2013-02-11 19:10:31 -08:00
Piotr Sarnacki
e90c21c9a5
Normalize rvm version to float if it comes as an integer
2013-02-11 15:59:52 +01:00
Piotr Sarnacki
2607197cba
Fix typo in requeue build permissions check
2013-02-09 18:29:07 +01:00
Sven Fuchs
fb96164db8
just depend on the ga code
2013-02-08 15:30:49 +01:00
Sven Fuchs
2e8a197933
relax checking for non-production hosts
2013-02-08 15:22:32 +01:00
Sven Fuchs
0322e1a3c8
extract ga code and setup
2013-02-08 14:49:46 +01:00
Piotr Sarnacki
8061e57814
Sort running jobs by repo slug and number
2013-02-07 18:40:20 +01:00
Piotr Sarnacki
b5c7e52eaa
Wait for slug being present on runnning jobs list
2013-02-07 13:20:42 +01:00
Piotr Sarnacki
c5dce13317
Group running jobs by repo
2013-02-07 13:20:41 +01:00
Piotr Sarnacki
ad6f9e59c7
Display running jobs
2013-02-07 13:20:41 +01:00
Piotr Sarnacki
e05b2cbe80
Merge pull request #134 from lukesarnacki/show-disabled-links-in-cog-menu
...
Disable links in cog menu when not signed in
2013-02-07 02:02:15 -08:00
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
Fiona Tay
1ef5b60ccc
Correct misspelling of sponsors
2013-02-06 18:00:12 +08:00
Piotr Sarnacki
36fb57b093
Merge pull request #120 from minciue/master
...
Show committer's name in builds list
2013-02-05 10:02:50 -08: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
Eugen Minciu
b1809c0951
Media query to hide committer on small screens.
2013-01-24 16:12:28 +02: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
Eugen Minciu
52bc49b64c
Add the commiter's name to the builds list
2013-01-22 18:10:59 +02: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
Konstantin Haase
a37dc4dca3
fix for nested user data
2012-12-16 17:20:32 +01:00
Konstantin Haase
43726e4025
fix reference
2012-12-16 17:04:41 +01:00
Konstantin Haase
5d7604567c
js and bindings, how does it work?
2012-12-16 17:00:31 +01:00
Konstantin Haase
368ef859ea
refactor auth
2012-12-16 16:57:12 +01:00
Sven Fuchs
ab0cb7d432
set auto_signin flag to false before actually trying to sign in
2012-12-16 14:59:43 +01:00
Sven Fuchs
b6df2bfbe1
add Auth.validateUser
2012-12-16 14:25:52 +01:00
Randy Morgan
fa7f8b9332
Added first level instrumentation for travis-web
...
This is not enabled by default. You need to run:
Travis.Instrumentation.subscribe('render.view')
To start capturing info
2012-12-14 19:31:05 +09:00
Piotr Sarnacki
4bdf94484f
Merge branch 'sortable-fix'
2012-12-14 05:12:06 +01:00
Piotr Sarnacki
23a58866bd
Fix LimitedArray to work properly with SortableMixin
2012-12-14 04:31:28 +01:00
Piotr Sarnacki
6fd56d4521
Display link to build/job only if id is present already
2012-12-13 15:17:04 +01:00
Piotr Sarnacki
9f7796a023
Use #with helper for job and builds link on tabs
...
Thanks to that, id will be refreshed when the build changes.
2012-12-13 01:44:42 +01:00
Piotr Sarnacki
25ac08fab6
Missing changes for 9853826
, I accidentally undid changes before commiting
2012-12-12 23:45:07 +01:00
Piotr Sarnacki
9853826bae
Properly refresh last build link on repos list
...
value change. Since {{action}} is also not a bound helper, I need some
structure that I can put into {{with}} helper
2012-12-12 23:40:51 +01:00
Piotr Sarnacki
d37da09502
Merge pull request #79 from mrshu/master
...
Updated links to GitHub hooks page
2012-12-11 07:14:49 -08:00
Piotr Sarnacki
4657ee351b
Merge pull request #78 from randym/i18n
...
Updates and Fixes for Profile and UI to properly handle locale switching
2012-12-11 07:07:54 -08:00
Piotr Sarnacki
fd82bf3791
Use contentArrayWillChange for deleting records from LimitedArray
...
Using contentArrayDidChange is usless for deletion, because the records
were already deleted, so we can't fetch them from the content array.
2012-12-11 15:51:11 +01:00
mr.Shu
c9ecde2632
updated links to GitHub hooks
2012-12-11 14:58:59 +01:00
Piotr Sarnacki
79e6f5e037
Allow to change the place of insertion for limited array
2012-12-11 14:41:21 +01:00
Randy Morgan
91812fb21c
Connected flash outlet for profile
2012-12-11 13:17:24 +09:00
Randy Morgan
0e727819b0
Updated profile view to support auto-updating locale selection
2012-12-11 13:13:54 +09:00
Randy Morgan
992cbb13f7
Removed unsupported locales from profile.
...
This should be written to populate from the I18n.translations hash but
for now, I am just getting rid of the ones that do not exist.
2012-12-11 10:55:43 +09:00
Randy Morgan
e4fb6c1fee
Completed dynamic I18n intetegration.
...
travis-web starts in English. When the user logs in, it switches to
their locale, when they logout, it goes back to english.
2012-12-11 10:48:19 +09:00
Randy Morgan
667722c663
Fixed User#update_locale to call Travis#updateLocale on locale change
2012-12-11 09:34:44 +09:00
Randy Morgan
e4819d8e0b
Fixed I18n handlebars helpers to update when locale changes
...
Via the console, you can Travis.set('locale', 'ja') and all the labels
will properly update. This should work on User#updateLocale as well but
I am having a devil of a time testing it locally as I cannot sign in.
2012-12-11 08:54:43 +09:00
Piotr Sarnacki
fa5de8ba66
Merge pull request #76 from travis-ci/rkh-correct-status-image
...
use current host for status images
2012-12-10 08:54:52 -08:00
Piotr Sarnacki
364f6927d3
Don't error out if capitilize helper gets null as an argument
2012-12-10 17:44:15 +01:00
Piotr Sarnacki
8e97b68313
Make the app work with disabled cookies
...
Browsers disable local storage and session storage when cookies are
disabled - any call to one of those will cause an error. This commit
provides fallback storage, which will store items in memory.
2012-12-10 17:37:09 +01:00
Konstantin Haase
b16f9281c4
use current host for status images
2012-12-10 15:32:01 +01:00
Sven Fuchs
7759061d4e
disable "cancel build"
2012-12-10 15:14:12 +01:00
Piotr Sarnacki
8f27943fe4
Kill typo 💣
2012-12-10 14:57:34 +01:00
Piotr Sarnacki
5b0b7d7002
Fix isAttributeLoaded checks
...
We can't check 'isFinished' when model is asked for
isAttributeLoaded('state'). In such situation, it will go to isFinished
and call @get('state'), which will trigger isAttributeLoaded('state')
again.
2012-12-10 14:26:44 +01:00
Piotr Sarnacki
a662d03ee7
Revert "Don't automatically sign in if there is no token available"
...
This commit breaks login in Safari, without it people will need log out
and log in again if they experienced 401 requests on the profile page,
but we can't break Safari.
It seems that the root cause of the error is the fact that auto sign in
fails in Safari.
This reverts commit d84b3581eb
.
2012-12-10 13:53:35 +01:00