j1-template 2021.1.5 → 2021.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/layout_metadata_generator.html +4 -4
  3. data/_includes/themes/j1/modules/connectors/ads +18 -7
  4. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +6 -6
  5. data/_includes/themes/j1/modules/connectors/analytics +17 -3
  6. data/_includes/themes/j1/modules/connectors/comments +22 -8
  7. data/_includes/themes/j1/modules/connectors/translator +20 -6
  8. data/_includes/themes/j1/procedures/global/select_location.proc +3 -3
  9. data/assets/data/themes.json +6 -6
  10. data/assets/error_pages/HTTP204.html +30 -10
  11. data/assets/error_pages/HTTP400.html +29 -8
  12. data/assets/error_pages/HTTP401.html +29 -9
  13. data/assets/error_pages/HTTP403.html +29 -8
  14. data/assets/error_pages/HTTP404.html +29 -8
  15. data/assets/error_pages/HTTP500.html +29 -8
  16. data/assets/error_pages/HTTP501.html +29 -8
  17. data/assets/error_pages/HTTP502.html +29 -8
  18. data/assets/error_pages/HTTP503.html +30 -8
  19. data/assets/themes/j1/adapter/js/cookieConsent.js +93 -56
  20. data/assets/themes/j1/adapter/js/fam.js +2 -1
  21. data/assets/themes/j1/adapter/js/j1.js +176 -170
  22. data/assets/themes/j1/adapter/js/navigator.js +157 -200
  23. data/assets/themes/j1/adapter/js/themer.1.js +326 -0
  24. data/assets/themes/j1/adapter/js/themer.js +41 -57
  25. data/assets/themes/j1/adapter/js/toccer.js +4 -45
  26. data/assets/themes/j1/core/js/template.js +1 -1
  27. data/assets/themes/j1/core/js/template.js.map +1 -1
  28. data/assets/themes/j1/core/js/template.min.js +1 -1
  29. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  30. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +25 -10
  31. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +5 -6
  32. data/assets/themes/j1/modules/fam/css/{uno → theme/uno}/fam.css +0 -0
  33. data/assets/themes/j1/modules/fam/css/theme/uno/fam.min.css +15 -0
  34. data/assets/themes/j1/modules/fam/js/fam.js +1 -6
  35. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.css → mmenu-light.css} +0 -0
  36. data/assets/themes/j1/modules/mmenuLight/css/{mmenu.min.css → mmenu-light.min.css} +0 -0
  37. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.css → uno/mmenu.css} +0 -0
  38. data/assets/themes/j1/modules/mmenuLight/css/theme/{uno.min.css → uno/mmenu.min.css} +0 -0
  39. data/assets/themes/j1/modules/rtable/css/theme/{uno.css → uno/rtable.css} +0 -0
  40. data/assets/themes/j1/modules/rtable/css/theme/{uno.min.css → uno/rtable.min.css} +0 -0
  41. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +34 -49
  42. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +410 -2
  43. data/lib/j1/version.rb +1 -1
  44. data/lib/j1_app/j1_auth_manager/auth_manager.rb +2 -3
  45. data/lib/starter_web/Gemfile +1 -1
  46. data/lib/starter_web/_config.yml +18 -10
  47. data/lib/starter_web/_data/_defaults/private.default.yml +119 -0
  48. data/lib/starter_web/_data/j1_config.yml +21 -18
  49. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -0
  50. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +10 -9
  51. data/lib/starter_web/_data/modules/defaults/themer.yml +2 -1
  52. data/lib/starter_web/_data/private.default.yml +119 -0
  53. data/lib/starter_web/_data/resources.yml +6 -7
  54. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  55. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  56. data/lib/starter_web/dot.gitignore +2 -2
  57. data/lib/starter_web/index.html +3 -3
  58. data/lib/starter_web/package.json +2 -2
  59. data/lib/starter_web/pages/public/blog/navigator/archive.html +5 -3
  60. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -2
  61. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +6 -4
  62. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +23 -5
  63. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +9 -6
  64. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  65. data/lib/starter_web/utilsrv/package.json +1 -1
  66. metadata +13 -65
  67. data/assets/error_pages/HTTP520.html +0 -68
  68. data/assets/error_pages/HTTP521.html +0 -68
  69. data/assets/error_pages/HTTP533.html +0 -68
  70. data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.css +0 -58
  71. data/assets/themes/j1/modules/_lightGallery/css/core/lg-fb-comment-box.min.css +0 -5
  72. data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.css +0 -778
  73. data/assets/themes/j1/modules/_lightGallery/css/core/lg-transitions.min.css +0 -5
  74. data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.css +0 -981
  75. data/assets/themes/j1/modules/_lightGallery/css/core/lightgallery.min.css +0 -5
  76. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.eot +0 -0
  77. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.svg +0 -47
  78. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.ttf +0 -0
  79. data/assets/themes/j1/modules/_lightGallery/css/fonts/lg.woff +0 -0
  80. data/assets/themes/j1/modules/_lightGallery/css/img/loading.gif +0 -0
  81. data/assets/themes/j1/modules/_lightGallery/css/img/video-play.png +0 -0
  82. data/assets/themes/j1/modules/_lightGallery/css/img/vimeo-play.png +0 -0
  83. data/assets/themes/j1/modules/_lightGallery/css/img/youtube-play.png +0 -0
  84. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/animation-w.png +0 -0
  85. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/customize-w.png +0 -0
  86. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/dynamic-w.png +0 -0
  87. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/facebook-icon.svg +0 -10
  88. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/googleplus-icon.svg +0 -30
  89. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/html5-w.png +0 -0
  90. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/linked-in.png +0 -0
  91. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/module-w.png +0 -0
  92. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/play-button.png +0 -0
  93. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/responsive-w.png +0 -0
  94. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/thumb-w.png +0 -0
  95. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/touch-w.png +0 -0
  96. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter-icon.svg +0 -15
  97. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/twitter.png +0 -0
  98. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/video1-w.png +0 -0
  99. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom-w.png +0 -0
  100. data/assets/themes/j1/modules/_lightGallery/css/themes/icons/zoom.png +0 -0
  101. data/assets/themes/j1/modules/_lightGallery/css/themes/uno.css +0 -262
  102. data/assets/themes/j1/modules/_lightGallery/css/themes/uno.min.css +0 -15
  103. data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.js +0 -1362
  104. data/assets/themes/j1/modules/_lightGallery/js/core/lightgallery.min.js +0 -4
  105. data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.js +0 -402
  106. data/assets/themes/j1/modules/_lightGallery/js/modules/j1/j1-video.min.js +0 -8
  107. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.js +0 -206
  108. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-autoplay.min.js +0 -5
  109. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.js +0 -126
  110. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-fullscreen.min.js +0 -5
  111. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.js +0 -101
  112. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-hash.min.js +0 -5
  113. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.js +0 -105
  114. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-pager.min.js +0 -5
  115. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.js +0 -107
  116. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-share.min.js +0 -5
  117. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.js +0 -478
  118. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-thumbnail.min.js +0 -5
  119. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.js +0 -342
  120. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-video.min.js +0 -5
  121. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.js +0 -527
  122. data/assets/themes/j1/modules/_lightGallery/js/modules/lg-zoom.min.js +0 -5
@@ -53,7 +53,7 @@ environment: production
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2021.1.5
56
+ version: 2021.1.10
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -593,9 +593,9 @@ defaults:
593
593
  layout: page
594
594
  author: J1 Team
595
595
 
596
- # robots:
597
- # index: true
598
- # follow: true
596
+ robots:
597
+ index: false
598
+ follow: false
599
599
 
600
600
  analytics: false
601
601
  advertising: false
@@ -632,9 +632,9 @@ defaults:
632
632
  layout: post
633
633
  author: J1 Team
634
634
 
635
- # robots:
636
- # index: true
637
- # follow: true
635
+ robots:
636
+ index: false
637
+ follow: false
638
638
 
639
639
  analytics: false
640
640
  advertising: false
@@ -671,9 +671,9 @@ defaults:
671
671
  layout: post
672
672
  author: J1 Team
673
673
 
674
- # robots:
675
- # index: true
676
- # follow: true
674
+ robots:
675
+ index: false
676
+ follow: false
677
677
 
678
678
  analytics: false
679
679
  advertising: false
@@ -706,6 +706,10 @@ defaults:
706
706
  layout: post
707
707
  author: Wikipedia
708
708
 
709
+ robots:
710
+ index: false
711
+ follow: false
712
+
709
713
  analytics: false
710
714
  advertising: false
711
715
  comments: false
@@ -741,6 +745,10 @@ defaults:
741
745
  layout: page
742
746
  sitemap: false
743
747
 
748
+ robots:
749
+ index: false
750
+ follow: false
751
+
744
752
  # ==============================================================================
745
753
  # 6. LAYOUT configuration
746
754
  #
@@ -0,0 +1,119 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/private.yml
3
+ # The private.yml file is used to set sensitive private data used by
4
+ # J1 components to configure security and authentication settings
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2019 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
13
+ # ------------------------------------------------------------------------------
14
+ # NOTE:
15
+ # As this file contains very confidential data, a productive private.yml
16
+ # file should ALWAYS be excluded from ANY source published to the public
17
+ # (e.g. a repo at Github)
18
+ # ------------------------------------------------------------------------------
19
+
20
+
21
+ # ==============================================================================
22
+ # GLOBAL settings
23
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24
+ global:
25
+
26
+ # used by J1 to encrypt cookies
27
+ session_secret: <your-secret-string>
28
+
29
+
30
+ # ==============================================================================
31
+ # MODULE settings
32
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
+ modules:
34
+
35
+ # J1 Webhook
36
+ # NOTE:
37
+ # ----------------------------------------------------------------------------
38
+ webhook:
39
+
40
+ comment:
41
+ name: <your-config-name>
42
+ user: <your-gh-user>
43
+ repo: <your-gh-repo>
44
+ server_url: <your-gh-webhook-url>
45
+
46
+ secret: <your-gh-secret> # secret used at GH Webhooks
47
+ payload_url: <your-payload-url> # payload url (e.g channel at smee.io)
48
+
49
+
50
+ # ==============================================================================
51
+ # # J1 Utility Server
52
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
+ util_srv:
54
+
55
+ oauth:
56
+
57
+ # GH OAuth settings used for J1 Control Center (NetlifyCMS) for the
58
+ # external OAuth client (base_url)
59
+ # --------------------------------------------------------------------------
60
+ comment:
61
+ name: <your-config-name>
62
+ user: <your-gh-user>
63
+ user_url: <your-user-url>
64
+ strategy: members
65
+ members: all
66
+
67
+ site_url: http://localhost:41010
68
+ site_redirect_url: http://localhost:41010/auth/github/callback
69
+ client_scope: repo, user
70
+ client_id: <your-client-id>
71
+ client_secret: <your-client-secret>
72
+
73
+
74
+ # ==============================================================================
75
+ # MIDDLEWARE settings
76
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77
+ middleware:
78
+
79
+ # OAuth settings (J1 Auth Client)
80
+ # ----------------------------------------------------------------------------
81
+ oauth:
82
+
83
+ # --------------------------------------------------------------------------
84
+ # DISQUS credentials
85
+ # ==========================================================================
86
+ disqus:
87
+
88
+ # J1 Auth client (mode APP, development system)
89
+ # ------------------------------------------------------------------------
90
+ comment:
91
+ name: <your-disqus-config-name>
92
+ user: <your-disqus-user>
93
+
94
+ client_url: http://localhost:41010
95
+ client_redirect_url: http://localhost:41010/auth/disqus/callback
96
+ client_id: <your-disqus-client-id>
97
+ client_secret: <your-disqus-client-secret>
98
+
99
+ # --------------------------------------------------------------------------
100
+ # GITHUB credentials
101
+ # ==========================================================================
102
+ github:
103
+
104
+ # J1 Auth client (mode APP, development system)
105
+ # ------------------------------------------------------------------------
106
+ comment:
107
+ name: <your-gh-config-name>
108
+ user: <your-gh-user>
109
+ org: <your-gh-org>
110
+ strategy: members
111
+ members: all
112
+
113
+ client_url: http://localhost:41010
114
+ client_redirect_url: http://localhost:41010/auth/github/callback
115
+ client_id: <your-gh-client-id>
116
+ client_secret: <your-gh-client-secret>
117
+
118
+ # ------------------------------------------------------------------------------
119
+ # END
@@ -140,6 +140,7 @@ cookies:
140
140
  app_session: j1.app.session
141
141
  user_session: j1.user.session
142
142
  user_state: j1.user.state
143
+ user_consent: j1.user.consent
143
144
 
144
145
 
145
146
  # ==============================================================================
@@ -161,7 +162,7 @@ cookies:
161
162
  # NOTE: Used for developent mode ONLY
162
163
  # NOTE: See ~/packages/300_template_src/_layouts/default.html
163
164
  # ------------------------------------------------------------------------------
164
- flicker_timeout: 250
165
+ flicker_timeout: 150
165
166
 
166
167
  # ------------------------------------------------------------------------------
167
168
  # HTML PrettyPrint
@@ -386,15 +387,15 @@ comments:
386
387
  provider: disqus
387
388
 
388
389
  disqus:
389
- short_name: '<your-site-short-name>'
390
+ short_name: '<your-site-id>'
390
391
 
391
- # facebook:
392
+ # facebook: # currently NOT supported
392
393
  # appid: 123
393
394
  # num_posts: 5
394
395
  # width: 580
395
396
  # colorscheme: light
396
397
 
397
- # custom:
398
+ # custom: # currently NOT supported
398
399
  # custom_data:
399
400
 
400
401
  # ------------------------------------------------------------------------------
@@ -410,8 +411,8 @@ analytics:
410
411
  google:
411
412
  tracking_id: '<your-tracking-id>'
412
413
 
413
- custom:
414
- custom_data:
414
+ # custom: # currently NOT supported
415
+ # custom_data:
415
416
 
416
417
  # ------------------------------------------------------------------------------
417
418
  # ADVERTISING settings
@@ -422,26 +423,28 @@ analytics:
422
423
  advertising:
423
424
  enabled: false
424
425
  provider: google
426
+
425
427
  google:
426
428
  publisher_id: '<your-publisher-id>'
427
- custom:
428
- custom_data:
429
+
430
+ # custom: # currently NOT supported
431
+ # custom_data:
429
432
 
430
433
  # ------------------------------------------------------------------------------
431
- # TRANSLATOR settings
434
+ # TRANSLATOR settings (currently NOT supported)
432
435
  #
433
436
  # Set 'enabled' to false to turn translators off globally
434
437
  # Set 'provider' to the translation provider you want to use
435
438
  #
436
- translation:
437
- enabled: false
438
- provider: google
439
-
440
- google:
441
- layout: default
442
- meta_data: [google-translate-customization]
443
- page_language: en
444
- translation_languages: [all]
439
+ # translation:
440
+ # enabled: false
441
+ # provider: google
442
+ #
443
+ # google:
444
+ # layout: default
445
+ # meta_data: [google-translate-customization]
446
+ # page_language: en
447
+ # translation_languages: [all]
445
448
 
446
449
  # ------------------------------------------------------------------------------
447
450
  # SHARING settings (currently NOT supported)
@@ -27,6 +27,7 @@ settings:
27
27
 
28
28
  enabled: true
29
29
  show_cookie_icon: true
30
+ reloadPageOnChange: true
30
31
 
31
32
  # ------------------------------------------------------------------------------
32
33
  # END config
@@ -26,16 +26,17 @@ defaults:
26
26
 
27
27
  enabled: false
28
28
 
29
- autoShowDialog: true # disable autoShowModal on the privacy policy and legal notice pages, to make these pages readable
30
- language: en # the language, in which the modal is shown. Default navigator.language
31
- languages: [en, de] # supported languages, defaults to first language in array (en)
32
- contentURL: /assets/data/cookieconsent # this URL must contain the dialogs content in the needed languages
33
- cookieName: j1.user.consent # the name of the cookie in which the configuration is stored as JSON
34
- cookieStorageDays: 365 # the duration the cookie configuration is stored on the client
29
+ autoShowDialog: true # show consent dialog if NO consent cookie found
30
+ language: en # language of the modal is shown. Default: navigator.language
31
+ languages: [en, de] # supported languages, defaults to FIRST language defined by languages
32
+ contentURL: /assets/data/cookieconsent # dialogs content for all languages
33
+ cookieName: j1.user.consent # name of the consent cookie
34
+ cookieStorageDays: 365 # duration the consent cookie is stored
35
+ postSelectionCallback: j1.adapter.cookieConsent.cbCookie # currently hardcoded
35
36
 
36
- reloadPageOnChange: false # reload current page if any user settings has been changed
37
- xhr_data_element: consent-data # container for the language-specific consent modal taken from /assets/data/cookieconsent.html
38
- whitelisted: [ "/pages/public/legal/en/privacy" ] # pages no consent issued
37
+ reloadPageOnChange: false # reload current page if user settings has been changed
38
+ xhr_data_element: consent-data # container for the language-specific consent modal (taken from /assets/data/cookieconsent.html)
39
+ whitelisted: [ /pages/public/legal/en/privacy ] # pages NO consent issued, currently NOT supported
39
40
 
40
41
  consent_modal_title:
41
42
  de: Ihre Privatsphäre
@@ -143,6 +143,7 @@ about_config:
143
143
  defaults:
144
144
 
145
145
  enabled: false
146
+
146
147
  retries: 30 # retry to load theme list from API
147
148
  saveToCookie: true
148
149
  debug: false
@@ -151,7 +152,7 @@ defaults:
151
152
  menu_icon_color: "#9E9E9E"
152
153
  menu_icon_size: mdi-sm
153
154
  cssThemeLink: bootstrapTheme
154
- defaultCssFile: https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css
155
+ defaultCssFile: https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css
155
156
  bootswatchApiUrl: https://bootswatch.com/api
156
157
  bootswatchApiVersion: 4
157
158
  loadFromBootswatch: true
@@ -0,0 +1,119 @@
1
+ # ------------------------------------------------------------------------------
2
+ # ~/_data/private.yml
3
+ # The private.yml file is used to set sensitive private data used by
4
+ # J1 components to configure security and authentication settings
5
+ #
6
+ # Product/Info:
7
+ # https://jekyll.one
8
+ #
9
+ # Copyright (C) 2019 Juergen Adams
10
+ #
11
+ # J1 Template is licensed under the MIT License.
12
+ # See: https://github.com/jekyll-one-org/j1_template/blob/master/LICENSE
13
+ # ------------------------------------------------------------------------------
14
+ # NOTE:
15
+ # As this file contains very confidential data, a productive private.yml
16
+ # file should ALWAYS be excluded from ANY source published to the public
17
+ # (e.g. a repo at Github)
18
+ # ------------------------------------------------------------------------------
19
+
20
+
21
+ # ==============================================================================
22
+ # GLOBAL settings
23
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24
+ global:
25
+
26
+ # used by J1 to encrypt cookies
27
+ session_secret: <your-secret-string>
28
+
29
+
30
+ # ==============================================================================
31
+ # MODULE settings
32
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
+ modules:
34
+
35
+ # J1 Webhook
36
+ # NOTE:
37
+ # ----------------------------------------------------------------------------
38
+ webhook:
39
+
40
+ comment:
41
+ name: <your-config-name>
42
+ user: <your-gh-user>
43
+ repo: <your-gh-repo>
44
+ server_url: <your-gh-webhook-url>
45
+
46
+ secret: <your-gh-secret> # secret used at GH Webhooks
47
+ payload_url: <your-payload-url> # payload url (e.g channel at smee.io)
48
+
49
+
50
+ # ==============================================================================
51
+ # # J1 Utility Server
52
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
+ util_srv:
54
+
55
+ oauth:
56
+
57
+ # GH OAuth settings used for J1 Control Center (NetlifyCMS) for the
58
+ # external OAuth client (base_url)
59
+ # --------------------------------------------------------------------------
60
+ comment:
61
+ name: <your-config-name>
62
+ user: <your-gh-user>
63
+ user_url: <your-user-url>
64
+ strategy: members
65
+ members: all
66
+
67
+ site_url: http://localhost:41010
68
+ site_redirect_url: http://localhost:41010/auth/github/callback
69
+ client_scope: repo, user
70
+ client_id: <your-client-id>
71
+ client_secret: <your-client-secret>
72
+
73
+
74
+ # ==============================================================================
75
+ # MIDDLEWARE settings
76
+ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77
+ middleware:
78
+
79
+ # OAuth settings (J1 Auth Client)
80
+ # ----------------------------------------------------------------------------
81
+ oauth:
82
+
83
+ # --------------------------------------------------------------------------
84
+ # DISQUS credentials
85
+ # ==========================================================================
86
+ disqus:
87
+
88
+ # J1 Auth client (mode APP, development system)
89
+ # ------------------------------------------------------------------------
90
+ comment:
91
+ name: <your-disqus-config-name>
92
+ user: <your-disqus-user>
93
+
94
+ client_url: http://localhost:41010
95
+ client_redirect_url: http://localhost:41010/auth/disqus/callback
96
+ client_id: <your-disqus-client-id>
97
+ client_secret: <your-disqus-client-secret>
98
+
99
+ # --------------------------------------------------------------------------
100
+ # GITHUB credentials
101
+ # ==========================================================================
102
+ github:
103
+
104
+ # J1 Auth client (mode APP, development system)
105
+ # ------------------------------------------------------------------------
106
+ comment:
107
+ name: <your-gh-config-name>
108
+ user: <your-gh-user>
109
+ org: <your-gh-org>
110
+ strategy: members
111
+ members: all
112
+
113
+ client_url: http://localhost:41010
114
+ client_redirect_url: http://localhost:41010/auth/github/callback
115
+ client_id: <your-gh-client-id>
116
+ client_secret: <your-gh-client-secret>
117
+
118
+ # ------------------------------------------------------------------------------
119
+ # END