22 Commits

Author SHA1 Message Date
Robert Schäfer
00da9e8ecb
feat(backend): resize images with imagor (#8558)
* feat(backend): resize images with imagor

Open questions:
* Do we have external URLs for images? E.g. we have them for seeds. But
  in production?

* Do we want to apply image transformations on these as well? My current
implementation does not apply image transformations as of now. If we
want to do that, we will also expose internal URLs in the kubernetes
Cluster to the S3 endpoint to the client.

TODOs:
* The chat component is using a fixed size for all avatars at the moment.
Maybe we can pair-program on this how to implement responsive images in
this component library.

Commits:
* do not replace upload domain url in the database

* fix all webapp specs

* refactor: remove behaviour we won't need

We don't want to apply image transformations on files, right?

* refactor: replace the domain on read not on write

* wip: webapp fixes

* refactor(backend): add another url to config

I've given up. There seems to be no nice way to tell the minio to return
a location which differs from it's host name.

* refactor: add test for s3Service

* refactor(backend): proxy minio via backend in local development

Commits:
* provide tests for message attachments
* remove S3_PUBLIC_URL config value

* refactor: follow @ulfgebhardt's review

* add missing environment variable

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-08-19 10:11:12 +02:00
elweyn
866079d307 Fix linting. 2023-06-08 09:49:42 +02:00
elweyn
5b40122b0e Remove async of cypress command and add contribution default value to post edit _id. 2023-06-08 09:44:11 +02:00
Wolfgang Huß
65b8780786
Merge branch 'master' into merge-6336-into-6339-optimize-event-create-and-update 2023-06-07 21:34:47 +02:00
514a5c4894
fix warning in edit post test 2023-06-05 20:53:03 +02:00
elweyn
a24e2186be Fix linting 2023-06-05 17:55:45 +02:00
elweyn
734891e93d Fix localization of edit events
Co-authored-by: ogerly <fridolin@tutanota.com>
2023-06-05 17:54:37 +02:00
elweyn
17e0d0a85c Rename creatEvent to createEvent 2023-06-01 13:04:06 +02:00
elweyn
1ca274fad4 Add creatEvent to the update post so the form has event specific fields.
Co-authored-by: elweyn<heine.hannes@gmail.com>
Co-authored-by: maeckes-infinitylabs<markus@infinitylabs.ooo>
2023-05-31 11:01:28 +02:00
Wolfgang Huß
a46dd099ac Fix webapp test by sending 'null' if group in post is undefined 2023-03-14 07:32:19 +01:00
Wolfgang Huß
fd62a03820 Add hint text to create and edit a post of a group 2023-03-09 18:06:14 +01:00
Wolfgang Huß
1703638dd6 Implement group indication headline for view and edit post page 2022-10-07 23:26:47 +02:00
Moriz Wahl
a4907f2bcb localised error message for cannot edit post 2020-01-28 10:18:15 +01:00
mattwr18
123fc2f666 Fix lint with updated linter 2019-11-18 21:54:24 +01:00
roschaefer
7c278d7c7f fix: send 403 if you try to edit another's post
This also fixes the glitch that you click on "Edit post" and the
contribution form is empty.
2019-11-08 17:30:29 +01:00
Matt Rider
8735045d11 Update cypress tests, post query 2019-08-20 20:13:29 +02:00
Matt Rider
f302961376 Get categories working with UpdatePost, refactor 2019-07-01 18:00:55 -03:00
Matt Rider
5266de2c62 Set dropdown with language of post if exists
follow `PR` review by @Tirokk
2019-06-13 17:29:33 -03:00
Matt Rider
ff0b4b6867 Fix lint 2019-05-29 09:47:24 -03:00
5202763dd8
frontend lint fixes 2019-05-23 19:40:39 +02:00
Robert Schäfer
4efb834599 Move ContributionForm in dedicated folder 2019-04-16 01:39:47 +02:00
Robert Schäfer
c91a61af89 Merging webapp to master 2019-03-20 21:06:17 +01:00