Commit Graph

807 Commits

Author SHA1 Message Date
Damien Mathieu
a431b68c28 make the back to top fixed and fluidify the follow scrolls
Fixes #89
2013-12-05 16:01:51 +01:00
Piotr Sarnacki
07e0620b23 Fix duplicated broadcasts 2013-12-04 16:20:16 +01:00
Damien Mathieu
347cb0f887 actions need in views need to be in their own namespace, not in events anymore 2013-12-04 15:32:52 +01:00
Piotr Sarnacki
6f3d291d3e Allow to cancel build on pull permissions 2013-11-13 12:07:00 +01:00
Piotr Sarnacki
46e04c4f3f Restarts should be available for pull permissions as well 2013-11-12 17:41:27 +01:00
Sven Fuchs
eaf260a516 Revert "Display repos with no builds, but which are active in 'My repositories'"
This reverts commit fbed80f166.

Conflicts:
	assets/scripts/app/templates/repos/list.hbs
2013-11-12 16:06:26 +01:00
Hiro Asari
758ad40349 Fix typo 2013-11-07 11:50:12 -05:00
Hiro Asari
b72cc319cc Reduce number of AJAX requests 2013-11-06 15:57:16 -05:00
Hiro Asari
3f30eecc7d Add granular permission levels to User
Display buttons for job control only if the user has permission to do
so.
2013-11-06 15:00:46 -05:00
Sven Fuchs
6d52827576 timeago: assume "now" when date is in the future 2013-11-05 15:48:30 +01:00
Nick Schonning
b21f9f82fb travisci.com to travis-ci.com
travisci.com emits a 301
2013-10-30 13:15:41 -04:00
Piotr Sarnacki
190bf9e837 Use lastBuildHash on repo, not lastBuild
lastBuildHash uses information for last build, which is available on the
repo object, so it will not trigger an ajax request if we haven't
fetched a build yet.
2013-10-30 14:36:32 +01:00
Piotr Sarnacki
018eafe84b Fix problem with getting started template rendering on first sync
When first sync template is displayed, user usually doesn't have any
repos, which also triggers rendering of getting started template. The
fix for this is to handle the action to render getting started page on
first sync and do nothing in such case.

I also added a test to ensure that it works correctly.
2013-10-29 20:48:27 +01:00
Piotr Sarnacki
fbed80f166 Display repos with no builds, but which are active in 'My repositories'
When user activates a repository in the profile page, we now will
display this repository on the 'My Repositories' list. When user chooses
this repository, she will see an explenation why there is no builds and
what could be done to fix this.

Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/models/repo.coffee
	assets/scripts/app/templates/repos/list.hbs
2013-10-29 18:05:23 +01:00
Piotr Sarnacki
7363a1d7ef Render builds/not_found and repo/not_found in the next runloop run
This is done to make sure that if something else render just after
not_found, not_found will still be rendered.
2013-10-27 00:32:58 +02:00
Piotr Sarnacki
6a9510413d Use loading_link class instead of default loading on links
loading class conflicts with some of our CSS entries
2013-10-24 18:03:14 +02:00
Piotr Sarnacki
b5297d7800 Update code for newest ember-model 2013-10-18 13:41:10 +02:00
Piotr Sarnacki
b3ce14cc22 Update ember to 1.1.beta and ember-model to newest version 2013-10-18 13:41:10 +02:00
Piotr Sarnacki
9958de3191 Add record to record arrays in adapter
Ember Model does not do it automatically. I had a patch, which was
changing that, but after giving it more thought, I think it's not a good
idea - this should be up to adapter if the records are going into
record arrays.
2013-10-18 13:41:09 +02:00
Josh Kalderimis
4abee5edca remove some duplicated content due to a bad merge 2013-10-14 23:17:02 +02:00
Josh Kalderimis
c699d48337 Merge branch 'updated-styles' 2013-10-14 17:37:28 +02:00
Justine Arreche
ced2bc63f6 fixed alignmnt of Mr. T 2013-10-08 16:57:17 -04:00
Justine Arreche
a57952e2f8 WIP fixing auth page, successfully fixed firefox button bug 2013-10-08 15:11:27 -04:00
Justine Arreche
588536e360 styled show more builds button 2013-10-08 01:26:11 -04:00
Justine Arreche
dda961c117 fixed profile left cells to be clickable 2013-10-07 18:30:55 -04:00
Henrik Hodne
e3e96aca73 Remove more trailing whitespace 2013-10-07 17:07:33 -05:00
Josh Kalderimis
63c8c59744 remove some whitespace 2013-10-07 23:52:17 +02:00
Justine Arreche
51c1b4dcee Took out linkTo in list.hbs and fixed cursor to pointer on li elements for left repo list view 2013-10-07 17:16:54 -04:00
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
Josh Kalderimis
0d4babb07e wrap the contents of the li, not the whole collection 2013-10-07 21:00:35 +02:00
Justine Arreche
32c1f31241 attempt to make entire repo cell clickable 2013-10-07 13:48:55 -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
Piotr Sarnacki
ae0db5780a Merge pull request #214 from Aaron1011/clear_log
Clear log when a job is restarted
2013-10-07 07:41:50 -07:00
Justine Arreche
0500ab1168 Rearranged some copy for first_sync to increase readability and added mascot to success message 2013-10-05 15:19:46 -04:00
Justine Arreche
515a0861ba new loading spinner gif, header styles and columns for first_sync page 2013-10-05 14:04:52 -04:00
Justine Arreche
1bc7bbee67 changed layout of getting_started to two columns and reorganized typographic styles and heirarchy 2013-10-04 23:27:30 -04:00
Aaron Hill
7218655cf4 Added tests for clearing log when a job is started or requeued 2013-10-04 16:51:28 -04:00
Justine Arreche
1cd544ad3b new screenshots for getting started steps and new styles and centered alignment 2013-10-04 15:40:46 -04:00
Mathias Meyer
f6867e8a4c Move title attributes into <li> elements.
The icon pictures are smaller than the li, reducing the surface
to show the title as a tooltip.
2013-10-04 16:27:51 +02:00
Aaron Hill
2a83215fdc Fixed clearing log 2013-10-03 21:23:49 -04:00
Justine Arreche
0cfb44868c added in 'step' headlines to break down the info a bit better 2013-10-03 19:46:40 -04:00
Justine Arreche
b78dec5091 increased width of getting started div and took away align right on images 2013-10-03 19:11:35 -04:00
Justine Arreche
0b01dd6278 fixed styling on auth and added mascot above copy 2013-10-03 18:46:48 -04:00
Justine Arreche
9d39402f2d additional styling to auth page and new icon for finished label 2013-10-03 18:00:54 -04:00
Mathias Meyer
3b3d36a98a Make build email ever so slightly wider. 2013-10-02 15:55:19 +02:00
Mathias Meyer
c40aacb1b0 Update build email image. 2013-10-01 15:19:57 +02:00
Piotr Sarnacki
9c7606ff96 Don't try to format date if it does not exist 2013-10-01 14:29:55 +02:00
Piotr Sarnacki
01e0362242 Add moment.js library for easier dates formatting 2013-10-01 11:25:40 +02:00
Piotr Sarnacki
4bb331686c Fix finishedAt tooltips and show dates in local time zone 2013-10-01 11:25:40 +02:00