Commit Graph

1731 Commits (main)
 

Author SHA1 Message Date
Frédéric Péters 1ebd61d47a general: keep a per-language cache for skeleton pages (#70670)
gitea/hobo/pipeline/head This commit looks good Details
5 days ago
Paul Marillonnet 1a4cb01666 translation update (#72760)
gitea/hobo/pipeline/head This commit looks good Details
5 days ago
Paul Marillonnet 99eb6e3f35 manage Publik's phone-related settings through dedicated form (#72760)
gitea/hobo/pipeline/head This commit looks good Details
5 days ago
Frédéric Péters 5e7f1599f5 translation update
gitea/hobo/pipeline/head This commit looks good Details
5 days ago
Frédéric Péters aee3fb8093 applications: add possibility to define parameters (#76463) 5 days ago
Frédéric Péters 5f0177d901 debian: apply new pre-commit-debian (#77727)
gitea/hobo/pipeline/head This commit looks good Details
1 week ago
Frédéric Péters 2a99cb04d7 ci: upgrade pre-commit-debian (#77727) 1 week ago
Valentin Deniaud c03b743a58 agent: save role slug during provisionning (#77487)
gitea/hobo/pipeline/head This commit looks good Details
3 weeks ago
Benjamin Dauvergne cc15770e78 theme: apply collation when sorting themes (#77217)
gitea/hobo/pipeline/head This commit looks good Details
It's not perfect but enough to have a usable sorting order.
1 month ago
Benjamin Dauvergne f805a4ab31 translation update
gitea/hobo/pipeline/head This commit looks good Details
1 month ago
Benjamin Dauvergne 35e6872ec3 profile: disable searchable for first_name and last_name fields (#76673)
gitea/hobo/pipeline/head This commit looks good Details
1 month ago
Frédéric Péters 255e9c83a6 translation update
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Frédéric Péters 394ac2988d trivial: give string before substitution to gettext (#76727)
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
2 months ago
Lauréline Guérin 508fcc9999
applications: add visible flag (#75115)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Lauréline Guérin a1e8c69eef
applications: unlink app in services on deletion (#74659)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Lauréline Guérin 3bb0a0c3ca
applications: declare an app to services on version generation (#74659) 2 months ago
Benjamin Dauvergne c2e6ad7214 misc: remove logging when installing get_full_name customization (#76676)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Frédéric Péters bb21ef72e7 misc: close files (#76433)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Frédéric Péters ead891796a applications: add missing </form> (#76464)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Frédéric Péters bcb7a28797 applications: fix category match check when filtering elements (#76462)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Valentin Deniaud fba64847fa misc: use new JSONField location in migrations (#75442)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Valentin Deniaud 210b2a87e0 misc: fix Django 3.2 default auto field warning (#75442)
gitea/hobo/pipeline/head This commit looks good Details
2 months ago
Valentin Deniaud 670bafd12a misc: bump djhtml version (#75442) 2 months ago
Valentin Deniaud 4c419c0695 misc: bump black version (#75442) 2 months ago
Valentin Deniaud c5d83eb864 misc: change pyupgrade target version to 3.9 (#75442) 2 months ago
Valentin Deniaud cebdcf5bbf misc: change django-upgrade target version to 3.2 (#75442) 2 months ago
Valentin Deniaud 95d05a0f87 misc: require django 3.2 (#75442) 2 months ago
Benjamin Dauvergne 6835120e65 environment: prevent a race condition in get_or_create_local_hobo (#73207)
gitea/hobo/pipeline/head This commit looks good Details
Uniqueness is guaranteed by the new uniqueness constraint on local=True.
3 months ago
Benjamin Dauvergne 00172e0673 cook: improve create_site ordering of operations (#73207)
The logic is changed to match the one in ModelForm:
* first we try to get an object from the slug, or create a new one
* fields are filled
* we do a full_clean()
* then if needed the object is saved.

Keeping the full clean after the first .save() would raise an
IntegrityError because of the new unique constraints on the slug and
title fields.
3 months ago
Benjamin Dauvergne 645d6566f1 environment: initialize title from slug on save (#73207)
To simplify tests, slug is always globally unique for the model, using
it for title will always work.
3 months ago
Benjamin Dauvergne ea8a633d29 environment: ensure slug and title are unique for their scope (#73207)
* slug must be globally unique
* title must be locally unique, i.e. unique for primary services
* also there must be only one Hobo service with local=True
3 months ago
Valentin Deniaud c04fb9ab39 ci: remove Django 2.2 target (#75507)
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Valentin Deniaud c766be2305 multitenant: pass --skip-checks to migrate command (#74968)
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Frédéric Péters 6ed101d94e translation update
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Paul Marillonnet 111591a0b0 user_name: fallback on default full name when var defined yet empty (#74507)
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Paul Marillonnet 5956ce4036 profile: add user full name template definition popup (#74507) 3 months ago
Emmanuel Cazenave 92f827d9f6 sms: authorize underscore in sms_sender (#74219)
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Frédéric Péters 266f691c99 ci: update .tar.gz URLs for gitea (#74713)
gitea/hobo/pipeline/head This commit looks good Details
3 months ago
Agate 3d4f80d8e3 Prepare Jenkinsfile for Gitea migration (#74572)
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
3 months ago
Paul Marillonnet 3e6d5eaaf5 environment: allow templated sites variable values (#74500)
gitea-wip/hobo/pipeline/pr-main This commit looks good Details
4 months ago
Frédéric Péters fe64b31ba2 translation update 4 months ago
Agate Berriot 6b76f3c3eb user: allow customization of User.get_full_name() through templates (#72945) 4 months ago
Thomas NOËL b6662414dc fix isort errors 4 months ago
Thomas NOËL 64d973c20e emails: restrict domains for default_from_email (#72173)
gitea-wip/hobo/pipeline/pr-main Something is wrong with the build of this commit Details
gitea/hobo/pipeline/pr-main Something is wrong with the build of this commit Details
gitea/hobo/pipeline/head Something is wrong with the build of this commit Details
4 months ago
Lauréline Guérin 13f0821c66
applications: fix Element type size (#74233)
gitea-wip/hobo/pipeline/pr-main This commit looks good Details
4 months ago
Frédéric Péters 88d1681a12 ci: upgrade isort (#74044) 4 months ago
Benjamin Dauvergne b3520030f5 tests: improve search of a free TCP port (#72645) 4 months ago
Benjamin Dauvergne 842f699e8a django32: change the way Thread are made tenant aware (#67760)
gitea-wip/hobo/pipeline/pr-main This commit looks good Details
Django 3.2. changed the implementation of django.db.ConnectionHandler it
now uses asgiref.local.Local as a thread/asyncio-task local dictionnary
instead of threading.local. This new implementation use
threading.current_thread() to get a reference to the current thread
instead of threading._get_ident(), but inside __bootstrap_inner, the
_active dictionnary is not initialized and current_thread() returns a
dummy value instead of the current thread.

To work around this behaviour I made __bootstrap_inner wrap the run
method with the code needed to setup the tenant, so that it's run after
__boostrap_inner initialization of the current thread in the _active
dictionnary.
4 months ago
Emmanuel Cazenave 9bc96520ac django32: use public API to clear caches (#67760) 4 months ago
Emmanuel Cazenave b9e4dab140 django32: honor django's generated error formats (#67760) 4 months ago