Yohann D'ANELLO
|
6d5b69cd26
|
Fix verification of parent club membership
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-08-29 14:17:09 +02:00 |
ynerant
|
317966d5c1
|
Merge branch 'l_eveil_du_nanax' into 'beta'
More linting
See merge request bde/nk20!163
|
2021-06-14 20:25:40 +00:00 |
Yohann D'ANELLO
|
9f0a22d3d1
|
There is not always an error
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-06-14 22:15:35 +02:00 |
Yohann D'ANELLO
|
d5ecb72a71
|
Update copyright for 2021
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-06-14 21:45:56 +02:00 |
Yohann D'ANELLO
|
c3ab61bd04
|
Factorize detection of uncomplete payment forms
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-06-14 21:39:29 +02:00 |
Yohann D'ANELLO
|
15dd2b8f0c
|
PC Kfet can update profile section while renewing memberships
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-04-29 13:11:00 +02:00 |
Yohann D'ANELLO
|
5a7a219ba8
|
[invoices] Quantities can be non-integers
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-03-13 12:35:28 +01:00 |
Yohann D'ANELLO
|
b2437ef9b5
|
Remove additional blank lines
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-03-09 17:18:43 +01:00 |
Yohann D'ANELLO
|
635adf1360
|
Use cas server to use authentication in other services
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
|
2021-03-03 18:13:33 +01:00 |
ynerant
|
5a05997d9d
|
Fix date comparison when checking a membership from the parent club
Signed-off-by: ynerant <ynerant@crans.org>
|
2021-02-11 21:38:44 +01:00 |
Yohann D'ANELLO
|
f570ff3cd5
|
Check that permissions are working when accessing to API pages
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
|
2020-12-23 18:21:59 +01:00 |
Yohann D'ANELLO
|
3a20555663
|
Unit tests for API pages, closes #83
Signed-off-by: Yohann D'ANELLO <yohann.danello@gmail.com>
|
2020-12-23 14:54:21 +01:00 |
Yohann D'ANELLO
|
d47799e6ee
|
More API filters for the permission app
|
2020-12-22 12:42:54 +01:00 |
Yohann D'ANELLO
|
338c94ed05
|
More API filters for the member app
|
2020-12-22 02:58:12 +01:00 |
Yohann D'ANELLO
|
8434c0062c
|
Merge branch 'beta' into JS_translations
# Conflicts:
# apps/note/static/note/js/consos.js
# locale/de/LC_MESSAGES/django.po
# locale/es/LC_MESSAGES/django.po
# locale/fr/LC_MESSAGES/django.po
|
2020-11-16 00:59:26 +01:00 |
Yohann D'ANELLO
|
5635598bbc
|
Extract strings from javascript files and translate them in french
|
2020-11-15 23:28:41 +01:00 |
Yohann D'ANELLO
|
051591cb7a
|
Don't see user detail in update form
|
2020-10-25 21:49:16 +01:00 |
Yohann D'ANELLO
|
fe4363b83d
|
Don't display too much detail when a user has no right to see a profile
|
2020-10-25 21:29:44 +01:00 |
Yohann D'ANELLO
|
08e50ffc22
|
Credit form didn't raise an error when the data didn't validate
|
2020-10-23 18:19:21 +02:00 |
Yohann D'ANELLO
|
6dc7604e90
|
Alias were duplicated in profile alias list view
|
2020-10-23 16:48:33 +02:00 |
Yohann D'ANELLO
|
cb7f3c9f18
|
Note account can manage BDE memberships
|
2020-10-23 16:42:06 +02:00 |
Yohann D'ANELLO
|
58aa4983e3
|
The note account must be active in order to have access to the Rest Framework API
|
2020-10-20 10:30:41 +02:00 |
Yohann D'ANELLO
|
6cc3cf4174
|
A migration put the right role in the note account's memberships
|
2020-10-20 00:28:49 +02:00 |
Yohann D'ANELLO
|
beb1853aef
|
Forgot to create the aliases for BDE and Kfet in the migration that create the clubs
|
2020-10-07 11:54:04 +02:00 |
Yohann D'ANELLO
|
0078eb8f90
|
Index page is a redirection
|
2020-10-07 11:53:42 +02:00 |
Yohann D'ANELLO
|
e5e758f9d9
|
Display banners when a user is no more a BDE or Kfet member
|
2020-10-07 11:46:43 +02:00 |
Yohann D'ANELLO
|
36b8157372
|
Fix membership table order
|
2020-10-07 10:03:43 +02:00 |
Yohann D'ANELLO
|
992cfe8e23
|
Can set a parent club to None
|
2020-10-07 09:48:21 +02:00 |
Yohann D'ANELLO
|
4b12e3ed08
|
Display only the most recent membership
|
2020-10-07 09:29:41 +02:00 |
Yohann D'ANELLO
|
541ed59f40
|
When a membership is created, redirect to the user profile page rather than club detail
|
2020-10-04 21:08:35 +02:00 |
Yohann D'ANELLO
|
e172b4f4bb
|
When a membership is renewed, set the same roles as the previous membership
|
2020-10-04 20:54:03 +02:00 |
Yohann D'ANELLO
|
d666179037
|
Display Renew membership button 15 days more
|
2020-10-04 20:50:10 +02:00 |
Yohann D'ANELLO
|
fd83fe19bf
|
Fix some membership date control
|
2020-10-01 09:17:02 +02:00 |
Yohann D'ANELLO
|
a00d95608b
|
Add permission to treasurers to create a club, fix the permission check to renew a membership
|
2020-09-23 21:36:04 +02:00 |
Yohann D'ANELLO
|
f63e2e088e
|
Don't log when the permission to lock a note is checked
|
2020-09-20 08:56:42 +02:00 |
Yohann D'ANELLO
|
60f2a73cc5
|
Don't check if the user is a member of the parent club if there is no parent club
|
2020-09-18 13:35:55 +02:00 |
Yohann D'ANELLO
|
bcd96b2ed8
|
The BDE membership and the club membership must now be in two parts
|
2020-09-18 12:35:36 +02:00 |
Yohann D'ANELLO
|
180cd3e1ec
|
Fix registration permissions and procedure
|
2020-09-14 09:49:30 +02:00 |
ynerant
|
73ca65aa91
|
Merge branch 'atomicity' into 'beta'
Atomicité
See merge request bde/nk20!122
|
2020-09-14 09:38:54 +02:00 |
elkmaennchen
|
5b02ba48e0
|
Some OTL, but so much remain
|
2020-09-13 12:40:10 +02:00 |
Yohann D'ANELLO
|
9b090a145c
|
All transactions are now atomic
|
2020-09-11 22:52:16 +02:00 |
Yohann D'ANELLO
|
fa3c723140
|
The BDE offers 80 € to each new member that registers to the Société générale
|
2020-09-07 21:33:23 +02:00 |
Yohann D'ANELLO
|
78586b9343
|
Don't trigger signals when we add an object through a permission check
|
2020-09-07 14:52:37 +02:00 |
Yohann D'ANELLO
|
53c4e38771
|
Add __str__ to models, remove null=True in CharField and TextField
|
2020-09-07 01:06:22 +02:00 |
Alexandre Iooss
|
4a9c37905c
|
Fix alias count on club info
|
2020-09-06 21:54:12 +02:00 |
Alexandre Iooss
|
c06354211b
|
Translate login page
|
2020-09-06 20:21:31 +02:00 |
Alexandre Iooss
|
40a3405f47
|
Fix missing spaces before comment
|
2020-09-06 19:16:35 +02:00 |
Alexandre Iooss
|
82924c999a
|
Add animated profile picture support
|
2020-09-06 18:54:21 +02:00 |
Yohann D'ANELLO
|
5ebdb015ad
|
Decompose some membership functions, now we have a good linting :)
|
2020-09-06 13:30:38 +02:00 |
Yohann D'ANELLO
|
eb4641ed35
|
Upload button wasn't translated
|
2020-09-06 12:35:59 +02:00 |
Alexandre Iooss
|
15ed9d81d5
|
Check image size before sending it
|
2020-09-06 12:16:36 +02:00 |
Alexandre Iooss
|
de3660b23c
|
Move image upload code to form clean
|
2020-09-06 12:04:54 +02:00 |
Yohann D'ANELLO
|
bcb2398d68
|
Use migrations instead of fixtures to create BDE, Kfet and special notes
|
2020-09-05 10:33:24 +02:00 |
Yohann D'ANELLO
|
751a4291ab
|
We are in production, then we commit migrations
|
2020-09-05 10:05:17 +02:00 |
Alexandre Iooss
|
bad5fe3c22
|
Format JS files
|
2020-09-05 08:30:41 +02:00 |
Yohann D'ANELLO
|
94706328ff
|
Tests can run between 12pm and 2am
|
2020-09-05 00:47:55 +02:00 |
Alexandre Iooss
|
b6847415b5
|
Remove unused imports in tests
|
2020-09-04 07:53:31 +02:00 |
Pierre-antoine Comby
|
43fffdf56f
|
Merge branch 'traduction' into beta
|
2020-09-03 23:48:39 +02:00 |
Yohann D'ANELLO
|
f02efd3b39
|
100% coverage on registration app
|
2020-09-03 20:03:40 +02:00 |
Alexandre Iooss
|
7bdf5a4366
|
Update picture path in member test
|
2020-09-02 23:25:32 +02:00 |
Alexandre Iooss
|
be6cf93cdb
|
Move default profile picture in member app
|
2020-09-02 23:08:40 +02:00 |
Yohann D'ANELLO
|
bf7f5b9cd6
|
Test and cover fully member app
|
2020-09-02 22:54:01 +02:00 |
Pierre-antoine Comby
|
6a2b46be72
|
make API token button nicer
|
2020-09-02 19:16:08 +02:00 |
Pierre-antoine Comby
|
3e42f4fffb
|
superusers at creation gets automatically valid registration
|
2020-09-02 17:22:06 +02:00 |
Yohann D'ANELLO
|
d76aa3fec9
|
Some table accessors weren't updated
|
2020-09-01 19:04:35 +02:00 |
Yohann D'ANELLO
|
361ea8cad3
|
Update Django Tables 2, change accessor from dot to __
|
2020-09-01 17:58:58 +02:00 |
Alexandre Iooss
|
5feb23ad51
|
Use Debian font awesome
|
2020-09-01 14:33:38 +02:00 |
Alexandre Iooss
|
534831f380
|
Use buttons in profile page
|
2020-09-01 10:30:47 +02:00 |
Alexandre Iooss
|
dd9ca315fa
|
Clean up templates header
|
2020-09-01 10:20:16 +02:00 |
Alexandre Iooss
|
d9e003a8f4
|
Remove contenttitle
|
2020-09-01 10:13:05 +02:00 |
Yohann D'ANELLO
|
5e65e2d74a
|
✨ Add "Lock note" feature
|
2020-08-31 20:15:48 +02:00 |
Yohann D'ANELLO
|
805ceda249
|
Don't display the alias create form if the user can't create anyone
|
2020-08-30 23:06:51 +02:00 |
Yohann D'ANELLO
|
a9258c332a
|
Order note research results: match first aliases then normalized names
|
2020-08-30 22:33:59 +02:00 |
Yohann D'ANELLO
|
374e6ed7f8
|
💚 Fix CI
|
2020-08-30 11:59:10 +02:00 |
Alexandre Iooss
|
4cb162de87
|
Card for wei templates
|
2020-08-25 18:36:49 +02:00 |
Alexandre Iooss
|
1fd37bb1ce
|
Smaller membership renew btn
|
2020-08-25 16:44:01 +02:00 |
Alexandre Iooss
|
e3785e11f1
|
Cards everywhere in member app
|
2020-08-25 16:30:02 +02:00 |
Alexandre Iooss
|
2e659c63cd
|
Member templates inherit from member/base.html
|
2020-08-25 15:39:57 +02:00 |
Alexandre Iooss
|
63dc184ce4
|
Do not list alias on profile page
|
2020-08-25 15:05:50 +02:00 |
Alexandre Iooss
|
e14c8734c2
|
Template formating on member app
|
2020-08-23 14:21:31 +02:00 |
Alexandre Iooss
|
44b7fe8f52
|
List aliases on profile page
|
2020-08-23 12:07:04 +02:00 |
Alexandre Iooss
|
cbc3e39bd6
|
Create base template for member and wei
|
2020-08-23 10:06:16 +02:00 |
Alexandre Iooss
|
1c16d6ef18
|
Use block.parent to extend content
|
2020-08-23 09:56:42 +02:00 |
Alexandre Iooss
|
0ba77fb8f0
|
Make alias form a bit more HTML friendly
|
2020-08-23 00:33:36 +02:00 |
Alexandre Iooss
|
342d3910c7
|
Set fluid container on parent template
|
2020-08-23 00:03:10 +02:00 |
Alexandre Iooss
|
2c1cf148fa
|
Remove alias_update.html
|
2020-08-22 23:55:22 +02:00 |
Alexandre Iooss
|
196f796570
|
Move alias.js to local static
|
2020-08-22 23:54:58 +02:00 |
Alexandre Iooss
|
9cad8fcc65
|
Simplify future user search
|
2020-08-22 10:13:48 +02:00 |
Alexandre Iooss
|
8465b24d7d
|
Use base search for club list
|
2020-08-21 23:20:45 +02:00 |
Alexandre Iooss
|
aa98c4848d
|
Create base template for search page
|
2020-08-21 23:11:25 +02:00 |
Alexandre Iooss
|
83d2c18d1e
|
Debounce user search
|
2020-08-21 19:12:28 +02:00 |
Alexandre Iooss
|
5ea1eed76d
|
Password reset use cards
|
2020-08-21 18:34:20 +02:00 |
Yohann D'ANELLO
|
c090b4af76
|
Superusers can see their note even if they have no membership for local dev
|
2020-08-20 23:13:27 +02:00 |
Pierre-antoine Comby
|
a1dc8fe530
|
fix trailing comma
|
2020-08-19 23:00:49 +02:00 |
Pierre-antoine Comby
|
60b1cdbcf8
|
comments member views
|
2020-08-18 18:19:39 +02:00 |
Yohann D'ANELLO
|
b8c3dda95b
|
Replace timezone.now().date() by date.today()
|
2020-08-16 00:35:13 +02:00 |
Yohann D'ANELLO
|
9f258e39b6
|
Check that the user is a member of the parent club only at the creation of the membership
|
2020-08-15 23:52:57 +02:00 |
Yohann D'ANELLO
|
4997a37058
|
Ensure that the user is authenticated before that it has the permission to see page
|
2020-08-15 23:27:58 +02:00 |
Yohann D'ANELLO
|
5f8c4a2857
|
Prevent time travelers to register in the note
|
2020-08-15 21:30:08 +02:00 |
Yohann D'ANELLO
|
430036bfc2
|
Don't display "change password" button on other profile pages
|
2020-08-15 20:59:45 +02:00 |