Commit Graph
39 Commits
Author SHA1 Message Date
Antoine Nguyen db0b7eb79d New fixes 2025-02-18 15:54:59 +01:00
Antoine Nguyen f202b702df New fixes 2025-02-18 15:11:18 +01:00
Antoine Nguyen 89cc0cf2a3 Code reformatted using black 2024-02-20 21:45:07 +01:00
Spitap 3ba8c5cdfd Removed deprecation 2023-05-04 08:17:29 +02:00
Spitap a38ade3723 Updated translations 2023-04-20 11:31:32 +02:00
transifex-integration[bot]andGitHub e9d3b892ee Apply translations in cs
100% translated for the source file 'modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'cs' language.
2023-03-31 11:27:59 +00:00
transifex-integration[bot]andGitHub ccd77dcac4 Apply translations in de_DE
100% translated for the source file 'modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'de_DE' language.
2023-03-26 20:56:27 +00:00
Ossi Mantylahti 056942c82f [IMP] Rest of Finnish translations
Rest of Finnish language translations.
2023-02-17 22:12:49 +02:00
transifex-integration[bot]andGitHub cc49f238d8 Apply translations in si
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'si' language.
2022-03-22 13:16:23 +00:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
48d2491df4 Apply translations in uk (#2224)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'uk' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-05-10 12:28:11 +00:00
transifex-integration[bot]andGitHub f5618eef3b Apply translations in ro_RO
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'ro_RO' language.
2021-04-19 19:33:10 +00:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
fda59b51e1 Apply translations in it (#2179)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'it' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-02-19 06:00:55 +00:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
3101f30b67 Apply translations in zh_CN (#2122)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'zh_CN' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2021-01-20 07:39:21 +00:00
02efd7f0e3 POC replace travis by Github Actions (#2066)
* POC replace travis by Github Actions

* add libldap2-dev

* add libsasl2-dev libssl-dev

* Delete .travis.yml

* Add specific configuration for PostgreSQL

* Retrieve PostgreSQL or MySQL port from env var

* Print affected port for the docker service

* Add Database type and dburl

* Fix dbtype

* Use environment variable to define the port in use for tests.

* Configured password for postgres connection.

* Added redis service.

* Enabled OpenLDAP service.

* Use a container for OpenLDAP too.

* Removed wrong option.

* Fixed volume syntax.

* Try using the option directly.

* Try using an absolute path.

* Fixed wrong syntax.

* Try different format for env variable.

* Try a different way to load data.

* Added missing method call.

* Fix envar

* Try to wait a bit before starting tests.

* Display openldap service logs.

* Fixed ldif scripts path.

* Try to use a custom docker image.

* Try to provide credentials.

* Try with github token.

* use main reference

* Changed LDAP Admin password.

* Added debug.

* Added more debug

* Removed debug.

* dd test for MySQL

* Fix name

* Test is independant

* Link build

* add envar DB for MySQL

* remove depends

* fix fast failed

* fix mysql user

* Use 127.0.0.1 to force for IPv4

* For parameters for MySQL

* Database name test_modoboa

* change mysql user to launch test

* Move to the last mysql version

lose connection on 5.7

* TEst some timout parameters

* remove bad parameters

* Add CONN_MAX_AGE parameters

* Add docker logs

* Try to reset db connections before we spawn processes.

* POC replace travis by Github Actions

* add libldap2-dev

* add libsasl2-dev libssl-dev

* Delete .travis.yml

* Add specific configuration for PostgreSQL

* Retrieve PostgreSQL or MySQL port from env var

* Print affected port for the docker service

* Add Database type and dburl

* Fix dbtype

* Use environment variable to define the port in use for tests.

* Configured password for postgres connection.

* Added redis service.

* Enabled OpenLDAP service.

* Use a container for OpenLDAP too.

* Removed wrong option.

* Fixed volume syntax.

* Try using the option directly.

* Try using an absolute path.

* Fixed wrong syntax.

* Try different format for env variable.

* Try a different way to load data.

* Added missing method call.

* Fix envar

* Try to wait a bit before starting tests.

* Display openldap service logs.

* Fixed ldif scripts path.

* Try to use a custom docker image.

* Try to provide credentials.

* Try with github token.

* use main reference

* Changed LDAP Admin password.

* Added debug.

* Added more debug

* Removed debug.

* dd test for MySQL

* Fix name

* Test is independant

* Link build

* add envar DB for MySQL

* remove depends

* fix fast failed

* fix mysql user

* Use 127.0.0.1 to force for IPv4

* For parameters for MySQL

* Database name test_modoboa

* change mysql user to launch test

* Move to the last mysql version

lose connection on 5.7

* TEst some timout parameters

* remove bad parameters

* Add CONN_MAX_AGE parameters

* Add docker logs

* Try to reset db connections before we spawn processes.

* Add relase on pypi (test server first)

* Fix setuptools scm to fix upload on Pypi test

* Retrieve all repos when publish on pypi

* if file exists, skip it

* Deploy only on master

* Added python 3.5 in matrix.

* Removed comments.

* Add translation and codecov

* Missing argument for upload in production

* fix bad indentation

* move codecov

* Codecov only in one build

* fix command

* Try to run codecov after PG tests.

* Fixed expressions syntax.

* Fixed path issue.

* Fixed path issue.

* Try workflow_run statement.

* Removed useless triggers.

* Test trigger on one workflow

* Another test

* Exclude master and main branch

* Regroup all steps in one workflow.

* Fixed typo

* Fixed bad syntax

* Added missing requirement.

* Push on Pypi Test only on master branch

Co-authored-by: Antoine Nguyen <tonio@ngyn.org>
2020-11-09 20:44:48 +01:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
baa19be556 Apply translations in sv (#2018)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'sv' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2020-10-23 14:17:58 +02:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
97df1b6b5d Apply translations in pl_PL (#2017)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'pl_PL' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2020-10-23 14:17:21 +02:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
c891724b5d Apply translations in nl_NL (#2025)
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'nl_NL' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2020-10-23 14:15:00 +02:00
Antoine NguyenandGitHub 47adddeb07 Merge pull request #2000 from modoboa/translations_modoboa-ldapsync-locale-en-lc-messages-django-po--master_de
Translate '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po' in 'de'
2020-08-10 18:40:38 +02:00
transifex-integration[bot]andGitHub 4ba7b178d2 Apply translations in de
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'de' language.
2020-08-04 13:53:18 +00:00
transifex-integration[bot]andGitHub ce78adf136 Apply translations in sk_SK
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'sk_SK' language.
2020-07-24 19:59:11 +00:00
Antoine NguyenandGitHub c5b32982e1 Merge pull request #1983 from modoboa/translations_modoboa-ldapsync-locale-en-lc-messages-django-po--master_no
Translate '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po' in 'no'
2020-06-22 17:14:20 +02:00
transifex-integration[bot]andGitHub d9ef4ac517 Apply translations in no
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'no' language.
2020-06-21 14:57:08 +00:00
transifex-integration[bot]andGitHub 6311e39c0b Apply translations in fr
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'fr' language.
2020-05-11 18:46:36 +00:00
transifex-integration[bot]andGitHub 3a46d7ec95 Apply translations in fr
translation completed for the source file '/modoboa/ldapsync/locale/en/LC_MESSAGES/django.po'
on the 'fr' language.
2020-05-11 11:38:25 +00:00
Antoine Nguyen 9a3ce1b76d Updated translations. 2020-05-06 13:23:37 +02:00
Antoine Nguyen 49017ac374 Fixed pep8 issues. 2020-05-05 21:50:12 +02:00
Clément RivièreandGitHub 8fa842d92c LDAP Authentication - Webmail / Dovecot (#1876)
* Adding settings options for dovecot ldap sync

* Creating update_dovecot_conf command

* Adding async command to update dovecot ldap conf

* Adding unit tests

* Adding port to dovecot generated uris & unit tests

* Code improvement & doc update & tests update
2020-05-05 21:36:29 +02:00
Antoine Nguyen cd0da40593 Fixed unit test. 2020-04-02 10:03:21 +02:00
Antoine Nguyen c4f876e0c1 ldap import: avoid duplicated entries. 2020-04-02 09:55:34 +02:00
Antoine Nguyen 6f2bca12f1 LDAP sync: skip when no DN is found. 2020-03-30 09:54:18 +02:00
Antoine Nguyen ec0f276b3f Updated translations files. 2020-03-20 13:19:44 +01:00
Antoine NguyenandGitHub a086a1b81c New management command to import LDAP accounts. (#1845)
* New management command to import LDAP accounts.

see #1844
2020-02-24 09:14:03 +01:00
Antoine Nguyen 4f5f8ba3fa Added support for a secondary LDAP server.
see #1842
2020-02-17 17:27:25 +01:00
Jérôme Lebleu 09434afd9e Remove usage of six 2020-01-07 10:16:54 +01:00
Jérôme Lebleu 74d66c00a0 Update imports for Python 3.4+ 2020-01-07 10:16:54 +01:00
Jérôme LebleuandAntoine Nguyen db12a4aeef test: skip ldapsync if it is not available 2020-01-07 09:34:39 +01:00
Antoine Nguyen da24e2c877 ldapsync: do not sync empty passwords. 2019-06-07 17:21:48 +02:00
Antoine Nguyen e74a45095f Updated translations. 2019-05-07 11:30:30 +02:00
Antoine NguyenandGitHub ab592c3d02 LDAP synchronization process (#1732)
* Initial commit for LDAP sync process.

* Fixed unit tests.

* Added doc and run ldapsync tests on travis.

* Removed server address.

* Force bytes when calling ldap methods.

* Fixed tests compat with python2.

* Do not force bytes here.

* Force bytes.

* Force bytes for attribute names too.

* Disable bytes mode in PY2.

* Handle account removals.

* Fixed unit tests.

* Limit sync to simple users.

* Fixed unit test.

* Fixed unit test.
2019-05-07 10:48:00 +02:00