Commit Graph

706 Commits

Author SHA1 Message Date
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
Sven Fuchs
15dc2c503d add state attribute to Branch 2012-12-09 15:16:27 +01:00
Sven Fuchs
395918a406 use states instead of result 2012-12-09 15:16:27 +01:00
Sven Fuchs
f6975e5b02 add cancel menu items 2012-12-09 15:16:27 +01:00
Piotr Sarnacki
0a635c8b39 Quick hack for </span> landing in the wrong place in logs
We change ansi terminal instructions into HTML tags before splitting the
log into lines, which sometimes may end up with </span> in the beginning
of the line. This is a quick hack to fix that problem, but we need
better solution.
2012-12-08 01:02:04 +01:00
Konstantin Haase
0a61eed7d7 Merge pull request #71 from travis-ci/rkh-better-login
better login
2012-12-06 08:45:49 -08:00
Konstantin Haase
6f8a5860af remove printf debugging 2012-12-06 17:13:08 +01:00
Konstantin Haase
c3e1bb7d67 only sign in once 2012-12-06 17:11:32 +01:00
Konstantin Haase
b4a1535533 check user 2012-12-06 16:58:28 +01:00
Konstantin Haase
eed223d19d throw params in case or mismatch 2012-12-06 15:49:36 +01:00
Konstantin Haase
f6c983978f only allow sessionStorage and localStorage 2012-12-06 14:44:00 +01:00
Konstantin Haase
3eb4c04f11 Merge branch 'master' into rkh-better-login 2012-12-06 13:52:09 +01:00
Piotr Sarnacki
aca1550933 Fix log tailing 2012-12-06 02:20:53 +01:00
Piotr Sarnacki
27fe85989a Make rendering long logs faster when rendering huge chunks at once
After change log rendering method, to append HTML elements instead of
rerendering the entire thing, the case of gradual rendering of a log
started to behave much better (because we just append new elements), but
the initial render took a bit longer, because of the fact that appending
large separate HTML elements to DOM at once is not a good idea.

In order to make the situation better I added simple optimization.
Elements are added to DocumentFragment node before inserting to DOM and
appended to DOM only after all elements are processed. That way, when
log needs to be rendered all at once, we will not do any DOM operations
until log is ready.
2012-12-05 21:29:41 +01:00
Konstantin Haase
4a443aee41 allow setting the storage 2012-12-05 14:36:57 +01:00
Konstantin Haase
21af8176a1 listen for redirect events 2012-12-05 14:18:32 +01:00
Sven Fuchs
e62dc32d2a Merge branch 'master' of github.com:travis-ci/travis-web 2012-12-05 11:23:28 +01:00
Sven Fuchs
8f762636b7 Merge remote-tracking branch 'randym/i18n'
Conflicts:
	Gemfile.lock
2012-12-05 11:23:09 +01:00