-
Notifications
You must be signed in to change notification settings - Fork 72
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
Support editing/removing multipart Slack messages #782
base: develop
Are you sure you want to change the base?
Commits on Mar 29, 2024
-
Use correct Slack ghosts to redact messages sent from Slack
This makes us the original sender's intent to redact messages, so that we do not require an elevated PL to handle message deletion.
Configuration menu - View commit details
-
Copy full SHA for d3a719d - Browse repository at this point
Copy the full SHA d3a719dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2443e46 - Browse repository at this point
Copy the full SHA 2443e46View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for dd11c2a - Browse repository at this point
Copy the full SHA dd11c2aView commit details
Commits on Apr 5, 2024
-
Refactor message deletion; fallback to using our bot if we can't dete…
…rmine a more fitting user
Configuration menu - View commit details
-
Copy full SHA for b4f2911 - Browse repository at this point
Copy the full SHA b4f2911View commit details -
Formalize our one-to-many relationship between Slack and Matrix events
We may produce multiple Matrix events per Slack events, if the Slack events contains text with attachments. This should have been forbidden with a DB constraint, but for some reason it happened regardless. This updates the constraint to match reality, differentiating Matrix events by the type of incoming Slack event. For backwards compatibility reasons getEventBySlackId() returns the "main" Matrix event.
Configuration menu - View commit details
-
Copy full SHA for 0fe144d - Browse repository at this point
Copy the full SHA 0fe144dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f2f989 - Browse repository at this point
Copy the full SHA 0f2f989View commit details -
Merge branch 'tadzik/matrix-orggh-766/fix-message-redaction' into tad…
…zik/one-to-many-events
Configuration menu - View commit details
-
Copy full SHA for bc4e019 - Browse repository at this point
Copy the full SHA bc4e019View commit details -
Be more careful when dropping incoming messages
Messages with a message_changed will have the same `ts` as the original message, but a different `event_ts`. We now check both when considering whether or not to drop a message, and log our reasons regardless.
Configuration menu - View commit details
-
Copy full SHA for a4fe71c - Browse repository at this point
Copy the full SHA a4fe71cView commit details -
Support removing attachments from Slack messages
We now track which attachments was linked to which Matrix message, and support both removing them individually and dropping the whole event "tree".
Configuration menu - View commit details
-
Copy full SHA for ae509b0 - Browse repository at this point
Copy the full SHA ae509b0View commit details