Commit Graph

481 Commits

Author SHA1 Message Date
Konstantin Haase
d4404b201c switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
Sven Fuchs
03595db5fa re-add guard, rename "profile" menu item to "accounts" and add the github badge to the accounts sidebar 2012-10-17 03:21:28 +02:00
Sven Fuchs
1446fe7aa7 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-16 22:47:43 +02:00
Sven Fuchs
510be92eb7 stashing some work on the events log 2012-10-16 22:46:10 +02:00
Piotr Sarnacki
450f2b5f49 Make page nicer in smaller resolutions 2012-10-16 22:41:04 +02:00
Piotr Sarnacki
ce534fdcb8 Make layout work for smaller resolutions 2012-10-16 22:29:00 +02:00
Piotr Sarnacki
c9a578a012 Fix log scrolling issues on Firefox 2012-10-16 21:30:02 +02:00
Piotr Sarnacki
efcdae70c0 Fix layout in firefox 2012-10-16 21:17:42 +02:00
Piotr Sarnacki
0bb3eff03b Fix popup positioning and make sure popups always open properly
(closes #24)
2012-10-16 19:41:57 +02:00
Konstantin Haase
5c8035b7a8 add back rack-cache 2012-10-16 19:15:16 +02:00
Konstantin Haase
fef01eb4af Merge branch 'rkh-no-api' 2012-10-16 19:06:25 +02:00
Konstantin Haase
651dbd366d add back guard for @svenfuchs 2012-10-16 19:06:08 +02:00
Konstantin Haase
2d12a1e6a2 remove rack-cache dependency 2012-10-16 18:57:58 +02:00
Konstantin Haase
1f9e19ac0e send empty Vary header 2012-10-16 18:54:32 +02:00
Konstantin Haase
4fd46ad944 header must be fixnum 2012-10-16 18:49:57 +02:00
Konstantin Haase
ab866b4fe2 no longer run api 2012-10-16 18:42:37 +02:00
Piotr Sarnacki
e278f007a7 Properly set token on user record (closes #25) 2012-10-16 18:35:18 +02:00
Piotr Sarnacki
9d07ef79ac Fix bug with undefined loadedAttributes 2012-10-16 17:47:03 +02:00
Piotr Sarnacki
96acd8e526 Fix specs and add missing spec file 2012-10-16 12:14:45 +02:00
Piotr Sarnacki
c05ce673bf Load incomplete records when trying to get unknown attribute
In order to minimize ajax requests, I implemented isComplete property,
which can be used to check if record is fetched from the API or if it
was just partially loaded (for example by pusher event). This is nice in
terms of requests reduction, but caries risk of showing incomplete data.

This commit fixes this situation by saving which attributes were
provided on "incomplete" load and triggering refresh when any unknown
attribute is tried to be fetched.

The implementation is really simple and will probably need refactoring,
but I would like to test it in the wild before putting much more time
into it.
2012-10-16 03:05:38 +02:00
Sven Fuchs
393ef62eae Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
2012-10-16 02:05:17 +02:00
Sven Fuchs
f91622e7e8 add an events tab 2012-10-16 02:00:24 +02:00
Piotr Sarnacki
4153c990be Fix specs 2012-10-15 23:20:33 +02:00
Piotr Sarnacki
9976b47c93 WIP 2012-10-15 19:35:10 +02:00
Piotr Sarnacki
f43ffafcc0 Compile spec files 2012-10-15 17:14:05 +02:00
Sven Fuchs
257a26d1d0 rebundle 2012-10-14 15:12:43 +02:00
Sven Fuchs
bee1a895ba css sync and hooks buttons 2012-10-14 15:07:30 +02:00
Sven Fuchs
95b7ea03d2 set the reposController to the repoController in connectOutlets 2012-10-13 22:03:10 +02:00
Sven Fuchs
0a7349480e remove the absolute binding to see if that gets rid of the warnings 2012-10-13 21:28:40 +02:00
Sven Fuchs
4f53995481 recompile 2012-10-13 21:22:57 +02:00
Sven Fuchs
ed94cb7329 Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	assets/scripts/lib/travis/model.coffee
	public/scripts/app.js
	public/scripts/min/app.js
	public/version
2012-10-13 21:22:42 +02:00
Sven Fuchs
e7a26524d4 move select() functionality to Travis.Model and reuse it for accounts 2012-10-13 21:20:11 +02:00
Piotr Sarnacki
c707135ccd First spike of 'isComplete' functionality
When we get payload from pusher, we usually don't send the entire
record. Initially such records where fetched from server right away to
get missing data. This was done becuase Ember can't tell if given data
is complete or not and just assumes that the record is loaded.

To not fire unneeded request, this code sets incomplete flag on records
loaded from pusher and loads the rest of the data only if needed.
2012-10-13 20:47:21 +02:00
Piotr Sarnacki
7ccbba2959 Don't redirect user if we're already in state that's not auth 2012-10-13 19:00:56 +02:00
Sven Fuchs
28346ce233 add an empty repos view 2012-10-13 17:31:12 +02:00
Sven Fuchs
d84b5dfd0a add autoSignIn to fix that after signOut it would always re-signin on pages that require auth 2012-10-13 15:52:27 +02:00
Sven Fuchs
44d81af450 make sure we go through the auth check after signout 2012-10-13 15:07:35 +02:00
Sven Fuchs
4689545547 camelize to afterSignIn and add afterSignOut 2012-10-13 15:02:23 +02:00
Sven Fuchs
2485a7bcb9 fix router after_signin behaviour 2012-10-13 14:51:12 +02:00
Sven Fuchs
dee3591147 some tweaks 2012-10-13 04:34:30 +02:00
Sven Fuchs
267bbe8351 move unicorn config to config/unicorn.rb 2012-10-13 03:15:50 +02:00
Sven Fuchs
aa129f6e3b Merge branch 'master' of github.com:travis-ci/travis-web 2012-10-13 01:51:26 +02:00
Sven Fuchs
b2d0acbcf7 rename handlebars helper to travis_handlebars 2012-10-13 01:51:08 +02:00
Piotr Sarnacki
88abeb48c0 We still return repository_id in build's payload 2012-10-12 20:51:05 +02:00
Piotr Sarnacki
3ecbc8f139 Fix workers sorting, it should be done based on SortableMixin 2012-10-12 20:37:12 +02:00
Piotr Sarnacki
87bccccde8 Fix routing to build/job when object is already loaded 2012-10-12 18:46:27 +02:00
Piotr Sarnacki
2575218ddb Fix logs to always point to build or job view 2012-10-12 18:32:25 +02:00
Piotr Sarnacki
a3ec12bda7 Fix some of the build links 2012-10-12 15:34:07 +02:00
Piotr Sarnacki
a3826fbeb3 Show all repos accessible by current user in 'My repositories' 2012-10-12 14:42:04 +02:00
Sven Fuchs
d2cbde2cfa use the rake-pipeline project directly. cuts asset build time by 50% 2012-10-12 02:41:15 +02:00