Commit Graph

1860 Commits

Author SHA1 Message Date
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
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
Mathias Meyer
096e9872a6 Fix eventType for the build.
This (somehow) ensures that the job page is properly populated.
2014-12-12 12:22:20 +01:00
Justine Arreche
a2de29baf5 fixed h3 padding to align #profile tabs with #left tabs 2014-12-12 12:16:14 +01:00
Mathias Meyer
81ffc3d6a7 Fix pull request number display. 2014-12-12 12:06:21 +01:00
Mathias Meyer
aef53f4554 Fix event type display on the jobs page. 2014-12-12 11:41:54 +01:00
Justine Arreche
806fd899bc attempting to add job event types to jobs tab 2014-12-12 11:36:43 +01:00
Josh Kalderimis
90c8997379 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 20:23:13 +01:00
Josh Kalderimis
354c6a4410 Revert "trying to fix ember stuffs"
This reverts commit e4a76499a8.
2014-12-11 20:22:47 +01:00
Josh Kalderimis
a2d4446382 Revert "comment out push code"
This reverts commit 2d5643f392.

Conflicts:
	assets/scripts/app/models/build.coffee
2014-12-11 20:22:33 +01:00
Josh Kalderimis
b09d26b1e8 removed some commented out code for now
recommended by @rwjblue
2014-12-11 20:14:40 +01:00
Justine Arreche
2f1933a137 Merge branch 'ja-build-header' of github.com:travis-ci/travis-web into ja-build-header 2014-12-11 19:54:58 +01:00
Justine Arreche
e4a76499a8 trying to fix ember stuffs 2014-12-11 19:52:37 +01:00
Justine
a7ad256324 Auto-merged master into ja-build-header on deployment. 2014-12-11 19:36:21 +01:00
Justine Arreche
860977347f add push 2014-12-11 19:34:56 +01:00
Justine Arreche
2d5643f392 comment out push code 2014-12-11 19:31:05 +01:00
Justine Arreche
b8f8383a5e changed svg to png file format 2014-12-11 19:10:38 +01:00
Justine Arreche
718b2aaddc added png 2014-12-11 18:50:12 +01:00
Justine Arreche
6aa44ff060 changing default gravatar from svg to png 2014-12-11 18:39:06 +01:00
Justine Arreche
3995a0aa90 added default avatar and hid hiring 2014-12-11 15:54:39 +01:00
Justine Arreche
edcdb61e31 fixed the background positioning on pull and push icons 2014-12-11 13:51:07 +01:00
Justine Arreche
22aab4a629 created classes for push and pull requests 2014-12-11 11:55:08 +01:00
Josef Šimánek
29c01c9bd2 Add C#, D and Julia languages into matrix. 2014-12-11 03:29:18 +01:00
Justine Arreche
a1eac086fd commented out the remove log tool for now 2014-12-10 22:04:47 +01:00
Justine Arreche
69ef9f147f Increased height on #new-summary 2014-12-10 21:30:46 +01:00
Sven Fuchs
8a3c05fe36 fix repo settings menu to not display the "regenerate key" item when user does not have admin access 2014-12-10 21:30:46 +01:00
Sven Fuchs
776e3e9c3b set the build request type class from build.eventType 2014-12-10 21:30:46 +01:00
Justine Arreche
541273a33b fixed duration icons 2014-12-10 21:30:46 +01:00
Justine Arreche
4035c3c435 wip fixing duration labels on #left 2014-12-10 21:30:46 +01:00
Justine Arreche
8647880cc7 more work on tabs 2014-12-10 21:30:46 +01:00
Justine Arreche
e7ed51e20f cleaned up more tab and repo header styles 2014-12-10 21:30:46 +01:00
Justine Arreche
4d0bd26d65 added new default avatar and changed tab appearances between #left and #main 2014-12-10 21:30:46 +01:00
Justine Arreche
1e793575e0 began altering tabs appearance 2014-12-10 21:30:45 +01:00
Justine Arreche
7e54228386 removed min-wid from body for beter responsive display 2014-12-10 21:30:45 +01:00
Justine Arreche
b4da069990 fixed regenerate key line for settings 2014-12-10 21:30:45 +01:00
Justine Arreche
ce3ef8f7d2 fixed line-height issue in Chrome and Firefox 2014-12-10 21:30:45 +01:00
Justine Arreche
ae00085f88 added pull request and push icons and pushed author to baseline of new-summary div 2014-12-10 21:30:45 +01:00
Justine Arreche
2f2d05689e fixed the restart build loading icon bug 2014-12-10 21:30:45 +01:00
Justine Arreche
391890f299 fixed the build header cut-off on pull requests 2014-12-10 21:30:45 +01:00
Justine Arreche
11b20aa7dc fix to the github icon 2014-12-10 21:30:45 +01:00
Piotr Sarnacki
a8bd45eaec Fix code climate icon 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
03926ddc70 Text breaks icons position, removing for now 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
55f6fa30ec Fix PR info on jobs/show 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
cb3f1a4d9f More fixes for IE 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
e32e2922de Change loading spinner type on icons 2014-12-10 21:30:44 +01:00
Piotr Sarnacki
79968ca76b Compatibility fixes for new build header 2014-12-10 21:30:44 +01:00
Justine Arreche
326e31b6a1 svg icons 2014-12-10 21:30:44 +01:00
Justine Arreche
df8f6c1b7c fixes to settings dropdown styles 2014-12-10 21:30:44 +01:00
Justine Arreche
847786cbea changed delete log to download log 2014-12-10 21:30:43 +01:00
Justine Arreche
72a355d46a fixes to action icon sizes and position and addition of new log action icons 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
abb5f422f2 Fix status badge icon 2014-12-10 21:30:43 +01:00
Justine Arreche
702b975624 added arrow and size adjustments to settings dropdown button 2014-12-10 21:30:43 +01:00
Justine Arreche
e7e283ab8f moved build status img to repo-header 2014-12-10 21:30:43 +01:00
Justine Arreche
2df958ca15 fixed spacing in build status text align 2014-12-10 21:30:43 +01:00
Justine Arreche
f5db8c5cc8 added icon and space for tags 2014-12-10 21:30:43 +01:00
Piotr Sarnacki
c3a843a886 Add button for removing logs 2014-12-10 21:30:43 +01:00
Justine Arreche
e98d429426 fixed colors, position on build status 2014-12-10 21:30:42 +01:00
Justine Arreche
844f99155c got bgimg working on build-status 2014-12-10 21:30:42 +01:00
Justine Arreche
2a3c1424dc for some reason giant svgs 2014-12-10 21:30:42 +01:00
Justine Arreche
d32fbf4565 small change to right div width for longer messages 2014-12-10 21:30:42 +01:00
Justine Arreche
82983b1c02 fixed bg image sizes and settings dropdown color 2014-12-10 21:30:42 +01:00
Justine Arreche
5b53628634 latest for piotr review 2014-12-10 21:30:42 +01:00
Justine Arreche
e9b8183ead fixing what was lost this morning 2014-12-10 21:30:42 +01:00
Justine Arreche
b897e81fd2 updated build status bg colors 2014-12-10 21:30:42 +01:00