You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2021/08/19 19:56:31 UTC

[airavata-django-portal] branch airavata-3499 updated: Update settings.py

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch airavata-3499
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/airavata-3499 by this push:
     new 76cb794  Update settings.py
     new 0906deb  Merge pull request #66 from musecian/patch-3
76cb794 is described below

commit 76cb794611ee59f6efecc5765e4f8d6d98b08a06
Author: musecian <kb...@mines.edu>
AuthorDate: Tue Jul 20 13:04:32 2021 -0600

    Update settings.py
---
 django_airavata/settings.py | 198 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 198 insertions(+)

diff --git a/django_airavata/settings.py b/django_airavata/settings.py
index ac592f1..bffa3c1 100644
--- a/django_airavata/settings.py
+++ b/django_airavata/settings.py
@@ -405,6 +405,204 @@ LOGGING = {
     },
 }
 
+#wagtailcodeblock theme and languages
+WAGTAIL_CODE_BLOCK_THEME=None
+WAGTAIL_CODE_BLOCK_LANGUAGES = (
+    ('abap', 'ABAP'),
+    ('abnf', 'Augmented Backus–Naur form'),
+    ('actionscript', 'ActionScript'),
+    ('ada', 'Ada'),
+    ('antlr4', 'ANTLR4'),
+    ('apacheconf', 'Apache Configuration'),
+    ('apl', 'APL'),
+    ('applescript', 'AppleScript'),
+    ('aql', 'AQL'),
+    ('arduino', 'Arduino'),
+    ('arff', 'ARFF'),
+    ('asciidoc', 'AsciiDoc'),
+    ('asm6502', '6502 Assembly'),
+    ('aspnet', 'ASP.NET (C#)'),
+    ('autohotkey', 'AutoHotkey'),
+    ('autoit', 'AutoIt'),
+    ('bash', 'Bash + Shell'),
+    ('basic', 'BASIC'),
+    ('batch', 'Batch'),
+    ('bison', 'Bison'),
+    ('bnf', 'Backus–Naur form + Routing Backus–Naur form'),
+    ('brainfuck', 'Brainfuck'),
+    ('bro', 'Bro'),
+    ('c', 'C'),
+    ('clike', 'C-like'),
+    ('cmake', 'CMake'),
+    ('csharp', 'C#'),
+    ('cpp', 'C++'),
+    ('cil', 'CIL'),
+    ('coffeescript', 'CoffeeScript'),
+    ('clojure', 'Clojure'),
+    ('crystal', 'Crystal'),
+    ('csp', 'Content-Security-Policy'),
+    ('css', 'CSS'),
+    ('css-extras', 'CSS Extras'),
+    ('d', 'D'),
+    ('dart', 'Dart'),
+    ('diff', 'Diff'),
+    ('django', 'Django/Jinja2'),
+    ('dns-zone-file', 'DNS Zone File'),
+    ('docker', 'Docker'),
+    ('ebnf', 'Extended Backus–Naur form'),
+    ('eiffel', 'Eiffel'),
+    ('ejs', 'EJS'),
+    ('elixir', 'Elixir'),
+    ('elm', 'Elm'),
+    ('erb', 'ERB'),
+    ('erlang', 'Erlang'),
+    ('etlua', 'Embedded LUA Templating'),
+    ('fsharp', 'F#'),
+    ('flow', 'Flow'),
+    ('fortran', 'Fortran'),
+    ('ftl', 'Freemarker Template Language'),
+    ('gcode', 'G-code'),
+    ('gdscript', 'GDScript'),
+    ('gedcom', 'GEDCOM'),
+    ('gherkin', 'Gherkin'),
+    ('git', 'Git'),
+    ('glsl', 'GLSL'),
+    ('gml', 'GameMaker Language'),
+    ('go', 'Go'),
+    ('graphql', 'GraphQL'),
+    ('groovy', 'Groovy'),
+    ('haml', 'Haml'),
+    ('handlebars', 'Handlebars'),
+    ('haskell', 'Haskell'),
+    ('haxe', 'Haxe'),
+    ('hcl', 'HCL'),
+    ('http', 'HTTP'),
+    ('hpkp', 'HTTP Public-Key-Pins'),
+    ('hsts', 'HTTP Strict-Transport-Security'),
+    ('ichigojam', 'IchigoJam'),
+    ('icon', 'Icon'),
+    ('inform7', 'Inform 7'),
+    ('ini', 'Ini'),
+    ('io', 'Io'),
+    ('j', 'J'),
+    ('java', 'Java'),
+    ('javadoc', 'JavaDoc'),
+    ('javadoclike', 'JavaDoc-like'),
+    ('javascript', 'JavaScript'),
+    ('javastacktrace', 'Java stack trace'),
+    ('jolie', 'Jolie'),
+    ('jq', 'JQ'),
+    ('jsdoc', 'JSDoc'),
+    ('js-extras', 'JS Extras'),
+    ('js-templates', 'JS Templates'),
+    ('json', 'JSON'),
+    ('jsonp', 'JSONP'),
+    ('json5', 'JSON5'),
+    ('julia', 'Julia'),
+    ('keyman', 'Keyman'),
+    ('kotlin', 'Kotlin'),
+    ('latex', 'LaTeX'),
+    ('less', 'Less'),
+    ('lilypond', 'Lilypond'),
+    ('liquid', 'Liquid'),
+    ('lisp', 'Lisp'),
+    ('livescript', 'LiveScript'),
+    ('lolcode', 'LOLCODE'),
+    ('lua', 'Lua'),
+    ('makefile', 'Makefile'),
+    ('markdown', 'Markdown'),
+    ('markup', 'Markup + HTML + XML + SVG + MathML'),
+    ('markup-templating', 'Markup templating'),
+    ('matlab', 'MATLAB'),
+    ('mel', 'MEL'),
+    ('mizar', 'Mizar'),
+    ('monkey', 'Monkey'),
+    ('n1ql', 'N1QL'),
+    ('n4js', 'N4JS'),
+    ('nand2tetris-hdl', 'Nand To Tetris HDL'),
+    ('nasm', 'NASM'),
+    ('nginx', 'nginx'),
+    ('nim', 'Nim'),
+    ('nix', 'Nix'),
+    ('nsis', 'NSIS'),
+    ('objectivec', 'Objective-C'),
+    ('ocaml', 'OCaml'),
+    ('opencl', 'OpenCL'),
+    ('oz', 'Oz'),
+    ('parigp', 'PARI/GP'),
+    ('parser', 'Parser'),
+    ('pascal', 'Pascal + Object Pascal'),
+    ('pascaligo', 'Pascaligo'),
+    ('pcaxis', 'PC Axis'),
+    ('perl', 'Perl'),
+    ('php', 'PHP'),
+    ('phpdoc', 'PHPDoc'),
+    ('php-extras', 'PHP Extras'),
+    ('plsql', 'PL/SQL'),
+    ('powershell', 'PowerShell'),
+    ('processing', 'Processing'),
+    ('prolog', 'Prolog'),
+    ('properties', '.properties'),
+    ('protobuf', 'Protocol Buffers'),
+    ('pug', 'Pug'),
+    ('puppet', 'Puppet'),
+    ('pure', 'Pure'),
+    ('python', 'Python'),
+    ('q', 'Q (kdb+ database)'),
+    ('qore', 'Qore'),
+    ('r', 'R'),
+    ('jsx', 'React JSX'),
+    ('tsx', 'React TSX'),
+    ('renpy', 'Ren\'py'),
+    ('reason', 'Reason'),
+    ('regex', 'Regex'),
+    ('rest', 'reST (reStructuredText)'),
+    ('rip', 'Rip'),
+    ('roboconf', 'Roboconf'),
+    ('robot-framework', 'Robot Framework'),
+    ('ruby', 'Ruby'),
+    ('rust', 'Rust'),
+    ('sas', 'SAS'),
+    ('sass', 'Sass (Sass)'),
+    ('scss', 'Sass (Scss)'),
+    ('scala', 'Scala'),
+    ('scheme', 'Scheme'),
+    ('shell-session', 'Shell Session'),
+    ('smalltalk', 'Smalltalk'),
+    ('smarty', 'Smarty'),
+    ('solidity', 'Solidity (Ethereum)'),
+    ('sparql', 'SPARQL'),
+    ('splunk-spl', 'Splunk SPL'),
+    ('sqf', 'SQF: Status Quo Function (Arma 3)'),
+    ('sql', 'SQL'),
+    ('soy', 'Soy (Closure Template)'),
+    ('stylus', 'Stylus'),
+    ('swift', 'Swift'),
+    ('tap', 'TAP'),
+    ('tcl', 'Tcl'),
+    ('textile', 'Textile'),
+    ('toml', 'TOML'),
+    ('tt2', 'Template Toolkit 2'),
+    ('twig', 'Twig'),
+    ('typescript', 'TypeScript'),
+    ('t4-cs', 'T4 Text Templates (C#)'),
+    ('t4-vb', 'T4 Text Templates (VB)'),
+    ('t4-templating', 'T4 templating'),
+    ('vala', 'Vala'),
+    ('vbnet', 'VB.Net'),
+    ('velocity', 'Velocity'),
+    ('verilog', 'Verilog'),
+    ('vhdl', 'VHDL'),
+    ('vim', 'vim'),
+    ('visual-basic', 'Visual Basic'),
+    ('wasm', 'WebAssembly'),
+    ('wiki', 'Wiki markup'),
+    ('xeora', 'Xeora + XeoraCube'),
+    ('xojo', 'Xojo (REALbasic)'),
+    ('xquery', 'XQuery'),
+    ('yaml', 'YAML'),
+    ('zig', 'Zig'),
+)
 
 def merge_setting(default, custom_setting):
     # FIXME: only handles dict settings, doesn't handle lists