bors[bot]
cca4b50915
Merge #1607
...
1607: _FILE variables for Docker swarm secrets r=mergify[bot] a=lub
## What type of PR?
enhancement
## What does this PR do?
This PR enables usage of DB_PW_FILE and SECRET_KEY_FILE instead of DB_PW and SECRET_KEY to load these values from files instead of supplying them directly. That way it's possible to use Docker secrets.
### Related issue(s)
## Prerequistes
Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.
- [x] In case of feature or enhancement: documentation updated accordingly
- [x] Unless it's docs or a minor change: add [changelog](https://mailu.io/master/contributors/guide.html#changelog ) entry file.
Co-authored-by: lub <git@lubiland.de>
2021-03-08 09:07:10 +00:00
Florent Daigniere
0dcc059cd6
Add a new knob as discussed on matrix with lub
2021-03-05 22:26:46 +01:00
Jaume Barber
5bb67dfcbb
Translated using Weblate (Basque)
...
Currently translated at 100.0% (151 of 151 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/eu/
2021-03-04 18:46:27 +00:00
Jaume Barber
a49b9d7974
Translated using Weblate (Catalan)
...
Currently translated at 99.3% (150 of 151 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/ca/
2021-03-04 18:46:26 +00:00
Jaume Barber
cd9992f79c
Translated using Weblate (Swedish)
...
Currently translated at 74.2% (121 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/sv/
2021-03-04 18:46:25 +00:00
Jaume Barber
afae5d1c24
Translated using Weblate (Russian)
...
Currently translated at 88.3% (144 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/ru/
2021-03-04 18:46:25 +00:00
Jaume Barber
7a01a63389
Translated using Weblate (Portuguese)
...
Currently translated at 88.3% (144 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/pt/
2021-03-04 18:46:24 +00:00
Jaume Barber
480ec29d3d
Translated using Weblate (Italian)
...
Currently translated at 91.4% (149 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/it/
2021-03-04 18:46:24 +00:00
Jaume Barber
5e96a4bfcf
Translated using Weblate (Spanish)
...
Currently translated at 91.4% (149 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/es/
2021-03-04 18:46:24 +00:00
Jaume Barber
6143d66eb8
Translated using Weblate (English)
...
Currently translated at 39.2% (64 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-04 18:46:24 +00:00
Anonymous
6da5978870
Translated using Weblate (German)
...
Currently translated at 88.3% (144 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/de/
2021-03-04 18:46:24 +00:00
Anonymous
58c22fd2c6
Translated using Weblate (English)
...
Currently translated at 38.6% (63 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 18:18:39 +00:00
Jaume Barber
0dc8817f32
Translated using Weblate (English)
...
Currently translated at 38.6% (63 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 18:18:39 +00:00
Anonymous
3d17000ceb
Translated using Weblate (English)
...
Currently translated at 29.4% (48 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 17:57:27 +00:00
Jaume Barber
a2933d00f3
Translated using Weblate (English)
...
Currently translated at 29.4% (48 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 17:57:26 +00:00
Jaume Barber
7c0158c5f8
Translated using Weblate (English)
...
Currently translated at 17.7% (29 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 17:17:18 +00:00
Anonymous
7de94275a0
Translated using Weblate (English)
...
Currently translated at 17.7% (29 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 17:17:18 +00:00
Jaume Barber
43133d8515
Added translation using Weblate (Basque)
2021-03-03 17:05:23 +00:00
Jaume Barber
5e0aa65c8d
Translated using Weblate (Italian)
...
Currently translated at 96.3% (157 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/it/
2021-03-03 17:03:23 +00:00
Jaume Barber
725cdc270c
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (163 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/es/
2021-03-03 12:37:52 +00:00
Weblate
a571704a9d
Merge branch 'origin/master' into Weblate.
2021-03-03 11:35:49 +00:00
Jaume Barber
b9c2dc1a79
Translated using Weblate (Catalan)
...
Currently translated at 98.6% (149 of 151 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/ca/
2021-03-03 11:35:49 +00:00
Anonymous
3a9a133226
Translated using Weblate (English)
...
Currently translated at 11.0% (18 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 11:35:47 +00:00
Jaume Barber
af251216b0
Translated using Weblate (English)
...
Currently translated at 11.0% (18 of 163 strings)
Translation: Mailu/admin
Translate-URL: https://translate.tedomum.net/projects/mailu/admin/en/
2021-03-03 11:35:47 +00:00
Alexander Graf
b55b53b781
optimize generation of transport nexthop
2021-02-26 20:51:58 +01:00
Alexander Graf
0a9f732faa
added docstring to Logger. use generators.
2021-02-22 20:35:23 +01:00
Alexander Graf
bde7a2b6c4
moved import logging to schema
...
- yaml-import is now logged via schema.Logger
- iremoved relative imports - not used in other mailu modules
- removed develepment comments
- added Mailconfig.check method to check for duplicate domain names
- converted .format() to .format_map() where possible
- switched to yaml multiline dump for dkim_key
- converted dkim_key import from regex to string functions
- automatically unhide/unexclude explicitly specified attributes on dump
- use field order when loading to stabilize import
- fail when using 'hash_password' without 'password'
- fixed logging of dkim_key
- fixed pruning and deleting of lists
- modified error messages
- added debug flag and two verbosity levels
2021-02-19 18:01:02 +01:00
Florent Daigniere
aa8cb98906
Set sensible cookie options
2021-02-18 15:47:13 +01:00
Alexander Graf
e4c83e162d
fixed colorize auto detection
2021-02-16 17:59:43 +01:00
Alexander Graf
e46d4737b0
merged changes from api without api
2021-02-16 17:12:45 +01:00
Alexander Graf
4b9886b139
Merge remote-tracking branch 'upstream/master' into import-export
2021-02-16 16:24:30 +01:00
Alexander Graf
10435114ec
updated remarks and docs
2021-02-16 15:36:01 +01:00
Alexander Graf
1e2b5f26ab
don't handle nested lists
2021-02-16 13:34:02 +01:00
Alexander Graf
70a1c79f81
handle prune and delete for lists and backrefs
2021-02-15 22:57:37 +01:00
Alexander Graf
8929912dea
remove OrderedDict - not necessary in python>=3.7
2021-02-15 21:56:58 +01:00
Alexander Graf
3937986e76
Convert OrderedDict to dict for output
2021-02-15 10:01:35 +01:00
Alexander Graf
68caf50154
new import/export using marshmallow
2021-02-15 00:46:59 +01:00
lub
88f992de16
show flash messages again
...
This basically restores the behaviour, that got removed in
ecdf0c25b3d9bbaa028bdc46cb721d2fb406dde2 during refactoring.
2021-02-13 13:36:05 +01:00
Florent Daigniere
2e749abe61
DNS records for client autoconfiguration (RFC6186)
2021-02-07 18:50:26 +01:00
Florent Daigniere
b49554bec1
merge artifact
2021-02-07 18:12:00 +01:00
Florent Daigniere
ef637f51b7
derive the SSO keys from a KDF
2021-02-07 17:58:19 +01:00
Florent Daigniere
906a051925
Make rainloop use internal auth
2021-02-07 17:50:17 +01:00
Alexander Graf
1c9abf6e48
updated requirements for import/export
...
api reqs (flask-restx, ...) are still missing
2021-01-24 19:27:22 +01:00
Alexander Graf
902b398127
next step for import/export yaml & json
2021-01-24 19:07:48 +01:00
Mordi Sacks
f56af3053a
Removed email address
2021-01-17 01:28:25 +02:00
Alexander Graf
65b1ad46d9
order yaml data and allow callback on import
...
- in yaml the primary key is now always first
- calling a function on import allows import to be more verbose
- skip "fetches" when empty
2021-01-15 13:57:20 +01:00
Alexander Graf
8213d044b2
added docstrings, use f-strings, cleanup
...
- idna.encode does not encode upper-case letters,
so .lower() has to be called on value not on result
- split email-address on '@' only once
- converted '*'.format(*) to f-strings
- added docstrings
- removed from_dict method
- code cleanup/style (list concat, exceptions, return&else, line-length)
- added TODO comments on possible future changes
2021-01-15 13:53:47 +01:00
Alexander Graf
31a903f959
revived & renamed config-fns. cosmetics.
...
- revived original config-update function for backwards compability
- renamed config-dump to config-export to be in line with config-import
- converted '*'.format(*) to f-strings
- converted string-concatenation to f-strings
2021-01-15 13:45:36 +01:00
Alexander Graf
c24bff1c1b
added config_import using marshmallow
2021-01-14 01:11:04 +01:00
Alexander Graf
7413f9b7b4
config_dump now using marshmallow
2021-01-13 00:05:43 +01:00