j1-template 2023.0.17 → 2023.2.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/layouts/content_generator_collection.html +2 -3
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -2
- data/_includes/themes/j1/modules/attics/generator.html +3 -1
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
- data/_layouts/{paginator/autopage_category.html → autopage_category.html} +1 -1
- data/_layouts/{paginator/autopage_collection.html → autopage_collection.html} +1 -6
- data/_layouts/{paginator/autopage_collections_tags.html → autopage_collections_tags.html} +1 -1
- data/_layouts/category.html +67 -0
- data/_layouts/readme +2 -0
- data/assets/data/banner.html +8 -6
- data/assets/data/masonry.html +397 -0
- data/assets/data/panel.html +1 -1
- data/assets/data/quicklinks.html +12 -12
- data/assets/data/slick.html +288 -0
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/attic.js +31 -16
- data/assets/themes/j1/adapter/js/j1.js +55 -21
- data/assets/themes/j1/adapter/js/masonry.js +119 -49
- data/assets/themes/j1/adapter/js/mmenu.js +4 -3
- data/assets/themes/j1/adapter/js/navigator.js +69 -19
- data/assets/themes/j1/adapter/js/slick.js +293 -44
- data/assets/themes/j1/adapter/js/toccer.js +27 -14
- data/assets/themes/j1/adapter/js/waves.js +3 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +294 -364
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/js/template.js +56 -60
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +35 -0
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +3 -3
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/LICENSE +20 -0
- data/assets/themes/j1/modules/slick/lightbox/README.md +138 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.css +128 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.min.css +1 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +353 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +2 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +1 -0
- data/assets/themes/j1/modules/slick/{README.md → slider/README.md} +13 -14
- data/assets/themes/j1/modules/slick/{css → slider/css}/slick.css +16 -10
- data/assets/themes/j1/modules/slick/slider/css/slick.min.css +15 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +292 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.svg +14 -14
- data/assets/themes/j1/modules/slick/slider/js/slick.js +3037 -0
- data/assets/themes/j1/modules/translator/css/translator.css +3 -19
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/log4r/yamlconfigurator.rb +41 -41
- data/lib/starter_web/Gemfile +4 -4
- data/lib/starter_web/README.md +142 -143
- data/lib/starter_web/_config.yml +55 -25
- data/lib/starter_web/_data/blocks/banner.yml +45 -46
- data/lib/starter_web/_data/blocks/defaults/banner.yml +4 -4
- data/lib/starter_web/_data/blocks/defaults/panel.yml +11 -11
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +9 -9
- data/lib/starter_web/_data/layouts/collection.yml +9 -0
- data/lib/starter_web/_data/layouts/home.yml +51 -21
- data/lib/starter_web/_data/layouts/page.yml +36 -3
- data/lib/starter_web/_data/layouts/post.yml +36 -3
- data/lib/starter_web/_data/layouts/raw.yml +35 -3
- data/lib/starter_web/_data/modules/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/attics.yml +2 -2
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -2
- data/lib/starter_web/_data/modules/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/comments.yml +1 -2
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/fab.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +7 -9
- data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/masonry.yml +52 -23
- data/lib/starter_web/_data/modules/defaults/navigator.yml +13 -12
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/particles.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/{scoller.yml → scroller.yml} +8 -2
- data/lib/starter_web/_data/modules/defaults/slick.yml +493 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/toccer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/translator.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/waves.yml +1 -2
- data/lib/starter_web/_data/modules/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/fab.yml +1 -2
- data/lib/starter_web/_data/modules/framer.yml +1 -2
- data/lib/starter_web/_data/modules/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/log4r.yml +140 -7
- data/lib/starter_web/_data/modules/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/masonry.yml +293 -24
- data/lib/starter_web/_data/modules/masterslider.yml +2 -1
- data/lib/starter_web/_data/modules/navigator.yml +13 -25
- data/lib/starter_web/_data/modules/navigator_menu.yml +632 -560
- data/lib/starter_web/_data/modules/particles.yml +1 -2
- data/lib/starter_web/_data/modules/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/scroller.yml +9 -3
- data/lib/starter_web/_data/modules/slick.yml +501 -0
- data/lib/starter_web/_data/modules/themer.yml +1 -2
- data/lib/starter_web/_data/modules/toccer.yml +1 -2
- data/lib/starter_web/_data/modules/translator.yml +1 -2
- data/lib/starter_web/_data/modules/waves.yml +1 -2
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +23 -4
- data/lib/starter_web/_data/plugins/paginator.yml +10 -13
- data/lib/starter_web/_data/puma/config.rb +10 -0
- data/lib/starter_web/_data/resources.yml +36 -29
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +2 -2
- data/lib/starter_web/_data/utilities/util_srv.yml +2 -3
- data/lib/starter_web/_includes/attributes.asciidoc +24 -0
- data/lib/starter_web/_includes/custom/static/readme +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
- data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -0
- data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
- data/lib/starter_web/_includes/custom/templates/readme +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +50 -0
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +7 -6
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +49 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/1.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/2.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/3.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/4.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/5.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/6.jpg +0 -0
- data/lib/starter_web/assets/images/custom/header/avatar.svg +248 -0
- data/lib/starter_web/assets/images/custom/header/family.svg +2209 -0
- data/lib/starter_web/assets/images/icons/controls/close-icon.svg +1 -0
- data/lib/starter_web/assets/images/icons/controls/up.svg +1 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-10.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-11.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-12.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-13.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-6.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-7.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-8.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-9.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-img.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-single.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +12 -8
- data/lib/starter_web/collections/_biography/becoming.adoc +11 -8
- data/lib/starter_web/collections/_biography/born-to-run.adoc +11 -8
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +11 -7
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +11 -9
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +11 -7
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +12 -10
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +94 -0
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +86 -0
- data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +95 -0
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +86 -0
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +97 -0
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +92 -0
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +105 -0
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +92 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +49 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +0 -13
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +117 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +117 -0
- data/lib/starter_web/dot.bundle/config +2 -0
- data/lib/starter_web/index.html +19 -4
- data/lib/starter_web/package.json +9 -9
- data/lib/starter_web/pages/public/about/site.adoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.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 +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/features/template.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +98 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +86 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +87 -0
- data/lib/starter_web/pages/public/{bookshelf/whats_up.adoc → learn/bookshelf/jekyll_collections.adoc} +31 -23
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +8 -4
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +21 -13
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -1
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +22 -5
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +14 -8
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +61 -5
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +15 -3
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +13 -1
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +10 -3
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +4 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +117 -116
- data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
- data/lib/starter_web/utilsrv/package.json +2 -2
- metadata +120 -38
- data/_layouts/paginator/readme +0 -2
- data/assets/themes/j1/modules/slick/css/slick.min.css +0 -15
- data/assets/themes/j1/modules/slick/js/slick.js +0 -2295
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +0 -144
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +0 -103
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -44
- 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/readme +0 -0
- data/lib/starter_web/pages/public/bookshelf/viewer_biography.adoc +0 -58
- /data/_layouts/{paginator/autopage_tags.html → autopage_tags.html} +0 -0
- /data/assets/themes/j1/modules/slick/{LICENSE → slider/LICENSE} +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.eot +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.ttf +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.woff +0 -0
- /data/assets/themes/j1/modules/slick/{ajax-loader.gif → slider/images/ajax-loader.gif} +0 -0
- /data/assets/themes/j1/modules/slick/{js → slider/js}/slick.min.js +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
@@ -12,30 +12,14 @@
|
|
12
12
|
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
+
@charset 'UTF-8';
|
15
16
|
|
16
|
-
/* hide the Google suggestion box */
|
17
|
-
#goog-gt-, #goog-gt-tt, .goog-te-balloon-frame {
|
18
|
-
display: none !important;
|
19
|
-
}
|
20
|
-
|
21
|
-
.goog-text-highlight {
|
22
|
-
background: none !important;
|
23
|
-
box-shadow: none !important;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* hide the powered by */
|
27
|
-
.goog-logo-link {
|
28
|
-
display: none !important;
|
29
|
-
}
|
30
|
-
.goog-te-gadget {
|
31
|
-
height: 28px !important; overflow: hidden;
|
32
|
-
}
|
33
|
-
|
34
|
-
/* hide the Google Translator TopBar (top frame) */
|
17
|
+
/* hide the Google Translator TopBar (suggestion box|top frame) */
|
35
18
|
/* See: https://stackoverflow.com/questions/11248673/hiding-google-translate-bar */
|
36
19
|
body {
|
37
20
|
top: 0 !important;
|
38
21
|
}
|
22
|
+
|
39
23
|
body > .skiptranslate {
|
40
24
|
display: none !important;
|
41
25
|
}
|
@@ -12,4 +12,4 @@
|
|
12
12
|
# See: https://github.com/jekyll-one-org/j1-template/blob/main/LICENSE.md
|
13
13
|
# -----------------------------------------------------------------------------
|
14
14
|
*/
|
15
|
-
|
15
|
+
@charset 'UTF-8';body{top:0 !important}body>.skiptranslate{display:none !important}
|
Binary file
|
Binary file
|
data/lib/j1/version.rb
CHANGED
@@ -2,7 +2,6 @@ require "log4r/logger"
|
|
2
2
|
require "log4r/outputter/staticoutputter"
|
3
3
|
require "log4r/logserver"
|
4
4
|
require "log4r/outputter/remoteoutputter"
|
5
|
-
|
6
5
|
require 'yaml'
|
7
6
|
|
8
7
|
module Log4r
|
@@ -19,8 +18,7 @@ module Log4r
|
|
19
18
|
# Define a parameter with a value
|
20
19
|
def self.[]=(param, value); @@params[param] = value end
|
21
20
|
|
22
|
-
|
23
|
-
def self.custom_levels( levels)
|
21
|
+
def self.custom_levels(levels)
|
24
22
|
return Logger.root if levels.size == 0
|
25
23
|
for i in 0...levels.size
|
26
24
|
name = levels[i].to_s
|
@@ -31,44 +29,45 @@ module Log4r
|
|
31
29
|
Log4r.define_levels *levels
|
32
30
|
end
|
33
31
|
|
34
|
-
# Given a filename, loads the YAML configuration for Log4r
|
35
|
-
def self.load_yaml_file(
|
36
|
-
actual_load( File.open(
|
32
|
+
# Given a filename, loads the YAML configuration for Log4r
|
33
|
+
def self.load_yaml_file(filename)
|
34
|
+
actual_load( File.open(filename))
|
37
35
|
end
|
38
36
|
|
39
|
-
# You can load a String YAML configuration instead of a file
|
40
|
-
def self.load_yaml_string(
|
41
|
-
actual_load(
|
37
|
+
# You can load a String YAML configuration instead of a file
|
38
|
+
def self.load_yaml_string(string)
|
39
|
+
actual_load(string)
|
42
40
|
end
|
43
41
|
|
44
|
-
|
42
|
+
|
43
|
+
############################################################################
|
45
44
|
private
|
46
|
-
|
45
|
+
############################################################################
|
47
46
|
|
48
|
-
def self.actual_load(
|
47
|
+
def self.actual_load(yaml_docs)
|
49
48
|
log4r_config = nil
|
50
49
|
# See: https://ruby-doc.org/stdlib-2.4.1/libdoc/psych/rdoc/Psych.html#method-c-load_documents
|
51
50
|
# NOTE: 'load_documents' method from Psych is deprecated (removed since ruby 2.5)
|
52
51
|
# NOTE: use ::load_stream instead
|
53
52
|
# YAML.load_documents( yaml_docs){ |doc|
|
54
|
-
YAML.load_stream(
|
55
|
-
doc.has_key?(
|
53
|
+
YAML.load_stream(yaml_docs){ |doc|
|
54
|
+
doc.has_key?('log4r_config') and log4r_config = doc['log4r_config'] and break
|
56
55
|
}
|
57
56
|
if log4r_config.nil?
|
58
57
|
raise ConfigError,
|
59
|
-
|
58
|
+
"Key 'log4r_config:' not defined in yaml documents", caller[1..-1]
|
60
59
|
end
|
61
|
-
decode_yaml(
|
60
|
+
decode_yaml(log4r_config)
|
62
61
|
end
|
63
62
|
|
64
|
-
def self.decode_yaml(
|
65
|
-
decode_pre_config(
|
66
|
-
cfg['outputters'].each{ |op| decode_outputter(
|
67
|
-
cfg['loggers'].each{ |lo| decode_logger(
|
68
|
-
cfg['logserver'].each{ |lo| decode_logserver(
|
63
|
+
def self.decode_yaml(cfg)
|
64
|
+
decode_pre_config(cfg['pre_config'])
|
65
|
+
cfg['outputters'].each{ |op| decode_outputter(op)}
|
66
|
+
cfg['loggers'].each{ |lo| decode_logger(lo)}
|
67
|
+
cfg['logserver'].each{ |lo| decode_logserver(lo)} unless cfg['logserver'].nil?
|
69
68
|
end
|
70
69
|
|
71
|
-
def self.decode_pre_config(
|
70
|
+
def self.decode_pre_config(pre)
|
72
71
|
return Logger.root if pre.nil?
|
73
72
|
decode_custom_levels( pre['custom_levels'])
|
74
73
|
global_config( pre['global'])
|
@@ -76,33 +75,34 @@ module Log4r
|
|
76
75
|
decode_parameters( pre['parameters'])
|
77
76
|
end
|
78
77
|
|
79
|
-
def self.decode_custom_levels(
|
78
|
+
def self.decode_custom_levels(levels)
|
80
79
|
return Logger.root if levels.nil?
|
81
|
-
begin custom_levels(
|
80
|
+
begin custom_levels(levels)
|
82
81
|
rescue TypeError => te
|
83
82
|
raise ConfigError, te.message, caller[1..-4]
|
84
83
|
end
|
85
84
|
end
|
86
85
|
|
87
|
-
def self.global_config(
|
86
|
+
def self.global_config(e)
|
88
87
|
return if e.nil?
|
89
88
|
globlev = e['level']
|
90
89
|
return if globlev.nil?
|
91
|
-
lev = LNAMES.index(globlev)
|
92
|
-
Log4rTools.validate_level(lev, 4)
|
90
|
+
lev = LNAMES.index(globlev) # find value in LNAMES
|
91
|
+
Log4rTools.validate_level(lev, 4) # choke on bad level
|
93
92
|
Logger.global.level = lev
|
94
93
|
end
|
95
94
|
|
96
|
-
def self.decode_parameters(
|
95
|
+
def self.decode_parameters(params)
|
97
96
|
params.each{ |p| @@params[p['name']] = p['value']} unless params.nil?
|
98
97
|
end
|
99
98
|
|
100
|
-
def self.decode_outputter(
|
99
|
+
def self.decode_outputter(op)
|
101
100
|
# fields
|
102
|
-
name
|
103
|
-
type
|
104
|
-
level
|
101
|
+
name = op['name']
|
102
|
+
type = op['type']
|
103
|
+
level = op['level']
|
105
104
|
only_at = op['only_at']
|
105
|
+
|
106
106
|
# validation
|
107
107
|
raise ConfigError, "Outputter missing name", caller[1..-3] if name.nil?
|
108
108
|
raise ConfigError, "Outputter missing type", caller[1..-3] if type.nil?
|
@@ -116,7 +116,7 @@ module Log4r
|
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
119
|
-
formatter = decode_formatter(
|
119
|
+
formatter = decode_formatter(op['formatter'])
|
120
120
|
|
121
121
|
opts = {}
|
122
122
|
opts[:level] = LNAMES.index(level) unless level.nil?
|
@@ -126,13 +126,13 @@ module Log4r
|
|
126
126
|
Outputter[name] = Log4r.const_get(type).new name, opts
|
127
127
|
rescue Exception => ae
|
128
128
|
raise ConfigError,
|
129
|
-
|
129
|
+
"Problem creating outputter: #{ae.message}", caller[1..-3]
|
130
130
|
end
|
131
|
-
Outputter[name].only_at(
|
131
|
+
Outputter[name].only_at(*only_levels) if only_levels.size > 0
|
132
132
|
Outputter[name]
|
133
133
|
end
|
134
134
|
|
135
|
-
def self.decode_formatter(
|
135
|
+
def self.decode_formatter(fo)
|
136
136
|
return nil if fo.nil?
|
137
137
|
type = fo['type']
|
138
138
|
raise ConfigError, "Formatter missing type", caller[1..-4] if type.nil?
|
@@ -168,19 +168,19 @@ module Log4r
|
|
168
168
|
str
|
169
169
|
end
|
170
170
|
|
171
|
-
def self.decode_logger(
|
171
|
+
def self.decode_logger(lo)
|
172
172
|
l = Logger.new lo['name']
|
173
|
-
decode_logger_common(
|
173
|
+
decode_logger_common(l, lo)
|
174
174
|
end
|
175
175
|
|
176
|
-
def self.decode_logserver(
|
176
|
+
def self.decode_logserver(lo)
|
177
177
|
name = lo['name']
|
178
178
|
uri = lo['uri']
|
179
179
|
l = LogServer.new name, uri
|
180
180
|
decode_logger_common(l, lo)
|
181
181
|
end
|
182
182
|
|
183
|
-
def self.decode_logger_common(
|
183
|
+
def self.decode_logger_common(l, lo)
|
184
184
|
level = lo['level']
|
185
185
|
additive = lo['additive']
|
186
186
|
trace = lo['trace']
|
@@ -192,4 +192,4 @@ module Log4r
|
|
192
192
|
outs.each {|n| l.add n.strip} unless outs.nil?
|
193
193
|
end
|
194
194
|
end
|
195
|
-
end
|
195
|
+
end
|
data/lib/starter_web/Gemfile
CHANGED
@@ -75,11 +75,11 @@ end
|
|
75
75
|
# Specify the THEME GEM used for the project
|
76
76
|
|
77
77
|
# Loaded from RubyGems
|
78
|
-
gem 'j1-template', '~> 2023.
|
78
|
+
gem 'j1-template', '~> 2023.2.0'
|
79
79
|
|
80
80
|
# Loaded from gem.fury.io
|
81
81
|
#source 'https://gem.fury.io/jekyll-one-org/' do
|
82
|
-
# gem 'j1-template', '~> 2023.0
|
82
|
+
# gem 'j1-template', '~> 2023.1.0'
|
83
83
|
#end
|
84
84
|
|
85
85
|
# ------------------------------------------------------------------------------
|
@@ -150,6 +150,7 @@ group :jekyll_plugins do
|
|
150
150
|
# Additional Jekyll Plugins (optional)
|
151
151
|
#
|
152
152
|
# gem 'jekyll-admin', '~> 0.11'
|
153
|
+
# gem 'jekyll-archives', '~> 2.2'
|
153
154
|
# gem 'jekyll-gist', '>= 1.5.0'
|
154
155
|
# gem 'jekyll-redirect-from', '>= 0.16.0'
|
155
156
|
end
|
@@ -219,7 +220,6 @@ gem 'bump', '~> 0.10'
|
|
219
220
|
#
|
220
221
|
# ------------------------------------------------------------------------------
|
221
222
|
#
|
222
|
-
# gem 'passenger', '>= 5.3'
|
223
223
|
gem 'puma', '>= 6.0'
|
224
224
|
|
225
225
|
# ------------------------------------------------------------------------------
|
@@ -273,7 +273,7 @@ gem 'omniauth-oauth2', '~> 1.7'
|
|
273
273
|
# GEM required for J1 logger based on log4r (middleware)
|
274
274
|
# ------------------------------------------------------------------------------
|
275
275
|
gem 'log4r', '~> 1.1', '>= 1.1.10'
|
276
|
-
gem 'date', '~>
|
276
|
+
gem 'date', '~> 3.0'
|
277
277
|
|
278
278
|
# ------------------------------------------------------------------------------
|
279
279
|
# END
|