174 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
Moriz Wahl
a3178a91b4
refactor(webapp): store for categories (#8551)
* after authentification, query the categories if active and store them

* get categories from store

* use category store to get categories

* get categories from store

* mock store to have access to categories

* to get rid of the active categories config variable in the frontend, the Category query returns an empty array when categories are not active

* remove CATEGORIES_ACTIVE from .env

* should return string to avoid warnings in console

* replace all env calls for categories active by getter from store

* use categoriesActive getter

* ignore order of returned categories

* mixin to get the category infos from the store, to ensure, that the quey has been called

* fix misspelling

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-27 15:03:26 +02:00
Moriz Wahl
d1b7ac62bb fix(webapp): event date format 2023-10-09 14:20:30 +02:00
Hannes Heine
7f06d71f6a
Merge branch 'master' into 6443-refactor-create-post-page 2023-07-26 10:53:04 +02:00
Markus
18f932f1b6 [refactor] fixed wrong title on edit post page 2023-07-20 10:15:39 +02:00
Wolfgang Huß
9f8f2635ab Fix linting 2023-07-19 12:19:45 +02:00
entermex
138b851737 Change color red to green on cancel buttons of post and comments 2023-07-14 13:05:07 +02:00
Markus
caa7e8e1fb [refactor] updated ui of creat post page 2023-07-13 18:47:36 +02:00
elweyn
e7cee28087 Remove gray box under date-picker. 2023-06-08 11:19:20 +02:00
Moriz Wahl
a8659e37bd check required in valiator 2023-06-07 17:46:06 +02:00
elweyn
ae2aec0d8a Fix eventLocationName validator and remove eventLocationName of query parameters if eventIsOnline true. 2023-06-07 16:43:38 +02:00
elweyn
4e43b77da2 Add custom error messages for events.
Co-authored-by: maeckes <markus@infinity.labs.ooo>
2023-06-07 12:55:21 +02:00
Moriz Wahl
2c31453bb0 test event data form 2023-06-07 11:50:46 +02:00
elweyn
da71b4e952 Make form interactive.. 2023-06-07 10:49:27 +02:00
elweyn
c0ae044182 WIP add change event on DatePicker. 2023-06-07 10:31:22 +02:00
elweyn
89503b6b13 Add change event for eventEnd. 2023-06-07 10:20:28 +02:00
elweyn
3d99382df9 Add change event for checkbox. 2023-06-07 10:18:53 +02:00
elweyn
9715df70f8 Merge @maeckes PR in @elweyn PR.
Co-authored-by: maeckes <markus@infinity.labs.ooo>
2023-06-07 09:35:54 +02:00
elweyn
a24e2186be Fix linting 2023-06-05 17:55:45 +02:00
elweyn
b8b49e283b Move formSchema to computed & fix eventIsOnline
Co-authored-by: ogerly <fridolin@tutanota.com>
2023-06-05 17:44:47 +02:00
elweyn
17e0d0a85c Rename creatEvent to createEvent 2023-06-01 13:04:06 +02:00
04ab8148f9
lint fixes 2023-05-25 12:41:04 +02:00
2bd8a7ef04
make time selection to be always valid 2023-05-25 11:56:10 +02:00
572272b581
typo 2023-05-25 11:26:31 +02:00
Moriz Wahl
59e7f8c0d2 fix post teaser unit tests and linting 2023-05-22 17:12:32 +02:00
elweyn
5544f453a6 Backend removed eventLocation, frontend fixes 2023-05-17 22:12:08 +02:00
Markus
df86812fc0 added missing eventLocationName to _EventInputs 2023-05-17 16:17:02 +02:00
ogerly
ff559e71db merge #6045 #6267, resolve conflicts, fix save image 2023-05-17 11:01:49 +02:00
ogerly
b421202e59 resolve conflict 2023-05-17 09:22:15 +02:00
ogerly
5b256ed3e4 fix lint 2023-04-26 13:44:31 +02:00
ogerly
909a8f29fd refactor style 2023-04-26 13:43:14 +02:00
ogerly
7d3d25fc7c datepicker hide dates before today 2023-04-26 11:53:46 +02:00
ogerly
2c5576f8a1 fix lint, fix locales 2023-04-25 22:11:25 +02:00
ogerly
fad1ab212e locales, style, events 2023-04-25 22:03:05 +02:00
ogerly
43728dd0a5 flex system for eventdatas in post 2023-04-25 19:57:48 +02:00
ogerly
c930dd6d52 last step construct 2023-04-25 18:45:23 +02:00
Moriz Wahl
06929e7053 rebase on event master 2023-04-25 14:32:50 +02:00
Moriz Wahl
1a4398eaf9 remove comments 2023-04-25 13:32:42 +02:00
Moriz Wahl
8df7d5d265 get it working 2023-04-25 13:27:25 +02:00
ogerly
8dfb22e7a5 merge event-master 2023-04-25 12:35:54 +02:00
Moriz Wahl
3244f3f86d feat(webapp): group categories on posts 2023-04-25 12:35:46 +02:00
ogerly
76eb8757cb merge event master + changes 2023-04-25 09:17:03 +02:00
ogerly
e172fe917a fix lint 2023-04-24 14:20:36 +02:00
ogerly
1ba79343fe save event 2023-04-24 12:40:52 +02:00
ogerly
dbf89fadfc pre add-further-event-params 2023-04-20 13:55:52 +02:00
ogerly
8d27846602 add datepicker 2023-04-05 20:07:32 +02:00
ogerly
d2fec8ea2f first step for events 2023-04-05 10:24:58 +02:00
Wolfgang Huß
9ded9105a3 Left over of merge conflict 2023-03-16 16:09:18 +01:00
Wolfgang Huß
9dbb8cae41 Merge branch '6068-on-create-edit-group-page-have-additional-hint' of github.com:Ocelot-Social-Community/Ocelot-Social into 6068-on-create-edit-group-page-have-additional-hint
# Conflicts:
#	webapp/components/ContributionForm/ContributionForm.vue
2023-03-16 16:06:35 +01:00
Wolfgang Huß
84e483a450 Fix variable name 2023-03-16 16:03:51 +01:00