b095b4feed
fix(tutorial): fix exam occurrence form
...
works better, but still not 100%
some debugging added
2025-01-09 19:24:35 +01:00
f954ebce43
chore(tutorial): switch relevant exams from registerFrom/To to examStart/End
...
registering is of users/supervisors, but this page is for admins, so examStart/examEnd are only relevant for when it is actually happening
2025-01-09 12:57:33 +01:00
be0b90d0a1
chore(tutorial): towards #2347 exam occurrence form design finished, but buggy somehow (WIP)
...
Propably due to multiActionAForm badly interacting with contained massInputForm
2025-01-09 12:48:09 +01:00
17d64e218b
chore(pathpiecel): PathPiece instance for lists of exam occurrence ids
...
towards #2347
2025-01-09 10:15:33 +01:00
c218a55be8
chore(tutorial): towards #2347 exam occurrence form mostly working (WIP)
...
form is completed, but the initial call needs proper arguments from DB about all apropriate exams
2025-01-08 19:01:59 +01:00
d37d39301c
chore(tutorial): towards #2347 exam occurrence form added (WIP)
2025-01-08 15:28:10 +01:00
8b52f00fb0
chore(tutorial): towards #2347 add convenience buttons to add exam tutorial (STUB)
...
This is STUB add a multiform action that is not yet evaluated. Form Handler is to be implemented next.
2024-12-19 17:56:21 +01:00
f9562c4a32
chore(tutorial): assign exam rooms for tutorial users ad hoc
2024-12-19 15:57:49 +01:00
2e3c51562b
refactor(saltine): fix hlint and ghc warnings
2024-12-19 09:13:00 +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
1ab8a93b53
refactor: backport saltine (0.2.0.0->0.1.1.1) for compatibility with proper lts-18.0 stack snapshot image
2024-12-15 01:02:45 +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
eab6b6363d
chore(exam): show exam occurrences in participants views for tutorial and course
2024-12-12 18:28:15 +01:00
6d172c8259
chore(exam): add examiner to occurrence options
...
we intend to use the exam examiner for adding occurrences through tutorials
2024-12-09 17:38:34 +01:00
f81a99d224
fix(form): knownUserField not working as intended (WIP)
2024-12-06 14:16:24 +01:00
130140b60d
fix(form): knownUserField not working as intended (WIP)
2024-12-06 12:41:18 +01:00
d6de55a886
refactor(form): knownUserField not working as intended (WIP)
2024-12-05 18:17:34 +01:00
a454ac9d32
chore(form): add knownUserField accepting known users only
2024-12-04 18:10:13 +01:00
f6933cf3ae
fix(hlint): implement hlint suggestion
2024-12-03 11:58:30 +01:00
9123f61b2e
chore(daily): implement left-over todos and i18n
2024-12-03 11:56:48 +01:00
031c0b0f29
fix(icons): fix some botched icon definitions, for real
2024-12-02 18:12:53 +01:00
a1ae491b89
Merge branch 'fradrive/merge-jost-new-build' of https://dev.azure.com/fraport/Fahrerausbildung/_git/FRADrive into fradrive/merge-jost-new-build
2024-12-02 17:54:38 +01:00
7f5651466d
fix(icons): fix some botched icon definitions
2024-12-02 17:53:40 +01:00
9a7e09b852
Merged PR 15163: GHCI fix
...
Move GHCI fix to local development branch
Related work items: #2397
2024-12-02 16:52:49 +00:00
44a60bcef6
chore(daily): fix #2349 completing daily sanity check
2024-12-02 13:28:33 +01:00
e051557d3e
chore(daily): towards #2347 check complete, except i18n
...
also missing: displaying memcached check results in each line of day view
2024-11-29 18:13:30 +01:00
97db5caff9
chore(daily): towards #2347 by caching and sorting results
2024-11-29 16:19:16 +01:00
9d4dde069c
chore(daily): towards #2347 by implementing basic check for one user
...
also prepare for caching results and show on daily page, if existing
2024-11-29 13:32:04 +01:00
612a931d36
chore(daily): towards #2347 by performing AVS queries/updates
...
actual checking of retrieved values is still a todo
2024-11-28 17:04:59 +01:00
ce164f308f
chore(daily): add proper btn for consistency check
2024-11-27 17:56:16 +01:00
8ffa8ef852
chore(daily): add stub for consistency check
2024-11-27 17:18:34 +01:00
6c50758800
fix(hlint): implement some hlint suggestions
2024-11-27 17:12:32 +01:00
5e3118f33f
chore(daily): properly implement note suggestion caching and invalidation
2024-11-27 16:04:34 +01:00
2af3ffb73a
chore(daily): basic functionality #1939 completed and checked
...
- filters now work as intended
- textField suggestions now work as intended
2024-11-27 12:56:29 +01:00
59b945ce4c
chore(daily): adjust css, improve suggestions
2024-11-26 18:03:43 +01:00
cc7fa8333c
chore(icons): contribute to #2397 by improving the comment instructions
2024-11-26 09:02:53 +01:00
74279b67df
chore(day): attempt to fix participant note suggestions
2024-11-25 11:45:12 +01:00
08b38af137
chore(daily): add suggestions to note fiels (WIP)
2024-11-22 18:54:08 +01:00
50d034586e
refactor(daily): user company discrepancies
2024-11-21 17:59:10 +01:00
7a1f4b5a5f
fix(daily): form submit now works as intended
2024-11-20 18:03:36 +01:00
7294b9731c
fix(doc): Update outdated GitLab references to DevOps work items
2024-11-05 11:08:44 +01:00
97a3845f6d
chore(firm): add action to add non-avs firm associates
2024-11-04 18:20:43 +01:00
0adc12c828
fix(doc): minor haddock fixes
2024-10-30 17:18:11 +01:00
28c3ee5be1
chore(day): complete form columns for daily view (untested)
...
unfortunately `make start` does not enter DEVELOPMENT mode currently, so this is not yet testeted.
2024-10-29 18:16:29 +01:00
8c91d6d37a
chore(day): make form columns compile eventually
2024-10-29 13:38:23 +01:00
0d6346ef2c
chore(icons): add instructions on how to add icons
2024-10-28 17:48:41 +01:00
3d63c88c75
chore(day): add missing form columns
2024-10-28 16:11:45 +01:00
c92ddb9081
Merge remote-tracking branch 'origin/fradrive/jost'into 'fradrive/merge-jost-new-build'
2024-10-28 12:05:37 +01:00
d4f264dc18
refactor: revisit static file embedding
...
remove memcached-based static caching, serve static files directly from binary embedding, remove frontend bundler entrypoint and widget generation (directly add js/css in siteLayout)
2024-10-25 04:40:24 +02:00
1b71137295
chore(tutorial): (WIP) towards #90 write form columns
2024-10-23 16:12:18 +02:00
6fcfe56626
fix(test): fix test problem and add tests for UserEyeExam and UserDrivingPermit
2024-10-23 15:47:20 +02:00
030ddcac66
fix(build)
2024-10-22 14:39:58 +02:00
36a0bd9edc
chore(tutorial): show additional columns for #90
...
columns are distinguished by user and the entities given in parenthesis:
- driving permit (tutorial)
- eye exam (tutrial)
- tutorial note (tutorial)
- attendance (tutorial & day)
- attendance-note (tutorial & day)
- parking permit (day)
2024-10-22 12:39:34 +02:00
06fa34c938
chore(tutorial): build model for #90
2024-10-21 15:59:32 +02:00
599c35c042
chore(backend): removed ref to widget file
2024-10-20 23:43:15 +02:00
41cb0c83eb
chore(backend): include stylesheet in default layout
2024-10-20 23:41:03 +02:00
0f990db1ea
build(frontend): rework bundler (esbuild) asset and static file embedding using manifest
2024-10-18 18:06:38 +02:00
d4d511a02f
fix(room): deduplicate room column and fix order
2024-10-17 16:48:09 +02:00
ec2b09b20b
chore(daily): show rooms for tutorial lessons
2024-10-15 17:48:36 +02:00
7d57a30be7
refactor(TH): minor code clean up
2024-10-15 11:03:01 +02:00
01c4225da4
refactor(TH): add sqlMIXproj' using reify on TableExpr for more comfort
2024-10-14 19:16:36 +02:00
4fc6f54b32
chore(TH): add sqlMIXproj to improve dbTable usage, also add card-nos to DayTask Table
2024-10-14 18:27:44 +02: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
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
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
f17d89c21e
chore(occurrences): add GIN index for JSONB columns
2024-10-02 15:52:08 +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
3d7df8066d
refactor(daily): factor our tutorial selection function
2024-09-18 18:03:49 +02:00
6c9d92475e
fix(firm): filtering by active supervisor working
2024-09-17 17:59:58 +02:00
78c645cf21
fix(lpr): print log sorting works now
2024-09-17 17:58:52 +02:00
e8b276851c
fix(build)
2024-09-17 12:58:13 +02:00
e16baedfce
refactor(model): move JSONB instance to proper module
2024-09-17 12:57:31 +02:00
d19266e918
chore(lpr): improve lpr log display
2024-09-17 12:56:49 +02:00
53c68638da
chore(daily): make company a property of TutorialParticipant, towards #90
2024-09-16 17:16:19 +02:00
6e3dd1c1f3
chore(daily): add more columns #90
2024-09-13 18:03:41 +02:00
ba0fd21c8f
chore(daily): add page actions #90
2024-09-13 16:18:38 +02:00
d0eb3ddf92
refactor(jsonb): change DB using JSONB, to improve stub #90
2024-09-13 13:39:38 +02:00
5307350b0b
chore(daily): improve stub #90 change DB to JSONB (WIP)
2024-09-12 17:46:38 +02:00
1a954e037f
chore(daily): create stub in preparation for #90
2024-09-11 17:44:09 +02:00
faaaa18247
refactor(map): clarify some unnecessarily obfuscated code
...
also, using Map.fromList is more efficient if the list happens to be ordered
2024-09-11 17:43:56 +02:00
2e0455a154
chore(config): add config/develop-settings.yml only active if DEVELOPMENT
...
Ensure that certain settings are NOT seen in production, but automatically active in development without using environment variables.
2024-09-11 13:11:31 +02:00
6a070a6775
fix(supervision): fix #181 by unifying deletion of supervision
2024-09-10 17:47:09 +02:00
ea113cf57a
chore(login): limit number of suggestions for dummy development login for convenience
2024-09-10 17:45:27 +02:00