j1-template 2021.0.16 → 2021.1.4
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/layouts/layout_metadata_generator.html +54 -39
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +15 -7
- data/_includes/themes/j1/modules/connectors/ads +4 -6
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +1 -1
- data/_includes/themes/j1/modules/connectors/analytics +5 -4
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +1 -1
- data/_includes/themes/j1/modules/connectors/comments +7 -6
- data/_includes/themes/j1/modules/connectors/translator +3 -4
- data/_includes/themes/j1/modules/navigator/generator.html +2 -38
- data/_includes/themes/j1/modules/navigator/generator.org.html +232 -0
- data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +2 -2
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +64 -22
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +14 -10
- data/_layouts/default.html +11 -1
- data/apps/public/cc/index.adoc +13 -4
- data/assets/data/authclient.html +234 -228
- data/assets/data/banner.html +34 -31
- data/assets/data/cookiebar.html +205 -198
- data/assets/data/fam.html +5 -0
- data/assets/data/footer.html +4 -0
- data/assets/data/footer.new.1.html +256 -0
- data/assets/data/footer.new.2.html +256 -0
- data/assets/data/footer.org.html +249 -0
- data/assets/data/galleries.json +2 -2
- data/assets/data/gallery_customizer.html +16 -6
- data/assets/data/menu.html +7 -2
- data/assets/data/mmenu.html +6 -2
- data/assets/data/mmenu_sidebar.html +5 -1
- data/assets/data/mmenu_toc.html +4 -0
- data/assets/data/panel.html +23 -15
- data/assets/data/quicklinks.html +6 -1
- data/assets/error_pages/HTTP204.html +2 -1
- data/assets/error_pages/HTTP400.html +2 -1
- data/assets/error_pages/HTTP401.html +2 -1
- data/assets/error_pages/HTTP403.html +2 -1
- data/assets/error_pages/HTTP404.html +2 -1
- data/assets/error_pages/HTTP500.html +2 -1
- data/assets/error_pages/HTTP501.html +2 -1
- data/assets/error_pages/HTTP502.html +2 -1
- data/assets/error_pages/HTTP503.html +2 -1
- data/assets/error_pages/HTTP520.html +2 -1
- data/assets/error_pages/HTTP521.html +2 -1
- data/assets/error_pages/HTTP533.html +2 -1
- 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 +48 -25
- data/assets/themes/j1/adapter/js/j1.new.js +1878 -0
- data/assets/themes/j1/adapter/js/j1.org.js +1874 -0
- data/assets/themes/j1/adapter/js/{jf_gallery.js → justifiedGallery.js} +9 -9
- data/assets/themes/j1/adapter/js/{gallery_customizer.js → justifiedGalleryCustomizer.js} +14 -13
- data/assets/themes/j1/adapter/js/logger.js +35 -23
- data/assets/themes/j1/adapter/js/mmenu.js +8 -4
- data/assets/themes/j1/adapter/js/navigator.js +77 -34
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +17 -14
- data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +3959 -239
- data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
- 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/_lightGallery/css/core/lg-fb-comment-box.css +58 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +778 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +981 -0
- data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +5 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +47 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +10 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +30 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +15 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +262 -0
- data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +15 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +1362 -0
- data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +4 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +402 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +8 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +206 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +126 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +101 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +105 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +107 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +478 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +342 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +5 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +527 -0
- data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +5 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.js +1368 -0
- data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.min.js +10 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.js +344 -0
- data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +7 -0
- 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 +3 -3
- 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 +77 -122
- data/lib/starter_web/_data/_defaults/j1_config.yml +460 -0
- 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} +1 -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 +45 -51
- data/lib/starter_web/_data/blocks/footer.yml +15 -3
- data/lib/starter_web/_data/blocks/panel.yml +13 -13
- data/lib/starter_web/_data/builder/blog_navigator.yml +6 -1
- data/lib/starter_web/_data/j1_config.yml +8 -7
- data/lib/starter_web/_data/layouts/blog_archive.yml +9 -0
- data/lib/starter_web/_data/layouts/collection.yml +10 -0
- data/lib/starter_web/_data/layouts/default.yml +25 -59
- data/lib/starter_web/_data/layouts/home.yml +6 -5
- data/lib/starter_web/_data/layouts/page.yml +1 -1
- data/lib/starter_web/_data/modules/authentication.yml +11 -100
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/cookiebar.yml +1 -0
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +37 -40
- data/lib/starter_web/_data/modules/defaults/navigator.yml +5 -2
- 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.yml +24 -21
- data/lib/starter_web/_data/modules/navigator_menu.yml +27 -8
- 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/resources.yml +37 -17
- 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/christa-dodoo-1920x1280.jpg +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 +42 -49
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-06-01-about-cookies.adoc → 2020-01-01-about-cookies.adoc} +37 -42
- data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-site-generators.adoc → 2021-03-01-site-generators.adoc} +51 -31
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +119 -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-01-post-test-series.adoc +2 -8
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +3 -10
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +4 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +4 -2
- data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +4 -2
- data/lib/starter_web/dot.gitattributes +1 -1
- data/lib/starter_web/dot.gitignore +5 -1
- data/lib/starter_web/index.html +7 -13
- data/lib/starter_web/package.json +5 -4
- data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +7 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +5 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +5 -0
- data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +7 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +6 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +41 -25
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +49 -29
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +47 -30
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +42 -14
- data/lib/starter_web/pages/public/blog/navigator/index.html +2 -5
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +45 -48
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.org.asciidoc +244 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +21 -20
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +6 -2
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +39 -35
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +38 -36
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +16 -14
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +11 -9
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +30 -27
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +50 -49
- 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 +33 -22
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +116 -0
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +82 -0
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +77 -53
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +123 -0
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +85 -72
- data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/justified_gallery.html +3 -3
- data/lib/starter_web/pages/public/previewer/md_color_palette.adoc +1 -1940
- data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +7 -9
- data/lib/starter_web/pages/public/previewer/rouge.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
- 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 +106 -216
- 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/_data/private.yml@localhost +0 -199
- 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/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/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -37
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/debug_variables.asciidoc +0 -47
- 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
@@ -6,7 +6,7 @@ regenerate: true
|
|
6
6
|
|
7
7
|
{% comment %}
|
8
8
|
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/themes/j1/adapter/js/
|
9
|
+
# ~/assets/themes/j1/adapter/js/justifiedGallery.js
|
10
10
|
# Liquid template to create the J1 Adapter for Justified Gallery
|
11
11
|
#
|
12
12
|
# Product/Info:
|
@@ -37,8 +37,8 @@ regenerate: true
|
|
37
37
|
|
38
38
|
{% comment %} Set config data
|
39
39
|
-------------------------------------------------------------------------------- {% endcomment %}
|
40
|
-
{% assign jf_gallery_defaults = apps.defaults.
|
41
|
-
{% assign jf_gallery_settings = apps.
|
40
|
+
{% assign jf_gallery_defaults = apps.defaults.justifiedGallery.defaults %}
|
41
|
+
{% assign jf_gallery_settings = apps.justifiedGallery.settings %}
|
42
42
|
|
43
43
|
{% comment %} Set config options
|
44
44
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -51,7 +51,7 @@ regenerate: true
|
|
51
51
|
|
52
52
|
/*
|
53
53
|
# -----------------------------------------------------------------------------
|
54
|
-
# ~/assets/themes/j1/adapter/js/
|
54
|
+
# ~/assets/themes/j1/adapter/js/justifiedGallery.js
|
55
55
|
# JS Adapter for JustifiedGallery
|
56
56
|
#
|
57
57
|
# Product/Info:
|
@@ -79,7 +79,7 @@ regenerate: true
|
|
79
79
|
|
80
80
|
{% comment %} Main
|
81
81
|
-------------------------------------------------------------------------------- {% endcomment %}
|
82
|
-
j1.adapter['
|
82
|
+
j1.adapter['justifiedGallery'] = (function (j1, window) {
|
83
83
|
|
84
84
|
{% comment %} Global variables
|
85
85
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -105,8 +105,8 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
105
105
|
|
106
106
|
{% comment %} Set global variables
|
107
107
|
-------------------------------------------------------------------------- {% endcomment %}
|
108
|
-
_this = j1.adapter.
|
109
|
-
logger = log4javascript.getLogger('j1.adapter.
|
108
|
+
_this = j1.adapter.justifiedGallery;
|
109
|
+
logger = log4javascript.getLogger('j1.adapter.justifiedGallery');
|
110
110
|
|
111
111
|
// initialize state flag
|
112
112
|
_this.setState('started');
|
@@ -117,7 +117,7 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
117
117
|
// Default module settings
|
118
118
|
// -----------------------------------------------------------------------
|
119
119
|
var settings = $.extend({
|
120
|
-
module_name: 'j1.adapter.
|
120
|
+
module_name: 'j1.adapter.justifiedGallery',
|
121
121
|
generated: '{{site.time}}'
|
122
122
|
}, options);
|
123
123
|
|
@@ -144,7 +144,7 @@ j1.adapter['jf_gallery'] = (function (j1, window) {
|
|
144
144
|
// Load AJAX data and initialize the jg gallery
|
145
145
|
// -----------------------------------------------------------------------
|
146
146
|
initialize: function (options) {
|
147
|
-
logger = log4javascript.getLogger('j1.adapter.
|
147
|
+
logger = log4javascript.getLogger('j1.adapter.justifiedGallery');
|
148
148
|
|
149
149
|
_this.setState('running');
|
150
150
|
logger.info('state: ' + _this.getState());
|
@@ -6,7 +6,7 @@ regenerate: true
|
|
6
6
|
|
7
7
|
{% comment %}
|
8
8
|
# -----------------------------------------------------------------------------
|
9
|
-
# ~/assets/themes/j1/adapter/js/
|
9
|
+
# ~/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js
|
10
10
|
# Liquid template to adapt Gallery Customizer JS functions
|
11
11
|
#
|
12
12
|
# Product/Info:
|
@@ -55,10 +55,10 @@ regenerate: true
|
|
55
55
|
|
56
56
|
{% comment %} Set config data
|
57
57
|
-------------------------------------------------------------------------------- {% endcomment %}
|
58
|
-
{% assign jf_gallery_defaults = apps.defaults.
|
59
|
-
{% assign jf_gallery_settings = apps.
|
60
|
-
{% assign gallery_customizer_defaults = site.data.apps.defaults.
|
61
|
-
{% assign gallery_customizer_settings = site.data.apps.
|
58
|
+
{% assign jf_gallery_defaults = apps.defaults.justifiedGallery.defaults %}
|
59
|
+
{% assign jf_gallery_settings = apps.justifiedGallery.settings %}
|
60
|
+
{% assign gallery_customizer_defaults = site.data.apps.defaults.justifiedGalleryCustomizer.defaults %}
|
61
|
+
{% assign gallery_customizer_settings = site.data.apps.justifiedGalleryCustomizer.settings %}
|
62
62
|
|
63
63
|
{% comment %} Set config options
|
64
64
|
-------------------------------------------------------------------------------- {% endcomment %}
|
@@ -77,7 +77,7 @@ regenerate: true
|
|
77
77
|
|
78
78
|
/*
|
79
79
|
# -----------------------------------------------------------------------------
|
80
|
-
# ~/assets/themes/j1/adapter/js/
|
80
|
+
# ~/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js
|
81
81
|
# J1 Adapter for Gallery Customizer
|
82
82
|
#
|
83
83
|
# Product/Info:
|
@@ -101,7 +101,7 @@ regenerate: true
|
|
101
101
|
|
102
102
|
{% comment %} Main
|
103
103
|
-------------------------------------------------------------------------------- {% endcomment %}
|
104
|
-
j1.adapter['
|
104
|
+
j1.adapter['justifiedGalleryCustomizer'] = (function (j1, window) {
|
105
105
|
|
106
106
|
{% comment %} Set global variables
|
107
107
|
------------------------------------------------------------------------------ {% endcomment %}
|
@@ -125,8 +125,8 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
|
|
125
125
|
// -----------------------------------------------------------------------
|
126
126
|
// globals
|
127
127
|
// -----------------------------------------------------------------------
|
128
|
-
_this = j1.adapter.
|
129
|
-
logger = log4javascript.getLogger('j1.adapter.
|
128
|
+
_this = j1.adapter.justifiedGalleryCustomizer;
|
129
|
+
logger = log4javascript.getLogger('j1.adapter.justifiedGalleryCustomizer');
|
130
130
|
|
131
131
|
// initialize state flag
|
132
132
|
_this.setState('started');
|
@@ -137,7 +137,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
|
|
137
137
|
// Default module settings
|
138
138
|
// -----------------------------------------------------------------------
|
139
139
|
var settings = $.extend({
|
140
|
-
module_name: 'j1.adapter.
|
140
|
+
module_name: 'j1.adapter.justifiedGalleryCustomizer',
|
141
141
|
generated: '{{site.time}}'
|
142
142
|
}, options);
|
143
143
|
|
@@ -152,8 +152,9 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
|
|
152
152
|
// data loader
|
153
153
|
// ---------------------------------------------------------------------
|
154
154
|
j1.xhrData ({
|
155
|
-
xhr_container_id:
|
156
|
-
xhr_data_path:
|
155
|
+
xhr_container_id: customizerOptions.xhr_container_id,
|
156
|
+
xhr_data_path: customizerOptions.xhr_data_path,
|
157
|
+
xhr_data_element: customizerOptions.xhr_data_element },
|
157
158
|
'j1.adapter.gallery_customizer',
|
158
159
|
'null'
|
159
160
|
);
|
@@ -174,7 +175,7 @@ j1.adapter['gallery_customizer'] = (function (j1, window) {
|
|
174
175
|
|
175
176
|
// -------------------------------------------------------------------
|
176
177
|
// load gallery data
|
177
|
-
j1.adapter.
|
178
|
+
j1.adapter.justifiedGallery.initialize(galleryOptions);
|
178
179
|
|
179
180
|
logger.info('initialize customizer ui|forms');
|
180
181
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
regenerate:
|
2
|
+
regenerate: true
|
3
3
|
---
|
4
4
|
|
5
5
|
{% capture cache %}
|
@@ -36,17 +36,21 @@ regenerate: false
|
|
36
36
|
|
37
37
|
{% comment %} Set config files
|
38
38
|
-------------------------------------------------------------------------------- {% endcomment %}
|
39
|
-
{% assign template_config
|
40
|
-
{% assign modules
|
39
|
+
{% assign template_config = site.data.j1_config %}
|
40
|
+
{% assign modules = site.data.modules %}
|
41
|
+
{% assign utilities = site.data.utilities %}
|
41
42
|
|
42
43
|
{% comment %} Set config data
|
43
44
|
-------------------------------------------------------------------------------- {% endcomment %}
|
44
|
-
{% assign
|
45
|
-
{% assign
|
45
|
+
{% assign util_server_defaults = utilities.defaults.util_srv.defaults %}
|
46
|
+
{% assign util_server_settings = utilities.util_srv.settings %}
|
47
|
+
{% assign logger_defaults = modules.defaults.log4javascript.defaults %}
|
48
|
+
{% assign logger_settings = modules.log4javascript.settings %}
|
46
49
|
|
47
50
|
{% comment %} Set config options
|
48
51
|
-------------------------------------------------------------------------------- {% endcomment %}
|
49
|
-
{% assign logger_options
|
52
|
+
{% assign logger_options = logger_defaults | merge: logger_settings %}
|
53
|
+
{% assign util_server_options = util_server_defaults | merge: util_server_settings %}
|
50
54
|
|
51
55
|
{% assign production = false %}
|
52
56
|
{% if environment == 'prod' or environment == 'production' %}
|
@@ -83,16 +87,16 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
83
87
|
// globals
|
84
88
|
// ---------------------------------------------------------------------------
|
85
89
|
var environment = '{{environment}}';
|
86
|
-
var page_id = j1.generateId(
|
90
|
+
var page_id = j1.generateId(11);
|
87
91
|
var cookie_names = j1.getCookieNames();
|
88
92
|
var loggerRequestCallback = false;
|
89
93
|
var loggerOptions = {};
|
94
|
+
var utilServerOptions = {};
|
90
95
|
var ajaxAppenderOptions = {};
|
91
96
|
var user_session;
|
92
97
|
var appDetected;
|
93
98
|
var _this;
|
94
99
|
var logger;
|
95
|
-
var log2disk;
|
96
100
|
var ajaxAppender;
|
97
101
|
var consoleAppender;
|
98
102
|
var jsonLayout;
|
@@ -107,7 +111,7 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
107
111
|
|
108
112
|
// ---------------------------------------------------------------------------
|
109
113
|
// helper functions
|
110
|
-
//
|
114
|
+
//
|
111
115
|
|
112
116
|
// ---------------------------------------------------------------------------
|
113
117
|
// getCustomData
|
@@ -162,7 +166,7 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
162
166
|
|
163
167
|
// ---------------------------------------------------------------------------
|
164
168
|
// main object
|
165
|
-
//
|
169
|
+
//
|
166
170
|
return {
|
167
171
|
|
168
172
|
// -------------------------------------------------------------------------
|
@@ -175,15 +179,15 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
175
179
|
// load module DEFAULTS|CONFIG to js object
|
176
180
|
/* eslint-disable */
|
177
181
|
loggerOptions = $.extend({}, {{logger_options | replace: '=>', ':' | replace: 'nil', '""'}});
|
182
|
+
utilServerOptions = $.extend({}, {{util_server_options | replace: '=>', ':' | replace: 'nil', '""'}});
|
178
183
|
/* eslint-enable */
|
179
184
|
ajaxAppenderOptions = loggerOptions.appenders[1].appender;
|
180
185
|
|
181
186
|
// -----------------------------------------------------------------------
|
182
187
|
// setup logger instances
|
183
|
-
//
|
188
|
+
//
|
184
189
|
_this = j1.adapter.logger;
|
185
190
|
logger = log4javascript.getLogger('j1.adapter.logger');
|
186
|
-
log2disk = log4javascript.getLogger('j1.adapter.log2disk');
|
187
191
|
|
188
192
|
// wait until user_session.mode is detected by j1.init()
|
189
193
|
//
|
@@ -200,32 +204,37 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
200
204
|
} else {
|
201
205
|
payloadURL = ajaxAppenderOptions.payload_url_web;
|
202
206
|
}
|
207
|
+
payloadURL = 'http://localhost:' + utilServerOptions.port + '/log2disk?request=write';
|
203
208
|
|
204
209
|
// -------------------------------------------------------------------
|
205
210
|
// setup appenders
|
206
211
|
// -------------------------------------------------------------------
|
207
212
|
|
208
213
|
// consoleAppender (browser console)
|
214
|
+
//
|
209
215
|
consoleAppender = new log4javascript.BrowserConsoleAppender();
|
210
216
|
consoleAppender.setThreshold(log4javascript.Level.DEBUG);
|
211
217
|
|
212
218
|
// ajaxAppender (XHR)
|
213
219
|
// HTTP POST log data on the utility server (write log to disk)
|
220
|
+
//
|
214
221
|
ajaxAppender = new log4javascript.AjaxAppender(payloadURL);
|
215
222
|
ajaxAppender.setThreshold(log4javascript.Level.DEBUG);
|
216
223
|
ajaxAppender.setWaitForResponse(true);
|
217
224
|
ajaxAppender.setSendAllOnUnload(true);
|
218
225
|
ajaxAppender.addHeader('X-Page-ID', page_id);
|
226
|
+
ajaxAppender.addHeader('X-TZ-Offset', loggerOptions.tz_offset);
|
219
227
|
|
220
228
|
// success callback for testing (disabled for default)
|
229
|
+
//
|
221
230
|
if (loggerRequestCallback) {
|
222
231
|
ajaxAppender.setRequestSuccessCallback(requestCallback);
|
223
232
|
}
|
224
233
|
|
225
|
-
//
|
234
|
+
// -----------------------------------------------------------------------
|
226
235
|
// setup layouts
|
227
|
-
//
|
228
|
-
patternLayout = new log4javascript.PatternLayout('[%d{HH:mm:ss.SSS}] [%f{4}] [%-5p] [%-
|
236
|
+
//
|
237
|
+
patternLayout = new log4javascript.PatternLayout('[%d{HH:mm:ss.SSS}] [%f{4}] [%-5p] [%-60c] [%f{1}:%f{2}] %m%n[%f{3}]');
|
229
238
|
httpPostDataLayout = new log4javascript.HttpPostDataLayout();
|
230
239
|
xmlLayout = new log4javascript.XmlLayout();
|
231
240
|
jsonLayout = new log4javascript.JsonLayout();
|
@@ -233,6 +242,7 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
233
242
|
simpleLayout = new log4javascript.SimpleLayout();
|
234
243
|
|
235
244
|
// Use the method getLineNumber() as the value for the 0th custom field
|
245
|
+
//
|
236
246
|
patternLayout.setCustomField('file', getCustomData);
|
237
247
|
patternLayout.setCustomField('line', getCustomData);
|
238
248
|
patternLayout.setCustomField('path', getCustomData);
|
@@ -242,9 +252,9 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
242
252
|
consoleAppender.setLayout(patternLayout);
|
243
253
|
ajaxAppender.setLayout(httpPostDataLayout);
|
244
254
|
|
245
|
-
//
|
255
|
+
// -----------------------------------------------------------------------
|
246
256
|
// setup log levels
|
247
|
-
//
|
257
|
+
//
|
248
258
|
if (environment == 'production') {
|
249
259
|
log4javascript.getLogger('j1').setLevel(log4javascript.Level.WARN);
|
250
260
|
}
|
@@ -255,16 +265,19 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
255
265
|
log4javascript.getLogger('j1').setLevel(log4javascript.Level.WARN);
|
256
266
|
}
|
257
267
|
|
258
|
-
//
|
268
|
+
// -----------------------------------------------------------------------
|
259
269
|
// setup (root) loggers
|
260
|
-
//
|
270
|
+
//
|
261
271
|
log4javascript.getRootLogger().addAppender(consoleAppender);
|
262
272
|
|
273
|
+
// to use the ajaxAppender (write logs to disk), the utility server
|
274
|
+
// needs to be enabled (util_srv.yml) as well
|
275
|
+
//
|
263
276
|
if (ajaxAppenderOptions.enabled) {
|
264
277
|
log4javascript.getRootLogger().addAppender(ajaxAppender);
|
265
|
-
logger.info('ajax appender detected as: enabled');
|
278
|
+
logger.info('ajax appender/util server detected as: enabled');
|
266
279
|
} else {
|
267
|
-
logger.info('ajax appender detected as: disabled');
|
280
|
+
logger.info('ajax appender/util server detected as: disabled');
|
268
281
|
}
|
269
282
|
|
270
283
|
_this.setState('finished');
|
@@ -274,7 +287,6 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
274
287
|
return true;
|
275
288
|
}
|
276
289
|
}, 25); // END 'mode detected'
|
277
|
-
|
278
290
|
}, // END init
|
279
291
|
|
280
292
|
// -------------------------------------------------------------------------
|
@@ -289,7 +301,7 @@ j1.adapter['logger'] = (function (j1, window) {
|
|
289
301
|
|
290
302
|
// -----------------------------------------------------------------------
|
291
303
|
// process commands|actions
|
292
|
-
//
|
304
|
+
//
|
293
305
|
if (message.type === 'command' && message.action === 'module_initialized') {
|
294
306
|
//
|
295
307
|
// place handling of command|action here
|
@@ -209,13 +209,17 @@ j1.adapter['mmenu'] = (function (j1, window) {
|
|
209
209
|
to
|
210
210
|
{% if forloop.last %}'data_loaded'{% else %}'data_loaded'{% endif %}){% if forloop.last %}{% else %},{% endif %}
|
211
211
|
-------------------------------------------------------------------------- {% endcomment %}
|
212
|
+
|
212
213
|
{% for item in nav_mmenu_options.menus %} {% if item.menu.enabled %}
|
213
|
-
|
214
|
-
{% assign
|
214
|
+
|
215
|
+
{% assign menu_id = item.menu.xhr_container_id %}
|
216
|
+
{% assign xhr_data_path = item.menu.xhr_data_path %}
|
217
|
+
{% assign xhr_data_element = item.menu.xhr_data_element %}
|
215
218
|
|
216
219
|
j1.xhrData ({
|
217
|
-
xhr_container_id:
|
218
|
-
xhr_data_path:
|
220
|
+
xhr_container_id: '{{menu_id}}',
|
221
|
+
xhr_data_path: '{{xhr_data_path}}',
|
222
|
+
xhr_data_element: '{{xhr_data_element}}' },
|
219
223
|
'j1.adapter.mmenu',
|
220
224
|
{% if forloop.last %}'data_loaded'{% else %}'null'{% endif %}){% if forloop.last %};{% else %};{% endif %}
|
221
225
|
|
@@ -160,13 +160,17 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
160
160
|
|
161
161
|
var nav_menu_id = '{{nav_menu_id}}';
|
162
162
|
var nav_quicklinks_id = '{{nav_quicklinks_id}}';
|
163
|
+
|
163
164
|
var authclient_modals_id = '{{authclient_modals_id}}';
|
165
|
+
var authclient_xhr_data_element = '{{authclient_options.xhr_data_element}}';
|
166
|
+
var authclient_modals_data_path = '{{authclient_options.xhr_data_path}}';
|
164
167
|
|
165
|
-
var colors_data_path = '{{template_config.colors_data_path}}';
|
166
|
-
var font_size_data_path = '{{template_config.font_size_data_path}}';
|
167
168
|
var nav_menu_data_path = '{{nav_menu_options.data_path}}';
|
168
169
|
var nav_quicklinks_data_path = '{{quicklinks_options.data_path}}';
|
169
|
-
|
170
|
+
|
171
|
+
var colors_data_path = '{{template_config.colors_data_path}}';
|
172
|
+
var font_size_data_path = '{{template_config.font_size_data_path}}';
|
173
|
+
|
170
174
|
|
171
175
|
var cookie_names = j1.getCookieNames();
|
172
176
|
var cookie_user_session_name = cookie_names.user_session;
|
@@ -235,7 +239,16 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
235
239
|
var navAuthClientOptions = {};
|
236
240
|
var navAuthMAnagerConfig = {};
|
237
241
|
|
242
|
+
var user_state = {};
|
243
|
+
var cookie_names = j1.getCookieNames();
|
244
|
+
var cookie_user_state_name = cookie_names.user_state;
|
245
|
+
|
238
246
|
var themerOptions = {};
|
247
|
+
var interval_count = 0;
|
248
|
+
var user_state_detected;
|
249
|
+
var themes_count;
|
250
|
+
var max_count = 100;
|
251
|
+
|
239
252
|
|
240
253
|
navDefaults = $.extend({}, {{navigator_defaults | replace: '=>', ':' }});
|
241
254
|
navBarConfig = $.extend({}, {{nav_bar_options | replace: '=>', ':' }});
|
@@ -282,26 +295,29 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
282
295
|
// Workaround: Set 'data_loaded' to be returned by all Deferred in
|
283
296
|
// the chain.
|
284
297
|
// See: https://stackoverflow.com/questions/5436327/jquery-deferreds-and-promises-then-vs-done
|
285
|
-
//
|
298
|
+
// authclient_xhr_data_element
|
286
299
|
// -----------------------------------------------------------------------
|
287
300
|
// data loader
|
288
301
|
// -----------------------------------------------------------------------
|
289
302
|
|
290
303
|
j1.xhrData({
|
291
|
-
xhr_container_id:
|
292
|
-
xhr_data_path:
|
304
|
+
xhr_container_id: navQuicklinksOptions.xhr_container_id,
|
305
|
+
xhr_data_path: navQuicklinksOptions.xhr_data_path,
|
306
|
+
xhr_data_element: navQuicklinksOptions.xhr_data_element },
|
293
307
|
'j1.adapter.navigator',
|
294
308
|
null);
|
295
309
|
j1.xhrData({
|
296
|
-
xhr_container_id:
|
297
|
-
xhr_data_path:
|
310
|
+
xhr_container_id: navAuthClientConfig.xhr_container_id,
|
311
|
+
xhr_data_path: navAuthClientConfig.xhr_data_path,
|
312
|
+
xhr_data_element: navAuthClientConfig.xhr_data_element },
|
298
313
|
'j1.adapter.navigator',
|
299
314
|
null);
|
300
315
|
j1.xhrData({
|
301
|
-
xhr_container_id:
|
302
|
-
xhr_data_path:
|
316
|
+
xhr_container_id: navMenuOptions.xhr_container_id,
|
317
|
+
xhr_data_path: navMenuOptions.xhr_data_path,
|
318
|
+
xhr_data_element: navMenuOptions.xhr_data_element },
|
303
319
|
'j1.adapter.navigator',
|
304
|
-
'
|
320
|
+
'data_loaded');
|
305
321
|
|
306
322
|
var dependencies_met_load_menu_finished = setInterval (function () {
|
307
323
|
if (j1.xhrDOMState['#'+navQuicklinksOptions.xhr_container_id] == 'not loaded' ||
|
@@ -339,30 +355,69 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
339
355
|
|
340
356
|
// load themes (to menu) if themer is enabled|finished
|
341
357
|
if (themerEnabled) {
|
358
|
+
|
359
|
+
logText = 'theme switcher: enabled';
|
360
|
+
logger.info(logText);
|
361
|
+
|
362
|
+
// Detect|Set J1 UserState
|
363
|
+
user_state_detected = j1.existsCookie(cookie_user_state_name);
|
364
|
+
if (user_state_detected) {
|
365
|
+
user_state = j1.readCookie(cookie_user_state_name);
|
366
|
+
}
|
367
|
+
|
342
368
|
var dependencies_met_page_finished = setInterval(function() {
|
343
|
-
|
369
|
+
// jadams, 2020-10-03: NOT needed to wait for j1 get finished
|
344
370
|
// if (j1.getState() == 'finished') {
|
345
|
-
|
371
|
+
// jadams, 2021-06-22: disabled check on themer get finished
|
372
|
+
// if (j1.adapter.themer.getState() == 'finished') {
|
373
|
+
if ('true' === 'true') {
|
346
374
|
// initialize theme switcher menus
|
347
|
-
logText = 'theme switcher detect: enabled';
|
348
|
-
logger.info(logText);
|
349
375
|
|
350
376
|
logText = 'load themes';
|
351
377
|
logger.info(logText);
|
352
378
|
|
353
|
-
// load REMOTE themes from Bootswatch API (localFeed EMPTY!)
|
354
|
-
$('#remote_themes').bootstrapThemeSwitcher({
|
355
|
-
localFeed: '',
|
356
|
-
bootswatchApiVersion: themerOptions.bootswatchApiVersion
|
357
|
-
});
|
358
|
-
|
359
379
|
// load LOCAL themes from JSON data
|
360
380
|
logText = 'load local themes (json file)';
|
361
381
|
logger.info(logText);
|
362
382
|
$('#local_themes').bootstrapThemeSwitcher({
|
363
383
|
localFeed: themerOptions.localThemes
|
364
384
|
});
|
365
|
-
|
385
|
+
|
386
|
+
// load REMOTE themes from Bootswatch API (localFeed EMPTY!)
|
387
|
+
$('#remote_themes').bootstrapThemeSwitcher({
|
388
|
+
localFeed: '',
|
389
|
+
bootswatchApiVersion: themerOptions.bootswatchApiVersion
|
390
|
+
});
|
391
|
+
|
392
|
+
// jadams, 2021-04-22: Up to now, it is unclear why in some
|
393
|
+
// cases the menu bar is NOT fully loaded for THEMES
|
394
|
+
// TODO: Add additional checks to find the reason
|
395
|
+
|
396
|
+
// added same checks (as already done by adapter themer) to
|
397
|
+
// check if remote theme menu detected as LOADED
|
398
|
+
//
|
399
|
+
var dependencies_met_remote_themes_loaded = setInterval(function() {
|
400
|
+
interval_count += 1;
|
401
|
+
themes_count = document.getElementById("remote_themes").getElementsByTagName("li").length;
|
402
|
+
if ( themes_count > 0 ) {
|
403
|
+
logger.info('remote themes loaded: successfully');
|
404
|
+
logger.info('remote themes loaded: successfully after: ' + interval_count * 25 + ' ms');
|
405
|
+
|
406
|
+
clearInterval(dependencies_met_remote_themes_loaded);
|
407
|
+
// clearInterval(dependencies_met_page_finished);
|
408
|
+
} else {
|
409
|
+
logger.debug('wait for theme to be loaded: ' + user_state.theme_name);
|
410
|
+
}
|
411
|
+
if (interval_count > max_count) {
|
412
|
+
logger.warn('remote themes loading: failed');
|
413
|
+
logger.warn('continue processing');
|
414
|
+
clearInterval(dependencies_met_remote_themes_loaded);
|
415
|
+
// clearInterval(dependencies_met_page_finished);
|
416
|
+
}
|
417
|
+
clearInterval(dependencies_met_page_finished);
|
418
|
+
}, 25);
|
419
|
+
|
420
|
+
// clearInterval(dependencies_met_page_finished);
|
366
421
|
}
|
367
422
|
_this.setState('initialized');
|
368
423
|
}, 25); // END 'dependencies_met_page_finished'
|
@@ -863,11 +918,6 @@ j1.adapter['navigator'] = (function (j1, window) {
|
|
863
918
|
}; // END return
|
864
919
|
})(j1, window);
|
865
920
|
|
866
|
-
{% comment %} process adapter COMPRESSED for production DISABLED
|
867
|
-
NOTE: for unknown reason, minifyJS detect JS/ES6 code
|
868
|
-
SyntaxError: Unexpected token: punc ())
|
869
|
-
--------------------------------------------------------------------------------
|
870
|
-
{% assign production = true %}
|
871
921
|
{% endcapture %}
|
872
922
|
{% if production %}
|
873
923
|
{{ cache | minifyJS }}
|
@@ -875,10 +925,3 @@ NOTE: for unknown reason, minifyJS detect JS/ES6 code
|
|
875
925
|
{{ cache | strip_empty_lines }}
|
876
926
|
{% endif %}
|
877
927
|
{% assign cache = nil %}
|
878
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
879
|
-
|
880
|
-
{% comment %} process adapter UNCOMPRESSED
|
881
|
-
-------------------------------------------------------------------------------- {% endcomment %}
|
882
|
-
{% endcapture %}
|
883
|
-
{{ cache | strip_empty_lines }}
|
884
|
-
{% assign cache = nil %}
|