99 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
ad4b6e0d79
refactor(webapp): remove email normalization (#8580)
* remove email normalization from webapp

* missing change

* fix error when email is not defined

* fix lint

* remove obsolete test

* remove obsolete tests

* fix password reset

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-25 15:58:41 +02:00
34c0e5166f
fix(backend): fix statistics and introduce new values (#8550)
* fix statistics and introduce new values

* fix locales
2025-05-12 17:51:15 +00:00
Max
fffaebcbca
Replace edit link by pencil button (#8453)
We show now a round button with pencil icon to edit the badges.
2025-04-28 14:39:54 +00:00
Max
ba0cc147e7
fix(webapp): fix admin badges settings (#8438)
* Remove proxy from nuxt.config, instead add proxy filter

* Show message when there are no badges
2025-04-26 17:25:27 +00:00
sebastian2357
2fd138697f
feat(webapp): badges UI (#8426)
- New badge UI, including editor.
- Adds config to enable/disable badges.

---------

Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Maximilian Harz <maxharz@gmail.com>
2025-04-25 16:55:46 +00:00
Max
c090db3866
feat(webapp): badges admin settings (#8401)
Adds a link to badges settings in the user table, where admins can set the available badges.
2025-04-22 17:28:51 +00:00
Moriz Wahl
e8ca65c040 remove comments 2023-02-23 21:13:18 +01:00
Moriz Wahl
b2eda033ee all admin pages tests are working 2023-02-13 21:39:57 +01:00
Moriz Wahl
0d5f87c2a3 fix donations test 2023-02-13 21:33:35 +01:00
Wolfgang Huß
04810ca500 Move the admins user query GQL to the appropriate file 2023-01-12 10:50:44 +01:00
Wolfgang Huß
e82d35c824 Fix linting 2022-08-25 23:17:50 +02:00
Wolfgang Huß
ee0feab744 Fix linting 2021-09-29 11:50:57 +02:00
Wolfgang Huß
49e4111def Fix to set 'sendNotificationEmails' on admin of db init
- Set other missing properties on admin of db init.
- Additionally set default donations `progress` value to `7000` to have a better looking design on the news feed for devs and testers.
- Fix test in `pages/admin/donations.spec.js`.
2021-09-29 10:32:51 +02:00
Wolfgang Huß
df3d3812cc Cleanup donations.spec.js 2021-09-16 10:51:21 +02:00
Wolfgang Huß
34554f1539 Refine and cleanup test 'webapp/pages/admin/donations.spec.js' 2021-09-15 14:22:26 +02:00
Wolfgang Huß
8251877bd9 Merge branch '4265-move-sort-newsfeed-menu-into-filter-menu-moriz' of github.com:Ocelot-Social-Community/Ocelot-Social into 4265-move-sort-newsfeed-menu-into-filter-menu
# Conflicts:
#	webapp/components/DonationInfo/DonationInfo.spec.js
#	webapp/pages/admin/donations.spec.js
2021-09-15 13:53:10 +02:00
Wolfgang Huß
98982010f7 Fix linting 2021-07-21 11:54:56 +02:00
Moriz Wahl
5699620c85 suggested solutions 2021-07-12 12:20:08 +02:00
Wolfgang Huß
7618e18294 Test frontend, next try 2021-06-23 15:30:47 +02:00
Wolfgang Huß
5a1eda272b Test frontend, little try 2021-06-16 08:06:56 +02:00
Wolfgang Huß
af5e255aad Fix several problems with admins setting of donations info
- Use 'toString' to care for setting the values of the donation progress bar.
2021-06-15 13:55:08 +02:00
Wolfgang Huß
1ab4cec5fe Implement more tests for the admin donations settings page, start 2021-05-10 13:09:21 +02:00
Wolfgang Huß
da951c6fb6 Clean up 2021-05-06 16:37:31 +02:00
Wolfgang Huß
59dfb4662e Merge branch 'master' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 4265-move-sort-newsfeed-menu-into-filter-menu 2021-05-06 16:04:09 +02:00
8a53bda51c
lint fixes 2021-04-26 02:21:50 +02:00
fc3e404ded
coverage settings.spec.js 2021-04-26 00:36:22 +02:00
f6075bc261
coverage pages.spec.js 2021-04-26 00:36:10 +02:00
4fc504ce8a
coverage organizations.spec.js 2021-04-26 00:36:02 +02:00
662de165ca
coverage notifications.spec.js 2021-04-26 00:35:54 +02:00
b99fbebd82
coverage invite.spec.js 2021-04-26 00:35:45 +02:00
07c9110693
coverage hashtags.spec.js 2021-04-26 00:35:26 +02:00
bf4846faad
coverage donations.spec.js 2021-04-26 00:35:17 +02:00
f97e911626
coverage categories.spec.js 2021-04-26 00:34:58 +02:00
Wolfgang Huß
d40dd94868 Implement showDonations in the database
- Add to backend tests.
2021-04-15 10:51:01 +02:00
Wolfgang Huß
a48355f8bc Implement admin danations info show checkbox 2021-04-15 09:30:04 +02:00
Wolfgang Huß
6f79bba69d Fix truncate via adding 'truncateStr'
- Because the 'truncate' function uses 'trunc-html' which seem not to function anymore like expected what has to be investigated further.
2021-03-29 11:27:27 +02:00
Moriz Wahl
a5df793c55 avoid introspection to get available roles as admin 2021-02-16 13:12:18 +01:00
Moriz Wahl
dd8f32bbd3
switch user role: removed unecessary comment 2021-02-10 13:08:42 +01:00
Moriz Wahl
14dfe2ae2c
change user role: tests are working 2021-02-10 13:08:42 +01:00
Moriz Wahl
c528269cb2
change user roles is working, test fails 2021-02-10 13:08:42 +01:00
Moriz Wahl
9ef42940ae
change user roles: fixed mutation parameters, added success toast 2021-02-10 13:08:42 +01:00
Wolfgang Huß
7571361b92 Fix linting by deleting console.log 2021-02-08 10:01:51 +01:00
narendra chandra
c39e7224dc User cannot change their own role 2021-02-06 17:45:21 -05:00
narendra chandra
ce23692922 User cannot change their role 2021-02-06 17:34:17 -05:00
narendra chandra
4920a902c4 User cannot change their own role 2021-02-06 17:12:24 -05:00
narendra chandra
d5e227a38a Added user role change feature 2021-01-24 21:07:45 -05:00
roschaefer
276ea79e8f Update prettier to v2 2020-03-24 21:11:11 +01:00
Raphael Beer
d90e4c2aa8
Refactor: replace named slots 2020-03-12 23:49:00 +01:00
Alina Beck
408b77a3e7 use base-card on post page 2020-02-11 18:19:40 +01:00