├── test ├── .gitkeep ├── views │ ├── argsencoded1.jl.html │ ├── argsencoded3.jl.html │ ├── argsencoded2.jl.html │ ├── view.jl.md │ ├── layout.jl.html │ ├── view-vars.jl.md │ ├── layoutargsencoding.jl.html │ ├── outputscripttags.jl.html │ └── layoutscripttags.jl.html ├── cors │ ├── Project.toml │ └── cors.jl ├── fileuploads │ ├── Project.toml │ └── test.jl ├── runtests.jl ├── tests_SVG_API.jl ├── tests_hello.jl ├── formview.jl.html ├── tests_router.jl ├── tests_assets_rendering.jl ├── Project.toml ├── tests_advanced_select_rendering.jl ├── tests_options_request.jl ├── tests_Sessions.jl ├── tests_arguments_parsing.jl ├── tests_responses.jl ├── tests_json_rendering.jl ├── tests_js_rendering.jl ├── tests_views_rendering.jl ├── tests_1_config.jl ├── tests_views_control_flow_rendering.jl ├── tests_headers.jl ├── tests_json_payload.jl ├── tests_cache.jl ├── tests_zz_fullstack_app.jl ├── tests_peer_info.jl ├── tests_post_data.jl ├── tests_AppServer.jl ├── tests_routing.jl ├── tests_advanced_html_rendering.jl ├── tests_Assets.jl ├── tests_vars_rendering.jl ├── tests_output_script_tags.jl ├── tests_query_special_chars.jl ├── tests_markdown_rendering.jl ├── tests_arguments_encoding.jl ├── tests_z_HEAD_requests.jl ├── tests_html_rendering.jl ├── tests_basic_rendering.jl └── tests_genie_generators.jl ├── docs ├── src │ ├── .gitkeep │ ├── tutorials │ │ ├── 91--Deploying_Genie_Docker_Apps_on_Heroku.md │ │ ├── 14--The_Secrets_File.md │ │ ├── 2--Installing_Genie.md │ │ ├── 15--The_Lib_Folder.md │ │ ├── 11--Managing_External_Packages.md │ │ ├── 8--Handling_File_Uploads.md │ │ ├── 80--Force_Compiling_Routes.md │ │ ├── 6--Working_with_POST_Payloads.md │ │ ├── 1--Overview.md │ │ ├── 7--Using_JSON_Payloads.md │ │ ├── 5--Handling_Query_Params.md │ │ ├── 9--Publishing_Your_Julia_Code_Online_With_Genie_Apps.md │ │ ├── 13--Initializers.md │ │ ├── 10--Loading_Genie_Apps.md │ │ ├── 16--Using_Genie_With_Docker.md │ │ ├── 3--Getting_Started.md │ │ └── 4--Developing_Web_Services.md │ ├── api │ │ ├── app.md │ │ ├── httputils.md │ │ ├── flash.md │ │ ├── deploy-docker.md │ │ ├── cache.md │ │ ├── encryption.md │ │ ├── commands.md │ │ ├── plugins.md │ │ ├── cookies.md │ │ ├── headers.md │ │ ├── deploy-heroku.md │ │ ├── renderer-js.md │ │ ├── filetemplates.md │ │ ├── renderer-json.md │ │ ├── util.md │ │ ├── configuration.md │ │ ├── exceptions.md │ │ ├── sessions.md │ │ ├── assets.md │ │ ├── responses.md │ │ ├── appserver.md │ │ ├── toolbox.md │ │ ├── inflector.md │ │ ├── input.md │ │ ├── requests.md │ │ ├── renderer.md │ │ ├── genie.md │ │ ├── webchannels.md │ │ ├── generator.md │ │ ├── index.md │ │ ├── renderer-html.md │ │ └── router.md │ ├── index.md │ └── guides │ │ ├── Simple_API_backend.md │ │ ├── Interactive_environment.md │ │ └── Frontend_assets.md ├── _todo_ │ ├── Genie_Caching.md │ ├── Genie_Plugins.md │ ├── Custom_Error_Pages.md │ ├── Custom_Responses.md │ ├── Genie_App_REPL.md │ ├── Handling_Requests.md │ ├── Handling_Responses.md │ ├── Redirect_Responses.md │ ├── Testing_Genie_Apps.md │ ├── Using_Environments.md │ ├── Configuration_Options.md │ ├── Developing_MVC_Web_Apps.md │ ├── Flax_Templating_Engine.md │ ├── Important_Genie_Files.md │ ├── Rendering_HTML_Layouts.md │ ├── Rendering_JSON_Layouts.md │ ├── SearchLight_ORM_Support.md │ ├── Sending_HTML_Responses.md │ ├── Sending_JSON_Responses.md │ ├── Sessions_And_Cookies.md │ ├── Working_With_WebSockets.md │ ├── Developing_Genie_Plugins.md │ ├── Encrypting_Data_In_Genie.md │ ├── Files_And_Folders_Structure.md │ ├── Options_Preflight_Responses.md │ ├── Plugins_AutoReload_Plugin.md │ ├── Rendering_Markdown_Layouts.md │ ├── Developing_Full_Stack_Genie_Apps.md │ ├── Plugins_Authentication_Plugin.md │ ├── Reloading_Code_In_Development.md │ ├── Rendering_Exception_Responses.md │ ├── Setting_Up_The_Asset_Pipeline.md │ ├── Accelerated_Development_With_Generators.md │ ├── Data_Validation_With_SearchLight_Validators.md │ ├── Database_Versionsing_With_SearchLight_Migrations.md │ ├── Validating_Data_With_SearchLight_Model_Validators.md │ ├── Mastering_SearchLight_Models.md │ └── Mastering_Genie_Controllers.md ├── _config.yml ├── content │ └── img │ │ ├── genie.gif │ │ └── genie_logo.png ├── Project.toml └── mkdocs.yml ├── files ├── new_app │ ├── bin │ │ └── .gitkeep │ ├── log │ │ └── .gitkeep │ ├── src │ │ └── .gitkeep │ ├── test │ │ └── .gitkeep │ ├── db │ │ ├── seeds │ │ │ └── .gitkeep │ │ ├── migrations │ │ │ └── .gitkeep │ │ └── connection.yml │ ├── plugins │ │ └── .gitkeep │ ├── public │ │ ├── .gitkeep │ │ ├── favicon.ico │ │ ├── robots.txt │ │ ├── img │ │ │ └── genie │ │ │ │ ├── docs.png │ │ │ │ ├── genie.png │ │ │ │ ├── community.png │ │ │ │ ├── genie-sad.png │ │ │ │ └── contribute-2.png │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ ├── js │ │ │ └── genie │ │ │ │ └── static.js │ │ ├── css │ │ │ └── genie │ │ │ │ └── prism.css │ │ ├── welcome.html │ │ ├── error-xxx.html │ │ ├── error-404.html │ │ └── error-500.html │ ├── app │ │ ├── resources │ │ │ └── .gitkeep │ │ ├── layouts │ │ │ └── app.jl.html │ │ └── helpers │ │ │ ├── ViewHelper.jl │ │ │ └── ValidationHelper.jl │ ├── config │ │ ├── env │ │ │ ├── global.jl │ │ │ ├── test.jl │ │ │ ├── dev.jl │ │ │ └── prod.jl │ │ └── initializers │ │ │ ├── autoload.jl │ │ │ ├── inflector.jl │ │ │ ├── converters.jl │ │ │ ├── searchlight.jl │ │ │ ├── ssl.jl │ │ │ └── logging.jl │ ├── routes.jl │ ├── .gitattributes │ └── .gitignore └── ssl │ ├── localhost.crt │ └── localhost.key ├── .gitignore ├── .gitattributes ├── .github ├── workflows │ ├── TagBot.yml │ ├── CompatHelper.yml │ └── ci.yml └── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── src ├── HTTPUtils.jl ├── renderers │ ├── html │ │ ├── form.jl │ │ └── select.jl │ └── MdHtml.jl ├── genie_types.jl ├── Flash.jl ├── constants.jl ├── Encryption.jl ├── Cache.jl ├── Responses.jl ├── Util.jl ├── Headers.jl ├── App.jl ├── Commands.jl ├── cache_adapters │ └── FileCache.jl ├── session_adapters │ └── FileSession.jl ├── FileTemplates.jl ├── Plugins.jl └── Exceptions.jl ├── CHANGELOG.html ├── LICENSE.md ├── CONTRIBUTING.md └── Project.toml /test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Genie_Caching.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Genie_Plugins.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/bin/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/log/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/test/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Custom_Error_Pages.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Custom_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Genie_App_REPL.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Handling_Requests.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Handling_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Redirect_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Testing_Genie_Apps.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Using_Environments.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/db/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/plugins/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Configuration_Options.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Developing_MVC_Web_Apps.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Flax_Templating_Engine.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Important_Genie_Files.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Rendering_HTML_Layouts.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Rendering_JSON_Layouts.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/SearchLight_ORM_Support.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Sending_HTML_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Sending_JSON_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Sessions_And_Cookies.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Working_With_WebSockets.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/app/resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /files/new_app/db/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /docs/_todo_/Developing_Genie_Plugins.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Encrypting_Data_In_Genie.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Files_And_Folders_Structure.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Options_Preflight_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Plugins_AutoReload_Plugin.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Rendering_Markdown_Layouts.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Developing_Full_Stack_Genie_Apps.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Plugins_Authentication_Plugin.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Reloading_Code_In_Development.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Rendering_Exception_Responses.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Setting_Up_The_Asset_Pipeline.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Accelerated_Development_With_Generators.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Data_Validation_With_SearchLight_Validators.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Database_Versionsing_With_SearchLight_Migrations.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/src/tutorials/91--Deploying_Genie_Docker_Apps_on_Heroku.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Validating_Data_With_SearchLight_Model_Validators.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_todo_/Mastering_SearchLight_Models.md: -------------------------------------------------------------------------------- 1 | ... callbacks, validators ... -------------------------------------------------------------------------------- /test/views/argsencoded1.jl.html: -------------------------------------------------------------------------------- 1 |
Greetings
-------------------------------------------------------------------------------- /test/views/argsencoded3.jl.html: -------------------------------------------------------------------------------- 1 |Greetings
-------------------------------------------------------------------------------- /test/views/argsencoded2.jl.html: -------------------------------------------------------------------------------- 1 |Greetings
-------------------------------------------------------------------------------- /test/cors/Project.toml: -------------------------------------------------------------------------------- 1 | [deps] 2 | Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e" 3 | -------------------------------------------------------------------------------- /docs/_todo_/Mastering_Genie_Controllers.md: -------------------------------------------------------------------------------- 1 | ... before and after hooks and exceptional responses ... -------------------------------------------------------------------------------- /docs/content/img/genie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/docs/content/img/genie.gif -------------------------------------------------------------------------------- /docs/src/api/app.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = App 3 | ``` 4 | 5 | ```@docs 6 | bootstrap 7 | ``` 8 | -------------------------------------------------------------------------------- /files/new_app/config/env/global.jl: -------------------------------------------------------------------------------- 1 | # Place here configuration options that will be set for all environments 2 | -------------------------------------------------------------------------------- /files/new_app/routes.jl: -------------------------------------------------------------------------------- 1 | using Genie.Router 2 | 3 | route("/") do 4 | serve_static_file("welcome.html") 5 | end -------------------------------------------------------------------------------- /docs/content/img/genie_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/docs/content/img/genie_logo.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | docs/build 2 | .tags 3 | .DS_Store 4 | .vscode 5 | test/build 6 | Manifest.toml 7 | test/cache 8 | test/sessions -------------------------------------------------------------------------------- /docs/src/api/httputils.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = HTTPUtils 3 | ``` 4 | 5 | ```@docs 6 | HTTPUtils.Dict 7 | ``` 8 | -------------------------------------------------------------------------------- /files/new_app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/favicon.ico -------------------------------------------------------------------------------- /docs/src/api/flash.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Flash 3 | ``` 4 | 5 | ```@docs 6 | flash 7 | flash_has_message 8 | ``` 9 | -------------------------------------------------------------------------------- /files/new_app/.gitattributes: -------------------------------------------------------------------------------- 1 | app/assets/* linguist-vendored 2 | public/* linguist-vendored 3 | *.jl.html linguist-language=HTML -------------------------------------------------------------------------------- /files/new_app/public/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /files/new_app/public/img/genie/docs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/img/genie/docs.png -------------------------------------------------------------------------------- /files/new_app/public/img/genie/genie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/img/genie/genie.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | files/** linguist-vendored 2 | docs/** linguist-vendored 3 | test/** linguist-vendored 4 | *.jl.html linguist-language=HTML 5 | -------------------------------------------------------------------------------- /test/fileuploads/Project.toml: -------------------------------------------------------------------------------- 1 | [deps] 2 | Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e" 3 | HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" 4 | -------------------------------------------------------------------------------- /test/views/view.jl.md: -------------------------------------------------------------------------------- 1 | # There are $(length(numbers)) 2 | 3 | $( 4 | for_each(numbers) do number 5 | " -> $number" 6 | end 7 | ) 8 | -------------------------------------------------------------------------------- /files/new_app/public/img/genie/community.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/img/genie/community.png -------------------------------------------------------------------------------- /files/new_app/public/img/genie/genie-sad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/img/genie/genie-sad.png -------------------------------------------------------------------------------- /docs/src/api/deploy-docker.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Deploy.Docker 3 | ``` 4 | 5 | ```@docs 6 | dockerfile 7 | build 8 | run 9 | ``` 10 | -------------------------------------------------------------------------------- /files/new_app/public/img/genie/contribute-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/img/genie/contribute-2.png -------------------------------------------------------------------------------- /docs/src/api/cache.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Cache 3 | ``` 4 | 5 | ```@docs 6 | withcache 7 | purge 8 | purgeall 9 | cachekey 10 | ``` 11 | -------------------------------------------------------------------------------- /docs/src/api/encryption.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Encryption 3 | ``` 4 | 5 | ```@docs 6 | encrypt 7 | decrypt 8 | encryption_sauce 9 | ``` 10 | -------------------------------------------------------------------------------- /docs/src/api/commands.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Commands 3 | ``` 4 | 5 | ```@docs 6 | execute 7 | parse_commandline_args 8 | called_command 9 | ``` 10 | -------------------------------------------------------------------------------- /docs/src/api/plugins.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Plugins 3 | ``` 4 | 5 | ```@docs 6 | recursive_copy 7 | congrats 8 | scaffold 9 | install 10 | ``` 11 | -------------------------------------------------------------------------------- /files/new_app/config/initializers/autoload.jl: -------------------------------------------------------------------------------- 1 | # Optional flat/non-resource MVC folder structure 2 | # push!(LOAD_PATH, "controllers", "views", "views/layouts", "models") -------------------------------------------------------------------------------- /docs/src/api/cookies.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Cookies 3 | ``` 4 | 5 | ```@docs 6 | get 7 | set! 8 | Cookies.Dict 9 | nullablevalue 10 | getcookies 11 | ``` 12 | -------------------------------------------------------------------------------- /docs/src/api/headers.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Genie.Headers 3 | ``` 4 | 5 | ```@docs 6 | set_headers! 7 | normalize_headers 8 | normalize_header_key 9 | ``` 10 | -------------------------------------------------------------------------------- /files/new_app/public/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /files/new_app/public/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /files/new_app/public/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /files/new_app/public/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/findmyway/Genie.jl/master/files/new_app/public/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /docs/src/api/deploy-heroku.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Deploy.Heroku 3 | ``` 4 | 5 | ```@docs 6 | createapp 7 | push 8 | release 9 | open 10 | login 11 | logs 12 | ``` 13 | -------------------------------------------------------------------------------- /docs/src/api/renderer-js.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Renderer.Js 3 | ``` 4 | 5 | ```@docs 6 | get_template 7 | to_js 8 | render 9 | js 10 | Genie.Router.error 11 | ``` 12 | -------------------------------------------------------------------------------- /test/views/layout.jl.html: -------------------------------------------------------------------------------- 1 |Greetings
2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/src/api/assets.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Assets 3 | ``` 4 | 5 | ```@docs 6 | include_asset 7 | css_asset 8 | js_asset 9 | js_settings 10 | embedded 11 | channels 12 | channels_script 13 | channels_support 14 | favicon_support 15 | ``` 16 | -------------------------------------------------------------------------------- /docs/src/api/responses.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Responses 3 | ``` 4 | 5 | ```@docs 6 | getresponse 7 | getheaders 8 | setheaders! 9 | setheaders 10 | getstatus 11 | setstatus! 12 | setstatus 13 | getbody 14 | setbody! 15 | setbody 16 | ``` 17 | -------------------------------------------------------------------------------- /files/new_app/config/initializers/converters.jl: -------------------------------------------------------------------------------- 1 | using Dates 2 | import Base.convert 3 | 4 | convert(::Type{Int}, v::SubString{String}) = parse(Int, v) 5 | convert(::Type{Float64}, v::SubString{String}) = parse(Float64, v) 6 | convert(::Type{Date}, s::String) = parse(Date, s) -------------------------------------------------------------------------------- /.github/workflows/TagBot.yml: -------------------------------------------------------------------------------- 1 | name: TagBot 2 | on: 3 | schedule: 4 | - cron: 0 * * * * 5 | jobs: 6 | TagBot: 7 | runs-on: ubuntu-latest 8 | steps: 9 | - uses: JuliaRegistries/TagBot@v1 10 | with: 11 | token: ${{ secrets.GITHUB_TOKEN }} 12 | -------------------------------------------------------------------------------- /docs/src/api/appserver.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = AppServer 3 | ``` 4 | 5 | ```@docs 6 | ServersCollection 7 | SERVERS 8 | startup 9 | up 10 | down 11 | update_config 12 | handle_request 13 | setup_http_handler 14 | setup_ws_handler 15 | handle_ws_request 16 | ``` 17 | -------------------------------------------------------------------------------- /docs/src/api/toolbox.md: -------------------------------------------------------------------------------- 1 | ```@meta 2 | CurrentModule = Toolbox 3 | ``` 4 | 5 | ```@docs 6 | TaskInfo 7 | TaskResult 8 | tasks 9 | VoidTaskResult 10 | validtaskname 11 | taskdocs 12 | loadtasks 13 | printtasks 14 | new 15 | taskfilename 16 | taskmodulename 17 | isvalidtask! 18 | ``` 19 | -------------------------------------------------------------------------------- /files/new_app/app/layouts/app.jl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |This is a $(vars(:name)) test
13 |This is a $name test
This is a $name test
Good morning
Good morning
Good morning
Good morning
Good morning
Good morning
Good morning
Good morning
Good morning
Greetings
23 |