Commit Graph

91 Commits

Author SHA1 Message Date
Fred 8b3952b501 Still trying to simplify club statistics ;) 2021-06-24 21:37:36 +02:00
Fred 9c08647505 Start testing khana.people 2021-06-24 17:10:12 +02:00
Fred 40c59cbe22 Starts clubs statistics 2021-06-23 20:37:27 +02:00
Fred a612503bf5 Compute the total number of hours spent in a course 2021-06-23 20:28:55 +02:00
Fred 63c46f6e6e Test location and planning models
This will allows an easier refactoring of build_statistics functions
2021-06-23 20:13:59 +02:00
Fred 107b364028 Retrieve original version of club_statistics view 2021-06-23 19:06:51 +02:00
Fred 0a515fdf3a Merge branch 'refactoring/location-club-statistics' of grimbox.be:Sulley/khana into refactoring/location-club-statistics 2021-06-22 21:03:15 +02:00
Fred d98acb3243 [WIP] Refactoring Club & Course for statistics purpose 2021-06-22 20:59:05 +02:00
Fred 2a12177f74 Remove pytest old tests 2021-06-22 19:22:17 +02:00
Fred b26eab154e Ignore admin.py files when covering code 2021-06-22 19:22:17 +02:00
Fred Pauchet 0bff7e0f66 Refactors clubs statistics 2021-06-22 19:22:17 +02:00
Fred Pauchet 00df7cbd0b Create a new `ClubStatistics` class to store data
This will allow to make the location/views.py file more readable
2021-06-22 19:22:17 +02:00
Fred Pauchet 66735a49e3 Code quality
* Create a makefile (for *nix only, right?)
* Configure code coverage and tests
* Configure linter
* Configure linter for errors only
2021-06-22 19:22:17 +02:00
Fred c8d543ab50 Remove pytest old tests 2021-06-22 19:20:35 +02:00
Fred 1a392f4e42 Ignore admin.py files when covering code 2021-06-22 19:20:19 +02:00
Fred Pauchet de61d1851d Refactors clubs statistics 2021-06-22 19:15:51 +02:00
Fred fa6c6d531a 100% test coverage on location/models.py 2021-06-22 19:13:34 +02:00
Trullemans Gregory 059b3c32bf [WIP] Multiples modifications dans l'app People 2021-06-22 08:08:32 +02:00
Fred Pauchet 1a3c62d12b Create a new `ClubStatistics` class to store data
This will allow to make the location/views.py file more readable
2021-06-21 21:37:37 +02:00
Trullemans Gregory f089b06f54 [WIP] [Objective] Nomenclature des champs, classes et attributs #43 2021-06-20 18:19:33 +02:00
Trullemans Gregory 088895ec43 Close #45 2021-06-20 14:34:56 +02:00
Trullemans Gregory 787ba706aa Merge branch 'master' of grimbox.be:Sulley/khana 2021-06-20 14:30:03 +02:00
Trullemans Gregory 0b8fd72e9d Close#64 : suppression des dossiers et 2021-06-20 14:28:26 +02:00
Fred 3376abd5b2 Merge pull request 'Propositions liées à la qualité du code (pep8, pylint, ...)' (#58) from propal/pep8-pylint into master
Reviewed-on: #58
2021-06-19 08:29:35 +02:00
Fred e944ecdb34 Merge branch 'master' into propal/pep8-pylint 2021-06-19 08:28:03 +02:00
Fred 9780834fc6 Merge pull request 'bugfix/67-reverse-for-profile-update' (#69) from bugfix/67-reverse-for-profile-update into master
Reviewed-on: #69
2021-06-19 08:27:20 +02:00
Fred 801477eadd Revert to master base.html 2021-06-16 19:37:34 +02:00
Fred 875190be76 Revert base.html to master
Fix parameters when updating profile
2021-06-16 19:32:40 +02:00
Fred 6f81a0d595 Fix bug #67
+ Simplification de l'URL
+ Simplification de la vue

Fix #67
2021-06-16 19:27:20 +02:00
Fred 67b2b0ccd6 Merge branch 'master' into quality/code 2021-05-19 21:02:23 +02:00
Fred Pauchet 523a52c5e5 Code quality
* Create a makefile (for *nix only, right?)
* Configure code coverage and tests
* Configure linter
* Configure linter for errors only
2021-05-19 20:58:25 +02:00
Fred fe964af90a Merge pull request 'Quelques idées' (#62) from propal/planning into master
Reviewed-on: #62
2021-05-19 14:33:24 +02:00
Sulley bb09f6f28c Merge branch 'master' into propal/pep8-pylint 2021-05-17 10:43:22 +02:00
Fred Pauchet e6207d9a7a Quelques idées 2021-05-16 21:02:08 +02:00
Trullemans Gregory f2be9fb312 Add information file 2021-05-16 19:03:44 +02:00
Trullemans Gregory 341bf23d1c Close #60 and minor comments improvement 2021-05-15 17:01:05 +02:00
Trullemans Gregory c9798ffd31 Close #59 and multiple improvement/bug fix for Gymnast <-> Django.User 2021-05-15 16:51:40 +02:00
Fred Pauchet c390f06801 Move .pylintrc at the root directory
This allows an easier integration with the editor
and pylint can still be run with pylint src/*
2021-05-15 15:07:55 +02:00
Trullemans Gregory 59cf3a90f7 [WIP] Gymnast <-> Django.User | Nw DB Backup. 2021-05-15 10:22:32 +02:00
Trullemans Gregory 9ba2a39c82 [WIP] Gymnast <-> Django.User 2021-05-15 10:02:31 +02:00
Fred Pauchet 10ac31b088 Review Communication app with pylint
See also #59
2021-05-14 21:39:43 +02:00
Fred Pauchet b9466342ad Pylint configuration for 10 out of 10 :-) 2021-05-14 21:23:11 +02:00
Fred Pauchet 6a7636682d Add pylint as requirement 2021-05-14 20:45:37 +02:00
Fred Pauchet 1d182cf5e7 Add setup.cfg to limit max line length to 100
... and complexity at 10.
but this won't be needed, right? ;-)
2021-05-14 20:30:04 +02:00
Trullemans Gregory ccbc730bab Close #55 and other UI bug fix. 2021-05-14 11:01:23 +02:00
Trullemans Gregory 720eae785b Close #45 2021-05-14 09:29:55 +02:00
Trullemans Gregory c55714540f Remise en état de fonctionnement. 2021-05-13 16:26:03 +02:00
Trullemans Gregory b879031df4 Suppression des fichiers de migrations et retour en arrière pour la config des fichiers auto. 2021-05-13 12:22:37 +02:00
Trullemans Gregory 4812a7df06 Close #42 2021-05-13 12:07:24 +02:00
Trullemans Gregory 0e5b9f53a4 bug fix and migration to Django 3.9.5 2021-05-09 19:28:35 +02:00