Skip to content

Commit

Permalink
Release v1.1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mprahl committed Sep 4, 2016
1 parent eb7d25c commit 28d11ea
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
3 changes: 1 addition & 2 deletions build_release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
#REVISION=`git describe --abbrev=0 --tags | cut -c 2-`
REVISION=1.4.0
REVISION=1.1.0
fpm -s dir -t deb -n "postmaster" -v $REVISION \
--prefix /opt/postmaster/git \
--description 'PostMaster is a beautiful web application to manage domains, users, and aliases on a Linux mail server' \
Expand Down
8 changes: 4 additions & 4 deletions docs/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Unreleased
### v1.1.0 - A Hard Day's Night

BACKWARDS INCOMPATIBILITIES / NOTES:

Expand All @@ -14,7 +14,7 @@ Features:
* Database upgrades/migrations are automatic during ugrades via the deb package and Docker [GH-138]
* Adds the ability to unlock administrators and reset administrator passwords via the CLI [GH-145]
* Adds the `python manage.py version` command [GH-156]
* Adds the `python manage.py setkey` command [CHANGEME]
* Adds the `python manage.py setkey` command [GH-161]

Improvements:

Expand All @@ -25,13 +25,13 @@ Improvements:
* Made the `python manage.py clean` function completely OS agnostic [GH-158]
* Vagrant now uses Ansible for configuration instead of a bash script [GH-111]
* Updated the Python packages to the latest versions [GH-135]
* Apache logs for PostMaster now default to /opt/postmaster/logs
* Apache logs for PostMaster now default to /opt/postmaster/logs [GH-151]

Bug Fixes:

* Fixed an issue where error logs were attempting to be written before the log file path was defined [GH-109]
* The configuration file, config.py, is now named as config.default.py in the repository. During installation, the administrator must now copy or rename config.default.py to config.py.
This is so that config.py is not overwritten during package upgrades.
This is so that config.py is not overwritten during package upgrades [GH-157].


### v1.0.0 - Abbey Road
Expand Down
14 changes: 7 additions & 7 deletions docs/Installation/Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ bind-address is set 0.0.0.0 and not 127.0.0.1 in:

tar -xzvf ~/postmaster.tar.gz

3. Build the Docker image:
4. Build the Docker image:

cd ~/PostMaster-*
docker build -t postmaster .

4. Create a directory on the Docker host to contain PostMaster's application and Apache logs:
5. Create a directory on the Docker host to contain PostMaster's application and Apache logs:

mkdir -p /opt/postmaster_data/logs

4. Run a PostMaster Docker container from the created image.
6. Run a PostMaster Docker container from the created image.
The -p has the Docker host serve port 80 of the PostMaster container. Change this to what suits your environment.
The -e specifies the value of the DB_URI environment variable, which is the URI that PostMaster will use to connect to your mail server's MySQL server.
The -v parameter specifies that the /opt/postmaster_data/logs should be mounted as a volume at /opt/postmaster/logs inside the container.
Expand All @@ -58,9 +58,9 @@ Make sure to replace 'password_changeme' and 'docker.postmaster.local' with what
-v /opt/postmaster_data/logs:/opt/postmaster/logs \
-d postmaster

Note: If you plan to deploy PostMaster behind a load-balancer, set the SECRET_KEY environment variable to a
random string (preferably hex characters) that is the same across all running containers behind the load-balancer.
This SECRET_KEY is used by Flask (the Python framework used for PostMaster) for cryptographic functions.
Note: If you plan to deploy PostMaster behind a load-balancer, set the SECRET_KEY environment variable to a
random string (preferably hex characters) that is the same across all running containers behind the load-balancer.
This SECRET_KEY is used by Flask (the Python framework used for PostMaster) for cryptographic functions.

5. PostMaster should now be running. Simply use the username "admin" and the password "PostMaster" to login.
7. PostMaster should now be running. Simply use the username "admin" and the password "PostMaster" to login.
You can change your username and password from Manage -> Administrators.
2 changes: 1 addition & 1 deletion postmaster/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from flask_login import LoginManager
from flask_bcrypt import Bcrypt

__version__ = '1.1.0.0-beta'
__version__ = '1.1.0.0'
app = Flask(__name__)

if environ.get('POSTMASTER_DEV') == 'TRUE':
Expand Down

0 comments on commit 28d11ea

Please sign in to comment.