Commit graph

1601 commits

Author SHA1 Message Date
Jan Böhmer
ff568d8390 Fixed exception when visiting user admin page. 2020-10-03 14:20:54 +02:00
Jan Böhmer
28e7e401d4 Show root node for devices. 2020-10-03 14:04:43 +02:00
Jan Böhmer
c6970505c7 Put sidebar trees under a root node. 2020-10-03 13:56:30 +02:00
Jan Böhmer
e05d707918
Merge pull request #79 from hmatuschek/fixed-parts-stats
Fixed 'Number of parts with price information' statistic.
2020-10-03 13:32:42 +02:00
Jan Böhmer
1caaad908b Use correct Attachment class for Storelocation Controller.
This fixes issue #81.
2020-10-03 13:31:05 +02:00
Jan Böhmer
3328dd968d Fixed some higher level PHPstan issues. 2020-10-02 12:42:15 +02:00
Jan Böhmer
f1d2e71d7e Updated composer dependencies. 2020-10-02 12:16:12 +02:00
Jan Böhmer
03bbdb699d Use FetchJoinORMAdapter from DatatablesBundle instead of custom one. 2020-09-04 10:36:44 +02:00
Jan Böhmer
7de2492480 Fixed missing reference to type caused by upgrading dependecies. 2020-09-03 12:19:27 +02:00
Hannes Matuschek
af8c296abf Fixed 'Number of parts with price information' statistic. 2020-08-30 17:59:16 +02:00
Jan Böhmer
3809539587 Implemented a stub DeviceRepository to prevent exception when try to delete a device.
Now the devices can not be deleted (but no exception), to prevent users to accidentally delete still useful devices from old Part-DB versions (as currently it is not possible to view which infos a device contains). This fixes issue #60.
2020-08-21 23:28:46 +02:00
Jan Böhmer
e73a90a234 Fixed code style. 2020-08-21 22:44:38 +02:00
Jan Böhmer
e01b06fb85 Fixed some inspection issues. 2020-08-21 22:43:37 +02:00
Jan Böhmer
349ab706cc Apply symplify checkers. 2020-08-21 21:38:31 +02:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02:00
Jan Böhmer
7c876b4a9c Updated recipe of framework bundle. 2020-07-04 23:44:15 +02:00
Jan Böhmer
96acf0d858 Updated to doctrine migrations 3.0. 2020-07-04 23:38:18 +02:00
Jan Böhmer
c3d22556a0 Set default timestamp value to CURRENT_TIMESTAMP instead of (MySQL) invalid 0000-00-00... 2020-07-04 20:44:45 +02:00
Jan Böhmer
a65303ce55 Generate a random password for inital admin user during database migration.
This improves the security of an unconfigured instance, as there are no global default credentials.
2020-06-14 22:29:15 +02:00
Jan Böhmer
00689b35ce Centralized permission updated message for migrations. 2020-06-14 21:17:57 +02:00
Jan Böhmer
74e4c4d0d1 Added support for SQLite. 2020-06-13 23:58:59 +02:00
Jan Böhmer
92cc73774c Added translations for PartLot Validation errors. 2020-06-13 22:29:32 +02:00
Jan Böhmer
50cca40f77 Fixed "Limit to existing parts" function.
Fixed issue #72.
2020-06-13 22:19:03 +02:00
Jan Böhmer
167e46fea4 Do not delete an file if there is an other attachment remaining after deletion.
Fixes issue #71.
2020-06-13 21:55:20 +02:00
Jan Böhmer
59d1349ce8 Fixed PHPstan issue. 2020-06-07 23:00:27 +02:00
Jan Böhmer
696d3343a4 Updated UpdateExchangeRatesCommand to use the new service. 2020-06-07 22:46:32 +02:00
Jan Böhmer
af42c3cca0 Added a button to update exchange rates via web gui. 2020-06-07 22:38:10 +02:00
Jan Böhmer
a8786341d5 Refactored Admin Page controllers a bit... 2020-06-07 21:11:09 +02:00
Jan Böhmer
bebe70d28e Fixed assets path generation on windows (use server path for files where this is possible). 2020-06-07 19:25:58 +02:00
Jan Böhmer
90d3032924 Fixed PHPStan issues. 2020-06-07 16:33:31 +02:00
Jan Böhmer
e091d8e26a Hide empty nodes in tools tree. 2020-06-03 22:28:38 +02:00
Jan Böhmer
e72bc52e12 Fixed PHPstan issues. 2020-06-03 22:22:15 +02:00
Jan Böhmer
36dfae52f2 [ReelCalculator] Added permission and added it to tools menu. 2020-06-03 22:19:59 +02:00
Jan Böhmer
e2ee0df58a Added simple SMD reel calculator. 2020-06-03 21:29:40 +02:00
Jan Böhmer
7de2137370 Fixed PHPStan issue. 2020-06-01 18:21:50 +02:00
Jan Böhmer
1b06203ca6 Fixed file extension validation for attachments.
This fixes issue #63.
2020-06-01 15:55:34 +02:00
Jan Böhmer
f0d0a78f65 Show a preview image in builtin attachment select autocomplete. 2020-06-01 14:51:38 +02:00
Jan Böhmer
7249bdfc7f Added parameters.yaml to kernel again. 2020-05-31 19:58:57 +02:00
Jan Böhmer
16a2e23c51 Updated recipe for symfony/framework-bundle. 2020-05-31 19:56:50 +02:00
Jan Böhmer
54fa445f06 Added a workaround for an symfony issue with collectiontype. 2020-05-31 19:42:44 +02:00
Jan Böhmer
3021d0d67a Fixed bug that wrong function was called. 2020-05-31 15:03:27 +02:00
Jan Böhmer
d9c83d8bb2 Use LogoutEvent listener instead of deprecated LogoutHandler. 2020-05-31 13:48:36 +02:00
Jan Böhmer
7f263e9916 Use $session->getFlashBag() instead of deprcated FlashBag service. 2020-05-31 13:48:12 +02:00
Jan Böhmer
f53c80c442 Fixed PHPUnit issues. 2020-05-31 13:10:44 +02:00
Jan Böhmer
6602015a5a Added option to "save and clone" a part, which is especially useful, when creatiing multiple similar parts.
This should (partly) fix issue 45.
2020-05-30 23:50:50 +02:00
Jan Böhmer
e19594f500 Show additional infos about the part picture, when hovering it. 2020-05-27 22:51:43 +02:00
Jan Böhmer
19e132c746 Show attachment name and filename when hovering over an table picture. 2020-05-27 21:54:08 +02:00
Jan Böhmer
dea7ffcabd Fixed PHPstan issue. 2020-05-24 21:26:51 +02:00
Jan Böhmer
9d6ca8be31 Added missing translation for action success. 2020-05-24 20:20:44 +02:00
Jan Böhmer
ca74dd84f0 Added basic possibility to change the manufacturer, footprint, category and part unit of multiple parts. 2020-05-24 18:26:10 +02:00