Commit Graph

52 Commits

Author SHA1 Message Date
Konstantin Haase
6f8a5860af remove printf debugging 2012-12-06 17:13:08 +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
4a443aee41 allow setting the storage 2012-12-05 14:36:57 +01:00
Piotr Sarnacki
973bd38f66 Use Rack::Request#user_agent 2012-11-13 02:32:00 +01:00
Piotr Sarnacki
7ad4ed1109 Redirect to old version of travis for mobile clients
We're planning support for a new mobile client, but for the time being
we will just redirect to the old app.
2012-11-12 19:37:57 +01:00
Piotr Sarnacki
de38b3d297 Redirect /:owner/:name/builds.json to a proper api endpoint 2012-11-10 15:47:33 +01:00
Konstantin Haase
7d055f085b explicitely redirect cc.xml 2012-11-08 13:33:41 +01:00
Konstantin Haase
f8ab48178e also redirect "Accept: */*" to the api 2012-11-08 13:26:59 +01:00
Konstantin Haase
0ac265a4a7 allow setting token manually 2012-10-24 19:36:17 +02:00
Piotr Sarnacki
ce307264c4 Use ENV.FORCE_JQUERY when building for production 2012-10-23 03:47:12 +02:00
Konstantin Haase
01b5a118d0 spec and fix app 2012-10-22 21:23:34 +02:00
Konstantin Haase
d6986a7806 allow only GET and HEAD request 2012-10-22 21:22:47 +02:00
Konstantin Haase
4cd506ea59 redirect potential API calls to API, fixes #32 2012-10-22 21:21:19 +02:00
Piotr Sarnacki
718b3ad88f Fix spec.html serving 2012-10-19 01:52:48 +02:00
Sven Fuchs
52bdbf5468 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
	script/server
2012-10-18 03:55:17 +02:00
Sven Fuchs
90fb2c3b78 add broadcasts 2012-10-18 03:53:19 +02:00
Konstantin Haase
d4404b201c switch to puma, make app reload in development mode 2012-10-17 16:19:42 +02:00
Konstantin Haase
5c8035b7a8 add back rack-cache 2012-10-16 19:15:16 +02:00
Konstantin Haase
651dbd366d add back guard for @svenfuchs 2012-10-16 19:06:08 +02:00
Konstantin Haase
1f9e19ac0e send empty Vary header 2012-10-16 18:54:32 +02:00
Konstantin Haase
4fd46ad944 header must be fixnum 2012-10-16 18:49:57 +02:00
Konstantin Haase
ab866b4fe2 no longer run api 2012-10-16 18:42:37 +02:00
Piotr Sarnacki
4153c990be Fix specs 2012-10-15 23:20:33 +02:00
Piotr Sarnacki
9976b47c93 WIP 2012-10-15 19:35:10 +02:00
Sven Fuchs
b2d0acbcf7 rename handlebars helper to travis_handlebars 2012-10-13 01:51:08 +02:00
Sven Fuchs
d2cbde2cfa use the rake-pipeline project directly. cuts asset build time by 50% 2012-10-12 02:41:15 +02:00
Sven Fuchs
ba685b1593 set cache headers, can't get rack/cache to behave though 2012-10-11 20:05:33 +02:00
Sven Fuchs
86ab67feb2 try using rack cache for in memory caching 2012-10-11 18:46:33 +02:00
Sven Fuchs
b35763baa3 using the production pusher key with RUN_API causes tons of 404 errors 2012-10-11 17:23:32 +02:00
Sven Fuchs
ecdf0b9c3a fix negation 2012-10-10 20:43:53 +02:00
Sven Fuchs
24d98eb66a ok, it's DEFAULT_ENDPOINT 2012-10-10 14:16:47 +02:00
Sven Fuchs
3052db733b parse pusher key into the index.html like the api endpoint 2012-10-10 13:21:52 +02:00
Piotr Sarnacki
b6169e095e Do not send Last-Modified for index.html
Since index.html does not change it will always be set on last
modification date, we could send it if it was based also on
public/version file.
2012-10-09 13:59:24 +02:00
Sven Fuchs
f8aa108c46 fix asset dirs constant 2012-10-08 13:41:35 +02:00
Sven Fuchs
41ab0c4cb0 set content on user permissions array proxy 2012-10-08 13:38:13 +02:00
Sven Fuchs
02a1f166d5 change tools button to have a menu, add requeue menu item, make status image stuff a popup 2012-10-07 16:59:01 +02:00
Sven Fuchs
c6223341f4 rework the asset pipeline to use environments 2012-10-06 15:28:11 +02:00
Sven Fuchs
b34e35fbb8 improvements to the asset pipeline thanks to @twinturbo 2012-10-05 21:58:20 +02:00
Sven Fuchs
152dde6e05 make things even more generic 2012-10-03 19:29:44 +02:00
Sven Fuchs
5166e65e84 make filters pluggable 2012-10-03 17:20:36 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00
Sven Fuchs
9440ccaf7d make assetfile reusable 2012-10-03 16:34:21 +02:00
Sven Fuchs
4402a36c2e generate a real version hash 2012-10-01 13:11:26 +02:00
Sven Fuchs
de6f5026ff doh. add missing files 2012-10-01 12:43:25 +02:00
Sven Fuchs
419ace7c51 rework asset compilation 2012-10-01 12:36:06 +02:00
Sven Fuchs
cdd6f0047a change SCRIPT_NAME when changing PATH_INFO, add X-CASCADE header 2012-09-30 18:35:44 +02:00
Sven Fuchs
73fe04185d split up config.ru 2012-09-30 17:30:57 +02:00
Sven Fuchs
0ee887c792 add a guardfile for running specs 2012-07-05 00:47:05 +02:00
Sven Fuchs
23d74a53a7 try using minispade 2012-06-22 12:14:00 +02:00