16 Commits

Author SHA1 Message Date
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
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
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
mahula
6cecd3662f adapt backend image faking due to deprecation warning 2024-04-29 17:48:41 +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
ebddfa7df4
all files as .ts 2023-06-12 13:25:21 +02:00