Commit Graph

105 Commits

Author SHA1 Message Date
Piotr Sarnacki
a0932e51ae Merge branch 'master' into ember-cli
Conflicts:
	assets/scripts/app/helpers/handlebars.coffee
2015-02-03 09:01:53 +01:00
Piotr Sarnacki
ca659944cd Add humanize-state helper
We don't want to display 'received' state as it's not meaningful for the users.
We're displaying 'booting' instead.
2015-01-30 11:29:45 +01:00
Piotr Sarnacki
f94ff75a13 More ember-cli compat changes 2015-01-30 09:10:48 +01:00
Piotr Sarnacki
b7f11adafb Move helpers and urls to utils 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
138d5c2206 More ember-cli compat changes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
0baf5dc6d0 Make filtering a bit more snappy 2015-01-26 11:16:22 +01:00
Piotr Sarnacki
9f0e799a59 Export gravatarImage url helper 2015-01-23 13:56:31 +01:00
Piotr Sarnacki
3d42a5961d More ember-cli preparation 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
a2f022283a Auto-merged master into dashboard on deployment. 2015-01-20 12:54:29 +01:00
Piotr Sarnacki
0f96e18552 each -> forEach 2015-01-20 10:16:38 +01:00
Piotr Sarnacki
547620648d Fix format message helper 2015-01-19 17:02:39 +01:00
Piotr Sarnacki
26c5111294 Extract handlebars helpers to individual files 2015-01-19 15:51:25 +01:00
Piotr Sarnacki
a5978dd36f Merge branch 'master' into dashboard
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/routes.coffee
2015-01-19 13:09:30 +01:00
Piotr Sarnacki
ecbfe4e74e Extract remaining controllers and views into individual files 2015-01-19 13:04:52 +01:00
Piotr Sarnacki
9d451324c2 Fix label helper for env vars form 2015-01-19 11:40:01 +01:00
Piotr Sarnacki
85e2b660bf Fix label helper 2015-01-19 11:37:17 +01:00
Piotr Sarnacki
114a6a641d Don't export functions with underscore from helpers 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
126ef95b9f Fix githubify helper 2015-01-15 12:39:05 +01:00
Piotr Sarnacki
17f2b9c821 Fix githubify helper
Conflicts:
	assets/scripts/app/helpers/helpers.coffee
2015-01-15 12:28:05 +01:00
Piotr Sarnacki
a891892bd8 Add missing requires in routes 2015-01-14 18:23:51 +01:00
Piotr Sarnacki
56e19df5f2 Require helpers/urls explicitly in helpers 2015-01-14 13:11:23 +01:00
Piotr Sarnacki
ec8d93f8cf Refactor Travis.Helpers to prepare it for ES6 modules
In order to make it easy to switch to ember-cli I'm starting changing a series
of refactorings that will prepare the codebase to the switch. Here I'm:

1. Assign all of the external objects and functions to variables in order to
   make it easy to change them to imports in the feature
2. Extract functions from Travis.Helpers into local functions and create the
   object at the end of file to prepare it for exporting
2015-01-14 12:55:17 +01:00
Piotr Sarnacki
2a64382563 Use Urls.githubCommit for githubify 2015-01-09 11:18:02 +01:00
Piotr Sarnacki
e95e679e80 Use label helper on ssh key form 2014-12-31 15:45:53 +01:00
Piotr Sarnacki
d95738c975 Use Handlebars.registerHelper instead of .helper 2014-12-30 12:25:43 +01:00
Piotr Sarnacki
eb9eac2b09 Merge branch 'refactoring' into ps-travis-pro-merge 2014-12-30 11:30:08 +01:00
Piotr Sarnacki
47e1de1d26 Extract Github URLs to controller 2014-12-30 11:28:49 +01:00
Piotr Sarnacki
88eb2e09db [pro-merge] Feature flip url helpers that need token in travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
09eeeaff1b Revert "Revert "Merge pull request #308 from rwjblue/update-ember""
This reverts commit 840ce5a47d.
2014-12-29 18:16:14 +01:00
Piotr Sarnacki
840ce5a47d Revert "Merge pull request #308 from rwjblue/update-ember"
After upgrading ember to 1.8.1 tests pass, but I found a few cases where
things break (for example when navigating between certain routes). I'm
reverting for now.

This reverts commit fa5e9179af, reversing
changes made to 978c887123.
2014-11-12 12:11:53 +01:00
Robert Jackson
f9fe221e9a
Use standard Ember.Handlebars.registerBoundHelper.
No need for the custom Ember.registerBoundHelper implementation.
2014-11-05 07:39:45 -05:00
Sven Fuchs
2aba520512 more hardcoded github.com urls 2014-10-13 14:46:36 +02:00
Sven Fuchs
b2d3a6199d config source_endpoint
Conflicts:
	config.ru
	public/index.html
2014-10-13 14:45:50 +02:00
Piotr Sarnacki
50e9986dda Fixes after merging ps-env-vars 2014-08-21 16:39:15 +02:00
Piotr Sarnacki
9741ede075 Merge branch 'ps-env-vars'
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/helpers/handlebars.coffee
	assets/scripts/app/templates/repo/settings.hbs
	assets/scripts/app/views/repo/show.coffee
	assets/styles/tabs.sass
	config.ru
2014-08-21 16:02:07 +02:00
Piotr Sarnacki
71b4c6b865 Make env var form play better with oneliners 2014-08-20 14:41:31 +02:00
Piotr Sarnacki
9aa3513766 Allow to resize switch with a font setting 2014-08-20 11:24:01 +02:00
Piotr Sarnacki
eecd5187a3 Revert "Revert "Page for displaying caches""
This reverts commit 3d6931c523.
2014-08-12 16:05:21 +02:00
Sven Fuchs
3d6931c523 Revert "Page for displaying caches"
This reverts commit a58688b451.
2014-08-12 15:53:19 +02:00
Piotr Sarnacki
b4dc5ec547 Don't try to put labels on nested paths 2014-08-06 16:30:44 +02:00
Piotr Sarnacki
907c363707 Add labels to settings forms 2014-08-06 16:01:28 +02:00
Piotr Sarnacki
a58688b451 Page for displaying caches 2014-08-05 18:09:24 +02:00
Piotr Sarnacki
c9f58718cf Final touches on env vars 2014-08-01 02:50:20 +02:00
Piotr Sarnacki
17ed1d94cc First stab at ssh key form 2014-07-31 12:26:19 +02:00
Piotr Sarnacki
73e852b23a Remove unused helpers 2014-07-30 12:56:31 +02:00
Piotr Sarnacki
fc21c46579 Use settings-form class for settings form 2014-07-28 13:00:11 +02:00
Piotr Sarnacki
05489d4a0a Change tabs to work with routes and outlets instead of helpers
When I started working on settings I had a bit different vision on tabs
and I've added that code prematurely. It seems that the best way to go
is to create separate routes and controllers for each tab - that way we
can just rely on Ember.js for customizing, not some custom code in tabs
helpers etc.
2014-07-28 12:42:21 +02:00
Piotr Sarnacki
20c1a7370a Remove unused helpers 2014-07-28 10:45:40 +02:00
Mathias Meyer
ba2f00a09a URL-encode branch name for status images.
Camelcased all entries in the status image selection menu for
consistency.

Fixes travis-ci/travis-ci#2265
2014-05-19 13:15:56 +02:00
Mathias Meyer
494871fe5a Pull cc.xml URL generation into a helper.
Makes it easier to overwrite in pro-web for tokenized URLs.
2014-05-13 08:30:04 +02:00