Commit graph

3810 commits

Author SHA1 Message Date
Jan Böhmer
6b87823d5e Delete the file associated with an attachment after an attachment is delted or changed. 2019-08-27 22:24:56 +02:00
Jan Böhmer
87527dfdc6 Added an command which deletes all abandoned files created by attachments that dont exist anymore. 2019-08-27 18:54:02 +02:00
Jan Böhmer
d93562a995 Merge remote-tracking branch 'origin/master' 2019-08-27 17:49:27 +02:00
Jan Böhmer
7f3b4031b1
Delete main.workflow 2019-08-27 17:48:55 +02:00
Jan Böhmer
1b44e72eed Updated symfony to 4.3.4 2019-08-27 13:34:33 +02:00
Jan Böhmer
ad949d4d9b Add a badge to attachment edit page, if the attachment is external. 2019-08-27 13:19:46 +02:00
Jan Böhmer
f98ed076ce The URL field of an attachment must contain a valid url. 2019-08-27 13:17:19 +02:00
Jan Böhmer
eea81441fb Treat all attachments without a filepath as external 2019-08-27 13:15:18 +02:00
Jan Böhmer
09a5948149 Show infos about filename and filesize on attachment edit tab. 2019-08-26 23:46:38 +02:00
Jan Böhmer
3a11933a89 Allow to add/delete attachments via part edit page. 2019-08-26 23:30:35 +02:00
Jan Böhmer
fcfab982a8 Dont show SI prefix selector for parts without a MeasurementUnit 2019-08-26 15:23:04 +02:00
Jan Böhmer
d32ced7547 If no data is set, the SIUnitType uses no prefix now. 2019-08-26 15:19:46 +02:00
Jan Böhmer
5cc08af7b6 Show formatted amount values on part info page. 2019-08-26 15:09:05 +02:00
Jan Böhmer
f5ebce2a77 Use SIUnitType for part lots amount. 2019-08-26 13:22:12 +02:00
Jan Böhmer
0cc95f58da Reload form after persisting part changes, so the SIUnitType shows the correct unit. 2019-08-26 11:55:37 +02:00
Jan Böhmer
03c1d35887 Only recreate the BaseAdmin form when the form were valid.
Otherwise we loose the infos about the errors and so can not show them to user.
2019-08-26 11:41:39 +02:00
Jan Böhmer
082a815f3a Show error message flash, when an validation error occured. 2019-08-25 18:15:58 +02:00
Jan Böhmer
59748ecc22 Show validation errors in SIUnitType 2019-08-25 13:14:30 +02:00
Jan Böhmer
6da2057a7e Fixed issue with StructuralEntityType, which was always empty after reloading the page.
We now use the id as option value, this causes that the entities are not compared via ===, but via their id.
2019-08-25 12:39:37 +02:00
Jan Böhmer
e7cc53f046 Added a field for edit the mass of a part. 2019-08-24 12:55:47 +02:00
Jan Böhmer
016c2889ba Allow part lots to have an null storage location.
Otherwise we loose informations on migration.
2019-08-21 11:58:41 +02:00
Jan Böhmer
c7e8fc9642 Fixed exception about non-persisted entities, when using the cached StructuralEntityType. 2019-08-21 00:46:45 +02:00
Jan Böhmer
7608d5dbda Updated dependencies. 2019-08-20 18:44:43 +02:00
Jan Böhmer
1629f31fed Fixed some inspection issues. 2019-08-20 18:39:57 +02:00
Jan Böhmer
8e23629dc0 Fixed exception in caching mechanism, if no user was logged in. 2019-08-20 18:18:11 +02:00
Jan Böhmer
1445d7475a Cache tools tree 2019-08-20 12:52:12 +02:00
Jan Böhmer
f75f17c92b Cache the tree nodes list generated for StructuralEntityType. 2019-08-20 12:34:43 +02:00
Jan Böhmer
76abef57be Allow to create new parts. 2019-08-19 23:41:58 +02:00
Jan Böhmer
813e7dc85b Added the possibility to edit/create/delete part lots. 2019-08-19 23:31:16 +02:00
Jan Böhmer
6a0adae8f3 Added the new fields to the part edit form. 2019-08-19 14:07:00 +02:00
Jan Böhmer
7517d83f55 Show part lots on part's info page. 2019-08-16 22:54:23 +02:00
Jan Böhmer
c2b43f2cfa Show part mass in part info page. 2019-08-16 16:43:31 +02:00
Jan Böhmer
aafbda3376 Show part tags and some other status infos in part info page sidebar 2019-08-15 22:59:34 +02:00
Jan Böhmer
fd6961e2f3 Fixed exceptions on part info page 2019-08-15 22:34:37 +02:00
Jan Böhmer
1af7c37ad7
Update README.md 2019-08-15 18:13:00 +02:00
Jan Böhmer
a3bc0bc90c
Create FUNDING.yml 2019-08-15 16:33:33 +02:00
Jan Böhmer
c87dc8b281 Updated some translation strings. 2019-08-14 19:16:50 +02:00
Jan Böhmer
d7ffdcc291 Removed php-translation bundle as it is not compatible with symfony > 4.2 2019-08-14 18:56:41 +02:00
Jan Böhmer
fbc5b1fc8d Extended store location options can be edited via Admin page now. 2019-08-14 18:45:28 +02:00
Jan Böhmer
fd4b474dbd Added admin page for measurement unit. 2019-08-14 18:31:46 +02:00
Jan Böhmer
06c6483fd1 Added default_currency and shipping cost fields to supplier admin page. 2019-08-14 15:41:01 +02:00
Jan Böhmer
e274d6aa9e Remove unique keys on currency and MeasurementUnit
This caused problems on older MySQL versions.
2019-08-14 00:02:41 +02:00
Jan Böhmer
cfa807c621 Added custom choice form type for tree structure entities. 2019-08-13 23:04:06 +02:00
Jan Böhmer
568367b59e Added an console command for updating currency exchange rates. 2019-08-13 13:04:31 +02:00
Jan Böhmer
2468409212 Added an admin page for currencies. 2019-08-12 23:45:21 +02:00
Jan Böhmer
87e6f641c3 Added an option for mass creation of structured data. 2019-08-12 22:41:58 +02:00
Jan Böhmer
51be176418 Added constraints for selectable attribute. 2019-08-12 21:47:25 +02:00
Jan Böhmer
408d98c6e1 Added database migration for new entities. 2019-08-12 18:04:53 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +02:00
Jan Böhmer
bcdba8b3e0 For images show a preview picture instead of the symbol 2019-08-11 17:24:54 +02:00