Commit graph

981 commits

Author SHA1 Message Date
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
John McLear
6ba865521a See 1caaff9308
https://github.com/Pita/etherpad-lite/pull/462
2012-02-18 17:51:39 +00:00
Peter 'Pita' Martischka
0d9754760d Merge pull request #458 from fourplusone/master
Should fix #417 and #360
2012-02-17 03:21:26 -08:00
Matthias Bartelmeß
fe6c5e1cfe restructured and commented fixes #417 and #360 in order to make code more intuitive 2012-02-17 11:41:41 +01:00
Matthias Bartelmeß
97b7f0707f Add further checks to make sure sessioninfos[sessionID] is !== undefined 2012-02-16 23:35:00 +01:00
Chad Weider
2bc07204f8 Merge pull request #459 from cweider/fix-common-code
Account for more spaces and Windows paths. This fixes #456.
2012-02-16 14:21:51 -08:00
Chad Weider
1063a3d036 Account for more spaces and Windows paths. This fixes #456. 2012-02-16 14:19:16 -08:00
Matthias Bartelmeß
bad920e28d fixes #417 and #360 2012-02-16 23:11:52 +01:00
Chad Weider
9ca914f8cd Merge pull request #454 from cweider/fix-common-code
Fix CommonCode (#451)
2012-02-15 13:40:21 -08:00
Chad Weider
2931382a10 Update require-kernel, which fixes #451. 2012-02-15 13:35:16 -08:00
Peter 'Pita' Martischka
a8469dcdaa Merge pull request #450 from drdla/master
Improved structure and legibility of file; reduced redundancies
2012-02-15 05:42:36 -08:00
drdla
f93fba2511 Improved file structure and CSS coding style; also ran CSSLint on it;
To be done: sprite and compress images
2012-02-14 23:49:43 +01:00
Chad Weider
546aaae379 Merge branch 'modulize-share' 2012-02-14 12:10:41 -08:00
Chad Weider
9837cda257 Correct typo in 363e168561. 2012-02-14 12:09:47 -08:00
Peter 'Pita' Martischka
ebeb2da275 Merge pull request #422 from jhollinger/fix_listPads
HTTP API listPads should return an array
2012-02-14 09:22:18 -08:00
Peter 'Pita' Martischka
5751a8e434 Merge pull request #352 from cweider/modulize-share
Module Sharing
2012-02-14 09:21:45 -08:00
Peter 'Pita' Martischka
da1fbaad9a Merge pull request #434 from jhollinger/unknown_message
Unknown message
2012-02-14 09:21:20 -08:00
Jordan
da23a62c49 Remove an unused collab client message 2012-02-13 22:59:12 -05:00
Jordan
0d3188365a Bugfix to noColors view option 2012-02-13 22:59:12 -05:00
Chad Weider
e0d23e3c5d Create and use the Security module.
Use it to replace code on the client and server side.
2012-02-10 14:52:35 -08:00
Chad Weider
363e168561 Share randomString method.
This simply shares a common implementation and makes no judgements on the validity of its use. The string created is not a secure random number, so some uses of it may not be applicable.
2012-02-10 14:52:34 -08:00
Chad Weider
34edba3adf Share createCookie and readCookie methods. 2012-02-10 14:52:34 -08:00
Chad Weider
7038f9a61d Drop the cssmanager_client module. 2012-02-10 14:52:34 -08:00
Chad Weider
f6ac0b1926 Drop the linestylefilter_client module. 2012-02-10 14:52:34 -08:00
Chad Weider
3581a45491 Drop the domline_client module. 2012-02-10 14:52:34 -08:00
Chad Weider
4098cbe03b Drop the easysync* modules. 2012-02-10 14:52:34 -08:00
Chad Weider
f8f80968ca Share the AttributePoolFactory, Changeset, and contentcollector modules. 2012-02-10 14:52:34 -08:00
Chad Weider
3dabe81989 Create a module to proxy client-side modules. 2012-02-10 14:52:34 -08:00
Peter 'Pita' Martischka
8e6b451459 Merge pull request #424 from booo/master
update clean-css version
2012-02-07 08:02:39 -08:00
booo
edfdb775fe package.json: upgrade clean-css package 2012-02-07 16:59:19 +01:00
Jordan
5fde0b548c HTTP API listPads should return an array 2012-02-06 21:10:37 -05:00