Commit graph

1826 commits

Author SHA1 Message Date
Jan Böhmer
fc829b7183 Round average price to prevent exceptions.
This fixes issue #113.
2022-12-11 15:42:59 +01:00
Jan Böhmer
7235cb72b4 Really use euro as base currency when querying exchange rates, so we can use the configuration-free ECB provider
This should fixes issue #154.
2022-12-11 15:33:50 +01:00
Jan Böhmer
2b2fc6f1e6 Dont throw an exception, if we can not retrieve an currency exchange rate, but show an meaningful flash message 2022-12-11 15:10:16 +01:00
Jan Böhmer
0c5180bda4 Run tests and static analysis on ubuntu-22.04 2022-12-11 14:51:07 +01:00
Jan Böhmer
b90b6d7853 Run tests on PHP 8.2 2022-12-11 14:46:39 +01:00
Jan Böhmer
1ef41d6f53 Updated yarn dependencies. 2022-12-11 14:43:47 +01:00
Jan Böhmer
64656ad76c Updated composer dependencies. 2022-12-11 14:41:40 +01:00
Jan Böhmer
e00ca9b4a9 Added IPN migration for SQLite
This should fix issue #167
2022-12-05 22:33:58 +01:00
Jan Böhmer
6d966ce516 Allow to filter by IPN 2022-12-04 02:40:37 +01:00
Jan Böhmer
b1d359f538 Added internal part number field to parts 2022-12-04 02:28:47 +01:00
Jan Böhmer
81abf36867 Allow to undelete attachments and parameters
Before they were just mapped to the abstract base class, which is not instantiable. Now we properly map them to the correct sub class and no error occurs.
2022-11-30 23:49:27 +01:00
Jan Böhmer
4b76d991dd Removed old GPLv2 copyright headers in tests 2022-11-29 22:37:33 +01:00
Jan Böhmer
68462185ba Removed old GPLv2 copyright header 2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583 Added copyright/license info to files 2022-11-29 21:21:26 +01:00
Jan Böhmer
c3f4e61e41 Removed the useless margin below the description text in Parts table
This fixes issue #192
2022-11-29 00:29:53 +01:00
Jan Böhmer
6ce6b97b1e Allow to change needs review status using parts multiselect action 2022-11-29 00:18:11 +01:00
Jan Böhmer
dc81f8272e Use the new improved error messages on forms provided by symfoyn 2022-11-29 00:12:06 +01:00
Jan Böhmer
56c6157013 Show icon before part name in Parts table to mark if a part has favorite or needs review status 2022-11-29 00:10:40 +01:00
Jan Böhmer
bd12185b44 Show expired lot sum in parts table in parenthesis 2022-11-28 23:59:01 +01:00
Jan Böhmer
1f6f39172f Fetch all partLots when loading a parts table, to show correct part amount
This fixes issue #190
2022-11-28 23:43:30 +01:00
Jan Böhmer
984fc9be14 Escape users and groups table name in migration as these are reserved words in MySQL 8
Should fix issue #194.
2022-11-28 13:54:50 +01:00
Jan Böhmer
75cf3dc46f Fix the $permissions must be initialized before access exception preventing login on two factor auth 2022-11-28 00:03:42 +01:00
Jan Böhmer
fc27728c62 Updated yarn dependencies. 2022-11-27 23:33:02 +01:00
Jan Böhmer
74d345acfe Updated doctrine/dbal to 3.5.1
The bug which prevented the use of 3.5.0 should now be fixed.
2022-11-27 23:18:44 +01:00
Jan Böhmer
fc507668ad Upgraded yarn dependencies 2022-11-27 23:15:40 +01:00
Jan Böhmer
c529df89a0 Merge branch 'permission_rework' 2022-11-27 23:11:03 +01:00
Jan Böhmer
414c417b69 Added link to announcement where you can get more infos about upgrading permission system. 2022-11-27 23:10:15 +01:00
Jan Böhmer
8a2b26e693 Tried something to fix tests on Linux 2022-11-27 21:45:04 +01:00
Jan Böhmer
c153502b3f Removed default value for MySQL permission column as it causes problems on older MySQL servers 2022-11-27 21:33:13 +01:00
Jan Böhmer
40c0a96936 Fixed PermissionManager test 2022-11-27 21:09:42 +01:00
Jan Böhmer
d69418bb9d Add labelprofile and devices read permission to readonly preset 2022-11-27 20:37:05 +01:00
Jan Böhmer
5229f2fc28 Fixed UserCheckerTest 2022-11-27 19:43:49 +01:00
Jan Böhmer
df11f62a2f Fixed PHPstan issues 2022-11-27 16:53:44 +01:00
Jan Böhmer
2554120e6e Improved DatatablesAvailabilityTest 2022-11-27 16:39:45 +01:00
Jan Böhmer
cd9a303644 Improved ApplicationAvailabilityFunctionalTest 2022-11-27 16:35:44 +01:00
Jan Böhmer
51d3934e9f Improved failure message of AvailabilityFunctionalityTest 2022-11-27 16:16:22 +01:00
Jan Böhmer
960dbdf6f6 Fixed permissions fixtures loading. 2022-11-27 16:11:20 +01:00
Jan Böhmer
adde39de9f Updated yarn dependencies. 2022-11-26 22:58:34 +01:00
Jan Böhmer
e0d7fb7517 Updated composer dependencies. 2022-11-26 22:54:53 +01:00
Jan Böhmer
c6ad14d641 Show a more helpfull error message on login when a user is disabled.
Before a generic invalid credentials message was shown, now a hint about the disabled status is shown.
2022-11-15 00:25:56 +01:00
Jan Böhmer
59ec215b12 Added an console command to enable/disable many users at once. 2022-11-15 00:18:39 +01:00
Jan Böhmer
27709bed60 Show the disabled status of a user in the users:list command 2022-11-14 23:58:38 +01:00
Jan Böhmer
37fde77b8e Show special icon in users menu when a user is locked 2022-11-14 23:52:10 +01:00
Jan Böhmer
a3aa8ec2ef Fixed error with loading the permissions.yaml file caused by moving of PermissionManager 2022-11-14 23:32:28 +01:00
Jan Böhmer
1c12174cd9 Fixed new permission migration for SQLite 2022-11-14 23:21:49 +01:00
Jan Böhmer
aabe3876a7 Improved migrations for MySQL 2022-11-14 23:12:18 +01:00
Jan Böhmer
21af37b8e7 Allow users to change the group of a user, when he is allowed to change permissions 2022-11-14 22:42:12 +01:00
Jan Böhmer
fd96f47952 Updated composer dependencies. 2022-11-14 20:30:55 +01:00
Jan Böhmer
6b9e0b415c Removed legacy PermissionEmbed class
It was used for the old permission saving system and is not needed anymore
2022-11-14 20:20:36 +01:00
Jan Böhmer
b0c027f805 Renamed PermissionResolver service to PermissionService 2022-11-14 20:15:06 +01:00