Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fork6 contentblocks #3555

Merged
merged 51 commits into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
b3d8b01
basic installable module
davysumo Aug 16, 2023
e9d8959
ContentBlock add
davysumo Aug 17, 2023
f72b639
DataGrid
davysumo Aug 17, 2023
83f8429
update ContentBlock
davysumo Aug 17, 2023
75d3d72
save setting 'label' in frontend_blocks and use that when adding bloc…
davysumo Aug 21, 2023
9d6f5f5
pass contentblock id to widget
davysumo Aug 21, 2023
5dd7f1c
feedback pt 1
davysumo Sep 14, 2023
f92c7ec
update widget after saving ContentBlock
davysumo Sep 18, 2023
f6348ad
set locale for widget
davysumo Sep 18, 2023
bb6d377
parse detail
davysumo Sep 18, 2023
7db778b
show content block name on pages module
davysumo Sep 18, 2023
320c881
use trans for revision block label
davysumo Sep 18, 2023
b084b9d
remove unused methods, always add delete form to edit page
davysumo Sep 18, 2023
4e8dd69
phpstan
davysumo Sep 19, 2023
d766f7f
remove unused form template
davysumo Sep 19, 2023
478690b
remove auto-generated return phpdoc
davysumo Sep 19, 2023
9b49905
enum values in uppercase
davysumo Sep 19, 2023
8539361
remove updateWidget service and move to ContentBlockRepository
davysumo Sep 19, 2023
f706827
remove todo
davysumo Sep 19, 2023
dcadb44
typo in response
davysumo Sep 19, 2023
f28dcca
typo in CreateContentBlock
davysumo Sep 19, 2023
63af2b8
installer: put ContentBlocks under Modules
davysumo Sep 25, 2023
0ed541a
ContentBlock entity not final
davysumo Sep 25, 2023
b2b4fea
hide frontend block when ContentBlock is hidden or deleted
davysumo Sep 25, 2023
afd7edb
add traits: Blameable, Locale, Settings
davysumo Sep 25, 2023
78a65e7
remove unnecessary save call
davysumo Sep 25, 2023
9c1b500
Revisions + archive other active contentblocks after editing from rev…
davysumo Sep 25, 2023
b588f14
feedback: remove comments, unused code, change id to content_block_id
davysumo Sep 26, 2023
ef07dbd
add check whether ContentBlock is used on active page and disable del…
davysumo Sep 26, 2023
35fb175
ignore ContentBlocks
davysumo Sep 26, 2023
4e64e81
remove contentblock + remove RevisionBlock from archived page revisions
davysumo Sep 26, 2023
82dd5f7
remove unused repository
davysumo Sep 26, 2023
02b45d5
add id attribute + change class name
davysumo Sep 26, 2023
6097a4d
enum values in uppercase
davysumo Nov 23, 2023
af6c20c
remove doctrine.yml from config
davysumo Nov 23, 2023
bf1fc9b
Fix urls not working
carakas Dec 6, 2023
3b15626
Fix blamable in content blocks module
carakas Dec 6, 2023
8e3b5c2
Fix casing content blocks enum
carakas Dec 6, 2023
0a6d5bb
Throw events for the actions happening on content blocks
carakas Dec 6, 2023
5f29c03
Make sure the widget is always updated when a content block changes
carakas Dec 6, 2023
c197933
Make the event dispatcher available in module actions
carakas Dec 6, 2023
66c2701
Use events to handle interaction with frontent blocks across modules
carakas Dec 6, 2023
a9c650e
Better notification messages
carakas Dec 6, 2023
1ffb9b6
Implement default visualisation of booleans in datagrids
carakas Dec 16, 2023
3a404cd
Add missing content block translations
carakas Dec 16, 2023
93b1e31
DataGrid Form Type to show revisions
carakas Dec 16, 2023
a1d322d
Implement ContentBlock revisions more cleanly
carakas Dec 16, 2023
8599eac
Make it possible to choose a different template to render a content b…
carakas Dec 16, 2023
da5d157
Add functional tests for the content blocks module
carakas Dec 17, 2023
06c3eeb
Fix delete form showing when content block is in use
carakas Dec 17, 2023
aecd79b
Code style fixes
carakas Dec 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"

# form_themes:
# - '%fork.form.theme%'
when@dev:
twig:
cache: false
auto_reload: true
207 changes: 0 additions & 207 deletions src.fork5/Backend/Core/Installer/Data/locale.xml

Large diffs are not rendered by default.

83 changes: 0 additions & 83 deletions src.fork5/Backend/Modules/ContentBlocks/Actions/Add.php

This file was deleted.

65 changes: 0 additions & 65 deletions src.fork5/Backend/Modules/ContentBlocks/Actions/Delete.php

This file was deleted.

134 changes: 0 additions & 134 deletions src.fork5/Backend/Modules/ContentBlocks/Actions/Edit.php

This file was deleted.

21 changes: 0 additions & 21 deletions src.fork5/Backend/Modules/ContentBlocks/Actions/Index.php

This file was deleted.

67 changes: 0 additions & 67 deletions src.fork5/Backend/Modules/ContentBlocks/Api/ApiController.php

This file was deleted.