995afaaab5
feat(webapp): default language configurable ( #8546 )
...
* make the default and fallback language configurable
* fixes
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-12 11:22:31 +00:00
sebastian2357
ff366a4075
fix(webapp): mobile optimization ( #8516 )
...
* - optimized header
- added possibility of extra mobile logo
* - changed behavior of NotificationMenu link get directly open for mobile
* - moved notification links to the top of the menu
* - optimized chat view for mobile
* - added logo branding structure
* - added logo branding structure
* - fixed chat height
* - fixed paddings for internal pages
* Fix linting
* Fix linting
---------
Co-authored-by: Sebastian Stein <sebastian@codepassion.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-09 17:04:06 +00:00
3f4d648562
feat(backend): group invite codes ( #8499 )
...
* invite codes refactor
typo
* lint fixes
* remove duplicate initeCodes on User
* fix typo
* clean permissionMiddleware
* dummy permissions
* separate validateInviteCode call
* permissions group & user
* test validateInviteCode + adjustments
* more validateInviteCode fixes
* missing test
* generatePersonalInviteCode
* generateGroupInviteCode
* old tests
* lint fixes
* more lint fixes
* fix validateInviteCode
* fix redeemInviteCode, fix signup
* fix all tests
* fix lint
* uniform types in config
* test & fix invalidateInviteCode
* cleanup test
* fix & test redeemInviteCode
* permissions
* fix Group->inviteCodes
* more cleanup
* improve tests
* fix code generation
* cleanup
* order inviteCodes result on User and Group
* lint
* test max invite codes + fix
* better description of collision
* tests: properly define group ids
* reused old group query
* reuse old Groupmembers query
* remove duplicate skip
* update comment
* fix uniqueInviteCode
* fix test
2025-05-08 19:18:40 +00:00
Robert Schäfer
290a176407
refactor(backend): types for global config ( #8485 )
...
* refactor(backend): types for global config
I saw merge conflicts in these files for #8463 so let's get some parts of this PR into `master` already.
I believe this fixes a small bug. They guard clause didn't ensure that all of REDIS_ configurations were set.
* remove old email mechanism
* refactor(backend: react to @ulfgebhardt 's review
See: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8485#pullrequestreview-2813528327
* build(backend): optional commit
@ulfgebhardt this is how I tested the configurations. We don't need to include this commit but I wouldn't expect to send out real emails from a `docker-compose` setup.
---------
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-05-07 15:57:35 +02:00
Moriz Wahl
e4ae0dfe50
feat(backend): emails for notifications ( #8435 )
...
* email templates with pug for all possible notification emails
* more information in emails
* Individual email subjects to all notification emails
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: mahula <lenzmath@posteo.de>
2025-05-03 21:11:44 +02:00
9d5396988a
feat(backend): branding middlewares ( #8429 )
...
* allow the rbanding to provide middlewares
lint fix
fix config
* whitelist instead o blacklist when to exclude middlewares
fix config whitelisting
* fix lint
2025-04-28 17:27:01 +00:00
Wolfgang Huß
a5ee90a95d
fix(webapp): refine little things ( #8382 )
...
* Refine locals of some internal pages headlines
* Fix tool tip text
* Fix 'email' -> 'e-mail'
* Syncronize 'metadata.ts' with webapp
* Refine e-mail notifications
* Adjust notification settings buttons
* Refine third party setting
* Fix post teaser counter icon tooltips translations
* Refine e-mail notifications
* Refine third party setting
* notification spec snapshot
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-28 13:32:23 +00:00
0873fc748c
feat(backend): lint - detect unused typescript disables ( #8425 )
...
* detect unused typescript disables
* fix lint errors
uuid-types
remove debug
fix config
* lint fixes
2025-04-25 14:31:49 +00:00
b464a380ca
refactor(backend): lint @typescript-eslint/recommended-requiring-type-checking ( #8407 )
...
* lint @typescript-eslint/recommended
* lint @typescript-eslint/recommended-requiring-type-checking
fix type not detected locally due to wierd uuid typings
missing save
error not reported locally
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 10:32:44 +00:00
53f3a4e2e6
lint @typescript-eslint/recommended ( #8406 )
...
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 12:01:53 +02:00
mahula
7d9b0e6437
refactor(backend): set up smtp pooling for nodemailer ( #8167 )
...
* backend: active SMTP pooling in Nodemailer configuration
* backend: add max SMTPconnections and messages to Nodemailer configuration
* move transport outside function to ensure pooling can work
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-12 12:59:56 +02:00
f782032563
refactor(backend): lint - import/order ( #8350 )
...
* lint - import/no-relative-parent-imports
fix build error
* fix md
* lint import/order
enabled rule import/order and fixed impot order in each file
2025-04-09 09:44:48 +02:00
d6cb9b51c3
feat(backend): lint rules ( #8339 )
...
* eslint import
* eslint comments
* eslint security
* eslint import - rules
* eslint n
* eslint promise
* eslint no-catch-all
* eslint jest
* missing ignore
* disable import/unambiguous as conflicting
2025-04-07 10:53:44 +00:00
Wolfgang Huß
c6b1d663c1
Shorten code of DKIM config for Nodemailer to the solution used otherwise in code
2023-08-22 14:55:47 +02:00
Wolfgang Huß
28665bd175
Refine DKIM config for Nodemailer
2023-08-21 12:33:39 +02:00
Wolfgang Huß
be4d34228d
Implement DKIM config for Nodemailer
2023-08-17 17:26:59 +02:00
aaa033c6a3
lint fixes
2023-06-21 16:43:18 +02:00
c436cb52b1
corrected file endings or removed them where possible
2023-06-12 14:26:52 +02:00
cd567cd304
config
2023-06-12 14:07:00 +02:00
ebddfa7df4
all files as .ts
2023-06-12 13:25:21 +02:00
Moriz Wahl
28ddfde0e3
add categories active to .env, save categories on create
2022-07-25 19:02:08 +02:00
Wolfgang Huß
089c4ee1bb
Refine 'publish.yml'
2022-07-20 08:13:22 +02:00
Wolfgang Huß
aa454893ce
Refactor pageParams, third step
...
- Implement emails.js in backend as well.
- Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
2021-08-05 14:44:54 +02:00
Wolfgang Huß
0b1bdc495f
Implement configuration of internal pages
2021-07-29 16:54:20 +02:00
Wolfgang Huß
5fed1a6e0f
Change comments
2021-07-20 16:50:31 +02:00
Wolfgang Huß
69fdd94be4
Fix linting
2021-07-20 16:44:44 +02:00
Wolfgang Huß
688af4b8c1
Refine comments
2021-07-20 11:49:26 +02:00
Wolfgang Huß
3b214c9db9
Implement HTML internal support and organization pages
2021-07-20 11:34:01 +02:00
Wolfgang Huß
6632622b4e
Implement route of landing page
2021-07-19 15:44:59 +02:00
6819c8e5dd
wrong default value
2021-06-08 12:23:33 +02:00
7da0ba1f51
fixed wrong env variable
2021-06-08 11:50:34 +02:00
Wolfgang Huß
d7b888f7b2
Extend and change links
2021-06-02 20:10:30 +02:00
Wolfgang Huß
ff6cc306af
Refactor logos, first step
2021-05-18 17:04:48 +02:00
3d67ccb7e1
Merge pull request #4330 from Ocelot-Social-Community/jwt_expiretime
...
jwt_expiretime
2021-04-04 18:30:29 +02:00
f6c070a3cb
removed config warning
...
cleaned up test.yml workflow
try to run without .env files
2021-04-03 04:23:31 +02:00
a8b0699ebb
make jwt expire time configurable like in the frontend
2021-04-01 02:32:30 +02:00
Moriz Wahl
69c1f58432
fixed tests for locations
2021-03-19 12:33:44 +01:00
e54763cddf
backend changes for INVITE_REGISTRATION config
2021-03-19 12:24:42 +01:00
8e2d8a77c3
SMTP_SECURE option
2021-02-15 21:25:35 +01:00
13c8b85c78
refactor backend config
2021-01-28 17:47:55 +01:00
4842c5d7fe
Fixed no-env-warning to be more precise
2021-01-23 21:45:02 +01:00
Moriz Wahl
e47671c52a
further changed requested by Tirokk
2020-11-24 19:10:46 +01:00
Moriz Wahl
6454e686e9
changes requested implemented
2020-11-23 13:34:07 +01:00
Moriz Wahl
128e1f06cc
logos changed. SVG should be in better quality
2020-11-10 14:41:09 +01:00
Moriz Wahl
ecb0bb3766
Starting rebranding to ocelot.social
2020-11-10 12:08:44 +01:00
roschaefer
9bb827a8ee
Remove name "Human Connection" in email templates
2020-06-15 15:13:36 +02:00
roschaefer
dd09dfa721
Replace welcome image in email templates
2020-06-15 14:54:03 +02:00
roschaefer
16c7be1cc4
Parameterize emails in backend
2020-06-05 16:49:32 +02:00
roschaefer
063200bcb1
backend: Ignore if .env file cannot be found
...
fix : #7
2020-06-05 16:29:13 +02:00
roschaefer
eb838257d4
Ensure overwritten images are deleted on S3
2020-03-25 11:09:06 +01:00