panda-cms 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (233) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +73 -0
  3. data/Rakefile +7 -0
  4. data/app/assets/builds/panda.cms.css +2808 -0
  5. data/app/assets/config/panda_cms_manifest.js +4 -0
  6. data/app/assets/stylesheets/panda/cms/application.tailwind.css +162 -0
  7. data/app/assets/stylesheets/panda/cms/editor.css +120 -0
  8. data/app/builders/panda/cms/form_builder.rb +234 -0
  9. data/app/components/panda/cms/admin/button_component.rb +70 -0
  10. data/app/components/panda/cms/admin/container_component.html.erb +13 -0
  11. data/app/components/panda/cms/admin/container_component.rb +13 -0
  12. data/app/components/panda/cms/admin/flash_message_component.html.erb +31 -0
  13. data/app/components/panda/cms/admin/flash_message_component.rb +47 -0
  14. data/app/components/panda/cms/admin/heading_component.rb +45 -0
  15. data/app/components/panda/cms/admin/panel_component.html.erb +7 -0
  16. data/app/components/panda/cms/admin/panel_component.rb +13 -0
  17. data/app/components/panda/cms/admin/slideover_component.html.erb +9 -0
  18. data/app/components/panda/cms/admin/slideover_component.rb +15 -0
  19. data/app/components/panda/cms/admin/statistics_component.html.erb +4 -0
  20. data/app/components/panda/cms/admin/statistics_component.rb +17 -0
  21. data/app/components/panda/cms/admin/tab_bar_component.html.erb +35 -0
  22. data/app/components/panda/cms/admin/tab_bar_component.rb +15 -0
  23. data/app/components/panda/cms/admin/table_component.html.erb +29 -0
  24. data/app/components/panda/cms/admin/table_component.rb +46 -0
  25. data/app/components/panda/cms/admin/tag_component.rb +35 -0
  26. data/app/components/panda/cms/admin/user_activity_component.html.erb +5 -0
  27. data/app/components/panda/cms/admin/user_activity_component.rb +33 -0
  28. data/app/components/panda/cms/admin/user_display_component.html.erb +17 -0
  29. data/app/components/panda/cms/admin/user_display_component.rb +21 -0
  30. data/app/components/panda/cms/code_component.rb +64 -0
  31. data/app/components/panda/cms/grid_component.html.erb +6 -0
  32. data/app/components/panda/cms/grid_component.rb +15 -0
  33. data/app/components/panda/cms/menu_component.html.erb +6 -0
  34. data/app/components/panda/cms/menu_component.rb +58 -0
  35. data/app/components/panda/cms/page_menu_component.html.erb +21 -0
  36. data/app/components/panda/cms/page_menu_component.rb +38 -0
  37. data/app/components/panda/cms/rich_text_component.html.erb +6 -0
  38. data/app/components/panda/cms/rich_text_component.rb +84 -0
  39. data/app/components/panda/cms/text_component.rb +72 -0
  40. data/app/constraints/panda/cms/admin_constraint.rb +18 -0
  41. data/app/controllers/panda/cms/admin/block_contents_controller.rb +52 -0
  42. data/app/controllers/panda/cms/admin/dashboard_controller.rb +20 -0
  43. data/app/controllers/panda/cms/admin/files_controller.rb +21 -0
  44. data/app/controllers/panda/cms/admin/forms_controller.rb +53 -0
  45. data/app/controllers/panda/cms/admin/menus_controller.rb +30 -0
  46. data/app/controllers/panda/cms/admin/pages_controller.rb +91 -0
  47. data/app/controllers/panda/cms/admin/posts_controller.rb +146 -0
  48. data/app/controllers/panda/cms/admin/sessions_controller.rb +94 -0
  49. data/app/controllers/panda/cms/admin/settings/bulk_editor_controller.rb +37 -0
  50. data/app/controllers/panda/cms/admin/settings_controller.rb +20 -0
  51. data/app/controllers/panda/cms/application_controller.rb +57 -0
  52. data/app/controllers/panda/cms/errors_controller.rb +33 -0
  53. data/app/controllers/panda/cms/form_submissions_controller.rb +23 -0
  54. data/app/controllers/panda/cms/pages_controller.rb +72 -0
  55. data/app/controllers/panda/cms/posts_controller.rb +13 -0
  56. data/app/helpers/panda/cms/admin/files_helper.rb +6 -0
  57. data/app/helpers/panda/cms/admin/pages_helper.rb +6 -0
  58. data/app/helpers/panda/cms/admin/posts_helper.rb +48 -0
  59. data/app/helpers/panda/cms/application_helper.rb +120 -0
  60. data/app/helpers/panda/cms/pages_helper.rb +6 -0
  61. data/app/helpers/panda/cms/theme_helper.rb +18 -0
  62. data/app/javascript/panda/cms/@editorjs--editorjs.js +2577 -0
  63. data/app/javascript/panda/cms/@hotwired--stimulus.js +4 -0
  64. data/app/javascript/panda/cms/@hotwired--turbo.js +160 -0
  65. data/app/javascript/panda/cms/@rails--actioncable--src.js +4 -0
  66. data/app/javascript/panda/cms/application_panda_cms.js +39 -0
  67. data/app/javascript/panda/cms/controllers/dashboard_controller.js +7 -0
  68. data/app/javascript/panda/cms/controllers/editor_form_controller.js +77 -0
  69. data/app/javascript/panda/cms/controllers/editor_iframe_controller.js +320 -0
  70. data/app/javascript/panda/cms/controllers/index.js +48 -0
  71. data/app/javascript/panda/cms/controllers/slug_controller.js +87 -0
  72. data/app/javascript/panda/cms/editor/css_extractor.js +80 -0
  73. data/app/javascript/panda/cms/editor/editor_js_config.js +177 -0
  74. data/app/javascript/panda/cms/editor/editor_js_initializer.js +285 -0
  75. data/app/javascript/panda/cms/editor/plain_text_editor.js +110 -0
  76. data/app/javascript/panda/cms/editor/resource_loader.js +115 -0
  77. data/app/javascript/panda/cms/tailwindcss-stimulus-components.js +4 -0
  78. data/app/jobs/panda/cms/application_job.rb +6 -0
  79. data/app/jobs/panda/cms/record_visit_job.rb +31 -0
  80. data/app/mailers/panda/cms/application_mailer.rb +8 -0
  81. data/app/mailers/panda/cms/form_mailer.rb +21 -0
  82. data/app/models/action_text/rich_text_version.rb +6 -0
  83. data/app/models/panda/cms/application_record.rb +7 -0
  84. data/app/models/panda/cms/block.rb +34 -0
  85. data/app/models/panda/cms/block_content.rb +18 -0
  86. data/app/models/panda/cms/block_content_version.rb +8 -0
  87. data/app/models/panda/cms/breadcrumb.rb +12 -0
  88. data/app/models/panda/cms/current.rb +17 -0
  89. data/app/models/panda/cms/form.rb +9 -0
  90. data/app/models/panda/cms/form_submission.rb +7 -0
  91. data/app/models/panda/cms/menu.rb +52 -0
  92. data/app/models/panda/cms/menu_item.rb +58 -0
  93. data/app/models/panda/cms/page.rb +96 -0
  94. data/app/models/panda/cms/page_version.rb +8 -0
  95. data/app/models/panda/cms/post.rb +60 -0
  96. data/app/models/panda/cms/post_version.rb +8 -0
  97. data/app/models/panda/cms/redirect.rb +11 -0
  98. data/app/models/panda/cms/template.rb +124 -0
  99. data/app/models/panda/cms/template_version.rb +8 -0
  100. data/app/models/panda/cms/user.rb +31 -0
  101. data/app/models/panda/cms/version.rb +8 -0
  102. data/app/models/panda/cms/visit.rb +9 -0
  103. data/app/services/panda/cms/html_to_editor_js_converter.rb +200 -0
  104. data/app/views/active_storage/blobs/blobs/_blob.html.erb +14 -0
  105. data/app/views/layouts/action_text/contents/_content.html.erb +3 -0
  106. data/app/views/layouts/panda/cms/application.html.erb +41 -0
  107. data/app/views/layouts/panda/cms/public.html.erb +3 -0
  108. data/app/views/panda/cms/admin/dashboard/show.html.erb +12 -0
  109. data/app/views/panda/cms/admin/files/index.html.erb +124 -0
  110. data/app/views/panda/cms/admin/files/show.html.erb +2 -0
  111. data/app/views/panda/cms/admin/forms/edit.html.erb +0 -0
  112. data/app/views/panda/cms/admin/forms/index.html.erb +13 -0
  113. data/app/views/panda/cms/admin/forms/new.html.erb +15 -0
  114. data/app/views/panda/cms/admin/forms/show.html.erb +35 -0
  115. data/app/views/panda/cms/admin/menus/index.html.erb +8 -0
  116. data/app/views/panda/cms/admin/pages/edit.html.erb +36 -0
  117. data/app/views/panda/cms/admin/pages/index.html.erb +22 -0
  118. data/app/views/panda/cms/admin/pages/new.html.erb +15 -0
  119. data/app/views/panda/cms/admin/pages/show.html.erb +1 -0
  120. data/app/views/panda/cms/admin/posts/_form.html.erb +29 -0
  121. data/app/views/panda/cms/admin/posts/edit.html.erb +6 -0
  122. data/app/views/panda/cms/admin/posts/index.html.erb +18 -0
  123. data/app/views/panda/cms/admin/posts/new.html.erb +6 -0
  124. data/app/views/panda/cms/admin/sessions/new.html.erb +17 -0
  125. data/app/views/panda/cms/admin/settings/bulk_editor/new.html.erb +68 -0
  126. data/app/views/panda/cms/admin/settings/index.html.erb +21 -0
  127. data/app/views/panda/cms/admin/settings/insta.html +4 -0
  128. data/app/views/panda/cms/admin/shared/_breadcrumbs.html.erb +28 -0
  129. data/app/views/panda/cms/admin/shared/_flash.html.erb +5 -0
  130. data/app/views/panda/cms/admin/shared/_sidebar.html.erb +41 -0
  131. data/app/views/panda/cms/form_mailer/notification_email.html.erb +11 -0
  132. data/app/views/panda/cms/shared/_editor.html.erb +0 -0
  133. data/app/views/panda/cms/shared/_favicons.html.erb +9 -0
  134. data/app/views/panda/cms/shared/_footer.html.erb +2 -0
  135. data/app/views/panda/cms/shared/_header.html.erb +15 -0
  136. data/app/views/panda/cms/shared/_importmap.html.erb +33 -0
  137. data/config/importmap.rb +13 -0
  138. data/config/initializers/inflections.rb +3 -0
  139. data/config/initializers/panda/cms/form_errors.rb +38 -0
  140. data/config/initializers/panda/cms/healthcheck_log_silencer.rb +11 -0
  141. data/config/initializers/panda/cms/paper_trail.rb +7 -0
  142. data/config/initializers/panda/cms.rb +10 -0
  143. data/config/initializers/zeitwork.rb +3 -0
  144. data/config/locales/en.yml +49 -0
  145. data/config/puma/test.rb +9 -0
  146. data/config/routes.rb +48 -0
  147. data/config/tailwind.config.js +37 -0
  148. data/db/migrate/20240205223709_create_panda_cms_pages.rb +9 -0
  149. data/db/migrate/20240219213327_create_panda_cms_page_versions.rb +14 -0
  150. data/db/migrate/20240303002805_create_panda_cms_templates.rb +11 -0
  151. data/db/migrate/20240303003434_create_panda_cms_template_versions.rb +14 -0
  152. data/db/migrate/20240303022441_create_panda_cms_blocks.rb +13 -0
  153. data/db/migrate/20240303024256_create_panda_cms_block_contents.rb +10 -0
  154. data/db/migrate/20240303024746_create_panda_cms_block_content_versions.rb +14 -0
  155. data/db/migrate/20240303233238_add_panda_cms_menu_table.rb +10 -0
  156. data/db/migrate/20240303234724_add_panda_cms_menu_item_table.rb +12 -0
  157. data/db/migrate/20240304134343_add_parent_id_to_panda_cms_pages.rb +5 -0
  158. data/db/migrate/20240305000000_convert_html_content_to_editor_js.rb +82 -0
  159. data/db/migrate/20240315125411_add_status_to_panda_cms_pages.rb +9 -0
  160. data/db/migrate/20240315125421_add_nested_sets_to_panda_cms_pages.rb +16 -0
  161. data/db/migrate/20240316212822_add_kind_to_panda_cms_menus.rb +6 -0
  162. data/db/migrate/20240316221425_add_start_page_to_panda_cms_menus.rb +5 -0
  163. data/db/migrate/20240316230706_add_nested_to_panda_cms_menu_items.rb +24 -0
  164. data/db/migrate/20240317010532_create_panda_cms_users.rb +12 -0
  165. data/db/migrate/20240317161534_add_max_uses_to_panda_cms_template.rb +7 -0
  166. data/db/migrate/20240317163053_reset_counter_cache_on_panda_cms_template.rb +5 -0
  167. data/db/migrate/20240317214827_create_panda_cms_redirects.rb +14 -0
  168. data/db/migrate/20240317230622_create_panda_cms_visits.rb +13 -0
  169. data/db/migrate/20240324205703_create_active_storage_tables.active_storage.rb +58 -0
  170. data/db/migrate/20240408084718_default_panda_cms_users_admin_to_false.rb +5 -0
  171. data/db/migrate/20240701225422_add_service_name_to_active_storage_blobs.active_storage.rb +22 -0
  172. data/db/migrate/20240701225423_create_active_storage_variant_records.active_storage.rb +28 -0
  173. data/db/migrate/20240701225424_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb +8 -0
  174. data/db/migrate/20240804235210_create_panda_cms_forms.rb +11 -0
  175. data/db/migrate/20240805013612_create_panda_cms_form_submissions.rb +9 -0
  176. data/db/migrate/20240805121123_create_panda_cms_posts.rb +27 -0
  177. data/db/migrate/20240805123104_create_panda_cms_post_versions.rb +14 -0
  178. data/db/migrate/20240806112735_fix_panda_cms_visits_column_names.rb +13 -0
  179. data/db/migrate/20240806204412_add_completion_path_to_panda_cms_forms.rb +5 -0
  180. data/db/migrate/20240820081917_change_form_submissions_to_submission_count.rb +5 -0
  181. data/db/migrate/20240904200605_create_action_text_tables.action_text.rb +24 -0
  182. data/db/migrate/20240923234535_add_depth_to_panda_cms_menus.rb +11 -0
  183. data/db/migrate/20241031205109_add_cached_content_to_panda_cms_block_contents.rb +5 -0
  184. data/db/migrate/20241119214548_convert_post_content_to_editor_js.rb +35 -0
  185. data/db/migrate/20241119214549_remove_action_text_from_posts.rb +9 -0
  186. data/db/migrate/20241120000419_remove_post_tag_references.rb +19 -0
  187. data/db/migrate/20241120110943_add_editor_js_to_posts.rb +27 -0
  188. data/db/migrate/20241120113859_add_cached_content_to_panda_cms_posts.rb +5 -0
  189. data/db/migrate/20241123234140_remove_post_tag_id_from_posts.rb +5 -0
  190. data/db/migrate/migrate +1 -0
  191. data/db/seeds.rb +5 -0
  192. data/lib/generators/panda/cms/install_generator.rb +29 -0
  193. data/lib/panda/cms/bulk_editor.rb +171 -0
  194. data/lib/panda/cms/demo_site_generator.rb +67 -0
  195. data/lib/panda/cms/editor_js/blocks/alert.rb +34 -0
  196. data/lib/panda/cms/editor_js/blocks/base.rb +33 -0
  197. data/lib/panda/cms/editor_js/blocks/header.rb +15 -0
  198. data/lib/panda/cms/editor_js/blocks/image.rb +36 -0
  199. data/lib/panda/cms/editor_js/blocks/list.rb +32 -0
  200. data/lib/panda/cms/editor_js/blocks/paragraph.rb +15 -0
  201. data/lib/panda/cms/editor_js/blocks/quote.rb +41 -0
  202. data/lib/panda/cms/editor_js/blocks/table.rb +50 -0
  203. data/lib/panda/cms/editor_js/renderer.rb +124 -0
  204. data/lib/panda/cms/editor_js.rb +16 -0
  205. data/lib/panda/cms/editor_js_content.rb +21 -0
  206. data/lib/panda/cms/engine.rb +257 -0
  207. data/lib/panda/cms/exceptions_app.rb +26 -0
  208. data/lib/panda/cms/railtie.rb +11 -0
  209. data/lib/panda/cms/slug.rb +24 -0
  210. data/lib/panda/cms.rb +0 -0
  211. data/lib/panda-cms/version.rb +5 -0
  212. data/lib/panda-cms.rb +81 -0
  213. data/lib/tasks/panda_cms.rake +54 -0
  214. data/lib/templates/erb/scaffold/_form.html.erb.tt +43 -0
  215. data/lib/templates/erb/scaffold/edit.html.erb.tt +8 -0
  216. data/lib/templates/erb/scaffold/index.html.erb.tt +14 -0
  217. data/lib/templates/erb/scaffold/new.html.erb.tt +7 -0
  218. data/lib/templates/erb/scaffold/partial.html.erb.tt +22 -0
  219. data/lib/templates/erb/scaffold/show.html.erb.tt +15 -0
  220. data/public/panda-cms-assets/favicons/android-chrome-192x192.png +0 -0
  221. data/public/panda-cms-assets/favicons/android-chrome-512x512.png +0 -0
  222. data/public/panda-cms-assets/favicons/apple-touch-icon.png +0 -0
  223. data/public/panda-cms-assets/favicons/browserconfig.xml +9 -0
  224. data/public/panda-cms-assets/favicons/favicon-16x16.png +0 -0
  225. data/public/panda-cms-assets/favicons/favicon-32x32.png +0 -0
  226. data/public/panda-cms-assets/favicons/favicon.ico +0 -0
  227. data/public/panda-cms-assets/favicons/mstile-150x150.png +0 -0
  228. data/public/panda-cms-assets/favicons/safari-pinned-tab.svg +61 -0
  229. data/public/panda-cms-assets/favicons/site.webmanifest +14 -0
  230. data/public/panda-cms-assets/panda-logo-screenprint.png +0 -0
  231. data/public/panda-cms-assets/panda-nav.png +0 -0
  232. data/public/panda-cms-assets/rich_text_editor.css +568 -0
  233. metadata +654 -0
metadata ADDED
@@ -0,0 +1,654 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: panda-cms
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.0
5
+ platform: ruby
6
+ authors:
7
+ - Panda Software Limited
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 2025-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: panda-core
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '0'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '0'
26
+ - !ruby/object:Gem::Dependency
27
+ name: pg
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: sanitize
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: groupdate
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ - !ruby/object:Gem::Dependency
69
+ name: cuprite
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ type: :development
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ - !ruby/object:Gem::Dependency
83
+ name: lookbook
84
+ requirement: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ type: :development
90
+ prerelease: false
91
+ version_requirements: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rspec-rails
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: simplecov
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ - !ruby/object:Gem::Dependency
125
+ name: simplecov-json
126
+ requirement: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ type: :development
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ - !ruby/object:Gem::Dependency
139
+ name: tty-box
140
+ requirement: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ - !ruby/object:Gem::Dependency
153
+ name: tty-screen
154
+ requirement: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ type: :development
160
+ prerelease: false
161
+ version_requirements: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ - !ruby/object:Gem::Dependency
167
+ name: omniauth
168
+ requirement: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: '2.1'
173
+ type: :runtime
174
+ prerelease: false
175
+ version_requirements: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '2.1'
180
+ - !ruby/object:Gem::Dependency
181
+ name: brakeman
182
+ requirement: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ type: :development
188
+ prerelease: false
189
+ version_requirements: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ - !ruby/object:Gem::Dependency
195
+ name: bundle-audit
196
+ requirement: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ type: :development
202
+ prerelease: false
203
+ version_requirements: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ - !ruby/object:Gem::Dependency
209
+ name: erb_lint
210
+ requirement: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ type: :development
216
+ prerelease: false
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ - !ruby/object:Gem::Dependency
223
+ name: yamllint
224
+ requirement: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ type: :development
230
+ prerelease: false
231
+ version_requirements: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ - !ruby/object:Gem::Dependency
237
+ name: debug
238
+ requirement: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ type: :development
244
+ prerelease: false
245
+ version_requirements: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ - !ruby/object:Gem::Dependency
251
+ name: faker
252
+ requirement: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ type: :development
258
+ prerelease: false
259
+ version_requirements: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ - !ruby/object:Gem::Dependency
265
+ name: factory_bot_rails
266
+ requirement: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ type: :development
272
+ prerelease: false
273
+ version_requirements: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ - !ruby/object:Gem::Dependency
279
+ name: omniauth
280
+ requirement: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: '0'
285
+ type: :development
286
+ prerelease: false
287
+ version_requirements: !ruby/object:Gem::Requirement
288
+ requirements:
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ version: '0'
292
+ - !ruby/object:Gem::Dependency
293
+ name: omniauth-github
294
+ requirement: !ruby/object:Gem::Requirement
295
+ requirements:
296
+ - - "~>"
297
+ - !ruby/object:Gem::Version
298
+ version: '2.0'
299
+ type: :development
300
+ prerelease: false
301
+ version_requirements: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - "~>"
304
+ - !ruby/object:Gem::Version
305
+ version: '2.0'
306
+ - !ruby/object:Gem::Dependency
307
+ name: omniauth-google-oauth2
308
+ requirement: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - "~>"
311
+ - !ruby/object:Gem::Version
312
+ version: '1.1'
313
+ type: :development
314
+ prerelease: false
315
+ version_requirements: !ruby/object:Gem::Requirement
316
+ requirements:
317
+ - - "~>"
318
+ - !ruby/object:Gem::Version
319
+ version: '1.1'
320
+ - !ruby/object:Gem::Dependency
321
+ name: omniauth-microsoft_graph
322
+ requirement: !ruby/object:Gem::Requirement
323
+ requirements:
324
+ - - "~>"
325
+ - !ruby/object:Gem::Version
326
+ version: '2.0'
327
+ type: :development
328
+ prerelease: false
329
+ version_requirements: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - "~>"
332
+ - !ruby/object:Gem::Version
333
+ version: '2.0'
334
+ - !ruby/object:Gem::Dependency
335
+ name: omniauth-rails_csrf_protection
336
+ requirement: !ruby/object:Gem::Requirement
337
+ requirements:
338
+ - - "~>"
339
+ - !ruby/object:Gem::Version
340
+ version: '1.0'
341
+ type: :development
342
+ prerelease: false
343
+ version_requirements: !ruby/object:Gem::Requirement
344
+ requirements:
345
+ - - "~>"
346
+ - !ruby/object:Gem::Version
347
+ version: '1.0'
348
+ - !ruby/object:Gem::Dependency
349
+ name: shoulda-matchers
350
+ requirement: !ruby/object:Gem::Requirement
351
+ requirements:
352
+ - - ">="
353
+ - !ruby/object:Gem::Version
354
+ version: '0'
355
+ type: :development
356
+ prerelease: false
357
+ version_requirements: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - ">="
360
+ - !ruby/object:Gem::Version
361
+ version: '0'
362
+ - !ruby/object:Gem::Dependency
363
+ name: standard
364
+ requirement: !ruby/object:Gem::Requirement
365
+ requirements:
366
+ - - ">="
367
+ - !ruby/object:Gem::Version
368
+ version: '0'
369
+ type: :development
370
+ prerelease: false
371
+ version_requirements: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ - !ruby/object:Gem::Dependency
377
+ name: puma
378
+ requirement: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ">="
381
+ - !ruby/object:Gem::Version
382
+ version: '0'
383
+ type: :development
384
+ prerelease: false
385
+ version_requirements: !ruby/object:Gem::Requirement
386
+ requirements:
387
+ - - ">="
388
+ - !ruby/object:Gem::Version
389
+ version: '0'
390
+ email:
391
+ - bamboo@pandacms.io
392
+ executables: []
393
+ extensions: []
394
+ extra_rdoc_files: []
395
+ files:
396
+ - README.md
397
+ - Rakefile
398
+ - app/assets/builds/panda.cms.css
399
+ - app/assets/config/panda_cms_manifest.js
400
+ - app/assets/stylesheets/panda/cms/application.tailwind.css
401
+ - app/assets/stylesheets/panda/cms/editor.css
402
+ - app/builders/panda/cms/form_builder.rb
403
+ - app/components/panda/cms/admin/button_component.rb
404
+ - app/components/panda/cms/admin/container_component.html.erb
405
+ - app/components/panda/cms/admin/container_component.rb
406
+ - app/components/panda/cms/admin/flash_message_component.html.erb
407
+ - app/components/panda/cms/admin/flash_message_component.rb
408
+ - app/components/panda/cms/admin/heading_component.rb
409
+ - app/components/panda/cms/admin/panel_component.html.erb
410
+ - app/components/panda/cms/admin/panel_component.rb
411
+ - app/components/panda/cms/admin/slideover_component.html.erb
412
+ - app/components/panda/cms/admin/slideover_component.rb
413
+ - app/components/panda/cms/admin/statistics_component.html.erb
414
+ - app/components/panda/cms/admin/statistics_component.rb
415
+ - app/components/panda/cms/admin/tab_bar_component.html.erb
416
+ - app/components/panda/cms/admin/tab_bar_component.rb
417
+ - app/components/panda/cms/admin/table_component.html.erb
418
+ - app/components/panda/cms/admin/table_component.rb
419
+ - app/components/panda/cms/admin/tag_component.rb
420
+ - app/components/panda/cms/admin/user_activity_component.html.erb
421
+ - app/components/panda/cms/admin/user_activity_component.rb
422
+ - app/components/panda/cms/admin/user_display_component.html.erb
423
+ - app/components/panda/cms/admin/user_display_component.rb
424
+ - app/components/panda/cms/code_component.rb
425
+ - app/components/panda/cms/grid_component.html.erb
426
+ - app/components/panda/cms/grid_component.rb
427
+ - app/components/panda/cms/menu_component.html.erb
428
+ - app/components/panda/cms/menu_component.rb
429
+ - app/components/panda/cms/page_menu_component.html.erb
430
+ - app/components/panda/cms/page_menu_component.rb
431
+ - app/components/panda/cms/rich_text_component.html.erb
432
+ - app/components/panda/cms/rich_text_component.rb
433
+ - app/components/panda/cms/text_component.rb
434
+ - app/constraints/panda/cms/admin_constraint.rb
435
+ - app/controllers/panda/cms/admin/block_contents_controller.rb
436
+ - app/controllers/panda/cms/admin/dashboard_controller.rb
437
+ - app/controllers/panda/cms/admin/files_controller.rb
438
+ - app/controllers/panda/cms/admin/forms_controller.rb
439
+ - app/controllers/panda/cms/admin/menus_controller.rb
440
+ - app/controllers/panda/cms/admin/pages_controller.rb
441
+ - app/controllers/panda/cms/admin/posts_controller.rb
442
+ - app/controllers/panda/cms/admin/sessions_controller.rb
443
+ - app/controllers/panda/cms/admin/settings/bulk_editor_controller.rb
444
+ - app/controllers/panda/cms/admin/settings_controller.rb
445
+ - app/controllers/panda/cms/application_controller.rb
446
+ - app/controllers/panda/cms/errors_controller.rb
447
+ - app/controllers/panda/cms/form_submissions_controller.rb
448
+ - app/controllers/panda/cms/pages_controller.rb
449
+ - app/controllers/panda/cms/posts_controller.rb
450
+ - app/helpers/panda/cms/admin/files_helper.rb
451
+ - app/helpers/panda/cms/admin/pages_helper.rb
452
+ - app/helpers/panda/cms/admin/posts_helper.rb
453
+ - app/helpers/panda/cms/application_helper.rb
454
+ - app/helpers/panda/cms/pages_helper.rb
455
+ - app/helpers/panda/cms/theme_helper.rb
456
+ - app/javascript/panda/cms/@editorjs--editorjs.js
457
+ - app/javascript/panda/cms/@hotwired--stimulus.js
458
+ - app/javascript/panda/cms/@hotwired--turbo.js
459
+ - app/javascript/panda/cms/@rails--actioncable--src.js
460
+ - app/javascript/panda/cms/application_panda_cms.js
461
+ - app/javascript/panda/cms/controllers/dashboard_controller.js
462
+ - app/javascript/panda/cms/controllers/editor_form_controller.js
463
+ - app/javascript/panda/cms/controllers/editor_iframe_controller.js
464
+ - app/javascript/panda/cms/controllers/index.js
465
+ - app/javascript/panda/cms/controllers/slug_controller.js
466
+ - app/javascript/panda/cms/editor/css_extractor.js
467
+ - app/javascript/panda/cms/editor/editor_js_config.js
468
+ - app/javascript/panda/cms/editor/editor_js_initializer.js
469
+ - app/javascript/panda/cms/editor/plain_text_editor.js
470
+ - app/javascript/panda/cms/editor/resource_loader.js
471
+ - app/javascript/panda/cms/tailwindcss-stimulus-components.js
472
+ - app/jobs/panda/cms/application_job.rb
473
+ - app/jobs/panda/cms/record_visit_job.rb
474
+ - app/mailers/panda/cms/application_mailer.rb
475
+ - app/mailers/panda/cms/form_mailer.rb
476
+ - app/models/action_text/rich_text_version.rb
477
+ - app/models/panda/cms/application_record.rb
478
+ - app/models/panda/cms/block.rb
479
+ - app/models/panda/cms/block_content.rb
480
+ - app/models/panda/cms/block_content_version.rb
481
+ - app/models/panda/cms/breadcrumb.rb
482
+ - app/models/panda/cms/current.rb
483
+ - app/models/panda/cms/form.rb
484
+ - app/models/panda/cms/form_submission.rb
485
+ - app/models/panda/cms/menu.rb
486
+ - app/models/panda/cms/menu_item.rb
487
+ - app/models/panda/cms/page.rb
488
+ - app/models/panda/cms/page_version.rb
489
+ - app/models/panda/cms/post.rb
490
+ - app/models/panda/cms/post_version.rb
491
+ - app/models/panda/cms/redirect.rb
492
+ - app/models/panda/cms/template.rb
493
+ - app/models/panda/cms/template_version.rb
494
+ - app/models/panda/cms/user.rb
495
+ - app/models/panda/cms/version.rb
496
+ - app/models/panda/cms/visit.rb
497
+ - app/services/panda/cms/html_to_editor_js_converter.rb
498
+ - app/views/active_storage/blobs/blobs/_blob.html.erb
499
+ - app/views/layouts/action_text/contents/_content.html.erb
500
+ - app/views/layouts/panda/cms/application.html.erb
501
+ - app/views/layouts/panda/cms/public.html.erb
502
+ - app/views/panda/cms/admin/dashboard/show.html.erb
503
+ - app/views/panda/cms/admin/files/index.html.erb
504
+ - app/views/panda/cms/admin/files/show.html.erb
505
+ - app/views/panda/cms/admin/forms/edit.html.erb
506
+ - app/views/panda/cms/admin/forms/index.html.erb
507
+ - app/views/panda/cms/admin/forms/new.html.erb
508
+ - app/views/panda/cms/admin/forms/show.html.erb
509
+ - app/views/panda/cms/admin/menus/index.html.erb
510
+ - app/views/panda/cms/admin/pages/edit.html.erb
511
+ - app/views/panda/cms/admin/pages/index.html.erb
512
+ - app/views/panda/cms/admin/pages/new.html.erb
513
+ - app/views/panda/cms/admin/pages/show.html.erb
514
+ - app/views/panda/cms/admin/posts/_form.html.erb
515
+ - app/views/panda/cms/admin/posts/edit.html.erb
516
+ - app/views/panda/cms/admin/posts/index.html.erb
517
+ - app/views/panda/cms/admin/posts/new.html.erb
518
+ - app/views/panda/cms/admin/sessions/new.html.erb
519
+ - app/views/panda/cms/admin/settings/bulk_editor/new.html.erb
520
+ - app/views/panda/cms/admin/settings/index.html.erb
521
+ - app/views/panda/cms/admin/settings/insta.html
522
+ - app/views/panda/cms/admin/shared/_breadcrumbs.html.erb
523
+ - app/views/panda/cms/admin/shared/_flash.html.erb
524
+ - app/views/panda/cms/admin/shared/_sidebar.html.erb
525
+ - app/views/panda/cms/form_mailer/notification_email.html.erb
526
+ - app/views/panda/cms/shared/_editor.html.erb
527
+ - app/views/panda/cms/shared/_favicons.html.erb
528
+ - app/views/panda/cms/shared/_footer.html.erb
529
+ - app/views/panda/cms/shared/_header.html.erb
530
+ - app/views/panda/cms/shared/_importmap.html.erb
531
+ - config/importmap.rb
532
+ - config/initializers/inflections.rb
533
+ - config/initializers/panda/cms.rb
534
+ - config/initializers/panda/cms/form_errors.rb
535
+ - config/initializers/panda/cms/healthcheck_log_silencer.rb
536
+ - config/initializers/panda/cms/paper_trail.rb
537
+ - config/initializers/zeitwork.rb
538
+ - config/locales/en.yml
539
+ - config/puma/test.rb
540
+ - config/routes.rb
541
+ - config/tailwind.config.js
542
+ - db/migrate/20240205223709_create_panda_cms_pages.rb
543
+ - db/migrate/20240219213327_create_panda_cms_page_versions.rb
544
+ - db/migrate/20240303002805_create_panda_cms_templates.rb
545
+ - db/migrate/20240303003434_create_panda_cms_template_versions.rb
546
+ - db/migrate/20240303022441_create_panda_cms_blocks.rb
547
+ - db/migrate/20240303024256_create_panda_cms_block_contents.rb
548
+ - db/migrate/20240303024746_create_panda_cms_block_content_versions.rb
549
+ - db/migrate/20240303233238_add_panda_cms_menu_table.rb
550
+ - db/migrate/20240303234724_add_panda_cms_menu_item_table.rb
551
+ - db/migrate/20240304134343_add_parent_id_to_panda_cms_pages.rb
552
+ - db/migrate/20240305000000_convert_html_content_to_editor_js.rb
553
+ - db/migrate/20240315125411_add_status_to_panda_cms_pages.rb
554
+ - db/migrate/20240315125421_add_nested_sets_to_panda_cms_pages.rb
555
+ - db/migrate/20240316212822_add_kind_to_panda_cms_menus.rb
556
+ - db/migrate/20240316221425_add_start_page_to_panda_cms_menus.rb
557
+ - db/migrate/20240316230706_add_nested_to_panda_cms_menu_items.rb
558
+ - db/migrate/20240317010532_create_panda_cms_users.rb
559
+ - db/migrate/20240317161534_add_max_uses_to_panda_cms_template.rb
560
+ - db/migrate/20240317163053_reset_counter_cache_on_panda_cms_template.rb
561
+ - db/migrate/20240317214827_create_panda_cms_redirects.rb
562
+ - db/migrate/20240317230622_create_panda_cms_visits.rb
563
+ - db/migrate/20240324205703_create_active_storage_tables.active_storage.rb
564
+ - db/migrate/20240408084718_default_panda_cms_users_admin_to_false.rb
565
+ - db/migrate/20240701225422_add_service_name_to_active_storage_blobs.active_storage.rb
566
+ - db/migrate/20240701225423_create_active_storage_variant_records.active_storage.rb
567
+ - db/migrate/20240701225424_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb
568
+ - db/migrate/20240804235210_create_panda_cms_forms.rb
569
+ - db/migrate/20240805013612_create_panda_cms_form_submissions.rb
570
+ - db/migrate/20240805121123_create_panda_cms_posts.rb
571
+ - db/migrate/20240805123104_create_panda_cms_post_versions.rb
572
+ - db/migrate/20240806112735_fix_panda_cms_visits_column_names.rb
573
+ - db/migrate/20240806204412_add_completion_path_to_panda_cms_forms.rb
574
+ - db/migrate/20240820081917_change_form_submissions_to_submission_count.rb
575
+ - db/migrate/20240904200605_create_action_text_tables.action_text.rb
576
+ - db/migrate/20240923234535_add_depth_to_panda_cms_menus.rb
577
+ - db/migrate/20241031205109_add_cached_content_to_panda_cms_block_contents.rb
578
+ - db/migrate/20241119214548_convert_post_content_to_editor_js.rb
579
+ - db/migrate/20241119214549_remove_action_text_from_posts.rb
580
+ - db/migrate/20241120000419_remove_post_tag_references.rb
581
+ - db/migrate/20241120110943_add_editor_js_to_posts.rb
582
+ - db/migrate/20241120113859_add_cached_content_to_panda_cms_posts.rb
583
+ - db/migrate/20241123234140_remove_post_tag_id_from_posts.rb
584
+ - db/migrate/migrate
585
+ - db/seeds.rb
586
+ - lib/generators/panda/cms/install_generator.rb
587
+ - lib/panda-cms.rb
588
+ - lib/panda-cms/version.rb
589
+ - lib/panda/cms.rb
590
+ - lib/panda/cms/bulk_editor.rb
591
+ - lib/panda/cms/demo_site_generator.rb
592
+ - lib/panda/cms/editor_js.rb
593
+ - lib/panda/cms/editor_js/blocks/alert.rb
594
+ - lib/panda/cms/editor_js/blocks/base.rb
595
+ - lib/panda/cms/editor_js/blocks/header.rb
596
+ - lib/panda/cms/editor_js/blocks/image.rb
597
+ - lib/panda/cms/editor_js/blocks/list.rb
598
+ - lib/panda/cms/editor_js/blocks/paragraph.rb
599
+ - lib/panda/cms/editor_js/blocks/quote.rb
600
+ - lib/panda/cms/editor_js/blocks/table.rb
601
+ - lib/panda/cms/editor_js/renderer.rb
602
+ - lib/panda/cms/editor_js_content.rb
603
+ - lib/panda/cms/engine.rb
604
+ - lib/panda/cms/exceptions_app.rb
605
+ - lib/panda/cms/railtie.rb
606
+ - lib/panda/cms/slug.rb
607
+ - lib/tasks/panda_cms.rake
608
+ - lib/templates/erb/scaffold/_form.html.erb.tt
609
+ - lib/templates/erb/scaffold/edit.html.erb.tt
610
+ - lib/templates/erb/scaffold/index.html.erb.tt
611
+ - lib/templates/erb/scaffold/new.html.erb.tt
612
+ - lib/templates/erb/scaffold/partial.html.erb.tt
613
+ - lib/templates/erb/scaffold/show.html.erb.tt
614
+ - public/panda-cms-assets/favicons/android-chrome-192x192.png
615
+ - public/panda-cms-assets/favicons/android-chrome-512x512.png
616
+ - public/panda-cms-assets/favicons/apple-touch-icon.png
617
+ - public/panda-cms-assets/favicons/browserconfig.xml
618
+ - public/panda-cms-assets/favicons/favicon-16x16.png
619
+ - public/panda-cms-assets/favicons/favicon-32x32.png
620
+ - public/panda-cms-assets/favicons/favicon.ico
621
+ - public/panda-cms-assets/favicons/mstile-150x150.png
622
+ - public/panda-cms-assets/favicons/safari-pinned-tab.svg
623
+ - public/panda-cms-assets/favicons/site.webmanifest
624
+ - public/panda-cms-assets/panda-logo-screenprint.png
625
+ - public/panda-cms-assets/panda-nav.png
626
+ - public/panda-cms-assets/rich_text_editor.css
627
+ homepage: https://pandacms.io
628
+ licenses:
629
+ - BSD-3-Clause
630
+ metadata:
631
+ homepage_uri: https://pandacms.io
632
+ source_code_uri: https://github.com/tastybamboo/panda-cms
633
+ bug_tracker_uri: https://github.com/tastybamboo/panda-cms/issues
634
+ changelog_uri: https://github.com/tastybamboo/panda-cms/releases
635
+ github_repo: ssh://github.com/tastybamboo/panda-cms.git
636
+ post_install_message: "\U0001F43C \U0001F49C"
637
+ rdoc_options: []
638
+ require_paths:
639
+ - lib
640
+ required_ruby_version: !ruby/object:Gem::Requirement
641
+ requirements:
642
+ - - ">="
643
+ - !ruby/object:Gem::Version
644
+ version: '3.0'
645
+ required_rubygems_version: !ruby/object:Gem::Requirement
646
+ requirements:
647
+ - - ">="
648
+ - !ruby/object:Gem::Version
649
+ version: '0'
650
+ requirements: []
651
+ rubygems_version: 3.6.2
652
+ specification_version: 4
653
+ summary: Better websites on Rails.
654
+ test_files: []