Commit graph

7610 commits

Author SHA1 Message Date
Jordan
6467a1a40f Document the -s|--settings cli option in README 2012-02-21 15:36:05 -05:00
Peter 'Pita' Martischka
481489e6e5 Merge pull request #478 from jhollinger/settings_option
Allow settings filename to be passed as a cli option
2012-02-21 12:16:14 -08:00
Jordan
8bac77ff80 Allow settings filename to be passed as a cli option 2012-02-21 14:20:45 -05:00
Peter 'Pita' Martischka
10cbb485fb Merge pull request #473 from drdla/patch-1
Promote proper use of css specificity
2012-02-21 02:45:08 -08:00
drdla
ec2d415a92 Promote proper use of css specificity 2012-02-20 22:28:25 +01:00
Chad Weider
cfe095466f Add some comments. 2012-02-19 20:47:23 -08:00
Chad Weider
98f56b53b4 Use cache for minified assets. 2012-02-19 20:47:23 -08:00
Chad Weider
6a7a3ea3ab Provide a better last modified date for require-kernel. 2012-02-19 20:47:23 -08:00
Chad Weider
78691feec7 Drop all packaging logic from minify. 2012-02-19 20:47:23 -08:00
Chad Weider
3b2a3ad324 It is ok if the directory doesn't exist. 2012-02-19 20:47:23 -08:00
Chad Weider
e0930005c3 Minify serves all static assets. 2012-02-19 20:47:23 -08:00
Chad Weider
df9e29087f Only gzip text files.
It is not very productive to compress images so compress text only.
2012-02-19 20:47:17 -08:00
Chad Weider
aac849f6ea Do not allow relative paths. 2012-02-19 20:43:17 -08:00
Chad Weider
494ca0560b Only add date if date exists. 2012-02-19 20:43:17 -08:00
Chad Weider
ff264aa69a Combine existense and date checks. 2012-02-19 20:43:17 -08:00
Chad Weider
a5006255b7 Last modification is more specific (when possible). 2012-02-19 20:43:17 -08:00
Chad Weider
3da1464ae0 Minify serves the require kernel. 2012-02-19 20:43:17 -08:00
Chad Weider
e33c5a3aac Extract file existance check. 2012-02-19 20:43:17 -08:00
Chad Weider
dcc0740621 Use Yajsml to combine files.
Minify only constructs individual files and optionally compresses them with UglifyJS.
2012-02-19 20:43:17 -08:00
Chad Weider
b661ef5960 Inline response generation. 2012-02-19 20:43:17 -08:00
Chad Weider
bb10f026ca Create CachingMiddleware for zipping and caching. 2012-02-19 20:43:17 -08:00
Chad Weider
43f4184e8d Minify specifies maxAge. 2012-02-19 20:43:17 -08:00
Chad Weider
1fe9d2a21e Allow maxAge of server to be specified in a setting. 2012-02-19 20:43:17 -08:00
Chad Weider
a5365f2547 Support GET and HEAD. 2012-02-19 20:43:17 -08:00
Chad Weider
a09e208b0a Return 404's. 2012-02-19 20:43:17 -08:00
Chad Weider
c2669360d1 Catch 304's early. 2012-02-19 20:43:17 -08:00
Chad Weider
d6d4178dbc Extract lastmodified from handler. 2012-02-19 20:43:17 -08:00
Chad Weider
2797c2fc5b Use the correct expression. 2012-02-19 20:43:17 -08:00
John McLear
d479784559 Hotfix for issue #467 https://github.com/Pita/etherpad-lite/issues/467 -- probably wants a permafix 2012-02-20 01:11:34 +00:00
Matthias Bartelmeß
b9130134c6 remove javascript lexer styles 2012-02-19 21:59:31 +01:00
0ip
0261ab653e Update static/css/pad.css 2012-02-19 20:10:10 +01:00
0ip
fc0114fc2d added settings to mobile version 2012-02-19 17:51:10 +01:00
0ip
12298a926c move width-specific css to bottom + transfer js-css to a class [#chatbox:.stickyChat] 2012-02-19 17:16:05 +01:00
0ip
255cf8c5f0 qr codes now have equal margins 2012-02-19 17:04:36 +01:00
0ip
a540bff652 more robust index page + fix for iOS Safari rotation-bug 2012-02-19 17:00:43 +01:00
Matthias Bartelmeß
f9ad9bec92 clean up broadcast.js 2012-02-19 16:05:07 +01:00
Matthias Bartelmeß
465f6c2de7 use shared functions from Ace2Common 2012-02-19 15:47:20 +01:00
Matthias Bartelmeß
9ede14a546 drop embedding of JS/CSS files in ace.js. May result in a little performance drop but makes code much smaller 2012-02-19 15:02:54 +01:00
Matthias Bartelmeß
7e7646b517 make jshint a bit more happier 2012-02-19 14:52:24 +01:00
Matthias Bartelmeß
ce8d60e32c remamed to Ace2Inner() and made it more classlike 2012-02-19 14:30:57 +01:00
Matthias Bartelmeß
3c4b4af43d removed recolor module since it wasn't used 2012-02-19 14:30:08 +01:00
Matthias Bartelmeß
fb879576e1 replaced noop in skiplist with ace2common implementation 2012-02-19 14:28:51 +01:00
Matthias Bartelmeß
5d14fb372a Merge branch 'cleanup-ace-js' into cleanup-ace 2012-02-19 14:19:54 +01:00
Matthias Bartelmeß
5313053d2d even more compact code for exposed functions in ace2.js 2012-02-19 14:18:52 +01:00
Matthias Bartelmeß
a66e01a08f moving noop and identity helper functions to ace2_common 2012-02-19 14:11:32 +01:00
Matthias Bartelmeß
77dbe4646e binarySearch is never used 2012-02-19 12:40:13 +01:00
Matthias Bartelmeß
3cd7bd0dd1 Since ace2_inner.js is already scoped by require-kernel, function OUTER is pretty useless 2012-02-19 12:34:24 +01:00
Matthias Bartelmeß
99fb567a3d removed parenModule as it is entirely unused since getCharType() always returns an emtpy string 2012-02-19 12:15:42 +01:00
Matthias Bartelmeß
8031c31bc3 more compact code for exposed functions in ace2.js 2012-02-19 03:16:42 +01:00
John McLear
6ba865521a See 1caaff9308
https://github.com/Pita/etherpad-lite/pull/462
2012-02-18 17:51:39 +00:00