Commit Graph

1715 Commits (86b4242f8200268c5ee36a0742b3d718b5f49fc8)
 

Author SHA1 Message Date
Pierre Jaury 525089a531 Do not leak information about existing domains or users
Pierre Jaury dcda715382 Force temporary files to /tmp, related to
Pierre Jaury 2cb4a44b5a Display fetchmail errors to the user, fixes
Pierre Jaury 709869d4ba Escape fetchmail parameters properly
Pierre Jaury 55d5121816 Buld the proper http image
Pierre Jaury f07615c4a4 Do not expose the Web admin interface by default, fixes
Pierre Jaury ec5a75f603 Proxify to webmail only if enabled, related to
kaiyou 18253b1dd3 Merge pull request from vhf/admin-creation
Allow admin creation after initial setup
kaiyou c1770a1dc1 Merge pull request from vhf/typofix
Fix a typo in the admin UI
Victor Felder 3976a5b38e Allow admin creation after initial setup
Victor Felder 97d952d7f1 Fix a typo
Pierre Jaury 3f6175c34a Remove deprecated awl settings
Pierre Jaury 382030a7aa Revert to using 'latest' for testing
Pierre Jaury d60ef1991c Add a rainloop Webmail image, fixes
Pierre Jaury f5b9f569ca Add a link to the demo server documentation
kaiyou cbc6bb5dd6 Merge pull request from kaiyou/feat-refactor-permissions
Refactor the access control code
Pierre Jaury 40b9883c8c Filter outgoing email headers, fixes
Pierre Jaury 92bbfde195 Add a PNG logo for rendering
Pierre Jaury 56e6c7565e Add a draft logo
Pierre Jaury e24da96e58 Add some documentation to access decorators
Pierre Jaury 09bec055fd Fix domain deletion permissions
Pierre Jaury c1f9b61dac Add a simple permission audit script
Pierre Jaury f8dcef22ef Fix the manager deletion behaviour
Pierre Jaury f541a951de Remove obsolete utils module
Pierre Jaury 713318f097 Clean imports and remove calls to the utils module
Pierre Jaury ee9a416696 Implement the decorator-based access control for all views
Pierre Jaury 4e4f2b8037 First shot at improving access control, related to
A couple of things are important to note for this commit:
- it only implements the new access control for alias and admin management
- the access control code is located in access.py

The idea behind simpler access control is auditability. There have been a
couple of bugs related to functions not checking permissions properly. If
checking permissions is as simple as decorating a function, exporting the
permission scheme for an audit should be simple.

Also, this still does not address the information leakage related to 404 errors
when an object does not exist, independently of permissions the user has over
the domain.
Pierre Jaury 3ea3bc1d8e Enforce permission checks for admin management
kaiyou ee6e9b2690 Add a reference to the Freenode IRC channel.
Pierre Jaury 6dc9131b97 Fix the wildcard migration script, fixes
Pierre Jaury 26f7f5a73b Change the env file name in the README file
Pierre Jaury bac20081ee Split the environment file into sections
Pierre Jaury d2d84acd5f Comment all 'build' directives
Pierre Jaury e3197f9156 Have the admin interface listen on localhost
Pierre Jaury 1b6c514dc5 Disable the frontend Web server by default
Pierre Jaury a8eafc508a Default listen on localhost only
Pierre Jaury 7ac44eabeb Add a VERSION variable to avoid modifying the docker-compose file
Pierre Jaury 14ec783ef7 Add a dynamic Webmail option with a 'none' container
Pierre Jaury cf84b82c57 Move the configuration file to .env to support global variables
Pierre Jaury 581a0882af Pull images from Docker Hub by default
Pierre Jaury 8fc95a96d2 Disable debug and set an explicit default secret key
Pierre Jaury ef5d3a77c6 Pull images from Docker Hub by default
Pierre Jaury 8601d5b8db Fix when deleting a global admin
Pierre Jaury 1273571299 Add a changelog
Pierre Jaury 0d3c75aa89 Fix a migration issue with wildcard aliases
Pierre Jaury bfe9ededbc Fix spam filtering when the score is negative
Pierre Jaury 2602ef2883 Add a feature item about freedom
Pierre Jaury e916998bb2 Apply the BetterCrypto nginx configuration, related to
Pierre Jaury 3d1e5523d4 Use a non-starttls configuration for SMTPS port, related to
Pierre Jaury a6ab917aea Do not enforce TLS on the default SMTP port, related to