Jan Böhmer
684334ba22
Improved code style of tests
2023-06-11 15:02:59 +02:00
Jan Böhmer
5629215ce4
Use imports instead of FQNs
2023-06-11 15:00:28 +02:00
Jan Böhmer
f63b6d7207
Fixed service wiring configuration
2023-06-11 14:50:47 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
dc6a67c2f0
Made the ALLOWED_ELEMENT_CLASS protected so we can apply rector
...
Its bad style to override a public const in a child class
2023-06-11 14:02:59 +02:00
Jan Böhmer
8c430a3af0
Fixed tests
2023-06-11 13:42:45 +02:00
Jan Böhmer
624696711d
Merge branch 'master' into php81-migration
2023-06-11 12:20:02 +02:00
Jan Böhmer
ab11747fab
Fixed issue, that users table were delete while PartKeepr import on certain databases
...
This fixes issue #299
2023-06-11 00:31:05 +02:00
Jan Böhmer
4bec8efea1
Make LogoutLoggerEventSubscriber an event listener
2023-06-07 00:46:03 +02:00
Jan Böhmer
58b2c2bd69
Merge branch 'master' into php81-migration
2023-06-06 23:46:37 +02:00
Jan Böhmer
ea8b179df1
Added timetravel URL for PartAttachment elements
2023-06-06 23:16:51 +02:00
Jan Böhmer
efc152e3c8
Do not throw an exception during rendering of log detail page, if element has no time travel URL
2023-06-06 23:15:14 +02:00
Jan Böhmer
7191ece7a5
Configure doctrine to use attributes instead of annotations
2023-05-28 01:55:30 +02:00
Jan Böhmer
0837f84a43
Migrated doctrine annotations to attributes
2023-05-28 01:51:13 +02:00
Jan Böhmer
0bc4699cdc
Started to move doctrine annotations to attributes (rector automated)
2023-05-28 01:33:45 +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
21fc554589
Fixed error with LogoutLoggerEventSubscriber
2023-05-28 01:25:00 +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
1dbf36b86b
Use str_contains and similar instead of strpos
2023-05-27 23:58:28 +02:00
Jan Böhmer
c24019fd57
Fixed error preventing the service container from compiling
2023-05-27 20:46:02 +02:00
Jan Böhmer
cd1413a74e
CheckRequirementsCommand now recommends PHP 8.2
2023-05-27 20:07:03 +02:00
Jan Böhmer
5ec676c40c
Fixed static analysis issue
2023-05-27 19:29:00 +02:00
Jan Böhmer
379f7ef865
Implemented proper voters for attachments and parameters, so we can decide access for log details
2023-05-27 19:17:27 +02:00
Jan Böhmer
ac6dd23fd6
Respect different currencies for pricedetails when importing from PartKeepr
2023-05-22 23:34:58 +02:00
Jan Böhmer
1e515df0b5
Fixed previous commit: Use the same behavior to determine the extension of file attachments like PartKeepr does, to ensure that all attachments are shown as available
...
This fixes issue #291
2023-05-22 23:06:41 +02:00
Jan Böhmer
35490762a6
Use the same behavior to determine the extension of file attachments like PartKeepr does, to ensure that all attachments are shown as available
...
This fixes issue #291
2023-05-22 22:55:18 +02:00
Jan Böhmer
6a1aefa5a5
Allow access to log detail page (only) if a user has permission to show_history of an entity
2023-05-16 00:05:54 +02:00
Jan Böhmer
272684e7eb
Visualize generic object/JSON data of element history data as pretty tree structure on log detail page
2023-05-15 23:55:36 +02:00
Jan Böhmer
9be3eba694
Added button to delete a log entry via the log detail page.
2023-05-15 23:02:30 +02:00
Jan Böhmer
5a3fc0fb43
Show and link which log entry was undone/reverted on log detail page
2023-05-15 22:42:08 +02:00
Jan Böhmer
49b6a42791
Added buttons for revert and undo to the log detail page
2023-05-15 00:16:49 +02:00
Jan Böhmer
b62fd602f2
Show the diff of element edited log entries on detail pages
2023-05-14 23:08:14 +02:00
Jan Böhmer
923e40ed8f
Add the data after the change to a element edited log entry, so you can easily view the changes in log detail pages
2023-05-14 21:41:00 +02:00
Jan Böhmer
3c724a227a
Merge branch 'master' into log_detail_page
2023-05-14 16:43:52 +02:00
Jan Böhmer
b0ab43c39a
Show a proper error message table when encountering an invalid regex statement on SQLite
...
This is related to #289
2023-05-09 00:26:40 +02:00
Jan Böhmer
2c33b381c1
Allow to unselect name, category, description fields etc in search functionm
...
Before this commit it was ignored, if the checkboxes for these fields were unchecked.
2023-05-08 23:53:59 +02:00
Jan Böhmer
c50a80e8df
Show an error message in table instead of a 500 error when MySQL encounters an invalid Regex expression
...
This fixes issue #289
2023-05-08 23:42:25 +02:00
Jan Böhmer
13193c9368
Fixed issue that searching in part notes were not possible
...
This fixes issue #288
2023-05-07 01:05:12 +02:00
Jan Böhmer
1c836918ca
Fixed various Partkeepr import issues
...
On Linux mysql table names can contain uppercase characters, and we expect always lowercase character, so we now normalize the tablenames to lowercase.
Also fixed some type errors on part parameters and improved performace for orderdetails import.
This fixes issue #286
2023-05-02 00:40:00 +02:00
Jan Böhmer
1534f780aa
Show a table with the old data in log entry details page
2023-05-01 01:38:14 +02:00
Jan Böhmer
4c6ceab8e8
Merge branch 'master' into log_detail_page
2023-04-29 22:46:38 +02:00
Jan Böhmer
334d81db08
Mark that amount is unknown in part tables and info page
...
Fixes issue #282
2023-04-29 22:33:46 +02:00
Jan Böhmer
e8ec536a5a
Allow to order by storelocation column
...
Related to discussion #269
2023-04-23 23:38:59 +02:00
Jan Böhmer
1eb9c38aee
Fixed problem that MPN was not used as search field
...
Fixes issue #277 and #276
2023-04-22 23:26:48 +02:00
Jan Böhmer
963a22783f
Use proper implementation of recursion depth limit, that really use the number of recusive calls, not the number of child elements
...
This fixes issue #267
2023-04-17 23:59:59 +02:00
Jan Böhmer
7baad04e39
Updated dependencies
2023-04-16 23:58:03 +02:00
Jan Böhmer
273293479d
Hopefully fix phpunit issue on github actions
2023-04-16 01:46:44 +02:00
Jan Böhmer
37fb895d67
Only try to retrieve the targetLot from DB if the parameter is existing
...
This fixes an excpetion occuring during withdrawal of parts, when moving is disabled for the lot.
2023-04-16 01:22:58 +02:00
Jan Böhmer
0dcdd252f5
Fixed static analysis issues
2023-04-16 00:55:25 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00