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
@@ -1,9 +1,51 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_plugins/asciidoctor-extensions/callout-block.rb
|
3
|
+
# Asciidoctor extension for callouts as a (HTML-)block
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2021 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
|
+
include Asciidoctor
|
16
|
+
|
17
|
+
# A block macro that embeds a Callout block into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
#
|
21
|
+
# callout::<num>[<text>, <modifier]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# callout::1[Web Browser]
|
26
|
+
#
|
1
27
|
Asciidoctor::Extensions.register do
|
2
|
-
|
28
|
+
|
29
|
+
class CalloutBlockMacro < Extensions::BlockMacroProcessor
|
30
|
+
use_dsl
|
3
31
|
named :callout
|
4
|
-
|
5
|
-
|
6
|
-
|
32
|
+
name_positional_attributes 'text', 'modifier'
|
33
|
+
default_attrs 'text' => 'callout text to be specified', 'modifier' => 'ml-2 mb-1'
|
34
|
+
|
35
|
+
def process parent, target, attrs
|
36
|
+
doc = parent.document
|
37
|
+
modifier_class = (modifier = attrs['modifier']) ? %(#{modifier}) : nil
|
38
|
+
text_content = (text = attrs['text']) ? %(#{text}) : nil
|
39
|
+
html = %(
|
40
|
+
<div class="paragraph">
|
41
|
+
<p class="#{modifier}"> <i class="conum" data-value="#{target}"></i> #{text} </p>
|
42
|
+
</div>
|
43
|
+
)
|
44
|
+
|
45
|
+
create_pass_block parent, html, attrs, subs: nil
|
7
46
|
end
|
47
|
+
|
8
48
|
end
|
9
|
-
|
49
|
+
|
50
|
+
block_macro CalloutBlockMacro
|
51
|
+
end
|
@@ -1,3 +1,30 @@
|
|
1
|
+
# ------------------------------------------------------------------------------
|
2
|
+
# ~/_plugins/asciidoctor-extensions/conum.rb
|
3
|
+
# Asciidoctor extension for conums
|
4
|
+
#
|
5
|
+
# Product/Info:
|
6
|
+
# https://jekyll.one
|
7
|
+
#
|
8
|
+
# Copyright (C) 2021 Juergen Adams
|
9
|
+
#
|
10
|
+
# J1 Template is licensed under the MIT License.
|
11
|
+
# See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
|
12
|
+
#
|
13
|
+
# ------------------------------------------------------------------------------
|
14
|
+
require 'asciidoctor/extensions' unless RUBY_ENGINE == 'opal'
|
15
|
+
include Asciidoctor
|
16
|
+
|
17
|
+
# A inline macro that embeds a conum into the output document
|
18
|
+
#
|
19
|
+
# Usage
|
20
|
+
# ------------------------------------------------------------------------------
|
21
|
+
# conum::<num>[]
|
22
|
+
#
|
23
|
+
# Example:
|
24
|
+
#
|
25
|
+
# conum:1[]
|
26
|
+
#
|
27
|
+
# ------------------------------------------------------------------------------
|
1
28
|
Asciidoctor::Extensions.register do
|
2
29
|
inline_macro do
|
3
30
|
named :conum
|
@@ -6,4 +33,4 @@ Asciidoctor::Extensions.register do
|
|
6
33
|
Asciidoctor::Inline.new(parent, :callout, target.to_i).convert
|
7
34
|
end
|
8
35
|
end
|
9
|
-
end
|
36
|
+
end
|
@@ -99,15 +99,30 @@ module Jekyll
|
|
99
99
|
# or with frontmatter settings (exclude_from_search: true)
|
100
100
|
#
|
101
101
|
def generate(site)
|
102
|
-
Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
|
103
102
|
|
104
103
|
@site = site
|
104
|
+
index_dest = @site.instance_variable_get(:@dest)
|
105
|
+
rebuild = @module_config['rebuild']
|
106
|
+
index_file = index_dest + @module_config['index_file']
|
107
|
+
|
108
|
+
if @module_config['rebuild'] == false
|
109
|
+
if File.exist?(index_file)
|
110
|
+
Jekyll.logger.info 'J1 QuickSearch:', 'recreate index disabled.'
|
111
|
+
# Keep the index file from being cleaned by Jekyll
|
112
|
+
#
|
113
|
+
site.static_files << SearchIndexFile.new(site, site.dest, '/', @module_config['index_file'])
|
114
|
+
return
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
Jekyll.logger.info 'J1 QuickSearch:', 'creating search index ...'
|
105
119
|
|
106
120
|
# gather posts and pages
|
107
121
|
#
|
108
122
|
items = pages_to_index(site)
|
109
123
|
content_renderer = PageRenderer.new(site)
|
110
124
|
# index = []
|
125
|
+
# rebuild = @module_config['rebuild']
|
111
126
|
|
112
127
|
index_js = open(@lunr_path).read
|
113
128
|
|
@@ -345,6 +360,6 @@ end
|
|
345
360
|
|
346
361
|
module Jekyll
|
347
362
|
module J1LunrSearch
|
348
|
-
VERSION = '2021.0
|
363
|
+
VERSION = '2021.1.0'
|
349
364
|
end
|
350
365
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb
CHANGED
@@ -3,16 +3,18 @@ title: Welcome
|
|
3
3
|
tagline: jekyll for everyone
|
4
4
|
date: <%= Time.now.strftime('%Y-%m-%d') %> 00:00:00
|
5
5
|
|
6
|
-
tags: [ Example, Post ]
|
7
6
|
categories: [ Featured ]
|
7
|
+
tags: [ Example, Post ]
|
8
8
|
|
9
9
|
series: false
|
10
|
-
adsense: false
|
11
10
|
image: /assets/images/modules/attics/katie-moum-1920x1280.jpg
|
11
|
+
|
12
|
+
adsense: false
|
13
|
+
comments: false
|
14
|
+
advertising: false
|
12
15
|
toc: true
|
13
16
|
|
14
17
|
regenerate: false
|
15
|
-
|
16
18
|
resources: []
|
17
19
|
resource_options:
|
18
20
|
- attic:
|
@@ -38,10 +40,11 @@ resource_options:
|
|
38
40
|
|
39
41
|
// Place an excerpt at the most top position
|
40
42
|
// -----------------------------------------------------------------------------
|
41
|
-
All you
|
42
|
-
all the tricky things
|
43
|
-
|
44
|
-
|
43
|
+
All you’re doing at the end of the day is writing your content, and the J1
|
44
|
+
Template does all the tricky things: putting out HTML, Javascript, and CSS.
|
45
|
+
As a result, the site creation process gets out of your way.
|
46
|
+
|
47
|
+
Sounds fun, isn't it?
|
45
48
|
|
46
49
|
// [role="clearfix mb-3"]
|
47
50
|
excerpt__end
|
@@ -70,13 +73,10 @@ which use a database to load dynamic content, a static site will display
|
|
70
73
|
the same content to every user as it will directly load the HTML files
|
71
74
|
on the server.
|
72
75
|
|
73
|
-
A static
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
interface, giving you greater flexibility in how your content is served.
|
78
|
-
Cost-efficiency is another reason companies migrate to a static site because
|
79
|
-
static files are lightweight and often faster and cheaper to serve.
|
76
|
+
A static site serves the content straight to the user as it is stored on
|
77
|
+
the server-side. In opposition to WordPress, which uses a database to load
|
78
|
+
dynamic content, a static site will display the same content to every user
|
79
|
+
as it will directly load the HTML files on the server.
|
80
80
|
|
81
81
|
In the last few years, static sites have greatly increased in popularity.
|
82
82
|
This surge is primarily due to advances in developer tools (languages and
|
@@ -85,15 +85,14 @@ performance beyond the limits of a database-driven site.
|
|
85
85
|
|
86
86
|
=== What's different?
|
87
87
|
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
Website.
|
88
|
+
A dynamic website uses a database and PHP/MySQL to generate the content of
|
89
|
+
a page when a user requests it. For example, building a website using
|
90
|
+
WordPress CMS will result in having a dynamic Website.
|
92
91
|
|
93
92
|
Static sites can be written almost exclusively in HTML and serve a fixed
|
94
93
|
set of data that renders the same for every site visitor. Static sites use
|
95
94
|
server-side rendering to serve pre-built HTML, CSS, and JavaScript files to
|
96
|
-
a web browser. Dynamic sites operate in a completely different way
|
95
|
+
a web browser. Dynamic sites operate in a completely different way by
|
97
96
|
leveraging HTML and CSS as well as server-side scripting languages like PHP
|
98
97
|
to build webpages on the fly and serve different content to each site
|
99
98
|
visitor.
|
@@ -101,9 +100,9 @@ visitor.
|
|
101
100
|
=== Why use a static site?
|
102
101
|
|
103
102
|
What are the advantages of a static website over a dynamic site?
|
104
|
-
You may be wondering *Why should I build a static site when I could do
|
105
|
-
WordPress?*. Well, having a database implies a lot of downsides.
|
106
|
-
come the main advantages of using a static site over a dynamic
|
103
|
+
You may be wondering *Why should I build a static site when I could do the
|
104
|
+
same by using WordPress?*. Well, having a database implies a lot of downsides.
|
105
|
+
Here come the main advantages of using a static site over a dynamic
|
107
106
|
one.
|
108
107
|
|
109
108
|
Performance::
|
@@ -113,45 +112,45 @@ it is crazy fast to load. Indeed, when the user requests a page, there is
|
|
113
112
|
no need to request a database and various files to generate the
|
114
113
|
page itself as all the content is already placed in a one and only file:
|
115
114
|
an HTML one. That’s why by using a static site, you will get a boost in
|
116
|
-
your loading time that will provide great user experience for the
|
115
|
+
your loading time that will provide a great user experience for the
|
117
116
|
internauts. Moreover, we know that more and more people are surfing the
|
118
|
-
web using their smartphones with, sometimes, poor internet connections
|
119
|
-
|
117
|
+
web using their smartphones with, sometimes, poor internet connections.
|
118
|
+
That’s why having fast loading times will participate in making your
|
120
119
|
website mobile-friendly.
|
121
120
|
|
122
121
|
Security::
|
123
122
|
*Having a static website: say goodbye to hacking and security issues*.
|
124
|
-
|
125
|
-
updates every week? No worries, as a static site has no database, there
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
123
|
+
Are you tired of getting WordPress notifications about security issues and
|
124
|
+
updates every week? No worries, as a static site has no database, there are
|
125
|
+
close to no hack possible compared to a WordPress website. Indeed, your
|
126
|
+
site will have way fewer footprints and security issues since it will
|
127
|
+
only load plain HTML and CSS files. The security gain in having a static
|
128
|
+
website is one of the main reasons why many famous brands switch to a
|
129
|
+
static site instead of having their website on Drupal or WordPress.
|
131
130
|
|
132
131
|
Hosting::
|
133
132
|
*Building a static site and hosting: you will save you money*.
|
134
|
-
Using a static site, you will only have most of the time only HTML and
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
133
|
+
Using a static site, you will only have most of the time only HTML and CSS
|
134
|
+
files to host. This kind of file is super light which also means that you
|
135
|
+
will not need a powerhouse hosting to have a static site up and running.
|
136
|
+
Moreover, if your traffic suddenly increases, your site will not go down,
|
137
|
+
contrary to a dynamic site that should request the database each time
|
138
|
+
for each user.
|
140
139
|
|
141
140
|
Control::
|
142
|
-
*You're the master*.
|
143
|
-
Simple like this.
|
141
|
+
*You're the master*. You were using a CMS means, giving control over your
|
142
|
+
site to others. Simple like this.
|
144
143
|
|
145
144
|
== Why use a site generator?
|
146
145
|
|
147
146
|
Working with pure HTML files is annoying; senseless today. Indeed, if you need
|
148
147
|
to make a modification on your *self-managed* pages, you have to manually
|
149
148
|
change every file. That's monkey's work from the early days of static websites.
|
150
|
-
If your site comes with
|
151
|
-
is providing 100+ pages or the blog planned for hundreds of articles?
|
149
|
+
If your site comes with ten pages, it can be manageable but imagine if your
|
150
|
+
site is providing 100+ pages or the blog planned for hundreds of articles?
|
152
151
|
|
153
152
|
Using a static site generator will solve this issue as it separates the
|
154
|
-
content and the
|
153
|
+
content and the Template. To say it another way, by using a static site
|
155
154
|
generator, you will only need to make the modification once, and the
|
156
155
|
generator will apply it to all your pages.
|
157
156
|
|
@@ -164,6 +163,6 @@ better depending on the programming languages you already are familiar with.
|
|
164
163
|
Which static site generator should I use?
|
165
164
|
|
166
165
|
When I decided to go for a blog based on a static web, I personally
|
167
|
-
choose Jekyll as for me. It's a well
|
168
|
-
in case of trouble and the software gets regularly updated. This website is
|
166
|
+
choose Jekyll as for me. It's a well-known static site generator, good support
|
167
|
+
in case of trouble, and the software gets regularly updated. This website is
|
169
168
|
powered by Jekyll. For good reasons.
|
@@ -1,16 +1,18 @@
|
|
1
1
|
---
|
2
2
|
title: Cookies
|
3
3
|
tagline: good to know
|
4
|
-
date: 2020-
|
4
|
+
date: 2020-01-01 00:00:00
|
5
5
|
|
6
|
-
tags: [ About, Cookies ]
|
7
6
|
categories: [ Featured ]
|
7
|
+
tags: [ About, Cookies ]
|
8
8
|
|
9
|
-
series:
|
10
|
-
adsense: false
|
9
|
+
series: false
|
11
10
|
image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
|
12
|
-
|
13
|
-
|
11
|
+
|
12
|
+
adsense: false
|
13
|
+
comments: false
|
14
|
+
advertising: false
|
15
|
+
toc: true
|
14
16
|
|
15
17
|
regenerate: false
|
16
18
|
|
@@ -47,12 +49,11 @@ resource_options:
|
|
47
49
|
|
48
50
|
// Place an excerpt at the most top position
|
49
51
|
// -----------------------------------------------------------------------------
|
50
|
-
Is it needed for visitors to know what cookies are about? No doubts,
|
51
|
-
requested to inform - in Europe for legal reasons. All users visiting
|
52
|
-
are bothered all the time to accept
|
53
|
-
of today. For good reasons?
|
52
|
+
Is it needed for visitors to know what cookies are about? No doubts, you're
|
53
|
+
requested to inform - in Europe for legal reasons. All users visiting websites
|
54
|
+
are bothered all the time to accept cookies. For good reasons?
|
54
55
|
|
55
|
-
|
56
|
+
[role="clearfix mb-3"]
|
56
57
|
excerpt__end
|
57
58
|
|
58
59
|
// Load Liquid procedures
|
@@ -70,10 +71,10 @@ excerpt__end
|
|
70
71
|
// Include sub-documents
|
71
72
|
// -----------------------------------------------------------------------------
|
72
73
|
|
73
|
-
[[readmore]]
|
74
|
+
// [[readmore]]
|
74
75
|
== What are cookies technically
|
75
76
|
|
76
|
-
In short
|
77
|
+
In short: a cookie is a small piece of data that a website asks your
|
77
78
|
browser to store on your computer or mobile device. The cookie allows the
|
78
79
|
website to "remember" your actions or preferences over time. All modern
|
79
80
|
browsers support cookies, but users can set their browsers to decline them
|
@@ -88,35 +89,35 @@ General information storage::
|
|
88
89
|
Remember users' custom preferences
|
89
90
|
|
90
91
|
Support::
|
91
|
-
Help users complete tasks without
|
92
|
-
|
92
|
+
Help users complete tasks without re-entering information when browsing from
|
93
|
+
one page to another or when visiting the site later.
|
93
94
|
|
94
|
-
Track
|
95
|
-
Cookies can also be used for online
|
95
|
+
Track behavioral::
|
96
|
+
Cookies can also be used for online behavioral target advertising and to
|
96
97
|
show adverts relevant to something that the user searched for in the past.
|
97
|
-
The
|
98
|
+
The webserver supplying the webpage can store a cookie on the user's
|
98
99
|
computer or mobile device.
|
99
100
|
|
100
|
-
All these cookies are called
|
101
|
-
cookies is through JavaScript code contained or referenced
|
102
|
-
Each time the user requests a new page, the
|
101
|
+
All these cookies are called HTTP header cookies. Another way of storing
|
102
|
+
cookies is through JavaScript code contained or referenced on that page.
|
103
|
+
Each time the user requests a new page, the webserver can receive the
|
103
104
|
values of the cookies it previously set and return the page with content
|
104
|
-
relating to these values. Similarly, JavaScript code
|
105
|
-
cookie belonging to its domain and
|
105
|
+
relating to these values. Similarly, JavaScript code can read a
|
106
|
+
cookie belonging to its domain and act accordingly.
|
106
107
|
|
107
108
|
.How are they used
|
108
109
|
[NOTE]
|
109
110
|
====
|
110
111
|
The web server supplying the webpage can store a cookie on the user's
|
111
|
-
computer or mobile device. An external web server that manages files
|
112
|
-
or referenced in the
|
113
|
-
cookies are called
|
114
|
-
through JavaScript code contained or referenced
|
112
|
+
computer or mobile device. An external web server that manages files
|
113
|
+
included or referenced in the web page can store cookies. All these
|
114
|
+
cookies are called HTTP header cookies. Another way of storing cookies
|
115
|
+
is through JavaScript code contained or referenced on that page.
|
115
116
|
|
116
117
|
Each time the user requests a new page, the web server can receive the
|
117
118
|
values of the cookies it previously set and return the page with content
|
118
|
-
relating to these values. Similarly, JavaScript code
|
119
|
-
cookie belonging to its domain and
|
119
|
+
relating to these values. Similarly, JavaScript code can read a
|
120
|
+
cookie belonging to its domain and act accordingly.
|
120
121
|
====
|
121
122
|
|
122
123
|
== Types of cookies
|
@@ -124,7 +125,7 @@ cookie belonging to its domain and perform an action accordingly.
|
|
124
125
|
HTTP cookies are essential to the modern Internet but potentially a
|
125
126
|
vulnerability to your privacy. As a necessary part of web browsing, cookies
|
126
127
|
help web developers give you more personal, convenient website visits.
|
127
|
-
Cookies let websites remember you, your website logins, shopping carts and
|
128
|
+
Cookies let websites remember you, your website logins, shopping carts, and
|
128
129
|
more. But they can also be a treasure trove of private info for criminals
|
129
130
|
to spy on.
|
130
131
|
|
@@ -152,37 +153,38 @@ period of time.
|
|
152
153
|
Cookies classified by the *domain* to which it belongs, are either of:
|
153
154
|
|
154
155
|
First-party cookie::
|
155
|
-
First-party cookie cookies are set by the
|
156
|
-
and share the *same domain* you're
|
156
|
+
First-party cookie cookies are set by the webserver of the visited page
|
157
|
+
and share the *same domain* you're visiting. These are generally safer, as
|
157
158
|
long as users are browsing reputable websites or ones that have not been
|
158
159
|
compromised.
|
159
160
|
|
160
161
|
Third-party cookies::
|
161
162
|
Third-party cookies are stored by a *different* domain to the visited page.
|
162
|
-
This can happen when the webpage references a
|
163
|
+
This can happen when the webpage references a file located outside its domain.
|
163
164
|
Third-party cookies let advertisers or analytics companies track the user's
|
164
165
|
browsing history across the web on *any* sites that contain their ads.
|
165
166
|
|
167
|
+
|
166
168
|
== Security aspects on using cookies
|
167
169
|
|
168
|
-
Without cookies the web would not work as it does today. However, since the
|
169
|
-
mid 90ies when cookies were invented, the web changed quite a lot and so did
|
170
|
-
the attack methods on web applications; as mentioned the
|
170
|
+
Without cookies, the web would not work as it does today. However, since the
|
171
|
+
mid 90ies when cookies were invented, the web changed quite a lot, and so did
|
172
|
+
the attack methods on web applications; as mentioned, the Internet is not a
|
171
173
|
friendly place.
|
172
174
|
|
173
|
-
A well-known attack method is known as Cross
|
175
|
+
A well-known attack method is known as Cross-Site Request Forgery or short
|
174
176
|
*CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
|
175
|
-
unwanted actions.
|
176
|
-
not generally *unsafe
|
177
|
+
unwanted actions. A cookie may play a *role* in such scenarios, but they are
|
178
|
+
not generally *unsafe* if you want, you can read more about that on the
|
177
179
|
CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
|
178
180
|
|
179
181
|
== How to control cookies
|
180
182
|
|
181
183
|
Users can take control, used or *not* used, or delete cookies. For more
|
182
184
|
details, see {url-about-cookies--home}[AboutCookies]. You can delete
|
183
|
-
all cookies that are already on your computer and you can set most
|
185
|
+
all cookies that are already on your computer, and you can set most
|
184
186
|
browsers to prevent them from being placed.
|
185
187
|
|
186
188
|
If you do this, however, you may have to manually adjust some preferences
|
187
|
-
every time you visit a site and some services and functionalities may not
|
189
|
+
every time you visit a site, and some services and functionalities may not
|
188
190
|
work.
|