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
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
13209c3236
Improved typing of properties
2023-04-15 22:25:03 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
de96aae9a5
Fixed inspection issues
2023-04-15 21:49:19 +02:00
Jan Böhmer
5f29ee9052
Fixed some deprecation messages
2023-04-15 21:18:11 +02:00
Jan Böhmer
b3ecee749e
Removed deprecated SessionInterface service
2023-04-15 21:07:04 +02:00
Jan Böhmer
1cee1abe00
Fixed some return type deprecation messages
2023-04-15 19:33:39 +02:00
Jan Böhmer
d0cb7ab486
Fixed deprecated use of FlashBag Service
2023-04-15 19:05:45 +02:00
Jan Böhmer
8351f38ee7
Keep query parameters when adding locale part in RedirectController
...
This fixes issue #268
2023-04-15 00:38:11 +02:00
Jan Böhmer
69fc28d5d6
Added better formatted extra section for certain log types
2023-04-10 23:13:09 +02:00
Jan Böhmer
4107535b19
Added basic log entry info page
2023-04-10 00:30:23 +02:00
Jan Böhmer
1125096e5a
Fixed RoundingNecessaryException in certain cases
2023-04-09 01:30:29 +02:00
Jan Böhmer
fc1d2269d0
Fixed error with default values on older MySQL version
...
We have removed the default values for the columns completly, as it were only needed on SQLite when adding the column to existing row.
As this was done in an earlier migration, we can now safely remove it.
The MySQL now correctly detects no more changes. SQLite however still generates some wrong migration changes.
2023-04-09 01:17:48 +02:00
Jan Böhmer
342ed382e3
Properly mark the tinyint column with a comment, so that migrations can properly detect that no changes are needed
2023-04-09 00:04:13 +02:00
Jan Böhmer
7f9307feec
Perform an explicit type conversion in doesFKExists function
2023-04-08 23:32:38 +02:00
Jan Böhmer
036eaf3bae
Removed warnings about changed permissions, as the old changes are reset later, and we now do the permission migration in Part-DB directly
2023-04-08 23:29:23 +02:00
Jan Böhmer
2717d7d311
Only drop the foreign keys during migration from legacy Part-DB DBs if they really exist
...
This should fix issue #260
2023-04-08 23:27:10 +02:00
Jan Böhmer
577b841ee0
Fixed TypeError on certain old ElementCreatedLogEntries
...
Fixes issue #261
2023-04-08 22:57:07 +02:00
Jan Böhmer
0eea7f8d4d
Fixed static analyis issue
2023-04-08 21:00:41 +02:00
Jan Böhmer
29af14f588
Added an option to enforce log comments for certain actions
...
This implements issue #220
2023-04-08 20:43:19 +02:00
Jan Böhmer
5b5e8a4fd5
Allow users (and admins) to decide whether their email should be shown on their public profile
2023-04-08 19:53:05 +02:00
Jan Böhmer
363b7bc314
Do not show a unecessary label in front of the boolean constraint types checkboxes
2023-04-08 01:24:17 +02:00