Sven Fuchs
ba685b1593
set cache headers, can't get rack/cache to behave though
2012-10-11 20:05:33 +02:00
Sven Fuchs
b35763baa3
using the production pusher key with RUN_API causes tons of 404 errors
2012-10-11 17:23:32 +02:00
Sven Fuchs
551b976bbc
re-enable auto-auth
2012-10-11 15:34:01 +02:00
Sven Fuchs
05a57a593c
deactivate auto-auth for now because redis has run full :/
2012-10-11 05:16:07 +02:00
Piotr Sarnacki
6a487c8fd8
Actually fix profile view when reloading page - no need to redirect
2012-10-11 01:25:18 +02:00
Piotr Sarnacki
e561d7e145
Use localStorage instead of cookies
2012-10-10 22:42:28 +02:00
Piotr Sarnacki
3c303e5a86
Reload page when locale for user changes, also cache it in cookie
2012-10-10 22:37:44 +02:00
Piotr Sarnacki
a15836c50a
Buffer search phrase to fire only after 500ms of last key press
2012-10-10 19:20:43 +02:00
Piotr Sarnacki
ed2ddc04f6
Fix back button
...
Repo.bySlug can return loaded items if they were loaded previously,
that's why it will not trigger isLoaded property change.
2012-10-10 19:07:32 +02:00
Piotr Sarnacki
b142d3cdcf
Close popups and menus when clicking outside of them
2012-10-10 18:45:33 +02:00
Piotr Sarnacki
e997ac7f6a
Make sure that workers are correctly sorted
2012-10-10 17:25:55 +02:00
Piotr Sarnacki
aef185f536
Show message on stats page
2012-10-10 16:47:22 +02:00
Piotr Sarnacki
404dde1cdf
Initialize application in Ember.next, fixes auth
2012-10-10 16:13:21 +02:00
Sven Fuchs
24d98eb66a
ok, it's DEFAULT_ENDPOINT
2012-10-10 14:16:47 +02:00
Sven Fuchs
00b38062cc
stop loading the app config from the api cuz it adds quite a noticeable delay
2012-10-10 13:25:22 +02:00
Sven Fuchs
3052db733b
parse pusher key into the index.html like the api endpoint
2012-10-10 13:21:52 +02:00
Sven Fuchs
7cd5899eba
hm, also check for the build here, obviously
2012-10-10 12:29:31 +02:00
Sven Fuchs
056f20ddfe
check if we do have jobs before trying to iterate over them
2012-10-10 12:04:31 +02:00
Piotr Sarnacki
9c5e709c0c
Revert changes in css
...
For some reason css was recompiled without any changes in css files,
which caused menu items to break.
2012-10-09 19:34:35 +02:00
Piotr Sarnacki
7fc77e66ea
Limit repos list to 30 items
2012-10-09 18:23:11 +02:00
Piotr Sarnacki
7f6210ec6c
Fixed build links on worker's list
2012-10-09 16:41:13 +02:00
Sven Fuchs
67aacb7baa
keep flash messages for 10sec
2012-10-09 16:15:18 +02:00
Sven Fuchs
927c8de8b0
remove flash count binding and solve that in css
2012-10-09 15:53:23 +02:00
Sven Fuchs
6342367810
remove debug flash message
2012-10-09 15:28:10 +02:00
Sven Fuchs
6e7382ed05
Merge branch 'master' of github.com:travis-ci/travis-web
...
Conflicts:
Gemfile.lock
public/scripts/app.js
public/scripts/min/app.js
public/styles/app.css
public/version
2012-10-09 15:25:27 +02:00
Sven Fuchs
847c120bd7
fuck yeah, flash messages
2012-10-09 15:16:54 +02:00
Piotr Sarnacki
233e95b18d
Use empty function instead of Ember.K
...
Technically it's the same thing, but since in coffeescript it's just a
few characters, there is no need to use something that does not
explicitly say what it does.
2012-10-09 13:18:24 +02:00
Piotr Sarnacki
64fc6ce717
Don't trigger state change on signin if already in authenticated state
2012-10-09 13:08:57 +02:00
Sven Fuchs
7e6907feba
Merge branch 'master' of github.com:travis-ci/travis-web
...
Conflicts:
Gemfile.lock
public/scripts/app.js
public/scripts/min/app.js
public/version
2012-10-09 12:33:11 +02:00
Sven Fuchs
6cbe6f140e
refactor ajax, get rid of the module
2012-10-09 12:31:15 +02:00
Piotr Sarnacki
e0d3d83484
Kill typo 💣
2012-10-09 12:06:37 +02:00
Piotr Sarnacki
3a999e8598
If there is no path, route to '/'
2012-10-09 04:11:23 +02:00
Piotr Sarnacki
e6106a236a
Remove initialState properties from most of the routes
...
initialState in some of the routes where needed because router was
behaving incorrectly when going to 'default state'. Now it is fixed, so
initialState entries are not needed anymore in those places.
2012-10-09 03:56:26 +02:00
Piotr Sarnacki
504a58add8
Check if permissions exist before calling anything on them
2012-10-08 22:42:02 +02:00
Piotr Sarnacki
94e16ab229
Worker still gets payload with repository
...
I tweaked the code to work for both versions, so we can update API
flawlessly
2012-10-08 17:32:04 +02:00
Piotr Sarnacki
37d1348054
Use Travis Pro in sponsors info
2012-10-08 17:12:39 +02:00
Piotr Sarnacki
b309819f24
Display Travis CI as box sponsor if there is not worker with given name
2012-10-08 17:09:42 +02:00
Piotr Sarnacki
94f1e64554
Show sponsor info under the log
2012-10-08 16:53:31 +02:00
Sven Fuchs
521fc3112d
add flash messages and styles
2012-10-08 16:27:55 +02:00
Sven Fuchs
41ab0c4cb0
set content on user permissions array proxy
2012-10-08 13:38:13 +02:00
Sven Fuchs
3580952076
try fixing the root key for Repo.find() (even though ember-data really seems weird here)
2012-10-07 17:58:06 +02:00
Sven Fuchs
a8f19aa687
try making workers item view more robust
2012-10-07 17:05:29 +02:00
Sven Fuchs
02a1f166d5
change tools button to have a menu, add requeue menu item, make status image stuff a popup
2012-10-07 16:59:01 +02:00
Sven Fuchs
25dffc0a7a
load user permissions
2012-10-06 23:40:05 +02:00
Sven Fuchs
6e4413d5a2
finally rename repository to repo
2012-10-06 20:08:46 +02:00
Sven Fuchs
c6223341f4
rework the asset pipeline to use environments
2012-10-06 15:28:11 +02:00
Sven Fuchs
f6ac7b9c30
showUnauthenticated after signout
2012-10-06 15:27:49 +02:00
Sven Fuchs
b34e35fbb8
improvements to the asset pipeline thanks to @twinturbo
2012-10-05 21:58:20 +02:00
Sven Fuchs
38ea058afc
fix assets order
2012-10-04 00:20:17 +02:00
Sven Fuchs
152dde6e05
make things even more generic
2012-10-03 19:29:44 +02:00
Sven Fuchs
d67e0b23bc
make Assetfile more agnostic
2012-10-03 18:12:44 +02:00
Sven Fuchs
7b47863014
extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles
2012-10-03 17:13:02 +02:00
Sven Fuchs
9440ccaf7d
make assetfile reusable
2012-10-03 16:34:21 +02:00
Sven Fuchs
3d451279e4
add the favicon
2012-10-03 13:29:50 +02:00
Piotr Sarnacki
202f158d55
Fix show more button and make it disabled when loading
2012-10-02 22:39:11 +02:00
Piotr Sarnacki
2e16337e68
Revert 2ead1ff
...
Without filters those collections will not be updated when clicking on
show more button on builds list.
2012-10-02 21:46:34 +02:00
Sven Fuchs
54ea7e9246
Merge branch 'master' of github.com:travis-ci/travis-ember
2012-10-01 16:50:29 +02:00
Piotr Sarnacki
8b90440f7b
Update ember to version from drogus/ember.js
...
It contains patch for transitionTo, to handle more than one context
2012-10-01 16:46:11 +02:00
Sven Fuchs
4402a36c2e
generate a real version hash
2012-10-01 13:11:26 +02:00
Sven Fuchs
419ace7c51
rework asset compilation
2012-10-01 12:36:06 +02:00
Sven Fuchs
73fe04185d
split up config.ru
2012-09-30 17:30:57 +02:00
Sven Fuchs
1566595cda
move loadConfig to Travis.run
2012-09-29 23:43:06 +02:00
Piotr Sarnacki
b9179e3439
Need to add record to the new transaction after saving it
2012-09-28 19:09:05 +02:00
Piotr Sarnacki
82107bd1f3
Fix issues with store commit
2012-09-28 18:53:04 +02:00
Piotr Sarnacki
fed3adaa88
Fix job links on queues list
...
For some weird reason action was using the view as target by default,
set it explicitly to router.
2012-09-28 17:52:16 +02:00
Piotr Sarnacki
8ffd466e9f
Proper fix for last build link
...
It seems that when you use id in link, it will pass it directly to
connectOutlets. Need to instantiate object in such situation.
2012-09-28 17:39:40 +02:00
Piotr Sarnacki
3cf12e7a84
Remove console.log
2012-09-28 17:26:38 +02:00
Piotr Sarnacki
4984a896af
'build_id' should be returned in build's params, not 'id'
2012-09-28 17:20:52 +02:00
Sven Fuchs
ab8473e75e
really fix the status colors
2012-09-28 16:35:07 +02:00
Sven Fuchs
1332a23561
fix status color for build summary
2012-09-28 16:28:48 +02:00
Sven Fuchs
3bad25471a
fix deansi for erasing text
2012-09-28 15:12:55 +02:00
Sven Fuchs
580d78e947
redirect from hashbang urls
2012-09-28 12:13:19 +02:00
Sven Fuchs
15d7406d71
redirect to home from profile on sign out
2012-09-28 12:05:56 +02:00
Sven Fuchs
a1d5b8b878
recompile
2012-09-28 11:48:29 +02:00
Sven Fuchs
8fb0411f63
make the spinner transparent
2012-09-28 11:46:31 +02:00
Sven Fuchs
5eb5bc1373
no need to defer loading the user any more
2012-09-28 11:28:00 +02:00
Sven Fuchs
b1f1547113
Revert "try using jobs.loaded for matrixes"
...
This reverts commit 312fabeaa0
.
2012-09-28 10:57:05 +02:00
Sven Fuchs
312fabeaa0
try using jobs.loaded for matrixes
2012-09-28 10:54:38 +02:00
Piotr Sarnacki
5fc58e34dc
Don't instantiate builds for repos list to not load them
2012-09-28 00:21:44 +02:00
Sven Fuchs
40260c17d5
separate session storage of user and token, do stuff
2012-09-27 23:38:33 +02:00
Sven Fuchs
abb5ed181e
do not load accounts on controller init
2012-09-27 23:09:00 +02:00
Sven Fuchs
2f43801893
recompile
2012-09-27 21:56:30 +02:00
Piotr Sarnacki
c24b236120
Recompile, commited application.js with conflicts
2012-09-27 19:57:37 +02:00
Piotr Sarnacki
7037c6a62a
Rework some of the bindAttrs that can cause problems
2012-09-27 19:53:46 +02:00
Sven Fuchs
fd6a83aab1
remove debug output
2012-09-27 17:30:30 +02:00
Sven Fuchs
205f509b4b
recompile
2012-09-27 17:25:12 +02:00
Sven Fuchs
c80203afd3
Merge branch 'master' of github.com:travis-ci/travis-ember
...
Conflicts:
public/javascripts/application.js
2012-09-27 17:22:11 +02:00
Sven Fuchs
d3e1fa2274
refactor auth/user/accounts
2012-09-27 17:13:45 +02:00
Piotr Sarnacki
11b3a039d2
Removed too much bindings, this one is still needed
2012-09-27 15:18:08 +02:00
Piotr Sarnacki
cd6636bfc5
Completely get rid of params
...
In the old router params were fetched from url, new router needs to
instantiate objects anyway, so we can just set objects on controller
instead of passing params.
2012-09-27 14:48:17 +02:00
Piotr Sarnacki
57ae258803
Update ember
2012-09-27 14:47:48 +02:00
Piotr Sarnacki
3aefc86961
Make displaying build simpler
...
Since we fetch build in router now, we can just pass it to controller,
instead of passing an id.
2012-09-27 14:47:48 +02:00
Sven Fuchs
b776f1355b
recompile
2012-09-27 00:58:10 +02:00
Piotr Sarnacki
164b8d22cc
Don't load sponsors data twice
2012-09-27 00:21:35 +02:00
Piotr Sarnacki
fe7f07629f
Use regular views in sidebar instead of outlets
...
Outlets behaved weird in this place (not sure why, maybe because it's
deeply nested) and we don't need to change those views anyway.
2012-09-26 23:32:55 +02:00
Piotr Sarnacki
5b2aae19b3
Try to defer sidebar loading a little bit
2012-09-26 23:32:36 +02:00
Sven Fuchs
1a9f88587d
fix some links/action targets
2012-09-26 23:18:11 +02:00
Sven Fuchs
5a49b51700
tweak greens
2012-09-26 22:43:09 +02:00
Sven Fuchs
93b67a7cbb
recompile
2012-09-26 22:25:43 +02:00
Sven Fuchs
0447f62a19
Merge branch 'new-router'
...
Conflicts:
Gemfile.lock
public/javascripts/application.js
public/stylesheets/application.css
2012-09-26 22:21:34 +02:00