j1-template 2021.0.16 → 2021.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +4 -0
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +1 -1
- data/_includes/themes/j1/modules/connectors/ads +1 -1
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics-legacy.html +36 -0
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytics +2 -3
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
- data/_layouts/default.html +11 -1
- data/assets/data/galleries.json +2 -2
- data/assets/data/gallery_customizer.html +2 -2
- data/assets/themes/j1/adapter/js/asciidoctor.js +166 -0
- data/assets/themes/j1/adapter/js/carousel.js +24 -0
- data/assets/themes/j1/adapter/js/fam.js +0 -12
- data/assets/themes/j1/adapter/js/j1.js +36 -21
- data/assets/themes/j1/adapter/js/{jf_gallery.js → justifiedGallery.js} +9 -9
- data/assets/themes/j1/adapter/js/{gallery_customizer.js → justifiedGalleryCustomizer.js} +11 -11
- data/assets/themes/j1/adapter/js/logger.js +35 -23
- data/assets/themes/j1/adapter/js/navigator.js +0 -12
- data/assets/themes/j1/core/css/vendor.css +14 -2
- data/assets/themes/j1/core/css/vendor.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +8 -2
- data/assets/themes/j1/core/js/template.js.map +1 -1
- data/assets/themes/j1/core/js/template.min.js +8 -2
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/log4javascript/docs/backwardsincompatibilities.html +90 -0
- data/assets/themes/j1/modules/log4javascript/docs/distribution.html +87 -0
- data/assets/themes/j1/modules/log4javascript/docs/index.html +190 -0
- data/assets/themes/j1/modules/log4javascript/docs/lite.html +182 -0
- data/assets/themes/j1/modules/log4javascript/docs/manual.html +3217 -0
- data/assets/themes/j1/modules/log4javascript/docs/manual_lite.html +383 -0
- data/assets/themes/j1/modules/log4javascript/docs/quickstart.html +230 -0
- data/assets/themes/j1/modules/log4javascript/docs/whatsnew.html +86 -0
- data/assets/themes/j1/modules/log4javascript/js/log4javascript.js +5826 -0
- data/assets/themes/j1/modules/{util/js/log4javascript.js → log4javascript/js/log4javascript.min.js} +17 -0
- data/exe/j1 +1 -1
- data/lib/j1/commands/generate.rb +32 -9
- data/lib/{patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6 → j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.7}/fastfilereaderext.so +0 -0
- data/lib/{patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.6 → j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/2.7}/rubyeventmachine.so +0 -0
- data/lib/j1/patches/rubygems/execjs-2.7.0/lib/execjs/external_runtime.rb +246 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app.rb +1 -1
- data/lib/j1_app/j1_auth_manager/auth_manager.rb +8 -2
- data/lib/j1_app/j1_site_manager/static_site.no-cross-origin.rb +94 -0
- data/lib/j1_app/j1_site_manager/static_site.rb +13 -11
- data/lib/starter_web/Gemfile +20 -14
- data/lib/starter_web/_config.yml +6 -47
- data/lib/starter_web/_data/_defaults/j1_config.yml +460 -0
- data/lib/starter_web/_data/{private.yml@localhost → _defaults/private.yml} +8 -51
- data/lib/starter_web/_data/_defaults/resources.yml +626 -325
- data/lib/starter_web/_data/apps/defaults/{justified_gallery.yml → justifiedGallery.yml} +2 -2
- data/lib/starter_web/_data/apps/defaults/{gallery_customizer.yml → justifiedGalleryCustomizer.yml} +0 -0
- data/lib/starter_web/_data/apps/defaults/{light_gallery.yml → lightGallery.yml} +0 -0
- data/lib/starter_web/_data/apps/{justified_gallery.yml → justifiedGallery.yml} +7 -7
- data/lib/starter_web/_data/apps/{gallery_customizer.yml → justifiedGalleryCustomizer.yml} +0 -0
- data/lib/starter_web/_data/apps/{light_gallery.yml → lightGallery.yml} +0 -0
- data/lib/starter_web/_data/blocks/banner.yml +18 -30
- data/lib/starter_web/_data/blocks/footer.yml +15 -3
- data/lib/starter_web/_data/blocks/panel.yml +4 -6
- data/lib/starter_web/_data/j1_config.yml +8 -7
- data/lib/starter_web/_data/modules/authentication.yml +11 -100
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +37 -40
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +2 -0
- data/lib/starter_web/_data/modules/log4javascript.yml +11 -83
- data/lib/starter_web/_data/modules/navigator_menu.yml +25 -6
- data/lib/starter_web/_data/modules/quicksearch.yml +2 -0
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +15 -12
- data/lib/starter_web/_data/plugins/paginator.yml +5 -3
- data/lib/starter_web/_data/private.yml +29 -57
- data/lib/starter_web/_data/private@default.yml +119 -0
- data/lib/starter_web/_data/private@localhost.yml +156 -0
- data/lib/starter_web/_data/resources.yml +33 -16
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +49 -3
- data/lib/starter_web/_data/utilities/util_srv.yml +8 -65
- data/lib/starter_web/_includes/attributes.asciidoc +9 -6
- data/lib/starter_web/_plugins/asciidoctor-extensions/callout.rb +47 -5
- data/lib/starter_web/_plugins/asciidoctor-extensions/conum.rb +28 -1
- data/lib/starter_web/_plugins/lunr_index.rb +17 -2
- data/lib/starter_web/assets/images/collections/blog/featured/dynamic-web-access.png +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators.gif +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/jamstack-generators.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/featured/static-web-access.png +0 -0
- data/lib/starter_web/assets/images/modules/attics/leon-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/j1/j1-256x256.gif +0 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +44 -45
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-06-01-about-cookies.adoc → 2020-01-01-about-cookies.adoc} +43 -41
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-site-generators.adoc → 2021-03-01-site-generators.adoc} +57 -30
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +125 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +4 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +1 -1
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +1 -1
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.gitignore +5 -1
- data/lib/starter_web/package.json +3 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +2 -2
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +44 -47
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +20 -19
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +5 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +38 -34
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +37 -35
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +15 -13
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +10 -8
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +29 -26
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +49 -48
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/100_gistblock.asciidoc +1 -1
- data/lib/starter_web/pages/public/learn/where_to_go.adoc +43 -16
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +114 -0
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +81 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +70 -48
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +121 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +78 -70
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +2 -2
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +0 -1939
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +6 -8
- data/lib/starter_web/utilsrv/_defaults/package.json +13 -9
- data/lib/starter_web/utilsrv/package.json +6 -2
- data/lib/starter_web/utilsrv/server.js +228 -55
- metadata +45 -214
- data/assets/data/menu.1.html +0 -505
- data/lib/starter_web/_data/_defaults/j1_light_gallery.yml +0 -110
- data/lib/starter_web/_data/_defaults/template_settings.yml +0 -258
- data/lib/starter_web/_data/plugins/defaults/notebooks.yml +0 -61
- data/lib/starter_web/_data/plugins/notebooks.yml +0 -70
- data/lib/starter_web/assets/images/collections/blog/featured/staticgen.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/aditya-joshi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/alex-holyoake-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/anaya-katlego-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonella-lombardi-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/antonino-visalli-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/docker-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/jekyll.1200x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/signpost-1920x800-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/water-journal-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/banner/write-1280x600-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/brandon-mowinkel-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/daniel-jensen-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/florian-olivo-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/giammarco-boscaro-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/go-up-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/ian-schneider-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/jason-rosewell-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/lianhao-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/library-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280-v.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/mae-mue-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/nousnou-iwasaki-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/premium-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/robert-v-ruggiero-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/romain-vignes-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/spider-web-1920x1200-bw.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/the-place-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/modules/icons/algolia/search-by-algolia.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/d1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +0 -2025
- data/lib/starter_web/assets/images/modules/icons/netlify/nf-logo.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/favicon.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-256x256.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-32x32.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-512x512.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1-64x64.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/p1.ico +0 -0
- data/lib/starter_web/assets/images/modules/icons/p1/scalable/p1.svg +0 -2020
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-16x16.png +0 -0
- data/lib/starter_web/assets/images/modules/icons/patreon/favicon-32x32.png +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/000_browser_console-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/001_smee_channel-1280x400.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/002_gh_repo_settings-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/003_gh_webhook_settings-1280x1000.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/004_gh_webhook_settings-post-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/005_smee_channel_ping_receive-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/006_gh_redeliver_payload-1280x900.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/007_receive_redelivered_payload-1280x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_browser_console.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/000_smee_channel.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/002_gh_repo-settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/003_gh_webhook_settings.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/004_gh_webhook_settings-post.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/005_smee_channel_ping_received.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/006_gh_redeliver_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/007_receive_redelivered_payload.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/base/webhook_flow.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/flows/webhook_flow-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/j1_webhooks/scaleable/webhook_flow.svg +0 -432
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/auth_mgmr_signin_request_flow.uxf +0 -632
- data/lib/starter_web/assets/images/pages/j1_webhooks/uml/webhook_flow.uxf +0 -648
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/130_layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/content_inheritance_thumb.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/html_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-quickstart-windows.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1-template-theme.jpg +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/j1_layout.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/jekyll-minima-theme.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/lane_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/intro/layout_inheritance.png +0 -0
- data/lib/starter_web/assets/images/pages/kickstarter/web_in_a_day/preparations/msys_installation.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4j/apache-log4j-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log4r/code-1920x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/log4r/log4r-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_000.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_001.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_002.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_003.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_004.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_005.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_006.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_007.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_008.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_009.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_010.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_011.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_012.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_013.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_014.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_015.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_016.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_017.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_018.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_019.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_020.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_021.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_022.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_023.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_024.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_025.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_026.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_027.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_028.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_029.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_030.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_031.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_032.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_033.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_034.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_035.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_036.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_037.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_038.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_039.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_040.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_041.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_042.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_043.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_044.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_045.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_046.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_047.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_048.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_049.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_050.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_051.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_052.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_053.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_054.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_055.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_056.png +0 -0
- data/lib/starter_web/assets/images/pages/log_expert/image_057.png +0 -0
- data/lib/starter_web/assets/images/pages/material/apple-touch-icon.png +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jQuery-logo.png +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1280x600.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/jquery-banner-1920x800.jpg +0 -0
- data/lib/starter_web/assets/images/pages/pen/jquery/src/JQuery-Logo.svg +0 -122
- data/lib/starter_web/assets/images/pages/pen/jquery/src/banner.psd +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/coordinate-map.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/kibana-powershell.jpg +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/option_ignore_outgoing.png +0 -0
- data/lib/starter_web/assets/images/pages/winlogbeat/winlogbeat-dashboard.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
- data/lib/starter_web/pages/protected/site_search.adoc +0 -180
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +1 -5439
- data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +0 -93
- data/lib/starter_web/pages/public/legal/en/100_impress.adoc +0 -55
- data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +0 -53
- data/lib/starter_web/pages/public/legal/en/eu/cookie.policy.asciidoc +0 -50
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78a543ac0d0dee3dad1e4bd534637503a9a34c4b893b27a5a14846e4b063cd81
|
4
|
+
data.tar.gz: 8da8a6fc202db91f1ca1df24ab26d19af1b9b17993d29e6c2f1b6953b0d0e9cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9982f9b90952982a3a6ecd547cdc6d8fe9fa61601b0c08b06d866c1325351d1ad430ccb6e1def9642d56efacbfbc63df0ea06ff614421c39d7303e2ac0b2cdc
|
7
|
+
data.tar.gz: 1bb2db102b7454c7668055f5a61b0fad09db6322736b07568dc4b3fe6d0a39f33662024f83cf119327246637adac63e276ae0df643b4f1c7729b8ce9adb8194b
|
@@ -59,5 +59,9 @@
|
|
59
59
|
<li><a href="{{legal_item.legal.href}}">{{legal_item.legal.statement}}</a></li>
|
60
60
|
{% endif %}
|
61
61
|
|
62
|
+
{% if legal_item.legal.enabled and legal_item.legal.type == 'comments' %}
|
63
|
+
<li><a href="{{legal_item.legal.href}}">{{legal_item.legal.statement}}</a></li>
|
64
|
+
{% endif %}
|
65
|
+
|
62
66
|
{% endfor %}
|
63
67
|
</ul>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/procedures/provider/ad/google-adsense.html
|
4
|
-
# Support of
|
4
|
+
# Support of Advertising Provider Google Adsense for J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/procedures/provider/ads
|
4
|
-
# Liquid CONNECTOR for
|
4
|
+
# Liquid CONNECTOR for Advertising Providers supported by J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -0,0 +1,36 @@
|
|
1
|
+
{% comment %}
|
2
|
+
# -----------------------------------------------------------------------------
|
3
|
+
# ~/_includes/themes/j1/modules/connectors/analytic/google-analytics.html
|
4
|
+
# Support of analytics provider Google Analytics for J1 Template
|
5
|
+
#
|
6
|
+
# Product/Info:
|
7
|
+
# http://jekyll.one
|
8
|
+
#
|
9
|
+
# Copyright (C) 2021 Juergen Adams
|
10
|
+
#
|
11
|
+
# J1 Template is licensed under the MIT License.
|
12
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
13
|
+
# -----------------------------------------------------------------------------
|
14
|
+
# Test data:
|
15
|
+
# liquid_var: {{ liquid_var | debug }}
|
16
|
+
# -----------------------------------------------------------------------------
|
17
|
+
{% endcomment %}
|
18
|
+
|
19
|
+
{% comment %} Liquid procedures
|
20
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
21
|
+
|
22
|
+
{% comment %} Variables
|
23
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
24
|
+
{% assign tracking_id = site.data.j1_config.analytics.google.tracking_id }} %}
|
25
|
+
|
26
|
+
{% comment %} Main
|
27
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
28
|
+
|
29
|
+
<!-- Google Analytics: provide global site tag (gtag.js) -->
|
30
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{tracking_id}}"></script>
|
31
|
+
<script>
|
32
|
+
window.dataLayer = window.dataLayer || [];
|
33
|
+
function gtag(){dataLayer.push(arguments);}
|
34
|
+
gtag('js', new Date());
|
35
|
+
gtag('config', '{{tracking_id}}');
|
36
|
+
</script>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/modules/connectors/analytic/google-analytics.html
|
4
|
-
# Support of
|
4
|
+
# Support of Analytics Provider Google Analytics (V4) for J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{% comment %}
|
2
2
|
# -----------------------------------------------------------------------------
|
3
3
|
# ~/_includes/themes/j1/modules/connectors/analytics
|
4
|
-
# Liquid CONNECTOR for
|
4
|
+
# Liquid CONNECTOR for Analytic Providers supported by J1 Template
|
5
5
|
#
|
6
6
|
# Product/Info:
|
7
7
|
# http://jekyll.one
|
@@ -28,7 +28,7 @@
|
|
28
28
|
{% comment %} Main
|
29
29
|
-------------------------------------------------------------------------------- {% endcomment %}
|
30
30
|
|
31
|
-
<!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
|
31
|
+
<!-- [INFO ] [j1.modules.connectors.analytics ] [ start processing load region head, layout: {{page.layout}} ] -->
|
32
32
|
{% if analytics and page.analytics %}
|
33
33
|
|
34
34
|
{% case analytics_provider %}
|
@@ -42,4 +42,3 @@
|
|
42
42
|
|
43
43
|
{% endif %}
|
44
44
|
<!-- [INFO ] [j1.modules.connectors.analytics ] [ end processing ] -->
|
45
|
-
|
@@ -27,7 +27,7 @@
|
|
27
27
|
{% comment %} Main
|
28
28
|
-------------------------------------------------------------------------------- {% endcomment %}
|
29
29
|
|
30
|
-
<div id="disqus" class="container
|
30
|
+
<div id="disqus" class="container mb-5">
|
31
31
|
|
32
32
|
<div id="disqus_thread" class="disqus-thread">
|
33
33
|
<script>
|
data/_layouts/default.html
CHANGED
@@ -315,8 +315,18 @@ layout: compress
|
|
315
315
|
{% endif %}
|
316
316
|
});
|
317
317
|
</script>
|
318
|
-
<!-- [INFO ] [j1.layout.default.html ] [ end page processing ] -->
|
319
318
|
|
319
|
+
{% comment %} Initialize Window History (back on <ESC>)
|
320
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
321
|
+
<!-- [INFO ] [j1.layout.default.html ] [ initialize window.history.back ] -->
|
322
|
+
<script>
|
323
|
+
// Redirect on KEY <ESC>
|
324
|
+
window.onkeyup = function (e)
|
325
|
+
{
|
326
|
+
if (e.keyCode == 27) window.history.back();
|
327
|
+
}
|
328
|
+
</script>
|
329
|
+
<!-- [INFO ] [j1.layout.default.html ] [ end page processing ] -->
|
320
330
|
</html>
|
321
331
|
|
322
332
|
{% endcapture %}
|
data/assets/data/galleries.json
CHANGED
@@ -50,8 +50,8 @@ regenerate: true
|
|
50
50
|
-------------------------------------------------------------------------------- {% endcomment %}
|
51
51
|
{% assign environment = site.environment %}
|
52
52
|
|
53
|
-
{% assign jg_config_defaults = apps.defaults.
|
54
|
-
{% assign jg_config_settings = apps.
|
53
|
+
{% assign jg_config_defaults = apps.defaults.justifiedGallery.defaults %}
|
54
|
+
{% assign jg_config_settings = apps.justifiedGallery.settings %}
|
55
55
|
|
56
56
|
{% comment %} Set config options
|
57
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -35,8 +35,8 @@ regenerate: true
|
|
35
35
|
-------------------------------------------------------------------------------- {% endcomment %}
|
36
36
|
{% assign environment = site.environment %}
|
37
37
|
|
38
|
-
{% assign customizer_defaults = apps.defaults.
|
39
|
-
{% assign customizer_settings = apps.
|
38
|
+
{% assign customizer_defaults = apps.defaults.justifiedGalleryCustomizer.defaults %}
|
39
|
+
{% assign customizer_settings = apps.justifiedGalleryCustomizer.settings %}
|
40
40
|
|
41
41
|
{% comment %} Set config options
|
42
42
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -0,0 +1,166 @@
|
|
1
|
+
---
|
2
|
+
regenerate: true
|
3
|
+
---
|
4
|
+
|
5
|
+
{% capture cache %}
|
6
|
+
|
7
|
+
{% comment %}
|
8
|
+
# -----------------------------------------------------------------------------
|
9
|
+
# ~/assets/themes/j1/adapter/js/asciidoctor.js
|
10
|
+
# Liquid template to adapt Asciidoctor
|
11
|
+
#
|
12
|
+
# Product/Info:
|
13
|
+
# https://jekyll.one
|
14
|
+
# Copyright (C) 2021 Juergen Adams
|
15
|
+
#
|
16
|
+
# J1 Template is licensed under the MIT License.
|
17
|
+
# For details, see https://jekyll.one
|
18
|
+
# -----------------------------------------------------------------------------
|
19
|
+
# Test data:
|
20
|
+
# {{ liquid_var | debug }}
|
21
|
+
# -----------------------------------------------------------------------------
|
22
|
+
{% endcomment %}
|
23
|
+
|
24
|
+
/*
|
25
|
+
# -----------------------------------------------------------------------------
|
26
|
+
# ~/assets/themes/j1/adapter/js/asciidoctor.js
|
27
|
+
# J1 Adapter for Asciidoctor
|
28
|
+
#
|
29
|
+
# Product/Info:
|
30
|
+
# https://jekyll.one
|
31
|
+
#
|
32
|
+
# Copyright (C) 2021 Juergen Adams
|
33
|
+
#
|
34
|
+
# J1 Template is licensed under the MIT License.
|
35
|
+
# For details, see https://jekyll.one
|
36
|
+
# -----------------------------------------------------------------------------
|
37
|
+
# Adapter generated: {{site.time}}
|
38
|
+
# -----------------------------------------------------------------------------
|
39
|
+
*/
|
40
|
+
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
// ESLint shimming
|
43
|
+
// -----------------------------------------------------------------------------
|
44
|
+
/* eslint indent: "off" */
|
45
|
+
// -----------------------------------------------------------------------------
|
46
|
+
'use strict';
|
47
|
+
|
48
|
+
{% comment %} Main
|
49
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
50
|
+
j1.adapter['asciidoctor'] = (function (j1, window) {
|
51
|
+
|
52
|
+
{% comment %} Set global variables
|
53
|
+
------------------------------------------------------------------------------ {% endcomment %}
|
54
|
+
var environment = '{{environment}}';
|
55
|
+
var moduleOptions = {};
|
56
|
+
var _this;
|
57
|
+
var logger;
|
58
|
+
var logText;
|
59
|
+
|
60
|
+
// ---------------------------------------------------------------------------
|
61
|
+
// Helper functions
|
62
|
+
// ---------------------------------------------------------------------------
|
63
|
+
|
64
|
+
// ---------------------------------------------------------------------------
|
65
|
+
// Main object
|
66
|
+
// ---------------------------------------------------------------------------
|
67
|
+
return {
|
68
|
+
|
69
|
+
// -------------------------------------------------------------------------
|
70
|
+
// Initializer
|
71
|
+
// -------------------------------------------------------------------------
|
72
|
+
init: function (options) {
|
73
|
+
|
74
|
+
// -----------------------------------------------------------------------
|
75
|
+
// globals
|
76
|
+
// -----------------------------------------------------------------------
|
77
|
+
_this = j1.adapter.asciidoctor;
|
78
|
+
logger = log4javascript.getLogger('j1.adapter.asciidoctor');
|
79
|
+
|
80
|
+
// initialize state flag
|
81
|
+
_this.setState('started');
|
82
|
+
logger.info('state: ' + _this.getState());
|
83
|
+
logger.info('module is being initialized');
|
84
|
+
|
85
|
+
// -----------------------------------------------------------------------
|
86
|
+
// Default module settings
|
87
|
+
// -----------------------------------------------------------------------
|
88
|
+
var settings = $.extend({
|
89
|
+
module_name: 'j1.adapter.rtable',
|
90
|
+
generated: '{{site.time}}'
|
91
|
+
}, options);
|
92
|
+
|
93
|
+
// -----------------------------------------------------------------------
|
94
|
+
// asciidoctor initializer
|
95
|
+
// -----------------------------------------------------------------------
|
96
|
+
var log_text = 'asciidoctor is being initialized';
|
97
|
+
logger.info(log_text);
|
98
|
+
|
99
|
+
|
100
|
+
var dependencies_met_j1_finished = setInterval(function() {
|
101
|
+
if (j1.getState() == 'finished') {
|
102
|
+
|
103
|
+
j1.core.asciidoctor.init();
|
104
|
+
|
105
|
+
_this.setState('finished');
|
106
|
+
logger.info('state: ' + _this.getState());
|
107
|
+
|
108
|
+
clearInterval(dependencies_met_j1_finished);
|
109
|
+
} // END dependencies_met_j1_finished
|
110
|
+
}, 25);
|
111
|
+
|
112
|
+
}, // END init
|
113
|
+
|
114
|
+
// -------------------------------------------------------------------------
|
115
|
+
// messageHandler: MessageHandler for J1 CookieConsent module
|
116
|
+
// Manage messages send from other J1 modules
|
117
|
+
// -------------------------------------------------------------------------
|
118
|
+
messageHandler: function (sender, message) {
|
119
|
+
var json_message = JSON.stringify(message, undefined, 2);
|
120
|
+
|
121
|
+
logText = 'received message from ' + sender + ': ' + json_message;
|
122
|
+
logger.debug(logText);
|
123
|
+
|
124
|
+
// -----------------------------------------------------------------------
|
125
|
+
// Process commands|actions
|
126
|
+
// -----------------------------------------------------------------------
|
127
|
+
if (message.type === 'command' && message.action === 'module_initialized') {
|
128
|
+
//
|
129
|
+
// Place handling of command|action here
|
130
|
+
//
|
131
|
+
logger.info(message.text);
|
132
|
+
}
|
133
|
+
|
134
|
+
//
|
135
|
+
// Place handling of other command|action here
|
136
|
+
//
|
137
|
+
|
138
|
+
return true;
|
139
|
+
}, // END messageHandler
|
140
|
+
|
141
|
+
// -------------------------------------------------------------------------
|
142
|
+
// setState()
|
143
|
+
// Sets the current (processing) state of the module
|
144
|
+
// -------------------------------------------------------------------------
|
145
|
+
setState: function (stat) {
|
146
|
+
_this.state = stat;
|
147
|
+
}, // END setState
|
148
|
+
|
149
|
+
// -------------------------------------------------------------------------
|
150
|
+
// getState()
|
151
|
+
// Returns the current (processing) state of the module
|
152
|
+
// -------------------------------------------------------------------------
|
153
|
+
getState: function () {
|
154
|
+
return _this.state;
|
155
|
+
} // END getState
|
156
|
+
|
157
|
+
}; // END return
|
158
|
+
})(j1, window);
|
159
|
+
|
160
|
+
{% endcapture %}
|
161
|
+
{% if production %}
|
162
|
+
{{ cache | minifyJS }}
|
163
|
+
{% else %}
|
164
|
+
{{ cache | strip_empty_lines }}
|
165
|
+
{% endif %}
|
166
|
+
{% assign cache = nil %}
|
@@ -191,6 +191,30 @@ j1.adapter['carousel'] = (function (j1, window) {
|
|
191
191
|
// set space between the slides
|
192
192
|
$('head').append('<style>.{{slider_id}}-item{margin: {{slide_space}}px;}</style>');
|
193
193
|
|
194
|
+
// place additional text carousel styles (border/margin)
|
195
|
+
{% unless parallax %} {% if slider_type == 'text' %}
|
196
|
+
$('head').append('<style>#{{slider_id}}{border-left: 3px solid #0072ff;}</style>');
|
197
|
+
// wait until carousel has been initialized
|
198
|
+
var dependency_met_owl_initialized = setInterval (function () {
|
199
|
+
if ($('#{{slider_id}} > .owl-wrapper-outer').length) {
|
200
|
+
{% if font_size %}
|
201
|
+
$('head').append('<style>#{{slider_id}}{font-size:{{font_size}}}</style>');
|
202
|
+
{% else %}
|
203
|
+
$('head').append('<style>#{{slider_id}}{font-size:1.5rem}</style>');
|
204
|
+
{% endif %}
|
205
|
+
|
206
|
+
{% if font_weight %}
|
207
|
+
$('head').append('<style>#{{slider_id}}{font-weight:{{font_weight}}}</style>');
|
208
|
+
{% else %}
|
209
|
+
$('head').append('<style>#{{slider_id}}{font-weight:400}</style>');
|
210
|
+
{% endif %}
|
211
|
+
|
212
|
+
$('#{{slider_id}} > .owl-wrapper-outer').addClass('ml-3');
|
213
|
+
clearInterval(dependency_met_owl_initialized);
|
214
|
+
}
|
215
|
+
}, 25); // END dependency_met_owl_initialized
|
216
|
+
{% endif %} {% endunless %}
|
217
|
+
|
194
218
|
// place additional parallax styles if enabled
|
195
219
|
{% if parallax %}
|
196
220
|
|
@@ -669,11 +669,6 @@ j1.adapter['fam'] = (function (j1, window) {
|
|
669
669
|
}; // END return
|
670
670
|
})(j1, window);
|
671
671
|
|
672
|
-
{% comment %} process adapter COMPRESSED for production DISABLED
|
673
|
-
NOTE: for unknown reason, minifyJS detect JS/ES6 code
|
674
|
-
SyntaxError: Unexpected token: punc ())
|
675
|
-
--------------------------------------------------------------------------------
|
676
|
-
{% assign production = true %}
|
677
672
|
{% endcapture %}
|
678
673
|
{% if production %}
|
679
674
|
{{ cache | minifyJS }}
|
@@ -681,10 +676,3 @@ NOTE: for unknown reason, minifyJS detect JS/ES6 code
|
|
681
676
|
{{ cache | strip_empty_lines }}
|
682
677
|
{% endif %}
|
683
678
|
{% assign cache = nil %}
|
684
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
685
|
-
|
686
|
-
{% comment %} process adapter UNCOMPRESSED
|
687
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
688
|
-
{% endcapture %}
|
689
|
-
{{ cache | strip_empty_lines }}
|
690
|
-
{% assign cache = nil %}
|
@@ -238,6 +238,7 @@ var j1 = (function () {
|
|
238
238
|
var logger = log4javascript.getLogger('j1.init');
|
239
239
|
var url = new liteURL(window.location.href);
|
240
240
|
var baseUrl = url.origin;
|
241
|
+
// moment not used anymore
|
241
242
|
// var epoch = Math.floor(Date.now()/1000);
|
242
243
|
// var timestamp_now = moment.unix(epoch).format('YYYY-MM-DD HH:mm:ss');
|
243
244
|
var date = new Date();
|
@@ -275,6 +276,7 @@ var j1 = (function () {
|
|
275
276
|
var cookie_names = j1.getCookieNames();
|
276
277
|
var cookie_user_state_name = cookie_names.user_state;
|
277
278
|
var cookie_user_session_name = cookie_names.user_session;
|
279
|
+
// moment not used anymore
|
278
280
|
// var epoch = Math.floor(Date.now()/1000);
|
279
281
|
// var timestamp_now = moment.unix(epoch).format('YYYY-MM-DD HH:mm:ss');
|
280
282
|
var date = new Date();
|
@@ -284,14 +286,19 @@ var j1 = (function () {
|
|
284
286
|
var url;
|
285
287
|
var baseUrl;
|
286
288
|
|
287
|
-
|
288
|
-
|
289
|
+
// update cookie only, if (already) exists
|
290
|
+
//
|
291
|
+
if (user_state) {
|
292
|
+
user_state.session_active = false;
|
293
|
+
user_state.last_session_ts = timestamp_now;
|
294
|
+
|
295
|
+
j1.writeCookie({
|
296
|
+
name: cookie_user_state_name,
|
297
|
+
data: user_state,
|
298
|
+
expires: 365
|
299
|
+
});
|
300
|
+
}
|
289
301
|
|
290
|
-
j1.writeCookie({
|
291
|
-
name: cookie_user_state_name,
|
292
|
-
data: user_state,
|
293
|
-
expires: 365
|
294
|
-
});
|
295
302
|
});
|
296
303
|
|
297
304
|
// -----------------------------------------------------------------------
|
@@ -502,7 +509,7 @@ var j1 = (function () {
|
|
502
509
|
var cb_load_closure = function(banner_id) {
|
503
510
|
return function ( responseTxt, statusTxt, xhr ) {
|
504
511
|
if ( statusTxt == 'success' ) {
|
505
|
-
var logger = log4javascript.getLogger('j1.xhrData');
|
512
|
+
var logger = log4javascript.getLogger('j1.adapter.xhrData');
|
506
513
|
logText = 'loading banner completed on id: ' +banner_id;
|
507
514
|
logger.info(logText);
|
508
515
|
j1.setXhrDataState(banner_id, statusTxt);
|
@@ -612,7 +619,7 @@ var j1 = (function () {
|
|
612
619
|
-------------------------------------------------------------------------- {% endcomment %}
|
613
620
|
var cb_load_closure = function(panel_id) {
|
614
621
|
return function ( responseTxt, statusTxt, xhr ) {
|
615
|
-
var logger = log4javascript.getLogger('j1.xhrData');
|
622
|
+
var logger = log4javascript.getLogger('j1.adapter.xhrData');
|
616
623
|
if ( statusTxt == 'success' ) {
|
617
624
|
logText = 'loading panel completed on id: ' +panel_id;
|
618
625
|
logger.info(logText);
|
@@ -708,7 +715,7 @@ var j1 = (function () {
|
|
708
715
|
|
709
716
|
var cb_load_closure = function(footer_id) {
|
710
717
|
return function ( responseTxt, statusTxt, xhr ) {
|
711
|
-
var logger = log4javascript.getLogger('j1.xhrData');
|
718
|
+
var logger = log4javascript.getLogger('j1.adapter.xhrData');
|
712
719
|
if ( statusTxt == 'success' ) {
|
713
720
|
logText = 'footer loaded successfully on id: ' + footer_id;
|
714
721
|
logger.info(logText);
|
@@ -765,7 +772,7 @@ var j1 = (function () {
|
|
765
772
|
// to load the current state from the middleware (skipped in WEB mode)
|
766
773
|
// -------------------------------------------------------------------------
|
767
774
|
displayPage: function (options) {
|
768
|
-
var logger = log4javascript.getLogger('j1.displayPage');
|
775
|
+
var logger = log4javascript.getLogger('j1.adapter.displayPage');
|
769
776
|
var flickerTimeout = {{template_config.flicker_timeout}};
|
770
777
|
var url = new liteURL(window.location.href);
|
771
778
|
var baseUrl = url.origin;
|
@@ -1110,7 +1117,7 @@ var j1 = (function () {
|
|
1110
1117
|
// specified by xhr_container_id, xhr_data_path (options)
|
1111
1118
|
// -------------------------------------------------------------------------
|
1112
1119
|
xhrData: function (options, mod, status) {
|
1113
|
-
var logger = log4javascript.getLogger('j1.xhrData');
|
1120
|
+
var logger = log4javascript.getLogger('j1.adapter.xhrData');
|
1114
1121
|
var selector = $('#' + options.xhr_container_id);
|
1115
1122
|
var state = status;
|
1116
1123
|
var observer_options = {
|
@@ -1124,7 +1131,7 @@ var j1 = (function () {
|
|
1124
1131
|
|
1125
1132
|
var cb_load_closure = function(mod, id) {
|
1126
1133
|
return function (responseTxt, statusTxt, xhr) {
|
1127
|
-
var logger = log4javascript.getLogger('j1.xhrData');
|
1134
|
+
var logger = log4javascript.getLogger('j1.adapter.xhrData');
|
1128
1135
|
if ( statusTxt === 'success' ) {
|
1129
1136
|
// jadams, 2020-07-21: intermediate state should DISABLED
|
1130
1137
|
// if (state) {
|
@@ -1246,6 +1253,12 @@ var j1 = (function () {
|
|
1246
1253
|
// Config to use this attribute should be configurable
|
1247
1254
|
// (what config file?).
|
1248
1255
|
// Disabled use for now in general.
|
1256
|
+
//
|
1257
|
+
// The SameSite attribute of the Set-Cookie HTTP response header
|
1258
|
+
// allows you to declare if your cookie should be restricted to a
|
1259
|
+
// first-party or same-site context. Cookies with SameSite=None
|
1260
|
+
// must now also specify the Secure attribute (they require a secure
|
1261
|
+
// context/HTTPS).
|
1249
1262
|
// -------------------------------------------------------------------------
|
1250
1263
|
//
|
1251
1264
|
writeCookie: function (options /*name, data, [path, expires, SameSite, secure]*/) {
|
@@ -1255,10 +1268,12 @@ var j1 = (function () {
|
|
1255
1268
|
expires: 0,
|
1256
1269
|
path: '/',
|
1257
1270
|
// SameSite: 'Strict',
|
1271
|
+
SameSite: 'Lax',
|
1272
|
+
http_only: false,
|
1258
1273
|
secure: false
|
1259
1274
|
};
|
1260
1275
|
var settings = $.extend(defaults, options);
|
1261
|
-
|
1276
|
+
// moment not used anymore
|
1262
1277
|
// var epoch = Math.floor(Date.now()/1000);
|
1263
1278
|
// var timestamp_now = moment.unix(epoch).format('YYYY-MM-DD HH:mm:ss');
|
1264
1279
|
var date = new Date();
|
@@ -1277,11 +1292,11 @@ var j1 = (function () {
|
|
1277
1292
|
if (settings.expires > 0) {
|
1278
1293
|
Cookies.set(settings.name, data_encoded, {
|
1279
1294
|
expires: settings.expires,
|
1280
|
-
|
1295
|
+
SameSite: settings.SameSite
|
1281
1296
|
});
|
1282
1297
|
} else {
|
1283
1298
|
Cookies.set(settings.name, data_encoded, {
|
1284
|
-
|
1299
|
+
SameSite: settings.SameSite
|
1285
1300
|
});
|
1286
1301
|
}
|
1287
1302
|
} else {
|
@@ -1291,11 +1306,11 @@ var j1 = (function () {
|
|
1291
1306
|
if (settings.expires > 0) {
|
1292
1307
|
Cookies.set(settings.name, data_encoded, {
|
1293
1308
|
expires: settings.expires,
|
1294
|
-
|
1309
|
+
SameSite: settings.SameSite
|
1295
1310
|
});
|
1296
1311
|
} else {
|
1297
1312
|
Cookies.set(settings.name, data_encoded, {
|
1298
|
-
|
1313
|
+
SameSite: settings.SameSite
|
1299
1314
|
});
|
1300
1315
|
}
|
1301
1316
|
}
|
@@ -1793,8 +1808,8 @@ var j1 = (function () {
|
|
1793
1808
|
}, // END checkUserAgent
|
1794
1809
|
|
1795
1810
|
// -------------------------------------------------------------------------
|
1796
|
-
//
|
1797
|
-
//
|
1811
|
+
// generateId()
|
1812
|
+
// Generate a unique (thread) id used by the logger
|
1798
1813
|
// -------------------------------------------------------------------------
|
1799
1814
|
generateId: function (length) {
|
1800
1815
|
var result = '';
|
@@ -1804,7 +1819,7 @@ var j1 = (function () {
|
|
1804
1819
|
result += characters.charAt(Math.floor(Math.random() * charactersLength));
|
1805
1820
|
}
|
1806
1821
|
return result;
|
1807
|
-
}, // END
|
1822
|
+
}, // END generateId
|
1808
1823
|
|
1809
1824
|
// -------------------------------------------------------------------------
|
1810
1825
|
// getTrue()
|