Commit graph

118 commits

Author SHA1 Message Date
Peter 'Pita' Martischka
611cfbd6fa Merge pull request #468 from cweider/minify-simplify
Minify Simplification
2012-02-27 10:00:18 -08:00
Peter 'Pita' Martischka
ed8aff22d4 restart abiword on crash and give the user feedback about bad import files 2012-02-27 00:22:53 +01:00
Peter 'Pita' Martischka
c3f728b2ed Revert "drop embedding of JS/CSS files in ace.js. May result in a little performance drop but makes code much smaller"
This reverts commit 9ede14a546.
2012-02-26 16:13:07 +01:00
Matthias Bartelmeß
0191c248b5 Merge commit '64f04670efd582230e693a1c6b3c91bc8df27299' into cleanup-ace-fix
Conflicts:
	static/js/ace2_inner.js
2012-02-24 20:22:32 +01:00
Jordan
8bac77ff80 Allow settings filename to be passed as a cli option 2012-02-21 14:20:45 -05:00
Chad Weider
cfe095466f Add some comments. 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
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
Chad Weider
1063a3d036 Account for more spaces and Windows paths. This fixes #456. 2012-02-16 14:19:16 -08: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
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
Chad Weider
4bf9b0c805 Always include the require kernel. 2012-02-05 16:59:40 -08:00
Chad Weider
348e7ef1d5 Define packaging for iframe JS in the same way as pad.js and timeslider.js. 2012-02-05 16:59:40 -08:00
Chad Weider
458b5a4f03 Combine tar and isolate, so that everything is done in one definition. 2012-02-05 16:59:40 -08:00
Chad Weider
ddc74cd0f1 Make the comment a part of the module. 2012-02-05 16:59:40 -08:00
Chad Weider
ebb5055ce8 Extract file retrieval. 2012-02-05 16:59:40 -08:00
Chad Weider
e68413d998 Extract Ace.js file generation. 2012-02-05 16:59:40 -08:00
Robin
7075ff6731 get rid of vendor prefixes 2012-02-04 18:08:04 +01:00
Robin
bb808d11ac remove jquery ui 2012-02-03 21:20:02 +01:00
booo
3f3bb95073 Revert "Optimize javascript minification, slight increase of file size, but massive performance improvement"
This reverts commit b32f883a9d.
2012-02-02 11:26:36 +01:00
Peter 'Pita' Martischka
b32f883a9d Optimize javascript minification, slight increase of file size, but massive performance improvement 2012-01-31 13:27:46 +01:00
Peter 'Pita' Martischka
aeea061f69 Merge pull request #366 from booo/master
move randomString function into a module
2012-01-30 01:58:28 -08:00
Chad Weider
a408557a0e Make implicit loading of modules unnecessary.
This is one step on the way to simplifying `Minify` and allowing all of the modules within pad.js to be loaded independently in development mode (which is useful for debugging).
2012-01-28 23:11:54 -08:00
Chad Weider
67e6f9fa5a Move timeslider code into JS. 2012-01-28 18:42:49 -08:00