Commit graph

1245 commits

Author SHA1 Message Date
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
Jan Böhmer
6f6ac0f128 Added simple possibility to favorite/unfavorite and delete multiple parts at once. 2020-05-23 19:06:46 +02:00
Jan Böhmer
123b229638 Added quick edit link column to Parts tables. 2020-05-22 22:31:19 +02:00
Jan Böhmer
8b43faeeac Correctly show external picture attachments. 2020-05-22 22:24:36 +02:00
Jan Böhmer
e6a3c41cee Pass typeahead ressource search as query param instead of URL part.
This hopefully fixes the 404 bugs, when putting an URL in the typeahead field...
2020-05-22 12:39:12 +02:00
Jan Böhmer
a27a6ea675 Dont try to generate thumbnails for SVG files, as GD does not support them... 2020-05-21 22:09:13 +02:00
Jan Böhmer
403dacbb25 Fixed DataFixture. 2020-05-21 13:46:17 +02:00