Commit Graph

108 Commits

Author SHA1 Message Date
Frédéric Péters 0ee80d80a1 tox: get additional modules using https (via #46904#note-2) 2020-09-24 20:08:06 +02:00
Benoit Suttor e3e700da84 Remove possiblity to update user password 2020-07-29 10:47:21 +02:00
Benoit Suttor a242c505cc Do not save json if write permission is not set 2020-07-29 10:45:28 +02:00
Benoit Suttor c1bf8135c3 feat(testing): set password for user imported with raw password 2020-07-16 13:57:00 +02:00
Benoit Suttor 9ddaf8f309 Readd save json; need to fix tests before removing it 2020-07-15 10:45:09 +02:00
Benoit Suttor 149b45e355 Do not save content on imported json file after processing it; we don't need this anymore, we will use api to get client id and secret 2020-07-15 10:29:48 +02:00
Frédéric Péters ce0b0a7ee1 tox: remove py2 environments 2020-07-14 10:17:52 +02:00
Benoit Suttor 4e36d1754c Change administrateur role name ref: #44974 2020-07-14 10:02:31 +02:00
Benjamin Dauvergne 0f480f9208 roles: update_ous_roles() on post_migrate signal 2020-05-16 13:31:31 +02:00
Benjamin Dauvergne ad78ec407f tox.ini: does not skip install with pylint 2020-05-16 13:31:00 +02:00
Benoit Suttor 71ef9eaa7f Add access role to admin 2020-05-13 12:38:44 +02:00
Benjamin Dauvergne bced7c52de tox.ini: use xunit2 format for pytest results 2020-05-12 23:13:57 +02:00
Benjamin Dauvergne 9bd20d5307 tox.ini: always enable usedevelop 2020-05-12 23:11:17 +02:00
Benjamin Dauvergne 7881d7c6d0 Jenkinsfile: use virtualenv to install tox 2020-05-12 23:09:50 +02:00
Benjamin Dauvergne 4bb0f21480 tox.ini: refactor and adapt for py3 and dj22 (#42801) 2020-05-12 23:03:00 +02:00
Benjamin Dauvergne d377e55090 py3: prevent use of bytes in get_version (#42801) 2020-05-12 22:25:11 +02:00
Benjamin Dauvergne 7e65d7bb01 tests: define ALLOWED_HOSTS (#42801) 2020-05-12 22:13:45 +02:00
Benjamin Dauvergne ba99251e38 dj22: use .set() to define M2M relations (#42801) 2020-05-12 22:13:43 +02:00
Benjamin Dauvergne 1b33f641b2 dj22: import reverse from django.urls (#42801) 2020-05-12 22:13:41 +02:00
Benjamin Dauvergne 6190f941ad py3: use unicode literals (#42801) 2020-05-12 22:13:20 +02:00
Benoit Suttor 015552d53c feat: add authorized_role to oidc client 2020-05-12 18:22:01 +02:00
Christophe Siraut e49f65e459 Jenkinsfile: use default distribution target (#41301) 2020-04-24 13:53:33 +02:00
Benjamin Dauvergne d62ee2fc7b tests: do not fail if settings are loaded multiple times 2020-03-15 10:20:57 +01:00
Benjamin Dauvergne 868ac78377 Customize admin roles (#35737) 2020-02-14 16:48:13 +01:00
Benoit Suttor e151061a00 Do not check password on test 2020-02-13 11:52:26 +01:00
Benoit Suttor 2a3ce0d3dc Do not check password on test because it's no more useful 2020-02-13 11:30:51 +01:00
Benoit Suttor 1d333c5a70 Add passwords don't come to Plone 2020-02-13 11:08:54 +01:00
Benoit Suttor d323c71a6a Check if password is in json and add services from other municipality 2020-02-13 10:53:23 +01:00
Benoit Suttor f91ba841c1 Try to set accent pass tests 2020-02-05 12:52:38 +01:00
Benoit Suttor decaea5265 Get default collectivity if any 2020-02-05 12:17:55 +01:00
Benoit Suttor a0f6810d27 Remove old update 2020-02-03 15:42:53 +01:00
Benoit Suttor b61bec7095 Verify if value are list before update services 2020-02-03 14:30:50 +01:00
Benoit Suttor 28001aef94 Use slug instead of name for acces role name 2020-01-30 17:25:32 +01:00
Frédéric Péters e8f117bde9 add support for identifier_policy to import command 2020-01-29 15:31:49 +01:00
Frédéric Péters ba9e04e352 check claims are strings using six.string_types 2020-01-29 15:10:20 +01:00
Frédéric Péters d50a6c9de8 debian: add a python3 variant 2020-01-29 13:23:17 +01:00
Frédéric Péters 58bfdb3a81 tox: limit pylint version 2020-01-29 13:15:35 +01:00
Frédéric Péters 76f703952b ignore *.pyc 2020-01-29 13:13:48 +01:00
Frédéric Péters 3a452023f8 tests: remove manual setup of INSTALLED_APPS 2020-01-29 13:13:26 +01:00
Frédéric Péters 2c09c76b84 rename authentic2-cut references 2020-01-29 13:12:14 +01:00
Frédéric Péters 5d9f35c326 misc: declare as authentic plugin for autodiscovery 2020-01-29 13:10:49 +01:00
Benoit Suttor 5798f02c7f Add gitignore 2020-01-29 11:50:57 +01:00
Frédéric Péters fde22315a6 misc: take into account change of json format 2020-01-29 11:50:11 +01:00
Benoit Suttor ceb39e4943 Pin PIllow 2020-01-29 11:32:15 +01:00
Benoit Suttor 7328ec569b Update tests 2020-01-29 11:32:07 +01:00
Benoit Suttor cb461afe6c Use list of municipalities to add all municipalities 2020-01-29 11:14:42 +01:00
Benoit Suttor 0c8dab26cb Become black compliant 2020-01-29 11:05:23 +01:00
Emmanuel Cazenave ba441a659a jenkins: use ci@entrouvert.org for notifications 2019-10-02 13:38:56 +02:00
Benjamin Dauvergne db79f3fda5 wc-base-import: set default or custom OIDC claims (#35215) 2019-09-10 19:21:42 +02:00
Benjamin Dauvergne 4404006332 wc-base-import: generate client_id and client_secret if absent (#35215) 2019-09-10 19:16:32 +02:00