Piotr Sarnacki
33bce774a3
Add first_sync template
...
First sync will be displayed when user is logged in and first sync is
still taking place
2013-08-05 03:29:19 +02:00
Piotr Sarnacki
b40d0acf9c
Return empty array from userRepos when there is no user
2013-08-05 03:28:43 +02:00
Piotr Sarnacki
acf5d8e9be
Redirect to root after signin in on auth page
2013-08-05 03:27:47 +02:00
Piotr Sarnacki
003c6e7b01
Add unload method on model
2013-08-05 03:24:39 +02:00
Piotr Sarnacki
ce56c95b5f
Change styling for auth template
2013-08-05 03:24:39 +02:00
Piotr Sarnacki
c79725d0e9
Refactor sign in related templates, fix indicator in auth template
2013-08-05 03:24:33 +02:00
Piotr Sarnacki
d248fd11a6
Fix messages on empty repos list
2013-08-05 02:35:47 +02:00
Piotr Sarnacki
218a078164
Fix messages on empty repos list
2013-08-05 02:35:28 +02:00
Piotr Sarnacki
9170795639
Improve auth code in router by using new async stuff ( ❤️ @machty)
2013-08-03 20:48:59 +02:00
Piotr Sarnacki
d9d833d1b4
No need to prefetch repos in recentRepos
...
Repo#withLastBuilds already does a fetch, so this is redundant
2013-08-03 15:11:23 +02:00
Piotr Sarnacki
b2f543f3a2
Don't require sidebar and running jobs, it's not used anyway
2013-08-03 15:10:55 +02:00
Piotr Sarnacki
66ed172888
Refactor the way we insert new records with pusher
...
Previousy I was using find to ensure that the record is materialized,
but the new version is much lighter - it uses Model#load to load the
record directly
2013-08-03 15:09:18 +02:00
Piotr Sarnacki
9cb84f78ee
Update travis-web-log to use setImmediate.js
...
Currently travis-web-log uses setTimeout which makes long logs rendering
much slower than it should be.
2013-08-03 15:07:48 +02:00
Piotr Sarnacki
dd525dd1d2
Update ember-model
2013-08-03 15:07:14 +02:00
Piotr Sarnacki
17d5212d86
Bring back deferReadiness(), it was accidentally removed
2013-07-31 16:18:54 +02:00
Piotr Sarnacki
53951c3691
Don't reload user repositories each time my repos tab is clicked
2013-07-31 16:18:37 +02:00
Piotr Sarnacki
07d2d1ff2a
Check if record is in a record array before adding it
2013-07-31 15:06:06 +02:00
Piotr Sarnacki
27da51fcc1
Don't update entire filtered array when adding record
2013-07-31 14:57:08 +02:00
Piotr Sarnacki
42470fd416
Wrap updateTimes in Ember.run
2013-07-31 13:59:03 +02:00
Piotr Sarnacki
fb41820917
Remove ticker require
2013-07-31 13:57:49 +02:00
Piotr Sarnacki
549efc8046
Add resetData, unload and removeFromCache to Travis.Model
2013-07-31 13:56:19 +02:00
Piotr Sarnacki
647863ca59
Remove require 'store', add require 'adapter'
2013-07-31 13:55:39 +02:00
Piotr Sarnacki
96066709b4
Simplify permissions CP code
2013-07-31 13:55:04 +02:00
Piotr Sarnacki
50e533b116
Log router transitions
2013-07-31 13:54:39 +02:00
Piotr Sarnacki
0ac5b6855e
Use isPullRequest instead of eventType
2013-07-31 13:54:02 +02:00
Piotr Sarnacki
e8809727bf
Ticker is no longer used
2013-07-31 13:52:51 +02:00
Piotr Sarnacki
1951752f47
Wrap ajax callbacks in Ember.run
2013-07-31 13:52:08 +02:00
Piotr Sarnacki
c0cb223aeb
Update Travis.Model to work with Ember Model
2013-07-31 13:51:28 +02:00
Piotr Sarnacki
ccfd116f08
Use Handlebars.helper instead of registerBoundHelper
2013-07-31 13:49:46 +02:00
Piotr Sarnacki
f271622758
Update ExpandableRecordArray to work correctly with Ember Model
2013-07-31 13:49:15 +02:00
Piotr Sarnacki
f92c592f2d
Add pusher receive related stuff to App (previously it was in store)
2013-07-31 13:47:55 +02:00
Piotr Sarnacki
8082d3a6d3
Update loading user to EmberModel's version
2013-07-31 13:45:52 +02:00
Piotr Sarnacki
8daf5b857a
Don't fail if user signs out before router is set up
2013-07-31 13:45:23 +02:00
Piotr Sarnacki
ded00e0182
unloadRecord -> unload
2013-07-31 13:44:56 +02:00
Piotr Sarnacki
92da0c8034
Simplify build/job and tools templates
2013-07-31 13:43:06 +02:00
Piotr Sarnacki
da9a34f06c
Change ED's filter() calls to FilteredArrays
2013-07-31 13:42:06 +02:00
Piotr Sarnacki
9093b2a311
Remove tick from sidebar controller
2013-07-31 13:39:18 +02:00
Piotr Sarnacki
af3f865854
Make routes code more async capable when setting job
...
After changing Ember Data to Ember Model, the default behavior is to
not return promise by default from `find` call. This is better in
general for our use case, because we don't block rendering the UI while
data loads, but we now have to handle cases where model is not yet
loaded in `setupController`
2013-07-31 13:35:47 +02:00
Piotr Sarnacki
373c7f706f
Get rid of hacks from routes
2013-07-31 13:32:23 +02:00
Piotr Sarnacki
670f38542a
Use model.save() for saving records
...
Also, there is no need to use transactions anymore
2013-07-31 13:29:55 +02:00
Piotr Sarnacki
823c8441be
Change EmberData properties/relationships into EmberModel versions
...
DS.attr -> Ember.attr
DS.belongsTo -> Ember.belongsTo
DS.hasMany -> Ember.hasMany
2013-07-31 13:29:55 +02:00
Piotr Sarnacki
4d74491401
Remove unused code
2013-07-31 13:29:55 +02:00
Piotr Sarnacki
7fb090fe99
Update ember-model and ember.js
2013-07-31 13:29:54 +02:00
Piotr Sarnacki
359c97cad0
Rewrite specs from jasmine to qunit
2013-07-31 13:29:45 +02:00
Piotr Sarnacki
5fea9d1d7b
Change spec runner to qunit
...
New ember-testing additions can be plugged into qunit without any
changes, so the easiest way to start using it is to rewrite our tests to
qunit.
2013-07-30 17:12:58 +02:00
Piotr Sarnacki
c194c775b9
Merge pull request #195 from floydpink/show-more-button
...
Show loading indicator on 'Show More' click
2013-07-29 18:18:43 -07:00
Piotr Sarnacki
f54054de72
Merge pull request #194 from floydpink/build-job-page-fixes
...
Fix a couple of metadata items on build and job tabs
2013-07-29 17:17:41 -07:00
Floyd Pink
fd98847863
show loading indicator on show-more button click
2013-07-27 16:11:12 -04:00
alonisser
4bc4d10e7d
Add Rst status image format
...
Close #192 .
2013-07-26 23:55:12 -07:00
Floyd Pink
d12bb1e8e4
a) author/committer emails on build page and b) PR on job page
2013-07-26 17:34:03 -04:00