j1-template 2022.0.1 → 2022.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +14 -14
  3. data/_includes/themes/j1/layouts/content_generator_post.html +1 -1
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +3 -13
  5. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +4 -5
  6. data/_includes/themes/j1/modules/navigator/generator.html +3 -3
  7. data/_includes/themes/j1/modules/search/docsearch.html +1 -1
  8. data/_includes/themes/j1/procedures/global/create_bs_button.proc +4 -4
  9. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +2 -2
  10. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  11. data/_includes/themes/j1/procedures/posts/pager.proc +2 -2
  12. data/_layouts/default.html +3 -11
  13. data/assets/data/authclient.html +11 -11
  14. data/assets/data/cookieconsent.html +8 -8
  15. data/assets/data/gallery_customizer.html +4 -4
  16. data/assets/data/menu.html +13 -13
  17. data/assets/data/mmenu.html +2 -2
  18. data/assets/data/private.json +1 -5
  19. data/assets/data/quicklinks.html +62 -47
  20. data/assets/data/rtext_resizer.html +1 -1
  21. data/assets/data/themes.bootswatch.json +2 -2
  22. data/assets/data/themes.json +4 -4
  23. data/assets/data/translator.html +8 -8
  24. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  25. data/assets/themes/j1/adapter/js/cookieConsent.js +18 -13
  26. data/assets/themes/j1/adapter/js/j1.js +23 -23
  27. data/assets/themes/j1/adapter/js/navigator.js +3 -3
  28. data/assets/themes/j1/adapter/js/themer.js +13 -4
  29. data/assets/themes/j1/adapter/js/translator.js +10 -6
  30. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +0 -0
  31. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.min.css +0 -0
  32. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +326 -18
  33. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.min.css +1 -1
  34. data/assets/themes/j1/core/js/template.js +143 -65
  35. data/assets/themes/j1/core/js/template.min.js +5 -5
  36. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  37. data/assets/themes/j1/modules/bmd/js/bmd.js +3 -3
  38. data/assets/themes/j1/modules/bmd/js/bmd.min.js +1 -1
  39. data/assets/themes/j1/modules/cryptoJS/js/aes.js +35 -0
  40. data/assets/themes/j1/modules/cryptoJS/js/aes.min.js +35 -0
  41. data/assets/themes/j1/modules/cryptoJS/js/hmac-md5.js +21 -0
  42. data/assets/themes/j1/modules/cryptoJS/js/hmac-ripemd160.js +31 -0
  43. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha1.js +17 -0
  44. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha224.js +19 -0
  45. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha256.js +18 -0
  46. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha3.js +21 -0
  47. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha384.js +27 -0
  48. data/assets/themes/j1/modules/cryptoJS/js/hmac-sha512.js +25 -0
  49. data/assets/themes/j1/modules/cryptoJS/js/md5.js +19 -0
  50. data/assets/themes/j1/modules/cryptoJS/js/pbkdf2.js +19 -0
  51. data/assets/themes/j1/modules/cryptoJS/js/rabbit-legacy.js +36 -0
  52. data/assets/themes/j1/modules/cryptoJS/js/rabbit.js +36 -0
  53. data/assets/themes/j1/modules/cryptoJS/js/rc4.js +33 -0
  54. data/assets/themes/j1/modules/cryptoJS/js/ripemd160.js +29 -0
  55. data/assets/themes/j1/modules/cryptoJS/js/sha1.js +15 -0
  56. data/assets/themes/j1/modules/cryptoJS/js/sha224.js +17 -0
  57. data/assets/themes/j1/modules/cryptoJS/js/sha256.js +16 -0
  58. data/assets/themes/j1/modules/cryptoJS/js/sha3.js +19 -0
  59. data/assets/themes/j1/modules/cryptoJS/js/sha384.js +25 -0
  60. data/assets/themes/j1/modules/cryptoJS/js/sha512.js +23 -0
  61. data/assets/themes/j1/modules/cryptoJS/js/tripledes.js +51 -0
  62. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +460 -0
  63. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +379 -353
  64. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.min.js +1 -1
  65. data/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.js +93 -1
  66. data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
  67. data/assets/themes/j1/modules/materialize/js/bin/materialize.js +4 -4
  68. data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +1 -1
  69. data/assets/themes/j1/modules/materialize/js/global.js +1 -1
  70. data/assets/themes/j1/modules/materialize/js/select.js +1 -1
  71. data/assets/themes/j1/modules/materialize/js/tapTarget.cash.js +1 -1
  72. data/assets/themes/j1/modules/scroller/js/scroller.js +6 -6
  73. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  74. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
  75. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  76. data/exe/j1 +6 -7
  77. data/lib/j1/commands/generate.rb +15 -16
  78. data/lib/j1/version.rb +1 -1
  79. data/lib/starter_web/Gemfile +7 -1
  80. data/lib/starter_web/_config.yml +1 -1
  81. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  82. data/lib/starter_web/_data/_defaults/private.yml +3 -2
  83. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  84. data/lib/starter_web/_data/blocks/banner.yml +5 -5
  85. data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
  86. data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
  87. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +50 -44
  88. data/lib/starter_web/_data/j1_config.yml +2 -2
  89. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  90. data/lib/starter_web/_data/modules/defaults/navigator.yml +31 -11
  91. data/lib/starter_web/_data/modules/translator.yml +3 -3
  92. data/lib/starter_web/_data/private.yml +3 -2
  93. data/lib/starter_web/_data/resources.yml +28 -3
  94. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  95. data/lib/starter_web/_plugins/encodeBase64.rb +46 -0
  96. data/lib/starter_web/_plugins/encryptAES.rb +53 -0
  97. data/lib/starter_web/_plugins/filters.rb +2 -1
  98. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  99. data/lib/starter_web/_plugins/minifyJSON.rb +2 -2
  100. data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
  101. data/lib/starter_web/package.json +1 -1
  102. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +1 -1
  103. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +3 -3
  104. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  105. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  106. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +1 -1
  107. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  108. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  109. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +1 -1
  110. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +1 -1
  111. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +1 -1
  112. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +22 -22
  113. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +3 -3
  114. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +3 -3
  115. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +4 -4
  116. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +3 -3
  117. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +2 -2
  118. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +1 -1
  119. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +3 -3
  120. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  121. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  123. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -21
  124. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  125. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -0
  126. data/lib/starter_web/pages/public/blog/navigator/archive.html +1 -1
  127. data/lib/starter_web/pages/public/learn/quickstart.adoc +1 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +4 -5
  129. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
  130. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +2 -2
  131. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
  132. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  133. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  134. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
  135. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  136. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  137. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
  138. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
  139. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
  140. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
  141. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  142. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +1 -1
  143. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
  144. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +5 -5
  145. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +1 -1
  146. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
  147. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
  148. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +4 -5
  149. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
  150. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
  151. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +51 -3
  152. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +163 -73
  153. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  154. data/lib/starter_web/utilsrv/package.json +1 -1
  155. metadata +34 -9
  156. data/lib/j1/commands/help.rb +0 -32
  157. data/lib/j1/commands/module.rb +0 -69
@@ -1,69 +0,0 @@
1
- require "erb"
2
-
3
- module J1
4
- module Commands
5
- class Module < Command
6
- class << self
7
- def init_with_program(prog)
8
-
9
- prog.command(:new) do |c|
10
- c.syntax "module MOD_NAME [option]"
11
- c.description "Manages a module MOD_NAME"
12
-
13
- c.option "register", "--register", "Registers a module MOD_NAME"
14
- c.option "list", "--list", "List all registered modules"
15
- c.option "detail", "--detail", "List details of a registered module MOD_NAME"
16
-
17
- c.action do |args, options|
18
- J1::Commands::Modules.process(args, options)
19
- end
20
- end
21
-
22
- end
23
-
24
- def process(args, options = {})
25
- raise ArgumentError, "You must specify a path." if args.empty?
26
-
27
- new_blog_path = File.expand_path(args.join(" "), Dir.pwd)
28
- FileUtils.mkdir_p new_blog_path
29
- if preserve_source_location?(new_blog_path, options)
30
- J1.logger.abort_with "Conflict:",
31
- "#{new_blog_path} exists and is not empty."
32
- end
33
-
34
- if options["blank"]
35
- create_blank_site new_blog_path
36
- else
37
- create_site new_blog_path
38
- end
39
-
40
- after_install(new_blog_path, options)
41
- end
42
-
43
- def create_blank_site(path)
44
- Dir.chdir(path) do
45
- FileUtils.mkdir(%w(_layouts _posts _drafts))
46
- FileUtils.touch("index.html")
47
- end
48
- end
49
-
50
- def scaffold_post_content
51
- ERB.new(File.read(File.expand_path(scaffold_path, starter_web))).result
52
- end
53
-
54
- # Internal: Gets the filename of the sample post to be created
55
- #
56
- # Returns the filename of the sample post, as a String
57
- def initialized_post_name
58
- "_posts/#{Time.now.strftime("%Y-%m-%d")}-welcome-to-jekyll.markdown"
59
- end
60
-
61
- private
62
-
63
- def register_module(new_blog_path)
64
- end
65
-
66
- end
67
- end
68
- end
69
- end