Commit graph

992 commits

Author SHA1 Message Date
Jan Böhmer
f0395d51b0 Correctly log the database migration to the system log 2022-12-17 00:44:12 +01:00
Jan Böhmer
a0f934169c Allow to delete users while keeping log entries. 2022-12-17 00:25:54 +01:00
Jan Böhmer
6f80129bb6 Show long/verbose dateinformation in tooltip of datetime columns in tables. 2022-12-11 16:48:14 +01:00
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
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
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
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
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
8a2b26e693 Tried something to fix tests on Linux 2022-11-27 21:45:04 +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
df11f62a2f Fixed PHPstan issues 2022-11-27 16:53:44 +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
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
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
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
Jan Böhmer
c5434ba842 Moved PasswordResetManager into Services\UserSystem namespace 2022-11-14 20:04:07 +01:00
Jan Böhmer
1e106a3da1 Moved TwoFactor services into Services\UserSystem namespace 2022-11-14 20:02:58 +01:00
Jan Böhmer
1de88e0494 Added various useful presets for permissions 2022-11-14 00:02:37 +01:00
Jan Böhmer
5829d42968 Fixed voters. 2022-11-13 21:01:40 +01:00
Jan Böhmer
ae4cb23b18 Removed timetravel permission
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +01:00
Jan Böhmer
70120bdaa9 Make allow checkbox for permissions green 2022-11-13 18:44:51 +01:00
Jan Böhmer
63a1855eb6 If a user can view parts, he is also allowed to view any subsequent datastructures.
Otherwise it is really difficult to implement permission correct part viewing.
2022-11-13 18:18:08 +01:00
Jan Böhmer
41450b8bd3 Fixed access to typeahead controllers. 2022-11-09 23:33:50 +01:00
Jan Böhmer
5e06557cf0 Removed field permissions from Part edit page 2022-11-06 21:29:03 +01:00
Jan Böhmer
fc1af24ef9 Do not show Zend Extensions twice in server infos page 2022-11-06 14:45:24 +01:00
Jan Böhmer
06ae136bae Hide "Show all entry" in tools sidebar if user does not have permissions to view parts. 2022-11-06 01:09:41 +01:00
Jan Böhmer
34fbcec00f Added an page to view infos about the server (Part-DB, PHP and DB config 2022-11-06 01:07:10 +01:00
Jan Böhmer
78d1dff40f Improved permission checking for certain controllers. 2022-11-05 23:49:53 +01:00
Jan Böhmer
a30b67e328 Allow to change all permissions at once via the console command. 2022-11-05 23:20:26 +01:00
Jan Böhmer
3fbc72600f Allow to edit user permissions via console command 2022-11-05 23:07:28 +01:00
Jan Böhmer
563ad21125 Added console command to view permissions of a user 2022-11-05 22:30:46 +01:00
Jan Böhmer
2f9e9c5279 Made the access to an attachment depending on the access rights of the associated elemenst 2022-11-02 23:27:44 +01:00
Jan Böhmer
676235a2d3 Fixed some exception about non existing part_attachments permission 2022-11-02 23:20:30 +01:00