Jan Böhmer
27a001b1d2
Added an option to download a attachment via URL. Implemented secure attachments, which can not be accessed by URL and requires authentication.
2019-10-19 18:42:06 +02:00
Jan Böhmer
d382021fee
Moved attachment form submit logic to a seperate service.
2019-10-19 17:13:13 +02:00
Jan Böhmer
54986a9a52
Filter attachment name for uploaded filename.
2019-10-13 13:41:20 +02:00
Jan Böhmer
d2a8055384
Fixed exception on edit page for parts.
2019-10-13 13:27:04 +02:00
Jan Böhmer
329d8c871e
Show git branch and commit hash on homepage if available.
2019-10-13 00:44:50 +02:00
Jan Böhmer
8cfaee5c62
Added an console command to convert the old BBCode comments to markdown
2019-10-13 00:32:09 +02:00
Jan Böhmer
be8f074ca5
Render markdown on the client side and use DOMPurify to prevent XSS.,
...
The parsedown parser has problems with links in <>, so we use marked.js now which is more conform with (GFM) CommonMark and offers more feautures. Also with the usage of DOMPurify you can now use every HTML tag in Markdown without need to worry about XSS.
2019-10-12 17:41:13 +02:00
Jan Böhmer
7ec406d4a1
Show markdown on pages.
2019-10-11 23:53:12 +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
4fe10b6169
Uploaded (non secure) attachments live now in public/
...
That way the attachment files can now be loaded much quicker (without invoking a controller). Also added thumbnailing for pictures in tables.
2019-10-05 20:30:27 +02:00
Jan Böhmer
f53cc08f52
Added an table to show all defined attachments.
2019-10-04 18:06:37 +02:00
Jan Böhmer
2d4def2836
Show preview pictures as carousel on part info page.
2019-10-03 18:03:56 +02:00
Jan Böhmer
07dcbc0464
If a newly created attachment is a picture, then assign it as master picture if no master picture was set yet.
2019-10-03 15:31:55 +02:00
Jan Böhmer
2872e334ac
Show part preview image in part tables.
2019-10-03 14:53:50 +02:00
Jan Böhmer
6799ac90e5
Detect correctly if an attachment file is not existing.
2019-10-03 14:27:20 +02:00
Jan Böhmer
1395dae6e4
Cache list of builtin ressource attachments.
...
This should be a bit faster than searching every time.
2019-10-02 18:39:40 +02:00
Jan Böhmer
3277d98ee2
Added a simple autocomplete mechanism for the footprint URL.
2019-10-02 17:28:40 +02:00
Jan Böhmer
da46257757
Moved attachment path conversion functions to own service.
2019-09-28 16:06:37 +02:00
Jan Böhmer
ac238c65a0
Remove .. from attachments pathes, to prevent leaking of internal files.
2019-09-25 16:49:44 +02:00
Jan Böhmer
253adee35b
Removed dump functions, to prevent exception in production.
2019-09-24 18:53:05 +02:00
Jan Böhmer
67fe47bbb9
Generate internal filenames based on attachment name.
...
The filename of the uploaded file is now safed in the database.
2019-09-24 18:39:11 +02:00
Jan Böhmer
eb1d8fd4e4
Added possibility to add/edit attachments on Admin pages.
2019-09-24 18:28:35 +02:00
Jan Böhmer
a97d016740
Added some more tests.
...
Also changed the behavior of some code to meet the expectation.
2019-09-22 23:47:40 +02:00
Jan Böhmer
44bad9029b
Hide nodes in tools menu, for which the user does not have permissions.
2019-09-13 19:58:38 +02:00
Jan Böhmer
856e20586f
Added an admin page for the user groups.
2019-09-11 17:30:25 +02:00
Jan Böhmer
f7fc3dd2cc
Added an translation extractor, that extracts permission labels.
2019-09-10 22:48:17 +02:00
Jan Böhmer
7390f2eccd
Allow to change the permissions for users.
2019-09-10 17:12:56 +02:00
Jan Böhmer
09329a158b
Dont use SI Prefixes for part amounts without unit.
2019-09-08 18:45:39 +02:00
Jan Böhmer
a6f16315ee
Format amounts in part tables using the partUnit
2019-09-08 18:19:29 +02:00
Jan Böhmer
1e48c552dc
Use cached nodeslist when querying for subcategories.
...
This should increase performance for part lists.
2019-09-08 17:39:24 +02:00
Jan Böhmer
31e89e2e36
Allow to show parts in a storelocation or an supplier.
2019-09-08 17:30:58 +02:00
Jan Böhmer
429a4ebd17
Added links to part_lists on part info page.
2019-09-08 16:20:53 +02:00
Jan Böhmer
c8bc5d5214
Refactored EntityURL generator.
2019-09-08 14:23:49 +02:00
Jan Böhmer
c3fd325645
Allow to show parts for manufacturers and footprints.
2019-09-08 13:59:35 +02:00
Jan Böhmer
94ed78f66d
Allow to delete parts.
2019-09-02 17:42:13 +02:00
Jan Böhmer
af3dfafe22
Respect the currency of the prices when calculating average part price.
2019-09-01 18:52:22 +02:00
Jan Böhmer
a479dc81c4
Show the price in base currency if exchange rates are available.
2019-09-01 14:37:53 +02:00
Jan Böhmer
8a80474b3a
When formatting money strings, by default only show the trailing digits that are not zero.
2019-09-01 14:08:53 +02:00
Jan Böhmer
4391be448d
Use bcmath to calculate correct prices.
2019-09-01 13:56:14 +02:00
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
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
5cc08af7b6
Show formatted amount values on part info page.
2019-08-26 15:09:05 +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
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
c2b43f2cfa
Show part mass in part info page.
2019-08-16 16:43:31 +02:00
Jan Böhmer
fd6961e2f3
Fixed exceptions on part info page
2019-08-15 22:34:37 +02:00