Commit Graph
3588 Commits
Author SHA1 Message Date
Jérôme Lebleu 3eebd3fc15 Add migration to disable disabled accounts' aliases 2021-01-28 15:21:03 +01:00
Antoine NguyenandGitHub 3f96bc7e42 Merge pull request #2092 from vthg2themax/patch-1
Add some helpful tips to new developers
2021-01-26 16:07:58 +01:00
Antoine NguyenandGitHub c59249d072 Merge branch 'master' into patch-1 2021-01-26 15:54:53 +01:00
Antoine NguyenandGitHub 9042ee86d4 Merge pull request #2140 from modoboa/dependabot/pip/django-reversion-3.0.9
Bump django-reversion from 3.0.8 to 3.0.9
2021-01-26 15:54:13 +01:00
Antoine NguyenandGitHub b392ee257f Merge branch 'master' into dependabot/pip/django-reversion-3.0.9 2021-01-26 15:45:06 +01:00
Antoine NguyenandGitHub e43ab2761b Merge pull request #2141 from jeromelebleu/fix/disable-internal-alias
Disable internal alias too with the account
2021-01-26 15:44:26 +01:00
Antoine NguyenandGitHub eb6c21b2e9 Merge branch 'master' into fix/disable-internal-alias 2021-01-26 15:11:27 +01:00
Antoine NguyenandGitHub 75d27d0862 Merge pull request #2143 from jeromelebleu/fix/tests-update
Resynchronize the package index in tests
2021-01-26 15:09:57 +01:00
Jérôme Lebleu 63a8e84353 Resynchronize the package index in tests 2021-01-26 12:25:03 +01:00
Jérôme Lebleu 0010035c89 Disable internal alias too with the account (fix #2120) 2021-01-26 11:13:55 +01:00
dependabot[bot]andGitHub 59af8feb18 Bump django-reversion from 3.0.8 to 3.0.9
Bumps [django-reversion](https://github.com/etianen/django-reversion) from 3.0.8 to 3.0.9.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/etianen/django-reversion/compare/v3.0.8...v3.0.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-25 08:58:26 +00:00
Antoine NguyenandGitHub d54c0771b6 Merge pull request #2124 from modoboa/dependabot/pip/testfixtures-6.17.1
Bump testfixtures from 6.16.0 to 6.17.1
2021-01-25 09:57:33 +01: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
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>Christophe CHAUVET
633fd07626 Apply translations in zh_CN (#2121)
translation completed for the source file '/modoboa/locale/en/LC_MESSAGES/djangojs.po'
on the 'zh_CN' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2021-01-20 07:30:01 +00:00
dependabot[bot]andGitHub 9df210b869 Bump testfixtures from 6.16.0 to 6.17.1
Bumps [testfixtures](https://github.com/Simplistix/testfixtures) from 6.16.0 to 6.17.1.
- [Release notes](https://github.com/Simplistix/testfixtures/releases)
- [Changelog](https://github.com/Simplistix/testfixtures/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/Simplistix/testfixtures/compare/6.16.0...6.17.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 08:49:57 +00:00
Antoine NguyenandGitHub fb35e7c18c Merge pull request #2114 from modoboa/dependabot/pip/mysqlclient-lt-2.0.4
Update mysqlclient requirement from <2.0.3 to <2.0.4
2021-01-18 09:16:27 +01:00
dependabot[bot]andGitHub b23ba59912 Update mysqlclient requirement from <2.0.3 to <2.0.4
Updates the requirements on [mysqlclient](https://github.com/PyMySQL/mysqlclient) to permit the latest version.
- [Release notes](https://github.com/PyMySQL/mysqlclient/releases)
- [Changelog](https://github.com/PyMySQL/mysqlclient/blob/master/HISTORY.rst)
- [Commits](https://github.com/PyMySQL/mysqlclient/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 05:03:24 +00:00
Antoine NguyenandGitHub 01cb69a06a Merge pull request #2107 from modoboa/update-issue-templates
Update Issue Template and links
2020-12-28 14:33:52 +01:00
Christophe CHAUVET 74e661be8d Replace Framework by Software 2020-12-28 14:13:54 +01:00
Christophe CHAUVET b531370766 Update Issue Template and links 2020-12-28 08:45:13 +01:00
transifex-integration[bot]GitHubtransifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>Christophe CHAUVET
7d96a6b1f1 Apply translations in de (#2085)
translation completed for the source file '/modoboa/locale/en/LC_MESSAGES/djangojs.po'
on the 'de' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-12-12 08:31:12 +00:00
36a04fec09 Update the connection string for beginners (#2095)
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-12-12 07:46:46 +00:00
Antoine NguyenandGitHub 7037d6a981 Merge pull request #2099 from modoboa/dependabot/pip/mysqlclient-lt-2.0.3
Update mysqlclient requirement from <2.0.2 to <2.0.3
2020-12-11 10:01:51 +01:00
dependabot[bot]andGitHub 3a9f825e8f Update mysqlclient requirement from <2.0.2 to <2.0.3
Updates the requirements on [mysqlclient](https://github.com/PyMySQL/mysqlclient) to permit the latest version.
- [Release notes](https://github.com/PyMySQL/mysqlclient/releases)
- [Changelog](https://github.com/PyMySQL/mysqlclient/blob/master/HISTORY.rst)
- [Commits](https://github.com/PyMySQL/mysqlclient/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 08:52:27 +00:00
Antoine NguyenandGitHub 29bfcdefc0 Merge pull request #2098 from modoboa/dependabot/pip/testfixtures-6.16.0
Bump testfixtures from 6.15.0 to 6.16.0
2020-12-11 09:51:33 +01:00
dependabot[bot]andGitHub 865ac83f86 Bump testfixtures from 6.15.0 to 6.16.0
Bumps [testfixtures](https://github.com/Simplistix/testfixtures) from 6.15.0 to 6.16.0.
- [Release notes](https://github.com/Simplistix/testfixtures/releases)
- [Changelog](https://github.com/Simplistix/testfixtures/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/Simplistix/testfixtures/compare/6.15.0...6.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-10 05:01:10 +00:00
Vince PikeandGitHub 3fb01e9321 Add some helpful tips to new developers
Added a helpful description to new developers stuck.
2020-12-02 12:51:38 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
268414ace8 Update djangorestframework requirement from <3.12,>=3.11 to >=3.11,<3.13 (#2052)
Updates the requirements on [djangorestframework](https://github.com/encode/django-rest-framework) to permit the latest version.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.11.0...3.12.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 20:29:31 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
eca303ee30 Bump django-reversion from 3.0.5 to 3.0.8 (#2060)
Bumps [django-reversion](https://github.com/etianen/django-reversion) from 3.0.5 to 3.0.8.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/etianen/django-reversion/compare/v3.0.5...v3.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 20:17:55 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Christophe CHAUVET
2ab3bc3956 Bump feedparser from 5.2.1 to 6.0.2 (#2068)
Bumps [feedparser](https://github.com/kurtmckee/feedparser) from 5.2.1 to 6.0.2.
- [Release notes](https://github.com/kurtmckee/feedparser/releases)
- [Changelog](https://github.com/kurtmckee/feedparser/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/kurtmckee/feedparser/compare/5.2.1...6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christophe CHAUVET <christophe.chauvet@gmail.com>
2020-11-10 18:55:39 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
21d101b6d6 Bump jsonfield from 2.0.2 to 3.1.0 (#2053)
Bumps [jsonfield](https://github.com/rpkilby/jsonfield) from 2.0.2 to 3.1.0.
- [Release notes](https://github.com/rpkilby/jsonfield/releases)
- [Changelog](https://github.com/rpkilby/jsonfield/blob/master/CHANGES.rst)
- [Commits](https://github.com/rpkilby/jsonfield/compare/2.0.2...3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-10 17:16:35 +00:00
Christophe CHAUVETandGitHub bbe4528a4a Use GH Actions instead of travis 2020-11-10 17:45:17 +01:00
Antoine NguyenandGitHub 89210f1729 Merge pull request #2072 from modoboa/feature/spectacular
Added drf-spectacular.
2020-11-10 16:52:01 +01:00
Antoine Nguyen 304ee7e8fb Fixed unit test. 2020-11-10 16:25:22 +01:00
Antoine Nguyen b9720c1837 Fixed unit tests. 2020-11-10 16:07:34 +01:00
Antoine NguyenandGitHub ce45986b4e Merge pull request #2050 from modoboa/dependabot/pip/mysqlclient-lt-2.0.2
Update mysqlclient requirement from <=1.4.99 to <2.0.2
2020-11-10 15:37:17 +01:00
Antoine Nguyen e4f5a25e64 Added missing test config. 2020-11-09 21:56:48 +01:00
Antoine Nguyen a15a35a625 Added missing setting. 2020-11-09 21:22:19 +01:00
Antoine Nguyen 78a772eaf1 Added description for domain viewset routes. 2020-11-09 21:20:18 +01:00
Antoine Nguyen 591f9b9a1d Added drf-spectacular.
fix #2071
2020-11-09 20:55:40 +01:00
dependabot-preview[bot]andGitHub 9075eb4d0a Update mysqlclient requirement from <=1.4.99 to <2.0.2
Updates the requirements on [mysqlclient](https://github.com/PyMySQL/mysqlclient-python) to permit the latest version.
- [Release notes](https://github.com/PyMySQL/mysqlclient-python/releases)
- [Changelog](https://github.com/PyMySQL/mysqlclient-python/blob/master/HISTORY.rst)
- [Commits](https://github.com/PyMySQL/mysqlclient-python/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 19:53:38 +00:00
Antoine Nguyen 3c5db03a65 Updated badges. 2020-11-09 20:52:48 +01: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
Antoine Nguyen b6b07f2d15 Removed old reference to stats plugin in doc. 2020-11-05 15:57:54 +01:00
Antoine Nguyen f2f3463a17 Updated translations. 2020-11-05 15:49:32 +01:00
Christophe CHAUVETandGitHub 7f94090cb2 On Mergify add the revue by one maintainer 2020-10-30 13:19:43 +01:00
Christophe CHAUVETandGitHub f91ac728fa Add database information 2020-10-30 09:20:25 +01:00
Christophe CHAUVETandGitHub 28b41c6951 Update ISSUE_TEMPLATE.md 2020-10-30 09:01:18 +01:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
e4dbb430e5 Bump httmock from 1.3.0 to 1.4.0 (#2074)
Bumps [httmock](https://github.com/patrys/httmock) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/patrys/httmock/releases)
- [Commits](https://github.com/patrys/httmock/compare/1.3.0...1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 05:20:03 +00:00
dependabot-preview[bot]GitHubdependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
e93cb49a8d Bump testfixtures from 6.10.3 to 6.15.0 (#2049)
Bumps [testfixtures](https://github.com/Simplistix/testfixtures) from 6.10.3 to 6.15.0.
- [Release notes](https://github.com/Simplistix/testfixtures/releases)
- [Changelog](https://github.com/Simplistix/testfixtures/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/Simplistix/testfixtures/compare/6.10.3...6.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-24 18:45:04 +00:00