panda_cms 0.5.10 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -1
  3. data/Rakefile +0 -1
  4. data/app/assets/builds/panda_cms.css +2415 -1
  5. data/app/assets/config/panda_cms_manifest.js +2 -0
  6. data/app/assets/stylesheets/panda_cms/application.tailwind.css +3 -27
  7. data/app/builders/panda_cms/form_builder.rb +1 -1
  8. data/app/components/panda_cms/admin/button_component.rb +6 -3
  9. data/app/components/panda_cms/admin/flash_message_component.rb +1 -1
  10. data/app/components/panda_cms/admin/tag_component.rb +1 -1
  11. data/app/components/panda_cms/code_component.rb +60 -0
  12. data/app/components/panda_cms/page_menu_component.html.erb +6 -4
  13. data/app/components/panda_cms/page_menu_component.rb +21 -12
  14. data/app/components/panda_cms/rich_text_component.html.erb +6 -38
  15. data/app/components/panda_cms/rich_text_component.rb +24 -7
  16. data/app/components/panda_cms/text_component.rb +25 -22
  17. data/app/controllers/panda_cms/admin/dashboard_controller.rb +14 -6
  18. data/app/controllers/panda_cms/admin/menus_controller.rb +1 -54
  19. data/app/controllers/panda_cms/admin/pages_controller.rb +2 -1
  20. data/app/controllers/panda_cms/admin/sessions_controller.rb +13 -6
  21. data/app/controllers/panda_cms/application_controller.rb +1 -1
  22. data/app/controllers/panda_cms/pages_controller.rb +1 -1
  23. data/app/controllers/panda_cms/posts_controller.rb +1 -1
  24. data/app/helpers/panda_cms/application_helper.rb +2 -2
  25. data/app/javascript/panda_cms/@hotwired--stimulus.js +4 -0
  26. data/app/javascript/panda_cms/@hotwired--turbo.js +160 -0
  27. data/app/javascript/panda_cms/@rails--actioncable--src.js +4 -0
  28. data/app/javascript/panda_cms/application_panda_cms.js +4 -0
  29. data/app/javascript/panda_cms/controllers/dashboard_controller.js +7 -0
  30. data/app/javascript/panda_cms/controllers/index.js +42 -0
  31. data/app/javascript/panda_cms/controllers/slug_controller.js +48 -0
  32. data/app/javascript/panda_cms/panda_cms_editable.js +248 -0
  33. data/app/javascript/panda_cms/tailwindcss-stimulus-components.js +4 -0
  34. data/app/lib/panda_cms/demo_site_generator.rb +1 -1
  35. data/app/lib/panda_cms/slug.rb +1 -1
  36. data/app/models/panda_cms/block.rb +2 -2
  37. data/app/models/panda_cms/page.rb +9 -3
  38. data/app/models/panda_cms/post.rb +1 -1
  39. data/app/models/panda_cms/template.rb +4 -2
  40. data/app/models/panda_cms/user.rb +9 -1
  41. data/app/views/panda_cms/admin/dashboard/show.html.erb +11 -9
  42. data/app/views/panda_cms/admin/forms/new.html.erb +6 -7
  43. data/app/views/panda_cms/admin/menus/index.html.erb +0 -2
  44. data/app/views/panda_cms/admin/pages/edit.html.erb +18 -16
  45. data/app/views/panda_cms/admin/pages/new.html.erb +6 -7
  46. data/app/views/panda_cms/admin/posts/_form.html.erb +4 -4
  47. data/app/views/panda_cms/admin/sessions/new.html.erb +1 -2
  48. data/app/views/panda_cms/admin/shared/_sidebar.html.erb +12 -16
  49. data/app/views/panda_cms/shared/_header.html.erb +14 -14
  50. data/app/views/panda_cms/shared/_importmap.html.erb +22 -0
  51. data/config/importmap.rb +11 -10
  52. data/config/initializers/panda_cms.rb +57 -55
  53. data/config/routes.rb +9 -9
  54. data/config/tailwind.config.js +1 -0
  55. data/db/migrate/20240205223709_create_panda_cms_pages.rb +6 -4
  56. data/lib/generators/panda_cms/install_generator.rb +3 -0
  57. data/lib/panda_cms/engine.rb +27 -22
  58. data/lib/panda_cms/version.rb +1 -1
  59. data/lib/panda_cms.rb +58 -10
  60. data/lib/tasks/panda_cms.rake +41 -57
  61. data/public/panda-cms-assets/rich_text_editor.css +568 -0
  62. metadata +216 -278
  63. data/app/javascript/base.js +0 -37
  64. data/app/javascript/controllers/menu_controller.js +0 -19
  65. data/app/javascript/controllers/text_controller.js +0 -78
  66. data/app/javascript/controllers/text_field_update_controller.js +0 -51
  67. data/app/javascript/vendor/stimulus-components-rails-nested-form.js +0 -2
  68. data/app/javascript/vendor/tailwindcss-stimulus-components.js +0 -2
  69. data/app/views/panda_cms/admin/menus/_form.html.erb +0 -21
  70. data/app/views/panda_cms/admin/menus/_menu_item_fields.html.erb +0 -7
  71. data/app/views/panda_cms/admin/menus/edit.html.erb +0 -58
  72. data/app/views/panda_cms/admin/menus/new.html.erb +0 -5
  73. data/public/panda-cms-assets/javascripts/base.js +0 -37
  74. data/public/panda-cms-assets/javascripts/controllers/menu_controller.js +0 -19
  75. data/public/panda-cms-assets/javascripts/controllers/text_field_update_controller.js +0 -23
  76. data/public/panda-cms-assets/javascripts/embed/editable.js +0 -358
  77. data/public/panda-cms-assets/javascripts/embed/rich_text.css +0 -1294
  78. data/public/panda-cms-assets/javascripts/vendor/stimulus-components-rails-nested-form.js +0 -2
  79. data/public/panda-cms-assets/javascripts/vendor/stimulus-loading.js +0 -113
  80. data/public/panda-cms-assets/javascripts/vendor/tailwindcss-stimulus-components.js +0 -2
  81. /data/db/migrate/{20240804110225_add_status_to_panda_cms_pages.rb → 20240315125411_add_status_to_panda_cms_pages.rb} +0 -0
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Panda Software Limited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-01 00:00:00.000000000 Z
11
+ date: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-office-previewer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.1'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.1'
27
- - !ruby/object:Gem::Dependency
28
- name: amazing_print
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
17
+ - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: '1.6'
19
+ version: '0'
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
- - - "~>"
24
+ - - ">="
39
25
  - !ruby/object:Gem::Version
40
- version: '1.6'
26
+ version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: awesome_nested_set
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -56,30 +42,30 @@ dependencies:
56
42
  name: aws-sdk-s3
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - "~>"
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: '1'
47
+ version: '0'
62
48
  type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - "~>"
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: '1'
54
+ version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: danger
56
+ name: dry-configurable
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - "~>"
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
- version: '9.5'
61
+ version: '0'
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - "~>"
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
- version: '9.5'
68
+ version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: faraday
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -168,16 +154,16 @@ dependencies:
168
154
  name: importmap-rails
169
155
  requirement: !ruby/object:Gem::Requirement
170
156
  requirements:
171
- - - "~>"
157
+ - - ">="
172
158
  - !ruby/object:Gem::Version
173
- version: '2.0'
159
+ version: '0'
174
160
  type: :runtime
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
- - - "~>"
164
+ - - ">="
179
165
  - !ruby/object:Gem::Version
180
- version: '2.0'
166
+ version: '0'
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: local_time
183
169
  requirement: !ruby/object:Gem::Requirement
@@ -206,6 +192,20 @@ dependencies:
206
192
  - - "~>"
207
193
  - !ruby/object:Gem::Version
208
194
  version: '2.0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: oaken
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: omniauth
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -294,100 +294,100 @@ dependencies:
294
294
  name: pg
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
- - - "~>"
297
+ - - ">="
298
298
  - !ruby/object:Gem::Version
299
- version: '1.5'
299
+ version: '0'
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
- - - "~>"
304
+ - - ">="
305
305
  - !ruby/object:Gem::Version
306
- version: '1.5'
306
+ version: '0'
307
307
  - !ruby/object:Gem::Dependency
308
- name: rails
308
+ name: redcarpet
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
- - - "~>"
311
+ - - ">="
312
312
  - !ruby/object:Gem::Version
313
- version: 7.2.1
313
+ version: '0'
314
314
  type: :runtime
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
- - - "~>"
318
+ - - ">="
319
319
  - !ruby/object:Gem::Version
320
- version: 7.2.1
320
+ version: '0'
321
321
  - !ruby/object:Gem::Dependency
322
- name: redcarpet
322
+ name: silencer
323
323
  requirement: !ruby/object:Gem::Requirement
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: '3.6'
327
+ version: '2.0'
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
- version: '3.6'
334
+ version: '2.0'
335
335
  - !ruby/object:Gem::Dependency
336
- name: silencer
336
+ name: propshaft
337
337
  requirement: !ruby/object:Gem::Requirement
338
338
  requirements:
339
- - - "~>"
339
+ - - ">="
340
340
  - !ruby/object:Gem::Version
341
- version: '2.0'
341
+ version: '0'
342
342
  type: :runtime
343
343
  prerelease: false
344
344
  version_requirements: !ruby/object:Gem::Requirement
345
345
  requirements:
346
- - - "~>"
346
+ - - ">="
347
347
  - !ruby/object:Gem::Version
348
- version: '2.0'
348
+ version: '0'
349
349
  - !ruby/object:Gem::Dependency
350
350
  name: stimulus-rails
351
351
  requirement: !ruby/object:Gem::Requirement
352
352
  requirements:
353
- - - "~>"
353
+ - - ">="
354
354
  - !ruby/object:Gem::Version
355
- version: '1.3'
355
+ version: '0'
356
356
  type: :runtime
357
357
  prerelease: false
358
358
  version_requirements: !ruby/object:Gem::Requirement
359
359
  requirements:
360
- - - "~>"
360
+ - - ">="
361
361
  - !ruby/object:Gem::Version
362
- version: '1.3'
362
+ version: '0'
363
363
  - !ruby/object:Gem::Dependency
364
364
  name: tailwindcss-rails
365
365
  requirement: !ruby/object:Gem::Requirement
366
366
  requirements:
367
367
  - - "~>"
368
368
  - !ruby/object:Gem::Version
369
- version: '2.7'
369
+ version: '3'
370
370
  type: :runtime
371
371
  prerelease: false
372
372
  version_requirements: !ruby/object:Gem::Requirement
373
373
  requirements:
374
374
  - - "~>"
375
375
  - !ruby/object:Gem::Version
376
- version: '2.7'
376
+ version: '3'
377
377
  - !ruby/object:Gem::Dependency
378
- name: view_component
378
+ name: turbo-rails
379
379
  requirement: !ruby/object:Gem::Requirement
380
380
  requirements:
381
- - - "~>"
381
+ - - ">="
382
382
  - !ruby/object:Gem::Version
383
- version: '3.14'
383
+ version: '0'
384
384
  type: :runtime
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
- - - "~>"
388
+ - - ">="
389
389
  - !ruby/object:Gem::Version
390
- version: '3.14'
390
+ version: '0'
391
391
  - !ruby/object:Gem::Dependency
392
392
  name: whois-parser
393
393
  requirement: !ruby/object:Gem::Requirement
@@ -406,534 +406,478 @@ dependencies:
406
406
  name: annotate
407
407
  requirement: !ruby/object:Gem::Requirement
408
408
  requirements:
409
- - - "~>"
409
+ - - ">="
410
410
  - !ruby/object:Gem::Version
411
- version: '3.2'
411
+ version: '0'
412
412
  type: :development
413
413
  prerelease: false
414
414
  version_requirements: !ruby/object:Gem::Requirement
415
415
  requirements:
416
- - - "~>"
416
+ - - ">="
417
417
  - !ruby/object:Gem::Version
418
- version: '3.2'
418
+ version: '0'
419
419
  - !ruby/object:Gem::Dependency
420
420
  name: better_errors
421
421
  requirement: !ruby/object:Gem::Requirement
422
422
  requirements:
423
- - - "~>"
423
+ - - ">="
424
424
  - !ruby/object:Gem::Version
425
- version: '2.10'
425
+ version: '0'
426
426
  type: :development
427
427
  prerelease: false
428
428
  version_requirements: !ruby/object:Gem::Requirement
429
429
  requirements:
430
- - - "~>"
430
+ - - ">="
431
431
  - !ruby/object:Gem::Version
432
- version: '2.10'
432
+ version: '0'
433
433
  - !ruby/object:Gem::Dependency
434
434
  name: binding_of_caller
435
435
  requirement: !ruby/object:Gem::Requirement
436
436
  requirements:
437
- - - "~>"
437
+ - - ">="
438
438
  - !ruby/object:Gem::Version
439
- version: '1.0'
439
+ version: '0'
440
440
  type: :development
441
441
  prerelease: false
442
442
  version_requirements: !ruby/object:Gem::Requirement
443
443
  requirements:
444
- - - "~>"
444
+ - - ">="
445
445
  - !ruby/object:Gem::Version
446
- version: '1.0'
446
+ version: '0'
447
447
  - !ruby/object:Gem::Dependency
448
448
  name: brakeman
449
449
  requirement: !ruby/object:Gem::Requirement
450
450
  requirements:
451
- - - "~>"
451
+ - - ">="
452
452
  - !ruby/object:Gem::Version
453
- version: '6.2'
453
+ version: '0'
454
454
  type: :development
455
455
  prerelease: false
456
456
  version_requirements: !ruby/object:Gem::Requirement
457
457
  requirements:
458
- - - "~>"
458
+ - - ">="
459
459
  - !ruby/object:Gem::Version
460
- version: '6.2'
460
+ version: '0'
461
461
  - !ruby/object:Gem::Dependency
462
- name: bullet
462
+ name: bundler-audit
463
463
  requirement: !ruby/object:Gem::Requirement
464
464
  requirements:
465
- - - "~>"
465
+ - - ">="
466
466
  - !ruby/object:Gem::Version
467
- version: '7.2'
467
+ version: '0'
468
468
  type: :development
469
469
  prerelease: false
470
470
  version_requirements: !ruby/object:Gem::Requirement
471
471
  requirements:
472
- - - "~>"
472
+ - - ">="
473
473
  - !ruby/object:Gem::Version
474
- version: '7.2'
474
+ version: '0'
475
475
  - !ruby/object:Gem::Dependency
476
- name: bundler-audit
476
+ name: capybara
477
477
  requirement: !ruby/object:Gem::Requirement
478
478
  requirements:
479
- - - "~>"
479
+ - - ">="
480
480
  - !ruby/object:Gem::Version
481
- version: '0.9'
481
+ version: '0'
482
482
  type: :development
483
483
  prerelease: false
484
484
  version_requirements: !ruby/object:Gem::Requirement
485
485
  requirements:
486
- - - "~>"
486
+ - - ">="
487
487
  - !ruby/object:Gem::Version
488
- version: '0.9'
488
+ version: '0'
489
489
  - !ruby/object:Gem::Dependency
490
- name: capybara
490
+ name: cuprite
491
491
  requirement: !ruby/object:Gem::Requirement
492
492
  requirements:
493
- - - "~>"
493
+ - - ">="
494
494
  - !ruby/object:Gem::Version
495
- version: '3.40'
495
+ version: '0'
496
496
  type: :development
497
497
  prerelease: false
498
498
  version_requirements: !ruby/object:Gem::Requirement
499
499
  requirements:
500
- - - "~>"
500
+ - - ">="
501
501
  - !ruby/object:Gem::Version
502
- version: '3.40'
502
+ version: '0'
503
503
  - !ruby/object:Gem::Dependency
504
504
  name: danger
505
505
  requirement: !ruby/object:Gem::Requirement
506
506
  requirements:
507
- - - "~>"
507
+ - - ">="
508
508
  - !ruby/object:Gem::Version
509
- version: '9.5'
509
+ version: '0'
510
510
  type: :development
511
511
  prerelease: false
512
512
  version_requirements: !ruby/object:Gem::Requirement
513
513
  requirements:
514
- - - "~>"
514
+ - - ">="
515
515
  - !ruby/object:Gem::Version
516
- version: '9.5'
516
+ version: '0'
517
517
  - !ruby/object:Gem::Dependency
518
518
  name: danger-reek
519
519
  requirement: !ruby/object:Gem::Requirement
520
520
  requirements:
521
- - - "~>"
521
+ - - ">="
522
522
  - !ruby/object:Gem::Version
523
- version: '0.3'
523
+ version: '0'
524
524
  type: :development
525
525
  prerelease: false
526
526
  version_requirements: !ruby/object:Gem::Requirement
527
527
  requirements:
528
- - - "~>"
528
+ - - ">="
529
529
  - !ruby/object:Gem::Version
530
- version: '0.3'
530
+ version: '0'
531
531
  - !ruby/object:Gem::Dependency
532
532
  name: danger-rubocop
533
533
  requirement: !ruby/object:Gem::Requirement
534
534
  requirements:
535
- - - "~>"
535
+ - - ">="
536
536
  - !ruby/object:Gem::Version
537
- version: '0.13'
537
+ version: '0'
538
538
  type: :development
539
539
  prerelease: false
540
540
  version_requirements: !ruby/object:Gem::Requirement
541
541
  requirements:
542
- - - "~>"
542
+ - - ">="
543
543
  - !ruby/object:Gem::Version
544
- version: '0.13'
544
+ version: '0'
545
545
  - !ruby/object:Gem::Dependency
546
546
  name: danger-simplecov_json
547
547
  requirement: !ruby/object:Gem::Requirement
548
548
  requirements:
549
- - - "~>"
549
+ - - ">="
550
550
  - !ruby/object:Gem::Version
551
- version: '0.3'
551
+ version: '0'
552
552
  type: :development
553
553
  prerelease: false
554
554
  version_requirements: !ruby/object:Gem::Requirement
555
555
  requirements:
556
- - - "~>"
556
+ - - ">="
557
557
  - !ruby/object:Gem::Version
558
- version: '0.3'
558
+ version: '0'
559
559
  - !ruby/object:Gem::Dependency
560
560
  name: danger-todoist
561
561
  requirement: !ruby/object:Gem::Requirement
562
562
  requirements:
563
- - - "~>"
563
+ - - ">="
564
564
  - !ruby/object:Gem::Version
565
- version: '2.0'
565
+ version: '0'
566
566
  type: :development
567
567
  prerelease: false
568
568
  version_requirements: !ruby/object:Gem::Requirement
569
569
  requirements:
570
- - - "~>"
570
+ - - ">="
571
571
  - !ruby/object:Gem::Version
572
- version: '2.0'
572
+ version: '0'
573
573
  - !ruby/object:Gem::Dependency
574
574
  name: erb_lint
575
575
  requirement: !ruby/object:Gem::Requirement
576
576
  requirements:
577
- - - "~>"
577
+ - - ">="
578
578
  - !ruby/object:Gem::Version
579
- version: '0.6'
579
+ version: '0'
580
580
  type: :development
581
581
  prerelease: false
582
582
  version_requirements: !ruby/object:Gem::Requirement
583
583
  requirements:
584
- - - "~>"
584
+ - - ">="
585
585
  - !ruby/object:Gem::Version
586
- version: '0.6'
586
+ version: '0'
587
587
  - !ruby/object:Gem::Dependency
588
- name: faker
589
- requirement: !ruby/object:Gem::Requirement
590
- requirements:
591
- - - "~>"
592
- - !ruby/object:Gem::Version
593
- version: '3.4'
594
- type: :development
595
- prerelease: false
596
- version_requirements: !ruby/object:Gem::Requirement
597
- requirements:
598
- - - "~>"
599
- - !ruby/object:Gem::Version
600
- version: '3.4'
601
- - !ruby/object:Gem::Dependency
602
- name: fasterer
588
+ name: factory_bot_rails
603
589
  requirement: !ruby/object:Gem::Requirement
604
590
  requirements:
605
- - - "~>"
591
+ - - ">="
606
592
  - !ruby/object:Gem::Version
607
- version: '0.11'
593
+ version: '0'
608
594
  type: :development
609
595
  prerelease: false
610
596
  version_requirements: !ruby/object:Gem::Requirement
611
597
  requirements:
612
- - - "~>"
598
+ - - ">="
613
599
  - !ruby/object:Gem::Version
614
- version: '0.11'
600
+ version: '0'
615
601
  - !ruby/object:Gem::Dependency
616
- name: factory_bot_rails
602
+ name: faker
617
603
  requirement: !ruby/object:Gem::Requirement
618
604
  requirements:
619
- - - "~>"
605
+ - - ">="
620
606
  - !ruby/object:Gem::Version
621
- version: '6.4'
607
+ version: '0'
622
608
  type: :development
623
609
  prerelease: false
624
610
  version_requirements: !ruby/object:Gem::Requirement
625
611
  requirements:
626
- - - "~>"
612
+ - - ">="
627
613
  - !ruby/object:Gem::Version
628
- version: '6.4'
614
+ version: '0'
629
615
  - !ruby/object:Gem::Dependency
630
- name: fuubar
616
+ name: fasterer
631
617
  requirement: !ruby/object:Gem::Requirement
632
618
  requirements:
633
- - - "~>"
619
+ - - ">="
634
620
  - !ruby/object:Gem::Version
635
- version: '2.5'
621
+ version: '0'
636
622
  type: :development
637
623
  prerelease: false
638
624
  version_requirements: !ruby/object:Gem::Requirement
639
625
  requirements:
640
- - - "~>"
626
+ - - ">="
641
627
  - !ruby/object:Gem::Version
642
- version: '2.5'
628
+ version: '0'
643
629
  - !ruby/object:Gem::Dependency
644
630
  name: htmlbeautifier
645
631
  requirement: !ruby/object:Gem::Requirement
646
632
  requirements:
647
- - - "~>"
633
+ - - ">="
648
634
  - !ruby/object:Gem::Version
649
- version: '1.4'
635
+ version: '0'
650
636
  type: :development
651
637
  prerelease: false
652
638
  version_requirements: !ruby/object:Gem::Requirement
653
639
  requirements:
654
- - - "~>"
640
+ - - ">="
655
641
  - !ruby/object:Gem::Version
656
- version: '1.4'
642
+ version: '0'
657
643
  - !ruby/object:Gem::Dependency
658
644
  name: lefthook
659
645
  requirement: !ruby/object:Gem::Requirement
660
646
  requirements:
661
- - - "~>"
647
+ - - ">="
662
648
  - !ruby/object:Gem::Version
663
- version: '1.7'
649
+ version: '0'
664
650
  type: :development
665
651
  prerelease: false
666
652
  version_requirements: !ruby/object:Gem::Requirement
667
653
  requirements:
668
- - - "~>"
654
+ - - ">="
669
655
  - !ruby/object:Gem::Version
670
- version: '1.7'
656
+ version: '0'
671
657
  - !ruby/object:Gem::Dependency
672
658
  name: listen
673
659
  requirement: !ruby/object:Gem::Requirement
674
660
  requirements:
675
- - - "~>"
661
+ - - ">="
676
662
  - !ruby/object:Gem::Version
677
- version: '3.9'
663
+ version: '0'
678
664
  type: :development
679
665
  prerelease: false
680
666
  version_requirements: !ruby/object:Gem::Requirement
681
667
  requirements:
682
- - - "~>"
668
+ - - ">="
683
669
  - !ruby/object:Gem::Version
684
- version: '3.9'
670
+ version: '0'
685
671
  - !ruby/object:Gem::Dependency
686
672
  name: msgpack
687
673
  requirement: !ruby/object:Gem::Requirement
688
674
  requirements:
689
- - - "~>"
675
+ - - ">="
690
676
  - !ruby/object:Gem::Version
691
- version: '1.7'
677
+ version: '0'
692
678
  type: :development
693
679
  prerelease: false
694
680
  version_requirements: !ruby/object:Gem::Requirement
695
681
  requirements:
696
- - - "~>"
682
+ - - ">="
697
683
  - !ruby/object:Gem::Version
698
- version: '1.7'
684
+ version: '0'
699
685
  - !ruby/object:Gem::Dependency
700
686
  name: puma
701
687
  requirement: !ruby/object:Gem::Requirement
702
688
  requirements:
703
- - - "~>"
689
+ - - ">="
704
690
  - !ruby/object:Gem::Version
705
- version: '6.4'
691
+ version: '0'
706
692
  type: :development
707
693
  prerelease: false
708
694
  version_requirements: !ruby/object:Gem::Requirement
709
695
  requirements:
710
- - - "~>"
696
+ - - ">="
711
697
  - !ruby/object:Gem::Version
712
- version: '6.4'
713
- - !ruby/object:Gem::Dependency
714
- name: propshaft
715
- requirement: !ruby/object:Gem::Requirement
716
- requirements:
717
- - - "~>"
718
- - !ruby/object:Gem::Version
719
- version: '1.0'
720
- type: :development
721
- prerelease: false
722
- version_requirements: !ruby/object:Gem::Requirement
723
- requirements:
724
- - - "~>"
725
- - !ruby/object:Gem::Version
726
- version: '1.0'
698
+ version: '0'
727
699
  - !ruby/object:Gem::Dependency
728
700
  name: rails-route-checker
729
701
  requirement: !ruby/object:Gem::Requirement
730
702
  requirements:
731
- - - "~>"
703
+ - - ">="
732
704
  - !ruby/object:Gem::Version
733
- version: '0.6'
705
+ version: '0'
734
706
  type: :development
735
707
  prerelease: false
736
708
  version_requirements: !ruby/object:Gem::Requirement
737
709
  requirements:
738
- - - "~>"
710
+ - - ">="
739
711
  - !ruby/object:Gem::Version
740
- version: '0.6'
712
+ version: '0'
741
713
  - !ruby/object:Gem::Dependency
742
714
  name: rspec-rails
743
715
  requirement: !ruby/object:Gem::Requirement
744
716
  requirements:
745
- - - "~>"
717
+ - - ">="
746
718
  - !ruby/object:Gem::Version
747
- version: '7.0'
719
+ version: '0'
748
720
  type: :development
749
721
  prerelease: false
750
722
  version_requirements: !ruby/object:Gem::Requirement
751
723
  requirements:
752
- - - "~>"
724
+ - - ">="
753
725
  - !ruby/object:Gem::Version
754
- version: '7.0'
726
+ version: '0'
755
727
  - !ruby/object:Gem::Dependency
756
728
  name: rspec-github
757
729
  requirement: !ruby/object:Gem::Requirement
758
730
  requirements:
759
- - - "~>"
760
- - !ruby/object:Gem::Version
761
- version: '2.4'
762
- type: :development
763
- prerelease: false
764
- version_requirements: !ruby/object:Gem::Requirement
765
- requirements:
766
- - - "~>"
767
- - !ruby/object:Gem::Version
768
- version: '2.4'
769
- - !ruby/object:Gem::Dependency
770
- name: selenium-webdriver
771
- requirement: !ruby/object:Gem::Requirement
772
- requirements:
773
- - - "~>"
731
+ - - ">="
774
732
  - !ruby/object:Gem::Version
775
- version: '4.24'
733
+ version: '0'
776
734
  type: :development
777
735
  prerelease: false
778
736
  version_requirements: !ruby/object:Gem::Requirement
779
737
  requirements:
780
- - - "~>"
738
+ - - ">="
781
739
  - !ruby/object:Gem::Version
782
- version: '4.24'
740
+ version: '0'
783
741
  - !ruby/object:Gem::Dependency
784
742
  name: shoulda-matchers
785
743
  requirement: !ruby/object:Gem::Requirement
786
744
  requirements:
787
- - - "~>"
745
+ - - ">="
788
746
  - !ruby/object:Gem::Version
789
- version: '6.4'
747
+ version: '0'
790
748
  type: :development
791
749
  prerelease: false
792
750
  version_requirements: !ruby/object:Gem::Requirement
793
751
  requirements:
794
- - - "~>"
752
+ - - ">="
795
753
  - !ruby/object:Gem::Version
796
- version: '6.4'
754
+ version: '0'
797
755
  - !ruby/object:Gem::Dependency
798
756
  name: simplecov
799
757
  requirement: !ruby/object:Gem::Requirement
800
758
  requirements:
801
- - - "~>"
759
+ - - ">="
802
760
  - !ruby/object:Gem::Version
803
- version: '0.22'
761
+ version: '0'
804
762
  type: :development
805
763
  prerelease: false
806
764
  version_requirements: !ruby/object:Gem::Requirement
807
765
  requirements:
808
- - - "~>"
766
+ - - ">="
809
767
  - !ruby/object:Gem::Version
810
- version: '0.22'
768
+ version: '0'
811
769
  - !ruby/object:Gem::Dependency
812
770
  name: simplecov-json
813
771
  requirement: !ruby/object:Gem::Requirement
814
772
  requirements:
815
- - - "~>"
773
+ - - ">="
816
774
  - !ruby/object:Gem::Version
817
- version: '0.2'
775
+ version: '0'
818
776
  type: :development
819
777
  prerelease: false
820
778
  version_requirements: !ruby/object:Gem::Requirement
821
779
  requirements:
822
- - - "~>"
780
+ - - ">="
823
781
  - !ruby/object:Gem::Version
824
- version: '0.2'
782
+ version: '0'
825
783
  - !ruby/object:Gem::Dependency
826
784
  name: simplecov_json_formatter
827
785
  requirement: !ruby/object:Gem::Requirement
828
786
  requirements:
829
- - - "~>"
787
+ - - ">="
830
788
  - !ruby/object:Gem::Version
831
- version: '0.1'
789
+ version: '0'
832
790
  type: :development
833
791
  prerelease: false
834
792
  version_requirements: !ruby/object:Gem::Requirement
835
793
  requirements:
836
- - - "~>"
794
+ - - ">="
837
795
  - !ruby/object:Gem::Version
838
- version: '0.1'
796
+ version: '0'
839
797
  - !ruby/object:Gem::Dependency
840
798
  name: simplecov-lcov
841
799
  requirement: !ruby/object:Gem::Requirement
842
800
  requirements:
843
- - - "~>"
801
+ - - ">="
844
802
  - !ruby/object:Gem::Version
845
- version: '0.8'
803
+ version: '0'
846
804
  type: :development
847
805
  prerelease: false
848
806
  version_requirements: !ruby/object:Gem::Requirement
849
807
  requirements:
850
- - - "~>"
808
+ - - ">="
851
809
  - !ruby/object:Gem::Version
852
- version: '0.8'
810
+ version: '0'
853
811
  - !ruby/object:Gem::Dependency
854
812
  name: simplecov_lcov_formatter
855
813
  requirement: !ruby/object:Gem::Requirement
856
814
  requirements:
857
- - - "~>"
815
+ - - ">="
858
816
  - !ruby/object:Gem::Version
859
- version: '0.9'
817
+ version: '0'
860
818
  type: :development
861
819
  prerelease: false
862
820
  version_requirements: !ruby/object:Gem::Requirement
863
821
  requirements:
864
- - - "~>"
822
+ - - ">="
865
823
  - !ruby/object:Gem::Version
866
- version: '0.9'
824
+ version: '0'
867
825
  - !ruby/object:Gem::Dependency
868
826
  name: standard
869
827
  requirement: !ruby/object:Gem::Requirement
870
828
  requirements:
871
- - - "~>"
829
+ - - ">="
872
830
  - !ruby/object:Gem::Version
873
- version: '1.40'
831
+ version: '0'
874
832
  type: :development
875
833
  prerelease: false
876
834
  version_requirements: !ruby/object:Gem::Requirement
877
835
  requirements:
878
- - - "~>"
836
+ - - ">="
879
837
  - !ruby/object:Gem::Version
880
- version: '1.40'
838
+ version: '0'
881
839
  - !ruby/object:Gem::Dependency
882
840
  name: ruby-lsp
883
841
  requirement: !ruby/object:Gem::Requirement
884
842
  requirements:
885
- - - "~>"
843
+ - - ">="
886
844
  - !ruby/object:Gem::Version
887
- version: '0.18'
845
+ version: '0'
888
846
  type: :development
889
847
  prerelease: false
890
848
  version_requirements: !ruby/object:Gem::Requirement
891
849
  requirements:
892
- - - "~>"
850
+ - - ">="
893
851
  - !ruby/object:Gem::Version
894
- version: '0.18'
895
- - !ruby/object:Gem::Dependency
896
- name: turbo-rails
897
- requirement: !ruby/object:Gem::Requirement
898
- requirements:
899
- - - "~>"
900
- - !ruby/object:Gem::Version
901
- version: '2.0'
902
- type: :development
903
- prerelease: false
904
- version_requirements: !ruby/object:Gem::Requirement
905
- requirements:
906
- - - "~>"
907
- - !ruby/object:Gem::Version
908
- version: '2.0'
852
+ version: '0'
909
853
  - !ruby/object:Gem::Dependency
910
854
  name: undercover
911
855
  requirement: !ruby/object:Gem::Requirement
912
856
  requirements:
913
- - - "~>"
857
+ - - ">="
914
858
  - !ruby/object:Gem::Version
915
- version: '0.5'
859
+ version: '0'
916
860
  type: :development
917
861
  prerelease: false
918
862
  version_requirements: !ruby/object:Gem::Requirement
919
863
  requirements:
920
- - - "~>"
864
+ - - ">="
921
865
  - !ruby/object:Gem::Version
922
- version: '0.5'
866
+ version: '0'
923
867
  - !ruby/object:Gem::Dependency
924
868
  name: yard-activerecord
925
869
  requirement: !ruby/object:Gem::Requirement
926
870
  requirements:
927
- - - "~>"
871
+ - - ">="
928
872
  - !ruby/object:Gem::Version
929
- version: 0.0.16
873
+ version: '0'
930
874
  type: :development
931
875
  prerelease: false
932
876
  version_requirements: !ruby/object:Gem::Requirement
933
877
  requirements:
934
- - - "~>"
878
+ - - ">="
935
879
  - !ruby/object:Gem::Version
936
- version: 0.0.16
880
+ version: '0'
937
881
  description:
938
882
  email:
939
883
  - bamboo@pandacms.io
@@ -968,6 +912,7 @@ files:
968
912
  - app/components/panda_cms/admin/user_activity_component.rb
969
913
  - app/components/panda_cms/admin/user_display_component.html.erb
970
914
  - app/components/panda_cms/admin/user_display_component.rb
915
+ - app/components/panda_cms/code_component.rb
971
916
  - app/components/panda_cms/grid_component.html.erb
972
917
  - app/components/panda_cms/grid_component.rb
973
918
  - app/components/panda_cms/menu_component.html.erb
@@ -998,12 +943,15 @@ files:
998
943
  - app/helpers/panda_cms/application_helper.rb
999
944
  - app/helpers/panda_cms/pages_helper.rb
1000
945
  - app/helpers/panda_cms/theme_helper.rb
1001
- - app/javascript/base.js
1002
- - app/javascript/controllers/menu_controller.js
1003
- - app/javascript/controllers/text_controller.js
1004
- - app/javascript/controllers/text_field_update_controller.js
1005
- - app/javascript/vendor/stimulus-components-rails-nested-form.js
1006
- - app/javascript/vendor/tailwindcss-stimulus-components.js
946
+ - app/javascript/panda_cms/@hotwired--stimulus.js
947
+ - app/javascript/panda_cms/@hotwired--turbo.js
948
+ - app/javascript/panda_cms/@rails--actioncable--src.js
949
+ - app/javascript/panda_cms/application_panda_cms.js
950
+ - app/javascript/panda_cms/controllers/dashboard_controller.js
951
+ - app/javascript/panda_cms/controllers/index.js
952
+ - app/javascript/panda_cms/controllers/slug_controller.js
953
+ - app/javascript/panda_cms/panda_cms_editable.js
954
+ - app/javascript/panda_cms/tailwindcss-stimulus-components.js
1007
955
  - app/jobs/panda_cms/application_job.rb
1008
956
  - app/jobs/panda_cms/record_visit_job.rb
1009
957
  - app/lib/panda_cms/bulk_editor.rb
@@ -1044,11 +992,7 @@ files:
1044
992
  - app/views/panda_cms/admin/forms/index.html.erb
1045
993
  - app/views/panda_cms/admin/forms/new.html.erb
1046
994
  - app/views/panda_cms/admin/forms/show.html.erb
1047
- - app/views/panda_cms/admin/menus/_form.html.erb
1048
- - app/views/panda_cms/admin/menus/_menu_item_fields.html.erb
1049
- - app/views/panda_cms/admin/menus/edit.html.erb
1050
995
  - app/views/panda_cms/admin/menus/index.html.erb
1051
- - app/views/panda_cms/admin/menus/new.html.erb
1052
996
  - app/views/panda_cms/admin/pages/edit.html.erb
1053
997
  - app/views/panda_cms/admin/pages/index.html.erb
1054
998
  - app/views/panda_cms/admin/pages/new.html.erb
@@ -1068,6 +1012,7 @@ files:
1068
1012
  - app/views/panda_cms/shared/_favicons.html.erb
1069
1013
  - app/views/panda_cms/shared/_footer.html.erb
1070
1014
  - app/views/panda_cms/shared/_header.html.erb
1015
+ - app/views/panda_cms/shared/_importmap.html.erb
1071
1016
  - config/importmap.rb
1072
1017
  - config/initializers/panda_cms.rb
1073
1018
  - config/initializers/panda_cms/form_errors.rb
@@ -1086,6 +1031,7 @@ files:
1086
1031
  - db/migrate/20240303233238_add_panda_cms_menu_table.rb
1087
1032
  - db/migrate/20240303234724_add_panda_cms_menu_item_table.rb
1088
1033
  - db/migrate/20240304134343_add_parent_id_to_panda_cms_pages.rb
1034
+ - db/migrate/20240315125411_add_status_to_panda_cms_pages.rb
1089
1035
  - db/migrate/20240315125421_add_nested_sets_to_panda_cms_pages.rb
1090
1036
  - db/migrate/20240316212822_add_kind_to_panda_cms_menus.rb
1091
1037
  - db/migrate/20240316221425_add_start_page_to_panda_cms_menus.rb
@@ -1100,7 +1046,6 @@ files:
1100
1046
  - db/migrate/20240701225422_add_service_name_to_active_storage_blobs.active_storage.rb
1101
1047
  - db/migrate/20240701225423_create_active_storage_variant_records.active_storage.rb
1102
1048
  - db/migrate/20240701225424_remove_not_null_on_active_storage_blobs_checksum.active_storage.rb
1103
- - db/migrate/20240804110225_add_status_to_panda_cms_pages.rb
1104
1049
  - db/migrate/20240804235210_create_panda_cms_forms.rb
1105
1050
  - db/migrate/20240805013612_create_panda_cms_form_submissions.rb
1106
1051
  - db/migrate/20240805121123_create_panda_cms_posts.rb
@@ -1133,16 +1078,9 @@ files:
1133
1078
  - public/panda-cms-assets/favicons/mstile-150x150.png
1134
1079
  - public/panda-cms-assets/favicons/safari-pinned-tab.svg
1135
1080
  - public/panda-cms-assets/favicons/site.webmanifest
1136
- - public/panda-cms-assets/javascripts/base.js
1137
- - public/panda-cms-assets/javascripts/controllers/menu_controller.js
1138
- - public/panda-cms-assets/javascripts/controllers/text_field_update_controller.js
1139
- - public/panda-cms-assets/javascripts/embed/editable.js
1140
- - public/panda-cms-assets/javascripts/embed/rich_text.css
1141
- - public/panda-cms-assets/javascripts/vendor/stimulus-components-rails-nested-form.js
1142
- - public/panda-cms-assets/javascripts/vendor/stimulus-loading.js
1143
- - public/panda-cms-assets/javascripts/vendor/tailwindcss-stimulus-components.js
1144
1081
  - public/panda-cms-assets/panda-logo-screenprint.png
1145
1082
  - public/panda-cms-assets/panda-nav.png
1083
+ - public/panda-cms-assets/rich_text_editor.css
1146
1084
  homepage: https://pandacms.io
1147
1085
  licenses:
1148
1086
  - BSD-3-Clause