Commit Graph

7988 Commits

Author SHA1 Message Date
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
Stephan Barth
a8eaddde3a build(docker/memcached): Installs missing package. 2024-10-11 02:59:30 +02:00
3a5a169ca0 build(Makefile): work on start targets; custom minio and memcached Dockerfiles, and more 2024-10-11 02:44:28 +02:00
b9153c0767 build(docker/frontend): fix frontend dependency prebuild 2024-10-10 15:14:00 +02:00
e6bc5b5445 build: move port computer util 2024-10-10 01:31:12 +02:00
ed44edc199 chore(daily): show course associated qualifications 2024-10-09 18:11:22 +02:00
ab46577b7e fix(avs): fix #225 by skipping firm updates entirely if AVS FirmInfo is unchanged for previously seen values for AVS User to be updated 2024-10-09 12:21:31 +02:00
be7fc2e540 fix(avs): avs firm update no longer may update wrong company
Note: noticed while working on #225
2024-10-09 11:47:46 +02:00
3960931bb5 fix(avs): fix #224 repeated superior changes no longer occur
furthermore AdminProblems are only inserted if the same problem does not exist unsolved
2024-10-08 17:47:46 +02:00
56c2be7b79 refactor(occurrences): fold RoomReference into Occurrences, completed 2024-10-08 13:01:44 +02:00
4e171a7a1a fix(memcached): using memcachedHere did not compile due to staging problems 2024-10-08 10:08:04 +02:00
f642b9cccf fix(occurrences): room occurrence form works now 2024-10-07 18:31:02 +02:00
d720a47425 Merge branch '145-build-system-rewrite' of gitea.uniworx.systems:fraport/fradrive into 145-build-system-rewrite 2024-10-07 14:41:55 +02:00
Stephan Barth
c5409ad902 build(utils/watchrun.sh): File watcher for running commands. 2024-10-07 14:40:44 +02:00
848985cbb5 build(Makefile): refactor container run calls 2024-10-07 13:07:17 +02:00
72b2b6876b fix(test): add arbitrart instances and adjust argument changes to tests 2024-10-07 12:58:22 +02:00
3db65597fe build(Makefile): reintroduce well-known 2024-10-07 12:39:53 +02:00
67e659521e build(Makefile): always run containers interactively for better cancellation 2024-10-06 02:05:53 +02:00
c9ecb30542 fix(build): occurrences no longer have a READ instance 2024-10-04 16:16:32 +02:00
8ddf38b904 chore(build): limit max compile cpu cores to 5 2024-10-04 16:13:40 +02:00
21592347b4 chore(occurrences): workaround provide simple room field with least recent suggestions 2024-10-04 16:13:01 +02:00
e625dca6ea refactor(memcached): remove ARC cache and LRU logic some more
more leftover dead code was removed, especially cache prewarm options that no longer had an effect on a non-existing ARC cache
2024-10-04 12:19:27 +02:00
bae8ccc45a build(Makefile): replace old webpack-based frontend bundling with static bundling using esbuild 2024-10-03 22:07:25 +02:00
1ed27efccf build(frontend): use esbuild-compatible svg include inside scss/sass files 2024-10-03 22:06:51 +02:00
cb9ce5b196 build(frontend): use esbuild instead of (to be deleted) webpack for bundling static files 2024-10-03 22:04:32 +02:00
6c862c98e9 build(webpack): switch to commonjs for webpack config 2024-10-02 23:53:18 +02:00
c7331db3ce build(backend): switch to localhost in settings.yaml 2024-10-02 23:51:08 +02:00
8a0da40793 build(Makefile): add documentation for help 2024-10-02 23:50:12 +02:00
f17d89c21e chore(occurrences): add GIN index for JSONB columns 2024-10-02 15:52:08 +02:00
c5f473a303 build(backend): tweak default settings 2024-10-02 15:43:24 +02:00
de357becbd build(frontend): tweak webpack config 2024-10-02 15:42:40 +02:00
6b5b1f0f41 build(Makefile): start memcached and minio containers for serving 2024-10-02 14:39:12 +02:00
1b447a330d Merge branch '145-build-system-rewrite' of gitea.uniworx.systems:fraport/fradrive into 145-build-system-rewrite 2024-10-01 10:00:56 +02:00
2295f54486 build(docker/database): use postgres-container given .d dir to automatically apply postgres config 2024-10-01 09:59:15 +02:00
09e53fda53 build(docker/database): add password to postgres uniworx user in schema 2024-10-01 09:58:23 +02:00
3c6af00f43 build(docker/database): relax pg_hba.conf 2024-10-01 09:57:59 +02:00
918a57748e build(backend): remove deprecated code 2024-10-01 09:57:24 +02:00
50d58108ed build(Makefile): fix serve-backend; rename uniworxdb-target 2024-10-01 09:56:40 +02:00
5c7b4cff93 refactor(occurrences): fix migration 2024-09-30 16:05:33 +02:00
83fe750b15 refactor(occurrences): remove RoomReference from model and add migration 2024-09-30 13:56:45 +02:00
e29e6f3db8 refactor(occurrences): fold RoomReference into Occurrences (WIP)
Each Occurrence now has its own RoomReference, i.e. Mondays may have a different Room assigned than Tuesdays

WIP Problem: occurrencesAFrom does not work, always insists on Room missing
2024-09-24 17:15:15 +02:00
6dd27eb848 fix(build): minor 2024-09-24 13:10:14 +02:00
4c2baa4e9f fix(occurrences): occurringLessons had an erroneously inverted condition 2024-09-24 13:05:16 +02:00
384c39b9ec chore(occurrences): add datatype LessonTime for dealing timetable intervals 2024-09-24 11:21:33 +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
Stephan Barth
371cdf1e3e build(Makefile): unified phonyness of '--'-targets. 2024-09-23 12:21:18 +02:00
Stephan Barth
829058aea4 build(Makefile): containerized make help if no perl installed. 2024-09-23 11:57:46 +02:00
Stephan Barth
bb57451cbc build(Makefile): make help produces usable output. 2024-09-23 11:06:00 +02:00
Stephan Barth
1a5564031d build(Makefile): Help notification stub started. 2024-09-23 11:03:18 +02:00