|
7f5021c568
|
/files: better malformed UUID handling
|
2023-07-18 13:26:48 -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 |
|
|
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 |
|
|
404393859b
|
sachet/server/views_common.py: pagination now has a total pages field
|
2023-06-09 19:45:28 -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 |
|
|
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 |
|
|
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 |
|
|
f6e1d1c385
|
/users/<username>: added DELETE method
|
2023-05-21 21:51:52 -04:00 |
|
|
076dc758df
|
/users: fix wrong URL returned when POSTing
|
2023-05-21 17:28:51 -04:00 |
|
|
cbf1310e1b
|
/users: added endpoint for creating, listing users
|
2023-05-18 22:06:16 -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 |
|
|
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 |
|