Justine Arreche
b0415a7148
Fixed list.coffee so repo cell to be entirely clickable, all the credit goes to @bastilian
2013-10-07 17:04:31 -04:00
Piotr Sarnacki
972fb6fb43
Always subscribe to log updates
...
When the job is restart, we will not get any updates unless we're
subscribed to job updates - that's why we need to subscribe even if the
job is already finished.
The other option to fix this would be to subscribe and unsubscribe also
based on the status, but since subscribing to finished jobs does not
cost us anything, I prefer the simpler solution.
2013-10-07 17:15:59 +02:00
Piotr Sarnacki
d0998a8fc5
Remove unused observer
...
log property in Travis.Job does not change - we create Log instance
when it's accessed and don't refresh it on any occasion, that's why the
observer on log is not needed.
2013-10-07 16:43:09 +02:00
Aaron Hill
2a83215fdc
Fixed clearing log
2013-10-03 21:23:49 -04:00
Mathias Meyer
47f84d5b5b
Move build status image button to the top right.
...
It takes up quite a bit of room on the tabs list, and it makes
more sense to have it up there, as it belongs to the repository.
2013-09-23 13:19:43 +02:00
Piotr Sarnacki
0327d39e2c
Move observing last build to controller
...
We observe last build on the repo in order to show the freshest build on
repo page. I moved it to router in order to keep such observers in the
same place, but this was not a wise move. To make it work properly
observer needs to be removed when moving to some other part (like
build's page). The problem is that deactivate function is not called
when we move to the other route in the same nesting. We have our own
'activate' function on repoController, which is better suited for
handling this task.
2013-09-12 23:23:21 +02:00
Henrik Hodne
688f8a0bb9
Fix typo in cancellation flash message
2013-09-12 10:01:01 -05:00
Mathias Meyer
0c9a49ab51
Rework Code Climate integration for action icon bar.
2013-09-11 10:53:02 +02:00
Mathias Meyer
8d3fa21665
Merge branch 'master' into mm-code-climate-window
...
Conflicts:
assets/scripts/app/templates/repos/show/tools.hbs
assets/scripts/app/views/repo/show.coffee
2013-09-10 14:32:20 +02:00
Mathias Meyer
eaf258f033
Use status image helper to determine the URL.
2013-09-10 12:46:33 +02:00
Mathias Meyer
84130350bd
Merge branch 'mm-extract-actions-from-menu'
2013-09-10 10:30:36 +02:00
Mathias Meyer
e7d4b284cd
Make action links actual icons.
...
This change pushes the cog menu to the top, where it belongs, as it
now only includes repository-relevant actions. The icons now reflect
things relating to the build/job itself, and have replace the cog
meny.
2013-09-09 16:40:23 +02:00
Mathias Meyer
451894bcec
Pull some bindings into build and job controllers.
2013-09-08 10:11:20 +02:00
Mathias Meyer
2cc35556ab
Pull job/repository actions out of cog menu.
...
It's very hard to notice where something is, when it's hidden in
that menu.
2013-09-08 09:21:37 +02:00
Piotr Sarnacki
1a0e378732
Fix rendering job when moving from index route
...
The hack which is needed for wrong outlet behaviour renders a template
when outlet is not rendered automatically, but it was done immediately.
Because of that when changing routes from index to job route, sometimes
the hack was kicking in and rendering build instead of job template.
This commit fixes it to check if rendering is needed in "afterRender"
phase on runloop.
2013-09-07 17:44:43 +02:00
Mathias Meyer
f4acc21d06
WIP: Code Climate UI integration.
2013-09-03 14:26:02 +02:00
Piotr Sarnacki
fb120af69e
Use pullRequestNumber from build, not from commit
2013-08-29 01:01:03 +02:00
Piotr Sarnacki
18ba86eca0
Remove stuff not used in travis-web anymore
2013-08-28 14:17:26 +02:00
Piotr Sarnacki
eb35a0e1c6
Merge branch 'master' into ui-improvements
...
Conflicts:
assets/scripts/app/controllers.coffee
2013-08-25 14:46:03 +02:00
Piotr Sarnacki
0217b20943
Implement missing pieces for cancel build
...
We allow to cancel only created builds at this point.
2013-08-09 23:06:19 +02:00
Piotr Sarnacki
8c3e92faea
Merge branch 'master' into ui-improvements
...
Conflicts:
assets/scripts/app/controllers/repo.coffee
assets/scripts/app/templates/builds/show.hbs
assets/scripts/app/templates/jobs/show.hbs
2013-08-06 13:16:56 +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
92da0c8034
Simplify build/job and tools templates
2013-07-31 13:43:06 +02: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
Henrik Hodne
31cb6ce98a
Extract annotations view
2013-07-11 11:45:23 -07:00
Henrik Hodne
5ce8093253
Show annotations on the job page
2013-07-10 18:52:07 -07: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
Sven Fuchs
93edf5b63c
remove limit for now and update log.js
2013-03-09 00:51:20 +01:00
Sven Fuchs
ffe6f2d62c
actually limit before setting the part
2013-03-08 17:51:32 +01:00
Sven Fuchs
d44e3b0098
move limit to web-log
2013-03-08 17:33:03 +01:00
Piotr Sarnacki
44bef520a0
Properly bind worker.state class
2013-03-07 18:13:29 +01:00
Sven Fuchs
ffd1b6d917
try to unsubscribe from the log when the log view is destroyed, too
2013-03-07 16:43:00 +01:00
Sven Fuchs
2e8b74160c
move log subscrition to a log controller
2013-03-06 19:59:59 +01:00
Sven Fuchs
fbe52ac854
update log.js
2013-03-06 16:37:01 +01:00
Sven Fuchs
8a2ba379aa
unsubscribe from log channels
2013-03-05 17:14:00 +01:00
Piotr Sarnacki
712389efdb
Fix more specs
2013-03-04 03:46:04 +01:00
Sven Fuchs
5d885289de
update log.js, use Log.Dom engine
2013-03-04 02:32:04 +01:00
Sven Fuchs
b1b16f9039
Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update
2013-02-28 21:38:08 +01:00
Sven Fuchs
7342618ffd
improve logging
2013-02-28 21:36:56 +01:00
Piotr Sarnacki
0f89da6dea
Fix selected class on repos list
2013-02-28 15:54:47 +01:00
Sven Fuchs
079998093b
re-add the limit
2013-02-27 17:09:02 +01:00
Sven Fuchs
c4bb49cc17
Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update
2013-02-26 23:19:55 +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
12da46a623
Fix showAll button
2013-02-26 11:21:34 +01:00
Piotr Sarnacki
a47147ed82
Fix build lists to not interfere with each other
2013-02-26 11:17:42 +01:00
Piotr Sarnacki
ba1eecec45
Remove github stats
2013-02-26 05:26:51 +01:00
Piotr Sarnacki
d76463c3f2
Fix a few more UI issues
2013-02-26 05:24:56 +01:00
Piotr Sarnacki
9bac8ecba1
Fix status icon on build's view
2013-02-26 05:02:56 +01:00
Piotr Sarnacki
1bccb5d177
Fix line numbers when loading an url
2013-02-25 15:18:59 +01:00
Sven Fuchs
dbac2f8458
debug output
2013-02-25 13:07:07 +01:00
Randy Morgan
050bdfddb8
Added de locale to profile
...
This is dependent on https://github.com/travis-ci/travis-core/pull/190
2013-02-25 21:02:02 +09:00
Sven Fuchs
f4832bd5f4
remove stale stuff from log/pre views
2013-02-22 23:38:33 +01:00
Piotr Sarnacki
553495c56c
Add @svenfuchs' log reimplementation
2013-02-22 17:00:50 +01:00
Piotr Sarnacki
395c818a64
Fix permission check for cog menu
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
cfbec29978
Fix some of the places still using Travis.app
2013-02-21 23:22:54 +01:00
Piotr Sarnacki
db2f01aa23
Fix sponsors
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
4f21b097a8
Fix profile views
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
a3622e14c9
Allow to sign in and sign out
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
50a69cccad
Don't do request to get repos every time home page is reloaded
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
9bf2cb1078
Add stats view and fix connectLayout
2013-02-21 23:22:53 +01:00
Piotr Sarnacki
0b001acfaf
Event is no longer passed as an argument to handlers
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
9b26ae4312
Fix workers view
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
cadc8c0e72
Fix running jobs
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
86670def14
Fix queues lists
2013-02-21 23:22:52 +01:00
Piotr Sarnacki
4cdd4df515
Tabs and basic views are mostly working
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
075e714fc3
Fix job view
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
99b9c72e2e
Fix attributes and relatiobships in build
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
8ccd95e0b0
Fix build view and links on left sidebar
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
f0e95ddd3f
Main view mostly works on new router
2013-02-21 23:22:51 +01:00
Piotr Sarnacki
5255cfe744
Remove console log statements
2013-02-13 14:45:36 +01:00
Piotr Sarnacki
4590492547
Fix one more problem with folds
2013-02-13 14:42:23 +01:00
Piotr Sarnacki
76520cfcdb
Add count for running jobs
2013-02-13 11:52:00 +01:00
Piotr Sarnacki
3862dd163d
Limit log to 5000 lines
2013-02-13 04:03:02 +01:00
Piotr Sarnacki
2607197cba
Fix typo in requeue build permissions check
2013-02-09 18:29:07 +01:00
Piotr Sarnacki
8061e57814
Sort running jobs by repo slug and number
2013-02-07 18:40:20 +01:00
Piotr Sarnacki
ad6f9e59c7
Display running jobs
2013-02-07 13:20:41 +01:00
Lukasz Sarnacki
201a3abf17
Disable links in cog menu when not signed in
...
When user is not logged in, some links in cog menu
are not display. This commit makes them visible but
disabled.
2013-02-07 00:40:15 +01:00
Piotr Sarnacki
ead17606b5
Fix download log link after log changes
2013-01-30 02:15:11 +01:00
Piotr Sarnacki
0e925c0eed
Load branches for status images only after opening the popup
2013-01-24 00:48:11 +01:00
Sven Fuchs
28e40ab0e4
make WorkerItemView.display rely on the model more
2013-01-22 19:04:25 +01:00
Sven Fuchs
f2ca2d5260
remove worker.lastSeenAt (useless anyway) and use payload.job instead of (deprecated) payload.build for active worker links
2013-01-22 18:55:08 +01:00
Sven Fuchs
9be127fa59
re-enable worker updates via pusher
2013-01-22 17:30:42 +01:00
Piotr Sarnacki
2ca67e6b06
Bring back repo url, it's used in status images urls ( closes #118 )
2013-01-22 01:30:56 +01:00
Piotr Sarnacki
9052869f9f
Remove class from log line number to make template simpler ( closes #112 )
2013-01-22 01:22:47 +01:00
Piotr Sarnacki
a8b5460eed
Show download log link in the cog menu
2013-01-16 12:59:15 +01:00
Piotr Sarnacki
98e6503e73
Add download log link at the bottom of the log
2013-01-15 13:18:49 +01:00
Piotr Sarnacki
e40fa3b26d
Removed unused urls
2013-01-15 13:18:49 +01:00
Nick Schonning
850b5148f9
Remove name attribute from log line link
...
Name is only intended for form elements, also the ID is what is used by
the anchor link
2013-01-14 20:16:16 -05:00
Piotr Sarnacki
6fb15c4a97
Show pull request number on the list
2013-01-15 00:48:34 +01:00
Kirill Lashuk
402722d563
Rename urlStatusImage to statusImageUrl.
2013-01-14 23:12:31 +03:00
Kirill Lashuk
9bfd9f3948
Fix urlStatusImage generation.
2013-01-14 23:11:02 +03:00
Kirill Lashuk
8d4c28b7f7
Rename property to statusImageBranch.
2013-01-14 23:04:37 +03:00
Kirill Lashuk
ec14d96236
Select current branch in status images popup.
2013-01-14 23:04:37 +03:00
Piotr Sarnacki
23a58866bd
Fix LimitedArray to work properly with SortableMixin
2012-12-14 04:31:28 +01:00
Piotr Sarnacki
4657ee351b
Merge pull request #78 from randym/i18n
...
Updates and Fixes for Profile and UI to properly handle locale switching
2012-12-11 07:07:54 -08:00
Piotr Sarnacki
79e6f5e037
Allow to change the place of insertion for limited array
2012-12-11 14:41:21 +01:00
Randy Morgan
0e727819b0
Updated profile view to support auto-updating locale selection
2012-12-11 13:13:54 +09:00
Randy Morgan
992cbb13f7
Removed unsupported locales from profile.
...
This should be written to populate from the I18n.translations hash but
for now, I am just getting rid of the ones that do not exist.
2012-12-11 10:55:43 +09:00
Randy Morgan
e4fb6c1fee
Completed dynamic I18n intetegration.
...
travis-web starts in English. When the user logs in, it switches to
their locale, when they logout, it goes back to english.
2012-12-11 10:48:19 +09:00
Sven Fuchs
7759061d4e
disable "cancel build"
2012-12-10 15:14:12 +01:00
Piotr Sarnacki
8f27943fe4
Kill typo 💣
2012-12-10 14:57:34 +01:00