Piotr F. Mieszkowski
617a208fe9
Fix indentation and names after rebase
2022-05-06 20:25:22 +02:00
Piotr F. Mieszkowski
af5a5b4176
Use Lacre logging and configuration in cron.py
2022-05-06 20:13:19 +02:00
Piotr F. Mieszkowski
52b31028c5
Fix config key typo
2022-04-24 10:07:52 +02:00
Piotr F. Mieszkowski
ffc53b935a
Finish migration to SQLAlchemy and automate testing cron.py
2022-04-23 13:08:40 +02:00
Piotr F. Mieszkowski
7aff414fb7
Use SQLAlchemy to access database
...
- Replace hardcoded MySQLdb package with sqlalchemy to support other RDBMS
backends.
- Provide a script that could eventually replace schema.sql (schema.py).
- Update sample configuration.
2022-04-23 09:39:20 +02:00
muppeth
86b725349f
added smtp auth to cron.py
2022-04-20 13:01:58 +02:00
Piotr F. Mieszkowski
ea0e012c04
Use 'open' to open a file
2022-04-19 21:35:22 +02:00
Piotr F. Mieszkowski
5a34249090
Fix minor cron.py issues
...
Related to #63 : TypeError: memoryview: a bytes-like object is required, not
'str'.
- Allow GnuPG.add_key accept either 'str' or 'bytes'.
- Import MIMEText from email.mime.text.
2022-04-10 19:03:18 +02:00
Piotr F. Mieszkowski
5f02223ec7
Perform automatic migration to Python 3.x
...
Use lib2to3 automatic migration tool provided by Python 2.x to convert
codebase to new idioms.
Command line:
find . -type f -name '*.py' \
-exec python2.7 -m lib2to3 \
-f all -f idioms -f buffer -f set_literal -f ws_comma -w \
'{}' '+'
2022-01-10 18:21:20 +01:00
fkrone
9cfbd24bdc
All mails from cron script are now passed through the GPG-Mailgate so they are encrypted if possible.
2015-06-04 20:13:04 +02:00
fkrone
d3bbb82072
Make the SMTP relay used by cron configurable via config. Use the same as the gateway does.
2015-03-28 19:41:40 +01:00
fkrone
efe2187bb5
Logging for cron job does now work to syslog if defined so in the config file (previously it thought it should write to a file called 'syslog' instead of the real syslog)
2015-03-28 19:23:49 +01:00
fkrone
f7e3b16069
Changes to cron, register-handler, settings and templates:
...
- Cron now notifies user what happened (key successfully added/deleted or error)
- More options to customize templates
- Separating concepts in settings (S/MIME, templates)
- Register-handler now only informs on failed PGP submissions (reduce mails to user and false positive mails)
2015-01-31 16:08:12 +01:00
fkrone
fd1b7517db
Informing user about key submitting status. Needs some rework.
2015-01-18 17:04:12 +01:00
perennate
fbe2f1bba1
Update license to GNU GPL v3.
2013-10-02 14:27:28 -04:00
perennate
e01e505374
Release under GNU Lesser General Public License.
2013-09-27 22:21:55 -04:00
perennate
bcebd12269
Fix for case where user wants to disable encryption with blank key.
2013-09-27 21:52:11 -04:00
perennate
98b4e341cf
Initial commit for gpg-mailgate-web addition.
2013-09-26 19:40:27 -04:00