1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00
Commit Graph

1330 Commits

Author SHA1 Message Date
Tim Möhlmann
4783e61693
Fix password context
Fixes the following error:
```
admin_1      | [2018-11-09 09:44:10,533] ERROR in app: Exception on /internal/auth/email [GET]
admin_1      | Traceback (most recent call last):
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
admin_1      |     response = self.full_dispatch_request()
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
admin_1      |     rv = self.handle_user_exception(e)
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
admin_1      |     reraise(exc_type, exc_value, tb)
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
admin_1      |     raise value
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
admin_1      |     rv = self.dispatch_request()
admin_1      |   File "/usr/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
admin_1      |     return self.view_functions[rule.endpoint](**req.view_args)
admin_1      |   File "/usr/lib/python3.6/site-packages/flask_limiter/extension.py", line 544, in __inner
admin_1      |     return obj(*a, **k)
admin_1      |   File "/app/mailu/internal/views/auth.py", line 18, in nginx_authentication
admin_1      |     headers = nginx.handle_authentication(flask.request.headers)
admin_1      |   File "/app/mailu/internal/nginx.py", line 48, in handle_authentication
admin_1      |     if user.check_password(password):
admin_1      |   File "/app/mailu/models.py", line 333, in check_password
admin_1      |     context = User.pw_context
admin_1      | AttributeError: type object 'User' has no attribute 'pw_context'
```
2018-11-09 11:45:08 +02:00
kaiyou
72e1b444ca Merge alembic migrations 2018-11-08 21:55:39 +01:00
kaiyou
5b769e23da Merge branch 'master' into refactor-config 2018-11-08 21:43:05 +01:00
kaiyou
30716b8bdf Update docs with the new flask command 2018-11-08 21:35:41 +01:00
kaiyou
02995f0a15 Add a mailu command line to flask 2018-11-08 21:29:30 +01:00
kaiyou
f9e30bd87c Update the dockerfile and upgrade dependencies 2018-11-08 21:29:11 +01:00
kaiyou
4a7eb1eb6c Explicitely declare flask migrate 2018-11-08 20:32:23 +01:00
kaiyou
2a8808bdec Add the configuration table migration 2018-11-08 20:32:06 +01:00
kaiyou
f57d4859f3 Provide an in-context wrapper for getting users 2018-11-08 20:30:41 +01:00
kaiyou
f6013aa29f Fix an old migration that was reading configuration before migrating 2018-11-08 20:30:20 +01:00
kaiyou
206cce0b47 Finish the configuration bits 2018-11-08 20:29:52 +01:00
mergify[bot]
5c24390114
Merge pull request #697 from HorayNarea/fix-missing-dkim
allow DKIM-signing if From-Header and Auth-User mismatch - fix #462
2018-11-08 17:24:51 +00:00
mergify[bot]
12689965bd
Merge pull request #699 from usrpro/fix-admin-bug
Fixed admin_1 errors in the logs
2018-11-06 18:10:52 +00:00
hoellen
680ad4b67a
Catching only ValueError
Co-Authored-By: ionutfilip <ionut.philip@gmail.com>
2018-11-05 19:36:28 +02:00
mergify[bot]
da96ef183b
Merge pull request #700 from usrpro/feat-review-docs
Dev. docs.: Add git workflows for branching, PR and reviewing
2018-11-02 21:01:07 +00:00
mergify[bot]
e08f3e81d0
Merge pull request #680 from usrpro/feat-startup
Standarize images
2018-11-02 17:36:28 +00:00
Tim Möhlmann
2576379df5
Dev. docs.: Add git workflows for branching, PR and reviewing 2018-11-02 15:10:18 +02:00
Ionut Filip
6dcc33e390 Fixed admin_1 errors in the logs
Fixed errors when trying to log in with an account without domain.
This closes #585
2018-11-02 12:14:23 +02:00
Thomas Sänger
13bc6261e4
allow DKIM-signing if From-Header and Auth-User mismatch 2018-10-31 20:30:16 +01:00
mergify[bot]
09abaff9b6
Merge pull request #692 from HorayNarea/feat-rspamd-history
store rspamd history in redis - fix #561
2018-10-31 17:57:01 +00:00
mergify[bot]
7a116c0364
Merge pull request #696 from usrpro/fix-imap-no-webmail
Fix imap login when no webmail selected
2018-10-31 17:56:48 +00:00
Tim Möhlmann
42e2dbe35d
Standarize image by using shared / similair layers 2018-10-31 19:17:23 +02:00
Tim Möhlmann
5fa2aac569
Fix imap login when no webmail selected 2018-10-31 17:47:05 +02:00
Tim Möhlmann
903bb70c5b
Merge remote-tracking branch 'upstream/master' into standarize-images 2018-10-31 16:22:21 +02:00
Thomas Sänger
9ba086fcff
store rspamd history in redis 2018-10-30 23:28:25 +01:00
Tim Möhlmann
9004c9b8b5
Merge pull request #677 from usrpro/feat-faq
Implement a FAQ
2018-10-30 21:04:34 +01:00
mergify[bot]
e9217b8389
Merge pull request #681 from usrpro/feat-unbound-dns
Unbound DNS as optional service
2018-10-30 17:32:13 +00:00
mergify[bot]
1a5e106bb8
Merge pull request #691 from Mailu/HorayNarea-patch-1
Update roundcube
2018-10-30 07:47:49 +00:00
Thomas Sänger
7125077dec
Update roundcube 2018-10-29 01:41:04 +01:00
mergify[bot]
7408e625f6
Merge pull request #690 from dani909/fix-typo
Fix Typo in Kubernetes Docs
2018-10-28 18:11:32 +00:00
Daniel Huber
2237e641b0
Fix Typo in K8s Docs 2018-10-28 12:26:14 +01:00
mergify[bot]
da81f67254
Merge pull request #688 from hoellen/doc-fix-typo
fix typo in cli doc
2018-10-25 14:53:05 +00:00
mergify[bot]
27cf2c33a6
Merge pull request #684 from romracer/fix-683
Fix typo (duplicate self).  Fixes #683
2018-10-25 14:48:16 +00:00
hoellen
fd3a944850 fix typo in doc 2018-10-25 13:04:40 +02:00
Tim Möhlmann
b8783b670a
Take out DNS entry for webmail 2018-10-24 12:18:03 +03:00
Scott
56fb74c502 Fix typo (duplicate self). Fixes #683 2018-10-23 10:47:31 -05:00
Ionut Filip
120c29eff6 Added unbound for stack flavor 2018-10-23 17:46:06 +03:00
Ionut Filip
393bf566da Merge branch 'feat-unbound-dns' of github.com:usrpro/Mailu into feat-unbound-dns 2018-10-23 16:40:36 +03:00
Ionut Filip
6c12e2fffb Fixed subnet variable in unbound 2018-10-23 16:39:22 +03:00
Tim Möhlmann
12d8872a09
Fix unbound build path 2018-10-23 16:09:59 +03:00
Ionut Filip
da37555a3c Fixed naming error 2018-10-23 15:46:53 +03:00
Ionut Filip
7c07efc216 Added unbound to setup
- Added checkbox for unbound resolver
- Added subnet variable
- Added dns variable which is generating the ip address based on subnet
2018-10-23 15:44:30 +03:00
Tim Möhlmann
bcfce27ee2
Standarize unbound, prepare for setup inclusion
- Use jinja template for configuration file (start.py)
- Limit access to the Mailu subnet
- Implement health checks
2018-10-23 15:07:49 +03:00
hoellen
9412c8e1e9
Correct spelling error
Co-Authored-By: muhlemmer <muhlemmer@gmail.com>
2018-10-23 13:52:43 +03:00
Ionut Filip
8a44a44688
Merge branch 'master' into feat-startup 2018-10-23 12:51:32 +03:00
Tim Möhlmann
40d8e65762
Revert docker-compose to latest upstream version 2018-10-23 12:22:36 +03:00
Tim Möhlmann
5b7b29ee3f
Merge remote-tracking branch 'upstream/master' into feat-unbound-dns 2018-10-23 12:16:36 +03:00
Ionut Filip
1187cac5e1 Finished up switching from .sh to .py 2018-10-23 11:58:36 +03:00
Tim Möhlmann
2124df36ec
Merge pull request #663 from HorayNarea/feat-healthchecks
implement healthchecks - resolves #631
2018-10-22 21:07:03 +03:00
Thomas Sänger
76e95bd585
Fix typo
Co-Authored-By: muhlemmer <muhlemmer@gmail.com>
2018-10-22 21:05:55 +03:00