Commit Graph

552 Commits

Author SHA1 Message Date
github-actions
e6be044e94 Merge branch '4' into 5 2024-06-19 23:42:03 +00:00
github-actions
406198966a Merge branch '4.0' into 4 2024-06-19 23:42:02 +00:00
Guy Sartorelli
275db87086
Merge pull request #402 from creative-commoners/pulls/4.0/remove-self
ENH Use class name instead of self
2024-06-17 12:50:38 +12:00
Guy Sartorelli
66d8c51989
Merge branch '4' into 5 2024-06-11 13:18:41 +12:00
Steve Boyd
abe2359f78 ENH Use class name instead of self 2024-06-05 17:29:25 +12:00
Guy Sartorelli
edb3442908
Merge pull request #398 from creative-commoners/pulls/4/nested-gridfield-behat-tests
MNT NestedGridField behat tests
2024-05-28 14:02:10 +12:00
Guy Sartorelli
11e9c3c3e3
Merge pull request #400 from creative-commoners/pulls/4/nested-gridfield-docs
DOC Updated Nested GridField docs
2024-05-28 13:54:53 +12:00
Sabina Talipova
89760c7846 MNT NestedGridField behat tests 2024-05-28 13:50:45 +12:00
Sabina Talipova
7f4413a12f DOC Updated Nested GridField docs 2024-05-28 13:03:11 +12:00
github-actions
515c2b4573 Merge branch '4' into 5 2024-05-23 21:40:05 +00:00
github-actions
079bec6487 Merge branch '4.0' into 4 2024-05-23 00:10:25 +00:00
Guy Sartorelli
6c1be84b4a
Merge branch '3' into 4.0 2024-05-23 12:09:50 +12:00
Guy Sartorelli
d851ce562c
Merge pull request #395 from creative-commoners/pulls/3/manual-workflows
MNT Upaded scheduled workflows on default branch
2024-05-23 11:56:27 +12:00
Steve Boyd
018ab87515 MNT Upaded scheduled workflows on default branch 2024-05-22 16:36:45 +12:00
Sabina Talipova
4501565b79
Merge pull request #393 from creative-commoners/pulls/4/nested-gridfield
FIX Make child responsible for its own nested gridfield
2024-05-22 11:54:31 +12:00
Guy Sartorelli
945ea7fc0b
FIX Make child responsible for its own nested gridfield 2024-05-22 10:37:35 +12:00
Guy Sartorelli
233e9bd3e3
Merge pull request #392 from creative-commoners/pulls/4/module-standardiser-1715911583
MNT Run module-standardiser
2024-05-21 16:29:54 +12:00
Guy Sartorelli
4e4f4725a4
Merge pull request #391 from creative-commoners/pulls/5/protect-hooks
API Set extension hook implementation visibility to protected
2024-05-21 16:09:29 +12:00
Steve Boyd
f36e882252 MNT Run module-standardiser 2024-05-17 15:20:46 +12:00
Guy Sartorelli
f3ff49202d
Merge pull request #390 from creative-commoners/pulls/4/module-standardiser-1715811845
MNT Run module-standardiser
2024-05-17 10:23:32 +12:00
Steve Boyd
c044b66aec API Set extension hook implementation visibility to protected 2024-05-16 17:45:28 +12:00
Steve Boyd
1b6d76757f MNT Run module-standardiser 2024-05-16 14:55:23 +12:00
Guy Sartorelli
cd41f31fd5
Merge pull request #308 from kinglozzer/patch-1
FIX: Fixed move to prev/next page functionality (fixes #307)
2024-05-16 10:56:42 +12:00
Loz Calver
80a4d9c311
FIX: Fixed move to prev/next page functionality (fixes #307) 2024-05-16 10:40:00 +12:00
Guy Sartorelli
678ec6f7e1
Merge pull request #384 from creamarketing/nested-gridfield
NEW Nested gridfield
2024-05-16 10:11:18 +12:00
Niklas Forsdahl
a42cd43780 Only allow one GridFieldNestedForm component per GridField. 2024-05-15 09:03:32 +03:00
Niklas Forsdahl
c476cedff0 Added more documentation for nested gridfields. 2024-05-15 08:57:58 +03:00
Niklas Forsdahl
a9b0a70155 Throw 404 error on grid field nested form move-to-parent action,
if no record is found.
2024-05-07 18:20:56 +03:00
Niklas Forsdahl
8f505659f0 Only add nested form to nested gridfield child if that child is of
the same class as the parent record.
2024-05-07 18:02:06 +03:00
Niklas Forsdahl
9ab3ed67a7 Throw an exception in Nesed Gridfield if an invalid relation is configured. 2024-05-07 12:36:44 +03:00
Niklas Forsdahl
1993acba3a Linting and typehinting fixes for nested grid field 2024-05-07 12:35:16 +03:00
Guy Sartorelli
1bd74e0070
TLN Update translations (#387) 2024-05-07 15:31:03 +12:00
Guy Sartorelli
256d06b36c
TLN Update translations (#385) 2024-05-06 18:13:32 +12:00
Niklas Forsdahl
1ad6acbb84 Refactored grid field nested form link to be a button with aria-attributes,
for better accessibility.
2024-04-24 11:13:09 +03:00
Niklas Forsdahl
46e5cccdb4 Changed some PHPDoc return types to real typehings in nested gridfield. 2024-04-24 11:03:48 +03:00
Niklas Forsdahl
bc1180b62c Throw exception in nested gridfields if the relation is invalid. 2024-04-24 10:42:55 +03:00
Niklas Forsdahl
5e6097214e Added phpdoc for nested grid field item request handler class. 2024-04-24 10:25:45 +03:00
Niklas Forsdahl
70b838ea8c Removed legacy disabling of security token and strict form method check
for nested gridfields, doesn't seem to be needed anymore.
2024-04-24 10:17:22 +03:00
Niklas Forsdahl
c517c693f9 Don't assume records are DataObjects in nested gridfields.
Also don't assume the list is filterable.
2024-04-24 09:57:24 +03:00
Niklas Forsdahl
f7b8aea3f8 PHPDoc additions and linting fixes for gridfield nested form 2024-04-24 09:40:16 +03:00
Niklas Forsdahl
847ce07ab0 Fixes and some refactoring for max nesting level handling in
nested gridfields.
2024-04-24 09:19:32 +03:00
Niklas Forsdahl
cfcf8d2e8e Refactored nested GridField move to parent functionality. 2024-04-23 17:03:00 +03:00
Niklas Forsdahl
32d980e13c Fixed moving nested gridfield items to other gridfields 2024-04-23 16:35:10 +03:00
Niklas Forsdahl
fc40420daa Added configurable max nesting level for nested GridFields 2024-04-18 18:04:56 +03:00
Niklas Forsdahl
4fc20fb771 Added one more unit test for GridFieldNestedForm 2024-04-18 17:51:27 +03:00
Niklas Forsdahl
f8c777dcc5 Changed naming schema for nested GridFields, to not include [ or ]
characters. This makes them work also with the search component.
2024-04-18 14:39:25 +03:00
Niklas Forsdahl
c415d43731 Fixed linting issues 2024-04-18 12:41:58 +03:00
Niklas Forsdahl
c043220949 Changed base-class of GridFieldNestedForm, it doesn't share much with
GridFieldDetailForm anymore.
Also changed how Breadcrumbs work.
2024-04-18 10:56:35 +03:00
Niklas Forsdahl
654b7294fa Renamed GridFieldNestedForm_ItemRequest, to conform with coding styles.
Also added some php-docs for some public functions.
2024-04-18 10:17:04 +03:00
Niklas Forsdahl
bcc4ea14bb Added initial user documentation for Nested GridFields. 2024-04-15 11:02:31 +03:00