Commit Graph

90 Commits

Author SHA1 Message Date
Julien Constant
f876bc3599 Unified header across all files 2024-06-26 19:17:57 +02:00
thomas girod
d97602e60b
Use pytest for tests (#681)
* use pytest for tests

Eh ouais, il y a que la config qui change. Pytest est implémentable par étapes. Et ça c'est beau.

* rework tests with pytest

* remove unittest custom TestRunner

* Edit doc and CI
2024-06-26 19:10:24 +02:00
thomas girod
3143d3d91a reorganize imports with ruff 2024-06-26 12:35:38 +02:00
thomas girod
9bdf3fc4ac use ruff for formating
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-06-26 12:35:14 +02:00
thomas girod
e06bc7dba3 reorganize pyproject.toml 2024-06-26 12:33:35 +02:00
Sli
5416d88c97 Upgrade dependencies and install xapian from sources 2024-06-24 13:26:58 +02:00
thomas girod
ef968f3673
Better usage of cache for groups and clubs related operations (#634)
* Better usage of cache for group retrieval

* Cache clearing on object deletion or update

* replace signals by save and delete override

* add is_anonymous check in is_owned_by

Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.

* Stricter usage of User.is_in_group

Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.

* write test and correct bugs

* remove forgotten populate commands

* Correct test
2023-05-02 12:36:59 +02:00
Julien Constant
8e7c025e47
[FIX] Broken link in readme and license fix (& update) (#591) 2023-04-04 18:39:45 +02:00
Julien Constant
7cadc0bc28
Update doc/start/install.rst 2023-01-09 19:04:43 +01:00
Julien Constant
cce686f3a8
Update doc/about/tech.rst 2023-01-09 19:04:32 +01:00
thomas girod
754be1c9c9
Update doc/about/tech.rst
Co-authored-by: Julien Constant <49886317+Juknum@users.noreply.github.com>
2022-12-20 21:17:52 +01:00
Thomas Girod
da2c155254 update documentation 2022-12-20 17:26:28 +01:00
thomas girod
c695d6f7a0
update link for poetry install 2022-09-25 12:06:29 +02:00
Julien Constant
d17a52a8d6
Updated links before moving to GitHub 2022-08-26 14:04:05 +02:00
Sli
0e5c8b53b0 Add missing translations and update doc 2022-08-07 16:45:18 +02:00
Sli
98bfc308a7 Minimal working version
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
lsacienne
ba6599fa56
Add of tests 2022-05-05 23:24:08 +02:00
Alexandre | L'Sacienne
e7a6a94ff2 Merge branch 'doc-windows-install' into 'master'
Added WSL Windows doc for the project install

Added steps to install the project on Windows using WSL :)

See merge request ae/Sith!291
2022-03-03 18:18:55 +00:00
Julien Constant
782ce24895 Changed python3 to python 2021-12-02 12:22:34 +01:00
Cyrille
d60a96fc5c correct populate.rst 2021-11-23 23:44:34 +01:00
Julien Constant
05b0a0ab2f Adapted WSL doc to follow recommendation :) 2021-11-23 19:19:24 +01:00
Cyrille
9eb137e503 add fixture documentation 2021-11-22 21:37:10 +01:00
Julien Constant
7d797009bb Added WSL windows doc for project install 2021-11-19 13:10:18 +01:00
Sli
85623f48a9 Using poetry as a dependency system for development 2021-10-15 16:12:56 +00:00
tleb
be26e3df7f core: add ./manage.py check_front command and call it on runserver 2021-09-27 22:00:36 +02:00
5c8fa1b9e7
core: add UserIsRootMixin and an admin delete view for memberships 2019-11-24 19:23:43 +01:00
Sli
9cb432a082 doc: correct documentation for groups 2019-11-21 11:11:25 +01:00
Sli
869d29d4a4 doc: corrections for populate documentation 2019-11-21 11:10:31 +01:00
c3d2e64a43
doc: add infos on populate command with group and users available 2019-11-20 18:51:13 +01:00
e1770ec52c
doc: add documentation for groups 2019-11-20 17:55:00 +01:00
1256744f1b
documentation: add autoreload and build for documentation server 2019-11-20 17:03:18 +01:00
77dddbc581
documentation: add help ressources and update installation instructions 2019-11-20 17:03:18 +01:00
d48c09a914
documentation: revise title levels on git documentation 2019-10-08 22:13:29 +02:00
d5c3dbf864 Add git introduction 2019-10-08 20:22:36 +02:00
d63b5335d4
documentation: apply corrections suggested in comments 2019-10-08 11:08:33 +02:00
a766f7137c
documentation: add instructions for direnv 2019-10-08 00:59:19 +02:00
775413ac7e
documentation: weekmail documentation 2019-10-07 23:58:04 +02:00
1f271c75f0
documentation: add instructions to add and edit subscriptions 2019-10-07 23:51:38 +02:00
c83b30f27b
documentation: add doc compile test in pipeline 2019-10-07 23:51:38 +02:00
db10f7b963
documentation: tutorial about rights management 2019-10-07 23:51:37 +02:00
ed68c2cb38
documentation: move documentation about usage in production 2019-10-07 23:51:37 +02:00
a6c8dea190
documentation: move markdown syntax documentation and move helper for counting lines 2019-10-07 23:51:37 +02:00
124eaf42cd
documentation: add models manipulation in hello world tutorial 2019-10-07 23:51:37 +02:00
5489096bf5
documentation: add explanation on MVT and explain project structure 2019-10-07 23:51:37 +02:00
3a425c6792
documentation: add infos about fontawesome + tests instructions + more external doc 2019-10-07 23:51:37 +02:00
4428a2e89c
documentation: add hello world app tutorial 2019-10-07 23:51:36 +02:00
0616597bf2
documentation: remove CONTRIBUTING and migrate its content in the doc 2019-10-07 23:51:36 +02:00
782a763046
documentation: update instructions, add down loadable files and add all pdf reports for download purpose 2019-10-07 23:51:36 +02:00
8dcade6890
documentation: remove Doxygen, include README into doc update tech and install 2019-10-07 23:51:36 +02:00
dd49d71cb7
documentation: installation instructions 2019-10-07 23:51:36 +02:00