Commit graph

63 commits

Author SHA1 Message Date
Jan Böhmer
15677937a2 Do not use full urls when not needed, to prevent issues with SSL mixed content 2022-12-28 23:37:50 +01:00
Jan Böhmer
14bbe3d6d6 Rename unsafe file extensions of attachments to prevent XSS and server side code injection. 2022-12-18 18:11:44 +01:00
Jan Böhmer
5ffd44466e Show private attachment badge above the view link. 2022-12-18 17:35:29 +01:00
Jan Böhmer
b1d359f538 Added internal part number field to parts 2022-12-04 02:28:47 +01:00
Jan Böhmer
5e06557cf0 Removed field permissions from Part edit page 2022-11-06 21:29:03 +01:00
Jan Böhmer
b078389381 Refactored TwigExtensions Part 1 2022-09-18 16:45:12 +02:00
Jan Böhmer
4d78f8d4e8 Use the correct autocomplete type for non-part entities. 2022-09-05 17:38:47 +02:00
Jan Böhmer
34053f6591 Added a preview for latex rendered unit and symbol to parameters 2022-09-05 17:20:36 +02:00
Jan Böhmer
9a7e47863b Added autocomplete for part parameters 2022-09-05 17:02:57 +02:00
Jan Böhmer
9adcf20222 Removed left over dump statement. 2022-08-03 22:47:09 +02:00
Jan Böhmer
8323f374a4 Implement attachment CollectionType using stimulus 2022-08-03 20:28:27 +02:00
Jan Böhmer
bf3dba0fb2 Removed unnecessary scripts for orderdetails 2022-08-03 19:26:16 +02:00
Jan Böhmer
bda546bc0f Removed left over dump tag 2022-08-02 01:02:53 +02:00
Jan Böhmer
4847fe2fa3 Use stimulus collection controller for parts orderdetails 2022-08-02 00:00:28 +02:00
Jan Böhmer
66b7b2e9bf Use stimulus collection controller for partLots 2022-08-01 23:01:04 +02:00
Jan Böhmer
537b7fad7f Use a stimulus controller to implement collectionType for specifications/parameters. 2022-08-01 22:28:09 +02:00
Jan Böhmer
d16c01ebe0 Migrated some smaller utilities to BS5. 2022-07-24 22:59:19 +02:00
Jan Böhmer
270d622265 Migrated badges to BS5. 2022-07-24 22:39:32 +02:00
Jan Böhmer
103969a283 Removed input-group-prepend / -append classes, as they are not needed anymore. 2022-07-24 21:26:01 +02:00
Jan Böhmer
582f8e4c5f Fix tabs and pills for bootstrap 5 2022-07-24 18:14:33 +02:00
Jan Böhmer
365c7c60e4 Started to upgrade from bootstrap 4 to 5. 2022-07-24 18:08:21 +02:00
Jan Böhmer
1a9dfee0ed Disable turbo on login/logout forms, so page is fully reloaded. 2022-07-24 16:03:07 +02:00
Jan Böhmer
f276c436ae Initialize selectpicker via stimulus controller. 2022-03-06 23:27:20 +01: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
2dd807bbe6 Use twig global AttachmentManager in templates. 2020-04-03 14:56:48 +02:00
Jan Böhmer
99cf371ae5 Show filename as badges on part attachment info page. 2020-03-30 17:09:31 +02:00
Jan Böhmer
e83d72ec10 Added a permission to control which users can access private attachments. 2020-03-30 16:56:58 +02:00
Jan Böhmer
7bda340368 Show correct validator error position when a new element was added to CollectionType. 2020-03-30 15:49:04 +02:00
Jan Böhmer
5e6b6f08dd Dont log pricedetail infos to web console. 2020-03-30 15:26:44 +02:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00
Jan Böhmer
e72fc2716b Disable parameters fields when user is not allowed to edit data structures. 2020-03-25 15:19:09 +01:00
Jan Böhmer
ff05868051 Allow to edit parameters for data structures. 2020-03-24 21:49:09 +01:00
Jan Böhmer
2899db0206 Allow to put parameters in different groups. 2020-03-24 15:08:56 +01:00
Jan Böhmer
bc8748e6f4 Show parameters on info page & improved parameter editing. 2020-03-14 22:12:19 +01:00
Jan Böhmer
719e21c0df Save element parameters in its own database table (dont use JSON)
This makes it easier to query for specific parameters.
2020-03-11 21:48:47 +01:00
Jan Böhmer
a6e0f1738b Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
Jan Böhmer
502febb008 Fixed price detail autofill for min discount quantity. 2020-03-08 19:04:34 +01:00
Jan Böhmer
b6f95ebe48 Allow to add a comment when editing/creating/deleting an element. 2020-02-23 00:44:52 +01:00
Jan Böhmer
3caac22a0e Improved mobile view for part edit and sidebar. 2020-01-04 21:42:44 +01:00
Jan Böhmer
3e4f5a1391 Show the proper fa-file-* icon on attachment edit fragment. 2019-11-10 18:23:03 +01:00
Jan Böhmer
9b481323aa Added rel=noopener to target=_blank links to prevent window.opener spoof. 2019-11-01 23:49:46 +01:00
Jan Böhmer
11d45eaf59 Show a hint if an attachment is secure. 2019-10-13 13:34:26 +02:00
Jan Böhmer
4c7767feed Show higher resolution thumbnail when hover over a table picture.
Also use thumbnails for attachment edit preview.
2019-10-06 15:44:19 +02:00
Jan Böhmer
1b28006267 Show attachment preview also in part edit page. 2019-10-04 18:11:16 +02:00
Jan Böhmer
0fc987f017 URL autocomplete now works on newly created attachments too. 2019-10-03 14:17:35 +02:00
Jan Böhmer
3374153b73 Added permission checking for part price edit page. 2019-09-13 17:46:26 +02:00
Jan Böhmer
da14ee942d Added permissions for the new functions. 2019-09-13 17:13:58 +02:00
Jan Böhmer
e2b643c52b Allow to select the master picture attachment. 2019-09-02 23:09:58 +02:00
Jan Böhmer
d22f9da1f0 Allow to define manufacturing status for a part. 2019-09-02 18:41:57 +02:00
Jan Böhmer
8153a922f0 Fixed default value filling for pricedetails
Since we use SIPrefixType now, the ids has changed a bit.
2019-08-31 13:23:18 +02:00