-
Notifications
You must be signed in to change notification settings - Fork 25
✨(client-bridge) add new IMAP/SMTP proxy for legacy clients (!) #583
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
ff310a6
3f94b32
b66e772
6e70191
259910d
5c80e49
f526203
e7266d5
5a34fc1
5d4e929
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,9 @@ on: | |
| branches: | ||
| - 'release/**' | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
|
|
||
| synchronize-with-crowdin: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,9 @@ on: | |
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
|
|
||
| synchronize-with-crowdin: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,8 @@ | ||
| name: Build and Push Container Image | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| "on": | ||
| workflow_call: | ||
| inputs: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| MESSAGES_API_BASE_URL=http://backend-dev:8000/api/v1.0/ | ||
| CLIENTBRIDGE_API_SECRET=my-shared-secret-clientbridge-at-least-32-bytes | ||
| ENABLE_IMAP=true | ||
| IMAP_HOST=0.0.0.0 | ||
| IMAP_PORT=143 | ||
| ENABLE_SMTP=true | ||
| SMTP_HOST=0.0.0.0 | ||
| SMTP_PORT=587 |
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2818,6 +2818,60 @@ | |||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "/api/v1.0/mailboxes/{mailbox_id}/channels/{id}/rotate-password/": { | ||||||||||||||||||||||||||||||||||||||||||||
| "post": { | ||||||||||||||||||||||||||||||||||||||||||||
| "operationId": "mailboxes_channels_rotate_password_create", | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "Manage integration channels for a mailbox", | ||||||||||||||||||||||||||||||||||||||||||||
| "parameters": [ | ||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||
| "in": "path", | ||||||||||||||||||||||||||||||||||||||||||||
| "name": "id", | ||||||||||||||||||||||||||||||||||||||||||||
| "schema": { | ||||||||||||||||||||||||||||||||||||||||||||
| "type": "string" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "required": true | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||
| "in": "path", | ||||||||||||||||||||||||||||||||||||||||||||
| "name": "mailbox_id", | ||||||||||||||||||||||||||||||||||||||||||||
| "schema": { | ||||||||||||||||||||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||||||||||||||||||||
| "format": "uuid" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "required": true | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||
| "tags": [ | ||||||||||||||||||||||||||||||||||||||||||||
| "channels" | ||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||
| "security": [ | ||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||
| "cookieAuth": [] | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| ], | ||||||||||||||||||||||||||||||||||||||||||||
| "responses": { | ||||||||||||||||||||||||||||||||||||||||||||
| "200": { | ||||||||||||||||||||||||||||||||||||||||||||
| "content": { | ||||||||||||||||||||||||||||||||||||||||||||
| "application/json": { | ||||||||||||||||||||||||||||||||||||||||||||
| "schema": { | ||||||||||||||||||||||||||||||||||||||||||||
| "$ref": "#/components/schemas/RotatePasswordResponse" | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "400": { | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "Channel type does not support password rotation" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+2894
to
+2896
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Expose the custom The backend returns a JSON body with 🛠️ Proposed response schema "400": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "detail": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "detail"
+ ]
+ }
+ }
+ },
"description": "Channel type does not support password rotation"
},📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||
| "403": { | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "Permission denied" | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "404": { | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "Channel not found" | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
|
sylvinus marked this conversation as resolved.
|
||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "/api/v1.0/mailboxes/{mailbox_id}/image-proxy/": { | ||||||||||||||||||||||||||||||||||||||||||||
| "get": { | ||||||||||||||||||||||||||||||||||||||||||||
| "operationId": "mailboxes_image_proxy_list", | ||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -7780,6 +7834,17 @@ | |||||||||||||||||||||||||||||||||||||||||||
| "one_time_password" | ||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "RotatePasswordResponse": { | ||||||||||||||||||||||||||||||||||||||||||||
| "type": "object", | ||||||||||||||||||||||||||||||||||||||||||||
| "properties": { | ||||||||||||||||||||||||||||||||||||||||||||
| "password": { | ||||||||||||||||||||||||||||||||||||||||||||
| "type": "string" | ||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "required": [ | ||||||||||||||||||||||||||||||||||||||||||||
| "password" | ||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||||||||||||||||
| "SendMessageRequest": { | ||||||||||||||||||||||||||||||||||||||||||||
| "type": "object", | ||||||||||||||||||||||||||||||||||||||||||||
| "description": "Serializer for sending messages.", | ||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.