Commit Graph

15 Commits

Author SHA1 Message Date
Piotr Sarnacki
00ccb07a49 Fix sync button 2014-06-17 16:39:21 +02:00
Piotr Sarnacki
52dea338ee Refactor handling accounts
This commit changes a way we load accounts for profile view:

* instead of using several views with profile controllers, always use
  one view to render hooks. This is achieved by redirecting to
  individual account page from main profile page (for example when going
  into /profile as a user drogus, the effective address will be
  /profile/drogus)
* instead of using observers to wait for accounts to load I just use
  promise in ProfileRoute#model which effectively ensures that accounts
  are loaded at the time we want to select an individual account
* profile controller is split into profile and account controller
2014-05-28 10:23:39 +02:00
Mathias Meyer
34c07325d3 Add a message for travis-ci.com as well.
Switched the logic around to make a bit more sense with the
configuration conditionals.
2014-03-18 10:44:34 +01:00
Mathias Meyer
aaf777ce9d Show a message pointint to travis-ci.com.
Reduces friction a whee bit in finding your private repositories.
2014-03-18 10:40:30 +01:00
Mathias Meyer
b2bfb6c3e9 Rename properties/bindings for unadministerable hooks. 2014-02-18 11:56:19 +01:00
Piotr Sarnacki
19a6b29b35 Reload hooks if they're not available 2013-09-16 18:53:13 +02:00
Piotr Sarnacki
b56fa7b9df Fix getting hooks on profile page
Hooks were sometimes not loaded, because user property on
ProfileController was not available. This commit tries one additional
way to get a login - Travis.lookup with controller:currentUser.
2013-08-27 16:11:56 +02:00
Piotr Sarnacki
c7516b458e Show all accounts and hooks in profile
Previously we showed only accounts and repositories, to which you have
admin access. To improve usability, it's better to show all accounts and
all repositories, but explain why part of the repositories are not
manageable.
2013-06-18 17:54:13 +02:00
Piotr Sarnacki
1e6672eb9f Fix toggle button on hooks list in profile 2013-03-06 15:18:57 +01:00
Piotr Sarnacki
9ee359664c Fix sync button 2013-03-05 03:37:47 +01:00
Piotr Sarnacki
712389efdb Fix more specs 2013-03-04 03:46:04 +01:00
Piotr Sarnacki
4f21b097a8 Fix profile views 2013-02-21 23:22:53 +01:00
Piotr Sarnacki
fba6160703 Reload hooks after sync 2012-11-28 21:07:04 +01:00
Sven Fuchs
e7a26524d4 move select() functionality to Travis.Model and reuse it for accounts 2012-10-13 21:20:11 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00