Commit Graph

136 Commits

Author SHA1 Message Date
Sven Fuchs
1909c50647 bundle update 2014-10-13 15:08:15 +02:00
Sven Fuchs
0d062be3a0 travis-web does not use travis-core 2014-10-13 14:47:32 +02:00
John Faucett
ef2f6a695b [fixes #291] User menu cutoff with short usernames
Add vim relic file gitignore entry for .sw[op] files
Upgrade return due to an uninitialized constant Listen uninitialized constant
Listen::MultiListener exception (see:
https://github.com/rails/spring/issues/145)
2014-08-14 23:42:37 +02:00
Martin Charles
fb8655769e Fixed Caching and Cleaned up Old Caching
Caching was broken for many reasons:
* Puma calls `Travis::Web::App.initilize` multiple times. This caused
the server start time to be incorrect, breaking caching.
* The `Date` HTTP header was missing. This caused some browsers to fail to cache
assets.
* The `ETag` was incorrectly formatted.

Some other things which were changed:
* Removed `Rack::Cache`
2014-05-21 11:50:09 -04:00
Justine Arreche
f26fbf197a updated Gemfile 2014-01-16 15:00:43 -05:00
Piotr Sarnacki
896c79dd16 Remove the rest of the locales related stuff 2014-01-15 14:40:56 +01:00
Justine Arreche
d324319a96 changes made to profile page including increased type size for readability, color styling and gravatar border radius increase 2014-01-03 19:10:58 -05:00
Piotr Sarnacki
aa75bcb6b0 Update puma 2013-09-24 11:07:06 +02:00
Piotr Sarnacki
294f1a4c57 Add changes on Gemfile.lock 2013-05-21 15:00:18 +02:00
Piotr Sarnacki
4ab00be4ec Use rubygems via https 2013-03-04 03:46:03 +01:00
Sven Fuchs
3ed706e24e try updating deps, deployment currently fails with an error in execjs 2013-02-27 22:44:07 +01:00
Piotr Sarnacki
e8ce5020a4 Compress css in production mode 2013-01-18 01:22:40 +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
Konstantin Haase
726190634b add protection 2012-12-12 23:33:43 +01:00
Sven Fuchs
8f762636b7 Merge remote-tracking branch 'randym/i18n'
Conflicts:
	Gemfile.lock
2012-12-05 11:23:09 +01:00
Randy Morgan
4954564dde Updated Gemfile to use localeapp-handlebard_i18n and get the latest translations 2012-12-04 00:34:34 +09:00
Randy Morgan
5b0fd89a1f Extracted localeapp-handlebars_i18n to gem 2012-12-04 00:17:58 +09:00
Randy Morgan
082fac9185 Added handlebars template scraping and localeapp reporting
Specified handlebars templates will be parsed for {{t some.key}}. Any
translations keys that are not found in the configured i18n YAML will
be reported to the configured localeapp backend via the localeapp api.
2012-12-02 16:50:52 +09:00
Sven Fuchs
b1bcbefa29 remove debugger for now (does not install on travis) 2012-11-23 11:08:32 +01:00
Randy Morgan
dc85f7bbc8 Updated gemfile to use published i18n-filters gem. 2012-11-23 14:37:56 +09:00
Randy Morgan
f176a2a77f Enabled i18n-js fallbacks 2012-11-23 13:53:07 +09:00
Randy Morgan
c4bfc7b1d7 Added i18n web filters and rake task for pulling the translations down from localeapp
You will need to set ENV['LOCALEAPP'] to the secret key to run the
update. Contact randym if you need it.
2012-11-22 20:47:38 +09:00
Piotr Sarnacki
adab32f90f Update rake-pipeline 2012-11-01 00:11:12 +01:00
Konstantin Haase
87e8f32637 Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	public/version
2012-10-22 21:25:22 +02:00
Konstantin Haase
4cd506ea59 redirect potential API calls to API, fixes #32 2012-10-22 21:21:19 +02:00
Konstantin Haase
d4404b201c switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
Sven Fuchs
03595db5fa re-add guard, rename "profile" menu item to "accounts" and add the github badge to the accounts sidebar 2012-10-17 03:21:28 +02:00
Konstantin Haase
5c8035b7a8 add back rack-cache 2012-10-16 19:15:16 +02:00
Konstantin Haase
2d12a1e6a2 remove rack-cache dependency 2012-10-16 18:57:58 +02:00
Konstantin Haase
ab866b4fe2 no longer run api 2012-10-16 18:42:37 +02:00
Piotr Sarnacki
c05ce673bf Load incomplete records when trying to get unknown attribute
In order to minimize ajax requests, I implemented isComplete property,
which can be used to check if record is fetched from the API or if it
was just partially loaded (for example by pusher event). This is nice in
terms of requests reduction, but caries risk of showing incomplete data.

This commit fixes this situation by saving which attributes were
provided on "incomplete" load and triggering refresh when any unknown
attribute is tried to be fetched.

The implementation is really simple and will probably need refactoring,
but I would like to test it in the wild before putting much more time
into it.
2012-10-16 03:05:38 +02:00
Sven Fuchs
393ef62eae Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
2012-10-16 02:05:17 +02:00
Sven Fuchs
f91622e7e8 add an events tab 2012-10-16 02:00:24 +02:00
Sven Fuchs
257a26d1d0 rebundle 2012-10-14 15:12:43 +02:00
Sven Fuchs
bee1a895ba css sync and hooks buttons 2012-10-14 15:07:30 +02:00
Sven Fuchs
e7a26524d4 move select() functionality to Travis.Model and reuse it for accounts 2012-10-13 21:20:11 +02:00
Sven Fuchs
dee3591147 some tweaks 2012-10-13 04:34:30 +02:00
Sven Fuchs
f16c83d10f somewhat more consistent naming 2012-10-12 02:34:54 +02:00
Sven Fuchs
86ab67feb2 try using rack cache for in memory caching 2012-10-11 18:46:33 +02:00
Sven Fuchs
551b976bbc re-enable auto-auth 2012-10-11 15:34:01 +02:00
Sven Fuchs
b28a5e0ed8 bump deps 2012-10-11 05:06:22 +02:00
Sven Fuchs
ecdf0b9c3a fix negation 2012-10-10 20:43:53 +02:00
Sven Fuchs
056f20ddfe check if we do have jobs before trying to iterate over them 2012-10-10 12:04:31 +02:00
Sven Fuchs
6e7382ed05 Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	Gemfile.lock
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
2012-10-09 15:25:27 +02:00
Sven Fuchs
847c120bd7 fuck yeah, flash messages 2012-10-09 15:16:54 +02:00
Piotr Sarnacki
64fc6ce717 Don't trigger state change on signin if already in authenticated state 2012-10-09 13:08:57 +02:00
Sven Fuchs
6cbe6f140e refactor ajax, get rid of the module 2012-10-09 12:31:15 +02:00
Sven Fuchs
93cd91f67c add rack-ssl 2012-10-08 13:59:51 +02:00