Commit Graph

50 Commits (f6cdfb3392961c072d14927efa65f541266a776d)

Author SHA1 Message Date
bors[bot] e0ff135a00
Merge
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 

## 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>
Florent Daigniere ff9f152a52 This may be helpful too
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.
Alexander Graf a2d43be6de
Fix building wheels when deps need to compile
Alexander Graf bba98b320e
Fix armv7 build by manually downloading crates.io index
Florent Daigniere 6def1b555b doh
Florent Daigniere 96d9289630 No need to send an extra \n
Florent Daigniere cdc9b63a46 Guard the message logging too
Florent Daigniere 2a417dbfc2 doesn't belong here
Florent Daigniere 1ce889b91b Do it the pythonic way
Florent Daigniere e10527a4bf This is not used anymore
Florent Daigniere 1ae4c37cb9 Don't do fancy, just re-raise it
Florent Daigniere 5ec4277e1e Make it async. I'm not sure it's a good idea
Florent Daigniere cf34be967c Implement ITERATE
Florent Daigniere 340e359096 doh
Florent Daigniere 076d67b513 follow the protocol
Florent Daigniere 2e467092a2 The newer dovecot sends data podop should ignore
Florent Daigniere 8942448561 Upgrade to alpine 3.16.2
This may fix the build issues on arm
Alexander Graf 024b0573b3
Update build reqs and fix armv7 build
Alexander Graf 7441a420c4
Fix and speed-up arm build. Allow chosing of prod/dev env.
Alexander Graf 146921f619
Move curl to base image
Alexander Graf 4c1071a497
Move all requirements*.txt to base image
Alexander Graf a29f066858
Move even more python deps to base image
Alexander Graf 8668b269cd
Add requirements.txt for base image
Alexander Graf 9f511faf64
Merge pull request from NeverBehave/master
fix: resolve IPv6 container hostname
Dimitri Huisman b711f930ef
Merge pull request from vavanade/patch-1
fix docstring
Dimitri Huisman c0066abd01
Merge pull request from micw/log-failed-dns
Add logging for failed DNS lookups
kaiyou f63837b8e1
Update to 0.2.0
kaiyou 68d44201ab
Merge pull request from micw/resolve-host-if-address-not-set
Resolve host if address not set
kaiyou b198fde756
Merge pull request from micw/fix-random-failures
Change test hostnames for stable test results
kaiyou 7f6d51904b
Remove wrong dependency to importlib
kaiyou ef344c62f6
Add automated tests
kaiyou 74a3e87de3
Fix a couple syntax typos
kaiyou 351b05b92d
Allow jinja to load from file path or handle
kaiyou 0370b26f3e
Initial commit
Alexander Graf ce9d886195
Merge pull request from ghostwheel42/add_gitignore
Add .gitignore file
kaiyou dbec5f0a6c
Switch to setuptools and bump the version
kaiyou 3d0d831c76
Version 0.2.4
kaiyou e2979f9103
Merge pull request from Nebukadneza/fix_py37
Don’t use deprecated now-keyword "async"
kaiyou 6fadd39aea
Merge pull request from Nebukadneza/add_key_url_quoting
URL-Quote the key in HTTP requests
kaiyou 080e76f972
Merge pull request from rakshith-ravi/patch-1
Fixed a small typo
kaiyou 23e5aa2e05
Escape strings properly in the Dovecot dict dialect
kaiyou 814bb1f36d
Properly miss when the web api returns 404
kaiyou d2b98ae323
Update to 0.2.2
kaiyou 81d171f978
Add some debug logging to the table class
Pierre Jaury d640da8787
Include package data in the package
Pierre Jaury c5fa0280a0
Add support for dovecot dict_set operations
Pierre Jaury eb6b1866f1
Specify dependencies in the setup script
Pierre Jaury b1b0aeb69d
Initial commit
Alexander Graf 5e552bae69
Add base image