├── celeryweb ├── __init__.py ├── static │ ├── robots.txt │ ├── js │ │ ├── tiny_mce │ │ │ ├── plugins │ │ │ │ ├── safari │ │ │ │ │ ├── blank.htm │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── syntaxhl │ │ │ │ │ ├── langs │ │ │ │ │ │ ├── zh.js │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ ├── zh_dlg.js │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ ├── img │ │ │ │ │ │ └── highlight.gif │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ ├── js │ │ │ │ │ │ └── dialog.js │ │ │ │ │ └── README │ │ │ │ ├── example │ │ │ │ │ ├── langs │ │ │ │ │ │ ├── en.js │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ ├── img │ │ │ │ │ │ └── example.gif │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── js │ │ │ │ │ │ └── dialog.js │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── dialog.htm │ │ │ │ ├── advhr │ │ │ │ │ ├── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── advhr.css │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── js │ │ │ │ │ │ └── rule.js │ │ │ │ ├── spellchecker │ │ │ │ │ ├── css │ │ │ │ │ │ └── content.css │ │ │ │ │ ├── img │ │ │ │ │ │ └── wline.gif │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── media │ │ │ │ │ ├── img │ │ │ │ │ │ ├── flash.gif │ │ │ │ │ │ ├── trans.gif │ │ │ │ │ │ ├── quicktime.gif │ │ │ │ │ │ ├── realmedia.gif │ │ │ │ │ │ ├── shockwave.gif │ │ │ │ │ │ ├── flv_player.swf │ │ │ │ │ │ └── windowsmedia.gif │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ └── media.css │ │ │ │ │ └── js │ │ │ │ │ │ └── embed.js │ │ │ │ ├── xhtmlxtras │ │ │ │ │ ├── js │ │ │ │ │ │ ├── del.js │ │ │ │ │ │ ├── ins.js │ │ │ │ │ │ ├── abbr.js │ │ │ │ │ │ ├── cite.js │ │ │ │ │ │ ├── acronym.js │ │ │ │ │ │ ├── attributes.js │ │ │ │ │ │ └── element_common.js │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ ├── attributes.css │ │ │ │ │ │ └── popup.css │ │ │ │ │ └── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── advimage │ │ │ │ │ ├── img │ │ │ │ │ │ └── sample.gif │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── advimage.css │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── pagebreak │ │ │ │ │ ├── img │ │ │ │ │ │ ├── trans.gif │ │ │ │ │ │ └── pagebreak.gif │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── content.css │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── save │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── advlink │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── advlink.css │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── bbcode │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── emotions │ │ │ │ │ ├── img │ │ │ │ │ │ ├── smiley-cool.gif │ │ │ │ │ │ ├── smiley-cry.gif │ │ │ │ │ │ ├── smiley-kiss.gif │ │ │ │ │ │ ├── smiley-wink.gif │ │ │ │ │ │ ├── smiley-yell.gif │ │ │ │ │ │ ├── smiley-frown.gif │ │ │ │ │ │ ├── smiley-sealed.gif │ │ │ │ │ │ ├── smiley-smile.gif │ │ │ │ │ │ ├── smiley-innocent.gif │ │ │ │ │ │ ├── smiley-laughing.gif │ │ │ │ │ │ ├── smiley-surprised.gif │ │ │ │ │ │ ├── smiley-undecided.gif │ │ │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ │ │ └── smiley-foot-in-mouth.gif │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ ├── js │ │ │ │ │ │ └── emotions.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── iespell │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── layer │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── paste │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ ├── js │ │ │ │ │ │ ├── pastetext.js │ │ │ │ │ │ └── pasteword.js │ │ │ │ │ ├── pasteword.htm │ │ │ │ │ └── pastetext.htm │ │ │ │ ├── preview │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── preview.html │ │ │ │ │ ├── example.html │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── jscripts │ │ │ │ │ │ └── embed.js │ │ │ │ ├── print │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── style │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── props.css │ │ │ │ │ ├── editor_plugin.js │ │ │ │ │ └── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── table │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ ├── table.css │ │ │ │ │ │ ├── cell.css │ │ │ │ │ │ └── row.css │ │ │ │ │ ├── js │ │ │ │ │ │ └── merge_cells.js │ │ │ │ │ ├── merge_cells.htm │ │ │ │ │ └── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── autosave │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── compat2x │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── fullpage │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── tabfocus │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── template │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ │ └── template.css │ │ │ │ │ ├── blank.htm │ │ │ │ │ ├── langs │ │ │ │ │ │ └── en_dlg.js │ │ │ │ │ └── template.htm │ │ │ │ ├── contextmenu │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── fullscreen │ │ │ │ │ └── editor_plugin_src.js │ │ │ │ ├── inlinepopups │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── skins │ │ │ │ │ │ └── clearlooks2 │ │ │ │ │ │ └── img │ │ │ │ │ │ ├── alert.gif │ │ │ │ │ │ ├── button.gif │ │ │ │ │ │ ├── buttons.gif │ │ │ │ │ │ ├── confirm.gif │ │ │ │ │ │ ├── corners.gif │ │ │ │ │ │ ├── vertical.gif │ │ │ │ │ │ └── horizontal.gif │ │ │ │ ├── nonbreaking │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── noneditable │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── visualchars │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── directionality │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ ├── insertdatetime │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ └── editor_plugin.js │ │ │ │ └── searchreplace │ │ │ │ │ ├── editor_plugin_src.js │ │ │ │ │ ├── css │ │ │ │ │ └── searchreplace.css │ │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ │ └── editor_plugin.js │ │ │ ├── utils │ │ │ │ ├── mctabs.js │ │ │ │ ├── validate.js │ │ │ │ ├── form_utils.js │ │ │ │ └── editable_selects.js │ │ │ ├── themes │ │ │ │ ├── simple │ │ │ │ │ ├── img │ │ │ │ │ │ └── icons.gif │ │ │ │ │ ├── editor_template_src.js │ │ │ │ │ ├── skins │ │ │ │ │ │ ├── o2k7 │ │ │ │ │ │ │ ├── img │ │ │ │ │ │ │ │ └── button_bg.png │ │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ │ └── ui.css │ │ │ │ │ │ └── default │ │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ │ └── ui.css │ │ │ │ │ ├── langs │ │ │ │ │ │ └── en.js │ │ │ │ │ └── editor_template.js │ │ │ │ └── advanced │ │ │ │ │ ├── img │ │ │ │ │ ├── icons.gif │ │ │ │ │ └── colorpicker.jpg │ │ │ │ │ ├── editor_template_src.js │ │ │ │ │ ├── skins │ │ │ │ │ ├── default │ │ │ │ │ │ ├── img │ │ │ │ │ │ │ ├── items.gif │ │ │ │ │ │ │ ├── tabs.gif │ │ │ │ │ │ │ ├── buttons.png │ │ │ │ │ │ │ ├── progress.gif │ │ │ │ │ │ │ ├── menu_arrow.gif │ │ │ │ │ │ │ └── menu_check.gif │ │ │ │ │ │ └── content.css │ │ │ │ │ └── o2k7 │ │ │ │ │ │ ├── img │ │ │ │ │ │ ├── button_bg.png │ │ │ │ │ │ ├── button_bg_black.png │ │ │ │ │ │ └── button_bg_silver.png │ │ │ │ │ │ ├── ui_silver.css │ │ │ │ │ │ ├── content.css │ │ │ │ │ │ └── ui_black.css │ │ │ │ │ ├── js │ │ │ │ │ ├── anchor.js │ │ │ │ │ ├── source_editor.js │ │ │ │ │ └── about.js │ │ │ │ │ ├── anchor.htm │ │ │ │ │ ├── source_editor.htm │ │ │ │ │ └── langs │ │ │ │ │ ├── en_dlg.js │ │ │ │ │ └── en.js │ │ │ └── textarea.js │ │ ├── syntaxhighlighter │ │ │ ├── tests │ │ │ │ ├── .rvmrc │ │ │ │ ├── webrick.sh │ │ │ │ ├── webrick.rb │ │ │ │ ├── cases │ │ │ │ │ ├── 008_first_line.html │ │ │ │ │ ├── 012_server_side.html │ │ │ │ │ ├── 009_class_name.html │ │ │ │ │ ├── 013_html_script.html │ │ │ │ │ ├── 005_no_gutter.html │ │ │ │ │ ├── 003_script_tag.html │ │ │ │ │ ├── 001_basic.html │ │ │ │ │ ├── 007_collapse_interaction.html │ │ │ │ │ ├── 006_pad_line_numbers.html │ │ │ │ │ ├── 004_url_parsing.html │ │ │ │ │ ├── 002_brushes.html │ │ │ │ │ ├── 014_legacy.html │ │ │ │ │ ├── 007_collapse.html │ │ │ │ │ ├── 010_highlight.html │ │ │ │ │ └── 011_smart_tabs.html │ │ │ │ └── commonjs_tests.js │ │ │ ├── compass │ │ │ │ ├── shCoreEmacs.scss │ │ │ │ ├── shCoreRDark.scss │ │ │ │ ├── shCoreDefault.scss │ │ │ │ ├── shCoreDjango.scss │ │ │ │ ├── shCoreEclipse.scss │ │ │ │ ├── shCoreMDUltra.scss │ │ │ │ ├── shCoreMidnight.scss │ │ │ │ ├── shCoreFadeToGrey.scss │ │ │ │ ├── shThemeDefault.scss │ │ │ │ ├── config.rb │ │ │ │ ├── shThemeMDUltra.scss │ │ │ │ ├── shThemeEmacs.scss │ │ │ │ ├── shThemeMidnight.scss │ │ │ │ ├── shThemeRDark.scss │ │ │ │ ├── shThemeDjango.scss │ │ │ │ ├── shThemeFadeToGrey.scss │ │ │ │ └── shThemeEclipse.scss │ │ │ ├── index.html │ │ │ ├── scripts │ │ │ │ ├── shBrushPlain.js │ │ │ │ ├── shBrushDiff.js │ │ │ │ ├── shAutoloader.js │ │ │ │ ├── shBrushJScript.js │ │ │ │ ├── shLegacy.js │ │ │ │ ├── shBrushErlang.js │ │ │ │ ├── shBrushScala.js │ │ │ │ ├── shBrushXml.js │ │ │ │ ├── shBrushJava.js │ │ │ │ ├── shBrushRuby.js │ │ │ │ ├── shBrushJavaFX.js │ │ │ │ └── shBrushVb.js │ │ │ └── MIT-LICENSE │ │ └── core.js │ └── img │ │ ├── icon.png │ │ ├── logo.png │ │ ├── splash.jpg │ │ ├── favicon0.png │ │ ├── icon-amex.png │ │ ├── icon-visa.png │ │ ├── rackspace.png │ │ ├── adroll_logo.png │ │ ├── ajax-loader.gif │ │ ├── icon-paypal.png │ │ ├── mozilla_logo.png │ │ ├── icon-mastercard.png │ │ └── instagram_logo.png ├── locale │ └── en_GB │ │ └── LC_MESSAGES │ │ └── django.mo └── custom_context_processors.py ├── celeryproject ├── __init__.py ├── settings │ ├── __init__.py │ └── dev.py.sample ├── wsgi.py └── urls.py ├── requirements.txt ├── .gitignore ├── templates ├── 404.html ├── 500.html ├── flatpages │ ├── default.html │ └── syntax_highlight.html ├── admin │ └── base_site.html ├── common │ ├── share.html │ └── paginator.html ├── ajax │ ├── stackoverflow_questions.html │ └── celery_package_info.html ├── news_detail.html ├── news.html ├── tutorials.html ├── user_profile.html ├── external_resources.html └── tutorial_detail.html ├── manage.py ├── CONTRIBUTORS.txt ├── README.md └── LICENSE.txt /celeryweb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celeryproject/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celeryweb/static/robots.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celeryproject/settings/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/safari/blank.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/tests/.rvmrc: -------------------------------------------------------------------------------- 1 | rvm 1.8.7-p249@copydeca -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/tests/webrick.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | ruby webrick.rb 3 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django>=2.2.0, <3.0 2 | sorl-thumbnail>=12.5.0 3 | Pillow>=5.4.1 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | *.pot 3 | *.pyc 4 | *.sqlite 5 | .idea 6 | dev.py 7 | production.py 8 | media 9 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreEmacs.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeEmacs"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreRDark.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeRDark"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/img/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/celery/celeryproject/master/celeryweb/static/img/icon.png -------------------------------------------------------------------------------- /celeryweb/static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/celery/celeryproject/master/celeryweb/static/img/logo.png -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreDefault.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeDefault"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreDjango.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeDjango"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreEclipse.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeEclipse"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreMDUltra.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeMDUltra"; 3 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/compass/shCoreMidnight.scss: -------------------------------------------------------------------------------- 1 | @import "shCore"; 2 | @import "shThemeMidnight"; 3 | -------------------------------------------------------------------------------- /templates/404.html: -------------------------------------------------------------------------------- 1 | {%extends "base.html" %} 2 | {% block content %} 3 |
'+
6 | '
2 | partial class Foo
3 | {
4 | function test()
5 | {
6 | yield return;
7 | }
8 | }
9 |
10 |
11 |
30 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/themes/simple/skins/default/content.css:
--------------------------------------------------------------------------------
1 | body, td, pre {
2 | font-family: Verdana, Arial, Helvetica, sans-serif;
3 | font-size: 10px;
4 | }
5 |
6 | body {
7 | background-color: #FFFFFF;
8 | }
9 |
10 | .mceVisualAid {
11 | border: 1px dashed #BBBBBB;
12 | }
13 |
14 | /* MSIE specific */
15 |
16 | * html body {
17 | scrollbar-3dlight-color: #F0F0EE;
18 | scrollbar-arrow-color: #676662;
19 | scrollbar-base-color: #F0F0EE;
20 | scrollbar-darkshadow-color: #DDDDDD;
21 | scrollbar-face-color: #E0E0DD;
22 | scrollbar-highlight-color: #F0F0EE;
23 | scrollbar-shadow-color: #F0F0EE;
24 | scrollbar-track-color: #F5F5F5;
25 | }
26 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/emotions/js/emotions.js:
--------------------------------------------------------------------------------
1 | tinyMCEPopup.requireLangPack();
2 |
3 | var EmotionsDialog = {
4 | init : function(ed) {
5 | tinyMCEPopup.resizeToInnerSize();
6 | },
7 |
8 | insert : function(file, title) {
9 | var ed = tinyMCEPopup.editor, dom = ed.dom;
10 |
11 | tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
12 | src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file,
13 | alt : ed.getLang(title),
14 | title : ed.getLang(title),
15 | border : 0
16 | }));
17 |
18 | tinyMCEPopup.close();
19 | }
20 | };
21 |
22 | tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);
23 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/example/js/dialog.js:
--------------------------------------------------------------------------------
1 | tinyMCEPopup.requireLangPack();
2 |
3 | var ExampleDialog = {
4 | init : function() {
5 | var f = document.forms[0];
6 |
7 | // Get the selected contents as text and place it in the input
8 | f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
9 | f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
10 | },
11 |
12 | insert : function() {
13 | // Insert the contents from the input into the document
14 | tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
15 | tinyMCEPopup.close();
16 | }
17 | };
18 |
19 | tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
20 |
--------------------------------------------------------------------------------
/celeryproject/settings/dev.py.sample:
--------------------------------------------------------------------------------
1 | from base import *
2 |
3 | DATABASES = {
4 | 'default': {
5 | 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
6 | 'NAME': 'celeryproject.sqlite', # Or path to database file if using sqlite3.
7 | 'USER': '', # Not used with sqlite3.
8 | 'PASSWORD': '', # Not used with sqlite3.
9 | 'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
10 | 'PORT': '', # Set to empty string for default. Not used with sqlite3.
11 | }
12 | }
13 |
14 | DEBUG = True
15 | TEMPLATE_DEBUG = DEBUG
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/preview/preview.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
10 |
8 | {{ package_info.info.version }}
9 | Open changelog
10 |
15 | Last month: {{ package_info.info.downloads.last_month|intcomma }}
16 | Last week: {{ package_info.info.downloads.last_week|intcomma }}
17 | Last day: {{ package_info.info.downloads.last_day|intcomma }}
18 |
2 | public Image getImage(URL url, String name) {
3 | try {
4 | /*
5 | Regular multiline comment.
6 | */
7 | return getImage(new URL(url, name));
8 | } catch (MalformedURLException e) {
9 | return null;
10 | }
11 | }
12 |
13 |
14 |
33 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/preview/example.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
18 | 2 | <hello> 3 | <% 4 | package free.cafekiwi.gotapi; 5 | %> 6 | </hello> 7 | 8 | 11 | <%= print(); %> 12 |13 | 14 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/example/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.PluginManager.requireLangPack("example");tinymce.create("tinymce.plugins.ExamplePlugin",{init:function(a,b){a.addCommand("mceExample",function(){a.windowManager.open({file:b+"/dialog.htm",width:320+parseInt(a.getLang("example.delta_width",0)),height:120+parseInt(a.getLang("example.delta_height",0)),inline:1},{plugin_url:b,some_custom_arg:"custom arg"})});a.addButton("example",{title:"example.desc",cmd:"mceExample",image:b+"/img/example.gif"});a.onNodeChange.add(function(d,c,e){c.setActive("example",e.nodeName=="IMG")})},createControl:function(b,a){return null},getInfo:function(){return{longname:"Example plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example",version:"1.0"}}});tinymce.PluginManager.add("example",tinymce.plugins.ExamplePlugin)})(); -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
16 | function helloSyntaxHighlighter()
17 | {
18 | return "hi!";
19 | }
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/style/css/props.css:
--------------------------------------------------------------------------------
1 | #text_font {width:250px;}
2 | #text_size {width:70px;}
3 | .mceAddSelectValue {background:#DDD;}
4 | select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;}
5 | #box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;}
6 | #positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;}
7 | #positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;}
8 | .panel_wrapper div.current {padding-top:10px;height:230px;}
9 | .delim {border-left:1px solid gray;}
10 | .tdelim {border-bottom:1px solid gray;}
11 | #block_display {width:145px;}
12 | #list_type {width:115px;}
13 | .disabled {background:#EEE;}
14 |
--------------------------------------------------------------------------------
/celeryweb/static/js/syntaxhighlighter/tests/cases/005_no_gutter.html:
--------------------------------------------------------------------------------
1 |
2 | public Image getImage(URL url, String name) {
3 | try {
4 | /*
5 | Regular multiline comment.
6 | */
7 | return getImage(new URL(url, name));
8 | } catch (MalformedURLException e) {
9 | return null;
10 | }
11 | }
12 |
13 |
14 |
34 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/iespell/editor_plugin.js:
--------------------------------------------------------------------------------
1 | (function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})();
--------------------------------------------------------------------------------
/templates/news.html:
--------------------------------------------------------------------------------
1 | {%extends "base.html" %}
2 | {% load url from future %}
3 | {%block title%}News{%endblock%}
4 | {%block content%}
5 |
2 | /**
3 | * multiline comment
4 | */
5 |
6 | text
7 |
8 | // single line comment
9 |
10 | text
11 |
12 | "string" text 'string' text "string"
13 | "string with \" escape" text 'string with \' escape' text "string with \" escape"
14 |
15 | var code = '\
16 | function helloWorld()\
17 | {\
18 | // this is great!\
19 | for(var i = 0; i <= 1; i++)\
20 | alert("yay");\
21 | }\
22 | ';
23 |
24 |
25 |
43 |
--------------------------------------------------------------------------------
/templates/flatpages/syntax_highlight.html:
--------------------------------------------------------------------------------
1 | {%extends "base.html" %}
2 | {%block title%}{{ flatpage.title }}{%endblock%}
3 | {%block extrastyles%}
4 |
5 |
6 | {%endblock%}
7 | {%block extrascripts%}
8 |
9 |
10 |
11 | {%endblock%}
12 | {% block content %}
13 | ' + row + '
'; 18 | }); 19 | } 20 | } 21 | 22 | tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, h); 23 | tinyMCEPopup.close(); 24 | }, 25 | 26 | resize : function() { 27 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 28 | 29 | el = document.getElementById('content'); 30 | 31 | el.style.width = (vp.w - 20) + 'px'; 32 | el.style.height = (vp.h - 90) + 'px'; 33 | } 34 | }; 35 | 36 | tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); 37 | -------------------------------------------------------------------------------- /templates/tutorials.html: -------------------------------------------------------------------------------- 1 | {%extends "base.html" %} 2 | {% load url from future %} 3 | {%block title%}Tutorials{%endblock%} 4 | {%block content%} 5 |
2 | /**
3 | * Returns an Image object that can then be painted on the screen.
4 | * The url argument must specify an absolute {@link URL}. The name
5 | * argument is a specifier that is relative to the url argument.
6 | *
7 | * @param url an absolute URL giving the base location of the image
8 | * @param name the location of the image, relative to the url argument
9 | * @return the image at the specified URL
10 | * @see Image
11 | */
12 |
13 |
14 |
40 |
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js:
--------------------------------------------------------------------------------
1 | tinyMCE.addI18n('en.xhtmlxtras_dlg',{
2 | attribute_label_title:"Title",
3 | attribute_label_id:"ID",
4 | attribute_label_class:"Class",
5 | attribute_label_style:"Style",
6 | attribute_label_cite:"Cite",
7 | attribute_label_datetime:"Date/Time",
8 | attribute_label_langdir:"Text Direction",
9 | attribute_option_ltr:"Left to right",
10 | attribute_option_rtl:"Right to left",
11 | attribute_label_langcode:"Language",
12 | attribute_label_tabindex:"TabIndex",
13 | attribute_label_accesskey:"AccessKey",
14 | attribute_events_tab:"Events",
15 | attribute_attrib_tab:"Attributes",
16 | general_tab:"General",
17 | attrib_tab:"Attributes",
18 | events_tab:"Events",
19 | fieldset_general_tab:"General Settings",
20 | fieldset_attrib_tab:"Element Attributes",
21 | fieldset_events_tab:"Element Events",
22 | title_ins_element:"Insertion Element",
23 | title_del_element:"Deletion Element",
24 | title_acronym_element:"Acronym Element",
25 | title_abbr_element:"Abbreviation Element",
26 | title_cite_element:"Citation Element",
27 | remove:"Remove",
28 | insert_date:"Insert current date/time",
29 | option_ltr:"Left to right",
30 | option_rtl:"Right to left",
31 | attribs_title:"Insert/Edit Attributes"
32 | });
--------------------------------------------------------------------------------
/celeryweb/static/js/tiny_mce/themes/advanced/anchor.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 27 | 28 | - Celery-users Google Group 29 | 30 |
31 |
',a="mcePageBreak",c=b.getParam("pagebreak_separator",""),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.settings.content_css!==false){b.dom.loadCSS(d+"/css/content.css")}if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/test3 |
test4 |
test5 |
test6 |
test7 |
test8 |
test9 |
test10 |
test11 |
test12 |
test13 |
test14 |
test15 |
test16 |
test17 |
test18 |
test19 |
test20 |
test21 |
test22 |
test23 |
test24 |
test25 |
test26 |
test27 |
'; 40 | textarea_output += tinyMCEPopup.editor.dom.encode(f.syntaxhl_code.value); 41 | textarea_output += ''; /* note space at the end, had a bug it was inserting twice? */ 42 | tinyMCEPopup.editor.execCommand('mceInsertContent', false, textarea_output); 43 | tinyMCEPopup.close(); 44 | } 45 | }; 46 | 47 | tinyMCEPopup.onInit.add(SyntaxHLDialog.init, SyntaxHLDialog); -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/template/template.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 |
\\\\w+)\\\\]$","U"),i=1,p=0;pbasic check 2 | no toolbar3 |no gutter4 |collapsed5 |first line6 | 7 | 71 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/themes/advanced/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advanced',{ 2 | style_select:"Styles", 3 | font_size:"Font size", 4 | fontdefault:"Font family", 5 | block:"Format", 6 | paragraph:"Paragraph", 7 | div:"Div", 8 | address:"Address", 9 | pre:"Preformatted", 10 | h1:"Heading 1", 11 | h2:"Heading 2", 12 | h3:"Heading 3", 13 | h4:"Heading 4", 14 | h5:"Heading 5", 15 | h6:"Heading 6", 16 | blockquote:"Blockquote", 17 | code:"Code", 18 | samp:"Code sample", 19 | dt:"Definition term ", 20 | dd:"Definition description", 21 | bold_desc:"Bold (Ctrl+B)", 22 | italic_desc:"Italic (Ctrl+I)", 23 | underline_desc:"Underline (Ctrl+U)", 24 | striketrough_desc:"Strikethrough", 25 | justifyleft_desc:"Align left", 26 | justifycenter_desc:"Align center", 27 | justifyright_desc:"Align right", 28 | justifyfull_desc:"Align full", 29 | bullist_desc:"Unordered list", 30 | numlist_desc:"Ordered list", 31 | outdent_desc:"Outdent", 32 | indent_desc:"Indent", 33 | undo_desc:"Undo (Ctrl+Z)", 34 | redo_desc:"Redo (Ctrl+Y)", 35 | link_desc:"Insert/edit link", 36 | unlink_desc:"Unlink", 37 | image_desc:"Insert/edit image", 38 | cleanup_desc:"Cleanup messy code", 39 | code_desc:"Edit HTML Source", 40 | sub_desc:"Subscript", 41 | sup_desc:"Superscript", 42 | hr_desc:"Insert horizontal ruler", 43 | removeformat_desc:"Remove formatting", 44 | custom1_desc:"Your custom description here", 45 | forecolor_desc:"Select text color", 46 | backcolor_desc:"Select background color", 47 | charmap_desc:"Insert custom character", 48 | visualaid_desc:"Toggle guidelines/invisible elements", 49 | anchor_desc:"Insert/edit anchor", 50 | cut_desc:"Cut", 51 | copy_desc:"Copy", 52 | paste_desc:"Paste", 53 | image_props_desc:"Image properties", 54 | newdocument_desc:"New document", 55 | help_desc:"Help", 56 | blockquote_desc:"Blockquote", 57 | clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you want more information about this issue?", 58 | path:"Path", 59 | newdocument:"Are you sure you want clear all contents?", 60 | toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X", 61 | more_colors:"More colors" 62 | }); -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/contextmenu/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){var a=tinymce.dom.Event,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.ContextMenu",{init:function(d){var f=this;f.editor=d;f.onContextMenu=new tinymce.util.Dispatcher(this);d.onContextMenu.add(function(g,h){if(!h.ctrlKey){f._getMenu(g).showMenu(h.clientX,h.clientY);a.add(g.getDoc(),"click",e);a.cancel(h)}});function e(){if(f._menu){f._menu.removeAll();f._menu.destroy();a.remove(d.getDoc(),"click",e)}}d.onMouseDown.add(e);d.onKeyDown.add(e)},getInfo:function(){return{longname:"Contextmenu",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/contextmenu",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getMenu:function(h){var l=this,f=l._menu,i=h.selection,e=i.isCollapsed(),d=i.getNode()||h.getBody(),g,k,j;if(f){f.removeAll();f.destroy()}k=b.getPos(h.getContentAreaContainer());j=b.getPos(h.getContainer());f=h.controlManager.createDropMenu("contextmenu",{offset_x:k.x+h.getParam("contextmenu_offset_x",0),offset_y:k.y+h.getParam("contextmenu_offset_y",0),constrain:1});l._menu=f;f.add({title:"advanced.cut_desc",icon:"cut",cmd:"Cut"}).setDisabled(e);f.add({title:"advanced.copy_desc",icon:"copy",cmd:"Copy"}).setDisabled(e);f.add({title:"advanced.paste_desc",icon:"paste",cmd:"Paste"});if((d.nodeName=="A"&&!h.dom.getAttrib(d,"name"))||!e){f.addSeparator();f.add({title:"advanced.link_desc",icon:"link",cmd:h.plugins.advlink?"mceAdvLink":"mceLink",ui:true});f.add({title:"advanced.unlink_desc",icon:"unlink",cmd:"UnLink"})}f.addSeparator();f.add({title:"advanced.image_desc",icon:"image",cmd:h.plugins.advimage?"mceAdvImage":"mceImage",ui:true});f.addSeparator();g=f.addMenu({title:"contextmenu.align"});g.add({title:"contextmenu.left",icon:"justifyleft",cmd:"JustifyLeft"});g.add({title:"contextmenu.center",icon:"justifycenter",cmd:"JustifyCenter"});g.add({title:"contextmenu.right",icon:"justifyright",cmd:"JustifyRight"});g.add({title:"contextmenu.full",icon:"justifyfull",cmd:"JustifyFull"});l.onContextMenu.dispatch(l,f,d,e);return f}});tinymce.PluginManager.add("contextmenu",tinymce.plugins.ContextMenu)})(); -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushScala.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Yegor Jbanov and David Bernard. 25 | 26 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' + 27 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' + 28 | 'else do if return protected private this package false'; 29 | 30 | var keyops = '[_:=><%#@]+'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 35 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings 36 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 40 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword 41 | ]; 42 | } 43 | 44 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 45 | Brush.aliases = ['scala']; 46 | 47 | SyntaxHighlighter.brushes.Scala = Brush; 48 | 49 | // CommonJS 50 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 51 | })(); 52 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/tests/cases/007_collapse.html: -------------------------------------------------------------------------------- 1 |2 | /** 3 | * Returns an Image object that can then be painted on the screen. 4 | * The url argument must specify an absolute {@link URL}. The name 5 | * argument is a specifier that is relative to the url argument. 6 | * 7 | * @param url an absolute URL giving the base location of the image 8 | * @param name the location of the image, relative to the url argument 9 | * @return the image at the specified URL 10 | * @see Image 11 | */ 12 |13 | 14 |15 | /** 16 | * Returns an Image object that can then be painted on the screen. 17 | * The url argument must specify an absolute {@link URL}. The name 18 | * argument is a specifier that is relative to the url argument. 19 | * 20 | * @param url an absolute URL giving the base location of the image 21 | * @param name the location of the image, relative to the url argument 22 | * @return the image at the specified URL 23 | * @see Image 24 | */ 25 |26 | 27 | 61 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/themes/simple/editor_template.js: -------------------------------------------------------------------------------- 1 | (function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})});c.dom.loadCSS(d+"/skins/"+f.skin+"/content.css")});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/media/js/embed.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. 3 | */ 4 | 5 | function writeFlash(p) { 6 | writeEmbed( 7 | 'D27CDB6E-AE6D-11cf-96B8-444553540000', 8 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 9 | 'application/x-shockwave-flash', 10 | p 11 | ); 12 | } 13 | 14 | function writeShockWave(p) { 15 | writeEmbed( 16 | '166B1BCA-3F9C-11CF-8075-444553540000', 17 | 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', 18 | 'application/x-director', 19 | p 20 | ); 21 | } 22 | 23 | function writeQuickTime(p) { 24 | writeEmbed( 25 | '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', 26 | 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', 27 | 'video/quicktime', 28 | p 29 | ); 30 | } 31 | 32 | function writeRealMedia(p) { 33 | writeEmbed( 34 | 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', 35 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 36 | 'audio/x-pn-realaudio-plugin', 37 | p 38 | ); 39 | } 40 | 41 | function writeWindowsMedia(p) { 42 | p.url = p.src; 43 | writeEmbed( 44 | '6BF52A52-394A-11D3-B153-00C04F79FAA6', 45 | 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', 46 | 'application/x-mplayer2', 47 | p 48 | ); 49 | } 50 | 51 | function writeEmbed(cls, cb, mt, p) { 52 | var h = '', n; 53 | 54 | h += ''; 71 | 72 | document.write(h); 73 | } 74 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/preview/jscripts/embed.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. 3 | */ 4 | 5 | function writeFlash(p) { 6 | writeEmbed( 7 | 'D27CDB6E-AE6D-11cf-96B8-444553540000', 8 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 9 | 'application/x-shockwave-flash', 10 | p 11 | ); 12 | } 13 | 14 | function writeShockWave(p) { 15 | writeEmbed( 16 | '166B1BCA-3F9C-11CF-8075-444553540000', 17 | 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', 18 | 'application/x-director', 19 | p 20 | ); 21 | } 22 | 23 | function writeQuickTime(p) { 24 | writeEmbed( 25 | '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', 26 | 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', 27 | 'video/quicktime', 28 | p 29 | ); 30 | } 31 | 32 | function writeRealMedia(p) { 33 | writeEmbed( 34 | 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', 35 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 36 | 'audio/x-pn-realaudio-plugin', 37 | p 38 | ); 39 | } 40 | 41 | function writeWindowsMedia(p) { 42 | p.url = p.src; 43 | writeEmbed( 44 | '6BF52A52-394A-11D3-B153-00C04F79FAA6', 45 | 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', 46 | 'application/x-mplayer2', 47 | p 48 | ); 49 | } 50 | 51 | function writeEmbed(cls, cb, mt, p) { 52 | var h = '', n; 53 | 54 | h += ''; 71 | 72 | document.write(h); 73 | } 74 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/themes/simple/skins/default/ui.css: -------------------------------------------------------------------------------- 1 | /* Reset */ 2 | .defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} 3 | 4 | /* Containers */ 5 | .defaultSimpleSkin {position:relative} 6 | .defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;} 7 | .defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;} 8 | .defaultSimpleSkin .mceToolbar {height:24px;} 9 | 10 | /* Layout */ 11 | .defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px} 12 | .defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} 13 | 14 | /* Button */ 15 | .defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px} 16 | .defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} 17 | .defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0} 18 | .defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} 19 | 20 | /* Separator */ 21 | .defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px} 22 | 23 | /* Theme */ 24 | .defaultSimpleSkin span.mce_bold {background-position:0 0} 25 | .defaultSimpleSkin span.mce_italic {background-position:-60px 0} 26 | .defaultSimpleSkin span.mce_underline {background-position:-140px 0} 27 | .defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0} 28 | .defaultSimpleSkin span.mce_undo {background-position:-160px 0} 29 | .defaultSimpleSkin span.mce_redo {background-position:-100px 0} 30 | .defaultSimpleSkin span.mce_cleanup {background-position:-40px 0} 31 | .defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} 32 | .defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0} 33 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/tests/cases/010_highlight.html: -------------------------------------------------------------------------------- 1 |2 | public function validateStrongPassword(password:String):Boolean 3 | { 4 | if (password == null || password.length <= 0) 5 | { 6 | return false; 7 | } 8 | 9 | return STRONG_PASSWORD_PATTERN.test(password); 10 | } 11 |12 | 40 | 41 | 71 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019 Asif Saif Uddin, and individual contributors. All Rights Reserved. 2 | 3 | Celery is licensed under The BSD License (3 Clause, also known as 4 | the new BSD license). The license is an OSI approved Open Source 5 | license and is GPL-compatible(1). 6 | 7 | The license text can also be found here: 8 | http://www.opensource.org/licenses/BSD-3-Clause 9 | 10 | License 11 | ======= 12 | 13 | Redistribution and use in source and binary forms, with or without 14 | modification, are permitted provided that the following conditions are met: 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | * Redistributions in binary form must reproduce the above copyright 18 | notice, this list of conditions and the following disclaimer in the 19 | documentation and/or other materials provided with the distribution. 20 | * Neither the name of Mauro Rocco, nor the 21 | names of its contributors may be used to endorse or promote products 22 | derived from this software without specific prior written permission. 23 | 24 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 25 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 26 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 27 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Ask Solem OR CONTRIBUTORS 28 | BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 29 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 30 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 31 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 32 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 33 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 34 | POSSIBILITY OF SUCH DAMAGE. 35 | 36 | Footnotes 37 | ========= 38 | (1) A GPL-compatible license makes it possible to 39 | combine CeleryProject with other software that is released 40 | under the GPL, it does not mean that we're distributing 41 | CeleryProject under the GPL license. The BDS license, unlike the GPL, 42 | let you distribute a modified version without making your 43 | changes open source. -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushXml.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function process(match, regexInfo) 25 | { 26 | var constructor = SyntaxHighlighter.Match, 27 | code = match[0], 28 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code), 29 | result = [] 30 | ; 31 | 32 | if (match.attributes != null) 33 | { 34 | var attributes, 35 | regex = new XRegExp('(? [\\w:\\-\\.]+)' + 36 | '\\s*=\\s*' + 37 | '(? ".*?"|\'.*?\'|\\w+)', 38 | 'xg'); 39 | 40 | while ((attributes = regex.exec(code)) != null) 41 | { 42 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1')); 43 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string')); 44 | } 45 | } 46 | 47 | if (tag != null) 48 | result.push( 49 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword') 50 | ); 51 | 52 | return result; 53 | } 54 | 55 | this.regexList = [ 56 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // 57 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // 58 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(? .*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process } 59 | ]; 60 | }; 61 | 62 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 63 | Brush.aliases = ['xml', 'xhtml', 'xslt', 'html']; 64 | 65 | SyntaxHighlighter.brushes.Xml = Brush; 66 | 67 | // CommonJS 68 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 69 | })(); 70 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushJava.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'abstract assert boolean break byte case catch char class const ' + 25 | 'continue default do double else enum extends ' + 26 | 'false final finally float for goto if implements import ' + 27 | 'instanceof int interface long native new null ' + 28 | 'package private protected public return ' + 29 | 'short static strictfp super switch synchronized this throw throws true ' + 30 | 'transient try void volatile while'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments 35 | { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 39 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 40 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword 42 | ]; 43 | 44 | this.forHtmlScript({ 45 | left : /(<|<)%[@!=]?/g, 46 | right : /%(>|>)/g 47 | }); 48 | }; 49 | 50 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 51 | Brush.aliases = ['java']; 52 | 53 | SyntaxHighlighter.brushes.Java = Brush; 54 | 55 | // CommonJS 56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 57 | })(); 58 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/themes/advanced/js/about.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | function init() { 4 | var ed, tcont; 5 | 6 | tinyMCEPopup.resizeToInnerSize(); 7 | ed = tinyMCEPopup.editor; 8 | 9 | // Give FF some time 10 | window.setTimeout(insertHelpIFrame, 10); 11 | 12 | tcont = document.getElementById('plugintablecontainer'); 13 | document.getElementById('plugins_tab').style.display = 'none'; 14 | 15 | var html = ""; 16 | html += ' '; 17 | html += ''; 18 | html += '
'; 55 | 56 | tcont.innerHTML = html; 57 | 58 | tinyMCEPopup.dom.get('version').innerHTML = tinymce.majorVersion + "." + tinymce.minorVersion; 59 | tinyMCEPopup.dom.get('date').innerHTML = tinymce.releaseDate; 60 | } 61 | 62 | function insertHelpIFrame() { 63 | var html; 64 | 65 | if (tinyMCEPopup.getParam('docs_url')) { 66 | html = ''; 67 | document.getElementById('iframecontainer').innerHTML = html; 68 | document.getElementById('help_tab').style.display = 'block'; 69 | } 70 | } 71 | 72 | tinyMCEPopup.onInit.add(init); 73 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/plugins/table/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.table_dlg',{ 2 | general_tab:"General", 3 | advanced_tab:"Advanced", 4 | general_props:"General properties", 5 | advanced_props:"Advanced properties", 6 | rowtype:"Row in table part", 7 | title:"Insert/Modify table", 8 | width:"Width", 9 | height:"Height", 10 | cols:"Cols", 11 | rows:"Rows", 12 | cellspacing:"Cellspacing", 13 | cellpadding:"Cellpadding", 14 | border:"Border", 15 | align:"Alignment", 16 | align_default:"Default", 17 | align_left:"Left", 18 | align_right:"Right", 19 | align_middle:"Center", 20 | row_title:"Table row properties", 21 | cell_title:"Table cell properties", 22 | cell_type:"Cell type", 23 | valign:"Vertical alignment", 24 | align_top:"Top", 25 | align_bottom:"Bottom", 26 | bordercolor:"Border color", 27 | bgcolor:"Background color", 28 | merge_cells_title:"Merge table cells", 29 | id:"Id", 30 | style:"Style", 31 | langdir:"Language direction", 32 | langcode:"Language code", 33 | mime:"Target MIME type", 34 | ltr:"Left to right", 35 | rtl:"Right to left", 36 | bgimage:"Background image", 37 | summary:"Summary", 38 | td:"Data", 39 | th:"Header", 40 | cell_cell:"Update current cell", 41 | cell_row:"Update all cells in row", 42 | cell_all:"Update all cells in table", 43 | row_row:"Update current row", 44 | row_odd:"Update odd rows in table", 45 | row_even:"Update even rows in table", 46 | row_all:"Update all rows in table", 47 | thead:"Table Head", 48 | tbody:"Table Body", 49 | tfoot:"Table Foot", 50 | scope:"Scope", 51 | rowgroup:"Row Group", 52 | colgroup:"Col Group", 53 | col_limit:"You've exceeded the maximum number of columns of {$cols}.", 54 | row_limit:"You've exceeded the maximum number of rows of {$rows}.", 55 | cell_limit:"You've exceeded the maximum number of cells of {$cells}.", 56 | missing_scope:"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.", 57 | caption:"Table caption", 58 | frame:"Frame", 59 | frame_none:"none", 60 | frame_groups:"groups", 61 | frame_rows:"rows", 62 | frame_cols:"cols", 63 | frame_all:"all", 64 | rules:"Rules", 65 | rules_void:"void", 66 | rules_above:"above", 67 | rules_below:"below", 68 | rules_hsides:"hsides", 69 | rules_lhs:"lhs", 70 | rules_rhs:"rhs", 71 | rules_vsides:"vsides", 72 | rules_box:"box", 73 | rules_border:"border" 74 | }); -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushRuby.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Erik Peterson. 25 | 26 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' + 27 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' + 28 | 'self super then throw true undef unless until when while yield'; 29 | 30 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' + 31 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' + 32 | 'ThreadGroup Thread Time TrueClass'; 33 | 34 | this.regexList = [ 35 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 38 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants 39 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols 40 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 42 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins 43 | ]; 44 | 45 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['ruby', 'rails', 'ror', 'rb']; 50 | 51 | SyntaxHighlighter.brushes.Ruby = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /celeryweb/static/js/tiny_mce/themes/simple/skins/o2k7/ui.css: -------------------------------------------------------------------------------- 1 | /* Reset */ 2 | .o2k7SimpleSkin table, .o2k7SimpleSkin tbody, .o2k7SimpleSkin a, .o2k7SimpleSkin img, .o2k7SimpleSkin tr, .o2k7SimpleSkin div, .o2k7SimpleSkin td, .o2k7SimpleSkin iframe, .o2k7SimpleSkin span, .o2k7SimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} 3 | 4 | /* Containers */ 5 | .o2k7SimpleSkin {position:relative} 6 | .o2k7SimpleSkin table.mceLayout {background:#E5EFFD; border:1px solid #ABC6DD;} 7 | .o2k7SimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #ABC6DD;} 8 | .o2k7SimpleSkin .mceToolbar {height:26px;} 9 | 10 | /* Layout */ 11 | .o2k7SimpleSkin .mceToolbar .mceToolbarStart span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px; } 12 | .o2k7SimpleSkin .mceToolbar .mceToolbarEnd span {display:block; background:url(img/button_bg.png) -22px 0; width:1px; height:22px} 13 | .o2k7SimpleSkin span.mceIcon, .o2k7SimpleSkin img.mceIcon {display:block; width:20px; height:20px} 14 | .o2k7SimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} 15 | 16 | /* Button */ 17 | .o2k7SimpleSkin .mceButton {display:block; background:url(img/button_bg.png); width:22px; height:22px} 18 | .o2k7SimpleSkin a.mceButton span, .o2k7SimpleSkin a.mceButton img {margin:1px 0 0 1px} 19 | .o2k7SimpleSkin a.mceButtonEnabled:hover {background-color:#B2BBD0; background-position:0 -22px} 20 | .o2k7SimpleSkin a.mceButtonActive {background-position:0 -44px} 21 | .o2k7SimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} 22 | 23 | /* Separator */ 24 | .o2k7SimpleSkin .mceSeparator {display:block; background:url(img/button_bg.png) -22px 0; width:5px; height:22px} 25 | 26 | /* Theme */ 27 | .o2k7SimpleSkin span.mce_bold {background-position:0 0} 28 | .o2k7SimpleSkin span.mce_italic {background-position:-60px 0} 29 | .o2k7SimpleSkin span.mce_underline {background-position:-140px 0} 30 | .o2k7SimpleSkin span.mce_strikethrough {background-position:-120px 0} 31 | .o2k7SimpleSkin span.mce_undo {background-position:-160px 0} 32 | .o2k7SimpleSkin span.mce_redo {background-position:-100px 0} 33 | .o2k7SimpleSkin span.mce_cleanup {background-position:-40px 0} 34 | .o2k7SimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} 35 | .o2k7SimpleSkin span.mce_insertorderedlist {background-position:-80px 0} 36 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/tests/cases/011_smart_tabs.html: -------------------------------------------------------------------------------- 1 |'; 19 | html += ' '; 23 | html += ''; 24 | html += ''; 25 | 26 | tinymce.each(ed.plugins, function(p, n) { 27 | var info; 28 | 29 | if (!p.getInfo) 30 | return; 31 | 32 | html += '' + ed.getLang('advanced_dlg.about_plugin') + ' '; 20 | html += '' + ed.getLang('advanced_dlg.about_author') + ' '; 21 | html += '' + ed.getLang('advanced_dlg.about_version') + ' '; 22 | html += ''; 33 | 34 | info = p.getInfo(); 35 | 36 | if (info.infourl != null && info.infourl != '') 37 | html += ' '; 48 | 49 | document.getElementById('plugins_tab').style.display = ''; 50 | 51 | }); 52 | 53 | html += ''; 54 | html += '' + info.longname + ' '; 38 | else 39 | html += '' + info.longname + ' '; 40 | 41 | if (info.authorurl != null && info.authorurl != '') 42 | html += '' + info.author + ' '; 43 | else 44 | html += '' + info.author + ' '; 45 | 46 | html += '' + info.version + ' '; 47 | html += '2 | the words in this paragraph 3 | should look like they are 4 | evenly spaced between columns 5 |6 | 7 |8 | the words in this paragraph 9 | should look like they are 10 | evenly spaced between columns 11 |12 | 13 |14 | the words in this paragraph 15 | should look out of whack 16 | because smart tabs are disabled 17 |18 | 19 | 99 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushJavaFX.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Patrick Webster 25 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html 26 | var datatypes = 'Boolean Byte Character Double Duration ' 27 | + 'Float Integer Long Number Short String Void' 28 | ; 29 | 30 | var keywords = 'abstract after and as assert at before bind bound break catch class ' 31 | + 'continue def delete else exclusive extends false finally first for from ' 32 | + 'function if import in indexof init insert instanceof into inverse last ' 33 | + 'lazy mixin mod nativearray new not null on or override package postinit ' 34 | + 'protected public public-init public-read replace return reverse sizeof ' 35 | + 'step super then this throw true try tween typeof var where while with ' 36 | + 'attribute let private readonly static trigger' 37 | ; 38 | 39 | this.regexList = [ 40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, 41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, 42 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 44 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers 45 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes 46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } 47 | ]; 48 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 49 | }; 50 | 51 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 52 | Brush.aliases = ['jfx', 'javafx']; 53 | 54 | SyntaxHighlighter.brushes.JavaFX = Brush; 55 | 56 | // CommonJS 57 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 58 | })(); 59 | -------------------------------------------------------------------------------- /celeryweb/static/js/syntaxhighlighter/scripts/shBrushVb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + 25 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + 26 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + 27 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + 28 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + 29 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + 30 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + 31 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + 32 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + 33 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + 34 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + 35 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + 36 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + 37 | 'Variant When While With WithEvents WriteOnly Xor'; 38 | 39 | this.regexList = [ 40 | { regex: /'.*$/gm, css: 'comments' }, // one line comments 41 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 42 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 43 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword 44 | ]; 45 | 46 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 47 | }; 48 | 49 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 50 | Brush.aliases = ['vb', 'vbnet']; 51 | 52 | SyntaxHighlighter.brushes.Vb = Brush; 53 | 54 | // CommonJS 55 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 56 | })(); 57 | --------------------------------------------------------------------------------