avored / avored-rust-cms Goto Github PK
View Code? Open in Web Editor NEWAvored rust content management system
Home Page: https://avored.github.io/avored-rust-cms/
License: GNU General Public License v3.0
Avored rust content management system
Home Page: https://avored.github.io/avored-rust-cms/
License: GNU General Public License v3.0
We need to check the user permission on all the admin or protected routes with role/permission check for the given user.
Add a sql to add roles table for avored cms
Tracking issue for:
Display success message after
We need to come up with an idea how to setup app for as part of first install.
Need to edit a role delete a feature
needs to build role list page
we need to improve the model code improvement the way we convery from surreal object, values into struct. We need to think about how we can improve by using try_into
or like similar.
Create assets basic
Create a Admin Usercreate page
we need to improve the modularity for all the handler's rust files we have.
└── handlers/
├── admin-users/
│ ├── mod.rs
│ ├── admin_user_table.rs
│ └── create_admin_user.rs
└── role/
├── mod.rs
└── role_table.rs`
Delte an admin user
We need to improve the code base for all the request struct which got many repetitive code for validation requests.
Look at the store_role_handler
where we move the validation logic into store_request
sturct so we need to do similar for all the Request struct in the app.
we just need a blank asset page as of we need to add a another api module in rust backend.
Tracking issue for:
display comment fields on show component page.
We need to build a simple html / css based website for avored rust.
https://github.com/avored/avored-rust-cms/blob/main/docs/index.html
We need a hello world react admin app setup.
We need a way to display all the role related information and to have a delete button which deletes the record
Currently, there is no tests are added to the project. I would like some community help if someone can help to add tests to the projects.
Possible way of doing is:
Once we received the validation error list via validation crates method then add into a app_state
and need to create a handlebars helpers which will read the vec and return to view.
We need a way to delete validation errors from app_state
too if it is not used for whatever reason?
we need to add a pagination support for all the tables.
Think about how to define compoents
We need to improve the page builder edit/create pages.
we need a asset create modal initial modal should only able to upload image into backend. Once this step is completed we will work on crop image feature for uploading image.
Need to create a role create feature
Create a Admin User edit page
we need to add a unique validation for
we need to add a method to format the date time helper for handle bar
Basic level of asset tables
we need to install very basic hello world graphql for avored cms
we need to add a result page after the successful setup is completed. IT should have a link to admin login and docs and success result information.
we need to add a basic logout session destroy rust route.
Need to edit a role create a feature
we need to setup rest api mod for backend and eventually grow the api list.
There is a bunch of security tab fixed that can be done very easily with many minor changes in code.
Please create a new issue from UI then work and do a PR. Gitaction should trigger and see the result.
We need to setup edit/update component with field can be added or removed
Create a Admin User list page in vue
We need to come up with an idea to keep the form data into session so in the event of an error when we redirect back to original page it can use the data so user don't have to refill whole form.
we need to implement default for most of the modal struct that we have. this will help to improve the code base.
pub struct AdminUser {
pub id: String,
pub full_name: String,
pub email: String,
}
impl Default for AdminUser {
fn default() -> Self {
AdminUser {
id: String::from(""),
full_name: String::from(""),
email: String::from(""),
}
}
}
Advantage of implementing the default is that in the repository we can do something like
let admin_user: Result<AdminUser> = match result_admin_users {
Ok(data) => data.try_into(),
Err(_) => Ok(AdminUser::empty_admin_user()),
};
// the above three line code can be converted to one line and more clean approach.
let admin_user = result_admin_users.unwrap_or_default();
Tracking issue for:
We need a way to edit role for the app in the admin
The idea is to follow the admin user update feature.
Fixed the bug:
we need to extract out the pagination logic in frontend to an components.
we need to create an page in admin to display roles table.
we need a simple page table ui.
We need to setup custom middleware for rest api end points.
Idea here is middleware should check two thing.
we need to start with the component create/store routes. As of start we need to support only text field for component create ui.
We need to add a page in avored admin to add a role to table with fields and backend processing.
Page should be able to display a validation error as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.