Commit Graph

88 Commits

Author SHA1 Message Date
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
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
Piotr Sarnacki
1a0d004aeb Link commit on requests list to github 2014-05-12 11:03:10 +02:00
Piotr Sarnacki
57edf811b7 Add requests page 2014-05-12 11:03:10 +02:00
Josef Šimánek
cf82a50268 Add cc.xml status url. 2014-05-12 02:27:51 +02:00
Josef Šimánek
dfdc392690 Trim status image modal.
Closes https://github.com/travis-ci/travis-ci/issues/1900
2014-05-12 02:14:52 +02:00
Josef Šimánek
a934267b86 Use gravatar for author and committer avatars. 2014-05-09 02:20:34 +02:00
Mathias Meyer
882d479c0f Fix compare link text for tags. 2014-05-08 15:31:27 +02:00
Mathias Meyer
1ceb935e19 Shorter commits for compare URLs, optimize footer.
The flow when reducing the browser width isn't fully right yet,
but we're getting there.
2014-05-08 13:21:45 +02:00
Mathias Meyer
3b2e8d69f3 Extend LinkView to allow click tracking.
Allows us to hook in to certain links and see how they're used.
2014-05-08 09:36:31 +02:00
Mathias Meyer
22130f8328 Wrap commit body into a pre tag.
This follows the idea that the message can contain useful things
like ASCII diagrams or wonderful art.

Related to travis-ci/travis-ci#2003.
2014-05-03 19:59:20 +02:00
Mathias Meyer
42539d94de Set whitespace handling via CSS.
Relevant for travis-ci/travis-ci#2003.
2014-05-03 18:04:31 +02:00
Mathias Meyer
2a40ba59a7 Replace leading whitespace in commit message.
This allows for proper indentation to display ASCII art.

Fixes travis-ci/travis-ci#2003
2014-05-03 17:59:01 +02:00
Henrik Hodne
433f5b7318 Use link-to instead of the deprecated linkTo
These were mostly removed in 8d681e85af,
but some where left over.
2014-04-01 00:56:31 -05:00
Mathias Meyer
641199cf7d Switch build status image URL to SVG. 2014-03-20 07:25:05 +01:00
Henrik Hodne
2450f9fe9d Revert previous revert
I found the commit that caused the bug that caused me to do the last
revert. I'm therefore reverting the previous revert and I will be
committing a revert that reverts the commit that introduced the bug. See
next commit.

This reverts commit db2d38a7af.
2014-02-12 09:54:24 -06:00
Henrik Hodne
db2d38a7af
Revert setting panel deploy
This seems to have caused issues with enabling the hooks for
repositories.
2014-02-12 09:14:47 -06:00
Piotr Sarnacki
8d19410264 Merge remote-tracking branch 'origin/settings-pane'
Conflicts:
	assets/scripts/app/controllers.coffee
	assets/scripts/app/routes.coffee
	assets/scripts/app/views/repo/show.coffee
2014-02-12 11:52:01 +01:00
Piotr Sarnacki
360b32a4f2 Merge branch 'updated-styles'
Conflicts:
	assets/scripts/app/templates/layouts/top.hbs
	assets/scripts/app/templates/repos/list.hbs
2014-01-27 13:02:05 +01:00