Commit graph

1408 commits

Author SHA1 Message Date
Jan Böhmer
1446aab451 Correctly map the errors of newly created elements in CollectionTypes
Before there were just shown on the parent, now they get mapped to the right field
2023-03-05 23:05:58 +01:00
Jan Böhmer
86f77fde1a Improved sorting possibilities for Project info BOM view 2023-03-05 01:20:32 +01:00
Jan Böhmer
c27b02512f Fixed problem with part tables that the wrong number of parts (and therefore pages) were displayed.
This hopefully does not break anything else.
2023-03-05 00:57:01 +01:00
Jan Böhmer
222e76ce47 Added option to search in internal part number (enabled by default)
This should fix issue #232
2023-03-04 23:37:38 +01:00
Jan Böhmer
49e521404a Show if SAML is enabled in the server info tool 2023-03-04 17:27:09 +01:00
Jan Böhmer
6230ad971b Merge branch 'keycloak' 2023-03-04 17:15:50 +01:00
Jan Böhmer
8fad743e85 Allow to select the priority of SAML role mapping based on the order in the configuration option 2023-03-04 16:52:17 +01:00
Jan Böhmer
f9fd015ecb Show configured and effective maximum file size in server info page. 2023-03-03 23:42:02 +01:00
Jan Böhmer
27de5ae387 Fixed static analysis issue 2023-03-02 23:57:32 +01:00
Jan Böhmer
5a19024bec Use 10 based prefixes for byte sizes instead of 2-based
This way we are consistent with the way symfony interprets the prefixes
2023-03-02 23:39:12 +01:00
Jan Böhmer
e0635f7ead Show maximum allowed file size below the upload field for attachments 2023-03-02 23:38:23 +01:00
Jan Böhmer
6fa5efc4ca Increased the maximum file size from 16M to 100M and make it configurable
This fixes issue #228
2023-03-02 23:08:14 +01:00
Jan Böhmer
7394a23a83 Fixed infinite loop when an element gets assigned itself as parent
This fixes issue #230
2023-03-02 22:55:22 +01:00
Jan Böhmer
8a18951562 Fixed static analysis issue. 2023-02-28 17:03:57 +01:00
Jan Böhmer
5e85c52a57 Allow to automatically assign SAML users to a group based on SAML attributes 2023-02-27 23:47:42 +01:00
Jan Böhmer
99f04d71af Revert "Moved all user info updating logic into SAMLUserFactory"
This reverts commit 960ee342e4.
2023-02-27 22:28:23 +01:00
Jan Böhmer
83cd91f1d1 Fixed potential XSS injection vectors in datatables columns 2023-02-26 01:23:36 +01:00
Jan Böhmer
5f39d8e594 Properly escape user provided data in trans with data to prevent possible XSS attack vectors. 2023-02-26 00:52:00 +01:00
Jan Böhmer
960ee342e4 Moved all user info updating logic into SAMLUserFactory 2023-02-24 00:12:44 +01:00
Jan Böhmer
e6d9237bda Allow to specify a user by username or email with set-password commannd 2023-02-23 23:39:29 +01:00
Jan Böhmer
c831d57614 Added an console command to convert local to SAML users and vice versa 2023-02-23 23:36:40 +01:00
Jan Böhmer
586a57c2c9 Allow X500 attributes for user info and added some tests 2023-02-21 23:41:02 +01:00
Jan Böhmer
b13655e951 Prevent login of local users via SSO with the same username 2023-02-21 22:36:43 +01:00
Jan Böhmer
e064ee4263 Prevent change of password of SAML users via CLI 2023-02-21 21:58:27 +01:00
Jan Böhmer
60f926924b Add a specific role to SAML user 2023-02-21 00:42:03 +01:00
Jan Böhmer
97c3b9002a Mark SAML users as so in database and disable local password changing then. 2023-02-21 00:29:50 +01:00
Jan Böhmer
78ec0f1ea3 Create a new DB user when somebody logs in using SAML 2023-02-20 23:04:20 +01:00
Jan Böhmer
05ab3c3b7b Fixed image display style for odd shaped (very small) images. 2023-02-20 00:24:12 +01:00
Jan Böhmer
82aec6f1ee Fixed problem with failing foreign key constraints on preview pic (1/2) 2023-02-20 00:06:00 +01:00
Jan Böhmer
9d1cd0477a Fixed problems with non-unique prototype names when using nested collection type, which prevented to create nested entries with mulitple new sub entries.
We now use a unique prototype name for every collection field. This fixes issue #219
2023-02-19 22:39:26 +01:00
Jan Böhmer
2fcd48d4f2 Fixed error when cloning an label profile
An attachment type with the same ID was retrieved from the DB, which was not cloneable for the form...
2023-02-19 21:56:10 +01:00
Jan Böhmer
2d85734703 Use having clause for part amountSum filter constraint
This fixes issue #218
2023-02-19 21:45:38 +01:00
Jan Böhmer
ce3cecabaf Save project attachment files under "project/" instead of "device/" 2023-02-12 20:54:53 +01:00
Jan Böhmer
455acccc7e Use tagsinput for attachmenttype filetype filter to improve UX 2023-02-12 20:48:52 +01:00
Jan Böhmer
d7e7c9797f Fixed PHPstan issue 2023-02-12 14:06:32 +01:00
Jan Böhmer
6b06ce9ac3 Started to make changed fields names in element edited log entry extra data translatable 2023-02-11 23:39:11 +01:00
Jan Böhmer
1faeddccb2 Fixed bug that default_currency and shipping costs fields of supplier were not editable 2023-02-11 23:18:21 +01:00
Jan Böhmer
266ffe3fec Disable username and token field on password reset controller 2023-02-11 22:04:49 +01:00
Jan Böhmer
90b583654b Fixed inspection issues 2023-02-06 21:34:46 +01:00
Jan Böhmer
aeddf03d98 Fixed phpstan issues 2023-02-06 21:06:26 +01:00
Jan Böhmer
e067dc80d5 Fixed rendering of empty selection with the multi select action 2023-02-06 00:48:00 +01:00
Jan Böhmer
7ff1584eb9 Fixed multi-part action selectors. 2023-02-06 00:08:32 +01:00
Jan Böhmer
b8da4c62d0 Show first steps on homepage when no parts were created yet. 2023-02-05 21:37:48 +01:00
Jan Böhmer
8447b8b42a Removed links to old author pages (which do not work anymore) 2023-02-05 21:12:44 +01:00
Jan Böhmer
c088742dda Added possibility to save parts and create an empty one 2023-02-05 21:00:26 +01:00
Jan Böhmer
08b60cd149 Restrict small user avatar picture size to square 2023-02-05 20:06:53 +01:00
Jan Böhmer
d3023ea945 Increase network timeout for yarn in Dockerfile to prevent timeout errors on cross builds. 2023-02-05 19:31:21 +01:00
Jan Böhmer
8794c1d018 Fixed issue that prevented creation of new entities via StructuralEntityType 2023-02-05 19:29:39 +01:00
Jan Böhmer
ba5ae35809 Fixed some inspection issues 2023-02-05 03:01:25 +01:00
Jan Böhmer
76e4002a5a Fixed typo in template path 2023-02-05 00:14:57 +01:00