Piotr Sarnacki
92da0c8034
Simplify build/job and tools templates
2013-07-31 13:43:06 +02:00
Piotr Sarnacki
3a4d52f52b
Change URL when clicking on repos tabs
2013-06-12 19:55:34 +02:00
Piotr Sarnacki
50cdc4cf98
Move checking for errors to router rather than template
...
Previously we were checking if we should display an error message by
adding if statements in a template. This is not the best way to do
it, because it clutters a template and makes code harder to follow.
In this commit I move rendering error templates to the router. Code for
rendering error when there is no builds is not the best way to do it
either, but it can be improved when new router changes are merged to
Ember's master and a way Ember Data is handling promises is revised and
improved.
2013-06-05 11:37:29 +02:00
Mathias Meyer
a0ab577b6c
Add RGSoC logo to the top of the sidebar.
...
Remove the current sponsors from the sidebar.
2013-05-31 21:17:06 +02:00
Henrik Hodne
e659659861
Download 2x images from Gravatar
...
This will make them look nicer on Retina screens. We may want to make
them even bigger if people are increasing the size of the page on
Travis, but doing that causes all kinds of alignment issues, so it's not
necessary to do now, I think.
2013-05-22 13:09:24 +02:00
Piotr Sarnacki
d0f7c75795
Remove sidebar elements, which need to query API
...
This reverts commit b6e89073dc
.
2013-05-16 13:55:18 +02:00
Piotr Sarnacki
a4fccf800a
Don't use id for flash view
...
When logging out and then logging back in, there is sometimes an error
when registering flash view, which says that it can't register 2 views
with the same id. We don't need to use id here, so I just changed id to
class
2013-05-16 13:33:07 +02:00
Piotr Sarnacki
b432a39fb4
Don't try to connect outlet if current view is desteoyed
2013-05-16 01:56:05 +02:00
Piotr Sarnacki
563c1f8773
destroyed -> isDestroyed
2013-05-16 01:51:57 +02:00
Piotr Sarnacki
685cf1074f
Initialize _outlets if it's null
2013-05-16 01:48:06 +02:00
Piotr Sarnacki
b6e89073dc
Revert "Revert "Revert "Remove sidebar elements, which need to query API
...
This reverts commit 9ca1833103
.
2013-05-15 17:23:52 +02:00
Josh Kalderimis
55a58f275d
remove the (i) from the top right of the tabs
...
the (i) is a miscommunication as it looks like it is to give information about the tabs instead of pop down descriptions underneath each of the repos in the recent and 'my repos' lists.
2013-05-10 19:54:52 +02:00
Piotr Sarnacki
df9db80c42
A few improvements for tabs on repos list
...
* if user is logged out, the default tab should be 'recent'
* when user logs in, the tab is switched to 'my repositories'
* when user logs out, my repositories is hidden again and tab is
switched to 'recent'
2013-04-30 02:45:16 +02:00
Piotr Sarnacki
9ca1833103
Revert "Revert "Remove sidebar elements, which need to query API""
...
This reverts commit e6b8562054
.
2013-04-29 14:53:56 +02:00
Piotr Sarnacki
d2e103bc36
Revert "Remove sidebar elements, which need to query API"
...
This reverts commit d0009176f9
.
2013-04-29 14:53:55 +02:00
Piotr Sarnacki
d0009176f9
Remove sidebar elements, which need to query API
...
We have problems with timeouts and thus we want to lower API load
2013-04-16 20:46:56 +02:00
Piotr Sarnacki
dbbd82c825
Move GroupView into proper location
2013-04-15 18:55:22 +02:00
Piotr Sarnacki
1198809979
Move WorkersView and JobsView to Travis.SidebarView namespace
...
Travis.JobsView already exists, so I need to put those views in some
other namespace, but so that they're available without instantiating
SidebarView
2013-04-08 00:36:21 +02:00
Piotr Sarnacki
31f25ed4f8
Move WorkersView and JobsView to Travis namespace
...
That way those views can be overriden easily
2013-04-08 00:25:05 +02:00
Piotr Sarnacki
8a69df0126
For some reason passing event breaks on chrome
2013-04-05 19:42:53 +02:00
Piotr Sarnacki
957d8a01ab
Merge branch 'sidebar-tabs'
...
Conflicts:
assets/scripts/spec/support/conditions.coffee
2013-04-05 19:26:24 +02:00
Piotr Sarnacki
39d0202d7a
Fix specs, add styling for firefox
2013-04-05 18:09:00 +02:00
Piotr Sarnacki
cf23f81c40
Typo in tools view: hasPermissions -> hasPermission
2013-04-04 17:18:41 +02:00
Piotr Sarnacki
17923af973
Fix expanding folds on firefox
2013-03-29 23:25:05 +01:00
Sven Fuchs
63c0c50ec2
Merge branch 'master' into sf-log
2013-03-29 16:04:18 +01:00
Piotr Sarnacki
74f4a7b110
Fix the log view for finished logs
2013-03-22 10:13:26 +01:00
Sven Fuchs
300e91133c
Merge branch 'master' into sf-log
...
Conflicts:
assets/scripts/app/views/log.coffee
2013-03-22 02:14:55 +01:00
Piotr Sarnacki
f1adbf8f20
Improve log handling
...
* don't fetch log content on Travis.Log init
* use timeout in ChunkBuffer instead of Ember.run.later
* remove timeout when log is finalized
2013-03-22 01:25:23 +01:00
Piotr Sarnacki
65254b70da
Fix cutting too long logs
2013-03-19 16:07:21 +01:00
Sven Fuchs
4dba587673
Merge branch 'master' into sf-log
2013-03-16 06:45:36 +01:00
Piotr Sarnacki
aedddd8afe
Display only jobs and workers in tabs
2013-03-15 19:22:24 +01:00
Piotr Sarnacki
b06d7f9628
Tabs on the sidebar, the beginning based on @svenfuchs work
2013-03-15 16:30:28 +01:00
Piotr Sarnacki
d590b06d17
Leave currentUser connected to controller, but check for id
2013-03-15 10:28:35 +01:00
Piotr Sarnacki
1b01581fb4
Use regular params instead of event in My Repositories list ( closes #157 )
2013-03-15 10:22:58 +01:00
Sven Fuchs
80a0186464
Merge branch 'master' into sf-log
2013-03-14 22:46:07 +01:00
Piotr Sarnacki
febf40fd76
Fix pull requests view to show PR number
2013-03-14 20:37:57 +01:00
Sven Fuchs
95e58f5f38
remove double PreView definition
2013-03-14 18:05:59 +01:00
Sven Fuchs
ff6e126e45
fix lineNumberClicked
2013-03-14 17:35:39 +01:00
Sven Fuchs
c011cfafcd
fix line numbering
2013-03-14 17:18:34 +01:00
Sven Fuchs
e1a667407f
fix after rebase
2013-03-14 16:29:22 +01:00
Sven Fuchs
2331e8e006
re-add limit and scroll, fix positioning of messages
2013-03-14 15:48:42 +01:00
Sven Fuchs
c0a4fed836
use travis-web-log/sf-dom
2013-03-14 15:47:59 +01:00
Piotr Sarnacki
2013492371
Remove debug console.logs
2013-03-14 15:12:07 +01:00
Piotr Sarnacki
bdb552100a
Always use currentItem to get log context
2013-03-14 15:10:56 +01:00
Piotr Sarnacki
3d3c0fc3b2
Jekyll is not the same as github flavoured markdown
2013-03-14 15:01:45 +01:00
Piotr Sarnacki
79f1dc448f
Revert "move log subscrition to a log controller"
...
This was causing the log to not refresh sometimes when switching from
one repo to another, I'm reverting for now, we will have to have another
look.
This reverts commit 2e8b74160c
.
Conflicts:
assets/scripts/app/controllers/build.coffee
assets/scripts/app/models/build.coffee
assets/scripts/app/templates/builds/show.hbs
assets/scripts/app/views/log.coffee
assets/scripts/vendor/log.js
2013-03-14 10:07:35 +01:00
Piotr Sarnacki
2eab278736
Add ChunkBuffer to log
2013-03-13 00:13:51 +01:00
Piotr Sarnacki
b1edd8e510
Bring back log engine from master
2013-03-12 22:52:39 +01:00
Piotr Sarnacki
63559f4c4c
Show appropriate message when the repository has no builds
2013-03-11 20:11:43 +01:00
Piotr Sarnacki
8fab8448c2
Show appropriate message if repository was not found
2013-03-11 19:47:59 +01:00