Commit Graph

325 Commits

Author SHA1 Message Date
Lisa Passing
f83483306b hide signin button in topbar on auth pages 2015-02-23 13:37:06 +01:00
Lisa Passing
ab3246a68e set optimizeLegibility and improve responsiveness of Dashboard 2015-02-23 13:25:39 +01:00
Piotr Sarnacki
5f4748f3d0 Fix 'sign up this account' icon on profile page 2015-02-23 12:52:29 +01:00
Lisa Passing
8f795dd4bd Merge branch 'master' into dashboard-list 2015-02-23 11:30:25 +01:00
Piotr Sarnacki
92fbc73760 Show 'Top' button only if log has any content 2015-02-23 10:07:08 +01:00
Lisa Passing
423246629b get not starred repos right 2015-02-20 16:10:16 +01:00
Lisa Passing
597c31b375 get dropdown right 2015-02-20 14:04:55 +01:00
Piotr Sarnacki
cf9bea3ea5 Call super in deactivate/activate in main/recent route
The problem that I identified earlier as a Safari bug turned out to be a
bug in main/recent route. Not calling super in deactivate resulted in
code to remove observer not being executed at all.
2015-02-20 13:18:15 +01:00
Lisa Passing
3417095768 add transparent overlay to feedback popup 2015-02-20 12:07:48 +01:00
Lisa Passing
84259fc9d6 start with dropdown 2015-02-20 11:26:42 +01:00
Lisa Passing
46d9df8500 style dashbaord repo list and add placeholder icons 2015-02-19 17:55:53 +01:00
Lisa Passing
01f00f08aa add new current classes to jobs template 2015-02-19 12:12:01 +01:00
Lisa Passing
567c8d5e90 put icon class on right element 2015-02-19 12:07:28 +01:00
Piotr Sarnacki
1a9f984b58 Don't use :not(> .error) for global_slider, it causes problems with minification 2015-02-19 09:33:11 +01:00
Lisa Passing
d39fd31b1b some more stuff 2015-02-18 17:54:09 +01:00
Lisa Passing
52a905ce73 position placeholder icons 2015-02-18 17:50:01 +01:00
Lisa Passing
b629101fee save current step 2015-02-18 16:55:28 +01:00
Piotr Sarnacki
bf7c4e1464 Fix viewing repo after viewing all repos on safari
When transitioning from recent route to a specific repo deactivate is
not called for some reason on Safari. It seems like a bug in Ember.js,
but I need to investigate more.

A solution is to also try to remove observer in reset controller
2015-02-18 16:32:46 +01:00
Lisa Passing
a446344096 style message popup 2015-02-18 15:47:35 +01:00
Lisa Passing
34ff17df12 refactor search field 2015-02-18 15:18:02 +01:00
Lisa Passing
40e186d7c7 refactor top styles and dashboard template 2015-02-18 14:08:50 +01:00
Piotr Sarnacki
a89e77a56d Fix charm feedback box 2015-02-18 14:01:10 +01:00
Lisa Passing
b142b01e1a some style changes 2015-02-18 12:13:15 +01:00
Lisa Passing
351cf8078d remove unnessary(?) things from charmscout script 2015-02-17 17:43:37 +01:00
Lisa P
0f6a6a9551 Merge pull request #331 from travis-ci/signin-btn
Signin btn
2015-02-17 16:17:38 +01:00
Lisa Passing
d125bade7d moar padding 2015-02-17 15:27:31 +01:00
Piotr Sarnacki
ee4564c72b Merge pull request #329 from travis-ci/error500
Error Pages and maintenance
2015-02-17 15:17:50 +01:00
Piotr Sarnacki
dfc22014a8 Set page titles relevant to page is loaded
I used ember-cli-document-title addon.
2015-02-17 14:35:59 +01:00
Lisa Passing
239aab2861 add 500.html, delete 500 from app 2015-02-17 14:17:10 +01:00
Lisa Passing
b243ceb05a make signing-in also a btn 2015-02-17 14:06:29 +01:00
Lisa Passing
40c900fba1 make sign in w/ github a button 2015-02-17 13:51:17 +01:00
Lisa Passing
780edf69c8 Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-17 11:27:35 +01:00
Lisa Passing
fb2cbf7970 fix missing branch name in Safari 2015-02-17 11:27:29 +01:00
Piotr Sarnacki
f7f274f5d5 Fix search
In search there was a check on 'auth' in the view and we no longer
inject auth into views. That's why the check needs to be done on the
controller.

The other thing is that slash breaks the URL currently, so this commit
also changes slash in the search phrase into %2F character.
2015-02-17 10:38:04 +01:00
Lisa Passing
258300fb21 remove maintenance from app, as it is now a .html file 2015-02-16 16:29:59 +01:00
Lisa Passing
407e34e201 Merge branch 'master' of github.com:travis-ci/travis-web 2015-02-16 16:11:59 +01:00
Lisa Passing
0e6d7b0115 linkify dashboard footer 2015-02-16 16:11:53 +01:00
Piotr Sarnacki
5bb419ef7b Sort repos explicitly on dashboard 2015-02-16 16:09:10 +01:00
Lisa Passing
ffdfcc5739 dashboard full height while loading 2015-02-16 15:58:09 +01:00
Piotr Sarnacki
0578af0c4c Don't set default avatar url on ENV
Fingerprinting filter that Brocolli uses to add checksums to filenames
apparently is very greedy. When a URL that has a valid image is present
in ENV, fingerprint filter will going to wipe out the entire config's
meta tag value with fingerprinted url with an asset host.
2015-02-16 15:14:10 +01:00
Piotr Sarnacki
0e86df8da0 Set default avatar url properly 2015-02-16 14:41:13 +01:00
Lisa Passing
b9c58fae46 push some hills around 2015-02-16 14:33:28 +01:00
Piotr Sarnacki
9559d55400 Don't subscribe to pusher if there's no instance 2015-02-16 14:15:36 +01:00
Piotr Sarnacki
9601d53ad6 We can use @pusher directly, no need for @get 2015-02-16 14:14:59 +01:00
Lisa Passing
3d6cad10b2 Merge branch 'master' into error500 2015-02-16 14:05:10 +01:00
Piotr Sarnacki
0e1fd2746f Add a simple acceptance test for dashboard and tooling needed to run it
Apart from adding a test, this commit also adds a dummy implementation
for Auth that can be used in tests to control the auth status.
2015-02-13 14:13:45 +01:00
Lisa Passing
2c61304a5d add burger markup to error pages 2015-02-13 12:00:46 +01:00
Lisa Passing
01c973cac9 push hills around 2015-02-13 11:58:53 +01:00
Lisa Passing
f7b034102a Merge branch 'ember-cli' into error500 2015-02-13 11:32:55 +01:00
Piotr Sarnacki
b9cacdc596 Explicitly return false from toggleBurgerMenu to not bubble action 2015-02-12 18:48:32 +01:00
Lisa Passing
7e0fe8cb61 add burger toggle 2015-02-12 16:03:35 +01:00
Lisa Passing
adcc8b57f4 finally get profile page full-height while loading 2015-02-12 15:07:02 +01:00
Lisa Passing
7dac12cfea bring back fixed width sidebars 2015-02-12 13:08:18 +01:00
Lisa Passing
07dd6c411e fix align of hook switched 2015-02-12 12:49:51 +01:00
Lisa Passing
c9d4ccdc48 fix top bar stacing issues 2015-02-12 12:36:33 +01:00
Lisa Passing
262175595c Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-12 12:20:37 +01:00
Lisa Passing
8589b7e97d bring back travis-pro in top 2015-02-12 12:20:28 +01:00
Piotr Sarnacki
44ff31c86f Replace title by a ruby server 2015-02-12 12:19:04 +01:00
Piotr Sarnacki
924021d49a Fix loading indicator on profile page 2015-02-12 12:16:39 +01:00
Lisa Passing
c747bb5a63 add 500 page and styles and refactor 2015-02-11 17:24:14 +01:00
Lisa Passing
63bf1fcffe fix global_slider selector typo 2015-02-11 15:23:42 +01:00
Lisa Passing
49ea505981 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-11 15:17:50 +01:00
Lisa Passing
f2d24d8653 fix clickability of the logo link 2015-02-11 15:17:26 +01:00
Piotr Sarnacki
90fbf62987 Fix slider when sidebar is hidden 2015-02-11 15:10:57 +01:00
Piotr Sarnacki
3964eef9be Display feedback button on PRO when charmKey is set 2015-02-11 14:46:19 +01:00
Lisa Passing
5d60a0e897 change charm styles 2015-02-11 14:13:21 +01:00
Piotr Sarnacki
911d4b6aa9 Don't show link to last build if there's no last_build_id 2015-02-11 13:04:59 +01:00
Piotr Sarnacki
0309ac29c0 Don't try to fetch lastBuild if there's no id 2015-02-11 12:59:07 +01:00
Piotr Sarnacki
4afd7db020 Return array and not a promise from Repo.search 2015-02-11 12:58:45 +01:00
Piotr Sarnacki
9c149313f7 Hide recent tab if we're searching 2015-02-11 12:58:18 +01:00
Piotr Sarnacki
4ffd33c087 Enable filtering on dashboard 2015-02-11 11:34:01 +01:00
Piotr Sarnacki
f8e787fcdd Add missing fields to models 2015-02-11 11:18:24 +01:00
Lisa Passing
c2b8fe469f fix some stuff in chrome 2015-02-10 17:51:58 +01:00
Lisa Passing
0002263d3c also fix build status bg-image 2015-02-10 17:45:24 +01:00
Lisa Passing
ce405137f8 fix popup <pre> overflow 2015-02-10 17:42:56 +01:00
Lisa Passing
72dace6f11 settings view rabbit hole 2015-02-10 17:40:45 +01:00
Lisa Passing
96aff03599 fix build header dropdown responsive behaviour 2015-02-10 16:32:43 +01:00
Lisa Passing
5f601c492c fix build tabs responsive 2015-02-10 16:10:42 +01:00
Lisa Passing
f7e1f8d603 remove weird double border on hooks 2015-02-10 15:13:08 +01:00
Lisa Passing
2ebb30c476 fix build header alignment 2015-02-10 15:08:09 +01:00
Lisa Passing
c00b5492f9 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-10 14:45:56 +01:00
Lisa Passing
a34826d904 fix tab height and full-height left bar 2015-02-10 14:45:50 +01:00
Piotr Sarnacki
411401fd15 Bring back disabled class for repo actions 2015-02-10 14:02:29 +01:00
Piotr Sarnacki
15415999c2 check if model exists when cancelling ssh key 2015-02-10 11:56:33 +01:00
Piotr Sarnacki
81911777da dematerialize record in any kind of created states in ssh key 2015-02-10 11:54:37 +01:00
Piotr Sarnacki
767e49d95a Fix sshkey form 2015-02-10 11:53:14 +01:00
Piotr Sarnacki
4a401dc8cb Fix slider 2015-02-10 10:53:06 +01:00
Piotr Sarnacki
f5f44a8e6f To Top -> Top 2015-02-10 10:46:00 +01:00
Piotr Sarnacki
66e76447aa Make to-top look better 2015-02-10 10:45:14 +01:00
Piotr Sarnacki
355b5b7db3 Fix remove log 2015-02-10 10:33:43 +01:00
Piotr Sarnacki
b0b0c76bc4 Display caches link only to logged in users 2015-02-10 10:33:31 +01:00
Piotr Sarnacki
85fc6c5cf4 Don't require auth for requests 2015-02-10 10:33:04 +01:00
Piotr Sarnacki
9ff3b8c1d8 Remove useless code 2015-02-10 10:27:57 +01:00
Piotr Sarnacki
6c01631b2e Fix ajax requests for caches 2015-02-10 10:13:53 +01:00
Piotr Sarnacki
aacad11258 Fix caches 2015-02-10 10:09:51 +01:00
Piotr Sarnacki
b4e69ea837 Don't set loading padding on links 2015-02-10 10:01:25 +01:00
Piotr Sarnacki
cc1026656c Try to highlight lines in log a few times before giving up 2015-02-10 09:44:19 +01:00
Piotr Sarnacki
4f38faf3c2 Use travis location 2015-02-10 09:43:54 +01:00
Piotr Sarnacki
55cf221b56 Fix status images 2015-02-10 09:43:17 +01:00
Piotr Sarnacki
39b780e615 Fix syncing 2015-02-10 09:42:58 +01:00
Piotr Sarnacki
86983f1e6d Fix requests page 2015-02-10 09:41:57 +01:00
Piotr Sarnacki
bf80fec82f Coalesce find requests 2015-02-10 09:41:16 +01:00
Piotr Sarnacki
485976d003 Don't try to reload record if it's already loading 2015-02-09 19:28:32 +01:00
Piotr Sarnacki
6877c3afc1 Properly add new builds to builds lists 2015-02-09 19:28:32 +01:00
Lisa Passing
7e1a943a80 fix some layout bugs in error and maintenance 2015-02-09 15:56:37 +01:00
Lisa Passing
b09fbdcabe add maintenance page 2015-02-09 15:30:02 +01:00
Lisa Passing
2ebc2a6be1 position mr-t on 404 2015-02-09 13:03:32 +01:00
Lisa Passing
16e31a5b89 pro profile maximize 2015-02-06 16:59:41 +01:00
Lisa Passing
559bfd8ab2 add border-bottom-mixin 2015-02-06 15:50:19 +01:00
Lisa Passing
e784301bb0 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-06 15:28:18 +01:00
Lisa Passing
fe3796b0c7 fix profile pro 2015-02-06 15:28:13 +01:00
Piotr Sarnacki
705fe69208 Fix ssh-key route 2015-02-06 15:11:02 +01:00
Piotr Sarnacki
a6b9c2b0d9 Properly check for caches and ssKey on pro 2015-02-06 15:10:53 +01:00
Piotr Sarnacki
76672e76ca Fix pusher auth on pro 2015-02-06 15:04:59 +01:00
Lisa Passing
5f8562b2e2 Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli
Conflicts:
	app/styles/app/layouts/footer.sass
2015-02-06 15:01:09 +01:00
Lisa Passing
5dbd90be5d rewrite layout rules 2015-02-06 15:00:18 +01:00
Piotr Sarnacki
4dc35f7932 Fix default pro behaviour 2015-02-06 14:58:01 +01:00
Piotr Sarnacki
c9e0337071 Fix emojize 2015-02-06 14:19:59 +01:00
Lisa Passing
df9467d04f fix more lists 2015-02-06 14:06:31 +01:00
Lisa Passing
aed549fd51 fix lists 2015-02-06 13:51:53 +01:00
Lisa Passing
caebbde09c Merge branch 'ember-cli' of github.com:travis-ci/travis-web into ember-cli 2015-02-06 13:35:08 +01:00
Lisa Passing
4efd8f9f66 add font and rearrange imports 2015-02-06 13:34:52 +01:00
Piotr Sarnacki
95619b42fb Don't filter env vars in controller
Depending on isNew can result in rerendering templates in some cases, which will
also create a new object controller, which in turn will reset isEditing value.
2015-02-06 13:20:56 +01:00
Piotr Sarnacki
ab33383d15 Fix a few issues after ember-cli switch 2015-02-06 12:57:49 +01:00
Piotr Sarnacki
cd83556d36 Don't set overflow-x: hidden 2015-02-06 12:04:11 +01:00
Piotr Sarnacki
03ae9df2b5 dashboard/loading view doesn't need layout 2015-02-06 11:31:28 +01:00
Piotr Sarnacki
3f7a9df8ba Change tipsy to scss 2015-02-06 10:40:01 +01:00
Piotr Sarnacki
eab311737a Merge branch 'master' into ember-cli
Conflicts:
	assets/scripts/travis.coffee
2015-02-05 18:21:51 +01:00
Piotr Sarnacki
f53f9947a5 Fix colorForState for repos list 2015-02-05 18:14:19 +01:00
Piotr Sarnacki
28e9da05bf Use 404 as notFound 2015-02-05 15:57:49 +01:00
Piotr Sarnacki
9c1427db3c Move 404 files to app/ 2015-02-05 15:57:05 +01:00
Piotr Sarnacki
e943f9ef5c Properly set value of isRecentTabOpen to false on deactivate 2015-02-05 15:47:10 +01:00
Piotr Sarnacki
3780eaa13f Merge pull request #326 from travis-ci/less-pusher-data
Don't save data from pusher that won't likely be used
2015-02-05 15:37:49 +01:00
Piotr Sarnacki
6a29198eee Fix imports 2015-02-05 15:34:00 +01:00
Piotr Sarnacki
f72d942801 Remove compass from app/forms.scss 2015-02-05 15:32:08 +01:00
Piotr Sarnacki
2525888668 Merge remote-tracking branch 'origin/css-refactor' into ember-cli 2015-02-05 15:30:29 +01:00
Piotr Sarnacki
1f5d5a2bd2 Fix imports for styles 2015-02-05 15:30:12 +01:00
Piotr Sarnacki
90e2366eef Use 'history' location for now 2015-02-05 15:28:21 +01:00
Piotr Sarnacki
8ad4e1f27e Move styles to app/styles 2015-02-05 12:51:57 +01:00
Piotr Sarnacki
24d18afd48 Merge branch 'css-refactor' into ember-cli
Conflicts:
	app/templates/layouts/profile.hbs
	assets/scripts/app/routes.coffee
	assets/scripts/app/views.coffee
2015-02-05 12:49:26 +01:00
Piotr Sarnacki
59477e5eac Configure location properly 2015-02-05 12:40:06 +01:00
Piotr Sarnacki
3d216ad9f7 Filter repositories without last build 2015-02-05 12:39:58 +01:00
Piotr Sarnacki
141457c4f9 Change config keys to camel case 2015-02-05 11:35:47 +01:00
Piotr Sarnacki
e33af8a672 Go one step further with lowering pusher data landing into store
If user switches to recent repos tab and then switches away, there's really no
point in pushing everything into store. We can still reject all of the events
for repos that don't belong to the current user and are not yet in the store.
2015-02-05 10:57:36 +01:00
Piotr Sarnacki
6f0eaf7091 Don't save data from pusher that won't likely be used
If user is logged in and doesn't keep 'recent repositories' tab opened, most of
the pusher events from 'common' channel are useless.

This commit introduces a logic to reject pusher events if:

  * recent tab hasn't been opened
  * user is signed in
  * Travis CI for open source is used
  * repository for a given event is not yet in store
  * repository for a given event is not part of current user's repositories
2015-02-05 10:57:36 +01:00
Piotr Sarnacki
874a6de443 Move log to vendor/ 2015-02-04 23:08:22 +01:00
Piotr Sarnacki
fcbcabb0cd No need to lookup store in pusher anymore 2015-02-04 18:35:42 +01:00
Piotr Sarnacki
420cab0d75 Remove workers/list.hbs, it's not used anymore 2015-02-04 18:34:37 +01:00
Piotr Sarnacki
67cae2c8f5 Remove Travis global usage from templates 2015-02-04 18:34:25 +01:00
Piotr Sarnacki
8f7c58ce4c Add missing imports for config 2015-02-04 18:27:14 +01:00
Piotr Sarnacki
ba9b6d844a Move receiving pusher events to store 2015-02-04 18:24:09 +01:00
Piotr Sarnacki
f82025c6d5 Don't use Handlebars.compile, ember-cli includes only runtime for performance 2015-02-03 20:48:02 +01:00
Piotr Sarnacki
90b91bd49b Fix pusher channel subscribe
When channel_prefix is not defined it should be set to empty string.
2015-02-03 20:31:41 +01:00
Piotr Sarnacki
961b487fac Change a way config is updated
The ENV viarable that is exported in app/config/environment.js is saved as JSON
in <meta> tag in index.html. In order to properly set the settings from the app
we need to get it from there, update the JSON and write it back
2015-02-03 17:20:04 +01:00
Piotr Sarnacki
0dba0fdad5 Add app initializers which sets window.Travis
We still use Travis in some places in the app and Travis var is not set when
using ember build. The initializer added in this commit sets it to the current
app instance
2015-02-03 12:13:13 +01:00
Piotr Sarnacki
020da3048d Run auth config after ember-data 2015-02-03 10:54:08 +01:00
Piotr Sarnacki
65e0789250 Add ability to extend config by setting it in index.html 2015-02-03 10:52:50 +01:00
Piotr Sarnacki
579388e08d Add Pusher and fix Pusher's config 2015-02-03 10:52:14 +01:00
Piotr Sarnacki
b0bd24a129 Add ember-cli version of the Ember.js app 2015-02-03 09:48:22 +01:00
Piotr Sarnacki
3a09a0da9a Move assets/scripts/app to root dir 2015-02-03 09:44:34 +01:00
Sven Fuchs
c8246efab6 use rake-pipeline 2012-06-22 03:18:07 +02:00
Sven Fuchs
767476a8c9 remove rails 2012-06-22 00:37:43 +02:00
Sven Fuchs
1825cc3ca4 port moar stuff 2012-06-21 23:00:58 +02:00
Sven Fuchs
697676f6ff port stuff 2012-06-21 02:00:14 +02:00
Sven Fuchs
0b8eb94dd5 convert to coffeescript 2012-06-19 17:40:58 +02:00
Sven Fuchs
f2c3ad4ff0 wait for repo.builds to be loaded, too 2012-06-19 12:52:39 +02:00
Sven Fuchs
3121aa551a upgrade ember.js master 2012-06-19 11:47:55 +02:00
Sven Fuchs
5aa55f2064 doesn't seem to make sense to use slugs as ids cuz w're now waiting for the repo to be loaded anyway 2012-06-18 20:23:10 +02:00
Sven Fuchs
e14e063b8c start over, trying to use the repo slug as an id 2012-06-18 17:41:49 +02:00
Sven Fuchs
89f624d377 remove the repository.* states nesting 2012-06-18 17:14:21 +02:00
Sven Fuchs
2ff639e38e trying to figure out why it changes the url to /#/undefined/undefined after loading / 2012-06-18 11:47:33 +02:00
Sven Fuchs
e3a4d0194c url generation seems to work fine, but for some weird reason it seems to pushState urls with all segments undefined 2012-06-18 01:15:53 +02:00
Sven Fuchs
240b1da238 try using an index state 2012-06-17 19:01:10 +02:00
Sven Fuchs
4d769d405a playing with ember routes 2012-06-17 18:32:47 +02:00
Sven Fuchs
a3f629bd0d initial commit 2012-06-17 00:05:06 +02:00