Commit Graph

98 Commits

Author SHA1 Message Date
d6b4afe975 chore(firm): add working view for supervision discrepancy by firm
show if a supervisionship-company is unrelated to either supervisor or supervisee
2025-02-28 17:09:03 +01:00
05bc06df47 chore(firm): add company preference for email pin passwords
companies may be set such that their users have no email pin password by default
switching to such a company deletes the pin password
2025-02-28 17:07:51 +01:00
6f1ad811f7 chore(firm): add action to add non-avs firm associates 2025-02-28 16:39:33 +01:00
5c70b1099c fix(firm): filtering by active supervisor working 2025-02-28 16:25:43 +01:00
e9a4c838a8 refactor(map): clarify some unnecessarily obfuscated code
also, using Map.fromList is more efficient if the list happens to be ordered
2025-02-28 16:25:43 +01:00
6a070a6775 fix(supervision): fix #181 by unifying deletion of supervision 2024-09-10 17:47:09 +02:00
64ff002ffb chore(firm): provide more filters for supervisors
also fix build #175
2024-08-29 14:34:37 +02:00
8397c468a0 fix(firm): fix #175 by separating superiors in firm tables and selections 2024-08-28 17:50:44 +02:00
40dadd5876 fix(firm): fix #174 by adding address search filter to all company view 2024-08-28 10:44:27 +02:00
fee14edf36 refactor(firm): fix #157 refactor duplicated code
also ensures that supervisor default reaons filters are obeyed.
2024-07-12 12:21:17 +02:00
28e2739e51 fix(firm): fix #157 by removing redundant duplicated code in firm user and supervision handling 2024-07-11 18:37:40 +02:00
d65fb2f4cd chore(firm): add reason for user company association 2024-07-10 15:54:15 +02:00
3a66bed173 chore(firm): towards #169 distinct icon for avs firm superior (user-tie) 2024-07-04 14:38:31 +02:00
99f03078a1 chore(db): use runDBRead more often 2024-07-02 17:37:34 +02:00
d4f3ce7bf3 fix(firm): supervisor secondary did not work as intended
also, adding company link to secondary supervisors
2024-06-28 11:26:55 +02:00
45bc5ca9f5 chore(firm): various contributions towards #157 2024-06-27 17:42:13 +02:00
a3beca87d1 chore(firm): filter associates by valid qualficiations
towards #157
2024-06-12 15:06:14 +02:00
ac3271242d chore(firm): filter firm users by primary company
towards #157
2024-06-11 12:04:26 +02:00
09d10e1ba2 refactor(user): empty postal uses high priority company address instead working 2024-03-08 18:06:52 +01:00
d4f7dce716 chore(avs): card no filter basic functionality WIP compiles 2024-02-12 19:02:57 +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
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
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
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
50eda5f65f fix(build): redundant parenthesis 2023-12-01 18:36:21 +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
06bb44cf71 fix(build): minor errors firm handler 2023-11-24 18:02:03 +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
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