Mathias Meyer
3e7b9eadeb
Include proper link.
2013-09-11 10:59:18 +02:00
Mathias Meyer
59de081cb7
Update instructions for Code Climate token.
2013-09-11 10:53:14 +02: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
Piotr Sarnacki
cebe5b1e1c
Revert "Update ember and ember-model"
...
This reverts commit 408cce2d4f
.
2013-09-06 22:14:11 +02:00
Piotr Sarnacki
92616251bb
Revert "Update code for newest ember-model"
...
This reverts commit 1594130ff3
.
2013-09-06 22:14:06 +02:00
Piotr Sarnacki
7c161069f5
Fix problems with transitioning to job
2013-09-06 22:04:25 +02:00
Piotr Sarnacki
1594130ff3
Update code for newest ember-model
2013-09-06 19:37:06 +02:00
Piotr Sarnacki
408cce2d4f
Update ember and ember-model
2013-09-06 19:36:34 +02:00
Piotr Sarnacki
12aaeeef2d
Add records to record arrays in a runloop
...
When adding records just after loading them, the elements in the UI
might have to be updated, which may trigger `get` on associations right
away. As an effect, even if we load a few records on an event (like
repository on build:started event), ember model may end up fetching the
record.
This commit fixes such occurrences by adding record to record arrays in
a run loop, so newly created records will be added at once, after the
event was served.
2013-09-04 21:20:10 +02:00
Mathias Meyer
f4acc21d06
WIP: Code Climate UI integration.
2013-09-03 14:26:02 +02:00
Piotr Sarnacki
4b7f9bb14a
Delegate CurrentUserController#updateLocale to user instance
2013-09-01 14:22:48 +02:00
Lukasz Sarnacki
226c5bb42b
More github references replaced with links
...
Github links will be created for following references:
* @username
* gh-1 (for issue #1 )
2013-09-01 13:43:21 +02:00
Lukasz Sarnacki
4ab6a90b66
Simplified code in github refference linking
2013-09-01 13:36:33 +02:00
Lukasz Sarnacki
44c7c627fb
Replace github refference with link travis-ci/travis-ci#1266
...
Github issue refference is now replaced with github issue url.
This covers following refferences:
* #Num
* User#Num
* User/Project#Num
2013-09-01 13:36:24 +02:00
Piotr Sarnacki
072a5de579
Show first_sync page after routerTransitions
...
This code ensures that we send an event after router is fully
initialized, otherwise it could cause an error.
2013-08-29 16:33:09 +02:00
Piotr Sarnacki
2c5071bbba
Update travis-web-log
2013-08-29 04:05:10 +02:00
Piotr Sarnacki
14d0596249
Update travis-web-log
2013-08-29 03:36:01 +02:00
Piotr Sarnacki
30d273a648
Fix specs
2013-08-29 01:19:35 +02:00
Piotr Sarnacki
27929faf6f
Don't render sidebar
2013-08-29 01:15:57 +02:00
Piotr Sarnacki
f82707b832
Always run deferReadiness()
2013-08-29 01:15:46 +02:00
Piotr Sarnacki
358b7cc0c0
Don't add records to expandable array if they're already there
2013-08-29 01:01:28 +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
34ae33f087
Fix filtering for queue and running jobs
2013-08-27 23:26:08 +02:00
Piotr Sarnacki
08d17fdf2b
Check also for superclass of Travis.AuthRoute
...
Ember.js creates subclasses of given class in container, so we need to
check also superclass
2013-08-27 18:23:17 +02:00
Piotr Sarnacki
b56fa7b9df
Fix getting hooks on profile page
...
Hooks were sometimes not loaded, because user property on
ProfileController was not available. This commit tries one additional
way to get a login - Travis.lookup with controller:currentUser.
2013-08-27 16:11:56 +02:00
Piotr Sarnacki
c0397ae5d4
Fix rendering on firefox
...
Rendering on firefox was broken due to the difference in time when DOM
loads - without deferReadiness it was sometimes failing to add
ember-application element to body
2013-08-27 15:55:29 +02:00
Mathias Meyer
da7cb6f4b0
Add githubLanguage as repository property.
2013-08-27 15:30:42 +02:00
Piotr Sarnacki
33861717ee
Update travis-web-log
2013-08-27 10:37:34 +02:00
Piotr Sarnacki
7be461758c
Fix specs
2013-08-26 17:01:27 +02:00
Mathias Meyer
04545cc066
Add synchronization spinner.
2013-08-26 12:55:11 +02:00
Mathias Meyer
581f9f6858
Include a mustached spinner.
2013-08-26 12:47:35 +02:00
Piotr Sarnacki
d5038a4855
Fix allBuilds for ember-model
2013-08-25 14:54:55 +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
020bf12d90
Update ember.js
2013-08-25 14:37:05 +02:00
Piotr Sarnacki
d3ded51a16
Automatically redirect away from 'first_sync' after synced is finished
2013-08-25 14:13:46 +02:00
Piotr Sarnacki
d2ebf4cbcf
Remove indicator from first sync for now
2013-08-25 13:13:58 +02:00
Piotr Sarnacki
b6c2ee418a
Don't require sidebar controller
2013-08-22 16:05:08 +02:00
Piotr Sarnacki
d18cffd1a7
When observing all builds don't request them
...
We use `allBuilds` to observe new incoming builds, so we can put new
builds into the lists (for example when build is started). We use it for
observing purposes only, so we actually don't need to get builds from
the server, we can just register record array and use it later on.
2013-08-22 15:29:12 +02:00
Mathias Meyer
f479cac505
Add copy for the first sync page.
2013-08-21 15:18:06 +02:00
Piotr Sarnacki
766f4e8907
Properly handle job:canceled event
2013-08-13 01:09:02 +02:00
Piotr Sarnacki
c9e677fd86
Allow to cancel jobs after they're started
2013-08-12 17:35:12 +02:00
Piotr Sarnacki
8f91eee610
Display 0 instead of blank field if reposCount is null
2013-08-12 13:16:58 +02:00