Commit Graph

3252 Commits

Author SHA1 Message Date
a5dfd5e10f refactor(avs): add more logging to AVS synch ops 2024-04-26 16:04:28 +02:00
13a648de18 refactor(avs): first steps towards #69 2024-04-25 18:14:53 +02:00
6fd45f6896 refactor(avs): complete rewrite AVS synch
Three former background jobs could be removed
2024-04-25 17:07:12 +02:00
fea749f367 refactor(avs): rewrite AVS synch (WIP) 2024-04-25 09:55:40 +02:00
2e4e1a94c9 refactor(avs): rewrite AVS synch (WIP) 2024-04-24 18:01:44 +02:00
a52c8a6ad7 fix(avs): several minor bugfixes
- See notes in #158 for details on update change policy
- fieldLensVal was not working
- create index for deleted table prevented start
- some hlint errors
2024-04-22 18:19:07 +02:00
fd6a5384d3 fix(qualification): fix #159 by removing an misleadingly named column for user qualification table
The columns QualificationUserLastNotified is misleading, since it only reflects notifications due to actual validity changes. This is necessary for the notification mechanism.

In case this column is reinstatiated, a better column name and a proper tooltip was added to the column.
2024-04-22 11:50:13 +02:00
4f8850b3b4 fix(avs): fix #36 and remove dead code 2024-04-18 18:30:23 +02:00
b7af6312f9 refactor(avs): complete createAvsUserById 2024-04-18 18:02:16 +02:00
234dd28f48 refactor(avs): rework fraport email recognition 2024-04-18 13:32:00 +02:00
cb2778e206 refactor(avs): rework createAvsUserById, dealing with supervision (WIP) 2024-04-16 17:31:55 +02:00
a373abad26 refactor(avs): safe old card-no to perform pdf pin pass updates 2024-04-16 12:56:03 +02:00
3b7762f451 refactor(avs): rework createAvsUserById (WIP) 2024-04-16 11:40:55 +02:00
54c08cc64b refactor(avs): rework upsertAvsUserByCard/Id 2024-04-12 17:27:46 +02:00
1f7c175a58 refactor(avs): rework guessAvsUser 2024-04-11 17:54:45 +02:00
4c29150371 chore(AVS): implement user avs update to primary company as outlined in graph in wiki 2024-04-08 18:31:29 +02:00
d213c8e4a1 chore(AVS): (WIP) implement user avs update to primary company 2024-03-22 12:24:08 +01:00
7a5917131c chore(avs): WIP properly update userCompany upon AVS change 2024-03-21 16:55:23 +01:00
1c5ca24dc5 chore(avs): WIP keep supervision if company keeps email or address 2024-03-20 18:07:27 +01:00
4a51f94a8f chore(avs): WIP update UserCompany accodring to AVS 2024-03-19 18:29:38 +01:00
b51f8a454a chore(log): display admin problem table with actions on admin problem view 2024-03-18 18:01:36 +01:00
d625fbe8e3 chore(faq): update to fit Fraport AG 2024-03-15 17:06:08 +01:00
08d2f8c2fc chore(log): add admin problem table 2024-03-13 18:00:39 +01:00
66eaa4f7dc fix(build): minor error non-development code 2024-03-13 11:23:25 +01:00
724e4a0bec fix(build): add import needed for production only 2024-03-13 08:30:54 +01:00
dcb947b1fb refactor(email): eliminate userAddress function due to user company linked email 2024-03-12 13:02:38 +01:00
09d10e1ba2 refactor(user): empty postal uses high priority company address instead working 2024-03-08 18:06:52 +01:00
9985151002 refactor(user): empty postal uses high priority company address instead (WIP) 2024-03-07 18:43:43 +01:00
c179c03f9d chore(avs): update company supervisors on avs user update 2024-03-06 13:41:18 +01:00
0b7175c26c refactor(avs): company upsert done
updating supervision is still a todo
2024-02-27 17:56:58 +01:00
d4f8a6c77b fix(doc): minor haddock problems 2024-02-21 08:24:32 +01:00
c382be9325 fix(avs): invalidate contact cache after licence writes 2024-02-19 17:28:40 +01:00
d578e80282 fix(avs): disable caching by 0s no longer causes an exception 2024-02-19 10:57:09 +01:00
57a4aeb475 refactor(avs): remove need for undecideable super classes by simply using a sensible class definition 2024-02-19 09:39:06 +01:00
66ef4066b3 chore(avs): undecidableSuperclasses to sidestep consequences of type erasure 2024-02-14 13:28:19 +01:00
b39f69df12 chore(avs): remove avs_cards, add generic queries WIP 2024-02-13 19:05:10 +01:00
ad2375b338 fix(avs): fix #152 by providing new online avs card filter throughout 2024-02-13 17:05:30 +01:00
ef36e22f76 chore(avs): make avs timeouts setting configurable 2024-02-13 16:25:58 +01:00
99adff80cd chore(avs): add timeout to cardno filter 2024-02-13 13:39:28 +01:00
ce4869f155 Merge branch 'master' into fradrive/cr3 2024-02-13 10:21:09 +01:00
64797536e3 refactor(qualification): card filter accepts multiple cards now 2024-02-13 10:05:50 +01:00
d4f7dce716 chore(avs): card no filter basic functionality WIP compiles 2024-02-12 19:02:57 +01:00
42695cf5ef fix(sql): remove potential bug in relation to missing parenthesis after not_ 2024-02-12 12:00:40 +01:00
e2be8bbd5c chore(sql): examine #155 2024-02-12 11:30:54 +01:00
482dbe5c4e chore(dbtable): add FilterColumnIO and proof-of-concept
This commit adds a new type of filter to dbtables in module Pagination. The filter can perform an arbitrary IO action on its arguments before producing an sql/esqueleto filter expression.

Also, we turn some unnecessarily monadic code pure.
2024-02-07 17:38:53 +01:00
3303c4eebf fix(health): negative interface routes working as intended now 2024-02-07 10:39:21 +01:00
618c78a69d chore(health): examining cause of #155 2024-02-07 10:23:51 +01:00
67552a666e refactor(health): optimize sql query, needs tests 2024-02-06 15:47:17 +00:00
2a0bca1230 refactor(health): interface-health
- send text/plain by default
- attempt to fix negative sub-filters for interface health
2024-02-06 15:37:00 +00:00
4a843fe30e refactor(health): simplfy code following HealthR handler 2024-02-06 10:48:54 +00:00
42f1a802b5 chore(health): getHealthInterfaceR responds to mime content type header 2024-02-06 10:32:00 +00:00
ce3852e3d3 fix(health): fix #153 and offer interface health route matching 2024-02-05 18:54:50 +01:00
c71814d1ef fix(health): fix #151 by offering route /health/interface/* 2024-02-02 18:43:57 +01:00
bbb9f9fadb chore(health): telling interface table compiles 2024-02-02 17:16:19 +01:00
6d44f36e2a chore(lpr): add manual print-ack csv upload 2024-02-02 13:06:39 +01:00
47f853bd4a chore(health): stub that compiles 2024-02-01 10:35:31 +01:00
a592ad7094 chore(health): WIP new interface health handlers 2024-01-31 18:03:25 +01:00
798a07e36c chore(log): lpr log page made accessible 2024-01-31 12:43:12 +01:00
fd388b91f4 chore(lpr): error log as interface log 2024-01-30 18:42:13 +01:00
d1fce58ec2 refactor(utils): minor changes for timeoutHandler 2024-01-30 15:32:46 +01:00
4154b1f26b chore(utils): add timeoutHandler to run a sub-handler to be killed by timeout 2024-01-30 14:44:43 +01:00
f5d57d9e5e Merge branch 'master' into fradrive/cr3 2024-01-26 10:01:48 +01:00
a06f345391 chore(tutorial): aborted invite preserves identified users as form prefill 2024-01-26 10:00:38 +01:00
97471884f0 Merge branch 'master' into fradrive/cr3 2024-01-25 16:49:07 +01:00
28837c41ab chore(term): course list filtered by default to active term 2024-01-25 16:40:07 +01:00
9581e5513e Merge branch 'master' into fradrive/cr3 2024-01-25 13:19:34 +01:00
d332c0c11a fix(course): fix #147 abort addd participant aborts now
Check that runButtonForm will always work with the correct field ids!
2024-01-25 13:19:09 +01:00
de45731a9b refactor(company): supervison and company tables changed
- company avs id must be unique now, companies with id 0 are deleted
- user supervision can be annotated with company and or a reason, used to avoid accidental supervision relations; company supervision resets ignore non-company supervisions
2024-01-22 18:54:33 +01:00
f40448cd31 refactor(avs): minor code cleaning 2024-01-19 16:59:42 +01:00
9bf38d8198 chore(avs): email updating implemented 2024-01-18 17:19:44 +01:00
e8d66a4734 chore(avs): lenses for virtual avs fields created 2024-01-17 19:04:42 +01:00
45c3f11a83 chore(avs): add failure notices after contact update 2024-01-12 18:13:23 +01:00
cb807fce98 refactor(avs): using MaybeT 2024-01-12 16:57:17 +01:00
b5340a18a2 chore(avs): heterogeneous list working 2024-01-12 15:48:54 +01:00
61aba7e515 updateAvsUser (partial) requires migration 2024-01-11 19:23:35 +01:00
b566e59eb1 fix(firm): supervisor filter acts weird in test environment
no cause discerned, test in dev evironment were all fine. Maybe the sorting assumption wasn't right?

note other filters do not interfere with the memcaching in experiments
2023-12-21 17:26:46 +01:00
decc5af682 fix(users): fix #121 by providing last login column, which was the last part missing 2023-12-20 16:31:59 +01:00
c7b5a3c6cb fix(firm): improve supervisor filter yet once more 2023-12-20 09:02:10 +01:00
88f24fe6f1 fix(firm): improve supervisor filter by caching 2023-12-19 18:15:09 +01:00
f36f234c42 chore(firm): improve efficiency of foreign supervisor filter 2023-12-13 16:25:11 +01:00
db77850c4f fix(firm): supervisor filter performance 2023-12-12 18:23:52 +01:00
5ea0289eb7 chore(log): log lms background tasks running 2023-12-09 10:40:16 +00:00
30fae33ded fix(admin): minor fixes and translations for admin problem page 2023-12-08 11:52:15 +01:00
4c39670866 chore(avs): proper problem display on admin page 2023-12-08 10:34:21 +01:00
5c8a571c76 refactor(avs): show avs problems within interface table 2023-12-07 17:32:51 +01:00
fb20defc42 refactor(log): simplify interface logging
Since each interface log also triggers an AuditLog entry, the additional data about user and instance do not need to be saved twice
2023-12-07 16:59:10 +01:00
0b9a1257db chore(admin): show lms and sap interface status on problem page 2023-12-07 13:16:55 +01:00
c334fa4bf3 chore(log): add interface usage table 2023-12-06 18:03:35 +01:00
3aa89019a8 fix(form): multiSelectField working with grouped options 2023-12-06 11:50:08 +01:00
fc0ca7b854 fix(firm): group multi select field supervisor
However, grouped multi select does not work for some reason.
2023-12-05 18:39:59 +01:00
9878956716 fix(firm): set supervisor field not all fields required 2023-12-05 12:12:51 +01:00
3acb847915 fix(firm): supervisor filter 2023-12-05 11:52:13 +01:00
a15862ea72 fix(print): keep print jobs on user merge and lms id deletion 2023-12-04 16:03:31 +01:00
50eda5f65f fix(build): redundant parenthesis 2023-12-01 18:36:21 +01:00
fcc802753a chore(lms): remove obsolete lms handlers v1 2023-12-01 18:11:17 +01:00
6aa06292b8 Merge branch 'fradrive/company' 2023-12-01 17:02:55 +01:00
1d3345cbba fix(firm): supervisor changes led to inconsistent DB 2023-12-01 16:55:51 +01:00
34c0928718 chore(firm): add switch supervisor status 2023-12-01 16:12:10 +01:00
b1ce55597e chore(lms): remove debug code 2023-12-01 13:29:38 +01:00
75e4975c52 refactor(mail): course and firm message are sent only once to each supervisor 2023-11-30 18:32:25 +01:00
ef9a5dc5a9 chore(firm): disallow supervisors on firm routes for now 2023-11-29 16:22:09 +01:00
57d9447b4f chore(firm): update table action access rights 2023-11-29 13:18:30 +01:00
eb541b4e91 chore(firm): add action to change individual supervisors 2023-11-28 18:54:16 +01:00
92aca1b830 refactor(performance): disable modalAccess use for known admins
modalAccess displays a link to modal only
if the user has the rights to follow that link.
However, for large dbTables this checking takes
too long. So we use a conventional modal instead again.
Worst-case: some non-admins are shown links that they cannot follow
2023-11-28 15:32:33 +01:00
0a06efd76c fix(firm): restrict firm access to company supervisors only 2023-11-27 17:49:06 +01:00
640a2e61d1 chore(messages): Add SomeMessages newtype
SomeMessages provides a RenderMessage instance for a list of messages.
2023-11-27 12:29:25 +01:00
a166ac181f Merge branch 'fradrive/company' 2023-11-24 18:02:55 +01:00
06bb44cf71 fix(build): minor errors firm handler 2023-11-24 18:02:03 +01:00
fcceef265d Merge branch 'fradrive/company' 2023-11-24 17:45:04 +01:00
212cb71807 chore(firm): limit firm action access to admins 2023-11-24 17:44:27 +01:00
2636c9d41a refactor(firm): clean firm interface
- multiactions working
- several code redundancies removed
2023-11-24 17:31:34 +01:00
fb41caceff Resolve "Crontab appQualificationCheckHour funktioniert nicht" 2023-11-24 15:56:34 +00:00
076dff2a60 Revert "chore(nix): attempt to create alias for killall-uni0work"
This reverts commit dc6079ec3b.
2023-11-24 11:44:16 +01:00
e645517d32 refactor(firm): FirmAllR messaging no works again! 2023-11-23 18:36:02 +01:00
577a2fb45d refactor(firm): FirmAllR messaging no longer works now
What did change? Nothing here is essential?!
2023-11-23 18:29:12 +01:00
b10cbc39cc refactor(firm): FirmAllR messaging working old way 2023-11-23 18:22:00 +01:00
8973ea5849 refactor(firm): WIP generalize firm actions 2023-11-23 18:06:00 +01:00
400a3449c5 refactor(firm): fix build too 2023-11-23 13:27:57 +01:00
c5c4a62de0 chore(firm): various
- multiSelectField working
- section hiding demo working
- modal links access rights checking
2023-11-22 17:59:15 +01:00
7fc6e43131 chore(profile): allow editing phone numbers 2023-11-22 17:58:03 +01:00
4ae59fc1fa fix(cache): remove risky caching for submissions 2023-11-22 17:03:01 +01:00
60fc5f8b63 Merge branch 'fradrive/company' into 'master'
Fradrive/company

Closes #67

See merge request fradrive/fradrive!23
2023-11-22 08:08:48 +00:00
5163ed06c6 fix(build) 2023-11-21 18:49:33 +01:00
83bab6b86b chore(firm): implement fix #67 Maske Firmen 2023-11-21 18:45:51 +01:00
b9f2d3bda4 chore(firm): add setting for global communications cc 2023-11-21 16:53:06 +01:00
b7d6474ace refactor(firm): messaging performance 2023-11-21 13:33:12 +01:00
0f9a7a8c53 fix(firm): show default supervisors with no employees too 2023-11-20 15:02:44 +01:00
975c9c6c00 Merge branch 'fradrive/company' 2023-11-17 17:55:35 +00:00
4fa7385154 fix build 2023-11-17 18:55:03 +01:00
44c4b3b6a8 chore(firm): implement several table actions; add supervisor form 2023-11-17 18:54:34 +01:00
715b751363 chore(firm): add columns and filters and refactor some 2023-11-16 18:49:41 +01:00
612d975384 chore(firm): reset supervisors for FirmAllR working 2023-11-15 18:02:52 +01:00
8c4f848675 fix(avs): preserve unset pin passwords in update 2023-11-15 15:30:37 +01:00
ecde6b0fac chore(firm): add supervisor reset utility functions 2023-11-14 18:26:00 +01:00
698a9c5497 refactor(firm): msg, titles and headings 2023-11-14 17:37:05 +01:00
65cdc8ddfe fix(firm): firm messaging now works fine 2023-11-14 16:55:14 +01:00
42ff02d27e fix(firm): sending messages works, but not test messages 2023-11-14 12:57:51 +01:00
25c4ba7136 chore(messaging): add debugging statements 2023-11-13 18:07:30 +01:00
a6fb00f072 minor refactor 2023-11-13 17:10:27 +01:00
71c290996d refactor(firm): performance foreign-supervisor filter 2023-11-10 17:00:10 +01:00
674f6fd81f fix(build) 2023-11-10 08:01:02 +00:00
5d8802732a debug(firm): attempt to find error when using firm communication 2023-11-09 18:07:39 +01:00
f627de503e Merge branch 'master' into fradrive/company 2023-11-08 17:58:31 +01:00
9ee80f8f7f chore(lms): message action done for firm views 2023-11-08 17:41:59 +01:00
a98c3190e0 chore(firm): messaging almost complete - illegal variable name splicing dispatch 2023-11-08 13:00:31 +01:00
631d157688 chore(firm): add messaging action (WIP) 2023-11-07 18:38:21 +01:00
3865bda64d fix(lms): improve sorting for firm all 2023-11-07 17:29:57 +01:00
069561763c refactor(firm); supervisor table sorting and company column 2023-11-06 12:17:11 +01:00
53f54189f9 chore(firm): add supervisor table stub 2023-11-03 17:55:56 +01:00
d7a94b9619 chore(lms): include lms ids in qualification audit log events triggered by e-learning 2023-11-03 14:41:31 +01:00