1
0
Fork 0
Commit graph

73 commits

Author SHA1 Message Date
Benjamin Fan
ab276346cf fix(backend): In tests, use namespace import instead of default 2024-02-12 19:13:43 -08:00
Benjamin Fan
f617144a93 fix(backend): Fix test typos 2024-01-21 14:28:48 -08:00
Joost De Cock
7939c1bc45 chore(backend): Thanks prettier, real nice 2023-10-17 18:18:03 +02:00
Joost De Cock
74f6e12d76 chore(backend): Shut up eslint 2023-10-17 18:14:17 +02:00
Joost De Cock
90a18404eb chore(backend): Remove lint 2023-10-17 18:08:57 +02:00
Joost De Cock
37d6959cb2 chore(backend): Remove (c)set from patterns, img from users
This removes some fields from the database and the logic for handling
them. Specifically:

- Do not keep a set or cset reference for patterns. Doing so will only
  raise expectations for users as a link between (c)set and pattern
  might signal that changes to the (c)set would somehow also update the
  pattern. Once a pattern is saved, it is what it is, so no point
  keeping a link to the (c)set. We may want to look at how to add a note
  about which (c)set the pattern was generated for, but I don't think
  that's crucial.
- Do not keep an img field in the user account, cset, or open pack,
  since they have a deterministic image ID anyway.

This also adds and info field to cset and option pack which is an
internal field allowing us to keep (non-public) notes about where the
record comes from. This will be important when we add a new mesurement
and we have to contqct all these people for that extra measurement (for
example).
2023-10-17 17:41:28 +02:00
Joost De Cock
8ba1b936f8 chore(backend): Update tests for recent changes 2023-10-15 21:15:53 +02:00
joostdecock
28ce3d78e4 chore(backend): Udpate tests for recent changes 2023-09-04 17:59:15 +02:00
joostdecock
392b5379c6 feat(backend): Added support for option packs 2023-09-02 15:21:35 +02:00
joostdecock
2512765c49 chore: Linter issues 2023-08-20 18:35:19 +02:00
Joost De Cock
4ac2a3acf4 feat(backend): Added bookmark support 2023-08-18 18:31:24 +02:00
Joost De Cock
292f4144d0 chore(backend): Enable all tests again 2023-08-18 11:09:53 +02:00
Joost De Cock
a21a86c810 fix(backend): Fix bug in update measurements logic 2023-08-18 11:05:24 +02:00
Joost De Cock
b3a21ad955 feat(backen): Do more checks in middleware 2023-08-17 17:04:40 +02:00
Joost De Cock
af89505d0a feat(backend): Change storage of JSON fields 2023-08-17 14:28:36 +02:00
joostdecock
d899e56c07 chore: Linter issues 2023-08-13 09:49:17 +02:00
joostdecock
b05e1e20cf feat(backend): Refactor and optimize 2023-08-13 09:39:05 +02:00
Joost De Cock
fd96e3aa55 chore: Linter issues 2023-08-08 11:21:21 +02:00
Joost De Cock
6b8060e05c chore(backend): Migrated from sanity to cloudflare images 2023-08-08 06:51:56 +02:00
joostdecock
0b441eed58 fix(backend): Various fixes for UK langauge support 2023-08-05 19:18:53 +02:00
joostdecock
2210f26e03 feat(backend): Added newsletter subscriptions 2023-08-05 18:42:52 +02:00
joostdecock
1c95f8ed34 chore(backend): Fix linter warnings in backend code 2023-05-19 16:37:32 +02:00
joostdecock
c49a47a0de chore: Fixing linter warnings 2023-05-19 16:31:28 +02:00
joostdecock
79d7484ca9 feat(backend): Added tags to curated sets 2023-05-07 18:28:04 +02:00
joostdecock
b1f62acc25 chore(backend): Added docs for CuratedSets 2023-05-07 17:37:53 +02:00
joostdecock
e4f2aab9d0 feat(backend): Added curatedSets data type 2023-05-07 12:00:43 +02:00
joostdecock
34de608351 chore(backend): Use signin instead of login 2023-03-19 16:59:26 +01:00
joostdecock
9e23e7bd0e chore(backend): Linter 2023-02-26 16:31:04 +01:00
joostdecock
e691253d51 feat(backend): No more people, sets instead 2023-02-26 16:04:12 +01:00
joostdecock
628d4c51a0 chore: Linter fixes 2023-01-14 17:14:50 +01:00
joostdecock
078b965733 feat(backend): Reworked signup flow and translation 2023-01-14 17:04:06 +01:00
Benjamin F
85628caad1 fix(backend): Fix eslint-flagged errors 2022-12-29 15:51:21 -08:00
Benjamin F
72a99cc646 fix(backend): Fix Deepscan issues 2022-12-29 13:40:25 -08:00
Joost De Cock
1b499effdf feat(backend): Added more routes 2022-12-24 14:42:16 +01:00
Joost De Cock
cbe95701c5 wip(backend): PATCH not PUT 2022-12-23 15:12:24 +01:00
Joost De Cock
37a0149668 wip(backend): Fixed tests 2022-12-23 14:43:04 +01:00
joostdecock
85bd7f142f chore: more in upstream changes 2022-12-04 13:19:42 +01:00
joostdecock
6138a24f97 wip(backend): Tweaks to schema 2022-11-19 18:11:28 +01:00
Joost De Cock
6c2cb71f51 wip(backend): Disabling of MFA 2022-11-18 16:04:06 +01:00
Joost De Cock
a5ee0a0854 wip(backend): Added MFA support 2022-11-17 20:41:21 +01:00
Joost De Cock
b9bb96d837 wip(backend): More work on backend/tests 2022-11-16 15:08:05 +01:00
joostdecock
772cf4ffdf wip(backend): Added control to account 2022-11-14 18:45:45 +01:00
joostdecock
d0b8572f46 wip(backend): Cloning of people 2022-11-14 18:26:20 +01:00
joostdecock
e37548fcf7 wip(backend): More access control guarding 2022-11-14 17:50:34 +01:00
joostdecock
bc5a605c9b wip(backend): more person routes 2022-11-12 21:19:04 +01:00
joostdecock
1ff6c4b9eb wip(backend): Update tests for person 2022-11-12 21:04:33 +01:00
joostdecock
39774f76fa wip(backend): More work on person/user 2022-11-12 20:36:47 +01:00
joostdecock
2e938ac29f wip(backend): Person creation 2022-11-12 20:05:16 +01:00
joostdecock
d1f9528e70 wip(backend): Initial work on people 2022-11-12 17:34:31 +01:00
joostdecock
bccf4a35ee wip(backend): more progress on account endpoints and tests 2022-11-11 18:02:28 +01:00