Théo Le Moigne
|
45ee9a8941
|
Soge only payd WEI (not bde/kfet membership)
|
2022-09-04 12:52:40 +02:00 |
|
Nicolas Margulies
|
40e7415062
|
Added translations for friendships
|
2022-04-13 12:30:22 +02:00 |
|
Nicolas Margulies
|
319405d2b1
|
Added a message to explain what frendships do
Signed-off-by: Nicolas Margulies <nicomarg@crans.org>
|
2022-04-13 12:30:22 +02:00 |
|
Nicolas Margulies
|
633ab88b04
|
Linting
|
2022-04-13 12:30:22 +02:00 |
|
Nicolas Margulies
|
e29b42eecc
|
Add permissions related to trusting
|
2022-04-13 12:30:22 +02:00 |
|
Nicolas Margulies
|
442a5c5e36
|
First proro of trusting, with models and front, but no additional permissions
|
2022-04-13 12:30:22 +02:00 |
|
Nicolas Margulies
|
7ab0fec3bc
|
Added trust model
|
2022-04-13 12:30:22 +02:00 |
|
|
4161248bff
|
Add permissions to view/create/change/delete OAuth2 applications
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-03-09 12:06:19 +01:00 |
|
|
58136f3c48
|
Fix permission checks in the /api/me view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-03-09 11:45:24 +01:00 |
|
|
d9b4e0a9a9
|
Fix membership tables for clubs without an ending membership date
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-02-13 17:53:05 +01:00 |
|
|
8563a8d235
|
Fix membership tables for clubs without an ending membership date
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-02-13 17:51:22 +01:00 |
|
|
d3273e9ee2
|
Prepare WEI 2022 (because tests are broken)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-02-12 14:24:32 +01:00 |
|
|
4e30f805a7
|
Merge branch 'optional-scopes' into 'beta'
Implement optional scopes : clients can request scopes, but they are not guaranteed to get them
See merge request bde/nk20!192
|
2022-02-12 13:57:19 +01:00 |
|
|
546e422e64
|
Ensure some values exist before updating them
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2022-02-12 13:56:07 +01:00 |
|
|
9048a416df
|
In the /api/me page, display note, profile and memberships only if we have associated permissions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-23 23:25:18 +01:00 |
|
|
18a1282773
|
Implement optional scopes : clients can request scopes, but they are not guaranteed to get them
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-23 21:59:37 +01:00 |
|
|
132afc3d15
|
Fix scope view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-15 18:59:23 +01:00 |
|
|
4b6e3ba546
|
Display club transactions only with note rights, fixes #107
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 20:01:00 +01:00 |
|
|
45ba4f9537
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 18:33:18 +01:00 |
|
|
b204805ce2
|
Add permissions to (un)lock club notes
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 18:31:36 +01:00 |
|
|
2f28e34cec
|
Fix permissions to lock our own note
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 18:27:24 +01:00 |
|
|
9c8ea2cd41
|
Club notes can now be locked through web interface
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 17:48:20 +01:00 |
|
|
41289857b2
|
Merge branch 'tirage-au-sort' into 'beta'
Boutons
See merge request bde/nk20!189
|
2021-12-13 17:37:13 +01:00 |
|
|
28a8792c9f
|
[activity] Add space before line breaks in Wiki export of activities
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 17:30:13 +01:00 |
|
|
58cafad032
|
Sort buttons by category name instead of id in button list
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 17:19:10 +01:00 |
|
|
7848cd9cc2
|
Don't search buttons by prefix
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 17:18:54 +01:00 |
|
|
d18ccfac23
|
Sort aliases by normalized name in profile alias view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-12-13 17:18:54 +01:00 |
|
Nicolas Margulies
|
e479e1e3a4
|
Added messages for Hide/Show
|
2021-10-07 23:06:40 +02:00 |
|
Nicolas Margulies
|
82b0c83b1f
|
Added a Hide/Show button for transaction templates, fixes #91
|
2021-10-07 22:54:01 +02:00 |
|
|
38ca414ef6
|
Res[pot] can display user information in order to get first/last name in credits
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-06 10:44:24 +02:00 |
|
|
fd811053c7
|
Commit missing migrations
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-06 10:41:58 +02:00 |
|
|
9d386d1ecf
|
Unauthenticated users can't display activity entry view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-06 10:41:42 +02:00 |
|
|
a05dfcbf3d
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-05 11:46:24 +02:00 |
|
|
ba3c0fb18d
|
Fix activity get in invite view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 21:53:35 +02:00 |
|
|
ab69963ea1
|
Merge branch 'cest-lheure-du-pot' into 'beta'
Améliorations Pot
See merge request bde/nk20!184
|
2021-10-04 18:45:21 +02:00 |
|
|
654c01631a
|
BDE members can see aliases from other people now
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 18:29:34 +02:00 |
|
|
d94cc2a7ad
|
NameNAN
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 18:26:14 +02:00 |
|
|
69bb38297f
|
Fix membership dates for new memberships, fix tests
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 18:15:07 +02:00 |
|
|
9628560d64
|
Improve entry search with a debouncer
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 14:39:53 +02:00 |
|
|
2a216fd994
|
Entries are distinct
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 13:50:39 +02:00 |
|
|
8dd2619013
|
Activities are distinct
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 13:50:21 +02:00 |
|
|
62431a4910
|
Treasurers can manage activity entries
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-10-04 13:49:16 +02:00 |
|
Pierre-antoine Comby
|
946bc1e497
|
show that rows are clickable, fix #75
|
2021-10-01 14:35:29 +02:00 |
|
|
d4896bfd76
|
Check that club's note is active before creating an activity
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-28 17:03:32 +02:00 |
|
|
23f46cc598
|
Create transfers when pressing Enter in the amount part
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-28 16:57:23 +02:00 |
|
|
69b3d2ac9c
|
[activity] Fix button shortcut to entries page
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-27 14:51:17 +02:00 |
|
|
f29054558a
|
Fix note render with formattable aliases
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-27 14:30:47 +02:00 |
|
|
d437f2bdbd
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-27 13:59:43 +02:00 |
|
|
ac8453b04c
|
[WEI] Reset cache after running algorithm
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-27 13:56:10 +02:00 |
|
|
161db0b00b
|
[WEI] Fix quotas
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 23:48:03 +02:00 |
|
|
8638c16b34
|
[WEI] New score function that takes in account scores given by other buses
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 22:15:45 +02:00 |
|
|
9583cec3ff
|
[WEI] Fix quotas
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 21:10:23 +02:00 |
|
|
1ef25924a0
|
[WEI] Display status bar with tqdm
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 20:46:34 +02:00 |
|
|
e89383e3f4
|
[WEI] Start repartition by non-male people
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 20:06:34 +02:00 |
|
|
79a116d9c6
|
[WEI] Cache optimization
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 20:05:20 +02:00 |
|
|
aa75ce5c7a
|
[WEI] Don't manage hardcoded people in repartition algorithm
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 15:37:18 +02:00 |
|
|
a3a9dfc812
|
[Treasury] Don't add non-existing transactions to sogé-credits (eg. when membership is free)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 11:00:10 +02:00 |
|
|
76531595ad
|
80 € for people that opened an account to Société générale and don't go to the WEI
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-16 10:58:23 +02:00 |
|
|
a0b920ac94
|
Don't check permission to edit credit transaction test while deleting a SogéCredit
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-15 12:40:21 +02:00 |
|
|
ab2e580e68
|
Update banner text for more precision
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-15 12:14:57 +02:00 |
|
|
0234f19a33
|
[WEI] Automatically indicate a soge credit if already created
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-14 13:45:01 +02:00 |
|
|
1a4b7c83e8
|
[WEI] Fix critical security issue
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 23:37:27 +02:00 |
|
|
e68afc7d0a
|
[WEI] Fix redirect link
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 21:06:44 +02:00 |
|
|
c6e3b54f94
|
Use longtable for better tables for WEI
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 20:27:57 +02:00 |
|
|
4e3c32eb5e
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 19:28:15 +02:00 |
|
|
ef118c2445
|
[WEI] Avoid errors if the survey is not ended
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 19:24:53 +02:00 |
|
|
600ba15faa
|
[WEI] Display suggested 1A number in a bus in repartition view
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-13 19:04:11 +02:00 |
|
|
944bb127e2
|
[WEI] New UI is working
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-12 22:29:57 +02:00 |
|
|
f6d042c998
|
[WEI] Attribute bus to people that paid their registration
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-12 20:10:50 +02:00 |
|
|
bb9a0a2593
|
[WEI] UI to attribute buses for 1A
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-12 19:49:22 +02:00 |
|
|
61feac13c7
|
[WEI] Add page that display information about the algorithm result
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-11 19:16:34 +02:00 |
|
|
81e708a7e3
|
[WEI] Fix registration update
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-11 14:20:38 +02:00 |
|
|
3532846c87
|
[WEI] Validate WEI memberships of first year members before the repartition algorithm to debit notes
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-10 22:09:47 +02:00 |
|
|
49551e88f8
|
Fix default promotion year
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 19:51:57 +02:00 |
|
|
db936bf75a
|
Avoid anonymous users to access to the WEI registration form
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 17:52:52 +02:00 |
|
|
fb98d9cd8b
|
Fix one more error in alias autocompletion
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 10:53:40 +02:00 |
|
|
0dd3da5c01
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 10:45:36 +02:00 |
|
|
af4be98b5b
|
Fix consumer search with non-regex values (only for consumers, not for all search fields in API)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 10:41:57 +02:00 |
|
|
be6059eba6
|
[WEI] Fix tests
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 10:20:57 +02:00 |
|
|
5793b83de7
|
[WEI] Fix error when validating sometimes a membership
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 09:27:15 +02:00 |
|
|
2c02c747f4
|
[WEI] Fix errors when a user go to the WEI registration form while it is already registered
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 09:23:12 +02:00 |
|
|
a78f3b7caa
|
[WEI] Fix broken tests
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 09:16:08 +02:00 |
|
|
1ee40cb94e
|
Fix chemistry department (warning: this may break the choices from members of the department)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 09:10:05 +02:00 |
|
|
bd035744a4
|
Don't create WEI registrations for unvalidated users
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-09 08:56:21 +02:00 |
|
|
7edd622755
|
BDE members can now use their note balance for personal transactions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-08 18:35:36 +02:00 |
|
|
8fd5b6ee01
|
Fix safe summary for old passwords hashes from NK15 in Django Admin
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-08 17:07:07 +02:00 |
|
|
03411ac9bd
|
Don't check permissions in a script
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-08 16:59:44 +02:00 |
|
|
048266ed61
|
[WEI] Fix unvalidated registrations table
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-07 22:09:00 +02:00 |
|
|
b27341009e
|
[WEI] Update validation buttons for 1A
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-07 15:11:15 +02:00 |
|
|
da1e15c5e6
|
Update Sogé credit amount when a transaction is added if the credit was already validated
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-07 13:04:09 +02:00 |
|
|
4b03a78ad6
|
Fix password change form from unauthenticated users
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-07 12:57:03 +02:00 |
|
|
fb6e3c3de0
|
If connected and if we have the right, directly redirect to the validation page when registering someone
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-07 10:56:50 +02:00 |
|
|
391f3bde8f
|
Fix permission to see note balance when we can't see profile detail (e.g. for note account)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-06 11:56:56 +02:00 |
|
|
ad04e45992
|
PC Kfet can create and update Sogé credits (but not see them)
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-06 11:43:39 +02:00 |
|
|
4e1ba1447a
|
Add option to add a posteriori a Sogé credit
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-06 00:47:11 +02:00 |
|
|
b646f549d6
|
When creating a Sogé credit, serch existing recent memberships and register them
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-05 21:24:16 +02:00 |
|
|
ba9ef0371a
|
[WEI] Run algorithm only on valid surveys
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-05 20:36:17 +02:00 |
|
|
881cd88f48
|
[WEI] Fix permission check for information json
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-05 20:10:21 +02:00 |
|
|
e5051ab018
|
Linting
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-05 19:32:34 +02:00 |
|
|
bb69627ac5
|
Remove debug code
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-09-05 18:57:07 +02:00 |
|