Merge remote-tracking branch 'origin/daedalus-add' into daedalus-add
This commit is contained in:
commit
4a2ec0c40c
@ -317,7 +317,7 @@ fn main() {
|
|||||||
MessageDialog::new()
|
MessageDialog::new()
|
||||||
.set_type(MessageType::Error)
|
.set_type(MessageType::Error)
|
||||||
.set_title("Initialization error")
|
.set_title("Initialization error")
|
||||||
.set_text("Your Microsoft Edge WebView2 installation is corrupt.\n\nMicrosoft Edge WebView2 is required to run Modrinth App.\n\nLearn how to repair it at https://docs.modrinth.com/faq/app/webview2")
|
.set_text("Your Microsoft Edge WebView2 installation is corrupt.\n\nMicrosoft Edge WebView2 is required to run Modrinth App.\n\nLearn how to repair it at https://support.modrinth.com/en/articles/8797765-corrupted-microsoft-edge-webview2-installation")
|
||||||
.show_alert()
|
.show_alert()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
|
|||||||
@ -52,6 +52,14 @@ useHead({
|
|||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
window.tude = window.tude || { cmd: [] };
|
window.tude = window.tude || { cmd: [] };
|
||||||
|
window.Raven = window.Raven || { cmd: [] };
|
||||||
|
|
||||||
|
window.Raven.cmd.push(({ config }) => {
|
||||||
|
config.setCustom({
|
||||||
|
param1: "web",
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
tude.cmd.push(function () {
|
tude.cmd.push(function () {
|
||||||
tude.refreshAdsViaDivMappings([
|
tude.refreshAdsViaDivMappings([
|
||||||
{
|
{
|
||||||
|
|||||||
@ -61,6 +61,14 @@
|
|||||||
function initAds(personalized) {
|
function initAds(personalized) {
|
||||||
window.tude = window.tude || { cmd: [] };
|
window.tude = window.tude || { cmd: [] };
|
||||||
|
|
||||||
|
window.Raven = window.Raven || { cmd: [] };
|
||||||
|
|
||||||
|
window.Raven.cmd.push(({ config }) => {
|
||||||
|
config.setCustom({
|
||||||
|
param1: "app",
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
tude.cmd.push(function () {
|
tude.cmd.push(function () {
|
||||||
tude.refreshAdsViaDivMappings([
|
tude.refreshAdsViaDivMappings([
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
## Modrinth's laboratory for its backend service & API!
|
## Modrinth's laboratory for its backend service & API!
|
||||||
|
|
||||||
For contributing information, please see the labrinth section of the [Modrinth contributing guide](https://docs.modrinth.com/docs/details/contributing/#labrinth-backend-and-api). For documentation on the API itself, see the [API Spec](https://docs.modrinth.com/api-spec/).
|
For contributing information, please see the labrinth section of the [Modrinth contributing guide](https://docs.modrinth.com/contributing/labrinth/). For documentation on the API itself, see the [API Spec](https://docs.modrinth.com/api/).
|
||||||
|
|||||||
@ -145,7 +145,7 @@ impl ModerationMessage {
|
|||||||
ModerationMessage::NoPrimaryFile => "Please attach a file to this version. All files on Modrinth must have files associated with their versions.\n".to_string(),
|
ModerationMessage::NoPrimaryFile => "Please attach a file to this version. All files on Modrinth must have files associated with their versions.\n".to_string(),
|
||||||
ModerationMessage::PackFilesNotAllowed { files, .. } => {
|
ModerationMessage::PackFilesNotAllowed { files, .. } => {
|
||||||
let mut str = "".to_string();
|
let mut str = "".to_string();
|
||||||
str.push_str("This pack redistributes copyrighted material. Please refer to [Modrinth's guide on obtaining modpack permissions](https://docs.modrinth.com/modpacks/permissions) for more information.\n\n");
|
str.push_str("This pack redistributes copyrighted material. Please refer to [Modrinth's guide on obtaining modpack permissions](https://support.modrinth.com/en/articles/8797527-obtaining-modpack-permissions) for more information.\n\n");
|
||||||
|
|
||||||
let mut attribute_mods = Vec::new();
|
let mut attribute_mods = Vec::new();
|
||||||
let mut no_mods = Vec::new();
|
let mut no_mods = Vec::new();
|
||||||
|
|||||||
@ -69,7 +69,7 @@ pub fn root_config(cfg: &mut web::ServiceConfig) {
|
|||||||
Ok(req.into_response(
|
Ok(req.into_response(
|
||||||
HttpResponse::Gone()
|
HttpResponse::Gone()
|
||||||
.content_type("application/json")
|
.content_type("application/json")
|
||||||
.body(r#"{"error":"api_deprecated","description":"You are using an application that uses an outdated version of Modrinth's API. Please either update it or switch to another application. For developers: https://docs.modrinth.com/docs/migrations/v1-to-v2/"}"#)
|
.body(r#"{"error":"api_deprecated","description":"You are using an application that uses an outdated version of Modrinth's API. Please either update it or switch to another application. For developers: https://docs.modrinth.com/api/#versioning"}"#)
|
||||||
))
|
))
|
||||||
}.boxed_local()
|
}.boxed_local()
|
||||||
})
|
})
|
||||||
|
|||||||
@ -237,7 +237,7 @@
|
|||||||
>This editor supports
|
>This editor supports
|
||||||
<a
|
<a
|
||||||
class="markdown-resource-link"
|
class="markdown-resource-link"
|
||||||
href="https://docs.modrinth.com/markdown"
|
href="https://support.modrinth.com/en/articles/8801962-advanced-markdown-formatting"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>Markdown formatting</a
|
>Markdown formatting</a
|
||||||
>.</span
|
>.</span
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user