Commit Graph

1749 Commits

Author SHA1 Message Date
Piotr Sarnacki
bc7d73c355 Moving sidebar styles to travis-pro-web 2013-09-19 22:41:10 +02:00
Piotr Sarnacki
9fdc95cdf8 Make right sidebar bigger 2013-09-19 22:26:42 +02:00
Piotr Sarnacki
194080cc43 Treat build number as number
I changed it to be a Number along with Job's number, but it's wrong -
Build's number should be treated as an integer (to not screw up
ordering) and Job's number can be treated as a string (because it has a
format "\d.\d")
2013-09-19 00:04:09 +02:00
Mathias Meyer
85140aff1a Add new mailer assets 2013-09-18 16:44:23 +02:00
Mathias Meyer
8cc1bacf21 Fix border radius on active tab. 2013-09-18 16:41:20 +02:00
Mathias Meyer
46adf1164d Tilt the mascot by 10 degrees, for extra whimsy.
Remember: Whimsiness grows exponentially with the degrees of tilt.
2013-09-16 18:57:13 +02:00
Piotr Sarnacki
fc77800f8e Build.number and Job.number should be treated as strings 2013-09-16 18:53:14 +02:00
Piotr Sarnacki
19a6b29b35 Reload hooks if they're not available 2013-09-16 18:53:13 +02:00
Piotr Sarnacki
3d6fd53883 Ember Model sets primaryKey on class 2013-09-16 18:53:13 +02:00
Mathias Meyer
4b76b07d10 Add default avatars for build email. 2013-09-16 16:47:00 +02:00
Mathias Meyer
e7a58a15be Change arrow file name. 2013-09-16 15:45:45 +02:00
Mathias Meyer
0fe82c6803 Add new assets for build email. 2013-09-16 10:26:07 +02:00
Piotr Sarnacki
d40c097074 Update ember-model with a reloading fix 2013-09-13 23:24:43 +02:00
Piotr Sarnacki
226b938214 Drop redirect logic for API other than images and/or cc.xml 2013-09-13 13:06:38 +02:00
Piotr Sarnacki
199f236b23 Merge pull request #205 from Aaron1011/fix_duration
Fix duration being incremented after a build/job is finished
2013-09-12 14:29:38 -07: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
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
340dec5396 Fix sidebar not fully collapsing. 2013-09-10 12:29:24 +02:00
Mathias Meyer
bab7ec4307 Add images. 2013-09-10 10:38:57 +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
24fb869d53 Disable links when permissions isn't granted. 2013-09-08 11:45:40 +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
Aaron Hill
c1dcaa2715 Fix duration being incremented after a build/job is finished 2013-09-07 20:49:53 -04: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
2b63b8ca71 Remove the Ruby hint from all the locales.
What was that about again? So weird.
2013-09-03 14:33:58 +02:00
Mathias Meyer
daf8e000f3 Remove <br> at the end of the profile page line. 2013-09-03 14:33:58 +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