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

100 Commits

Author SHA1 Message Date
bors[bot]
e0ff135a00
Merge #2498
2498: Implement ITERATE in podop r=mergify[bot] a=nextgens

## What type of PR?

Feature

## What does this PR do?

This makes ``doveadm -A`` work.

The easiest way to try it out is:
```
doveadm dict iter proxy:/tmp/podop.socket:auth shared/userdb

or 

doveadm user '*'
```

The protocol is described at https://doc.dovecot.org/developer_manual/design/dict_protocol/
The current version of dovecot is not using flags... so there's little gain in implementing them.

### Related issue(s)
- close #2499

## Prerequisites
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.

- [ ] 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/workflow.html#changelog) entry file.


Co-authored-by: Florent Daigniere <nextgens@freenetproject.org>
Co-authored-by: Alexander Graf <ghostwheel42@users.noreply.github.com>
2022-11-03 16:54:24 +00:00
Florent Daigniere
ff9f152a52 This may be helpful too 2022-11-01 14:11:59 +01:00
Florent Daigniere
5137b235e9 whitelist what we know works
If other people use other arch and want their builds to go faster we can
whitelist them too after they have confirmed it works.
2022-11-01 13:47:21 +01:00
Alexander Graf
a2d43be6de
Fix building wheels when deps need to compile 2022-11-01 11:02:21 +01:00
Alexander Graf
bba98b320e
Fix armv7 build by manually downloading crates.io index 2022-10-31 23:40:51 +01:00
Florent Daigniere
6def1b555b doh 2022-10-31 10:06:55 +01:00
Florent Daigniere
96d9289630 No need to send an extra \n 2022-10-30 22:12:15 +01:00
Florent Daigniere
cdc9b63a46 Guard the message logging too 2022-10-30 21:54:03 +01:00
Florent Daigniere
2a417dbfc2 doesn't belong here 2022-10-30 21:51:29 +01:00
Florent Daigniere
1ce889b91b Do it the pythonic way 2022-10-30 21:43:34 +01:00
Florent Daigniere
e10527a4bf This is not used anymore 2022-10-30 21:33:10 +01:00
Florent Daigniere
1ae4c37cb9 Don't do fancy, just re-raise it 2022-10-30 21:25:34 +01:00
Florent Daigniere
5ec4277e1e Make it async. I'm not sure it's a good idea 2022-10-30 21:11:45 +01:00
Florent Daigniere
cf34be967c Implement ITERATE 2022-10-30 20:15:10 +01:00
Florent Daigniere
340e359096 doh 2022-10-29 17:13:58 +02:00
Florent Daigniere
076d67b513 follow the protocol 2022-10-29 17:02:52 +02:00
Florent Daigniere
2e467092a2 The newer dovecot sends data podop should ignore 2022-10-29 15:53:55 +02:00
Florent Daigniere
8942448561 Upgrade to alpine 3.16.2
This may fix the build issues on arm
2022-10-29 11:40:14 +02:00
Alexander Graf
024b0573b3
Update build reqs and fix armv7 build 2022-10-28 15:47:48 +02:00
Alexander Graf
7441a420c4
Fix and speed-up arm build. Allow chosing of prod/dev env. 2022-10-14 16:17:46 +02:00
Alexander Graf
146921f619
Move curl to base image 2022-10-14 14:34:58 +02:00
Alexander Graf
4c1071a497
Move all requirements*.txt to base image 2022-10-14 14:34:27 +02:00
Alexander Graf
a29f066858
Move even more python deps to base image 2022-10-12 16:32:27 +02:00
Alexander Graf
8668b269cd
Add requirements.txt for base image 2022-10-12 16:32:26 +02:00
Alexander Graf
9f511faf64
Merge pull request #8 from NeverBehave/master
fix: resolve IPv6 container hostname
2022-10-12 16:32:26 +02:00
Dimitri Huisman
b711f930ef
Merge pull request #9 from vavanade/patch-1
fix docstring
2022-10-12 16:32:26 +02:00
Dimitri Huisman
c0066abd01
Merge pull request #6 from micw/log-failed-dns
Add logging for failed DNS lookups
2022-10-12 16:32:25 +02:00
kaiyou
f63837b8e1
Update to 0.2.0 2022-10-12 16:32:25 +02:00
kaiyou
68d44201ab
Merge pull request #4 from micw/resolve-host-if-address-not-set
Resolve host if address not set
2022-10-12 16:32:25 +02:00
kaiyou
b198fde756
Merge pull request #3 from micw/fix-random-failures
Change test hostnames for stable test results
2022-10-12 16:32:25 +02:00
kaiyou
7f6d51904b
Remove wrong dependency to importlib 2022-10-12 16:32:25 +02:00
kaiyou
ef344c62f6
Add automated tests 2022-10-12 16:32:24 +02:00
kaiyou
74a3e87de3
Fix a couple syntax typos 2022-10-12 16:32:24 +02:00
kaiyou
351b05b92d
Allow jinja to load from file path or handle 2022-10-12 16:32:24 +02:00
kaiyou
0370b26f3e
Initial commit 2022-10-12 16:32:24 +02:00
Alexander Graf
ce9d886195
Merge pull request #10 from ghostwheel42/add_gitignore
Add .gitignore file
2022-10-12 16:32:24 +02:00
kaiyou
dbec5f0a6c
Switch to setuptools and bump the version 2022-10-12 16:32:23 +02:00
kaiyou
3d0d831c76
Version 0.2.4 2022-10-12 16:32:23 +02:00
kaiyou
e2979f9103
Merge pull request #6 from Nebukadneza/fix_py37
Don’t use deprecated now-keyword "async"
2022-10-12 16:32:23 +02:00
kaiyou
6fadd39aea
Merge pull request #3 from Nebukadneza/add_key_url_quoting
URL-Quote the key in HTTP requests
2022-10-12 16:32:23 +02:00
kaiyou
080e76f972
Merge pull request #1 from rakshith-ravi/patch-1
Fixed a small typo
2022-10-12 16:32:23 +02:00
kaiyou
23e5aa2e05
Escape strings properly in the Dovecot dict dialect 2022-10-12 16:32:22 +02:00
kaiyou
814bb1f36d
Properly miss when the web api returns 404 2022-10-12 16:32:22 +02:00
kaiyou
d2b98ae323
Update to 0.2.2 2022-10-12 16:32:22 +02:00
kaiyou
81d171f978
Add some debug logging to the table class 2022-10-12 16:32:22 +02:00
Pierre Jaury
d640da8787
Include package data in the package 2022-10-12 16:32:22 +02:00
Pierre Jaury
c5fa0280a0
Add support for dovecot dict_set operations 2022-10-12 16:32:21 +02:00
Pierre Jaury
eb6b1866f1
Specify dependencies in the setup script 2022-10-12 16:32:21 +02:00
Pierre Jaury
b1b0aeb69d
Initial commit 2022-10-12 16:32:21 +02:00
Alexander Graf
5e552bae69
Add base image 2022-10-12 16:32:20 +02:00