İspik
3f4df765eb
fix: add missing parameters
2026-06-12 23:28:18 +03:00
İspik
a3d390c085
Merge branch 'main' into feat/admin-api
...
# Conflicts:
# crates/delta/src/routes/mod.rs
2026-06-12 23:00:48 +03:00
Tom
c70459b10c
fix: openapi using old naming ( #777 )
...
* fix: openapi using old naming
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
* fix: remove january openapi security header
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
* fix(docs): more Revolt usage
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
---------
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
2026-06-07 16:56:00 -07:00
ispik
93a00ffbf8
Merge branch 'main' into feat/admin-api
...
# Conflicts:
# crates/core/database/src/util/mod.rs
# crates/core/result/src/axum.rs
2026-05-23 13:26:21 +03:00
stoat-release[bot]
7937179db7
chore(main): release 0.13.7 ( #770 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-21 19:33:49 +01:00
stoat-release[bot]
03b52655ff
chore(main): release 0.13.6 ( #762 )
...
* chore(main): release 0.13.6
* chore: update Cargo.lock
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
---------
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-18 15:53:42 -07:00
Angelo Kontaxis
5b1985381a
chore: switch to lapin ( #767 )
...
* chore: begin switching to lapin fully
Signed-off-by: Zomatree <me@zomatree.live >
* chore: update rest of pushd to lapin
Signed-off-by: Zomatree <me@zomatree.live >
* chore: cleanup code
Signed-off-by: Zomatree <me@zomatree.live >
* chore: cleanup code
Signed-off-by: Zomatree <me@zomatree.live >
* fix: github webui sucks
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
---------
Signed-off-by: Zomatree <me@zomatree.live >
Signed-off-by: Tom <iamtomahawkx@gmail.com >
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
Co-authored-by: Tom <iamtomahawkx@gmail.com >
Release-As: 0.13.6
2026-05-18 15:46:17 -07:00
İspik
af0d8aad14
feat: user slowmode events ( #760 )
...
* feat: user slowmode events
Signed-off-by: ispik <ispik@ispik.dev >
* fix: remove debug print statement for slowmodes
Signed-off-by: ispik <ispik@ispik.dev >
* refactor: Send user slowmodes as websocket connects instead of trying to send it in ready payload
Signed-off-by: ispik <ispik@ispik.dev >
* refactor: optimize user slowmode handling with bulk operations
Signed-off-by: ispik <ispik@ispik.dev >
* chore: specify release version
Release-As: 0.13.6
---------
Signed-off-by: ispik <ispik@ispik.dev >
2026-05-18 14:51:43 -07:00
Tom
494c8b7cab
fix: Use proper headers to determine IP when not behind cloudflare ( #764 )
...
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
2026-05-18 10:51:19 -07:00
stoat-release[bot]
6c920de03a
chore(main): release 0.13.5 ( #759 )
...
* chore(main): release 0.13.5
* chore: update Cargo.lock
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
---------
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-17 11:02:21 -07:00
stoat-release[bot]
ee4575470b
chore(main): release 0.13.4 ( #754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-16 18:27:44 +01:00
stoat-release[bot]
ab9b8ccfca
chore(main): release 0.13.3 ( #750 )
...
* chore(main): release 0.13.3
* chore: update Cargo.lock
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
---------
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-15 12:22:27 -07:00
Tom
7647cfc8d9
fix: don't automatically set up rabbitmq in delta ( #749 )
...
fix: don't declare queues which seem to cause the backend to crash in prod
for now, these exchanges/queues/bindings will need to be declared manually. Hopefully the lapin rewrite will fix this.
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
2026-05-15 12:17:36 -07:00
stoat-release[bot]
8157e1f6e9
chore(main): release 0.13.2 ( #747 )
...
* chore(main): release 0.13.2
* chore: update Cargo.lock
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
---------
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-11 15:26:03 +01:00
stoat-release[bot]
260036488d
chore(main): release 0.13.1 ( #745 )
...
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-10 15:34:41 +01:00
Tom
1100eaf46f
fix: amqprs startup bug ( #744 )
2026-05-10 15:22:26 +01:00
stoat-release[bot]
d52e84c5d3
chore(main): release 0.13.0 ( #722 )
...
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-05-09 17:26:38 +01:00
Taureon
6f3441cf4a
feat: Add webhook endpoints for editing and deleting messages ( #682 )
...
* feat: ErrorType.CannotDeleteMessage, needed later
Signed-off-by: Taureon <taureon@noreply.codeberg.org >
* feat: webhook edit/delete message endpoints
Signed-off-by: Taureon <taureon@noreply.codeberg.org >
* lol, lmao even
Signed-off-by: Taureon <taureon@noreply.codeberg.org >
* fix contradictory comment
Signed-off-by: Taureon <taureon@noreply.codeberg.org >
---------
Signed-off-by: Taureon <taureon@noreply.codeberg.org >
Co-authored-by: Taureon <taureon@noreply.codeberg.org >
2026-05-08 15:37:00 -07:00
Gabriel
23ad135983
feat: add emoji rename endpoint ( #714 )
...
* feat: add rename endpoint with rename-only update
Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com >
* fix: enforce detached emoji edit restrictions
Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com >
* fix: always enforce emoji edit permissions
Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com >
---------
Signed-off-by: Gabriel <60961939+gabrielfordevelopment@users.noreply.github.com >
2026-05-08 15:23:57 -07:00
Tom
ab5bd47a39
feat: Rewrite acks ( #741 )
...
* feat: rewrite ack system
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
* feat: rewrite acks to crond + rabbit task
* fix: review changes
---------
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
2026-05-08 14:39:16 -07:00
İspik
21d82018cf
feat: add legal links to root payload ( #733 )
...
Signed-off-by: ispik <ispik@ispik.dev >
2026-05-06 16:35:20 -07:00
İspik
841985d3b9
feat: add role icon support ( #724 )
...
Signed-off-by: ispik <ispik@ispik.dev >
2026-05-02 17:04:28 -07:00
ispik
2d8b7481bc
fix: use the correct permissions
...
Signed-off-by: ispik <ispik@ispik.dev >
2026-04-27 10:40:07 +03:00
ispik
8bd5542e71
Merge branch 'main' into feat/admin-api
...
# Conflicts:
# crates/core/database/src/models/users/model.rs
2026-04-27 10:29:19 +03:00
İspik
279f5d5fd7
fix: add new_user_hours to configuration limits ( #729 )
...
Signed-off-by: ispik <ispik@ispik.dev >
2026-04-26 22:47:52 -07:00
ispik
533cc5835a
feat: add admin channel deletion endpoint
2026-04-18 19:31:38 +03:00
ispik
80b749d6fc
Merge branch 'main' into feat/admin-api
2026-04-18 18:54:02 +03:00
Angelo Kontaxis
3675ff1a1f
chore: migrate all local dependancies to workspace dependancies ( #710 )
...
* chore: start moving all deps to workspace deps
Signed-off-by: Zomatree <me@zomatree.live >
* chore: migrate all deps to workspace deps
Signed-off-by: Zomatree <me@zomatree.live >
* chore: add more dep groups
Signed-off-by: Zomatree <me@zomatree.live >
* fix: add migration to update existing files to be animated (#705 )
* fix: add migration to update existing files to be animated
Signed-off-by: Zomatree <me@zomatree.live >
* Revert "fix: add migration to update existing files to be animated"
This reverts commit 4e1f1c116c .
Signed-off-by: Zomatree <me@zomatree.live >
* fix: calculate animated for existing files when fetched
Signed-off-by: Zomatree <me@zomatree.live >
---------
Signed-off-by: Zomatree <me@zomatree.live >
* fix: mise start + missing docker image (#564 )
* fix: mise start + missing docker image
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
* fix: bump livekit version
Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com >
---------
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
Signed-off-by: Tom <iamtomahawkx@gmail.com >
Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com >
Co-authored-by: Tom <iamtomahawkx@gmail.com >
* docs: update donation link (#709 )
Signed-off-by: Zomatree <me@zomatree.live >
* fix: remove usage of deprecated functions
Signed-off-by: Zomatree <me@zomatree.live >
---------
Signed-off-by: Zomatree <me@zomatree.live >
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
Signed-off-by: Tom <iamtomahawkx@gmail.com >
Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com >
Co-authored-by: Damocles <106018783+Damocles078@users.noreply.github.com >
Co-authored-by: Tom <iamtomahawkx@gmail.com >
Co-authored-by: Paul Makles <me@insrt.uk >
2026-04-17 19:02:18 -07:00
ispik
74ce10162c
Merge branch 'main' into feat/admin-api
2026-04-12 14:50:04 +03:00
ispik
9a67cb139c
feat: implement admin account deletion endpoint
2026-04-12 14:49:41 +03:00
ispik
5e98a01624
refactor: disable account before creating audit action
2026-04-12 14:41:02 +03:00
ispik
5b9a909923
fix: update audit action for accurate account actions
2026-04-12 14:18:22 +03:00
ispik
913946cfa1
feat: expose account modules in mod.rs and add it to routes
2026-04-12 14:15:40 +03:00
ispik
01e0c30596
fix: update permissions for accounts routes to ManageAccounts
2026-04-12 14:12:15 +03:00
ispik
1bb12b416a
fix: update account disable endpoint to return EmptyResponse
2026-04-12 13:53:30 +03:00
ispik
5e577358ac
feat: add optional case parameter to admin account disable endpoint
2026-04-12 13:49:34 +03:00
stoat-release[bot]
61fd13629f
chore(main): release 0.12.1 ( #700 )
...
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-11 12:31:11 +01:00
ispik
6e78f0b9c0
feat: implement admin account disable functionality
2026-04-11 14:00:50 +03:00
ispik
26faa18d6e
chore: add files to mod.rs
2026-04-11 12:19:22 +03:00
ispik
a152d825a2
fix: update Reference type to be lifetime parameterized in admin API functions
2026-04-11 01:01:57 +03:00
ispik
85ad261cc3
Merge branch 'main' into feat/admin-api
...
# Conflicts:
# crates/core/database/src/util/bridge/v0.rs
# crates/core/result/src/axum.rs
# crates/core/result/src/lib.rs
# crates/core/result/src/rocket.rs
2026-04-11 00:49:36 +03:00
stoat-release[bot]
4d4b0dd864
chore(main): release 0.12.0 ( #602 )
...
Co-authored-by: stoat-release[bot] <245062572+stoat-release[bot]@users.noreply.github.com>
2026-03-28 22:22:37 -07:00
Angelo Kontaxis
ccda6f5c53
fix: pass &str to Reference ( #697 )
...
Signed-off-by: Zomatree <me@zomatree.live >
2026-03-27 18:39:00 -07:00
Damocles
52ed5100c2
fix: improve generated openapi.json ( #584 )
...
* fix: /bots/{bot}
Paths "/bots/{bot}" and "/bots/{target}" must not be equivalent.
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
* fix: /channels/{group_id}/recipients/{member_id}
Paths "/channels/{group_id}/recipients/{member_id}" and "/channels/{target}/recipients/{member}" must not be equivalent.
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
* fix: /channels/{channel_id}/webhook
Paths "/channels/{target}/webhooks" and "/channels/{channel_id}/webhooks" must not be equivalent.
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
* fix: /servers/{server_id}/members/{member_id}
Paths "/servers/{target}/members/{member}" and "/servers/{server}/members/{member}" must not be equivalent.
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
* fix: /custom/emoji/{emoji_id}
Paths "/custom/emoji/{id}" and "/custom/emoji/{emoji_id}" must not be equivalent.
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
---------
Signed-off-by: Damocles078 <hellodamocles078@gmail.com >
Signed-off-by: Damocles <106018783+Damocles078@users.noreply.github.com >
2026-03-27 17:31:57 -07:00
Angelo Kontaxis
91783b9066
fix: only show first line on commit messages ( #696 )
...
Signed-off-by: Zomatree <me@zomatree.live >
2026-03-27 17:29:37 -07:00
LazyCat
735d644e04
feat: Transfer ownership ( #396 )
...
* feat: Transfer ownership
Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com >
* Allow privileged users to change ownership
Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com >
* Require TOTP
Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com >
* Require TOTP or password
Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com >
---------
Signed-off-by: LazyCat2 <68156188+LazyCat2@users.noreply.github.com >
Signed-off-by: Tom <iamtomahawkx@gmail.com >
Co-authored-by: Tom <iamtomahawkx@gmail.com >
2026-03-27 17:24:53 -07:00
İspik
6107f242fd
feat: Add slowmode functionality to text channels ( #680 )
...
* feat: Add slowmode functionality to text channels
Signed-off-by: arsabutispik <ispik@ispik.dev >
* fix: use atomic check-and-set to prevent spamming with scripts
Signed-off-by: arsabutispik <ispik@ispik.dev >
* feat: Add BypassSlowmode permission to channel permissions
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: Use set_options instead of manually building the command
Signed-off-by: arsabutispik <ispik@ispik.dev >
---------
Signed-off-by: arsabutispik <ispik@ispik.dev >
2026-03-27 17:09:15 -07:00
İspik
98c7b1b5a5
feat: implement time based message sweep on user ban ( #670 )
...
* feat: implement time based message sweep on user ban
- Adds `delete_message_seconds` (0 to 7 days in seconds) to the ban request payload.
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: pass ulid conversion to database
Signed-off-by: arsabutispik <ispik@ispik.dev >
* fix: use COL constant instead of hardcoded string in error mapper
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: broadcast bulk delete events during ban sweep
Updates the `delete_messages_by_author_since` trait to return a
HashMap of deleted message IDs grouped by channel.
The MongoDB implementation now uses a two-step process: it first
runs a projected `find` query to gather the target `_id` and
`channel` fields, then executes the `delete_many` operation.
This allows the ban route to loop through the affected channels and
dispatch `EventV1::BulkMessageDelete` WebSocket events, ensuring
that the swept messages are instantly removed from the UI for
all connected clients.
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: optimize message deletion by using $group and aggregate
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: use with_type in query
Signed-off-by: arsabutispik <ispik@ispik.dev >
* refactor: abstract function to Message model and mark attachments as deleted
Signed-off-by: arsabutispik <ispik@ispik.dev >
---------
Signed-off-by: arsabutispik <ispik@ispik.dev >
2026-03-27 17:02:12 -07:00
Tom
edfa97db10
feat: Allow restricting server creation to specific users ( #685 )
...
Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com >
2026-03-23 12:25:33 -07:00
sinus-x
b830631bd2
fix(docs): Update GitHub links ( #647 )
...
Updates user-facing links to point to the new organization. Does not
update references in source code (user-agent, dependency references),
as they should be handled separately.
Signed-off-by: sinus-x <14353790+sinus-x@users.noreply.github.com >
2026-03-22 22:18:25 -07:00