Rename the freeposte/mailu directory and database

This commit is contained in:
Pierre Jaury
2016-10-29 13:42:39 +02:00
parent 4988a05a59
commit 013286b8e1
126 changed files with 1050 additions and 1056 deletions

View File

@@ -3,13 +3,13 @@ FROM python:3
RUN mkdir -p /app
WORKDIR /app
COPY freeposte ./freeposte
COPY mailu ./mailu
COPY migrations ./migrations
COPY manage.py .
COPY requirements.txt .
COPY start.sh /start.sh
RUN pip install -r requirements.txt
RUN pybabel compile -d freeposte/translations
RUN pybabel compile -d mailu/translations
CMD ["/start.sh"]

View File

@@ -1,4 +1,4 @@
from freeposte import app
from mailu import app
import sys
import tabulate

View File

@@ -1,444 +0,0 @@
# English translations for PROJECT.
# Copyright (C) 2016 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-10-13 09:28+0200\n"
"PO-Revision-Date: 2016-10-02 15:02+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
"Language-Team: en <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: freeposte/admin/forms.py:32
msgid "Invalid email address."
msgstr ""
#: freeposte/admin/forms.py:36
msgid "Confirm"
msgstr ""
#: freeposte/admin/forms.py:40 freeposte/admin/forms.py:54
msgid "E-mail"
msgstr ""
#: freeposte/admin/forms.py:41 freeposte/admin/forms.py:55
#: freeposte/admin/forms.py:72 freeposte/admin/forms.py:120
msgid "Password"
msgstr ""
#: freeposte/admin/forms.py:42 freeposte/admin/templates/login.html:9
#: freeposte/admin/templates/login.html:17
msgid "Sign in"
msgstr ""
#: freeposte/admin/forms.py:46 freeposte/admin/templates/domain/details.html:21
#: freeposte/admin/templates/domain/list.html:19
msgid "Domain name"
msgstr ""
#: freeposte/admin/forms.py:47
msgid "Maximum user count"
msgstr ""
#: freeposte/admin/forms.py:48
msgid "Maximum alias count"
msgstr ""
#: freeposte/admin/forms.py:49 freeposte/admin/forms.py:60
#: freeposte/admin/forms.py:98 freeposte/admin/templates/alias/list.html:22
#: freeposte/admin/templates/domain/list.html:22
msgid "Comment"
msgstr ""
#: freeposte/admin/forms.py:50 freeposte/admin/forms.py:99
msgid "Create"
msgstr ""
#: freeposte/admin/forms.py:56
msgid "Confirm password"
msgstr ""
#: freeposte/admin/forms.py:57
msgid "Quota"
msgstr ""
#: freeposte/admin/forms.py:58
msgid "Allow IMAP access"
msgstr ""
#: freeposte/admin/forms.py:59
msgid "Allow POP3 access"
msgstr ""
#: freeposte/admin/forms.py:61
msgid "Save"
msgstr ""
#: freeposte/admin/forms.py:65
msgid "Displayed name"
msgstr ""
#: freeposte/admin/forms.py:66
msgid "Enable spam filter"
msgstr ""
#: freeposte/admin/forms.py:67
msgid "Spam filter threshold"
msgstr ""
#: freeposte/admin/forms.py:68
msgid "Save settings"
msgstr ""
#: freeposte/admin/forms.py:73
msgid "Password check"
msgstr ""
#: freeposte/admin/forms.py:74 freeposte/admin/templates/sidebar.html:13
msgid "Update password"
msgstr ""
#: freeposte/admin/forms.py:78
msgid "Enable forwarding"
msgstr ""
#: freeposte/admin/forms.py:80 freeposte/admin/forms.py:97
#: freeposte/admin/templates/alias/list.html:21
msgid "Destination"
msgstr ""
#: freeposte/admin/forms.py:82 freeposte/admin/forms.py:90
msgid "Update"
msgstr ""
#: freeposte/admin/forms.py:86
msgid "Enable automatic reply"
msgstr ""
#: freeposte/admin/forms.py:87
msgid "Reply subject"
msgstr ""
#: freeposte/admin/forms.py:88
msgid "Reply body"
msgstr ""
#: freeposte/admin/forms.py:94
msgid "Alias"
msgstr ""
#: freeposte/admin/forms.py:96
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr ""
#: freeposte/admin/forms.py:103
msgid "Admin email"
msgstr ""
#: freeposte/admin/forms.py:104 freeposte/admin/forms.py:109
#: freeposte/admin/forms.py:121
msgid "Submit"
msgstr ""
#: freeposte/admin/forms.py:108
msgid "Manager email"
msgstr ""
#: freeposte/admin/forms.py:113
msgid "Protocol"
msgstr ""
#: freeposte/admin/forms.py:116
msgid "Hostname or IP"
msgstr ""
#: freeposte/admin/forms.py:117
msgid "TCP port"
msgstr ""
#: freeposte/admin/forms.py:118
msgid "Enable TLS"
msgstr ""
#: freeposte/admin/forms.py:119 freeposte/admin/templates/fetch/list.html:21
msgid "Username"
msgstr ""
#: freeposte/admin/templates/confirm.html:4
msgid "Confirm action"
msgstr ""
#: freeposte/admin/templates/confirm.html:12
#, python-format
msgid "You are about to %(action)s. Please confirm your action."
msgstr ""
#: freeposte/admin/templates/docker-error.html:4
msgid "Docker error"
msgstr ""
#: freeposte/admin/templates/docker-error.html:12
msgid "An error occurred while talking to the Docker server."
msgstr ""
#: freeposte/admin/templates/login.html:6
msgid "Your account"
msgstr ""
#: freeposte/admin/templates/login.html:21
msgid "to access the administration tools"
msgstr ""
#: freeposte/admin/templates/services.html:4
#: freeposte/admin/templates/sidebar.html:40
msgid "Services status"
msgstr ""
#: freeposte/admin/templates/services.html:11
msgid "Service"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:23
#: freeposte/admin/templates/services.html:12
msgid "Status"
msgstr ""
#: freeposte/admin/templates/services.html:13
msgid "PID"
msgstr ""
#: freeposte/admin/templates/services.html:14
msgid "Image"
msgstr ""
#: freeposte/admin/templates/services.html:15
msgid "Started"
msgstr ""
#: freeposte/admin/templates/services.html:16
msgid "Last update"
msgstr ""
#: freeposte/admin/templates/sidebar.html:5
msgid "My account"
msgstr ""
#: freeposte/admin/templates/sidebar.html:8
msgid "Settings"
msgstr ""
#: freeposte/admin/templates/sidebar.html:18
msgid "Auto-forward"
msgstr ""
#: freeposte/admin/templates/sidebar.html:23
msgid "Auto-reply"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:4
#: freeposte/admin/templates/sidebar.html:28
msgid "Fetched accounts"
msgstr ""
#: freeposte/admin/templates/sidebar.html:33
msgid "Sign out"
msgstr ""
#: freeposte/admin/templates/sidebar.html:36
msgid "Administration"
msgstr ""
#: freeposte/admin/templates/sidebar.html:45
msgid "Administrators"
msgstr ""
#: freeposte/admin/templates/sidebar.html:52
msgid "Mail domains"
msgstr ""
#: freeposte/admin/templates/sidebar.html:59
msgid "Help"
msgstr ""
#: freeposte/admin/templates/working.html:4
msgid "We are still working on this feature!"
msgstr ""
#: freeposte/admin/templates/admin/create.html:4
msgid "Add a global administrator"
msgstr ""
#: freeposte/admin/templates/admin/list.html:4
msgid "Global administrators"
msgstr ""
#: freeposte/admin/templates/admin/list.html:9
msgid "Add administrator"
msgstr ""
#: freeposte/admin/templates/admin/list.html:17
#: freeposte/admin/templates/alias/list.html:19
#: freeposte/admin/templates/domain/list.html:17
#: freeposte/admin/templates/fetch/list.html:19
#: freeposte/admin/templates/manager/list.html:19
msgid "Actions"
msgstr ""
#: freeposte/admin/templates/admin/list.html:18
#: freeposte/admin/templates/alias/list.html:20
#: freeposte/admin/templates/manager/list.html:20
msgid "Email"
msgstr ""
#: freeposte/admin/templates/admin/list.html:23
#: freeposte/admin/templates/alias/list.html:30
#: freeposte/admin/templates/domain/list.html:32
#: freeposte/admin/templates/fetch/list.html:31
#: freeposte/admin/templates/manager/list.html:25
msgid "Delete"
msgstr ""
#: freeposte/admin/templates/alias/create.html:4
msgid "Create alias"
msgstr ""
#: freeposte/admin/templates/alias/edit.html:4
msgid "Edit alias"
msgstr ""
#: freeposte/admin/templates/alias/list.html:4
msgid "Alias list"
msgstr ""
#: freeposte/admin/templates/alias/list.html:12
msgid "Add alias"
msgstr ""
#: freeposte/admin/templates/alias/list.html:23
#: freeposte/admin/templates/domain/list.html:23
#: freeposte/admin/templates/fetch/list.html:24
msgid "Created"
msgstr ""
#: freeposte/admin/templates/alias/list.html:24
#: freeposte/admin/templates/domain/list.html:24
#: freeposte/admin/templates/fetch/list.html:25
msgid "Last edit"
msgstr ""
#: freeposte/admin/templates/alias/list.html:29
#: freeposte/admin/templates/domain/list.html:31
#: freeposte/admin/templates/fetch/list.html:30
msgid "Edit"
msgstr ""
#: freeposte/admin/templates/domain/create.html:4
#: freeposte/admin/templates/domain/list.html:9
msgid "New domain"
msgstr ""
#: freeposte/admin/templates/domain/details.html:4
msgid "Domain details"
msgstr ""
#: freeposte/admin/templates/domain/details.html:13
msgid "Regenerate keys"
msgstr ""
#: freeposte/admin/templates/domain/details.html:25
msgid "DNS MX entry"
msgstr ""
#: freeposte/admin/templates/domain/details.html:29
msgid "DNS SPF entries"
msgstr ""
#: freeposte/admin/templates/domain/details.html:36
msgid "DKIM public key"
msgstr ""
#: freeposte/admin/templates/domain/details.html:40
msgid "DNS DKIM entry"
msgstr ""
#: freeposte/admin/templates/domain/details.html:44
msgid "DNS DMARC entry"
msgstr ""
#: freeposte/admin/templates/domain/edit.html:4
msgid "Edit domain"
msgstr ""
#: freeposte/admin/templates/domain/list.html:4
msgid "Domain list"
msgstr ""
#: freeposte/admin/templates/domain/list.html:18
msgid "Manage"
msgstr ""
#: freeposte/admin/templates/domain/list.html:20
msgid "Mailbox count"
msgstr ""
#: freeposte/admin/templates/domain/list.html:21
msgid "Alias count"
msgstr ""
#: freeposte/admin/templates/domain/list.html:29
msgid "Details"
msgstr ""
#: freeposte/admin/templates/domain/list.html:36
msgid "Users"
msgstr ""
#: freeposte/admin/templates/domain/list.html:37
msgid "Aliases"
msgstr ""
#: freeposte/admin/templates/domain/list.html:38
msgid "Managers"
msgstr ""
#: freeposte/admin/templates/fetch/create.html:4
msgid "Add a fetched account"
msgstr ""
#: freeposte/admin/templates/fetch/edit.html:4
msgid "Update a fetched account"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:12
msgid "Add an account"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:20
msgid "Endpoint"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:22
msgid "Last check"
msgstr ""
#: freeposte/admin/templates/manager/create.html:4
msgid "Add a manager"
msgstr ""
#: freeposte/admin/templates/manager/list.html:4
msgid "Manager list"
msgstr ""
#: freeposte/admin/templates/manager/list.html:12
msgid "Add manager"
msgstr ""

View File

@@ -1,444 +0,0 @@
# French translations for PROJECT.
# Copyright (C) 2016 ORGANIZATION
# This file is distributed under the same license as the PROJECT project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-10-13 09:28+0200\n"
"PO-Revision-Date: 2016-10-02 16:32+0200\n"
"Last-Translator: \n"
"Language: fr\n"
"Language-Team: fr <LL@li.org>\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n"
#: freeposte/admin/forms.py:32
msgid "Invalid email address."
msgstr ""
#: freeposte/admin/forms.py:36
msgid "Confirm"
msgstr "Confirmer"
#: freeposte/admin/forms.py:40 freeposte/admin/forms.py:54
msgid "E-mail"
msgstr ""
#: freeposte/admin/forms.py:41 freeposte/admin/forms.py:55
#: freeposte/admin/forms.py:72 freeposte/admin/forms.py:120
msgid "Password"
msgstr ""
#: freeposte/admin/forms.py:42 freeposte/admin/templates/login.html:9
#: freeposte/admin/templates/login.html:17
msgid "Sign in"
msgstr ""
#: freeposte/admin/forms.py:46 freeposte/admin/templates/domain/details.html:21
#: freeposte/admin/templates/domain/list.html:19
msgid "Domain name"
msgstr ""
#: freeposte/admin/forms.py:47
msgid "Maximum user count"
msgstr ""
#: freeposte/admin/forms.py:48
msgid "Maximum alias count"
msgstr ""
#: freeposte/admin/forms.py:49 freeposte/admin/forms.py:60
#: freeposte/admin/forms.py:98 freeposte/admin/templates/alias/list.html:22
#: freeposte/admin/templates/domain/list.html:22
msgid "Comment"
msgstr ""
#: freeposte/admin/forms.py:50 freeposte/admin/forms.py:99
msgid "Create"
msgstr ""
#: freeposte/admin/forms.py:56
msgid "Confirm password"
msgstr ""
#: freeposte/admin/forms.py:57
msgid "Quota"
msgstr ""
#: freeposte/admin/forms.py:58
msgid "Allow IMAP access"
msgstr ""
#: freeposte/admin/forms.py:59
msgid "Allow POP3 access"
msgstr ""
#: freeposte/admin/forms.py:61
msgid "Save"
msgstr ""
#: freeposte/admin/forms.py:65
msgid "Displayed name"
msgstr ""
#: freeposte/admin/forms.py:66
msgid "Enable spam filter"
msgstr ""
#: freeposte/admin/forms.py:67
msgid "Spam filter threshold"
msgstr ""
#: freeposte/admin/forms.py:68
msgid "Save settings"
msgstr ""
#: freeposte/admin/forms.py:73
msgid "Password check"
msgstr ""
#: freeposte/admin/forms.py:74 freeposte/admin/templates/sidebar.html:13
msgid "Update password"
msgstr ""
#: freeposte/admin/forms.py:78
msgid "Enable forwarding"
msgstr ""
#: freeposte/admin/forms.py:80 freeposte/admin/forms.py:97
#: freeposte/admin/templates/alias/list.html:21
msgid "Destination"
msgstr ""
#: freeposte/admin/forms.py:82 freeposte/admin/forms.py:90
msgid "Update"
msgstr ""
#: freeposte/admin/forms.py:86
msgid "Enable automatic reply"
msgstr ""
#: freeposte/admin/forms.py:87
msgid "Reply subject"
msgstr ""
#: freeposte/admin/forms.py:88
msgid "Reply body"
msgstr ""
#: freeposte/admin/forms.py:94
msgid "Alias"
msgstr ""
#: freeposte/admin/forms.py:96
msgid "Use SQL LIKE Syntax (e.g. for catch-all aliases)"
msgstr ""
#: freeposte/admin/forms.py:103
msgid "Admin email"
msgstr "Email de l'administrateur"
#: freeposte/admin/forms.py:104 freeposte/admin/forms.py:109
#: freeposte/admin/forms.py:121
msgid "Submit"
msgstr ""
#: freeposte/admin/forms.py:108
msgid "Manager email"
msgstr ""
#: freeposte/admin/forms.py:113
msgid "Protocol"
msgstr ""
#: freeposte/admin/forms.py:116
msgid "Hostname or IP"
msgstr ""
#: freeposte/admin/forms.py:117
msgid "TCP port"
msgstr ""
#: freeposte/admin/forms.py:118
msgid "Enable TLS"
msgstr ""
#: freeposte/admin/forms.py:119 freeposte/admin/templates/fetch/list.html:21
msgid "Username"
msgstr ""
#: freeposte/admin/templates/confirm.html:4
msgid "Confirm action"
msgstr "Confirmer"
#: freeposte/admin/templates/confirm.html:12
#, python-format
msgid "You are about to %(action)s. Please confirm your action."
msgstr "Vous allez %(action)s. Merci de confirmer votre action."
#: freeposte/admin/templates/docker-error.html:4
msgid "Docker error"
msgstr ""
#: freeposte/admin/templates/docker-error.html:12
msgid "An error occurred while talking to the Docker server."
msgstr ""
#: freeposte/admin/templates/login.html:6
msgid "Your account"
msgstr ""
#: freeposte/admin/templates/login.html:21
msgid "to access the administration tools"
msgstr ""
#: freeposte/admin/templates/services.html:4
#: freeposte/admin/templates/sidebar.html:40
msgid "Services status"
msgstr ""
#: freeposte/admin/templates/services.html:11
msgid "Service"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:23
#: freeposte/admin/templates/services.html:12
msgid "Status"
msgstr ""
#: freeposte/admin/templates/services.html:13
msgid "PID"
msgstr ""
#: freeposte/admin/templates/services.html:14
msgid "Image"
msgstr ""
#: freeposte/admin/templates/services.html:15
msgid "Started"
msgstr ""
#: freeposte/admin/templates/services.html:16
msgid "Last update"
msgstr ""
#: freeposte/admin/templates/sidebar.html:5
msgid "My account"
msgstr ""
#: freeposte/admin/templates/sidebar.html:8
msgid "Settings"
msgstr ""
#: freeposte/admin/templates/sidebar.html:18
msgid "Auto-forward"
msgstr ""
#: freeposte/admin/templates/sidebar.html:23
msgid "Auto-reply"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:4
#: freeposte/admin/templates/sidebar.html:28
msgid "Fetched accounts"
msgstr ""
#: freeposte/admin/templates/sidebar.html:33
msgid "Sign out"
msgstr ""
#: freeposte/admin/templates/sidebar.html:36
msgid "Administration"
msgstr ""
#: freeposte/admin/templates/sidebar.html:45
msgid "Administrators"
msgstr ""
#: freeposte/admin/templates/sidebar.html:52
msgid "Mail domains"
msgstr ""
#: freeposte/admin/templates/sidebar.html:59
msgid "Help"
msgstr ""
#: freeposte/admin/templates/working.html:4
msgid "We are still working on this feature!"
msgstr ""
#: freeposte/admin/templates/admin/create.html:4
msgid "Add a global administrator"
msgstr ""
#: freeposte/admin/templates/admin/list.html:4
msgid "Global administrators"
msgstr ""
#: freeposte/admin/templates/admin/list.html:9
msgid "Add administrator"
msgstr ""
#: freeposte/admin/templates/admin/list.html:17
#: freeposte/admin/templates/alias/list.html:19
#: freeposte/admin/templates/domain/list.html:17
#: freeposte/admin/templates/fetch/list.html:19
#: freeposte/admin/templates/manager/list.html:19
msgid "Actions"
msgstr ""
#: freeposte/admin/templates/admin/list.html:18
#: freeposte/admin/templates/alias/list.html:20
#: freeposte/admin/templates/manager/list.html:20
msgid "Email"
msgstr ""
#: freeposte/admin/templates/admin/list.html:23
#: freeposte/admin/templates/alias/list.html:30
#: freeposte/admin/templates/domain/list.html:32
#: freeposte/admin/templates/fetch/list.html:31
#: freeposte/admin/templates/manager/list.html:25
msgid "Delete"
msgstr ""
#: freeposte/admin/templates/alias/create.html:4
msgid "Create alias"
msgstr ""
#: freeposte/admin/templates/alias/edit.html:4
msgid "Edit alias"
msgstr ""
#: freeposte/admin/templates/alias/list.html:4
msgid "Alias list"
msgstr ""
#: freeposte/admin/templates/alias/list.html:12
msgid "Add alias"
msgstr ""
#: freeposte/admin/templates/alias/list.html:23
#: freeposte/admin/templates/domain/list.html:23
#: freeposte/admin/templates/fetch/list.html:24
msgid "Created"
msgstr ""
#: freeposte/admin/templates/alias/list.html:24
#: freeposte/admin/templates/domain/list.html:24
#: freeposte/admin/templates/fetch/list.html:25
msgid "Last edit"
msgstr ""
#: freeposte/admin/templates/alias/list.html:29
#: freeposte/admin/templates/domain/list.html:31
#: freeposte/admin/templates/fetch/list.html:30
msgid "Edit"
msgstr ""
#: freeposte/admin/templates/domain/create.html:4
#: freeposte/admin/templates/domain/list.html:9
msgid "New domain"
msgstr ""
#: freeposte/admin/templates/domain/details.html:4
msgid "Domain details"
msgstr ""
#: freeposte/admin/templates/domain/details.html:13
msgid "Regenerate keys"
msgstr ""
#: freeposte/admin/templates/domain/details.html:25
msgid "DNS MX entry"
msgstr ""
#: freeposte/admin/templates/domain/details.html:29
msgid "DNS SPF entries"
msgstr ""
#: freeposte/admin/templates/domain/details.html:36
msgid "DKIM public key"
msgstr ""
#: freeposte/admin/templates/domain/details.html:40
msgid "DNS DKIM entry"
msgstr ""
#: freeposte/admin/templates/domain/details.html:44
msgid "DNS DMARC entry"
msgstr ""
#: freeposte/admin/templates/domain/edit.html:4
msgid "Edit domain"
msgstr ""
#: freeposte/admin/templates/domain/list.html:4
msgid "Domain list"
msgstr ""
#: freeposte/admin/templates/domain/list.html:18
msgid "Manage"
msgstr ""
#: freeposte/admin/templates/domain/list.html:20
msgid "Mailbox count"
msgstr ""
#: freeposte/admin/templates/domain/list.html:21
msgid "Alias count"
msgstr ""
#: freeposte/admin/templates/domain/list.html:29
msgid "Details"
msgstr ""
#: freeposte/admin/templates/domain/list.html:36
msgid "Users"
msgstr ""
#: freeposte/admin/templates/domain/list.html:37
msgid "Aliases"
msgstr ""
#: freeposte/admin/templates/domain/list.html:38
msgid "Managers"
msgstr ""
#: freeposte/admin/templates/fetch/create.html:4
msgid "Add a fetched account"
msgstr ""
#: freeposte/admin/templates/fetch/edit.html:4
msgid "Update a fetched account"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:12
msgid "Add an account"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:20
msgid "Endpoint"
msgstr ""
#: freeposte/admin/templates/fetch/list.html:22
msgid "Last check"
msgstr ""
#: freeposte/admin/templates/manager/create.html:4
msgid "Add a manager"
msgstr ""
#: freeposte/admin/templates/manager/list.html:4
msgid "Manager list"
msgstr ""
#: freeposte/admin/templates/manager/list.html:12
msgid "Add manager"
msgstr ""

View File

@@ -14,12 +14,12 @@ import docker
app = flask.Flask(__name__, static_url_path='/admin/app_static')
default_config = {
'SQLALCHEMY_DATABASE_URI': 'sqlite:////data/freeposte.db',
'SQLALCHEMY_DATABASE_URI': 'sqlite:////data/main.db',
'SQLALCHEMY_TRACK_MODIFICATIONS': False,
'SECRET_KEY': 'changeMe',
'DOCKER_SOCKET': 'unix:///var/run/docker.sock',
'HOSTNAME': 'mail.freeposte.io',
'DOMAIN': 'freeposte.io',
'HOSTNAME': 'mail.mailu.io',
'DOMAIN': 'mailu.io',
'POSTMASTER': 'postmaster',
'DEBUG': False,
'BOOTSTRAP_SERVE_LOCAL': True,
@@ -49,7 +49,7 @@ manager.add_command('db', flask_migrate.MigrateCommand)
dockercli = docker.Client(base_url=app.config['DOCKER_SOCKET'])
# Finally setup the blueprint and redirect /
from freeposte import admin
from mailu import admin
app.register_blueprint(admin.app, url_prefix='/admin')
@app.route("/")

View File

@@ -1,5 +1,5 @@
from flask import Blueprint
from freeposte import login_manager, db
from mailu import login_manager, db
import flask_login
@@ -10,7 +10,7 @@ app = Blueprint(
static_folder='static')
# Import models
from freeposte.admin import models
from mailu.admin import models
# Register the login components
login_manager.login_view = "admin.login"
@@ -21,7 +21,7 @@ def inject_user():
return dict(current_user=flask_login.current_user)
# Import views
from freeposte.admin.views import \
from mailu.admin.views import \
admins, \
managers, \
base, \

View File

@@ -1,4 +1,4 @@
from freeposte.admin import db, models, forms
from mailu.admin import db, models, forms
import flask
import flask_login

View File

@@ -1,5 +1,5 @@
from freeposte.admin import db, dkim
from freeposte import app
from mailu.admin import db, dkim
from mailu import app
from sqlalchemy.ext import declarative
from passlib import context

View File

@@ -29,7 +29,7 @@ class="hold-transition skin-blue sidebar-mini"
{% block navbar %}
<header class="main-header">
<a href="/admin/" class="logo">
<span class="logo-lg">FreePoste.io</span>
<span class="logo-lg">Mailu</span>
</a>
</header>
<aside class="main-sidebar">
@@ -74,7 +74,7 @@ class="hold-transition skin-blue sidebar-mini"
<footer class="main-footer">
Built with <i class="fa fa-heart"></i> using <a class="white-text" href="http://flask.pocoo.org/">Flask</a> and
<a class="white-text" href="https://almsaeedstudio.com/preview">AdminLTE</a>
<span class="pull-right"><i class="fa fa-code-fork"></i> on <a class="white-text" href="https://github.com/kaiyou/freeposte.io">Github</a></a>
<span class="pull-right"><i class="fa fa-code-fork"></i> on <a class="white-text" href="https://github.com/Mailu/Mailu">Github</a></a>
</footer>
</div>
{% endblock %}

View File

@@ -55,7 +55,7 @@
{% endif %}
<li>
<a href="https://github.com/kaiyou/freeposte.io">
<a href="https://github.com/Maiu/Mailu">
<i class="fa fa-life-ring"></i> <span>{% trans %}Help{% endtrans %}</span>
</a>
</li>

Some files were not shown because too many files have changed in this diff Show More