j1-template 2021.0.6 → 2021.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  3. data/assets/data/menu.html +4 -4
  4. data/assets/themes/j1/adapter/js/fam.js +59 -27
  5. data/assets/themes/j1/adapter/js/j1.js +3 -2
  6. data/assets/themes/j1/adapter/js/themer.js +47 -23
  7. data/assets/themes/j1/adapter/js/toccer.js +97 -18
  8. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
  9. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  10. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +92 -81
  11. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  15. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  16. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  17. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  18. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  19. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  20. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  21. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  22. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  23. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  24. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  25. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  26. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  27. data/assets/themes/j1/modules/justifiedGallery/LICENSE +1 -1
  28. data/assets/themes/j1/modules/justifiedGallery/README.md +5 -3
  29. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/{jquery.justifiedGallery.js → justifiedGallery.js} +145 -145
  30. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/{jquery.justifiedGallery.min.js → justifiedGallery.min.js} +1 -2
  31. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +69 -53
  32. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +2 -2
  33. data/lib/j1/commands/generate.rb +5 -4
  34. data/lib/j1/version.rb +1 -1
  35. data/lib/j1_app/j1_auth_manager/auth_manager.rb +15 -0
  36. data/lib/starter_web/Gemfile +1 -1
  37. data/lib/starter_web/_config.yml +8 -6
  38. data/lib/starter_web/_data/apps/justified_gallery.yml +41 -13
  39. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  40. data/lib/starter_web/_data/blocks/banner.yml +19 -7
  41. data/lib/starter_web/_data/blocks/panel.yml +1 -1
  42. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  43. data/lib/starter_web/_data/modules/defaults/toccer.yml +3 -3
  44. data/lib/starter_web/_data/modules/fam.yml +8 -0
  45. data/lib/starter_web/_data/modules/navigator_menu.yml +28 -10
  46. data/lib/starter_web/_includes/attributes.asciidoc +43 -13
  47. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  48. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  49. data/lib/starter_web/assets/images/collections/blog/featured/markus-spiske-2.jpg +0 -0
  50. data/lib/starter_web/assets/images/collections/blog/featured/staticgen.jpg +0 -0
  51. data/lib/starter_web/assets/images/modules/attics/florian-olivo-1920x1280.jpg +0 -0
  52. data/lib/starter_web/assets/images/modules/attics/joel-filipe-1920x1280.jpg +0 -0
  53. data/lib/starter_web/assets/images/modules/attics/markus-spiske3-1920x1280.jpg +0 -0
  54. data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
  55. data/lib/starter_web/assets/images/modules/attics/{runner-1920x1200-bw.jpg → runner-1920x1200.jpg} +0 -0
  56. data/lib/starter_web/assets/images/modules/attics/{the-place-1920x1280-bw.jpg → the-place-1920x1280.jpg} +0 -0
  57. data/lib/starter_web/assets/images/modules/gallery/old_times/colored/image_01.jpg +0 -0
  58. data/lib/starter_web/assets/images/modules/gallery/old_times/image_01.jpg +0 -0
  59. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  60. data/lib/starter_web/assets/images/modules/gallery/old_times/image_03.jpg +0 -0
  61. data/lib/starter_web/assets/images/modules/gallery/old_times/image_04.jpg +0 -0
  62. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  63. data/lib/starter_web/assets/images/pages/panels/florian-olivo-1920x800.jpg +0 -0
  64. data/lib/starter_web/assets/images/pages/panels/responsive-text-1920x800.jpg +0 -0
  65. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  66. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  67. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  68. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  69. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  70. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  71. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  72. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  73. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  74. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  75. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  76. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  77. data/lib/starter_web/collections/posts/public/featured/_posts/{0000-00-00-welcome-to-j1-template.adoc.erb → 0000-00-00-welcome-to-j1.adoc.erb} +29 -13
  78. data/lib/starter_web/collections/posts/public/featured/_posts/{2020-05-01-top-open-source-static-site-generators.adoc → 2020-05-01-top-site-generators.adoc} +10 -15
  79. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +58 -54
  80. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
  81. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
  82. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
  83. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
  84. data/lib/starter_web/dot.gitignore +2 -3
  85. data/lib/starter_web/index.html +10 -12
  86. data/lib/starter_web/package.json +1 -1
  87. data/lib/starter_web/pages/public/about/about_site.adoc +15 -1811
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  97. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  98. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  99. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  100. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  101. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  102. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  103. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  104. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  105. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  106. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  107. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  108. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  109. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  110. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  111. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  112. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  113. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  114. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  115. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  116. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  117. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  118. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  119. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  125. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  126. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  127. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  128. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  129. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +5 -6
  130. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  131. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
  132. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +205 -90
  133. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -15
  134. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
  135. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
  136. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +47 -39
  137. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
  138. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  139. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  140. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  141. data/lib/starter_web/pages/public/learn/where_to_go.adoc +25 -50
  142. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +67 -36
  143. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
  144. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +15 -15
  145. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  146. data/lib/starter_web/pages/public/previewer/rouge.adoc +33 -24
  147. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  148. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  149. data/lib/starter_web/utilsrv/package.json +1 -1
  150. metadata +75 -39
  151. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  152. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  153. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.css +0 -110
  154. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/justifiedGallery.min.css +0 -110
  155. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/css/theme/uno.css +0 -23
  156. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.js +0 -1229
  157. data/assets/themes/j1/modules/justifiedGallery/_versions/v4.0.0/js/jquery.justifiedGallery.min.js +0 -8
  158. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  159. data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +0 -72
  160. data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +0 -118
  161. data/lib/starter_web/pages/public/about/become_a_patron.adoc +0 -71
  162. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  163. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  164. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  165. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  166. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  167. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  168. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  169. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  170. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  171. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  172. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  173. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
  174. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +0 -98
  175. data/lib/starter_web/pages/public/legal/de/200_terms_of_use.adoc +0 -55
  176. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +0 -295
  177. data/lib/starter_web/pages/public/legal/de/400_license_agreement.adoc +0 -395
  178. data/lib/starter_web/pages/public/legal/de/500_support.adoc +0 -20
  179. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +0 -441
  180. data/lib/starter_web/pages/public/legal/en/500_support.adoc +0 -27
@@ -1,75 +0,0 @@
1
- ---
2
- title: Web in a Day
3
- tagline: a first awesome web
4
- date: 2018-05-01 00:00:00
5
- description: >
6
- Modern static website in a day
7
-
8
- tags: [ WebDesign ]
9
- categories: [ Jekyll, Knowledge, Tutorial ]
10
-
11
- permalink: /pages/public/learn/kickstarter/web_in_a_day/first_awesome_web/
12
- regenerate: false
13
-
14
- resources: [ lightbox, carousel, fam ]
15
- resource_options:
16
- - attic:
17
- padding_top: 400
18
- padding_bottom: 50
19
- opacity: 0.5
20
- slides:
21
- - url: /assets/images/pages/kickstarter/web_in_a_day/get-started-1920x1280-bw.jpg
22
- alt: Photo by JESHOOTS.COM on Unsplash
23
- alignY: top
24
- badge:
25
- type: unsplash
26
- author: JESHOOTS.COM
27
- href: https://unsplash.com/@jeshoots/portfolio
28
- ---
29
-
30
- // Page Initializer
31
- // =============================================================================
32
- // Enable the Liquid Preprocessor
33
- :page-liquid:
34
-
35
- // Set page (local) attributes here
36
- // -----------------------------------------------------------------------------
37
- // :page--attr: <attr-value>
38
-
39
- // Load Liquid procedures
40
- // -----------------------------------------------------------------------------
41
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
42
-
43
- // Load page attributes
44
- // -----------------------------------------------------------------------------
45
- {% include {{load_attributes}} scope="all" %}
46
-
47
-
48
- // Page content
49
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
-
51
- // Include sub-documents
52
- // -----------------------------------------------------------------------------
53
- include::{documentdir}/300_first_awesome_web.asciidoc[]
54
-
55
- == Summarize!
56
-
57
- include::{includedir}/parts.asciidoc[tag=summarize]
58
-
59
- === Recap
60
-
61
- include::{includedir}/parts.asciidoc[tag=recap_300_first_awesome_web]
62
-
63
- === Whats Next
64
-
65
- include::{includedir}/parts.asciidoc[tag=whats_next_300_first_awesome_web]
66
-
67
- /////
68
- === All Chapters
69
-
70
- include::{includedir}/parts.asciidoc[tag=chapters_200_oauth_overview]
71
-
72
- === Further Reading
73
-
74
- include::{includedir}/parts.asciidoc[tag=further_reading_200_preparations]
75
- /////
@@ -1,176 +0,0 @@
1
- // ~/document_base_folder/000_includes
2
- // Asciidoc attribute includes: attributes.asciidoc
3
- // -----------------------------------------------------------------------------
4
-
5
-
6
- // URLs - References to sources on the Internet
7
- // -----------------------------------------------------------------------------
8
- tag::urls[]
9
-
10
- :j1-kickstarter-web-in-a-day-intro: /pages/public/learn/kickstarter/web_in_a_day/intro/
11
- :j1-web-in-a-day-meet-and-greet: /pages/public/learn/kickstarter/web_in_a_day/meet_and_greet/
12
- :j1-web-in-a-day-preparations: /pages/public/learn/kickstarter/web_in_a_day/preparations/
13
- :j1-web-in-a-day-first-awesome-web: /pages/public/learn/kickstarter/web_in_a_day/first_awesome_web/
14
-
15
-
16
- :j1-quick-references-jekyll: /pages/protected/manuals/quick_references/jekyll/
17
-
18
-
19
- :j1-download-quickstart-intro: /pages/public/learn/downloads/quickstart/intro/
20
-
21
-
22
- :github-home: https://github.com/
23
- :github-signin: https://github.com/login
24
- :github-pages-home: https://pages.github.com/
25
- :github-about-org: https://help.github.com/articles/about-organizations/
26
- :github-dev-oauth-app: https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/
27
- :github-repo-ruby-gem-bundler: https://github.com/bundler/bundler
28
- :github-repo-ruby-gem-jekyll-auth: https://github.com/benbalter/jekyll-auth
29
-
30
- :jekyll-home: https://jekyllrb.com/
31
-
32
- :git-home: https://git-scm.com/
33
-
34
- end::urls[]
35
-
36
-
37
- // TAGS - local Asciidoctor tags
38
- // -----------------------------------------------------------------------------
39
- tag::tags[]
40
-
41
- :debug: false
42
-
43
- :window: window="_blank"
44
- :no-clipboard: noclip
45
- :figure-caption: Figure
46
- :images-dir: pages/kickstarter/protected_web_in_a_day/000_authentication_intro
47
- :y: icon:check[role="green"]
48
- :n: icon:times[role="red"]
49
- :c: icon:file-alt[role="blue"]
50
- :beginner: icon:battery-quarter[role="md-blue"]
51
- :inter: icon:battery-half[role="md-blue"]
52
- :advanced: icon:battery-full[role="md-blue"]
53
- :magnify: icon:magnify[role="md-grey"]
54
- :emdash: &#8212;
55
- :bullet: &bull;
56
- :bigbullet: &#9679;
57
- :bigbigbullet: &#11044;
58
- :dot: &#46;
59
- :dotdot: &#46;&#46;
60
- :middot: &middot;
61
- :hs: &nbsp;
62
-
63
- end::tags[]
64
-
65
-
66
- // Data - Data elements for Asciidoctor extensions
67
- // -----------------------------------------------------------------------------
68
- tag::data[]
69
-
70
- :data-gh-oauth-autorization-page: "pages/kickstarter/app_in_a_day/gh-oauth-autorization-page.png, GH OAuth autorization page used by Jekyll One"
71
- :data-gh-oauth-login-page: "pages/kickstarter/app_in_a_day/gh-oauth-login-page.png, GH login page for autorization used by Jekyll One"
72
-
73
- :data-docker-hub-repositories: "assets/images/collections/blog/series/j1_private_sites/docker_hub_dashboard_ubuntu.png, Docker Hub - Repositories"
74
-
75
- :data-run-an-app-initial-starter-web: "pages/kickstarter/protected_web_in_a_day/100_run_an_app/100_run_an_app_initial_starter_web-1280x800.png, Initial Starter Web"
76
-
77
- :data-passenger-stack: "pages/kickstarter/protected_web_in_a_day/600_deploy_on_passenger/000-passenger-stack.png, Passenger Stack"
78
- :data-passenger-integration-modes: "pages/kickstarter/protected_web_in_a_day/600_deploy_on_passenger/000-passenger-integration-modes.png, Passenger Integration Modes"
79
-
80
- :data-netlify-associated-account-gh: "pages/kickstarter/protected_web_in_a_day/300_netlify/100_create_an_account_on_netlify-1280x800.png, Create an associated account at Netlify"
81
- :data-netlify-associate-a-gh-account: "pages/kickstarter/protected_web_in_a_day/300_netlify/100_register_on_netlify_with_github-680x800.png, Associate a Github account with Netlify"
82
- :data-netlify-authorize-ui: "pages/kickstarter/protected_web_in_a_day/300_netlify/100_authorize_ui-1280x600.png, Authorization with Netlify UI"
83
- :data-netlify-ui-oauth-applications: "pages/kickstarter/protected_web_in_a_day/300_netlify/120_netlify_oauth_applications-1280x800.png, Netlify UI Oauth Applications"
84
- :data-netlify-initial-starter-web: "pages/kickstarter/protected_web_in_a_day/300_netlify/200_netlify_initial_starter_web-1280x800.png, Initial Starter Web"
85
- :data-netlify-ui-manual-deployment: "pages/kickstarter/protected_web_in_a_day/300_netlify/200_netlify_ui_manual_deployment_log-1280x1500.png, Netlify UI - Deploment details for a manual deployment"
86
- :data-netlify-ui-manual-deployment-summary: "pages/kickstarter/protected_web_in_a_day/300_netlify/200_netlify_ui_manual_deployments_summary-1280x800.png, Netlify UI - Manual Deploment summary"
87
- :data-netlify-deploy-access-key: "pages/kickstarter/protected_web_in_a_day/300_netlify/deploy-key-cli.png, Netlify - Deploy Access Key"
88
- :data-netlify-webhook: "pages/kickstarter/protected_web_in_a_day/300_netlify/webhook-cli.png, Netlify - Webhook"
89
- :data-netlify-draft-url: "pages/kickstarter/protected_web_in_a_day/300_netlify/draft-deploy.png, Netlify - Draft URL"
90
-
91
-
92
- :data-download-image-create-starter: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/download_image_create_starter.800x600.png, Create a starter web skeleton"
93
- :data-run-container-build-start-web: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/run_container_build_start_web.800x400.png, Build and run the starter web"
94
-
95
- :data-j1-runtime-system: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1_runtime_system-1280x600.png, J1 Runtime System for content development"
96
- :data-j1-development-system: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1_development_system-1280x600.png, J1 Development System for full-stack development"
97
-
98
- :data-base-web-site-architecture: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/base_web_site_architecture-1280x600.png, Base Web Site Architecture"
99
- :data-base-web-app-architecture: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/base_web_app_architecture-1280x600.png, Base Web Application Architecture"
100
-
101
- :data-2-tier-architecture: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/2-tier-architecture-1280x600.png, 2-Tier Architecture"
102
- :data-3-tier-architecture: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/3-tier-architecture-1280x600.png, 3-Tier Architecture"
103
- :data-web-app-ruby-rack: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/rack_based_web_app-1280x400.png, Rack-based J1 Web Application"
104
-
105
- :data-j1-authclient-icon: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-authclient-icon.1280x600.png, J1 AuthClient Icon"
106
- :data-j1-authclient-signin: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-authclient-signin.1280x700.png, J1 AuthClient SignIn Dialog"
107
- :data-j1-authclient-signout: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-authclient-signout.1280x700.png, J1 AuthClient SignOut Dialog"
108
- :data-j1-sidebar-info: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-sidebar.info.1280x700.png, J1 SideBar Info"
109
-
110
- :data-j1-authmgr-access-premium-content: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-auth-mgr-access-premium-content.1280x800.png, J1 AuthManager - Access premium content"
111
- :data-j1-authmgr-access-denied: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-auth-mgr-access-denied.1280x600.png, J1 AuthManager - Access denied"
112
-
113
- :data-j1-disqus-comment-dialog: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-disqus-comment-dialog.1280x500.png, J1 Disqus Comment Dialog"
114
- :data-j1-authclient-multiple-provider: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/j1-app-authclient-multiple-provider-800x600.png, J1 AuthClient - Multiple provider"
115
-
116
- :data-disqus-register-application: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/100-disqus-register-application-1280x700.png, OAuth App Registration Page"
117
- :data-disqus-register-app-label: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/110-disqus-register-label-1280x100.png, OAuth App Registration - Label"
118
- :data-disqus-register-app-description: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/120-disqus-register-description-1280x100.png, OAuth App Registration - Description"
119
- :data-disqus-register-app-organisation: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/130-disqus-register-organisation-1280x100.png, OAuth App Registration - Organisation"
120
- :data-disqus-register-app-website: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/140-disqus-register-website-1280x100.png, OAuth App Registration - Website"
121
- :data-disqus-register-app-icon: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/150-disqus-register-icon-1280x100.png, OAuth App Registration - Icon"
122
- :data-disqus-register-app-settings: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/160-disqus-register-settings-1280x100.png, OAuth App Registration - Settings"
123
- :data-disqus-register-app-authentication: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/170-disqus-register-authentication-1280x100.png, OAuth App Registration - Authentication"
124
- :data-disqus-oauth-app-settings: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/180-disqus-oauth-settings-1280x800.png, OAuth App Settings"
125
-
126
- :data-disqus-j1-secured-web: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/200-j1-secure-web-1280x700.png, J1 Secured Web for Disqus"
127
- :data-disqus-j1-secured-web-signin: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/220-j1-secure-web-disqus-signin-1280x700.png, J1 Secured Web - SignIn for Disqus"
128
-
129
- :data-disqus-secure-web-sign-in: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/300-j1-secure-web-sign-in.1280x700.png, Sign in at the provider Disqus"
130
- :data-disqus-sidebar-user-state: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/310-j1-secure-web-user-state.1280x700.png, Sign in Disqus - User state"
131
- :data-disqus-secure-web-sign-out: "pages/kickstarter/protected_web_in_a_day/300_run_an_secured_app/320-j1-secure-web-sign-out.1280x700.png, Sign out from provider Disqus"
132
-
133
-
134
-
135
- :data-oauth-abstract-protocol-flow: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/outh_abstract_protocol_flow-800x600.png, High level OAuth Protocol Flow"
136
- :data-oauth-app-registration-disqus: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/oauth-app-registration-disqus-1280x700.png, OAuth App registration at Disqus"
137
- :data-oauth-authorization-code-grant-flow: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/oauth-authorization-code-grant-flow-1280x800.png, OAuth Authorization Code Grant Flow"
138
- :data-oauth-authentication-flow: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/outh_authentication_flow-1280x800.png, OAuth Authentication Flow"
139
-
140
- :data-auth-mgmr-accepted-page-request: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth_mgmr_accepted_page_request-1280x600.png, AuthManager - Successful page request"
141
- :data-auth-mgmr-declined-page-request: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth_mgmr_declined_page_request-1280x600.png, AuthManager - Declined page request"
142
-
143
- :data-auth-mgmr-explicit-authentication: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth-mgmr-explicit-authentication-1280x400.png, AuthManager - Explicit Authentication (SignIn)"
144
-
145
-
146
- :data-auth-mgmr-explicit-authentication-flow: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth-mgmr-explicit-authentication-flow-1280x800.png, AuthManager - Explicit Authentication Flow (SignIn)"
147
- :data-auth-mgmr-implicit-authentication-flow: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth-mgmr-implicit-authentication-flow-1280x800.png, AuthManager - IMplicit Authentication Flow (Page Request)"
148
-
149
-
150
-
151
- :data-auth-client-authorization-request: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth_client_authorization_request-800x700.png, AuthClient - Authorisation request"
152
-
153
-
154
- :data-oauth-successful-page-request: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/auth_successful_page_request-1280x800.png, OAuth, Successful page request"
155
-
156
- :data-gh-oauth-sign-in-page: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/gh-oauth-sign-in-page-400x600.png, OAuth User SignIn at Github"
157
- :data-gh-oauth-application-autorization-page: "pages/kickstarter/protected_web_in_a_day/000_authentication_intro/gh-oauth-application-authorization-page-400x400.png, OAuth Application Authorization page at Github"
158
-
159
- end::data[]
160
-
161
- // DOCUMENTS, local document resources
162
- // -----------------------------------------------------------------------------
163
- tag::documents[]
164
- end::documents[]
165
-
166
-
167
- // TABLES, local table resources
168
- // -----------------------------------------------------------------------------
169
- tag::tables[]
170
- end::tables[]
171
-
172
-
173
- // AUTHORS, local author information (e.g. article)
174
- // -----------------------------------------------------------------------------
175
- tag::authors[]
176
- end::authors[]
@@ -1,31 +0,0 @@
1
-
2
- *Web in a Day* is the first in a series of tutorials to learn how to
3
- create modern websites using Jekyll. This Kickstarter focuses on the basics
4
- of Jekyll and the J1 Template, which all people needs to know for a successful
5
- way to a modern static website using Jekyll and J1 Template.
6
-
7
- It is highly recommended to read and work on this tutorial by everyone -
8
- independently from what level of knowledge they begin. Jekyll is from classic
9
- Content Management Systems (CMS) like Joomla, WordPress or Drupal.
10
- No surprise: Jekyll and J1 are different as well.
11
-
12
- It sounds much, spending a whole day to get Jekyll to know - yes, it is much.
13
- You'll find a lot of Blog articles like *Jekyll in 15 minutes*. But what can
14
- be *learned* in 15 minutes?
15
-
16
- To be fair, most of these blogs are intended to help *installing Jekyll* and
17
- get the very first steps managed out of the box. If you run Jekyll out of the
18
- box, the resulting website (from the build-in theme scaffold) might somewhat
19
- frustrating. You'll get an elementary site created based on Jekyll's theme
20
- *minima*.
21
-
22
- To not waste time, get through the tutorial and find out what is the
23
- *Jekyll Way*. And if this the way you want to go.
24
-
25
- Have a good time, a good day learning Jekyll.
26
-
27
-
28
- == Meet and greet Jekyll
29
-
30
- lorem:sentences[5] +
31
- lorem:sentences[3] +
@@ -1,14 +0,0 @@
1
- lorem:sentences[5]
2
-
3
- To not waste time, get through the turorial and find out what is the *Jekyll Way*.
4
- And if this the way you want to go.
5
-
6
- Have a good time, a good day learning Jekyll.
7
-
8
- == Preparations
9
-
10
- lorem:sentences[5] +
11
- lorem:sentences[3] +
12
-
13
-
14
-
@@ -1,11 +0,0 @@
1
- lorem:sentences[5]
2
-
3
- To not waste time, get through the turorial and find out what is the *Jekyll Way*.
4
- And if this the way you want to go.
5
-
6
- Have a good time, a good day learning Jekyll.
7
-
8
- == First awesome website
9
-
10
- lorem:sentences[5] +
11
- lorem:sentences[3] +
@@ -1,193 +0,0 @@
1
- // ~/document_base_folder/000_includes
2
- // Asciidoc part includes: parts.asciidoc
3
- // -----------------------------------------------------------------------------
4
-
5
-
6
- // Summarize
7
- // -----------------------------------------------------------------------------
8
- // tag::summarize[]
9
- //
10
- A lot you've learned, time to summarize what is in behind. The last chapter
11
- *Summarize!* should help on that. Summarize! offer some handy sections to
12
- remember what was presented this chapter, giving an outlook what could be
13
- done next, an overview on all chapters this tutorial and finally useful
14
- links to read more.
15
-
16
- See all *sections* below: +
17
- mdi:backup-restore[24px, md-grey ml-3]
18
- <<Recap>> -- What has been done, what's *explored in current section* +
19
- mdi:skip-next[24px, md-grey ml-3]
20
- <<Whats Next>> -- Find to go further, what's *planned next* +
21
- mdi:format-section[24px, md-grey ml-3]
22
- <<All Chapters>> -- The full chain, *all chapters* +
23
- // mdi:book-open[24px, md-grey ml-3]
24
- // <<Further Reading>> -- List of helpful links to *get more* +
25
-
26
- //
27
- // end::summarize[]
28
-
29
- // End Summarize ---------------------------------------------------------------
30
-
31
-
32
- // Recap
33
- // -----------------------------------------------------------------------------
34
- // tag::recap_100_meet_and_greet_jekyll[]
35
- //
36
- To manage controlled page access, a web is transformed into an application.
37
- Additional software is needed for that: the J1 *AuthManager*. Build on the
38
- _Ruby_ software framework _Rack_.
39
-
40
- A middleware system based on Rack is not a *monolithic* block. It is a *stack*
41
- of *multiple* middleware components -- what the name *Rack* implies. What is
42
- called *Middlewares* is the next great magic: _Ruby_ libraries (Gem)
43
- managing a *specific* job as *service* in such a *chain*.
44
-
45
- For now folks, keep in mind a *Jekyll Site* can be transformed into an
46
- *Web Application* as a additional *mode* using *Rack*. Rack provides the
47
- *magic* in the middle to add additional dynamic processes provided by
48
- J1 AuthManager: *Services*.
49
- //
50
- // end::recap_100_meet_and_greet_jekyll[]
51
-
52
- // tag::recap_200_preparations[]
53
- //
54
- Running a web as an app is not that hard, isn't it? The magic is under the
55
- hood - the middlewares used by J1 AuthManager.
56
-
57
- lorem:sentences[5] +
58
- lorem:sentences[3] +
59
-
60
- Find here is a list of the basic Chocolatey commands used this section.
61
- And some more related ones. If you'd like to explore the Chocolatey CLI a bit
62
- *more*, give it a try before moving on.
63
-
64
- [cols="8a,4", options="header", role="rtable, full-width"]
65
- |===============================================================================
66
- |Command |Description
67
-
68
- |
69
- [source, bash]
70
- ----
71
- docker build -t first-app .
72
- ----
73
- |Create the `image` *friendlyname* using this directory's Dockerfile
74
-
75
- |
76
- [source, bash]
77
- ----
78
- docker run -p 4000:80 first-app
79
- ----
80
- |Run `container` *friendlyname* with a mapping of port 4000 to 80
81
-
82
- |
83
- [source, bash]
84
- ----
85
- docker run -d -p 4000:80 first-app
86
- ----
87
- |Run container *friendlyname* with mapping, but in `detached mode`
88
-
89
- |===============================================================================
90
- //
91
- // end::recap_200_preparations[]
92
-
93
- // tag::recap_300_first_awesome_web[]
94
- //
95
- OAuth2 is an authentication framework, a protocol suite that enables
96
- applications to obtain (limited) access to user account data hosted at
97
- service providers.
98
-
99
- The protocol suite introduces four roles, discussed in section <<OAuth Roles>>,
100
- that interacts each other in a sequence, a *flow*. In section <<Base OAuth Flow>>
101
- the sequence was discussed in more detail.
102
-
103
- // ifdef::backend-html5[]
104
- // .High Level OAuth Protocol Flow
105
- // lightbox::oauth-abstract-protocol-flow[ 800, {data-oauth-abstract-protocol-flow} ]
106
- // endif::[]
107
-
108
- Keep in mind the *roles* and the fact, the OAuth framework introduce a sequence,
109
- a *flow*. All this is theory - yes for sure, but good to know.
110
- //
111
- // end::recap_300_first_awesome_web[]
112
-
113
- // End Recap -------------------------------------------------------------------
114
-
115
-
116
- // Whats Next
117
- // -----------------------------------------------------------------------------
118
- // tag::whats_next_100_meet_and_greet_jekyll[]
119
- //
120
- Well done, folks. You learned all the basics, started an transformed web as
121
- an app. And you've seen what is basicly going on under the hood. Now, you're
122
- well prepared for going further, to have a more inside view.
123
-
124
- For the next, a bit more knowledge, some theory is needed what *service providers*
125
- are and how *authentication* works. You need to know what is *OAuth*, what
126
- is *authentication* using the OAuth *framework*.
127
-
128
- Welcome to the world of *OAuth2*, a leading technology for authentication,
129
- for creating relationships (associations) across different providers for
130
- your new amazing site, for your new project.
131
-
132
- mdi:skip-next[24px, md-grey]
133
- Go for link:{j1-web-in-a-day-preparations}[Preparations] then!
134
- //
135
- // end::whats_next_100_meet_and_greet_jekyll[]
136
-
137
- // tag::whats_next_200_preparations[]
138
- //
139
- After some practise and theory, you got a picture of what the OAuth
140
- framework is, a base understanding about the flow - what will happen. Now
141
- it's the time to see in real world what was discsused sofar.
142
-
143
- The following chapter is focussing a web that is *protected*. The app is not
144
- longer passing all the content pages. The content will be under *control*.
145
-
146
- // mdi:skip-next[24px, md-grey]
147
- // To make protected *J1 Webs* real, continue on link:{j1-web-apps-run-an-secured-app}[Run an Secured J1 App]
148
- // then!
149
-
150
- //
151
- // end::whats_next_200_preparations[]
152
-
153
- // tag::whats_next_300_first_awesome_web[]
154
- //
155
- After some practise and theory, you got a picture of what the OAuth
156
- framework is, a base understanding about the flow - what will happen. Now
157
- it's the time to see in real world what was discsused sofar.
158
-
159
- The following chapter is focussing a web that is *protected*. The app is not
160
- longer passing all the content pages. The content will be under *control*.
161
-
162
- // mdi:skip-next[24px, md-grey]
163
- // To make protected *J1 Webs* real, continue on link:{j1-web-apps-run-an-secured-app}[Run an Secured J1 App]
164
- // then!
165
-
166
- //
167
- // end::whats_next_300_first_awesome_web[]
168
-
169
- // End Whats Next --------------------------------------------------------------
170
-
171
-
172
- // Chapters
173
- // -----------------------------------------------------------------------------
174
- // tag::chapters[]
175
- //
176
- Find here an overview on *all* chapters this tutorial. +
177
- //
178
- // end::chapters[]
179
-
180
- // tag::chapters_100_meet_and_greet_jekyll[]
181
- //
182
- mdi:format-section[24px, md-grey ml-3]
183
- link:#[You are here -- Meet & Greet Jekyll] +
184
- mdi:format-section[24px, md-indigo ml-3]
185
- link:{j1-web-in-a-day-preparations}[Preparations] +
186
- mdi:format-section[24px, md-indigo ml-3]
187
- link:{j1-web-in-a-day-first-awesome-web}[A first awesome Web]
188
- //
189
- // end::chapters_100_meet_and_greet_jekyll[]
190
-
191
-
192
- // End Chapters ----------------------------------------------------------------
193
-