[galette-commits] [GIT] galette/galette.git branch develop updated. 0.9.6.1-548-g5e41448 |
[ Thread Index |
Date Index
| More lists.galette.eu/commits Archives
]
- To: commits@xxxxxxxxxxxxxxxx
- Subject: [galette-commits] [GIT] galette/galette.git branch develop updated. 0.9.6.1-548-g5e41448
- From: <git@xxxxxxxxxxxxx>
- Date: Sat, 11 Feb 2023 12:12:52 +0100
- Auto-submitted: auto-generated
This is an automated email from git. It was generated because a ref
change was pushed to the "galette/galette.git" repository.
The branch, develop has been updated
via 5e41448f92b7a302fb2672df62b5d4e42b2c921c (commit)
via 29f6ae0cda0c88e70aca059ca9db397683f9fa00 (commit)
via 60067a01c10b51900be030af31c259bb4f049092 (commit)
via 9602bbf20138adcff9e83aa7a7a0a93e0219255c (commit)
from 8774c60aabf7c649fa7a82202e8e80a3aee4ab83 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5e41448f92b7a302fb2672df62b5d4e42b2c921c
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date: Mon Feb 6 17:43:25 2023 +0100
Exclude error handlers from phpstan checks (not v4 right now)
commit 29f6ae0cda0c88e70aca059ca9db397683f9fa00
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date: Sun Feb 5 19:28:04 2023 +0100
Add phpstan, fix detected errors
commit 60067a01c10b51900be030af31c259bb4f049092
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date: Mon Jan 30 09:29:29 2023 +0100
Require PHP 8.1 minimum
commit 9602bbf20138adcff9e83aa7a7a0a93e0219255c
Author: Johan Cwiklinski <johan@xxxxxxxx>
Date: Sat Jan 7 21:21:36 2023 +0100
Migration to slimv4
Replace annotations with attributes
Use new routes classes
Update slim views
Required fixes and updates for Slimv4
Replace errors handlers
Replace Response::withJson()
Disable error handling right now
Drop no longer needed patches
New twig methods names
Continue SlimV4 migration
isHxr no longer exists
Fix call
Remove broken middleware
Use full dependency name for view
Drop PHP 7.4 support
-----------------------------------------------------------------------
Summary of changes:
.composer-require-checker.config.json | 10 +-
.github/workflows/ci-linux.yml | 22 +-
galette/composer.json | 24 +-
galette/composer.lock | 1228 ++++++++++++--------
galette/config/versions.inc.php | 2 +-
galette/includes/dependencies.php | 90 +-
galette/includes/main.inc.php | 80 +-
galette/includes/routes/ajax.routes.php | 23 +-
galette/includes/routes/members.routes.php | 11 +-
galette/includes/routes/plugins.routes.php | 22 +-
galette/includes/routes/public_pages.routes.php | 15 +-
.../lib/Galette/Controllers/AbstractController.php | 91 +-
.../Galette/Controllers/AdminToolsController.php | 6 +-
galette/lib/Galette/Controllers/AjaxController.php | 43 +-
galette/lib/Galette/Controllers/AuthController.php | 28 +-
.../Controllers/Crud/ContributionsController.php | 62 +-
.../Controllers/Crud/DynamicFieldsController.php | 42 +-
.../Controllers/Crud/EntitledsController.php | 18 +-
.../Galette/Controllers/Crud/GroupsController.php | 45 +-
.../Controllers/Crud/MailingsController.php | 42 +-
.../Galette/Controllers/Crud/MembersController.php | 180 ++-
.../Controllers/Crud/PaymentTypeController.php | 18 +-
.../Controllers/Crud/SavedSearchesController.php | 23 +-
.../Galette/Controllers/Crud/TitlesController.php | 18 +-
.../Controllers/Crud/TransactionsController.php | 14 +-
galette/lib/Galette/Controllers/CrudController.php | 18 +-
galette/lib/Galette/Controllers/CsvController.php | 53 +-
.../Controllers/DynamicTranslationsController.php | 6 +-
.../lib/Galette/Controllers/GaletteController.php | 42 +-
.../lib/Galette/Controllers/HistoryController.php | 25 +-
.../lib/Galette/Controllers/ImagesController.php | 13 +-
galette/lib/Galette/Controllers/PdfController.php | 51 +-
.../lib/Galette/Controllers/PluginsController.php | 20 +-
galette/lib/Galette/Controllers/TextController.php | 14 +-
galette/lib/Galette/Core/Db.php | 7 +-
galette/lib/Galette/Core/History.php | 10 +-
galette/lib/Galette/Core/Install.php | 8 +-
galette/lib/Galette/Core/LightSlimApp.php | 40 +-
galette/lib/Galette/Core/Links.php | 8 +-
galette/lib/Galette/Core/Mailing.php | 11 +-
galette/lib/Galette/Core/MailingHistory.php | 10 +-
galette/lib/Galette/Core/Pagination.php | 36 +-
galette/lib/Galette/Core/Password.php | 7 +-
galette/lib/Galette/Core/Picture.php | 5 +-
galette/lib/Galette/Core/PluginInstall.php | 6 +-
galette/lib/Galette/Core/Plugins.php | 3 +-
galette/lib/Galette/Core/Preferences.php | 10 +-
galette/lib/Galette/Core/SlimApp.php | 41 +-
galette/lib/Galette/Entity/Contribution.php | 2 +-
galette/lib/Galette/Entity/DynamicFieldsHandle.php | 8 +-
galette/lib/Galette/Entity/FieldsCategories.php | 8 +-
galette/lib/Galette/Entity/PdfModel.php | 9 +-
galette/lib/Galette/Entity/SavedSearch.php | 8 +-
galette/lib/Galette/Entity/Texts.php | 26 +-
galette/lib/Galette/Entity/Transaction.php | 2 +-
galette/lib/Galette/Events/ContribListener.php | 20 +-
galette/lib/Galette/Events/MemberListener.php | 16 +-
galette/lib/Galette/Features/Dynamics.php | 7 +-
galette/lib/Galette/Features/Replacements.php | 32 +-
.../lib/Galette/Filters/AdvancedMembersList.php | 8 +-
galette/lib/Galette/Filters/ContributionsList.php | 8 +-
galette/lib/Galette/Filters/HistoryList.php | 8 +-
galette/lib/Galette/Filters/MailingsList.php | 10 +-
galette/lib/Galette/Filters/MembersList.php | 8 +-
galette/lib/Galette/Filters/TransactionsList.php | 8 +-
galette/lib/Galette/Handlers/GaletteError.php | 2 +-
galette/lib/Galette/Handlers/GaletteHandler.php | 2 +-
galette/lib/Galette/Handlers/NotFound.php | 12 +-
galette/lib/Galette/IO/ContributionsCsv.php | 18 -
galette/lib/Galette/IO/CsvOut.php | 2 +-
galette/lib/Galette/IO/MembersCsv.php | 7 +-
galette/lib/Galette/IO/Pdf.php | 50 +-
galette/lib/Galette/IO/PdfAttendanceSheet.php | 7 +-
galette/lib/Galette/Middleware/Authenticate.php | 99 +-
galette/lib/Galette/Middleware/CheckAcls.php | 183 ---
galette/lib/Galette/Middleware/Language.php | 28 +-
galette/lib/Galette/Middleware/MembersNavigate.php | 144 ---
galette/lib/Galette/Middleware/Telemetry.php | 22 +-
galette/lib/Galette/Middleware/TrailingSlash.php | 34 +-
galette/lib/Galette/Repository/Contributions.php | 2 +-
galette/lib/Galette/Repository/PaymentTypes.php | 7 +-
galette/lib/Galette/Repository/PdfModels.php | 10 +-
galette/lib/Galette/Repository/Transactions.php | 8 +-
galette/lib/Galette/Updater/AbstractUpdater.php | 9 +-
.../default/components/dynamic_fields.html.twig | 2 +-
.../default/components/forms/picture.html.twig | 2 +-
.../default/elements/ajax_groups.html.twig | 2 +-
.../default/elements/ajax_members.html.twig | 2 +-
.../elements/display_dynamic_fields.html.twig | 2 +-
.../default/elements/edit_dynamic_fields.html.twig | 10 +-
.../default/elements/edit_entitleds.html.twig | 6 +-
.../default/elements/edit_pdf_models.html.twig | 2 +-
.../templates/default/elements/footer.html.twig | 2 +-
galette/templates/default/elements/group.html.twig | 10 +-
.../default/elements/group_persons.html.twig | 4 +-
.../templates/default/elements/header.html.twig | 16 +-
.../default/elements/js/choose_adh.js.twig | 2 +-
.../templates/default/elements/js/messages.js.twig | 2 +-
.../default/elements/js/photo_dnd.js.twig | 4 +-
.../templates/default/elements/js/pwdcheck.js.twig | 2 +-
.../templates/default/elements/js/removal.js.twig | 2 +-
galette/templates/default/elements/list.html.twig | 8 +-
.../templates/default/elements/logout.html.twig | 2 +-
.../default/elements/mailing_recipients.html.twig | 2 +-
.../default/elements/member_card.html.twig | 2 +-
.../templates/default/elements/navigate.html.twig | 4 +-
.../default/elements/navigation/menus_macros.twig | 4 +-
.../elements/navigation/navigation_aside.html.twig | 2 +-
.../elements/navigation/navigation_items.html.twig | 2 +-
.../navigation/navigation_topbar.html.twig | 2 +-
.../elements/navigation/public_pages.html.twig | 4 +-
.../templates/default/elements/scripts.html.twig | 20 +-
galette/templates/default/macros.twig | 10 +-
.../default/modals/mailing_preview.html.twig | 2 +-
.../modals/members_attendance_sheet.html.twig | 2 +-
.../default/modals/plugin_initdb.html.twig | 2 +-
.../templates/default/modals/telemetry.html.twig | 6 +-
galette/templates/default/page.html.twig | 4 +-
galette/templates/default/pages/404.html.twig | 4 +-
.../templates/default/pages/admintools.html.twig | 2 +-
.../default/pages/advanced_search.html.twig | 2 +-
.../pages/configuration_core_fields.html.twig | 2 +-
.../pages/configuration_core_lists.html.twig | 2 +-
.../configuration_dynamic_field_form.html.twig | 4 +-
.../pages/configuration_dynamic_fields.html.twig | 4 +-
.../configuration_dynamic_translations.html.twig | 4 +-
.../pages/configuration_entitled_form.html.twig | 2 +-
.../pages/configuration_entitleds.html.twig | 2 +-
.../configuration_payment_type_form.html.twig | 2 +-
.../pages/configuration_payment_types.html.twig | 10 +-
.../pages/configuration_pdf_models.html.twig | 4 +-
.../default/pages/configuration_texts.html.twig | 4 +-
.../pages/configuration_title_form.html.twig | 2 +-
.../default/pages/configuration_titles.html.twig | 8 +-
.../default/pages/contribution_form.html.twig | 12 +-
.../default/pages/contributions_list.html.twig | 28 +-
galette/templates/default/pages/desktop.html.twig | 4 +-
.../templates/default/pages/directlink.html.twig | 2 +-
galette/templates/default/pages/export.html.twig | 6 +-
.../templates/default/pages/groups_list.html.twig | 14 +-
galette/templates/default/pages/history.html.twig | 4 +-
galette/templates/default/pages/import.html.twig | 10 +-
.../templates/default/pages/import_model.html.twig | 12 +-
galette/templates/default/pages/index.html.twig | 4 +-
.../templates/default/pages/mailing_form.html.twig | 12 +-
.../default/pages/mailings_list.html.twig | 10 +-
.../templates/default/pages/member_form.html.twig | 4 +-
.../templates/default/pages/member_show.html.twig | 20 +-
.../templates/default/pages/members_list.html.twig | 12 +-
.../default/pages/members_public_gallery.html.twig | 4 +-
.../default/pages/password_lost.html.twig | 2 +-
.../default/pages/password_recover.html.twig | 2 +-
galette/templates/default/pages/plugins.html.twig | 8 +-
.../templates/default/pages/preferences.html.twig | 36 +-
galette/templates/default/pages/reminder.html.twig | 10 +-
.../default/pages/saved_searches_list.html.twig | 4 +-
.../default/pages/transaction_form.html.twig | 14 +-
.../default/pages/transactions_list.html.twig | 24 +-
galette/templates/default/public_page.html.twig | 2 +-
galette/webroot/installer.php | 3 +-
patches/slim-php81.patch | 130 ---
patches/twig-view-php81.patch | 35 -
phpstan.neon | 13 +
.../Controllers/tests/units/PdfController.php | 217 ++--
tests/Galette/Core/tests/units/Preferences.php | 21 +-
tests/Galette/Entity/tests/units/PdfModel.php | 8 +-
tests/Galette/IO/tests/units/CsvIn.php | 11 +-
tests/Galette/Middleware/tests/unit/CheckAcls.php | 248 ----
tests/Galette/Repository/tests/units/PdfModels.php | 2 +-
tests/GaletteTestCase.php | 41 +-
tests/GaletteUpdate/Core/tests/units/Install.php | 10 +-
tests/TestsBootstrap.php | 3 +-
172 files changed, 2231 insertions(+), 2414 deletions(-)
delete mode 100644 galette/lib/Galette/Middleware/CheckAcls.php
delete mode 100644 galette/lib/Galette/Middleware/MembersNavigate.php
delete mode 100644 patches/slim-php81.patch
delete mode 100644 patches/twig-view-php81.patch
create mode 100644 phpstan.neon
delete mode 100644 tests/Galette/Middleware/tests/unit/CheckAcls.php
hooks/post-receive
--
galette/galette.git
--
Galette repositories commits - http://galette.eu
List documentation: https://listengine.tuxfamily.org/lists.galette.eu/commits/