472b17caca
chore: run black on migrations file
2023-07-18 13:28:52 -04:00
7f5021c568
/files: better malformed UUID handling
2023-07-18 13:26:48 -04:00
29f854f3a5
deleted migrations
...
i can't figure out how to fix this db mess so
2023-07-15 22:37:36 -04:00
996de46127
/users/<user>: fix inability to change password via PATCH
2023-07-15 22:26:22 -04:00
2ce47e55c0
test/test_userinfo.py: add missing password change test code
...
how did i not see this
2023-07-15 20:25:08 -04:00
89166ce708
TODO.txt: added tasks
2023-07-12 21:03:26 -04:00
1b145791e5
/users/password: return 403 on auth failure
2023-07-05 21:22:14 -04:00
e16d842880
sachet/server/files/views.py: fix bug when invalid UUID is passed in
2023-06-25 20:41:43 -04:00
f091f8a1e2
/whoami: implemented
...
tests and docs added too
2023-06-15 12:46:26 -04:00
38ab542695
contrib/testcmds.fish: use base64 instead of xxd
...
more widely available command
2023-06-14 21:36:20 -04:00
b525f09487
anon users are now allowed in admin endpoints
2023-06-13 11:44:58 -04:00
404393859b
sachet/server/views_common.py: pagination now has a total pages field
2023-06-09 19:45:28 -04:00
25980be6a3
/files/<uuid>: expose create_date field
2023-06-09 16:50:43 -04:00
f0717f8164
paginated APIs use parameters instead of a JSON body
...
*apparently* it's bad practice to send JSON in a GET request so
2023-06-09 13:27:05 -04:00
6b9df0a8d3
TODO.txt: uploaded
2023-05-31 20:33:09 -04:00
c96f27f0ec
docs/index.rst: added linkies
2023-05-28 13:20:41 -04:00
409e71b0a0
README.md: updated
...
since most things are in the docs now, link to it instead
2023-05-28 13:16:37 -04:00
65cae632b7
docs: make things more compatible with readthedocs
...
- added readthedocs.yaml
- write down steps to compile docs locally
- separated requirements for Sphinx and for Sachet
2023-05-28 13:04:21 -04:00
b714129baa
LICENSE: added
2023-05-28 11:23:32 -04:00
bf8fe8d1c5
docs/cli.rst: added
2023-05-28 11:07:38 -04:00
32dcf0c4a4
docs: moved index contents to "getting started"
2023-05-28 10:56:51 -04:00
a064bc9802
sachet/server/models.py: no more url_for errors in CLI
...
url_for is now called when requested and not at user init. this means
that creating the user via the CLI doesn't complain about not being in
an active request anymore
2023-05-28 10:48:28 -04:00
3599e80e77
docs/authentication.rst: added docs for password change
2023-05-22 21:01:21 -04:00
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