Commit Graph

936 Commits

Author SHA1 Message Date
Konstantin Haase
1264bb5396 comment out minification for now 2012-12-16 17:42:19 +01:00
Konstantin Haase
55bdaf780f don't minfiy on staging 2012-12-16 17:35:21 +01:00
Konstantin Haase
de0790c5d9 we might not have user yet 2012-12-16 17:26:52 +01:00
Konstantin Haase
a37dc4dca3 fix for nested user data 2012-12-16 17:20:32 +01:00
Konstantin Haase
43726e4025 fix reference 2012-12-16 17:04:41 +01:00
Konstantin Haase
5d7604567c js and bindings, how does it work? 2012-12-16 17:00:31 +01:00
Konstantin Haase
368ef859ea refactor auth 2012-12-16 16:57:12 +01:00
Sven Fuchs
ab0cb7d432 set auto_signin flag to false before actually trying to sign in 2012-12-16 14:59:43 +01:00
Sven Fuchs
b6df2bfbe1 add Auth.validateUser 2012-12-16 14:25:52 +01:00
Sven Fuchs
1b9d2c31ad disable tests for MobileRedirect since it is now unused 2012-12-14 16:16:24 +01:00
Sven Fuchs
2a61ca1b19 fix redirect 2012-12-14 16:11:00 +01:00
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
Randy Morgan
fa7f8b9332 Added first level instrumentation for travis-web
This is not enabled by default. You need to run:

Travis.Instrumentation.subscribe('render.view')

To start capturing info
2012-12-14 19:31:05 +09: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
Laurent Goderre
7adf8648e8 Removed the unused font-face declararation.
Not needed since 754be38 (See issue #72)
2012-12-13 10:44:38 -05: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