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
577b841ee0
Fixed TypeError on certain old ElementCreatedLogEntries
...
Fixes issue #261
2023-04-08 22:57:07 +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
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +02:00
Jan Böhmer
bcda71cb25
Ensure that the a lot / storage location owner is not the anonymous user
2023-04-08 00:50:42 +02:00
Jan Böhmer
6443d8e2bf
Log the name of the CLI user, when actions were done from the CLI.
2023-04-07 22:44:59 +02:00
Jan Böhmer
5330476dbe
Highlight amount sum in part tables and part info page, when amount is less than minAmount
2023-04-03 23:15:29 +02:00
Jan Böhmer
9244fe5944
Fixed internal server error, when using owner placeholder on stored label profile
2023-04-03 22:23:53 +02:00
Jan Böhmer
8e2f297839
Added migrations for sqlite
2023-04-03 00:47:51 +02:00
Jan Böhmer
1acceae81e
Enforece that part lot owner matches storage location owner, if option is selected
2023-04-02 23:58:15 +02:00
Jan Böhmer
065417038c
Added possibility to edit and view the aboutMe information of users
2023-04-02 20:26:42 +02:00
Jan Böhmer
047c82791b
Added basic fields and migration for MySQL
2023-04-02 19:10:36 +02:00
Jan Böhmer
27b43041f9
Allow to import orderdetails and partLots of parts
2023-04-02 01:00:40 +02:00
Jan Böhmer
563d6bccd3
Added possibility to import users and projects
2023-03-25 21:09:02 +01:00
Jan Böhmer
1ca839ab26
Added import for storelocations
2023-03-24 22:51:41 +01:00
Jan Böhmer
bd2559c37b
Added the basic possibility to import KiCAD BOMs into projects
2023-03-16 00:05:46 +01:00
Jan Böhmer
be5663c468
Allow import/export of users
2023-03-13 22:16:02 +01:00
Jan Böhmer
820be46ed3
Make more fiields importable
2023-03-13 00:52:22 +01:00
Jan Böhmer
61e2dde400
Allow to import category, footprint and manufacturer by giving a string in the CSV file
2023-03-12 21:10:48 +01:00
Jan Böhmer
85ae862381
Allow to set basic data via import
2023-03-12 20:01:29 +01:00
Jan Böhmer
8f033910ce
Refactored EntityImporter service
2023-03-12 19:16:49 +01:00
Jan Böhmer
38b5e95842
Improved serialization result for parts
2023-03-12 01:41:44 +01:00
Jan Böhmer
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +01:00
Jan Böhmer
b99e6c9a21
Updated serializer discriminator map
2023-03-12 00:35:48 +01:00
Jan Böhmer
3b36b2a4dc
Improved exporter service
2023-03-11 22:40:53 +01:00
Jan Böhmer
52e459ec60
Use the name of an uploaded file for an attachment when no explicit name was set.
2023-03-05 23:47:45 +01:00
Jan Böhmer
6230ad971b
Merge branch 'keycloak'
2023-03-04 17:15:50 +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
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
960ee342e4
Moved all user info updating logic into SAMLUserFactory
2023-02-24 00:12:44 +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
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
82aec6f1ee
Fixed problem with failing foreign key constraints on preview pic (1/2)
2023-02-20 00:06:00 +01:00
Jan Böhmer
ba5ae35809
Fixed some inspection issues
2023-02-05 03:01:25 +01:00
Jan Böhmer
3c3a03a179
Use new ValidTheme constraint on theme field.
...
The old choice constraint needed an const, which is not available anymore, as you can configure the themes via parameters
2023-02-01 23:50:54 +01:00
Jan Böhmer
08c97282a3
Allow to configure which themes should be available via parameters.yaml
2023-02-01 23:15:02 +01:00
Jan Böhmer
489b3e2c21
Use webpack entrypoints for bootstrap and bootswatch themes
...
This allows us to utilize the webpack versioning mechanism, to avoid display issues, when upgrading bootstrap
2023-02-01 22:58:39 +01:00
Jan Böhmer
60446edd68
Fixed possibility to create nested structure from the part edit page
2023-01-30 22:29:20 +01:00
Jan Böhmer
5bf68632c3
Use MPN instead of part name for auto product URLs if available
...
Implements issue #93
2023-01-28 23:31:06 +01:00
Jan Böhmer
07f95bc6ea
Added possibility to create nested structures of elements using Mass Import
2023-01-28 23:24:45 +01:00
Jan Böhmer
22950f2476
Validate that a parts name fullfills the regular expression set in a category
2023-01-28 21:36:19 +01:00
Jan Böhmer
76ec63e760
Added a tab "Build" to project info page, where you can see how often you can build this project.
2023-01-18 23:07:51 +01:00
Jan Böhmer
cad1206175
Fixed phpunit tests
2023-01-08 22:44:32 +01:00
Jan Böhmer
7b6a906d98
Renamed "devices" permission to "projects"
2023-01-08 20:10:58 +01:00
Jan Böhmer
f2dfe12087
Use new label for ProjectBOMEntry
2023-01-08 19:40:56 +01:00
Jan Böhmer
257c67b6c1
Fixed static analysis issues.
2023-01-08 18:30:41 +01:00
Jan Böhmer
e679317b4b
Added project system database schema for SQLite
2023-01-08 18:17:52 +01:00