edce234745
move models into database folder ( #8471 )
...
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-02 11:34:43 +00:00
1536a32b3a
refactor(backend): refactor badges ( #8465 )
...
* new badge descriptions
* new user verification color
* new svgs for elevated roles
---------
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-02 09:59:18 +00:00
839ffb29ee
refactor(backend): move resolvers into graphql folder ( #8470 )
...
* move resolvers into graphql folder
* lint fixes
2025-05-02 07:47:39 +00:00
d7d8a242cd
fix(backend): fixes for branding ( #8449 )
...
* copy from branding folder to backend public folder
provide default branding/public folder
* copy public folder correctly
* copy files again for providers.json
* copy more public folders
* more copy
* revert change
* fix naming of called script when using db:data:branding
* prod command for branding data
* close database connection
* lint fixes
* increase test timeout again
2025-04-28 18:17:18 +02: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
507179738a
refactor(backend): types for neo4j & neode ( #8409 )
...
* type for neo4j and neode
* fix build
* remove flakyness
* wait for neode to install schema
* remove flakyness
* explain why we wait for a non-promise
2025-04-25 08:04:58 +00:00
d4cc843662
lint n/no-sync ( #8405 )
2025-04-24 19:50:13 +00:00
74b79e0b14
fix faker image seed ( #8422 )
...
Images now display properly and there is diffent images now
allow to provide url, urls msut be valid in seed
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-22 11:06:27 +00:00
6f4d347f69
refactor(backend): separate queries ( #8358 )
...
* separate all queries into one file each
* fix merge error
* fix lint
---------
Co-authored-by: mahula <lenzmath@posteo.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-04-21 11:47:12 +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
8cf405c549
feat(backend): badges ( #8391 )
...
* delete all old badges
* reward/unrewardBadge
* verification Badges
* name all badged accordingly
* more tests, lint
* seed badges
* profileBadge mechanic
* badgesUnusedCount
* seed profileBadges set
* configure profile badge count
* insert badges db:data:badges:default
* seed commands to seed default badges and allow to seed branding data
* copy data migrations when building docker
* typo
* correct data:branding command & document it
* test new functionality
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* Update backend/src/db/seed/badges.ts
Co-authored-by: Max <maxharz@gmail.com>
* naming coventions
* final naming fix
lint
fix build
fix badge type in test
renamed badge_ to trophy_
lint fixes
small renameing
fixes
fix users spec
fix webapp queries
fix display
* expose badge description
---------
Co-authored-by: Max <maxharz@gmail.com>
2025-04-17 23:08:54 +00:00
5d154bcb85
fix migrations ( #8390 )
...
async migrations should not call next()
Co-authored-by: mahula <lenzmath@posteo.de>
2025-04-16 11:08:30 +02:00
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