You've already forked AstralRinth
Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c09f31383 | |||
| d527c3e1ba | |||
| 36367e475e | |||
| 13f2961e43 | |||
| 69b70d70a8 | |||
| d0d0dcf09f | |||
| 41b9729b9b | |||
| a2009cae39 | |||
| fab086b3e1 | |||
| f379126242 | |||
| 8e0d9f2da6 | |||
| e931b5c8ef | |||
| 84617d0c49 | |||
| 0908cf4e94 | |||
| 916f27c5ab | |||
| 9b442d04d9 | |||
| 9024b2eec5 | |||
| 4624a29332 | |||
| 3d2cef40d5 | |||
| e8f8be1940 | |||
| 49faba6ad2 |
@@ -44,7 +44,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"productName": "AstralRinth App",
|
"productName": "AstralRinth App",
|
||||||
"version": "0.9.304",
|
"version": "0.9.305",
|
||||||
"mainBinaryName": "AstralRinth App",
|
"mainBinaryName": "AstralRinth App",
|
||||||
"identifier": "AstralRinthApp",
|
"identifier": "AstralRinthApp",
|
||||||
"plugins": {
|
"plugins": {
|
||||||
|
|||||||
@@ -771,7 +771,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex w-full flex-col items-start justify-between gap-4 rounded-2xl bg-bg p-8 text-left lg:flex-row lg:gap-0"
|
class="mb-4 flex w-full flex-col items-start justify-between gap-4 rounded-2xl bg-bg p-8 text-left lg:flex-row lg:gap-0"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col gap-4">
|
<div class="flex flex-col gap-4">
|
||||||
<h1 class="m-0">Build your own</h1>
|
<h1 class="m-0">Build your own</h1>
|
||||||
|
|||||||
@@ -2300,8 +2300,6 @@ pub async fn index_billing(
|
|||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
let mut transaction = pool.begin().await?;
|
|
||||||
|
|
||||||
for mut charge in charges_to_do {
|
for mut charge in charges_to_do {
|
||||||
let product_price = if let Some(price) =
|
let product_price = if let Some(price) =
|
||||||
prices.iter().find(|x| x.id == charge.price_id)
|
prices.iter().find(|x| x.id == charge.price_id)
|
||||||
@@ -2396,19 +2394,28 @@ pub async fn index_billing(
|
|||||||
|
|
||||||
charge.status = ChargeStatus::Processing;
|
charge.status = ChargeStatus::Processing;
|
||||||
|
|
||||||
stripe::PaymentIntent::create(&stripe_client, intent)
|
if let Err(e) =
|
||||||
.await?;
|
stripe::PaymentIntent::create(&stripe_client, intent)
|
||||||
|
.await
|
||||||
|
{
|
||||||
|
tracing::error!(
|
||||||
|
"Failed to create payment intent: {:?}",
|
||||||
|
e
|
||||||
|
);
|
||||||
|
charge.status = ChargeStatus::Failed;
|
||||||
|
charge.last_attempt = Some(Utc::now());
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
charge.status = ChargeStatus::Failed;
|
charge.status = ChargeStatus::Failed;
|
||||||
charge.last_attempt = Some(Utc::now());
|
charge.last_attempt = Some(Utc::now());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let mut transaction = pool.begin().await?;
|
||||||
charge.upsert(&mut transaction).await?;
|
charge.upsert(&mut transaction).await?;
|
||||||
|
transaction.commit().await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
transaction.commit().await?;
|
|
||||||
|
|
||||||
Ok::<(), ApiError>(())
|
Ok::<(), ApiError>(())
|
||||||
}
|
}
|
||||||
.await;
|
.await;
|
||||||
|
|||||||
@@ -10,6 +10,25 @@ export type VersionEntry = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const VERSIONS: VersionEntry[] = [
|
const VERSIONS: VersionEntry[] = [
|
||||||
|
{
|
||||||
|
date: `2025-04-01T21:15:00-07:00`,
|
||||||
|
product: 'web',
|
||||||
|
body: `### Added
|
||||||
|
- Reverted Modrinth Pizza due to issues in pizza processing leading to users being redirected to [this page](https://modrinth.com/pizza/error).
|
||||||
|
- Fixed bug causing theme color to turn orange and corners turn sharp.`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: `2025-04-01T12:00:00`,
|
||||||
|
product: 'web',
|
||||||
|
body: `### Added
|
||||||
|
- Added Modrinth Pizza.`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: `2025-04-01T00:00:00`,
|
||||||
|
product: 'web',
|
||||||
|
body: `### Improvements
|
||||||
|
- Fixed project version field accepting more than 32 characters.`,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
date: `2025-03-25T18:25:00-07:00`,
|
date: `2025-03-25T18:25:00-07:00`,
|
||||||
product: 'web',
|
product: 'web',
|
||||||
|
|||||||
Reference in New Issue
Block a user