Commit Graph

27 Commits

Author SHA1 Message Date
d84269154f refactor(db): widen the type for DBRead for more flexibility
also
- change some AdminProblemR DB actions to DBRead instead
- add insane supervision warning to AdminProblem page
2025-02-12 12:11:08 +01:00
3b1d5f3af7 chore(lms): implement lms termination action
also:
- track last LmsSate for orphans
- make note searchable

towards #2605
2025-02-05 14:38:04 +01:00
032a344ed1 Merge branch 'fradrive/merge-jost-new-build' of https://dev.azure.com/fraport/Fahrerausbildung/_git/FRADrive into fradrive/merge-jost-new-build 2024-12-18 09:17:14 +01:00
52f361c24e refactor(daily): move caching into own submodule
we need those methods in Handler.Tutorial.Users as well
2024-12-18 09:06:39 +01:00
bd8630472b refactor: backport saltine (0.2.0.0->0.1.1.1) for compatibility with proper lts-18.0 stack snapshot image 2024-12-16 17:40:48 +01:00
92a43ac131 chore(daily): add function to retrieve all exam occurrences for given days
the function uses the memcachedByClass mechanism, which was slightly refined as well to include the class within the memcached keys for added correctness
2024-12-13 17:27:02 +01:00
ed70a92856 refactor(form): make all userField variants consistent with each other 2024-12-13 16:21:53 +01:00
8506c4d7e0 refactor(memcached): checking memcached key security mechanisms
RESULTS:

Keys for memcached use their Binary representation!

This means that the following three are all interchangeable as a key:
      newtype Foo1 = Foo1 { someInt1 :: Int } deriving newtype (Binary)
      data    Foo2 = Foo2 { someInt2 :: Int } deriving         (Binary)
      type    Foo3 = Int
Therefore it is best to use $(memcachedHere) or $(memcachedByHere) if possible or add another type
2024-10-11 11:23:29 +02:00
4e171a7a1a fix(memcached): using memcachedHere did not compile due to staging problems 2024-10-08 10:08:04 +02:00
a262921a7d refactor(memcached): remove ARC cache entirely
NOTE: this was a crude surgery, removing everything ARC related; some dead code artifacts may have remained.

Especially check PrewarmCacheConf

Reason for removall: adding `memcachedInvalidateClass` was difficult to implement with ARC active; ARC was known to be problematic; removal was easier (see #2 2024-09-23)
2024-09-23 18:52:26 +02:00
05638c2b51 chore(memcached): add key classes for easy invalidation 2024-09-23 17:09:47 +02:00
Steffen Jost
f208d2aa99 attempt to fix build by removing derive Typeable (likely no effect) 2023-01-20 09:17:50 +01:00
Sarah Vaupel
582b075466 chore: conform to REUSE specification 2022-10-12 09:35:16 +02:00
Gregor Kleen
ef7fde937e fix(cache): atomicity & workflow instance invalidations 2021-07-06 10:18:07 +02:00
Gregor Kleen
adbbb8db6b chore: support storing chunks in minio 2021-06-27 10:51:58 +02:00
Gregor Kleen
d79a539f71 fix(memcached): don't 500 upon hitting item size limit 2021-06-02 16:46:24 +02:00
Gregor Kleen
939ab37588 feat: additional general purpose caching tier (memcachedLocal) 2021-04-08 18:36:06 +02:00
Gregor Kleen
63f0d3c37a feat(auth): user independent authorisation caching
BREAKING CHANGE: additional authorisation caching
2021-03-08 12:08:43 +01:00
Gregor Kleen
bce2c953e0 chore: bump tests 2021-01-11 16:27:10 +01:00
Gregor Kleen
1d3fd8c8a7 fix: hopefully improve workflow auth performance 2020-12-11 19:56:05 +01:00
Gregor Kleen
c68a01d7ae refactor: split foundation & llvm
BREAKING CHANGE: split foundation
2020-08-14 17:02:14 +02:00
Gregor Kleen
0fcb65f9fa refactor: hlint 2020-08-10 21:59:16 +02:00
Gregor Kleen
9a2cba5c0a feat(files): move uploads from buffer to database
Rate limit pruning of unreferenced files
2020-07-17 15:54:42 +02:00
Gregor Kleen
3ea7371465 feat(allocations): switch to csprng 2020-04-27 09:12:32 +02:00
Gregor Kleen
d05306a39a fix(memcached): navAccess & quick actions cache invalidations 2020-04-23 10:41:20 +02:00
Gregor Kleen
b9b090992f feat(caching): aggressively cache nav items 2020-04-22 11:14:25 +02:00
Gregor Kleen
e8c2dc5aaa feat(memcached): introduce general purpose memcached 2020-04-21 10:51:11 +02:00