Skip to content

enhancement: Added more admin endpoints#592

Draft
Sanielia wants to merge 4 commits intomasterfrom
enhancement/more-admin-endpoints
Draft

enhancement: Added more admin endpoints#592
Sanielia wants to merge 4 commits intomasterfrom
enhancement/more-admin-endpoints

Conversation

@Sanielia
Copy link
Member

No description provided.

@Sanielia Sanielia requested a review from Norbiros May 26, 2025 18:21
@Sanielia Sanielia self-assigned this May 26, 2025
@Sanielia Sanielia requested a review from a team as a code owner May 26, 2025 18:21
@hack4krak-deployment
Copy link

hack4krak-deployment bot commented May 26, 2025

Dokploy Preview Deployment

Name Status Preview Updated (UTC)
Frontend ✅ Done Preview URL 2025-10-20T19:54:47.488Z

@Sanielia Sanielia force-pushed the enhancement/more-admin-endpoints branch 2 times, most recently from 0f5a35a to 17c5a0d Compare May 26, 2025 18:29
@Sanielia
Copy link
Member Author

…i hate openapi, i will fix it later

pub id: Uuid,
pub team: Uuid,
pub administration_code: Uuid,
#[sea_orm(unique)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed that and it never got merged to the master. Please clear this from your db

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah it got merged but only in migrations, entity on master doesn't have unique key here, but latest migration has

@Sanielia Sanielia requested a review from a team as a code owner May 27, 2025 15:17
@Sanielia
Copy link
Member Author

i tried literally everything to fix this openapi issue and it still fails…

@Sanielia Sanielia force-pushed the enhancement/more-admin-endpoints branch from 7066891 to d71ff6d Compare May 27, 2025 15:19
@Sanielia
Copy link
Member Author

this problem with openapi is probably related to how utoipa::ToSchema macro implements ToSchema for those entities, they all have the same name, just Model

@Sanielia
Copy link
Member Author

as far as i am concerned this is waiting for new release of rust so yeah

@Sanielia Sanielia marked this pull request as draft May 30, 2025 19:48
@Norbiros
Copy link
Member

You could always just use normal useFetch in the frontend and create a new issue for this

@Norbiros
Copy link
Member

image

yaay! Span::file got stabilized in 1.88

@Sanielia Sanielia force-pushed the enhancement/more-admin-endpoints branch from d71ff6d to f88c0c6 Compare August 14, 2025 08:35
@Norbiros
Copy link
Member

You need to rewrite it to avoid duplication :c I send you all the details on discord

@Sanielia Sanielia force-pushed the enhancement/more-admin-endpoints branch 2 times, most recently from e5ee8b9 to dbefc54 Compare October 20, 2025 19:17
@Sanielia Sanielia force-pushed the enhancement/more-admin-endpoints branch from dbefc54 to 4a5157f Compare October 20, 2025 19:22
let name = input.ident;
let span = name.span().unwrap();

let panic_message =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Sanielia Sanielia force-pushed the master branch 2 times, most recently from 4ccdc47 to 4ab6149 Compare January 10, 2026 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants