Commit Graph

2060 Commits

Author SHA1 Message Date
Alexandre Iooss eb58db7df9 Inscrease max function complexity to 15 2020-09-06 13:13:29 +02:00
ynerant 81ad38927d Merge branch 'beta' into 'master'
Fix note pictures, better ansible

See merge request bde/nk20!113
2020-09-06 13:09:28 +02:00
Yohann D'ANELLO 8aac738c4a Treasurers can see any profile and change the note picture of their clubs 2020-09-06 12:55:27 +02:00
Yohann D'ANELLO eb4641ed35 Upload button wasn't translated 2020-09-06 12:35:59 +02:00
Yohann D'ANELLO ae31cdf15e Group ansible hosts 2020-09-06 12:32:17 +02:00
erdnaxe fcd1bb98a8 Merge branch 'image_upload' into 'beta'
Move image upload code to form clean

See merge request bde/nk20!112
2020-09-06 12:30:45 +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 487c3ef0da Human-readable activity wiki page should be updated in cron file 2020-09-06 11:11:02 +02:00
Yohann D'ANELLO af48eeeaec Activities refresh should not be commented in cron file 2020-09-06 11:04:06 +02:00
Alexandre Iooss c503e77b23 Fix some typo in Ansible 2020-09-06 10:46:03 +02:00
Yohann D'ANELLO 1a28e876b8 Rework on Ansible config, this is now more universal 2020-09-06 10:32:52 +02:00
Alexandre Iooss 2a824cadf6 COPYING is standard in the GNU project 2020-09-06 09:47:39 +02:00
Alexandre Iooss 2a1bfa9735 Update Django CAS server to 1.2.0 2020-09-06 09:41:32 +02:00
Yohann D'ANELLO a64dc9ffc2 Certbot and Nginx disappeared in Ansible conf 2020-09-06 09:38:27 +02:00
Yohann D'ANELLO b63fa19644 With normal rights, notes were displayed as there were inactive 2020-09-06 09:10:57 +02:00
ynerant 2f6c7ed156 Merge branch 'beta' into 'master'
Remove padding around note picture

See merge request bde/nk20!111
2020-09-05 19:41:28 +02:00
Yohann D'ANELLO 00bc9550f2 Add padding to the the note picture (cc shirenn) 2020-09-05 19:27:22 +02:00
Yohann D'ANELLO be8e74d056 If a note is saved and the main name changed without changing the normalized form, update the main alias 2020-09-05 15:41:47 +02:00
ynerant 2b2dde85dc Merge branch 'beta' into 'master'
Few fixes

Closes #61

See merge request bde/nk20!110
2020-09-05 14:52:29 +02:00
Yohann D'ANELLO 9f619a9df8 Center profile picture in transfer interface, closes #61 2020-09-05 14:36:49 +02:00
Yohann D'ANELLO 96954b1afd Club managers can change the picture of the club note 2020-09-05 14:32:47 +02:00
Yohann D'ANELLO 2a8a5cd736 Fix some linting, some complex functions are remaining 2020-09-05 14:29:40 +02:00
Yohann D'ANELLO e73b3cf69d Fix refresh activities cron 2020-09-05 14:28:05 +02:00
Yohann D'ANELLO 2e13356e39 Fix a bug in note saving 2020-09-05 13:52:03 +02:00
Yohann D'ANELLO d273193b1d Save the list of changed usernames and lost aliases 2020-09-05 13:51:00 +02:00
Yohann D'ANELLO 3e9b3d690f Note is up on note.crans.org 2020-09-05 11:23:11 +02:00
ynerant 863150d200 Merge branch 'beta' into 'master'
Last deployment fixes

See merge request bde/nk20!109
2020-09-05 11:21:07 +02:00
Yohann D'ANELLO f96b1f26a4 Skip invoice rendering (have to fix later) 2020-09-05 11:07:04 +02:00
Yohann D'ANELLO 466db42318 Add texlive-latex-recommended in Gitlab-CI 2020-09-05 10:39:33 +02:00
Yohann D'ANELLO 3af083fb6b Remove temporary bera font in invoices, add texlive-base-recommended for invoices 2020-09-05 10:34:19 +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 8c23726f88 Don't rebuild systematically migrations 2020-09-05 10:07:32 +02:00
Yohann D'ANELLO 751a4291ab We are in production, then we commit migrations 2020-09-05 10:05:17 +02:00
Yohann D'ANELLO 77b0241406 Log TeX error directly 2020-09-05 09:00:16 +02:00
Alexandre Iooss afc367cfb8 Use === in JS 2020-09-05 08:38:31 +02:00
Alexandre Iooss bad5fe3c22
Format JS files 2020-09-05 08:30:41 +02:00
Alexandre Iooss a97a36bc9e Add apps/script submodule to CI 2020-09-05 08:17:27 +02:00
Yohann D'ANELLO 94706328ff Tests can run between 12pm and 2am 2020-09-05 00:47:55 +02:00
Yohann D'ANELLO 2fc13e5418 Edit the wiki after an activity update iff the wiki password is defined, and don't run the script asynchronous with a SQLite database 2020-09-05 00:47:30 +02:00
Yohann D'ANELLO 2e80233cbc Change debug option to "print stdout" / "edit wiki" in the Refresh activities script 2020-09-05 00:45:14 +02:00
ynerant ebe6ce61e4 Merge branch 'beta' into 'master'
Fix Ansible script for production

See merge request bde/nk20!108
2020-09-04 22:42:42 +02:00
Yohann D'ANELLO 0f47412c38 Fix Ansible script for production 2020-09-04 22:37:18 +02:00
Pierre-antoine Comby 3c636e9f71 Merge branch 'beta' into 'master'
Beta

Closes #59

See merge request bde/nk20!107
2020-09-04 22:32:14 +02:00
Yohann D'ANELLO 4ddd763886 Test activity app 2020-09-04 21:46:40 +02:00
elkmaennchen 0888afe439 I am hungry, so I ham hungry 2020-09-04 20:38:57 +02:00
Yohann D'ANELLO 6d1b75b9b6 Fix linebreaks in ICS file 2020-09-04 19:24:48 +02:00
Yohann D'ANELLO 70e1a611dd Export activites as an ICS Calendar 2020-09-04 18:36:20 +02:00
elkmaennchen 3111c30e56 Add spanish translation 2020-09-04 18:24:49 +02:00
Yohann D'ANELLO 5c7fe716ad Fix JSON 2020-09-04 16:43:57 +02:00