Compare commits

..

23 Commits

Author SHA1 Message Date
Savanni D'Gerinel ef057eca66 run tests on release builds 2023-10-05 13:01:24 -04:00
Savanni D'Gerinel c70e1d943d Disable the komi test
The SGF parser doesn't currently parse komi
2023-10-05 13:01:24 -04:00
Savanni D'Gerinel 7711f68993 Resolve tests which call the GameState constructor
I changed the constructor from new() to default(), but didn't catch all of the tests.
2023-10-05 13:01:24 -04:00
Savanni D'Gerinel f13b3effd6 Run release build before building running the dist scripts 2023-10-05 13:01:24 -04:00
Savanni D'Gerinel 4cdd2b6b0f Make sure the distribution scripts compress files and include version numbers 2023-10-05 13:01:24 -04:00
Savanni D'Gerinel 6c831567eb Remove orizentic from the environment
This needs a total overhaul and so isn't worth fixing right now.
2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 0afe0c1b88 Resolve warnings in the kifu app 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel e0f3cdb50a Resolve warnings in the SGF library 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel efac7e43eb Resolve warnings in the hex-grid app 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 37c60e4346 Resolve warnings in gm-control-panel 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 2084061526 Resolve linter warnings in emseries 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 79422b5c7a Resolve warnings in memorycache and dashboard 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 3f2feee4dd Resolve linting problems with flow 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 5443015868 Resolving linting problems in geo-types 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 49b1865818 Resolve warnings in the IFC library 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 10849687e3 Resolve warnings in fluent-ergonomics 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel d441e19479 Resolve warnings in cyberpunk-splash 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 5496e9ce10 Resolve warnings in coordinates 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel 7b6b7ec011 Resolve warnings in changeset 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel e657320b28 Thoroughly lint the file-service 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel bdcd7ee18e Set up strict clippy linting in the build scripts 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel f9974e79a7 Set a maximum upload to 15MB 2023-10-05 00:08:27 -04:00
Savanni D'Gerinel 4200432e1f Make sure to compress the tar files when bundling for distribution 2023-10-05 00:07:55 -04:00
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ mod handlers;
mod html;
mod pages;
const MAX_UPLOAD: u64 = 15 * 1024 * 1024;
pub use file_service::{
AuthDB, AuthError, AuthToken, FileHandle, FileId, FileInfo, ReadFileError, SessionToken, Store,
Username, WriteFileError,
@ -127,7 +129,7 @@ pub async fn main() {
.and(warp::post())
.and(with_app(app.clone()))
.and(with_session())
.and(warp::multipart::form())
.and(warp::multipart::form().max_length(MAX_UPLOAD))
.then(handle_upload);
let thumbnail = warp::path!(String / "tn")