Commit Graph

36 Commits

Author SHA1 Message Date
7aa60d8aed
implemented chunked upload 2023-05-07 21:08:45 -04:00
4337a921ae
sachet/server/commands.py: added cleanup 2023-04-30 19:31:01 -04:00
32618dec69
added migrations 2023-04-30 17:42:45 -04:00
e96e3a376b
reformat 2023-04-30 17:33:43 -04:00
ec3245dd4f
replace imports in the middle of code with current_app 2023-04-30 17:28:17 -04:00
bdabb4a85a
/files: implemented /lock, /unlock endpoints 2023-04-29 13:18:09 -04:00
c0d4be8363
tests/conftest.py: fix test for modifying another users' shares 2023-04-29 12:17:32 -04:00
424de4f282
/files: disallow modifying other users' shares 2023-04-29 12:09:32 -04:00
fa57548e0b
tests/test_anonymous.py: add more tests to prod at anonymous permissions 2023-04-29 11:57:56 -04:00
30899847fb
/files: make tests more robust 2023-04-27 21:16:10 -04:00
f97cfbbe33
/files/: add anon permissions 2023-04-27 20:32:46 -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
a0e163d8bd
/files: add GET with pagination 2023-04-26 19:51:09 -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
6749391b3c
storage: refactor to be more OOP 2023-04-09 17:49:26 -04:00
25dc5b2200
storage: added tests for renaming 2023-04-09 15:04:22 -04:00
95ed51dd64
storage: implemented filesystem
test coverage to be improved
2023-04-08 18:35:56 -04:00
743c8b9eaa
added stub for server settings
we can now modify the default permissions for unauthenticated users
it doesn't do anything yet, though
2023-04-02 14:00:11 -04:00
68f56dd1a1
refactor: split off generic model REST API logic
also, a model's marshmallow schema class is now within the model class
2023-04-01 17:56:25 -04:00
27f6703318
linted everything with black 2023-03-30 20:20:09 -04:00
f01d1d0e54
/users/<id>: added PUT endpoint 2023-03-29 19:50:09 -04:00
ee6c7d4fa5
/users/<id>: added PATCH endpoint 2023-03-28 21:48:09 -04:00
548ccdb892
made permissions more flexible 2023-03-27 21:54:20 -04:00
96e12c33da
models: use Marshmallow for serializing/deserializing 2023-03-25 17:16:33 -04:00
e8cd368e38
auth: added /users/extend endpoint 2023-03-18 21:52:25 -04:00
657f634882
authentication: added logout ability 2023-03-11 13:07:11 -05:00
e165f6ef45
tests/test_userinfo.py: Split off authentication tests 2023-03-10 21:06:22 -05:00
10dc7957a2
tests: improved coverage 2023-03-10 18:32:07 -05:00
095969a02a
Fix configurations
Originally it always defaulted to development, no matter what for some
reason
2023-03-10 18:17:03 -05:00
3e3606d809
tests: added tests for authentication 2023-03-10 14:31:20 -05:00
6afe0cc521
added tests/
this runs off pytest
currently we only tested the CLI commands
2023-03-10 11:08:54 -05:00