Piotr Sarnacki
25079b8d79
Move hacks for phantomjs to spec.html
...
This ain't pretty, but I just want to see if it helps to fix specs on
phantomjs, I may move them to separate file and take into account in
Assetfile later.
2013-03-07 01:59:15 +01:00
Piotr Sarnacki
d2d341ac9a
Revert "Remove run() method override, it breaks app loading"
...
It works correctly, it was probably some error in assets compilation.
This reverts commit 9ed6051041
.
2013-02-28 16:02:29 +01:00
Piotr Sarnacki
3442610244
Fix jasmine styles to make it bigger and relative (on top of app)
2013-02-28 15:56:55 +01:00
Piotr Sarnacki
9ed6051041
Remove run() method override, it breaks app loading
2013-02-28 15:56:51 +01:00
Piotr Sarnacki
02ff533774
Fix integration tests running and 2 first tests
2013-02-28 15:54:48 +01:00
Sven Fuchs
ea8946d2eb
rename bootstrapTravis to Travis.run
2013-02-26 23:59:03 +01:00
Sven Fuchs
91a186e6b8
Revert "delay calling things until the document is ready"
...
This reverts commit e6b0ae2294
.
2013-02-26 23:56:56 +01:00
Sven Fuchs
e6b0ae2294
delay calling things until the document is ready
2013-02-26 23:37:31 +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
4e29faaa03
Start Travis with bootstrapTravis function
2013-02-26 12:21:17 +01:00
Piotr Sarnacki
83fb0ebb2c
Fix incomplete implementation
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
f0e95ddd3f
Main view mostly works on new router
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
11e11eb936
Revert removal of jasmine styles
2013-02-18 23:46:43 +01:00
Sven Fuchs
0322e1a3c8
extract ga code and setup
2013-02-08 14:49:46 +01:00
Piotr Sarnacki
21b5c447dc
Update pusher key
2013-01-31 15:09:51 +01:00
Konstantin Haase
1815774c1b
add github api
2012-12-20 12:22:22 +01:00
Konstantin Haase
598783c1ae
add dns prefetching
2012-12-20 12:20:34 +01:00
Sven Fuchs
808ab28a4e
fix icon size
2012-12-09 22:19:41 +01:00
Sven Fuchs
754be387b4
use svg icons instead of fonts
2012-12-09 22:04:50 +01:00
Sven Fuchs
e2ea999974
try using font/icons for color issues
2012-12-09 15:16:27 +01:00
Sven Fuchs
8f762636b7
Merge remote-tracking branch 'randym/i18n'
...
Conflicts:
Gemfile.lock
2012-12-05 11:23:09 +01:00
Randy Morgan
c4bfc7b1d7
Added i18n web filters and rake task for pulling the translations down from localeapp
...
You will need to set ENV['LOCALEAPP'] to the secret key to run the
update. Contact randym if you need it.
2012-11-22 20:47:38 +09:00
Piotr Sarnacki
cdbfac1166
Add google analytics
2012-11-17 12:19:30 +01:00
Piotr Sarnacki
df15776e0e
Revert "Revert "It's free and hosted, not distributed!""
...
This reverts commit 92f843208a
.
2012-11-07 22:58:09 +01:00
Piotr Sarnacki
92f843208a
Revert "It's free and hosted, not distributed!"
...
This reverts commit 873c8aefa6
.
2012-11-05 22:27:54 +01:00
Mathias Meyer
873c8aefa6
It's free and hosted, not distributed!
2012-11-02 13:26:20 +01:00
Piotr Sarnacki
74aa8ed503
Remove public/version from git
2012-10-30 02:30:45 +01:00
Piotr Sarnacki
9e53ee4aa4
Remove compiled scripts and styles from repo
2012-10-30 02:27:29 +01:00
Piotr Sarnacki
73055be147
Merge branch 'deployment-plus-plus'
...
Conflicts:
assets/scripts/lib/travis/expandable_record_array.coffee
public/scripts/app.js
public/scripts/min/app.js
public/styles/app.css
public/version
2012-10-30 02:25:02 +01:00
Piotr Sarnacki
be2a1cf8a3
Use isComplete on build page to not show incomplete record
2012-10-30 02:23:41 +01:00
Piotr Sarnacki
d1ab28abcc
Remove console.log entry
2012-10-30 02:23:41 +01:00
Piotr Sarnacki
3a1cb7444c
Move rakep and dependencies out of development
2012-10-30 02:21:10 +01:00
Piotr Sarnacki
f39dcff13b
Compile assets for production
2012-10-28 23:45:27 +01:00
Piotr Sarnacki
5ae7e1d046
Check also associations for incomplete records
2012-10-28 23:43:17 +01:00
Piotr Sarnacki
4c1c4586fa
Handle case where key on data needs Ember.set
...
I'm not really sure what cauese a field to be defined as such setter,
but it sometimes happens.
2012-10-28 23:43:17 +01:00
Piotr Sarnacki
fee6fc6cad
payload.job.id is not always present in worker:updated event
2012-10-28 23:43:16 +01:00
Piotr Sarnacki
d3d7f6b83c
Don't add repository on worker events if it already exists
...
It's best to do that, because worker payload is usually outdated. If
there is no info on repo yet, it's worth to add it, but if it already
exists, we will most likely end up with inconsistent situation.
2012-10-28 23:43:16 +01:00
Piotr Sarnacki
987185be54
Fix build link when updating builds through pusher
2012-10-28 23:43:16 +01:00
Piotr Sarnacki
3f0babcf55
Fix adding builds to a build list on pusher event
2012-10-28 23:43:15 +01:00
Piotr Sarnacki
6b40f127a1
Check also associations for incomplete records
2012-10-27 04:45:57 +02:00
Piotr Sarnacki
a8e85dc714
Handle case where key on data needs Ember.set
...
I'm not really sure what cauese a field to be defined as such setter,
but it sometimes happens.
2012-10-27 03:50:16 +02:00
Piotr Sarnacki
63e2a9add6
payload.job.id is not always present in worker:updated event
2012-10-27 03:43:01 +02:00
Piotr Sarnacki
40ef7107f4
Don't add repository on worker events if it already exists
...
It's best to do that, because worker payload is usually outdated. If
there is no info on repo yet, it's worth to add it, but if it already
exists, we will most likely end up with inconsistent situation.
2012-10-27 03:11:15 +02:00
Piotr Sarnacki
94bff24f2c
Fix build link when updating builds through pusher
2012-10-27 00:50:34 +02:00
Piotr Sarnacki
5eb3ab3b01
Fix adding builds to a build list on pusher event
2012-10-26 22:35:10 +02:00
Piotr Sarnacki
a7faec7479
Make sure that repo.slug is loaded for queue urls
2012-10-24 22:37:24 +02:00
Piotr Sarnacki
231f3b8723
Load worker related records from pusher payload
2012-10-24 11:28:01 +02:00
Piotr Sarnacki
7f979c8a5e
Add minified app.js
2012-10-23 23:39:12 +02:00
Konstantin Haase
a1fb0ff2be
bump up auth timeout
2012-10-23 21:25:22 +02:00
Piotr Sarnacki
14e8827e36
Generate production version
2012-10-23 03:47:26 +02:00
Piotr Sarnacki
a63ac52458
Remove layout views, just change template on application
2012-10-23 01:40:05 +02:00
Piotr Sarnacki
939212302a
Fix loading page with #L<line-number>
...
Ember changed a way HistoryLocation works and it no longer calls
getURL(). I'm monkey patching it, but I will submit a pull request to
fix it.
2012-10-22 21:45:43 +02:00
Piotr Sarnacki
349a4d104e
Fix scrolling issues for 'Follow logs'
2012-10-22 21:30:26 +02:00
Piotr Sarnacki
72f14fb594
Do not trigger unnecessary reloads when locale *could* have changed
2012-10-22 21:29:51 +02:00
Piotr Sarnacki
3fdd2d50ab
Get back to old version of log number scrolling
2012-10-22 21:29:14 +02:00
Konstantin Haase
87e8f32637
Merge branch 'master' of github.com:travis-ci/travis-web
...
Conflicts:
public/version
2012-10-22 21:25:22 +02:00
Konstantin Haase
5a772a0710
update app.css
2012-10-22 21:23:50 +02:00
Piotr Sarnacki
c02f4d860b
Fix errors with reload
2012-10-22 19:54:53 +02:00
Piotr Sarnacki
300ad58516
Fix incomplete implementation
...
While testing in the wild I spotted a few problems with it:
* it didn't work for camel case names.
* it was sometimes setting loaded data too late - it needed to use find
and then save data on the record. Instead it should save data in
special array saved on store, indexed by clientId
* there is already method to get attributes in ember-data, it just
doesn't work with Travis.Foo.get('attributes'), it needs
Ember.get(Travis.Foo, 'attributes') - it makes implementation much
shorter
2012-10-22 02:54:48 +02:00
Piotr Sarnacki
6cfddfd882
Change log.isLoaded to view.job.log.isLoaded
...
For some weird reason Ember errors out when it's called directly on
context (which is job in this place).
2012-10-21 20:48:24 +02:00
Piotr Sarnacki
6513d5c675
Update ember.js
2012-10-21 18:53:52 +02:00
Piotr Sarnacki
60740a8d3d
Remove router hacks
...
I've implemented things that we need into Ember. We're running from my
fork for now, ideally those changes will be merged into official repo.
2012-10-20 16:36:53 +02:00
Piotr Sarnacki
0587991533
Fix scrolling to line numbers
...
After some of the layout changes, the element that actually gets
scrolled is current layout view (.application > div).
2012-10-20 15:43:17 +02:00
Piotr Sarnacki
af00392d15
Fix jobs table when jobs have different config keys
...
If we have 2 jobs within 1 build, with such config values:
{ rvm: 'jruby-head', jdk: 'oraclejdk7' }
{ rvm: '1.9.3', jdk: null }
We should return jdk in configValues for second build, even if it's not
present. Otherwise table rows may be missing.
(closes #28 )
2012-10-20 02:14:17 +02:00
Sven Fuchs
f790a809ff
remove debug output
2012-10-19 22:24:57 +02:00
Sven Fuchs
853606bcc6
moar routing/auth refactorings
2012-10-19 22:20:45 +02:00
Sven Fuchs
c4b91108a0
refactor routes/auth interaction so that it always calls afterSignIn()
2012-10-19 21:24:18 +02:00
Sven Fuchs
a806dd7ff8
refactor broadcasts
2012-10-19 04:27:07 +02:00
Piotr Sarnacki
a29e3003cb
Update ember
2012-10-19 01:52:16 +02:00
Sven Fuchs
45cc6a47e3
fix top menu active item styles
2012-10-19 00:33:39 +02:00
Piotr Sarnacki
82163346b9
We don't have to transitionTo('root') here
2012-10-18 03:38:45 +02:00
Piotr Sarnacki
cb76de3718
Move afterSignIn to auth Route
...
If we keep it only on states lower than root and afterSignIn is sent
when app is still in root.loading (which is often the case as we need to
wait for repository deserialization), it will try to find afterSignIn on
root.
2012-10-18 03:28:29 +02:00
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
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
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
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