Compare commits

..

6 Commits

Author SHA1 Message Date
Frédéric Péters 01f5ba9b7a ci: test against trixie (#78771)
gitea/publik-devinst/pipeline/head There was a failure building this commit Details
2024-02-02 10:40:15 +01:00
Emmanuel Cazenave 15e4d19d3f allow entering home (#85371)
gitea/publik-devinst/pipeline/head This commit looks good Details
2024-01-17 10:32:21 +01:00
Emmanuel Cazenave 1e7528bc2f pin python-memcached (#85374)
gitea/publik-devinst/pipeline/head This commit looks good Details
2024-01-08 14:09:26 +01:00
Emmanuel Cazenave 796fb1ac27 agent: use wcs-manage to run hobo_deploy/notify commands (#82021)
gitea/publik-devinst/pipeline/head This commit looks good Details
2023-11-27 14:59:20 +01:00
Benjamin Dauvergne 702060e25e install XStatic dependencies together (#81689)
gitea/publik-devinst/pipeline/head This commit looks good Details
2023-09-27 14:12:17 +02:00
Valentin Deniaud 6a298e8830 misc: remove A2_USERNAME_LABEL value in authentic settings (#80222)
gitea/publik-devinst/pipeline/head This commit looks good Details
2023-08-02 17:50:35 +02:00
3 changed files with 27 additions and 10 deletions

View File

@ -12,9 +12,6 @@ TENANT_SETTINGS_LOADERS = ('hobo.multitenant.settings_loaders.Authentic',) + TEN
# Add authentic2 hobo agent
INSTALLED_APPS = ('hobo.agent.authentic2',) + INSTALLED_APPS
# Default login's form username label
A2_USERNAME_LABEL = _('Email')
# Rest Authentication Class for services access
REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] += (
'authentic2.authentication.Authentic2Authentication',

View File

@ -78,11 +78,36 @@
name: "django-debug-toolbar<3"
virtualenv: "{{venv_py3}}"
# See
# https://dev.entrouvert.org/issues/81689
# https://dev.entrouvert.org/issues/78773
# https://github.com/pypa/setuptools/issues/3824#issuecomment-1432964898
# https://github.com/xstatic-py/xstatic/commit/1d687bef3d8cfad66213e8cf9e96e0aa17aae198
- name: install xstatic
pip:
name:
- "XStatic"
- "XStatic-ChartNew.js"
- "XStatic-jQuery"
- "XStatic-jquery-ui"
- "XStatic-Leaflet"
- "XStatic-Leaflet-GestureHandling"
- "XStatic-Leaflet-MarkerCluster"
- "XStatic_OpenSans"
- "XStatic_roboto-fontface>=0.5.0.0"
- "XStatic-Select2"
virtualenv: "{{venv_py3}}"
- name: install pytest
pip:
name: pytest
virtualenv: "{{venv_py3}}"
- name: "allow entering home"
ansible.builtin.file:
path: "/home/{{user}}"
mode: "o+x"
- name: "create {{src_dir}} directory"
file:
path: "{{src_dir}}"
@ -221,8 +246,8 @@
- source
- name: install python-memcached
pip:
name: python-memcached
ansible.builtin.pip:
name: python-memcached==1.59
virtualenv: "{{venv_py3}}"
- name: source install django-ckeditor

View File

@ -7,13 +7,8 @@ BROKER_URL = 'amqp://'
AGENT_HOST_PATTERNS = None
{% for appkey, app in apps.items() %}
{% if appkey == 'wcs' %}
WCS_MANAGE_COMMAND = "{{venv_py3_bin}}/wcsctl.py -f {{publik_settings}}/wcs/wcs.cfg"
WCS_MANAGE_TRY_COMMAND = "{{venv_py3_bin}}/wcsctl.py"
{% else %}
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND = "{{venv_py3_bin}}/{{app['project_name']}}-manage"
{% filter upper %}{{appkey}}{% endfilter %}_MANAGE_TRY_COMMAND = {% filter upper %}{{appkey}}{% endfilter %}_MANAGE_COMMAND
{% endif %}
{% endfor %}