Commit Graph

190 Commits

Author SHA1 Message Date
Piotr Sarnacki
a431f80f3a Use String.camelize instead of $.camelize 2015-02-02 12:07:18 +01:00
Piotr Sarnacki
bfdb9cd47b Fix some more requires 2015-01-30 17:44:02 +01:00
Piotr Sarnacki
949431b7df Move remaining files from lib/travis to utils 2015-01-30 15:43:23 +01:00
Piotr Sarnacki
b0b1ef305b Change the way config is stored
On ember-cli config is stored in config/environment.js file and it can be
accessed at any time of app being booted. Till now we were using Travis.config
which was making things hard, because we needed an application instance to get
any config value. This commit moves config to config/environment.js and allows
to access it at any point of loading the app.
2015-01-30 15:29:46 +01:00
Piotr Sarnacki
f94ff75a13 More ember-cli compat changes 2015-01-30 09:10:48 +01:00
Piotr Sarnacki
8124bc3780 Fix requires 2015-01-29 13:39:07 +01:00
Piotr Sarnacki
8f5c5022cb Rename files to use dashes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
138d5c2206 More ember-cli compat changes 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
59d2592577 Enable updating times 2015-01-29 13:39:06 +01:00
Piotr Sarnacki
15a4ba045d Fix queue and running jobs controllers for ED 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
6b177d2238 Env vars now work with Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ac25220ef2 Fix builds lists for Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
ec24b21e81 Switch to Ember Data 2015-01-29 13:39:05 +01:00
Piotr Sarnacki
9f3150f65b Don't use query params in filtering for now 2015-01-26 11:16:58 +01:00
Piotr Sarnacki
0baf5dc6d0 Make filtering a bit more snappy 2015-01-26 11:16:22 +01:00
Piotr Sarnacki
54007ee78a Finish basic filtering 2015-01-23 16:26:41 +01:00
Lisa Passing
d1eaf8e79b loading and filter 2015-01-23 15:58:22 +01:00
Piotr Sarnacki
9f0e799a59 Export gravatarImage url helper 2015-01-23 13:56:31 +01:00
Piotr Sarnacki
20567df443 Fix repo controllers to use camelize properly 2015-01-23 13:37:11 +01:00
Piotr Sarnacki
3d42a5961d More ember-cli preparation 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
3aabd40874 Prepare repo controller for ES6 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
ecbfe4e74e Extract remaining controllers and views into individual files 2015-01-19 13:04:52 +01:00
Piotr Sarnacki
345cb6e29e Cleanup BuildView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
681622b58c Clean up controllers a bit 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
5c280001d3 Rename IndexRoute to MainRoute 2015-01-14 13:22:58 +01:00
Piotr Sarnacki
2b86e93d13 Fix close button on flash messages 2015-01-14 12:47:16 +01:00
Piotr Sarnacki
2d69946772 It's Travis.config not Travis.features 2015-01-07 17:19:08 +01:00
Piotr Sarnacki
321c1efb33 Fix specs 2015-01-06 13:08:41 +01:00
Piotr Sarnacki
0074acb8fe Fix profile info tab 2015-01-06 12:45:08 +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
8e2f8fc7f3 [pro-merge] Add controllers and controller extensions from travis-pro 2014-12-29 18:17:57 +01:00
Piotr Sarnacki
249d45ace6 Move save method in settings to actions 2014-12-29 18:17:56 +01:00
Piotr Sarnacki
385287489c Fix toggling hooks on profile page 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
66be22af68 Fix actions on views
Almost all actions on views were not properly handled, because they were still
methods directly on a view object rather than in `actions` property. This commit
fixes it.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
f355bc58f3 Fix search to work with new way of handling repos tabs 2014-12-29 18:17:55 +01:00
Piotr Sarnacki
5f2f4c3852 First stab at fixing weird view errors
This commit starts refactoring of one of the remaining areas where we do weird
tricks to get the desired behaviour. Namely, we were treating "my_repositories"
and "recent" not as individual routes with separate URLs, but only different
states on the repos controller. Such approach leads to various problem with
connecting outlets on rerenders (ie. we don't explicitly connect outlets when
changing from one view to another programatically).

A new cleaner way is to change both tabs into routes.
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
0a69a5424d Fix log errors on 1.8.1
This part needs further refactoring, but for now I just fixed log view to
teardown and setup things properly in all cases something changes (when element
is inserted or removed, but also when log object is changed).
2014-12-29 18:16:15 +01:00
Piotr Sarnacki
e6800c80c6 Refactor our layout handling
Layout handling in travis-web was implemented in a dynamic way, so we
could change a main layout from any of the routes. This needed a
`rerender` call which was making things harder and needed some hacks. It
also broke a few transitions when upgrading to 1.8.1.

After examining our usage of layouts I've noticed that we don't need to
change the entire layout dynamically and instead we can set layout on
root routes (like "index", "profile" and other root routes).
2014-12-29 18:16:14 +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
a789fdab6f
Do not run timers in testing. 2014-11-05 08:19:16 -05:00
Robert Jackson
0972475dcb
Controller#content -> Controller#model. 2014-11-05 08:18:32 -05:00
Piotr Sarnacki
d15b6f851c _referenceCache is not a function 2014-08-25 15:32:19 +02:00
Piotr Sarnacki
5c41529d07 Reset ssh key controller properly 2014-08-25 15:22:17 +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
6aa9771170 Reset value in env_var controller also based on public attr
When we switch from private to public env var, we don't want to set
"***********" as a new value of a var.
2014-08-19 19:42:08 +02:00
Justine Arreche
d1de40d918 Cleaned up typographic dominant styling 2014-08-19 15:29:02 +02:00
Mathias Meyer
3d6cc0cb1f Fix casing for the settings tabs.
This also slighlty improves the copy on the SSH key settings page.
2014-08-18 10:45:13 +02:00