Commit Graph

2231 Commits

Author SHA1 Message Date
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
ee2db5d891 Allow to set different title for different instances of the app 2015-01-09 10:17:16 +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
b335bc9f20 Allow to order stylesheets 2015-01-08 14:07:44 +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
f921e2fa1d Remove rack-ssl require 2015-01-08 10:31:59 +01:00
Piotr Sarnacki
37b1155383 Redirect to https also on staging 2015-01-07 17:57:17 +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