Commit Graph
335 Commits
Author SHA1 Message Date
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
Ian Moone 6ef0ccc73d Update manual installation doc to recommend mysqlclient
From pypi page:
---------------
mysqlclient is a fork of MySQL-python. It adds Python 3 support
and fixed many bugs.
...
MySQL-5.5 through 5.7 and Python 2.7, 3.4+ are currently supported.
2017-09-23 21:28:18 +09:00
Antoine Nguyen 0696d51bd9 Released 1.9.0 2017-09-09 09:12:29 +02:00
Antoine Nguyen 432a2535aa Updated documentation. 2017-09-08 11:28:06 +02:00
Antoine Nguyen fb91f924bd Merge branch '1.8.x' 2017-09-08 11:15:52 +02:00
Antoine Nguyen bef07fba51 Released 1.8.3 2017-09-08 10:45:39 +02:00
Antoine Nguyen c6b4c9fdb0 Merge branch '1.8.x' 2017-08-18 16:20:33 +02:00
Antoine NguyenandGitHub 594be26c6c Fixed BASE_DIR value. (#1217)
see #1216
2017-08-18 15:43:11 +02:00
Antoine Nguyen 1221240b2f Fixed documentation. 2017-08-11 15:46:56 +02:00
Antoine NguyenandGitHub 2469f68ca9 Merge pull request #1198 from modoboa/feature/inactive_accounts_cleanup
core: Added management command to clean inactive accounts.
2017-08-04 16:06:27 +02:00
George HartzellandGitHub cd860d8aab Delete extra "not" that changes meaning...
I believe that the sentence describing renaming a mailbox should read '...considered unavailable until the order is executed...'.

g.
2017-07-30 10:46:10 -07:00
Antoine Nguyen 9e90632878 core: fixed unit test.
see #1198
2017-07-28 10:34:34 +02:00
Alex Legler e19f8f2849 docs: Mention WSGIPassAuthorization in Apache config
This is needed to have the Authorization header passed to the API.
2017-07-13 12:20:52 +02:00
Antoine Nguyen 3ff806ae13 Released 1.8.1 2017-07-07 15:28:11 +02:00
Antoine Nguyen ef7d62da8a Fixed documentation. 2017-06-30 10:14:15 +02:00
Antoine Nguyen 8a3bc03b73 Released 1.8.0 2017-06-30 09:44:38 +02:00
Antoine Nguyen 4ff87010fd Added upgrade instructions for 1.8.0 2017-06-30 09:43:03 +02:00
Frank LanitzandGitHub 6fb8221f30 Remove maybe missleading prefix
At this very point you are not yet inside a virtualenv.
2017-06-17 12:33:53 +02:00
Antoine Nguyen f6c3ca7d9b Added documentation (moving to modoboa). 2017-05-26 11:39:39 +02:00
Ndubisi Nwaku 66048f800c Fixed documentation links on doc/index.rst file 2017-05-04 22:18:21 +01: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 301e7e794e Updated doc. 2017-03-17 09:17:06 +01:00
Antoine Nguyen c468019943 Released 1.7.2 2017-03-16 17:24:09 +01:00
Antoine Nguyen becb32b795 Updated documentation. 2017-03-16 17:15:06 +01:00
Antoine Nguyen 228798ab89 Added upgrade instructions. 2017-03-16 11:02:58 +01:00
Antoine Nguyen 1bca629c70 Released 1.7.1 2017-03-08 10:02:19 +01:00