Commit Graph

54 Commits

Author SHA1 Message Date
Lisa Passing
d1eaf8e79b loading and filter 2015-01-23 15:58:22 +01:00
Piotr Sarnacki
3584710a86 Add missing repo views 2015-01-23 13:56:57 +01:00
Piotr Sarnacki
3d42a5961d More ember-cli preparation 2015-01-21 11:10:28 +01:00
Piotr Sarnacki
8f075662ac Prepare Jobs views for ES6, remove repo/show and repo/list 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
c205529295 Cleanup BuildsView 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
6540304db5 Simplify queue 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
47e4dd664d Remove unused code 2015-01-15 17:08:40 +01:00
Piotr Sarnacki
96c7138df1 Move queues/show.hbs to queue.hbs 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
0cbc2f3f7d Remove RunningJobs view 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
94f052bb74 'application' class is not needed on views with simple layout 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
83bbb1d87f Move logic from FirstSyncView to the route 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
33cf63ed83 Simplify rendering getting_started 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
ef460e1dc2 Templates for getting started page are the same for pro and org 2015-01-15 17:08:39 +01:00
Piotr Sarnacki
1ee3d0c0ed Change MainView class to .main instead of .application 2015-01-15 13:09:12 +01:00
Piotr Sarnacki
ad5518104d Move sidebar to templates, not layouts 2015-01-15 12:39:06 +01:00
Piotr Sarnacki
5065bb5739 Subscribe to pusher channels only when entering the MainRoute
We don't want to subscribe if we're at any other routes, because there is no
data there. The main target is to avoid all of the notifications from a common
channel if we're on the /dashboard route.
2015-01-15 10:36:35 +01:00
Piotr Sarnacki
5c280001d3 Rename IndexRoute to MainRoute 2015-01-14 13:22:58 +01:00
Piotr Sarnacki
0db4a3a6ca Don't use 'event' in popupClose
It doesn't work on firefox and we don't need it anyway
2015-01-09 15:33:24 +01:00
Piotr Sarnacki
514a127083 Add layout for notFound view 2015-01-06 13:08:16 +01:00
Piotr Sarnacki
dee7e7758a Fix auth view to include layout 2014-12-30 13:06:43 +01:00
Piotr Sarnacki
63ea231fe6 [pro-merge] Use proper template for running jobs 2014-12-29 18:20:22 +01:00
Piotr Sarnacki
88ce89d34c [pro-merge] Update views and templates with travis-pro specific code 2014-12-29 18:20:21 +01:00
Piotr Sarnacki
e712644a86 [pro-merge] Add views used only on pro 2014-12-29 18:17:57 +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
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
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
Josef Šimánek
75d58816ca Use textarea instead of input for build status images and links. 2014-05-12 02:47:37 +02: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
Hiro Asari
9e2a8cb218 Merge branch 'master' into hh-annotations
Conflicts:
	assets/scripts/app/controllers/job.coffee
	assets/scripts/app/models/job.coffee
2014-01-24 10:18:58 -05:00
Piotr Sarnacki
c18222ea51 Settings pane
This commit contains a settings pane implementation. There are a couple
of things here, which are not used yet, like advanced form helpers. I'm
leaving them here, because the plan is to add support for more settings
soon (like: include/exclude branch patterns), which will need these
helpers.

There is also tabs support, although in the current version there is
only one tab (initially it was created for supporting general tab and
notifications tab).
2013-12-18 11:02:23 +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
18ba86eca0 Remove stuff not used in travis-web anymore 2013-08-28 14:17:26 +02:00
Piotr Sarnacki
d3ded51a16 Automatically redirect away from 'first_sync' after synced is finished 2013-08-25 14:13:46 +02:00
Henrik Hodne
31cb6ce98a Extract annotations view 2013-07-11 11:45:23 -07:00
Piotr Sarnacki
b0d1e11e97 Allow to see getting started page through the URL 2013-06-13 12:40:46 +02:00
Piotr Sarnacki
1fa040d9a3 Set container on View
After updating Ember it complains that using defaultContainer was
deprecated, in order to silence the deprections I just set the container
so it does not uses defaultContainer
2013-05-15 17:23:53 +02:00
Piotr Sarnacki
d76463c3f2 Fix a few more UI issues 2013-02-26 05:24:56 +01:00
Piotr Sarnacki
553495c56c Add @svenfuchs' log reimplementation 2013-02-22 17:00:50 +01:00
Piotr Sarnacki
0b001acfaf Event is no longer passed as an argument to handlers 2013-02-21 23:22:52 +01:00
Piotr Sarnacki
0e925c0eed Load branches for status images only after opening the popup 2013-01-24 00:48:11 +01:00
Piotr Sarnacki
c00aa911d7 Add regenerate key option in repo view 2012-12-05 01:59:03 +01:00
Piotr Sarnacki
a63ac52458 Remove layout views, just change template on application 2012-10-23 01:40:05 +02:00
Sven Fuchs
f91622e7e8 add an events tab 2012-10-16 02:00:24 +02:00
Sven Fuchs
f16c83d10f somewhat more consistent naming 2012-10-12 02:34:54 +02:00
Piotr Sarnacki
3c303e5a86 Reload page when locale for user changes, also cache it in cookie 2012-10-10 22:37:44 +02:00
Piotr Sarnacki
b142d3cdcf Close popups and menus when clicking outside of them 2012-10-10 18:45:33 +02:00
Sven Fuchs
521fc3112d add flash messages and styles 2012-10-08 16:27:55 +02:00