Commit Graph

3171 Commits

Author SHA1 Message Date
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