Piotr Sarnacki
19c3b6f455
Fix topbar on first sync page
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
Lisa P
0676f27ee1
fix firefox not calculating footer right
2015-01-15 16:25:35 +01:00
Lisa P
ac36b827dd
style views to make sticky footer work again
2015-01-15 13:15:41 +01:00
Piotr Sarnacki
1ee3d0c0ed
Change MainView class to .main instead of .application
2015-01-15 13:09:12 +01:00
Piotr Sarnacki
4fae71a002
Add ordering to dashboard stylesheets
2015-01-15 13:08:50 +01:00
Piotr Sarnacki
eb00c7104e
Add classes to application and dashboard views
2015-01-15 12:58:07 +01:00
Piotr Sarnacki
03ef70c82a
Deactivate dashboard stylesheet by default
2015-01-15 12:57:57 +01:00
Piotr Sarnacki
ad5518104d
Move sidebar to templates, not layouts
2015-01-15 12:39:06 +01:00
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
f3f56978da
Add newlines at the end of ember-data
...
If a file ends with a comment, asset pipeline will concat it without a newline,
so first line of the next file will be inside a comment
2015-01-15 12:39:05 +01:00
Piotr Sarnacki
bd950faf4a
Add Ember Data
2015-01-15 12:39:05 +01:00
Lisa P
7fad98811d
add dashboard files
2015-01-15 12:38:05 +01:00
Piotr Sarnacki
17f2b9c821
Fix githubify helper
...
Conflicts:
assets/scripts/app/helpers/helpers.coffee
2015-01-15 12:28:05 +01:00
Piotr Sarnacki
fc0c549556
Create separate stylesheets for dashboard and the rest
2015-01-15 11:14:20 +01:00
Piotr Sarnacki
2396fb925d
Fix imports in styles
2015-01-15 11:14:19 +01:00
Piotr Sarnacki
9d72db05a5
Move stylesheets to styles/app
2015-01-15 11:14:19 +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
a891892bd8
Add missing requires in routes
2015-01-14 18:23:51 +01:00
Piotr Sarnacki
1ab14e9188
Extract routes to individual files
2015-01-14 18:07:27 +01:00
Piotr Sarnacki
8715087237
Extract ApplicationRoute to a separate file
2015-01-14 14:07:05 +01:00
Piotr Sarnacki
5c280001d3
Rename IndexRoute to MainRoute
2015-01-14 13:22:58 +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
2b86e93d13
Fix close button on flash messages
2015-01-14 12:47:16 +01:00
Piotr Sarnacki
df74b618ce
Enable removeLog on pro
2015-01-14 12:27:31 +01:00
Piotr Sarnacki
8ff844e5a1
Strengthen the check to display download log button
...
Technically jobIdForLog should be sufficient, because it has job id only when
it's a job or a build page, but for some reason it doesn't get refreshed
properly.
2015-01-13 15:46:21 +01:00
Piotr Sarnacki
3c224c809e
Remove extra status link from topbar
2015-01-13 12:13:55 +01:00
Piotr Sarnacki
e1a61af64a
Fix PR URL on PRs list
2015-01-12 14:26:20 +01:00
Piotr Sarnacki
f7b2f0cbf1
Disable remove log button on pro for now
2015-01-12 14:22:48 +01:00
Piotr Sarnacki
1e8daa3e2c
Fix PRs list - it was missing a PR column
2015-01-12 14:21:23 +01:00
Piotr Sarnacki
d69ab156e0
Merge pull request #324 from travis-ci/remove-log
...
Remove log
2015-01-12 12:56:54 +01:00
Piotr Sarnacki
8b6db4461c
Don't use events to open popup for allowed failures help
2015-01-12 12:20:19 +01:00
Piotr Sarnacki
43e06fc180
Viewing user's repositories needs auth
2015-01-12 11:39:34 +01:00
Piotr Sarnacki
9c9002b204
Remove 'sponsored by' text
2015-01-09 15:46:59 +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
9023d0ca06
Remove extra removeLogPopup function (merge
...
leftover)
2015-01-09 15:19:36 +01:00
Piotr Sarnacki
23cebc4826
Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log
2015-01-09 15:03:46 +01:00
Piotr Sarnacki
09075e880d
Don't display remove log button if it's already removed
2015-01-09 15:02:34 +01:00
Lisa P
486e417d12
some styles for remove-log-popup
2015-01-09 15:01:07 +01:00
Piotr Sarnacki
aca82a0379
Display remove log only when user hasPermissions to use it
2015-01-09 14:59:21 +01:00
Lisa P
8c74c10654
Merge branch 'remove-log' of github.com:travis-ci/travis-web into remove-log
2015-01-09 14:54:09 +01:00
Josh Kalderimis
68a08ac51b
Merge pull request #318 from aprescott/concurrent-jobs-not-builds-in-settings
...
Rename 'Concurrent builds' setting to 'Concurrent jobs'
2015-01-09 13:34:50 +01:00
Piotr Sarnacki
eb78d62adb
Change popup functions to not use events
2015-01-09 13:07:12 +01:00
Piotr Sarnacki
4d9d0f10d9
Bring back hack for download log button
2015-01-09 13:07:12 +01:00
Lisa P
3bf326a942
Add actions for remove log
2015-01-09 13:07:12 +01:00
Lisa P
3582969e90
add popup stub
2015-01-09 13:06:15 +01:00
Piotr Sarnacki
2a64382563
Use Urls.githubCommit for githubify
2015-01-09 11:18:02 +01:00
Piotr Sarnacki
2d468190e0
Fix the message about public/private repos on account page
2015-01-08 17:14:38 +01:00
Piotr Sarnacki
7959442a99
Disable remove log button for now
2015-01-08 17:11:48 +01:00
Piotr Sarnacki
78dccd194c
Bring back hack for download log button
2015-01-08 17:03:34 +01:00
Lisa P
97050b8111
Add actions for remove log
2015-01-08 16:56:40 +01:00
Lisa P
c0a681e73b
add popup stub
2015-01-08 15:45:43 +01:00
Piotr Sarnacki
cc7fef21ca
Fix download log and remove log button display checks
...
For some reason when we run get('build.jobs.firstObject.id') it returns
different result than get('build.jobs').objectAt(0).get('id'). I can't reproduce
it on a clean Ember application, so it's probably a consequence of something
that we do in our views.
2015-01-08 15:15:41 +01:00
Lisa P
f1f5d26a51
fix help/close icon on popups
2015-01-08 15:02:06 +01:00
Piotr Sarnacki
34759558dd
min-height: 100vh should be applied only to first div inside body
2015-01-08 14:22:46 +01:00
Piotr Sarnacki
e6bde154ec
Put statusImages in actions
2015-01-08 14:16:53 +01:00
Piotr Sarnacki
d2faa71acc
Show code climate for both pro and org
2015-01-08 14:07:44 +01:00
Lisa P
725a2f3014
Merge branch 'master' of github.com:travis-ci/travis-web
2015-01-08 13:18:34 +01:00
Lisa P
810eacf15a
truly center popup
2015-01-08 13:18:27 +01:00
Piotr Sarnacki
ad0567fe13
Remove regenerate key option from settings menu for now
...
We added regenerate key button in order to allow people reset their private key
on Travis CI after a possible security breach. Travis CI users can't leak the
key, because they don't even have access to it, so at this point it's not needed
anymore.
2015-01-08 12:16:07 +01:00
Piotr Sarnacki
e68b6b49c0
Fix getting started page
2015-01-08 11:50:02 +01:00
Piotr Sarnacki
b5a41b5271
Fix CSS issues on safari
2015-01-08 11:25:38 +01:00
Piotr Sarnacki
8abbdb931a
Show lint only on org
2015-01-08 10:42:00 +01:00
Piotr Sarnacki
7e3e056e1c
Fix not-found's page CSS for topbar
2015-01-07 17:40:09 +01:00
Piotr Sarnacki
05ff10c0cb
Fix sidebar slider CSS
2015-01-07 17:33:20 +01:00
Piotr Sarnacki
2d69946772
It's Travis.config not Travis.features
2015-01-07 17:19:08 +01:00
Piotr Sarnacki
86a02ad1da
Add access_token only on pro for log url
2015-01-07 13:06:05 +01:00
Piotr Sarnacki
9759735249
Actually show charm tab on pro
2015-01-06 18:14:56 +01:00
Piotr Sarnacki
35b059e783
Fix initialization for pro
2015-01-06 18:14:19 +01:00
Piotr Sarnacki
f566d601ee
Move toggleTailing to actions in PreView
2015-01-06 14:08:21 +01:00
Piotr Sarnacki
36b174102a
Change /my_repositories to /repositories
2015-01-06 14:01:41 +01:00
Piotr Sarnacki
963ad64d62
Oh, logic, how does it work
2015-01-06 13:50:03 +01:00
Piotr Sarnacki
c6195f124a
Show 'we're hiring' message only on .org
2015-01-06 13:49:11 +01:00
Piotr Sarnacki
68c29eee6a
Remove support tab on org
2015-01-06 13:47:13 +01:00
Piotr Sarnacki
60410d50ec
Show 'we're hiring message
2015-01-06 13:47:11 +01:00
Piotr Sarnacki
321c1efb33
Fix specs
2015-01-06 13:08:41 +01:00
Piotr Sarnacki
514a127083
Add layout for notFound view
2015-01-06 13:08:16 +01:00
Piotr Sarnacki
0074acb8fe
Fix profile info tab
2015-01-06 12:45:08 +01:00
Piotr Sarnacki
e95e679e80
Use label helper on ssh key form
2014-12-31 15:45:53 +01:00
Piotr Sarnacki
5cfc3d44a6
Fix ssh key form when returning after form was open
...
When user opens ssh key form, navigates to a different rote and returns, ssh key
form shows that a custom key is added, but it's just a leftover from the
previous open of the form. It seems that Ember Model caches the new model in
the store and returns it from fetch. The fix is to return null in such case.
2014-12-31 15:35:02 +01:00
Piotr Sarnacki
04e97aa9ab
Fix HTML on repos/show/empty.hbs
2014-12-31 15:18:25 +01:00
Piotr Sarnacki
8241c2b91e
Bring back billing link in the user menu on top bar
2014-12-30 13:37:11 +01:00
Piotr Sarnacki
dee7e7758a
Fix auth view to include layout
2014-12-30 13:06:43 +01:00
Piotr Sarnacki
d95738c975
Use Handlebars.registerHelper instead of .helper
2014-12-30 12:25:43 +01:00
Piotr Sarnacki
fbcfa04859
Don't destroy parts on cleanup
...
Destroying parts on cleanup can have weird effects, because we observe parts in
log view.
2014-12-30 11:58:56 +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
f64adfbc89
Use injected 'config' object instead of global Travis.config
2014-12-30 11:19:55 +01:00
Piotr Sarnacki
15283b0294
Use model property instead of content on controllers
2014-12-30 11:19:38 +01:00
Piotr Sarnacki
820c4b8377
Fix subscribe button on profile page
2014-12-30 11:13:49 +01:00
Piotr Sarnacki
63ea231fe6
[pro-merge] Use proper template for running jobs
2014-12-29 18:20:22 +01:00
Piotr Sarnacki
94b5989e23
[pro-merge] Fix pro CSS rules
2014-12-29 18:20:22 +01:00
Piotr Sarnacki
86c2e8334e
[pro-merge] Sidebar can be rendered, no need to use outlet
2014-12-29 18:20:22 +01:00
Piotr Sarnacki
8a37d9e92d
Remove unneeded code
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
e9cbd98713
[pro-merge] Update routes with changes from travis-pro
2014-12-29 18:17:58 +01:00
Piotr Sarnacki
fde3af46f2
[pro-merge] Add application configuration hooks for pro
2014-12-29 18:17:58 +01:00
Piotr Sarnacki
23dd688d09
[pro-merge] Add token to log urls when in pro mode
2014-12-29 18:17:58 +01:00
Piotr Sarnacki
73f06eba0f
[pro-merge] Add token when fetching logs
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
8309941c95
[pro-merge] Add pusher extensions for travis-pro
2014-12-29 18:17:57 +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
51e8806d17
[pro-merge] Set ajax.pro to whatever value Travis.cofnig.pro holds
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
e712644a86
[pro-merge] Add views used only on pro
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
2c05af6588
[pro-merge] Add travis-pro auth extensions
2014-12-29 18:17:57 +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
284734ee65
[pro-merge] Add charm initialization script if charm_key is available
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
b4573ff293
[pro-merge] Add model extensions from travis-pro
2014-12-29 18:17:57 +01:00
Piotr Sarnacki
62d9fdc6a6
[pro-merge] Add images from travis-pro-web
2014-12-29 18:17:56 +01:00
Piotr Sarnacki
3c99ec395c
[pro-merge] Add styles from travis-pro-web
...
For now I put all of the pro styles in a ".pro" selector, which is added to the
body element.
2014-12-29 18:17:56 +01:00
Piotr Sarnacki
f8c17775ed
[pro-merge] Add config entries from travis pro
2014-12-29 18:17:56 +01:00
Piotr Sarnacki
e904067679
Update Ember.js to 1.9.1
2014-12-29 18:17:56 +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
345dacff29
Remove deprecation warnings for #with
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
b771f79587
No need to specify path when path is the same as name
2014-12-29 18:17:55 +01:00
Piotr Sarnacki
9d4146f155
Refactor index.recent and index.my_repositories routes
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
0dfb5dc10c
Get parts from a log object
...
For some reason using this.get('log.parts') is not equivalent to
log.get('parts')
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
e08584b879
Fix HTML
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
8d867010b5
Outlet names should be passed as strings
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
fa6b0fe161
No need to destroy parts in runloop
2014-12-29 18:16:16 +01:00
Piotr Sarnacki
c13cd4e72e
Update Ember.js to 1.9.0 and handlebars to 2.0.0
2014-12-29 18:16:16 +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
Mathias Meyer
1e97d6fb59
Merge pull request #319 from travis-ci/ja-new-topbar
...
ch-ch-changes on topbar
2014-12-23 09:30:01 +01:00
Adam Prescott
922fb93dca
Rename 'Concurrent builds' setting to 'Concurrent jobs'.
...
My understanding is that this setting is actually a value used to
control job concurrency, not build concurrency, so this clarifies that
by referring to jobs instead of builds.
2014-12-22 15:48:46 -05:00
Piotr Sarnacki
3e8b55e41c
Don't break words in commit body
2014-12-22 19:01:33 +01:00
Piotr Sarnacki
62824e2a97
Add webkit specific flex properties
2014-12-22 18:55:58 +01:00
Piotr Sarnacki
296d25206e
Forgot to remove static text used for testing
2014-12-22 18:51:07 +01:00
Piotr Sarnacki
f2bd748526
Make commit first line go under branch if it's too long
2014-12-22 18:49:21 +01:00
Justine Arreche
59115b7779
ch-ch-changes on topbar
2014-12-22 16:47:55 +01:00
Piotr Sarnacki
a287026aa2
Merge branch 'ps-fix-subject'
2014-12-19 11:09:17 +01:00
Mathias Meyer
a2af3f859b
Uncomment hiring message.
2014-12-19 09:10:43 +01:00
Piotr Sarnacki
70485132ef
A few more improvements to new build header
2014-12-18 22:07:37 +01:00
Piotr Sarnacki
d421d4f9fe
Don't limit commit's body
2014-12-18 21:53:07 +01:00
Piotr Sarnacki
fc18c185cc
Change request-kind background to have flexible height
2014-12-18 21:52:49 +01:00
Piotr Sarnacki
febd134f54
Fix subject wrapping
2014-12-18 16:33:16 +01:00
Mathias Meyer
2a5b1c89d8
Fix link to status page.
2014-12-18 09:29:21 +01:00
Alexandre Ardhuin
df54fc5807
Dart support
2014-12-14 14:57:05 +01:00
Mathias Meyer
b5276ef4a6
Hacky fix to make the status images work again.
...
The bindings are a bit odd in this setup. The status images view
reaches into the repos/show view to fetch relevant information.
2014-12-12 18:21:46 +01:00
Justine Arreche
54b666a86a
realigned repo-header items
2014-12-12 14:55:32 +01:00
Justine Arreche
e44052f299
reverted previous h3 change and only changed #profile #main h3
2014-12-12 12:26:27 +01:00
Justine Arreche
8ea9dbf0c8
fixed settings secondary tab spacing
2014-12-12 12:23:05 +01:00