Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74f0c537e6 | ||
|
|
1f8ea963ad | ||
|
|
7c7f4f24de | ||
|
|
a11986ba1a | ||
|
|
2e87696c83 | ||
|
|
94cb916231 | ||
|
|
95c7dbc793 | ||
|
|
ba798490e2 | ||
|
|
5132270f2e | ||
|
|
4a0957b5ec | ||
|
|
1bfb2a7214 | ||
|
|
84483cee7a | ||
|
|
4bfd79c42c | ||
|
|
413aa04dca |
@@ -45,8 +45,9 @@ jobs:
|
|||||||
if: ${{ steps.rp.outputs.prs_created == 'true' || steps.rp.outputs.prs_updated == 'true' }}
|
if: ${{ steps.rp.outputs.prs_created == 'true' || steps.rp.outputs.prs_updated == 'true' }}
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
RP_PR_OUTPUT_JSON: ${{ steps.rp.outputs.prs }}
|
||||||
run: |
|
run: |
|
||||||
PR_NUMBER=$(echo '${{ steps.rp.outputs.prs }}' | jq -r '.[0].number')
|
PR_NUMBER=$(echo "$RP_PR_OUTPUT_JSON" | jq -r '.[0].number')
|
||||||
gh pr checkout "$PR_NUMBER"
|
gh pr checkout "$PR_NUMBER"
|
||||||
|
|
||||||
cargo update -w
|
cargo update -w
|
||||||
|
|||||||
@@ -12,8 +12,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Send release notification webhook
|
- name: Send release notification webhook
|
||||||
|
env:
|
||||||
|
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||||
|
REPOSITORY: ${{ github.repository }}
|
||||||
|
WEBHOOK_URL: ${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}
|
||||||
run: |
|
run: |
|
||||||
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}"
|
RELEASE_URL="https://github.com/${REPOSITORY}/releases/tag/${TAG_NAME}"
|
||||||
curl -X POST "${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}" \
|
curl -X POST "$WEBHOOK_URL" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"content\": \"$RELEASE_URL\"}"
|
-d "{\"content\": \"$RELEASE_URL\"}"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "0.10.1"
|
".": "0.11.3"
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,47 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.11.3](https://github.com/stoatchat/stoatchat/compare/v0.11.2...v0.11.3) (2026-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* cut presence traffic too while we engineer a new events architecture ([#561](https://github.com/stoatchat/stoatchat/issues/561)) ([1f8ea96](https://github.com/stoatchat/stoatchat/commit/1f8ea963ad742f693f405e6438f1c343c81e6579))
|
||||||
|
|
||||||
|
## [0.11.2](https://github.com/stoatchat/stoatchat/compare/v0.11.1...v0.11.2) (2026-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* cut events traffic while we engineer a new events architecture ([#559](https://github.com/stoatchat/stoatchat/issues/559)) ([a11986b](https://github.com/stoatchat/stoatchat/commit/a11986ba1ad16b672ff1080913a684567d88adbb))
|
||||||
|
|
||||||
|
## [0.11.1](https://github.com/stoatchat/stoatchat/compare/v0.11.0...v0.11.1) (2026-02-13)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* bots in multiple voice channel logic ([#544](https://github.com/stoatchat/stoatchat/issues/544)) ([94cb916](https://github.com/stoatchat/stoatchat/commit/94cb916231b9b8befb2e94065917ff40815bec52))
|
||||||
|
|
||||||
|
## [0.11.0](https://github.com/stoatchat/stoatchat/compare/v0.10.3...v0.11.0) (2026-02-10)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* appeal to the almighty Spamhaus ([#524](https://github.com/stoatchat/stoatchat/issues/524)) ([5132270](https://github.com/stoatchat/stoatchat/commit/5132270f2edd6df25ce414daa42ed1b2aa6fa7a9))
|
||||||
|
|
||||||
|
## [0.10.3](https://github.com/stoatchat/stoatchat/compare/v0.10.2...v0.10.3) (2026-02-07)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* update `Revolt` -> `Stoat` in email titles/desc. ([#508](https://github.com/stoatchat/stoatchat/issues/508)) ([84483ce](https://github.com/stoatchat/stoatchat/commit/84483cee7af3e5dfa16f7fe13e334c4d9f5abd60))
|
||||||
|
|
||||||
|
## [0.10.2](https://github.com/stoatchat/stoatchat/compare/v0.10.1...v0.10.2) (2026-01-25)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* thumbnailification requires rgb8/rgba8 ([#505](https://github.com/stoatchat/stoatchat/issues/505)) ([413aa04](https://github.com/stoatchat/stoatchat/commit/413aa04dcaf8bff3935ed1e5f31432e11a03ce6f))
|
||||||
|
|
||||||
## [0.10.1](https://github.com/stoatchat/stoatchat/compare/v0.10.0...v0.10.1) (2026-01-25)
|
## [0.10.1](https://github.com/stoatchat/stoatchat/compare/v0.10.0...v0.10.1) (2026-01-25)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Generated
+22
-22
@@ -475,9 +475,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "authifier"
|
name = "authifier"
|
||||||
version = "1.0.15"
|
version = "1.0.16"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "b1a03b810b342b4c584cdc1cfc40d1ec763b1d653ef4086f7494740f35d9e1f0"
|
checksum = "1d6163caecbb985d91406c2c6dc7710c46b38e6461d93d5e843b2f0eac43910c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-std",
|
"async-std",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
@@ -6798,7 +6798,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-autumn"
|
name = "revolt-autumn"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"axum-macros",
|
"axum-macros",
|
||||||
@@ -6836,7 +6836,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-bonfire"
|
name = "revolt-bonfire"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-channel 2.5.0",
|
"async-channel 2.5.0",
|
||||||
"async-std",
|
"async-std",
|
||||||
@@ -6867,7 +6867,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-coalesced"
|
name = "revolt-coalesced"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap 2.13.0",
|
"indexmap 2.13.0",
|
||||||
"lru 0.16.3",
|
"lru 0.16.3",
|
||||||
@@ -6876,7 +6876,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-config"
|
name = "revolt-config"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-std",
|
"async-std",
|
||||||
"cached",
|
"cached",
|
||||||
@@ -6893,7 +6893,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-crond"
|
name = "revolt-crond"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"log",
|
"log",
|
||||||
"revolt-config",
|
"revolt-config",
|
||||||
@@ -6905,7 +6905,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-database"
|
name = "revolt-database"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"amqprs",
|
"amqprs",
|
||||||
"async-lock 2.8.0",
|
"async-lock 2.8.0",
|
||||||
@@ -6955,7 +6955,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-delta"
|
name = "revolt-delta"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"amqprs",
|
"amqprs",
|
||||||
"async-channel 1.9.0",
|
"async-channel 1.9.0",
|
||||||
@@ -7005,7 +7005,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-files"
|
name = "revolt-files"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aes-gcm",
|
"aes-gcm",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@@ -7033,7 +7033,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-gifbox"
|
name = "revolt-gifbox"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"axum-extra",
|
"axum-extra",
|
||||||
@@ -7056,7 +7056,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-january"
|
name = "revolt-january"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-recursion",
|
"async-recursion",
|
||||||
"axum",
|
"axum",
|
||||||
@@ -7084,7 +7084,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-models"
|
name = "revolt-models"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap 1.9.3",
|
"indexmap 1.9.3",
|
||||||
"iso8601-timestamp",
|
"iso8601-timestamp",
|
||||||
@@ -7103,14 +7103,14 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-parser"
|
name = "revolt-parser"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"logos",
|
"logos",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-permissions"
|
name = "revolt-permissions"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-std",
|
"async-std",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
@@ -7125,7 +7125,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-presence"
|
name = "revolt-presence"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-std",
|
"async-std",
|
||||||
"log",
|
"log",
|
||||||
@@ -7137,7 +7137,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-pushd"
|
name = "revolt-pushd"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"amqprs",
|
"amqprs",
|
||||||
"anyhow",
|
"anyhow",
|
||||||
@@ -7165,7 +7165,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-ratelimits"
|
name = "revolt-ratelimits"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"authifier",
|
"authifier",
|
||||||
@@ -7182,7 +7182,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-result"
|
name = "revolt-result"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"axum",
|
"axum",
|
||||||
"log",
|
"log",
|
||||||
@@ -7198,7 +7198,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "revolt-voice-ingress"
|
name = "revolt-voice-ingress"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"amqprs",
|
"amqprs",
|
||||||
"async-std",
|
"async-std",
|
||||||
@@ -7411,9 +7411,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rocket_authifier"
|
name = "rocket_authifier"
|
||||||
version = "1.0.15"
|
version = "1.0.16"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c1f98a5be96ac4144ee1adc809c1594e8212032b8a08d9bc4cef70735dfd976e"
|
checksum = "4a4e9660d198ea0165dc2694e7620d8fe199e923b39bec4d12b7159da5a4a6cd"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"authifier",
|
"authifier",
|
||||||
"iso8601-timestamp",
|
"iso8601-timestamp",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
<h1>
|
<h1>
|
||||||
Revolt Backend
|
Stoat Backend
|
||||||
|
|
||||||
[](https://github.com/revoltchat/backend/stargazers)
|
[](https://github.com/revoltchat/backend/stargazers)
|
||||||
[](https://github.com/revoltchat/backend/network/members)
|
[](https://github.com/revoltchat/backend/network/members)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-bonfire"
|
name = "revolt-bonfire"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
@@ -38,7 +38,7 @@ async-std = { version = "1.8.0", features = [
|
|||||||
] }
|
] }
|
||||||
|
|
||||||
# core
|
# core
|
||||||
authifier = { version = "1.0.15" }
|
authifier = { version = "1.0.16" }
|
||||||
revolt-result = { path = "../core/result" }
|
revolt-result = { path = "../core/result" }
|
||||||
revolt-models = { path = "../core/models" }
|
revolt-models = { path = "../core/models" }
|
||||||
revolt-config = { path = "../core/config" }
|
revolt-config = { path = "../core/config" }
|
||||||
|
|||||||
@@ -169,7 +169,9 @@ impl State {
|
|||||||
}) {
|
}) {
|
||||||
if let Ok(Some(voice_state)) = get_channel_voice_state(channel).await {
|
if let Ok(Some(voice_state)) = get_channel_voice_state(channel).await {
|
||||||
if let Some(server) = channel.server() {
|
if let Some(server) = channel.server() {
|
||||||
let set = voice_state_server_members.entry(server.to_string()).or_default();
|
let set = voice_state_server_members
|
||||||
|
.entry(server.to_string())
|
||||||
|
.or_default();
|
||||||
|
|
||||||
for participant in &voice_state.participants {
|
for participant in &voice_state.participants {
|
||||||
user_ids.insert(participant.id.clone());
|
user_ids.insert(participant.id.clone());
|
||||||
@@ -397,27 +399,27 @@ impl State {
|
|||||||
|
|
||||||
/// Push presence change to the user and all associated server topics
|
/// Push presence change to the user and all associated server topics
|
||||||
pub async fn broadcast_presence_change(&self, target: bool) {
|
pub async fn broadcast_presence_change(&self, target: bool) {
|
||||||
if if let Some(status) = &self.cache.users.get(&self.cache.user_id).unwrap().status {
|
// if if let Some(status) = &self.cache.users.get(&self.cache.user_id).unwrap().status {
|
||||||
status.presence != Some(Presence::Invisible)
|
// status.presence != Some(Presence::Invisible)
|
||||||
} else {
|
// } else {
|
||||||
true
|
// true
|
||||||
} {
|
// } {
|
||||||
let event = EventV1::UserUpdate {
|
// let event = EventV1::UserUpdate {
|
||||||
id: self.cache.user_id.clone(),
|
// id: self.cache.user_id.clone(),
|
||||||
data: v0::PartialUser {
|
// data: v0::PartialUser {
|
||||||
online: Some(target),
|
// online: Some(target),
|
||||||
..Default::default()
|
// ..Default::default()
|
||||||
},
|
// },
|
||||||
clear: vec![],
|
// clear: vec![],
|
||||||
event_id: Some(ulid::Ulid::new().to_string()),
|
// event_id: Some(ulid::Ulid::new().to_string()),
|
||||||
};
|
// };
|
||||||
|
|
||||||
for server in self.cache.servers.keys() {
|
// for server in self.cache.servers.keys() {
|
||||||
event.clone().p(server.clone()).await;
|
// event.clone().p(server.clone()).await;
|
||||||
}
|
// }
|
||||||
|
|
||||||
event.p(self.cache.user_id.clone()).await;
|
// event.p(self.cache.user_id.clone()).await;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Handle an incoming event for protocol version 1
|
/// Handle an incoming event for protocol version 1
|
||||||
|
|||||||
@@ -457,30 +457,8 @@ async fn worker(
|
|||||||
};
|
};
|
||||||
|
|
||||||
match payload {
|
match payload {
|
||||||
ClientMessage::BeginTyping { channel } => {
|
ClientMessage::BeginTyping { .. } => {}
|
||||||
if !subscribed.read().await.contains(&channel) {
|
ClientMessage::EndTyping { .. } => {}
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
EventV1::ChannelStartTyping {
|
|
||||||
id: channel.clone(),
|
|
||||||
user: user_id.clone(),
|
|
||||||
}
|
|
||||||
.p(channel.clone())
|
|
||||||
.await;
|
|
||||||
}
|
|
||||||
ClientMessage::EndTyping { channel } => {
|
|
||||||
if !subscribed.read().await.contains(&channel) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
EventV1::ChannelStopTyping {
|
|
||||||
id: channel.clone(),
|
|
||||||
user: user_id.clone(),
|
|
||||||
}
|
|
||||||
.p(channel.clone())
|
|
||||||
.await;
|
|
||||||
}
|
|
||||||
ClientMessage::Subscribe { server_id } => {
|
ClientMessage::Subscribe { server_id } => {
|
||||||
let mut servers = active_servers.lock().await;
|
let mut servers = active_servers.lock().await;
|
||||||
let has_item = servers.contains_key(&server_id);
|
let has_item = servers.contains_key(&server_id);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-coalesced"
|
name = "revolt-coalesced"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Paul Makles <me@insrt.uk>", "Zomatree <me@zomatree.live>"]
|
authors = ["Paul Makles <me@insrt.uk>", "Zomatree <me@zomatree.live>"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-config"
|
name = "revolt-config"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -38,4 +38,4 @@ sentry = { version = "0.31.5", optional = true }
|
|||||||
sentry-anyhow = { version = "0.38.1", optional = true }
|
sentry-anyhow = { version = "0.38.1", optional = true }
|
||||||
|
|
||||||
# Core
|
# Core
|
||||||
revolt-result = { version = "0.10.1", path = "../result", optional = true }
|
revolt-result = { version = "0.11.3", path = "../result", optional = true }
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-database"
|
name = "revolt-database"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -32,19 +32,19 @@ default = ["mongodb", "async-std-runtime", "tasks"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Core
|
# Core
|
||||||
revolt-config = { version = "0.10.1", path = "../config", features = [
|
revolt-config = { version = "0.11.3", path = "../config", features = [
|
||||||
"report-macros",
|
"report-macros",
|
||||||
] }
|
] }
|
||||||
revolt-result = { version = "0.10.1", path = "../result" }
|
revolt-result = { version = "0.11.3", path = "../result" }
|
||||||
revolt-models = { version = "0.10.1", path = "../models", features = [
|
revolt-models = { version = "0.11.3", path = "../models", features = [
|
||||||
"validator",
|
"validator",
|
||||||
] }
|
] }
|
||||||
revolt-presence = { version = "0.10.1", path = "../presence" }
|
revolt-presence = { version = "0.11.3", path = "../presence" }
|
||||||
revolt-permissions = { version = "0.10.1", path = "../permissions", features = [
|
revolt-permissions = { version = "0.11.3", path = "../permissions", features = [
|
||||||
"serde",
|
"serde",
|
||||||
"bson",
|
"bson",
|
||||||
] }
|
] }
|
||||||
revolt-parser = { version = "0.10.1", path = "../parser" }
|
revolt-parser = { version = "0.11.3", path = "../parser" }
|
||||||
|
|
||||||
# Utility
|
# Utility
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
@@ -100,7 +100,7 @@ revolt_okapi = { version = "0.9.1", optional = true }
|
|||||||
revolt_rocket_okapi = { version = "0.10.0", optional = true }
|
revolt_rocket_okapi = { version = "0.10.0", optional = true }
|
||||||
|
|
||||||
# Authifier
|
# Authifier
|
||||||
authifier = { version = "1.0.15" }
|
authifier = { version = "1.0.16" }
|
||||||
|
|
||||||
# RabbitMQ
|
# RabbitMQ
|
||||||
amqprs = { version = "1.7.0" }
|
amqprs = { version = "1.7.0" }
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ use authifier::config::SMTPSettings;
|
|||||||
use authifier::config::Shield;
|
use authifier::config::Shield;
|
||||||
use authifier::config::Template;
|
use authifier::config::Template;
|
||||||
use authifier::config::Templates;
|
use authifier::config::Templates;
|
||||||
|
use authifier::config::EmailExpiryConfig;
|
||||||
use authifier::Authifier;
|
use authifier::Authifier;
|
||||||
use rand::Rng;
|
use rand::Rng;
|
||||||
use revolt_config::config;
|
use revolt_config::config;
|
||||||
@@ -69,7 +70,7 @@ impl DatabaseInfo {
|
|||||||
.await;
|
.await;
|
||||||
|
|
||||||
#[cfg(not(feature = "mongodb"))]
|
#[cfg(not(feature = "mongodb"))]
|
||||||
return Err("MongoDB not enabled.".to_string())
|
return Err("MongoDB not enabled.".to_string());
|
||||||
} else {
|
} else {
|
||||||
DatabaseInfo::Reference.connect().await
|
DatabaseInfo::Reference.connect().await
|
||||||
}
|
}
|
||||||
@@ -90,7 +91,7 @@ impl DatabaseInfo {
|
|||||||
.await;
|
.await;
|
||||||
|
|
||||||
#[cfg(not(feature = "mongodb"))]
|
#[cfg(not(feature = "mongodb"))]
|
||||||
return Err("MongoDB not enabled.".to_string())
|
return Err("MongoDB not enabled.".to_string());
|
||||||
}
|
}
|
||||||
_ => unreachable!("must specify REFERENCE or MONGODB"),
|
_ => unreachable!("must specify REFERENCE or MONGODB"),
|
||||||
}
|
}
|
||||||
@@ -137,29 +138,33 @@ impl Database {
|
|||||||
.api
|
.api
|
||||||
.smtp
|
.smtp
|
||||||
.reply_to
|
.reply_to
|
||||||
.unwrap_or("support@revolt.chat".into()),
|
.unwrap_or("support@stoat.chat".into()),
|
||||||
),
|
),
|
||||||
port: config.api.smtp.port,
|
port: config.api.smtp.port,
|
||||||
use_tls: config.api.smtp.use_tls,
|
use_tls: config.api.smtp.use_tls,
|
||||||
use_starttls: config.api.smtp.use_starttls,
|
use_starttls: config.api.smtp.use_starttls,
|
||||||
},
|
},
|
||||||
expiry: Default::default(),
|
expiry: EmailExpiryConfig {
|
||||||
|
expire_verification: 3600 * 24 * 7,
|
||||||
|
expire_password_reset: 3600 * 24,
|
||||||
|
expire_account_deletion: 3600 * 24,
|
||||||
|
},
|
||||||
templates: if config.production {
|
templates: if config.production {
|
||||||
Templates {
|
Templates {
|
||||||
verify: Template {
|
verify: Template {
|
||||||
title: "Verify your Revolt account.".into(),
|
title: "Verify your Stoat account.".into(),
|
||||||
text: include_str!("../../templates/verify.txt").into(),
|
text: include_str!("../../templates/verify.txt").into(),
|
||||||
url: format!("{}/login/verify/", config.hosts.app),
|
url: format!("{}/login/verify/", config.hosts.app),
|
||||||
html: Some(include_str!("../../templates/verify.html").into()),
|
html: Some(include_str!("../../templates/verify.html").into()),
|
||||||
},
|
},
|
||||||
reset: Template {
|
reset: Template {
|
||||||
title: "Reset your Revolt password.".into(),
|
title: "Reset your Stoat password.".into(),
|
||||||
text: include_str!("../../templates/reset.txt").into(),
|
text: include_str!("../../templates/reset.txt").into(),
|
||||||
url: format!("{}/login/reset/", config.hosts.app),
|
url: format!("{}/login/reset/", config.hosts.app),
|
||||||
html: Some(include_str!("../../templates/reset.html").into()),
|
html: Some(include_str!("../../templates/reset.html").into()),
|
||||||
},
|
},
|
||||||
reset_existing: Template {
|
reset_existing: Template {
|
||||||
title: "You already have a Revolt account, reset your password."
|
title: "You already have a Stoat account, reset your password."
|
||||||
.into(),
|
.into(),
|
||||||
text: include_str!("../../templates/reset-existing.txt").into(),
|
text: include_str!("../../templates/reset-existing.txt").into(),
|
||||||
url: format!("{}/login/reset/", config.hosts.app),
|
url: format!("{}/login/reset/", config.hosts.app),
|
||||||
|
|||||||
@@ -653,14 +653,14 @@ impl User {
|
|||||||
self.apply_options(partial.clone());
|
self.apply_options(partial.clone());
|
||||||
db.update_user(&self.id, &partial, remove.clone()).await?;
|
db.update_user(&self.id, &partial, remove.clone()).await?;
|
||||||
|
|
||||||
EventV1::UserUpdate {
|
// EventV1::UserUpdate {
|
||||||
id: self.id.clone(),
|
// id: self.id.clone(),
|
||||||
data: partial.into(),
|
// data: partial.into(),
|
||||||
clear: remove.into_iter().map(|v| v.into()).collect(),
|
// clear: remove.into_iter().map(|v| v.into()).collect(),
|
||||||
event_id: Some(Ulid::new().to_string()),
|
// event_id: Some(Ulid::new().to_string()),
|
||||||
}
|
// }
|
||||||
.p_user(self.id.clone(), db)
|
// .p_user(self.id.clone(), db)
|
||||||
.await;
|
// .await;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,23 +22,25 @@ async fn get_connection() -> Result<Conn> {
|
|||||||
pub async fn raise_if_in_voice(user: &User, channel_id: &str) -> Result<()> {
|
pub async fn raise_if_in_voice(user: &User, channel_id: &str) -> Result<()> {
|
||||||
let mut conn = get_connection().await?;
|
let mut conn = get_connection().await?;
|
||||||
|
|
||||||
if user.bot.is_some()
|
if user.bot.is_some() {
|
||||||
// bots can be in as many voice channels as it wants so we just check if its already connected to the one its trying to connect to
|
// bots can be in as many voice channels as it wants so we just check if its already connected to the one its trying to connect to
|
||||||
&& conn.sismember(format!("vc:{}", &user.id), channel_id)
|
if conn
|
||||||
|
.sismember(format!("vc:{}", &user.id), channel_id)
|
||||||
.await
|
.await
|
||||||
.to_internal_error()?
|
.to_internal_error()?
|
||||||
{
|
{
|
||||||
Err(create_error!(AlreadyConnected))
|
return Err(create_error!(AlreadyConnected));
|
||||||
|
};
|
||||||
} else if conn
|
} else if conn
|
||||||
.scard::<_, u32>(format!("vc:{}", &user.id)) // check if the current vc set is empty
|
.scard::<_, u32>(format!("vc:{}", &user.id)) // check if the current vc set is empty
|
||||||
.await
|
.await
|
||||||
.to_internal_error()?
|
.to_internal_error()?
|
||||||
> 0
|
> 0
|
||||||
{
|
{
|
||||||
Err(create_error!(AlreadyConnected))
|
return Err(create_error!(AlreadyConnected));
|
||||||
} else {
|
};
|
||||||
Ok(())
|
|
||||||
}
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn set_channel_node(channel: &str, node: &str) -> Result<()> {
|
pub async fn set_channel_node(channel: &str, node: &str) -> Result<()> {
|
||||||
|
|||||||
@@ -4,6 +4,6 @@ Please navigate to: {{url}}
|
|||||||
|
|
||||||
This email is intended for {{email}}
|
This email is intended for {{email}}
|
||||||
|
|
||||||
This email has no association with Revolt or Revolt Platforms Ltd.
|
This email has no association with Stoat or Revolt Platforms Ltd.
|
||||||
Learn more about third party instances here:
|
Learn more about third party instances here:
|
||||||
https://developers.revolt.chat/faq.html
|
https://developers.revolt.chat/faq.html
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ Please navigate to: {{url}}
|
|||||||
|
|
||||||
This email is intended for {{email}}
|
This email is intended for {{email}}
|
||||||
|
|
||||||
This email has no association with Revolt or Revolt Platforms Ltd.
|
This email has no association with Stoat or Revolt Platforms Ltd.
|
||||||
Learn more about third party instances here:
|
Learn more about third party instances here:
|
||||||
https://developers.revolt.chat/faq.html
|
https://developers.revolt.chat/faq.html
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-files"
|
name = "revolt-files"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -27,10 +27,10 @@ typenum = "1.17.0"
|
|||||||
aws-config = "1.5.5"
|
aws-config = "1.5.5"
|
||||||
aws-sdk-s3 = { version = "1.46.0", features = ["behavior-version-latest"] }
|
aws-sdk-s3 = { version = "1.46.0", features = ["behavior-version-latest"] }
|
||||||
|
|
||||||
revolt-config = { version = "0.10.1", path = "../config", features = [
|
revolt-config = { version = "0.11.3", path = "../config", features = [
|
||||||
"report-macros",
|
"report-macros",
|
||||||
] }
|
] }
|
||||||
revolt-result = { version = "0.10.1", path = "../result" }
|
revolt-result = { version = "0.11.3", path = "../result" }
|
||||||
|
|
||||||
# image processing
|
# image processing
|
||||||
jxl-oxide = { workspace = true }
|
jxl-oxide = { workspace = true }
|
||||||
|
|||||||
@@ -132,6 +132,17 @@ impl MediaRepository for MediaImpl {
|
|||||||
let [w, h] = self.config.preview.get(tag).unwrap();
|
let [w, h] = self.config.preview.get(tag).unwrap();
|
||||||
|
|
||||||
let image = image.thumbnail(image.width().min(*w as u32), image.height().min(*h as u32));
|
let image = image.thumbnail(image.width().min(*w as u32), image.height().min(*h as u32));
|
||||||
|
let image = match image {
|
||||||
|
DynamicImage::ImageRgb8(_) => image,
|
||||||
|
DynamicImage::ImageRgba8(_) => image,
|
||||||
|
_ => {
|
||||||
|
if image.has_alpha() {
|
||||||
|
image.to_rgba8().into()
|
||||||
|
} else {
|
||||||
|
image.to_rgb8().into()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
let encoder = webp::Encoder::from_image(&image).expect("Could not create encoder.");
|
let encoder = webp::Encoder::from_image(&image).expect("Could not create encoder.");
|
||||||
if self.config.webp_quality != 100.0 {
|
if self.config.webp_quality != 100.0 {
|
||||||
@@ -216,6 +227,17 @@ mod tests {
|
|||||||
media.create_thumbnail(image, "emojis");
|
media.create_thumbnail(image, "emojis");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[tokio::test]
|
||||||
|
async fn asset_test_floating_point_png() {
|
||||||
|
let media = MediaImpl::from_config().await;
|
||||||
|
let buf = include_bytes!("../../tests/assets/test-float.png");
|
||||||
|
assert_eq!(media.image_size_vec(buf, "image/png"), Some((300, 300)));
|
||||||
|
|
||||||
|
let mut reader = Cursor::new(buf);
|
||||||
|
let image = media.decode_image(&mut reader, "image/png").unwrap();
|
||||||
|
media.create_thumbnail(image, "avatars");
|
||||||
|
}
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn asset_test_corrupted_png() {
|
async fn asset_test_corrupted_png() {
|
||||||
let media = MediaImpl::from_config().await;
|
let media = MediaImpl::from_config().await;
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-models"
|
name = "revolt-models"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -21,8 +21,8 @@ default = ["serde", "partials", "rocket"]
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Core
|
# Core
|
||||||
revolt-config = { version = "0.10.1", path = "../config" }
|
revolt-config = { version = "0.11.3", path = "../config" }
|
||||||
revolt-permissions = { version = "0.10.1", path = "../permissions" }
|
revolt-permissions = { version = "0.11.3", path = "../permissions" }
|
||||||
|
|
||||||
# Utility
|
# Utility
|
||||||
regex = "1.11"
|
regex = "1.11"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-parser"
|
name = "revolt-parser"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]
|
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-permissions"
|
name = "revolt-permissions"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -22,7 +22,7 @@ async-std = { version = "1.8.0", features = ["attributes"] }
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Core
|
# Core
|
||||||
revolt-result = { version = "0.10.1", path = "../result" }
|
revolt-result = { version = "0.11.3", path = "../result" }
|
||||||
|
|
||||||
# Utility
|
# Utility
|
||||||
auto_ops = "0.3.0"
|
auto_ops = "0.3.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-presence"
|
name = "revolt-presence"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
@@ -17,7 +17,7 @@ redis-is-patched = []
|
|||||||
async-std = { version = "1.8.0", features = ["attributes"] }
|
async-std = { version = "1.8.0", features = ["attributes"] }
|
||||||
|
|
||||||
# Config for loading Redis URI
|
# Config for loading Redis URI
|
||||||
revolt-config = { version = "0.10.1", path = "../config" }
|
revolt-config = { version = "0.11.3", path = "../config" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Utility
|
# Utility
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-ratelimits"
|
name = "revolt-ratelimits"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]
|
authors = ["Zomatree <me@zomatree.live>", "Paul Makles <me@insrt.uk>"]
|
||||||
@@ -18,9 +18,9 @@ axum = ["dep:axum", "revolt-database/axum-impl"]
|
|||||||
default = ["rocket", "axum"]
|
default = ["rocket", "axum"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
revolt-database = { version = "0.10.1", path = "../database" }
|
revolt-database = { version = "0.11.3", path = "../database" }
|
||||||
revolt-result = { version = "0.10.1", path = "../result" }
|
revolt-result = { version = "0.11.3", path = "../result" }
|
||||||
revolt-config = { version = "0.10.1", path = "../config" }
|
revolt-config = { version = "0.11.3", path = "../config" }
|
||||||
|
|
||||||
rocket = { version = "0.5.1", optional = true }
|
rocket = { version = "0.5.1", optional = true }
|
||||||
revolt_rocket_okapi = { version = "0.10.0", optional = true }
|
revolt_rocket_okapi = { version = "0.10.0", optional = true }
|
||||||
@@ -28,7 +28,7 @@ revolt_rocket_okapi = { version = "0.10.0", optional = true }
|
|||||||
axum = { version = "0.7.5", optional = true, features = ["macros"] }
|
axum = { version = "0.7.5", optional = true, features = ["macros"] }
|
||||||
|
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
authifier = { version = "1.0.15" }
|
authifier = { version = "1.0.16" }
|
||||||
dashmap = "5.2.0"
|
dashmap = "5.2.0"
|
||||||
async-trait = "0.1.81"
|
async-trait = "0.1.81"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-result"
|
name = "revolt-result"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-crond"
|
name = "revolt-crond"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <me@insrt.uk>"]
|
authors = ["Paul Makles <me@insrt.uk>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
@@ -17,7 +17,7 @@ log = "0.4"
|
|||||||
tokio = { version = "1" }
|
tokio = { version = "1" }
|
||||||
|
|
||||||
# Core
|
# Core
|
||||||
revolt-database = { version = "0.10.1", path = "../../core/database" }
|
revolt-database = { version = "0.11.3", path = "../../core/database" }
|
||||||
revolt-result = { version = "0.10.1", path = "../../core/result" }
|
revolt-result = { version = "0.11.3", path = "../../core/result" }
|
||||||
revolt-config = { version = "0.10.1", path = "../../core/config" }
|
revolt-config = { version = "0.11.3", path = "../../core/config" }
|
||||||
revolt-files = { version = "0.10.1", path = "../../core/files" }
|
revolt-files = { version = "0.11.3", path = "../../core/files" }
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-pushd"
|
name = "revolt-pushd"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
revolt-result = { version = "0.10.1", path = "../../core/result" }
|
revolt-result = { version = "0.11.3", path = "../../core/result" }
|
||||||
revolt-config = { version = "0.10.1", path = "../../core/config", features = [
|
revolt-config = { version = "0.11.3", path = "../../core/config", features = [
|
||||||
"report-macros",
|
"report-macros",
|
||||||
"anyhow"
|
"anyhow",
|
||||||
] }
|
] }
|
||||||
revolt-database = { version = "0.10.1", path = "../../core/database" }
|
revolt-database = { version = "0.11.3", path = "../../core/database" }
|
||||||
revolt-models = { version = "0.10.1", path = "../../core/models", features = [
|
revolt-models = { version = "0.11.3", path = "../../core/models", features = [
|
||||||
"validator",
|
"validator",
|
||||||
] }
|
] }
|
||||||
revolt-presence = { version = "0.10.1", path = "../../core/presence", features = [
|
revolt-presence = { version = "0.11.3", path = "../../core/presence", features = [
|
||||||
"redis-is-patched",
|
"redis-is-patched",
|
||||||
] }
|
] }
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ tokio = "1.39.2"
|
|||||||
async-trait = "0.1.81"
|
async-trait = "0.1.81"
|
||||||
ulid = "1.0.0"
|
ulid = "1.0.0"
|
||||||
|
|
||||||
authifier = "1.0.15"
|
authifier = "1.0.16"
|
||||||
|
|
||||||
log = "0.4.11"
|
log = "0.4.11"
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-voice-ingress"
|
name = "revolt-voice-ingress"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-delta"
|
name = "revolt-delta"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = ["Paul Makles <paulmakles@gmail.com>"]
|
authors = ["Paul Makles <paulmakles@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
@@ -57,7 +57,7 @@ lettre = "0.10.0-alpha.4"
|
|||||||
rocket = { version = "0.5.1", default-features = false, features = ["json"] }
|
rocket = { version = "0.5.1", default-features = false, features = ["json"] }
|
||||||
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", rev = "072d90359b23e9b291df6b672c07c93de9c46011" }
|
rocket_cors = { git = "https://github.com/lawliet89/rocket_cors", rev = "072d90359b23e9b291df6b672c07c93de9c46011" }
|
||||||
rocket_empty = { version = "0.1.1", features = ["schema"] }
|
rocket_empty = { version = "0.1.1", features = ["schema"] }
|
||||||
rocket_authifier = { version = "1.0.15" }
|
rocket_authifier = { version = "1.0.16" }
|
||||||
rocket_prometheus = "0.10.0-rc.3"
|
rocket_prometheus = "0.10.0-rc.3"
|
||||||
|
|
||||||
# spec generation
|
# spec generation
|
||||||
@@ -68,7 +68,7 @@ revolt_rocket_okapi = { version = "0.10.0", features = ["swagger"] }
|
|||||||
amqprs = { version = "1.7.0" }
|
amqprs = { version = "1.7.0" }
|
||||||
|
|
||||||
# core
|
# core
|
||||||
authifier = "1.0.15"
|
authifier = "1.0.16"
|
||||||
revolt-config = { path = "../core/config" }
|
revolt-config = { path = "../core/config" }
|
||||||
revolt-database = { path = "../core/database", features = [
|
revolt-database = { path = "../core/database", features = [
|
||||||
"rocket-impl",
|
"rocket-impl",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-autumn"
|
name = "revolt-autumn"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
publish = false
|
publish = false
|
||||||
@@ -44,16 +44,16 @@ tracing = "0.1"
|
|||||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|
||||||
# Core crates
|
# Core crates
|
||||||
revolt-files = { version = "0.10.1", path = "../../core/files" }
|
revolt-files = { version = "0.11.3", path = "../../core/files" }
|
||||||
revolt-config = { version = "0.10.1", path = "../../core/config" }
|
revolt-config = { version = "0.11.3", path = "../../core/config" }
|
||||||
revolt-database = { version = "0.10.1", path = "../../core/database", features = [
|
revolt-database = { version = "0.11.3", path = "../../core/database", features = [
|
||||||
"axum-impl",
|
"axum-impl",
|
||||||
] }
|
] }
|
||||||
revolt-result = { version = "0.10.1", path = "../../core/result", features = [
|
revolt-result = { version = "0.11.3", path = "../../core/result", features = [
|
||||||
"utoipa",
|
"utoipa",
|
||||||
"axum",
|
"axum",
|
||||||
] }
|
] }
|
||||||
revolt-ratelimits = { version = "0.10.1", path = "../../core/ratelimits", features = ["axum"] }
|
revolt-ratelimits = { version = "0.11.3", path = "../../core/ratelimits", features = ["axum"] }
|
||||||
|
|
||||||
# Axum / web server
|
# Axum / web server
|
||||||
tempfile = "3.12.0"
|
tempfile = "3.12.0"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-gifbox"
|
name = "revolt-gifbox"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
publish = false
|
publish = false
|
||||||
@@ -17,19 +17,19 @@ tokio = { version = "1.0", features = ["full"] }
|
|||||||
reqwest = { version = "0.12", features = ["json"] }
|
reqwest = { version = "0.12", features = ["json"] }
|
||||||
|
|
||||||
# Core crates
|
# Core crates
|
||||||
revolt-config = { version = "0.10.1", path = "../../core/config" }
|
revolt-config = { version = "0.11.3", path = "../../core/config" }
|
||||||
revolt-models = { version = "0.10.1", path = "../../core/models" }
|
revolt-models = { version = "0.11.3", path = "../../core/models" }
|
||||||
revolt-result = { version = "0.10.1", path = "../../core/result", features = [
|
revolt-result = { version = "0.11.3", path = "../../core/result", features = [
|
||||||
"utoipa",
|
"utoipa",
|
||||||
"axum",
|
"axum",
|
||||||
] }
|
] }
|
||||||
revolt-coalesced = { version = "0.10.1", path = "../../core/coalesced", features = [
|
revolt-coalesced = { version = "0.11.3", path = "../../core/coalesced", features = [
|
||||||
"queue",
|
"queue",
|
||||||
] }
|
] }
|
||||||
revolt-database = { version = "0.10.1", path = "../../core/database", features = [
|
revolt-database = { version = "0.11.3", path = "../../core/database", features = [
|
||||||
"axum-impl",
|
"axum-impl",
|
||||||
] }
|
] }
|
||||||
revolt-ratelimits = { version = "0.10.1", path = "../../core/ratelimits", features = [
|
revolt-ratelimits = { version = "0.11.3", path = "../../core/ratelimits", features = [
|
||||||
"axum",
|
"axum",
|
||||||
] }
|
] }
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "revolt-january"
|
name = "revolt-january"
|
||||||
version = "0.10.1"
|
version = "0.11.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
publish = false
|
publish = false
|
||||||
@@ -33,13 +33,13 @@ tracing = "0.1"
|
|||||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||||
|
|
||||||
# Core crates
|
# Core crates
|
||||||
revolt-config = { version = "0.10.1", path = "../../core/config" }
|
revolt-config = { version = "0.11.3", path = "../../core/config" }
|
||||||
revolt-models = { version = "0.10.1", path = "../../core/models" }
|
revolt-models = { version = "0.11.3", path = "../../core/models" }
|
||||||
revolt-result = { version = "0.10.1", path = "../../core/result", features = [
|
revolt-result = { version = "0.11.3", path = "../../core/result", features = [
|
||||||
"utoipa",
|
"utoipa",
|
||||||
"axum",
|
"axum",
|
||||||
] }
|
] }
|
||||||
revolt-files = { version = "0.10.1", path = "../../core/files" }
|
revolt-files = { version = "0.11.3", path = "../../core/files" }
|
||||||
|
|
||||||
# Axum / web server
|
# Axum / web server
|
||||||
axum = { version = "0.7.5" }
|
axum = { version = "0.7.5" }
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# See https://www.git-town.com/configuration-file for details
|
||||||
|
|
||||||
|
[branches]
|
||||||
|
main = "main"
|
||||||
|
|
||||||
|
[hosting]
|
||||||
|
forge-type = "github"
|
||||||
|
github-connector = "gh"
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
0.10.1
|
0.11.3
|
||||||
|
|||||||
Reference in New Issue
Block a user