Commit Graph

723 Commits

Author SHA1 Message Date
Sven Fuchs
b2f3a36464 redirect from secure.* to main domain 2012-12-14 16:01:44 +01:00
Sven Fuchs
ee50cbd1e7 disable MobileRedirect, which does not seem to work, we are now using Rack::MobileRedirect 2012-12-14 15:52:58 +01:00
Sven Fuchs
23250e416e bump 2012-12-14 14:14:01 +01:00
Sven Fuchs
07670570ca Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	Gemfile.lock
2012-12-14 14:12:14 +01:00
Sven Fuchs
3f5f2a4726 redirect mobile clients to a given MOBILE_ENDPOINT 2012-12-14 14:10:56 +01:00
Piotr Sarnacki
4bdf94484f Merge branch 'sortable-fix' 2012-12-14 05:12:06 +01:00
Piotr Sarnacki
23a58866bd Fix LimitedArray to work properly with SortableMixin 2012-12-14 04:31:28 +01:00
Piotr Sarnacki
6fd56d4521 Display link to build/job only if id is present already 2012-12-13 15:17:04 +01:00
Piotr Sarnacki
9f7796a023 Use #with helper for job and builds link on tabs
Thanks to that, id will be refreshed when the build changes.
2012-12-13 01:44:42 +01:00
Konstantin Haase
753613fa2f Merge branch 'master' of github.com:travis-ci/travis-web 2012-12-12 23:47:57 +01:00
Piotr Sarnacki
25ac08fab6 Missing changes for 9853826, I accidentally undid changes before commiting 2012-12-12 23:45:07 +01:00
Piotr Sarnacki
9853826bae Properly refresh last build link on repos list
value change. Since {{action}} is also not a bound helper, I need some
structure that I can put into {{with}} helper
2012-12-12 23:40:51 +01:00
Konstantin Haase
bb53bceb46 fix constant name 2012-12-12 23:39:03 +01:00
Konstantin Haase
726190634b add protection 2012-12-12 23:33:43 +01:00
Piotr Sarnacki
d1cb2c7a92 It's matrix[allow_failures]... doh! 2012-12-11 21:48:30 +01:00
Piotr Sarnacki
9b5821d799 List also RVM in allow failures section 2012-12-11 21:46:18 +01:00
Piotr Sarnacki
b56fad5f20 Use bash for script/ci 2012-12-11 21:44:48 +01:00
Piotr Sarnacki
08c01dd880 No need to download phantomjs, 1.7.0 is available already 2012-12-11 21:38:42 +01:00
Piotr Sarnacki
6661934b07 Run spec and web tests separately and allow web to fail 2012-12-11 21:30:12 +01:00
Piotr Sarnacki
a4eec471d7 Update locales 2012-12-11 16:18:17 +01:00
Piotr Sarnacki
d37da09502 Merge pull request #79 from mrshu/master
Updated links to GitHub hooks page
2012-12-11 07:14:49 -08:00
Piotr Sarnacki
4657ee351b Merge pull request #78 from randym/i18n
Updates and Fixes for Profile and UI to properly handle locale switching
2012-12-11 07:07:54 -08:00
Piotr Sarnacki
de9d695c5e Remove console.log 2012-12-11 15:53:09 +01:00
Piotr Sarnacki
fd82bf3791 Use contentArrayWillChange for deleting records from LimitedArray
Using contentArrayDidChange is usless for deletion, because the records
were already deleted, so we can't fetch them from the content array.
2012-12-11 15:51:11 +01:00
Piotr Sarnacki
e36fb0d7a2 Properly hide 'show more job' link in the queues 2012-12-11 15:03:47 +01:00
mr.Shu
c9ecde2632 updated links to GitHub hooks 2012-12-11 14:58:59 +01:00
Piotr Sarnacki
79e6f5e037 Allow to change the place of insertion for limited array 2012-12-11 14:41:21 +01:00
Randy Morgan
91812fb21c Connected flash outlet for profile 2012-12-11 13:17:24 +09:00
Randy Morgan
0e727819b0 Updated profile view to support auto-updating locale selection 2012-12-11 13:13:54 +09:00
Randy Morgan
992cbb13f7 Removed unsupported locales from profile.
This should be written to populate from the I18n.translations hash but
for now, I am just getting rid of the ones that do not exist.
2012-12-11 10:55:43 +09:00
Randy Morgan
e4fb6c1fee Completed dynamic I18n intetegration.
travis-web starts in English. When the user logs in, it switches to
their locale, when they logout, it goes back to english.
2012-12-11 10:48:19 +09:00
Randy Morgan
667722c663 Fixed User#update_locale to call Travis#updateLocale on locale change 2012-12-11 09:34:44 +09:00
Randy Morgan
e4819d8e0b Fixed I18n handlebars helpers to update when locale changes
Via the console, you can Travis.set('locale', 'ja') and all the labels
will properly update. This should work on User#updateLocale as well but
I am having a devil of a time testing it locally as I cannot sign in.
2012-12-11 08:54:43 +09:00
Piotr Sarnacki
fa5de8ba66 Merge pull request #76 from travis-ci/rkh-correct-status-image
use current host for status images
2012-12-10 08:54:52 -08:00
Piotr Sarnacki
364f6927d3 Don't error out if capitilize helper gets null as an argument 2012-12-10 17:44:15 +01:00
Piotr Sarnacki
8e97b68313 Make the app work with disabled cookies
Browsers disable local storage and session storage when cookies are
disabled - any call to one of those will cause an error. This commit
provides fallback storage, which will store items in memory.
2012-12-10 17:37:09 +01:00
Konstantin Haase
b16f9281c4 use current host for status images 2012-12-10 15:32:01 +01:00
Sven Fuchs
7759061d4e disable "cancel build" 2012-12-10 15:14:12 +01:00
Piotr Sarnacki
8f27943fe4 Kill typo 💣 2012-12-10 14:57:34 +01:00
Piotr Sarnacki
5b0b7d7002 Fix isAttributeLoaded checks
We can't check 'isFinished' when model is asked for
isAttributeLoaded('state'). In such situation, it will go to isFinished
and call @get('state'), which will trigger isAttributeLoaded('state')
again.
2012-12-10 14:26:44 +01:00
Piotr Sarnacki
a662d03ee7 Revert "Don't automatically sign in if there is no token available"
This commit breaks login in Safari, without it people will need log out
and log in again if they experienced 401 requests on the profile page,
but we can't break Safari.

It seems that the root cause of the error is the fact that auto sign in
fails in Safari.

This reverts commit d84b3581eb.
2012-12-10 13:53:35 +01:00
Piotr Sarnacki
0829825a14 Merge pull request #75 from mojavelinux/asciidoc-status-image
Add AsciiDoc markup to the status images dialog
2012-12-10 04:34:26 -08:00
Piotr Sarnacki
d84b3581eb Don't automatically sign in if there is no token available 2012-12-10 11:22:18 +01:00
Piotr Sarnacki
567ba4cc6d Fix storing token when doing auto sign in 2012-12-10 10:42:21 +01:00
Dan Allen
454c1c3e9a add AsciiDoc markup to status images dialog 2012-12-09 17:29:16 -07:00
Sven Fuchs
808ab28a4e fix icon size 2012-12-09 22:19:41 +01:00
Sven Fuchs
754be387b4 use svg icons instead of fonts 2012-12-09 22:04:50 +01:00
Sven Fuchs
45f47c117f add mailer images 2012-12-09 15:16:27 +01:00
Sven Fuchs
e2ea999974 try using font/icons for color issues 2012-12-09 15:16:27 +01:00
Sven Fuchs
d005f241ba fix things after rebase 2012-12-09 15:16:27 +01:00