Commit Graph

23 Commits (46429ab247d2a655a0e30db24789dd76e580a732)

Author SHA1 Message Date
Dimitri Huisman 75afe1092d
Use server-side password generator for generating token.
Fix setup correctly writing the value for API to mailu.env
Normalize env vars for front container.
Update reverse proxy with API information.
Dimitri Huisman 0673d32306
Fix setup utility setting correct value to env var API
Fix IF statement for enabling API in nginx.conf
Use safer command for regenerating example API token.
Dimitri Huisman 8cb7265eb2
By default disable the API in the setup utility.
Generate a sample token value for API_TOKEN.
Fix small rendering issue when API was disabled in setup.
Dimitri Huisman d6e7314f05
Make API configurable via the setup utility
Fix some small bugs in the setup utility
Improve documentation on the API.
Florent Daigniere cea533ae57 Merge remote-tracking branch 'upstream/master' into oletools
Florent Daigniere 43bf068be2 Enable admin by default
Florent Daigniere d0631558c7 Remove Swarm everywhere.
This hasn't been tested
Florent Daigniere 862fdda55b Tweak the wording
Diman0 ac496eed19 Update setup with new rate limit config vars.
Dimitri Huisman e5972bd9ec Set default message rate limit to 200/day
Florent Daigniere 1438253a06 Ratelimit outgoing emails per user
Diman0 4cfa2dbc2a Increase width of rate limiting text box.
Diman0 588904078e Set default of AUTH_RATELIMIT_SUBNET to False. Increase default AUTH_RATELIMIT value.
Dimitri Huisman b140fa54ac Update jquery js dependencies in setup
Dimitri Huisman 17cea83301 Completely remove step 5 where you can set the replica count for docker-stack.
Add additional warning to ´experimental' notice in setup for stack.
Add a notice the shipped PostgreSQL is deprecated.
Make the external PostgreSQL database the default option.
Make 1.7 the default version (stable_version': '1.7', in docs\conf.py)
Update mergify.yml with 1.8 version
Leigh Morresi 1ede5dc301 Grammatical and spelling mistake fixes.
kaiyou 8e88f1b8c3 Refactor the rate limiting code
Rate limiting was already redesigned to use Python limits. This
introduced some unexpected behavior, including the fact that only
one criteria is supported per limiter. Docs and setup utility are
updated with this in mind.

Also, the code was made more generic, so limiters can be delivered
for something else than authentication. Authentication-specific
code was moved directly to the authentication routine.
Ionut Filip 9bec86f2c3 Fixed TLD limitation
Tim Möhlmann 38e754be6d
Make docs refer to the setup utility
Ionut Filip 2a76451a98 Moved scripts to an external js file
Ionut Filip ffdef18bd6 Rendering admin/webmail path based on checkbox value
Tim Möhlmann 84c6b12d06
Updated labels in config page
Ionut Filip 08987dfa22 Minor changes