Commit Graph
361 Commits
Author SHA1 Message Date
Daniel BryarandGitHub 0907216f82 Update modoboa.rst
You need libssl-dev to build cryptography
2020-01-11 22:51:10 +10:00
Tim Gates b15abab340 Fix simple typo: detailled -> detailed
Closes #1806
2019-12-17 17:08:47 +11:00
Tobias Hachmer 7ae977d78d doc: fix ldapsync parameters table. 2019-09-24 21:35:42 +02:00
Antoine Nguyen 9fcd133bc8 doc: fixed label syntax. 2019-07-09 09:55:01 +02:00
Antoine Nguyen 657b88882f Updated documentation. 2019-05-07 12:31:27 +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
Antoine Nguyen 76109337aa Fixed doc. 2019-04-29 12:15:53 +02:00
Antoine Nguyen 404f4bc0f5 Fixed doc. 2019-02-28 14:40:13 +01:00
Antoine Nguyen 3cfdcff53e Added 1.13.1 documentation. 2019-01-31 19:16:39 +01:00
Antoine Nguyen 5807395d6f Added security settings to default configuration.
see #1592
2018-11-28 13:31:41 +01:00
Antoine Nguyen e4f979c995 Updated documentation. 2018-11-20 17:31:58 +01:00
Antoine Nguyen a26aadb983 Added documentation about docker image. 2018-10-19 10:03:41 +02:00
Antoine Nguyen c34f3dc2c2 Updated doc. 2018-10-01 15:54:20 +02:00
Antoine Nguyen 9baaa70163 Added upgrade instructions for autoreply 1.5.0. 2018-10-01 15:45:24 +02:00
Antoine Nguyen 7aa5183062 Added umask command before generating new DKIM keys.
see #1563
2018-09-16 18:16:39 +02:00
Antoine NguyenandGitHub 95e043e837 Merge pull request #1541 from makakken/master
Update installation.rst
2018-08-20 15:44:41 +02:00
Antoine NguyenandGitHub 7fca349536 Merge pull request #1551 from jakicoll/docsup
Docs for manual installation: Added update_statistics call to cron.
2018-08-20 15:43:58 +02:00
Antoine Nguyen 20ee12f686 Fixed broken link in doc.
fix #1543
2018-08-19 10:42:05 +02:00
Jakob Scheumann 35cf219a1f Docs for manual installation: Added update_statics call to cron. 2018-08-08 12:51:59 +02:00
makakkenandGitHub 942dc64367 Update installation.rst 2018-07-20 23:11:44 +02:00
Antoine Nguyen 1d9e8db57f Updated opendkim doc. 2018-07-10 13:46:15 +02:00
Antoine Nguyen 4d00ea3981 Fixed bad syntax. 2018-07-10 10:53:23 +02:00
Antoine Nguyen e6e841be82 Added opendkim integration doc. 2018-07-10 10:49:02 +02:00
Jiří BělskýandGitHub b98c00dafb Removed commas from list of packages; tables separated
I can't simply copy-paste it into terminal with commas in list of packages, i cuz (at least) YUM will try to install package `gcc,` instead of `gcc`. Tables also put in their own lines, otheweise i had to scroll horizontally on your website here: http://modoboa.readthedocs.io/en/latest/manual_installation/modoboa.html
2018-04-07 19:40:41 +02:00
Antoine Nguyen 95ccae54ca doc: Added warning about proxy_read_maps. 2018-03-09 14:12:08 +01:00
cptMikkyandGitHub cfbdeb6897 remove uwsgi warning
Current Debian stable ships with uWSGI 2.0.14 while the current upstream version to the date is only 2.0.17. The original warning no longer applies, there's no need to scare off Debian or Ubuntu users.
2018-03-06 01:00:32 +01:00
Jean Prunneaux 499c353874 Fix english errors in documentation 2018-02-21 21:39:43 +01:00
Jean Prunneaux 8288412d3d Add authentication log information in documentation 2018-02-12 23:58:52 +01:00
Andrew Fyfe 3159eca296 import unicode_literals
and remove it from empty __init__.py files
2018-02-03 00:59:07 +00:00
Andrew Fyfe 87e8a32063 whitespace fixes 2018-02-03 00:59:06 +00:00
Andrew Fyfe eaec271e02 pep8 fixes
- B007 Loop control variable not used within the loop body. If this is intended, start the name with an underscore.
    * modoboa/admin/lib.py
    * modoboa/admin/templatetags/admin_tags.py
    * modoboa/admin/tests/test_account.py
    * modoboa/admin/views/domain.py
    * modoboa/admin/views/identity.py
    * modoboa/core/views/dashboard.py
    * modoboa/limits/forms.py
    * modoboa/limits/handlers.py
    * modoboa/limits/tests/test_api.py
    * modoboa/limits/tests/test_domain_limits.py
    * modoboa/limits/tests/test_import.py
    * modoboa/limits/tests/test_user_limits.py
    * modoboa/limits/utils.py
    * modoboa/parameters/tools.py
    * modoboa/relaydomains/tests.py
- C402 Unnecessary generator - rewrite as a dict comprehension.
    * modoboa/admin/models/domain.py
    * modoboa/admin/views/domain.py
    * modoboa/admin/views/identity.py
    * modoboa/limits/searializers.py
- C407 Unnecessary list comprehension - can take a generator.
    * modoboa/core/password_validation.py
    * modoboa/parameters/tools.py
    * modoboa/transport/backends.py
- C408 Unnecessary dict call - rewrite as a literal.
    * modoboa/admin/tests/test_account.py
    * modoboa/admin/tests/test_alias.py
    * modoboa/admin/tests/test_password_schemes.py
    * modoboa/admin/views/domain.py
    * modoboa/admin/views/identity.py
    * modoboa/core/extensions.py
    * modoboa/lib/middleware.py
    * modoboa/lib/templatetags/form_tags.py
    * modoboa/lib/templatetags/lib_tags.py
    * modoboa/lib/web_utils.py
    * modoboa/limits/handlers.py
    * modoboa/limits/tests/test_user_limits.py
- E741 ambiguous variable name
    * modoboa/core/management/commands/cleanlogs.py
    * modoboa/limits/forms.py
    * modoboa/limits/tests/test_user_limits.py
    * modoboa/limits/utils.py
    * modoboa/relaydomains/tests.py
- F401 imported but unused
    * doc/conf.py
    * modoboa/admin/views/domain.py
    * modoboa/core/app_settings.py
    * modoboa/core/management/commands/load_initial_data.py
- F821 undefined name 'raw_input'
    * modoboa/core/commands/deploy.py
- F841 local variable 'test' is assigned to but never used
    * modoboa/core/app_settings.py
- N802 function name 'setUpTestData' should be lowercase xxx
    * modoboa/lib/email_utils.py - __ for name mangeling, _ for internal
- N805 first argument of a method should be named 'self'
    * modoboa/lib/connections.py
    * modoboa/lib/singleton.py

Ignore the following
- A001 "copyright" is a python builtin and is being shadowed, consider renaming the variable
    * doc/conf.py
- A003 is a python builtin, consider renaming the class attribute
    * modoboa/admin/factories.py
    * modoboa/admin/forms/domain.py
    * modoboa/admin/management/commands/handle_mailbox_operations.py
    * modoboa/admin/management/commands/modo.py
    * modoboa/admin/management/commands/subcommands/_repair.py
    * modoboa/admin/models/domain.py
    * modoboa/admin/models/mailbox.py
    * modoboa/core/commands/__init__.py
    * modoboa/core/commands/deploy.py
    * modoboa/core/commands/help.py
    * modoboa/core/management/commands/clean_inactive_accounts.py
    * modoboa/core/management/commands/cleanlogs.py
    * modoboa/core/management/commands/communicate_with_public_api.py
    * modoboa/core/management/commands/generate_postfix_maps.py
    * modoboa/core/management/commands/load_initial_data.py
    * modoboa/core/management/commands/set_default_site.py
- F401 imported but unused
    * modoboa/admin/apps.py - used to load handlers
    * modoboa/core/password_hashers/__init__.py - dynamically loaded
    * modoboa/limits/apps.py - used to load handlers
    * modoboa/relaydomains/apps.py - used to load handlers
    * modoboa/transport/apps.py - used to load handlers
- N802 function name should be lowercase xxx
    * modoboa/admin/tests/test_account.py
    * modoboa/admin/tests/test_alias.py
    * modoboa/admin/tests/test_domain_alias.py
    * modoboa/admin/tests/test_export.py
    * modoboa/admin/tests/test_mailbox_operations.py
    * modoboa/admin/tests/test_password_schemas.py
    * modoboa/admin/tests/test_repair.py
    * modoboa/core/tests/test_authentication.py
    * modoboa/core/tests/test_core.py
    * modoboa/core/tests/test_ldap.py
    * modoboa/core/tests/test_views.py
    * modoboa/lib/imap_utf7.py
    * modoboa/limits/tests/test_api.py
    * modoboa/limits/tests/test_domain_limits.py
    * modoboa/limits/tests/test_import.py
    * modoboa/limits/tests/test_user_limits.py
    * modoboa/relaydomains/tests.py

other fixes:
- use isinstance() instead of type() == Class
2018-02-03 00:44:00 +00:00
Andrew Fyfe 24a7ca6a9e sort imports using isort
pip install isort
isort -y
2018-02-03 00:43:59 +00:00
Andrew Fyfe 8a1d5736c9 fix quotes
This ensures all files use " for quotes with the exception of
migrations, as this are auto generated I've not modified them.

pip install unify
unify --in-place --recursive --quote \" .
2018-02-03 00:43:58 +00:00
Antoine Nguyen c9f818cf84 Fixed upgrade instructions. 2018-01-26 15:44:03 +01:00
Antoine Nguyen 1413b93d85 Fixed upgrade instructions for 1.10.0 2018-01-25 16:14:15 +01:00
Antoine Nguyen ad9f5317f4 Fixed upgrade instructions for 1.10.0 2018-01-25 16:04:17 +01:00
Antoine Nguyen 6eba924b6a Fixed upgrade instructions for 1.10.0 2018-01-25 15:39:03 +01:00
Andrew Fyfe 5b94bf5e5b update documentation for Django upgrade (#1333) 2018-01-24 21:07:50 +00:00
Antoine NguyenandGitHub 5b279f533a Merge pull request #1352 from modoboa/feature/per_domain_dkim_key
Per domain DKIM key generation.
2018-01-19 11:14:06 +01:00
Antoine Nguyen ff2c019fc6 Few fixes. 2018-01-19 09:56:24 +01:00
Andrew Fyfe dd6aa98a54 update docs 2018-01-12 18:36:12 +00:00
Antoine Nguyen 68b3158d08 Fixed configuration for 1.10.0. 2018-01-12 11:18:55 +01:00
Andrew Fyfe 0ac1b415f2 fix postfix documentation
Fix instructions for a new installs, and upgrades to reflect recent changes.

- #1309 removed `sql-relaydomains-transport.cf`

- #1322 merged `sql-sender-login-*.cf` into `sql-sender-login-map.cf`

- remove duplicate `relay_domains`
2018-01-05 12:43:43 +00:00
Andrew Fyfe 40bd2d6735 MariaDB >= 10.2 requires mysqlclient >= 1.3.11
fixes modoboa/modoboa-installer#136
2018-01-03 19:00:36 +00:00
Antoine NguyenandGitHub b924a20793 Feature/merge sender login queries (#1322)
* Merged sender login related queries.

see #1164

* Added upgrade instructions.

* Fixed registration.
2017-12-08 10:45:08 +01:00
Antoine Nguyen 16720f423b Improved documentation. 2017-12-07 14:09:09 +01:00
Sketch ⌨️andAntoine Nguyen 3bf3c05213 Create rebuild_virtual_env.rst (#1293)
* Create rebuild_virtual_env.rst

After upgrading to Ubuntu 17.10 my virtualenv was trashed. I rebuilt it using instructions on pythonanywhere.com but felt that the modoboa documentation should have a file for rebuilding the instance.

* Add rebuild virtual environment documentation
2017-12-07 13:38:00 +01:00
Joakim UddholmandAntoine Nguyen c57be5c8ef Update installation.rst (#1274)
sever -> server typo
2017-10-16 20:54:35 +02:00
Bezaleel AsheforandAntoine Nguyen 724e5c75c1 Update Installation Doc (#1242)
* Update Installation Doc

Update Installation Doc to fix missing python path error

* Update installation.rst

* Update installation.rst
2017-10-07 20:10:33 +02:00
Anthony Bourguignon a9c4b29f78 Changed --hostname parameter to --domain 2017-10-06 10:26:18 +02:00