You've already forked AstralRinth
forked from didirus/AstralRinth
* Initial Anrok integration * Query cache, fmt, clippy * Fmt * Use payment intent function in edit_subscription * Attach Anrok client, use payments in index_billing * Integrate Anrok with refunds * Bug fixes * More bugfixes * Fix resubscriptions * Medal promotion bugfixes * Use stripe metadata constants everywhere * Pre-fill values in products_tax_identifiers * Cleanup billing route module * Cleanup * Email notification for tax charge * Don't charge tax on users which haven't been notified of tax change * Fix taxnotification.amount templates * Update .env.docker-compose * Update .env.local * Clippy * Fmt * Query cache * Periodically update tax amount on upcoming charges * Fix queries * Skip indexing tax amount on charges if no charges to process * chore: query cache, clippy, fmt * Fix a lot of things * Remove test code * chore: query cache, clippy, fmt * Fix money formatting * Fix conflicts * Extra documentation, handle tax association properly * Track loss in tax drift * chore: query cache, clippy, fmt * Add subscription.id variable * chore: query cache, clippy, fmt * chore: query cache, clippy, fmt
35 lines
953 B
Rust
35 lines
953 B
Rust
pub(crate) mod admin;
|
|
pub mod affiliate;
|
|
pub mod billing;
|
|
pub mod external_notifications;
|
|
pub mod flows;
|
|
pub mod gdpr;
|
|
pub mod medal;
|
|
pub mod moderation;
|
|
pub mod pats;
|
|
pub mod session;
|
|
pub mod statuses;
|
|
|
|
pub use super::ApiError;
|
|
use super::v3::oauth_clients;
|
|
use crate::util::cors::default_cors;
|
|
|
|
pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
|
|
cfg.service(
|
|
actix_web::web::scope("_internal")
|
|
.wrap(default_cors())
|
|
.configure(admin::config)
|
|
.configure(oauth_clients::config)
|
|
.configure(session::config)
|
|
.configure(flows::config)
|
|
.configure(pats::config)
|
|
.configure(moderation::config)
|
|
.configure(billing::config)
|
|
.configure(gdpr::config)
|
|
.configure(statuses::config)
|
|
.configure(medal::config)
|
|
.configure(external_notifications::config)
|
|
.configure(affiliate::config),
|
|
);
|
|
}
|