Ticket #801 - better editor's textarea without interfering with gallery sidebar
[redakcja.git] / redakcja / settings / compress.py
1 # CSS and JS files to compress
2 COMPRESS_CSS = {
3     'detail': {
4          'source_filenames': (
5             'css/master.css',
6             'css/toolbar.css',
7             'css/gallery.css',
8             'css/history.css',
9             'css/summary.css',
10             'css/html.css',
11             'css/jquery.autocomplete.css',
12             'css/dialogs.css',
13         ),
14         'output_filename': 'compressed/detail_styles_?.css',
15     },
16     'listing': {
17         'source_filenames': (
18             'css/filelist.css',
19         ),
20         'output_filename': 'compressed/listing_styles_?.css',
21      }
22 }
23
24 COMPRESS_JS = {
25     # everything except codemirror
26     'detail': {
27         'source_filenames': (
28                 # libraries
29                 'js/lib/jquery-1.4.2.min.js',
30                 'js/lib/jquery/jquery.autocomplete.js',
31                 'js/lib/jquery/jquery.blockui.js',
32                 'js/lib/jquery/jquery.elastic.js',
33                 'js/button_scripts.js',
34                 'js/slugify.js',
35
36                 # wiki scripts
37                 'js/wiki/wikiapi.js',
38                 'js/wiki/xslt.js',
39
40                 # base UI
41                 'js/wiki/base.js',
42                 'js/wiki/toolbar.js',
43
44                 # dialogs
45                 'js/wiki/dialog_save.js',
46                 'js/wiki/dialog_addtag.js',
47
48                 # views
49                 'js/wiki/view_history.js',
50                 'js/wiki/view_summary.js',
51                 'js/wiki/view_editor_source.js',
52                 'js/wiki/view_editor_wysiwyg.js',
53                 'js/wiki/view_gallery.js',
54                 'js/wiki/view_search.js',
55                 'js/wiki/view_column_diff.js',
56         ),
57         'output_filename': 'compressed/detail_scripts_?.js',
58      },
59     'listing': {
60         'source_filenames': (
61                 'js/lib/jquery-1.4.2.min.js',
62                 'js/slugify.js',
63         ),
64         'output_filename': 'compressed/listing_scripts_?.js',
65      }
66 }
67
68 COMPRESS = True
69 COMPRESS_CSS_FILTERS = None
70 COMPRESS_JS_FILTERS = None
71 COMPRESS_AUTO = True
72 COMPRESS_VERSION = True
73 COMPRESS_VERSIONING = 'compress.versioning.hash.MD5Versioning'