Commit Graph

18 Commits

Author SHA1 Message Date
7f5021c568
/files: better malformed UUID handling 2023-07-18 13:26:48 -04:00
e16d842880
sachet/server/files/views.py: fix bug when invalid UUID is passed in 2023-06-25 20:41:43 -04:00
14734446ba
/files/<uuid>: fix ownership transfers 2023-05-21 22:18:45 -04:00
bc2c14e52f
/files/<uuid>: fix shares permission issue
users can no longer change the metadata on shares they do not own
2023-05-21 22:01:02 -04:00
47d4e36930
/files/: make deletes cascade properly 2023-05-17 19:12:25 -04:00
c584950f11
/files/: discarded partial request code
apparently Flask already implemented this by default :(
also added tests to ensure everything works fine
2023-05-11 21:04:54 -04:00
bb6e222255
/files/: clean up files 2023-05-08 18:49:36 -04:00
7aa60d8aed
implemented chunked upload 2023-05-07 21:08:45 -04:00
e96e3a376b
reformat 2023-04-30 17:33:43 -04:00
bdabb4a85a
/files: implemented /lock, /unlock endpoints 2023-04-29 13:18:09 -04:00
424de4f282
/files: disallow modifying other users' shares 2023-04-29 12:09:32 -04:00
2388bac57f
reformatted code again
i should probably put Black in a commit hook or something
but nahhhh can't be that bad
2023-04-26 21:02:04 -04:00
03a51ddbc4
/files/: implement proper modification 2023-04-22 18:25:10 -04:00
964114e6a3
test/test_files.py::test_sharing: make filename check more resilient 2023-04-15 18:12:50 -04:00
cb4904d70a
/files: implemented file name 2023-04-15 17:56:48 -04:00
ae0cc950f5
/files: add more tests 2023-04-15 16:34:48 -04:00
518898d554
tests: refactor authentication header 2023-04-13 13:30:53 -04:00
af21887402
/files/: implemented endpoint 2023-04-13 12:44:51 -04:00