Commit Graph
70 Commits
Author SHA1 Message Date
Antoine Nguyen 74984d3420 Import / export features 2022-04-21 18:13:08 +02:00
Antoine Nguyen f234dc9544 Fixed packaging issues. 2021-08-25 17:58:55 +02:00
Jérôme Lebleu 6a1c31c9ba Added support for Python 3.9 and dropped <3.7 2021-07-05 18:30:32 +02: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 c71b3b0b05 Updated setup.py 2020-10-02 15:49:03 +02:00
Antoine Nguyen e27912e1aa Good fix this time? 2020-05-06 14:53:40 +02:00
Antoine Nguyen 118ede4158 Fixed setup.py issue. 2020-05-06 14:48:07 +02:00
Antoine Nguyen 5f2fbb2b75 Make setup.py compatible with newer pip versions. 2020-05-06 14:42:48 +02:00
Antoine Nguyen 559519d43a Fixed packaging issue. 2020-05-06 14:01:47 +02:00
Jérôme Lebleu b665cc442d Update setup.py and add python_requires 2020-01-07 10:16:54 +01:00
Jérôme Lebleu 4c4c08d453 Drop Python 2.7 from tests and doc 2020-01-07 10:16:54 +01:00
jeromelebleuandAntoine Nguyen 793dba96cb Make dependency to argon2 optional (#1701) 2019-05-17 09:29:06 +02:00
Andrew FyfeandChristophe CHAUVET f604aacb61 PEP508 markers in requirements.txt have been broken since dfabe89 (#1464)
fixes modoboa/modoboa-installer#197
2018-04-12 21:38:35 +02:00
Andrew Fyfe f64cdb1a93 temporary solution for pip 10 internals moving to pip._internal 2018-03-31 14:45:16 +01:00
Andrew Fyfe 86d758d841 revert #1439 changes
adding external dependencies to setup.py was a bad idea
2018-03-31 14:45:15 +01:00
Andrew Fyfe be5e689cac remove dependency on pip internals
closes #1438
2018-03-19 19:03:06 +00:00
Andrew Fyfe 24a7ca6a9e sort imports using isort
pip install isort
isort -y
2018-02-03 00:43:59 +00:00
Andrew Fyfe b4c0be2c9b add extra optional packages
Add the ability to install optional packages when installing modoboa. For example if I wanted to use modoboa with PostgreSQL `pip install modoboa[postgresql]`, or if I wanted MySQL and LDAP support `pip install modoboa[mysql,ldap]`

mysqlclient minimum version has been pined to 1.3.11 due to an issue with MariaDB 10 (#1341)
2018-01-12 22:45:09 +00:00
Andrew Fyfe dfabe89899 refactor setup.py
- use setuptools_scm to generate version number, normal releases will
use the tagged version (ie 1.9.1), versions installed from source will
append the git commit number to the version number (ie
1.9.1.dev61+g4584c93)

- use io.open() to read text files to correctly handle utf-8 characters

- use pip to parse requirements.txt

- update classifiers to specify python and django versions supported

- fix classifier for license

- wheel distributions can now be built using `python setup.py bdist_wheel`
2018-01-12 19:53:01 +00:00
Antoine Nguyen 62fd8c659d Updated translations. 2017-10-11 18:04:29 +02:00
Antoine Nguyen 0696d51bd9 Released 1.9.0 2017-09-09 09:12:29 +02:00
Antoine Nguyen bef07fba51 Released 1.8.3 2017-09-08 10:45:39 +02:00
Antoine Nguyen 215fdc6dcf Released 1.8.2 2017-07-28 15:40:15 +02:00
Antoine Nguyen 3ff806ae13 Released 1.8.1 2017-07-07 15:28:11 +02:00
Antoine Nguyen 8a3bc03b73 Released 1.8.0 2017-06-30 09:44:38 +02:00
Antoine Nguyen e50b3429b1 Released 1.7.4 2017-04-25 16:48:09 +02:00
Antoine Nguyen 006848b93e Released 1.7.3 2017-04-20 18:22:32 +02:00
Antoine Nguyen c468019943 Released 1.7.2 2017-03-16 17:24:09 +01:00
Antoine Nguyen 1bca629c70 Released 1.7.1 2017-03-08 10:02:19 +01:00
Antoine Nguyen b48a2d942c Updated version to 1.7.0 2017-03-02 15:51:05 +01:00
Antoine Nguyen e2703e45c2 Version 1.6.1 2016-10-12 14:32:49 +02:00
Antoine Nguyen 4b016e679c Version 1.6.0 2016-09-16 17:19:10 +02:00
Antoine Nguyen 693d8f3317 Version 1.5.3 2016-05-11 16:43:45 +02:00
Antoine Nguyen 99ea27104e Version 1.5.2 2016-05-08 16:00:10 +02:00
Antoine Nguyen b5d89455de Version 1.5.1 2016-05-03 09:00:59 +02:00
Antoine Nguyen 12e7259335 Version 1.5.0 2016-05-01 14:38:32 +02:00
Antoine Nguyen 6aba105e02 Version 1.4.5 2016-03-15 17:22:39 +01:00
Antoine Nguyen 32acc9a3d9 Release 1.4.4 2016-02-22 09:35:08 +01:00
Antoine Nguyen 1b00e979c0 Release 1.4.3 2016-01-28 09:12:24 +01:00
Antoine Nguyen 2baa7e6975 Version 1.4.2 2015-12-13 21:23:01 +01:00
Antoine Nguyen cb63ea6404 Version 1.4.1 2015-12-04 21:34:40 +01:00
Antoine Nguyen f081275a61 Version 1.4.0 2015-12-02 15:41:46 +01:00
Antoine Nguyen c2c9b94823 Documentation update. 2015-10-21 10:22:18 +02:00
Antoine Nguyen c5bdbb41fc Release 1.3.4 2015-07-09 10:16:37 +02:00
Antoine Nguyen 711c738c8e Version 1.3.3. 2015-06-14 11:09:20 +02:00
Antoine Nguyen 24ece682de 1.3.2. 2015-06-11 19:43:52 +02:00
Antoine Nguyen 8931ac0907 Version bumped to 1.3.1 2015-05-01 15:17:48 +02:00
Antoine Nguyen de6cd86508 Version bumped to 1.3.0. 2015-04-30 11:06:21 +02:00
Antoine Nguyen 3090dfb766 1.2.1. 2015-03-11 13:42:04 +01:00
Antoine Nguyen cfce433e42 Dutch translation update 2014-12-31 12:48:58 +01:00