231 Commits

Author SHA1 Message Date
Wolfgang Huß
bda0de0249
fix(backend): fixing admin email notification settings (#8356)
* Fix admin e-mail notification settings

* Optimize migration '20250405030454-email-notification-settings.ts' down

* Update backend/src/db/admin.ts

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-11 10:00:15 +00:00
Moriz Wahl
abd13a6cff
migrate commenting users to observe commented posts (#8308) 2025-04-10 19:36:26 +02:00
fcc99ab58e
refactor(backend): clean migrate scripts (#8317)
* clean migrate scripts

- refactor migrate:init
  - separate admin seed
  - separate categories seed
- rework backend README regarding the database
- remove `db:clean` command as its a duplicate of `db:reset`
- remove `__migrate` helper alias

* renamed clean.ts to reset.ts

* set indices & constrains in init function

* fix comment

* disable migrations touching indices

* remove obsolete comment

* always run init on kubernetes

* reset db with or without migrations

* lint fixes

* Refine 'README.md'

* Refine more 'README.md'

* fix lint

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-10 09:52:49 +02:00
Max
1b07b06ca7
feat(webapp): notification settings frontend (#8320)
Implements detailed settings for email notifications.

Issues
relates 🚀 [Feature] Drei neue Interaktions-Benachrichtigungen #8280
2025-04-09 13:21:38 +00:00
Moriz Wahl
fe7bab4675
posts and comments created by the factory set the observe relation (#8344) 2025-04-09 08:36:56 +00: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
a4f391930c
lint - import/no-relative-parent-imports (#8349)
enable import/no-relative-parent-imports
2025-04-08 23:18:07 +02:00
59c145c1f9
lint plugin n - update and cleanup (#8342)
- Update plugin n to fix a deprecation warning
- Order n rules according to docu
- use n:recommended
- comment out all rules from recommened
- enable some rules
2025-04-08 08:35:49 +00:00
f7c371c9ce
lint import/no-extraneous-dependencies (#8341) 2025-04-08 07:35:11 +00: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
Moriz Wahl
72f469d823
migration adds OBSERVES relation between author and post (#8307) 2025-04-03 16:46:02 +00:00
mahula
6cecd3662f adapt backend image faking due to deprecation warning 2024-04-29 17:48:41 +02:00
mahula
7b3ed63bc9 adapt backend image faking due to deprecation warning 2024-04-29 15:29:46 +02:00
mahula
01c8c2a57b adapt backend avatar faking due to deprecation warning 2024-04-29 14:50:20 +02:00
mahula
e2654de55d adapt name and random faking to updates faker api 2024-04-29 08:36:34 +02:00
Moriz Wahl
44d6f31574 timezone offset in migration 1 hour, check event date string for ISO format 2023-10-26 16:40:41 +02:00
Moriz Wahl
fe3e5dc483 fix cypher statement 2023-10-17 15:35:38 +02:00
Moriz Wahl
fe416200fb migration to fix wrong event date times 2023-10-17 15:15:28 +02:00
507f0c0880
removed promise all 2023-07-18 12:23:24 +02:00
55b3bc999a
use a prime for seeding to allow testing of the pagination 2023-07-14 10:59:38 +02:00
eae7b53adf
reduce message count to 1000 instead of 10000 to reduce seed time 2023-07-14 10:56:02 +02:00
f9da762253
implemented chat seed 2023-07-14 10:42:20 +02:00
1b0f512415
fix seed to not use promise all where easily refactored 2023-07-10 12:58:39 +02:00
0a40357160
fix lint 2023-06-22 16:23:34 +02:00
844c870642
Merge branch 'master' into eslint-backend 2023-06-22 15:15:44 +02:00
Moriz Wahl
ed9fefbf76
Update backend/src/db/seed.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2023-06-21 17:59:20 +02:00
aaa033c6a3
lint fixes 2023-06-21 16:43:18 +02:00
Moriz Wahl
3451a16ab4 fix(backend): seed reports 2023-06-21 11:14:59 +02:00
23c2be3093
Merge branch 'master' into update-database 2023-06-16 15:02:58 +02:00
c436cb52b1
corrected file endings or removed them where possible 2023-06-12 14:26:52 +02:00
e00b565b15
db 2023-06-12 14:07:03 +02:00
ebddfa7df4
all files as .ts 2023-06-12 13:25:21 +02:00
a05ab40722
Merge branch 'master' into ts-base 2023-06-12 12:05:59 +02:00
Moriz Wahl
939e3cd2b0
Merge branch 'master' into migrate-postType-to-post 2023-06-08 16:45:54 +02:00
2e96dce29a
migrate with ts compiler 2023-06-08 14:05:51 +02:00
Moriz Wahl
44e2c1adf7 feat(backend): migration to add postType property to existing posts 2023-06-08 14:00:04 +02:00
Moriz Wahl
09807fb99f seed events 2023-06-08 13:46:22 +02:00
e2535375b3
store.js - store.ts 2023-06-08 13:24:02 +02:00
d08a78b685
Merge branch 'master' into seed-posts-as-articles 2023-06-02 11:12:56 +02:00
Hannes Heine
41cd147258
Merge branch 'master' into update-database 2023-05-31 21:26:39 +02:00
Hannes Heine
9a9f5eaf45
Merge branch 'master' into event-master 2023-05-30 15:26:22 +02:00
elweyn
0472ba86fa Merge branch 'event-master' into seed-posts-as-articles 2023-05-25 09:58:32 +02:00
Moriz Wahl
30ce9e8460 add description to migration 2023-05-22 17:06:32 +02:00
44700f8a41
lint + comment 2023-05-16 00:43:37 +02:00
a326b2777f
fix migrations 2023-05-16 00:38:02 +02:00
e3b1f97ccd
update faker 2023-04-25 13:30:36 +02:00
Moriz Wahl
0dfc86f1d2 feat(backend): seed posts as article 2023-04-17 14:22:09 +02:00
Moriz Wahl
84811d8937 feat(backend): add article label to posts 2023-03-29 15:48:35 +02:00
ceed23893a
remove console statement, lint fixes 2023-03-20 22:36:43 +01:00
bfca086e7b
only drop indexes if they exist 2023-03-20 22:17:07 +01:00