Compare commits
No commits in common. "1e0dea713509a680d9a2ab6f27540cf34ca7a544" and "6e672d3d0e57df27f3056df72027ec046203cda2" have entirely different histories.
1e0dea7135
...
6e672d3d0e
6 changed files with 12 additions and 21 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
14
readme.md
14
readme.md
|
@ -13,7 +13,6 @@ i've run out of ideas.
|
||||||
- [highly configurable](https://git.reidlab.online/reidlab/gdps-server/src/branch/main/config.example.toml)
|
- [highly configurable](https://git.reidlab.online/reidlab/gdps-server/src/branch/main/config.example.toml)
|
||||||
- compiled, for extra speed
|
- compiled, for extra speed
|
||||||
- [parses uploaded levels](https://git.reidlab.online/reidlab/gdps-server/src/branch/main/src/helpers/levels.rs) to patch RCEs and verify that everything is in place
|
- [parses uploaded levels](https://git.reidlab.online/reidlab/gdps-server/src/branch/main/src/helpers/levels.rs) to patch RCEs and verify that everything is in place
|
||||||
- website frontend
|
|
||||||
|
|
||||||
## build
|
## build
|
||||||
|
|
||||||
|
@ -32,14 +31,15 @@ i've run out of ideas.
|
||||||
|
|
||||||
## todo
|
## todo
|
||||||
|
|
||||||
- account settings page
|
- chrono
|
||||||
- better web design
|
|
||||||
- user icons in the account management + settings (gdicon.oat.zone? selfhost?) ideally we find a legal way to do this (i cant distribute the plist+asset files directly) but doing this illegally is always an option
|
|
||||||
- use chrono
|
|
||||||
- 2.2 friends only unlisted
|
- 2.2 friends only unlisted
|
||||||
- add dailies, events, weekly
|
- add dailies, events, weekly
|
||||||
- moderation utilities
|
- moderation utilities
|
||||||
|
- ip actions
|
||||||
- better song support
|
- better song support
|
||||||
- authentication caching
|
- authentication caching (ip? redis?)
|
||||||
- use log instead of println
|
- use log instead of println
|
||||||
- make a proper rank system (reuploading, uploading music, rating, etc.)
|
- make a proper rank system (reuploading, uploading music, rating, etc.)
|
||||||
|
- user icons in the account management + settings (gdicon.oat.zone? selfhost?)
|
||||||
|
- account settings page
|
||||||
|
- better web design
|
|
@ -15,7 +15,7 @@ pub fn account_management(cookies: &CookieJar<'_>) -> Result<Template, Redirect>
|
||||||
let logged_in = crate::helpers::templates::authenticate(cookies);
|
let logged_in = crate::helpers::templates::authenticate(cookies);
|
||||||
|
|
||||||
match logged_in {
|
match logged_in {
|
||||||
Ok((username_val, _account_id_val, user_id_val)) => {
|
Ok((username_val, account_id_val, user_id_val)) => {
|
||||||
use crate::schema::users::dsl::*;
|
use crate::schema::users::dsl::*;
|
||||||
use crate::models::User;
|
use crate::models::User;
|
||||||
|
|
||||||
|
@ -30,8 +30,7 @@ pub fn account_management(cookies: &CookieJar<'_>) -> Result<Template, Redirect>
|
||||||
diamonds: result.diamonds,
|
diamonds: result.diamonds,
|
||||||
coins: result.coins,
|
coins: result.coins,
|
||||||
user_coins: result.user_coins,
|
user_coins: result.user_coins,
|
||||||
demons: result.demons,
|
demons: result.demons
|
||||||
creator_points: result.creator_points,
|
|
||||||
}));
|
}));
|
||||||
},
|
},
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
|
|
|
@ -31,8 +31,7 @@ pub fn index() -> Template {
|
||||||
"[REDACTED]",
|
"[REDACTED]",
|
||||||
"chrome jop jop?",
|
"chrome jop jop?",
|
||||||
"pikmin 4",
|
"pikmin 4",
|
||||||
"italian apk downloader",
|
"italian apk downloader"
|
||||||
"Invalid password, can still smell him off the dashboard"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
|
|
|
@ -23,12 +23,7 @@
|
||||||
hai, <b>{{ username }}</b>!
|
hai, <b>{{ username }}</b>!
|
||||||
</div>
|
</div>
|
||||||
<div class="greeting-stats">
|
<div class="greeting-stats">
|
||||||
{{ stars }} <img src="/assets/icons/gd/star.png">
|
{{ stars }} <img src="/assets/icons/gd/star.png"> {{ diamonds }} <img src="/assets/icons/gd/diamond.png"> {{ coins }} <img src="/assets/icons/gd/coin.png"> {{ user_coins }} <img src="/assets/icons/gd/silvercoin.png"> {{ demons }} <img src="/assets/icons/gd/demon.png">
|
||||||
{{ diamonds }} <img src="/assets/icons/gd/diamond.png">
|
|
||||||
{{ coins }} <img src="/assets/icons/gd/coin.png">
|
|
||||||
{{ user_coins }} <img src="/assets/icons/gd/silver_coin.png">
|
|
||||||
{{ demons }} <img src="/assets/icons/gd/demon.png">
|
|
||||||
{{#unless (eq creator_points 0)}} {{ creator_points }} <img src="/assets/icons/gd/creator_points.png"> {{/unless}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="greeting-bottom">
|
<div class="greeting-bottom">
|
||||||
|
@ -47,9 +42,7 @@
|
||||||
<br><br>
|
<br><br>
|
||||||
anyway how has ur day been
|
anyway how has ur day been
|
||||||
<br><br>
|
<br><br>
|
||||||
the demon should be your user icon haha, i'll fix that later
|
the demon should be your user icon haha, ill get 2 that latr :3 (gonna be next update i think)
|
||||||
<br><br>
|
|
||||||
also the settings arent made yet so sorry if you wanna change your username or password or something
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue