Frédéric Péters
5e7f1599f5
translation update
gitea/hobo/pipeline/head This commit looks good
Details
2023-05-30 08:37:21 +02:00
Frédéric Péters
aee3fb8093
applications: add possibility to define parameters ( #76463 )
2023-05-30 08:34:08 +02:00
Frédéric Péters
5f0177d901
debian: apply new pre-commit-debian ( #77727 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-05-27 21:40:25 +02:00
Frédéric Péters
2a99cb04d7
ci: upgrade pre-commit-debian ( #77727 )
2023-05-27 21:40:10 +02:00
Valentin Deniaud
c03b743a58
agent: save role slug during provisionning ( #77487 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-05-11 17:25:06 +02:00
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.
2023-05-03 09:09:46 +02:00
Benjamin Dauvergne
f805a4ab31
translation update
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-21 10:25:19 +02:00
Benjamin Dauvergne
35e6872ec3
profile: disable searchable for first_name and last_name fields ( #76673 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-21 10:18:10 +02:00
Frédéric Péters
255e9c83a6
translation update
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-17 19:49:40 +02:00
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
2023-04-17 18:04:37 +02:00
Lauréline Guérin
508fcc9999
applications: add visible flag ( #75115 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-17 16:26:25 +02:00
Lauréline Guérin
a1e8c69eef
applications: unlink app in services on deletion ( #74659 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-17 15:26:24 +02:00
Lauréline Guérin
3bb0a0c3ca
applications: declare an app to services on version generation ( #74659 )
2023-04-17 15:26:24 +02:00
Benjamin Dauvergne
c2e6ad7214
misc: remove logging when installing get_full_name customization ( #76676 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-15 14:52:32 +02:00
Frédéric Péters
bb21ef72e7
misc: close files ( #76433 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-14 07:53:58 +02:00
Frédéric Péters
ead891796a
applications: add missing </form> ( #76464 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-10 10:53:52 +02:00
Frédéric Péters
bcb7a28797
applications: fix category match check when filtering elements ( #76462 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-04-10 09:24:06 +02:00
Valentin Deniaud
fba64847fa
misc: use new JSONField location in migrations ( #75442 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-03-29 16:30:23 +02:00
Valentin Deniaud
210b2a87e0
misc: fix Django 3.2 default auto field warning ( #75442 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-03-29 14:49:55 +02:00
Valentin Deniaud
670bafd12a
misc: bump djhtml version ( #75442 )
2023-03-29 14:49:55 +02:00
Valentin Deniaud
4c419c0695
misc: bump black version ( #75442 )
2023-03-29 14:49:55 +02:00
Valentin Deniaud
c5d83eb864
misc: change pyupgrade target version to 3.9 ( #75442 )
2023-03-29 14:49:55 +02:00
Valentin Deniaud
cebdcf5bbf
misc: change django-upgrade target version to 3.2 ( #75442 )
2023-03-29 14:49:55 +02:00
Valentin Deniaud
95d05a0f87
misc: require django 3.2 ( #75442 )
2023-03-29 12:10:25 +02:00
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.
2023-03-16 16:30:50 +01:00
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.
2023-03-16 16:30:50 +01:00
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.
2023-03-16 16:30:50 +01:00
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
2023-03-16 16:30:50 +01:00
Valentin Deniaud
c04fb9ab39
ci: remove Django 2.2 target ( #75507 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-03-16 12:05:26 +01:00
Valentin Deniaud
c766be2305
multitenant: pass --skip-checks to migrate command ( #74968 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-03-01 12:05:32 +01:00
Frédéric Péters
6ed101d94e
translation update
gitea/hobo/pipeline/head This commit looks good
Details
2023-03-01 09:16:15 +01:00
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
2023-02-28 14:52:30 +01:00
Paul Marillonnet
5956ce4036
profile: add user full name template definition popup ( #74507 )
2023-02-28 14:52:28 +01:00
Emmanuel Cazenave
92f827d9f6
sms: authorize underscore in sms_sender ( #74219 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-02-24 06:57:50 +01:00
Frédéric Péters
266f691c99
ci: update .tar.gz URLs for gitea ( #74713 )
gitea/hobo/pipeline/head This commit looks good
Details
2023-02-22 16:38:04 +01:00
Agate
3d4f80d8e3
Prepare Jenkinsfile for Gitea migration ( #74572 )
gitea/hobo/pipeline/head Something is wrong with the build of this commit
Details
2023-02-20 15:07:51 +01:00
Paul Marillonnet
3e6d5eaaf5
environment: allow templated sites variable values ( #74500 )
gitea-wip/hobo/pipeline/pr-main This commit looks good
Details
2023-02-14 11:54:41 +01:00
Frédéric Péters
fe64b31ba2
translation update
2023-02-10 11:07:08 +01:00
Agate
6b76f3c3eb
user: allow customization of User.get_full_name() through templates ( #72945 )
2023-02-10 09:14:07 +01:00
Thomas NOËL
b6662414dc
fix isort errors
2023-02-10 02:09:21 +01:00
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
2023-02-10 00:38:28 +01:00
Lauréline Guérin
13f0821c66
applications: fix Element type size ( #74233 )
gitea-wip/hobo/pipeline/pr-main This commit looks good
Details
2023-02-06 17:50:05 +01:00
Frédéric Péters
88d1681a12
ci: upgrade isort ( #74044 )
2023-02-01 09:43:24 +01:00
Benjamin Dauvergne
b3520030f5
tests: improve search of a free TCP port ( #72645 )
2023-01-31 17:36:13 +01:00
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.
2023-01-30 14:54:37 +01:00
Emmanuel Cazenave
9bc96520ac
django32: use public API to clear caches ( #67760 )
2023-01-30 14:53:15 +01:00
Emmanuel Cazenave
b9e4dab140
django32: honor django's generated error formats ( #67760 )
2023-01-30 14:53:15 +01:00
Benjamin Dauvergne
3ac54aa650
django32: implement clear_tenants_settings as a global function ( #67760 )
...
Django 3.2 introduced a constraint on the access of settings object
attributes, they can only be in uppercase. As clear_tenants_settings is
only used by tests on the multitenant framework, clear_tenants_settings
is reimplemented as a global function using a global variable
_tenant_settings_wrapper to access the global multitenant aware wrapper
around the setting object.
2023-01-30 14:53:15 +01:00
Emmanuel Cazenave
f05596a088
django32: check message content directly in the page ( #67760 )
...
Which is the point of interest anyway.
https://code.djangoproject.com/ticket/32191 for details on why it is not possible anymore to check the plain text in the response header.
2023-01-30 14:53:15 +01:00
Agate
4a1cfa5a16
django32: do not instanciate ServiceBase abstract model ( #67760 )
2023-01-30 14:53:15 +01:00