Commit Graph

86 Commits

Author SHA1 Message Date
ca0c6512fe
/users/password: implemented endpoint
also added uuid to JTIs in JWTs to prevent issues in tests
2023-05-22 20:52:46 -04:00
0bd36b9a95
tests/test_auth.py: remove checks on forbidden names 2023-05-22 19:56:35 -04:00
2d56823b17
sachet/server/users/manage.py: remove checks on forbidden names 2023-05-22 12:23:58 -04:00
3d93e489c4
docs/files.rst: added note about null ownership 2023-05-22 12:16:45 -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
88bd79c228
docs/user.rst: make mention of url field in POST 2023-05-21 21:55:31 -04:00
f6e1d1c385
/users/<username>: added DELETE method 2023-05-21 21:51:52 -04:00
85b83ace12
docs/conf.py: reformatted 2023-05-21 21:49:47 -04:00
076dc758df
/users: fix wrong URL returned when POSTing 2023-05-21 17:28:51 -04:00
5fd8fada2c
docs/files.rst: added url field information for list API POST 2023-05-21 13:20:23 -04:00
281ad30eec
docs/admin.rst: added content 2023-05-21 13:15:00 -04:00
c0947ebbe2
docs/files.rst: added lock, content API docs 2023-05-21 12:56:44 -04:00
089b14e6c9
docs/files.rst: finish chunked upload section 2023-05-20 23:35:28 -04:00
4a80d4097e
Merge branch 'main' into wip-apidocs 2023-05-20 23:15:41 -04:00
a8f22fb741
sachet/server/files/views.py: fix db integrity error
i'll be honest i have no idea what just happened
2023-05-20 23:06:01 -04:00
9bbd87ed36 WIP - fix unindented part 2023-05-20 22:32:26 -04:00
1f7ade3c1f
WIP - docs/files.rst: added content 2023-05-20 22:31:42 -04:00
2914ff7856
docs/user.rst: added content 2023-05-20 21:47:15 -04:00
4a55ad7ac0
docs/pagination.rst: added 2023-05-20 20:06:35 -04:00
a9b263f33c
docs/permissions.rst: added content 2023-05-20 20:05:41 -04:00
cbf1310e1b
/users: added endpoint for creating, listing users 2023-05-18 22:06:16 -04:00
71683662ea
docs/authentication.rst: added content 2023-05-18 20:29:56 -04:00
9a0c84d5ae
docs/: added page stubs 2023-05-17 21:26:52 -04:00
c7ba8ea813
added boilerplate for sphinx 2023-05-17 20:56:29 -04:00
a14a516f41
requirements.txt: updated
accidentally left out things whoops
2023-05-17 19:19:01 -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
a90522ddb9
/files/: implemented Range header for partial download 2023-05-08 21:02:29 -04:00
e2ec325540
models.py: logic error 2023-05-08 18:54:40 -04:00
bb6e222255
/files/: clean up files 2023-05-08 18:49:36 -04:00
d7e93880a2
models.py: fix Chunk not having upload_id 2023-05-07 22:17:05 -04:00
843e89511a
contrib/testcmds.fish: updated 2023-05-07 22:14:15 -04:00
84d4e13814
config.py: fix hostname for dev server 2023-05-07 22:13:23 -04:00
2e6ecad00a
migrations: updated 2023-05-07 21:52:30 -04:00
7aa60d8aed
implemented chunked upload 2023-05-07 21:08:45 -04:00
ec41382f9d
README.md: added extra info 2023-04-30 20:54:26 -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
bb3731cc6d
testcmds.fish: improve some functions 2023-04-26 20:51:13 -04:00
387e2dbeb9
sachet/server/files/views.py: add check for invalid UUID 2023-04-26 20:40:45 -04:00