Jan Böhmer
cad5261aba
Fixed phpstan issues
2026-02-02 23:26:18 +01:00
Jan Böhmer
a755287c3b
Make maintenance command available under partdb:maintenance-mode to make it more consistent with other hyphen command tools
2026-02-02 23:09:52 +01:00
Jan Böhmer
1adfec16e2
Added an console command to turn maintenance mode on or off
2026-02-02 21:53:55 +01:00
Jan Böhmer
68ff0721ce
Merged functionality from UpdateAvailableManager and UpdateChecker
2026-02-02 18:44:44 +01:00
Jan Böhmer
6dbead6d10
Centralized git logic from InstallationTypeDetector and UpdateChecker in GitVersionInfoProvider service
2026-02-02 18:18:36 +01:00
Sebastian Almberg
42fe781ef8
Add Update Manager for automated Part-DB updates
...
This feature adds a comprehensive Update Manager similar to Mainsail's
update system, allowing administrators to update Part-DB directly from
the web interface.
Features:
- Web UI at /admin/update-manager showing current and available versions
- Support for Git-based installations with automatic update execution
- Maintenance mode during updates to prevent user access
- Automatic database backup before updates
- Git rollback points for recovery (tags created before each update)
- Progress tracking with real-time status updates
- Update history and log viewing
- Downgrade support with appropriate UI messaging
- CLI command `php bin/console partdb:update` for server-side updates
New files:
- UpdateManagerController: Handles all web UI routes
- UpdateCommand: CLI command for running updates
- UpdateExecutor: Core update execution logic with safety mechanisms
- UpdateChecker: GitHub API integration for version checking
- InstallationTypeDetector: Detects installation type (Git/Docker/ZIP)
- MaintenanceModeSubscriber: Blocks user access during maintenance
- UpdateExtension: Twig functions for update notifications
UI improvements:
- Update notification in navbar for admins when update available
- Confirmation dialogs for update/downgrade actions
- Downgrade-specific text throughout the interface
- Progress page with auto-refresh
2026-01-30 21:36:33 +01:00
Jan Böhmer
aefb69c51e
Fixed error that users could not be converted due to settings and backupCodes not allowed as nullable
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-01-09 21:17:51 +01:00
Jan Böhmer
300ee33be2
Allow to continue even if source and target db platform are the same
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-01-09 19:46:09 +01:00
Jan Böhmer
ddbfc87ce1
Set help for DBPlatformConvertCommand
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
2026-01-08 22:22:47 +01:00
Jan Böhmer
3454fa51de
Support %kernel.project_dir% in db conversion tool
2026-01-08 22:22:07 +01:00
Jan Böhmer
343ad6beff
Check that databases are up to date
2026-01-08 22:16:38 +01:00
Jan Böhmer
d385303a52
Made DBMigrationCommand take a DB url so we do not need a special doctrine config
2026-01-08 21:03:38 +01:00
Jan Böhmer
00b35e3306
Fix sequences of postgres after migration
2026-01-05 23:25:53 +01:00
Jan Böhmer
e0a25009d9
fixed
2026-01-05 23:16:33 +01:00
Jan Böhmer
3f0e4b09ce
Added a progress bar
2026-01-05 23:14:40 +01:00
Jan Böhmer
96a37a0cb0
Implemented proof of concept to convert between database types
2026-01-05 22:41:40 +01:00
web-devinition.de
14a4f1f437
Added custom part status ( #1053 )
...
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Has been cancelled
* Benutzerdefinierten Bauteilstatus einführen
* PartCustomStateController hinzufügen
* Umstellung Migrationen bzgl. Multi-Plattform-Support.
Zunächst MySQL, SQLite Statements integrieren.
* Postgre Statements integrieren
* Semikolon in Migration entfernen
* Migration für PartCustomState aktualisieren
* Benutzerdefinierten Bauteilstatus in TableSettings aufnehmen
* PartCustomStateControllerTest: Attribute für PHPUnit-Gruppen umgestellt
* PartCustomState: Mapping für Parameter korrigieren
* PartCustomState: Darstellung und Zuordnung von Anhängen ergänzt
Die Sidebar wurde um die Anzeige des benutzerdefinierten Bauteilstatus erweitert, inklusive Vorschaubild, sofern vorhanden.
* Migrationen zusammenführen
* PartCustomState: Anpassungen bzgl. Tests
* PartCustomStateEndpoint hinzufügen
* Made custom part states plural for consistency with other entity captions
* Fixed phpunit error
* Fixed phpstan issues
---------
Co-authored-by: Marcel Diegelmann <marcel.diegelmann@gmail.com>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-10-27 21:58:16 +01:00
Jan Böhmer
58d4207b49
Fixed phpstan issues
2025-08-03 21:59:51 +02:00
Jan Böhmer
442457f11b
Merge branch 'master' into settings-bundle
2025-06-15 18:39:49 +02:00
Jan Böhmer
6b9c125de4
Added console command to sanitize SVG files
2025-05-18 22:38:43 +02:00
Jan Böhmer
f802c6c176
Exclude automigration-backup folder from clean attachments folder
2025-03-30 14:50:52 +02:00
Jan Böhmer
53da45d7d7
Added command to download all external-only attachments to the local file system
2025-03-29 13:33:35 +01:00
Jan Böhmer
b724b05de6
Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed
2025-02-08 00:19:20 +01:00
Jan Böhmer
8750573724
Merge branch 'master' into settings-bundle
2025-01-17 22:06:18 +01:00
Jan Böhmer
946032a101
Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0
2024-12-28 23:08:08 +01:00
Jan Böhmer
484ba5ebd7
If user password set command is run in non-interactive mode, show a warning message if no password is inputted
...
Related to issue #748
2024-11-03 23:39:04 +01:00
Jan Böhmer
2ab2b7f77d
Moved default language, default timezone and base currency settings to new settings system
2024-08-03 23:14:29 +02:00
Jan Böhmer
6f91ff1f28
Fixed --overwrite option of the backup command not working
...
This fixes issue #635
2024-06-22 22:59:16 +02:00
Jan Böhmer
e3dfbf0e95
Support postgres in the backup command
2024-06-18 23:02:33 +02:00
Jan Böhmer
7d9be5ae76
Fixed wrong casing of SQLitePlatform
2024-06-09 23:36:00 +02:00
Jan Böhmer
1e6065f732
Show 64-bit recommendation in check requirements CLI and server info page
2024-03-09 00:23:18 +01:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
8b8079a6f1
Fixed deprecations
2023-12-05 21:55:20 +01:00
Jan Böhmer
5faeb5dd56
Fixed problem with loading Fixtures on MySQL in combination with savepoints
...
We must now load the fixtures using custom command partdb:fixtures:load
2023-12-05 21:33:29 +01:00
Jan Böhmer
6d6a69e1dd
Removed unnecessary curly brackets in string interpolation, which are deprecated in PHP 8.2
2023-10-14 20:31:04 +02:00
Jan Böhmer
0af5a58dbe
Renamed Storelocation entity to StorageLocation
2023-09-04 22:57:40 +02:00
Jan Böhmer
b7c8ca2a48
Improved typing and phpdoc type annotations
2023-06-18 15:37:42 +02:00
Jan Böhmer
e8771ea118
Fixed some more phpstan issues
2023-06-18 00:00:58 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
219b57a362
Fixed some deprecations
2023-06-11 17:38:08 +02:00
Jan Böhmer
5629215ce4
Use imports instead of FQNs
2023-06-11 15:00:28 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
bb1285c35c
Remove defaultDescription from commands, as this is now part of the annotation
2023-05-28 01:32:04 +02:00
Jan Böhmer
a43af180a7
Applied rector rules up to symfony 6.2
2023-05-28 01:21:05 +02:00
Jan Böhmer
cd1413a74e
CheckRequirementsCommand now recommends PHP 8.2
2023-05-27 20:07:03 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
1cee1abe00
Fixed some return type deprecation messages
2023-04-15 19:33:39 +02:00
Jan Böhmer
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +02:00