summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-06-16Update to community auth v3HEADmasterMagnus Hagander
2025-06-03Add server connection information to dashboard pageMagnus Hagander
If the user has a mailbox, we should tell them how to use it. Information is only shown once the user is actually confirmed to have a mailbox.
2025-06-03Use a password field for passwords, not plain textMagnus Hagander
2025-06-02Ensure forwarders point to email addresesMagnus Hagander
Django has a basic field for email validation, so let's use it.
2025-06-02Put fields in more logical and consistent orderMagnus Hagander
2025-06-02Filter list of domains to those with permissionsMagnus Hagander
2025-06-02Add support for deleting forwardersMagnus Hagander
At this point, mailboxes are a bit more complicated on the backend side (as they have storage), so that's for later.
2025-06-02Move form guts out to a separate fileMagnus Hagander
2025-06-02Refactor getting virtual user/forwarder to their own functionsMagnus Hagander
As this is basically a permissions check, let's centralize it.
2025-06-02Don't allow log-in at all for users with no permissionsMagnus Hagander
2025-06-02Only allow superusers to edit mail quotaMagnus Hagander
2025-06-02Disable the local part field when it can't be changedMagnus Hagander
Iẗ́'s silly to have a dropdown you can change and only give an error message later :)
2025-06-02Allow superusers to bypass pattern based permissionsMagnus Hagander
To avoid having to explicitlyg rant wildcard permissions across all existing domains...
2025-06-02Add back-links to admin formsMagnus Hagander
2025-06-02Add community account to mailboxes, and self service password changeMagnus Hagander
Instead of just having pattern based permissions, also make it possible to attach a community account to an individual mailbox. If this is done, that account can then manage their own password without having pattern based access, as a simple self-service. The only thing they can change is the password, other attributes are still managed by the admins.
2025-06-02Set a default mail quotaMagnus Hagander
2025-06-02Give error message instead of empty list for no permissionsMagnus Hagander
2025-06-02Move admin functionality to /adm/Magnus Hagander
This along with moving django admin to /adm/admin/. More to come in next commit(s).
2024-04-09Update for django 4.2Magnus Hagander
2023-06-07Sync up to latest version of pgweb auth pluginMagnus Hagander
2021-11-07Add DEFAULT_AUTO_FIELD for Django 3.2Magnus Hagander
2020-08-11Update to latest version of community auth pluginMagnus Hagander
This includes receiving updates from the new push api.
2020-04-02Update for django 2.2Magnus Hagander
2020-02-26Sync up community auth plugin to latest-and-greatestMagnus Hagander
2019-02-24Make the layout slightly less suckyMagnus Hagander
2019-02-24Don't crash when changing local domainMagnus Hagander
Changes of local part was properly blocked with an error message. Changing the local domain was blocked but then caused an exception further down the code. This has been broken since forever, clearly not something people have tried, but of course still worth fixing.
2019-02-24Import latest version of py3 compatible auth moduleMagnus Hagander
2019-02-24Update to python 3Magnus Hagander
2019-02-24Fixes for pep8 compatibilityMagnus Hagander
Also add a setup.py that's used to validate, and a git hook.
2019-02-24Change tabs to spacesMagnus Hagander
2018-03-25Fix template loaders for django 1.11Magnus Hagander
Seems django 1.11 automatically enables caching template loader, which of course breaks the ability to make any changes to the pages of a website without restarting it. And there is no way to turn it off other than to explicitly configure individual loders (the logic to turn it on in non-debug configurations is hardcoded and cannot be changed).
2018-02-21Update for compatibility with Django 1.11Magnus Hagander
2017-03-10Drop a trigger file in /tmp/ whenever anything is changedMagnus Hagander
This can be picked up by a cronjob for frequent posting of the data to central routing servers. This way we don't have to poll everything very frequently.
2015-12-21Force DEBUG=False in settings.pyMagnus Hagander
This is normally overriden in the local settings to be off in prod and on in testing, but it's always good to be explicit.
2015-12-21Update for Django 1.8Magnus Hagander
* Move manage.py to parent directory, and update for new contents * Import a wsgi.py from 1.8 * Change transactions from commit_on_success to atomic * Add mandatory fields list to forms * Fully qualify name on imports * New module for django URL functions
2013-01-20Fix community login when starting at the /admin/ urlMagnus Hagander
Previously only worked if you started out at the root, not if you went directly into the admin pages.
2013-01-20Wrong namespace for the authentication backendMagnus Hagander
2012-08-17Add some missing transaction tagsMagnus Hagander
2012-08-17Oops, remove debugging codeMagnus Hagander
2012-08-17Add loggingMagnus Hagander
2012-08-17Integrate with community loginMagnus Hagander
2012-08-17Initial commitMagnus Hagander