Savanni D'Gerinel
6fb872569d
Remove the Iron middleware files
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
a187582f16
Remove dead comments
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
5491521f95
Remove a legacy file
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
fee2fe607d
Remove an excess comment
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
9bc785722b
Remove old placeholder directories
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
b044dbaed8
Handle file uploads with a validated session
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
48f8c4aaf5
Validate the session token with file uploads
...
File uploads now check the session token before continuing.
Resolves: https://www.pivotaltracker.com/story/show/186174680
2023-10-03 19:40:57 -04:00
Savanni D'Gerinel
17ad927187
Validate the session token
...
A previous commit added authentication token checks. Auth tokens are replaced with session tokens, which can (and should) expire. This commit validates sessions, which now allows access to gated operations.
2023-10-03 19:40:55 -04:00
Savanni D'Gerinel
73293fd932
Add a CLI application for user management
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
2ae0d9cfe8
Split out a support library
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
2ad3874724
Add session checks
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
5c80fb3591
Add the ability to create and list users
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
5417eecdad
Create the initial database migration
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
5cc7c3ac5e
Finish the auth handler and create app auth stubs
2023-10-03 19:37:53 -04:00
Savanni D'Gerinel
40b9c41ed1
Set up authentication routes
2023-10-03 19:37:51 -04:00
Savanni D'Gerinel
d4fb5601c0
Complete upload
2023-10-03 19:34:04 -04:00
Savanni D'Gerinel
5479c136fd
Set up temperory working directories
2023-10-03 19:34:04 -04:00
Savanni D'Gerinel
f204920216
Correctly set up file ids from list_files
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
5c23427fdb
Refactor PathResolver so it cannot fail
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
a3add82294
Remove old test files
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
3b05e31374
Lots more refactoring :(
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
756120c9e6
Clean up the filehandle logic
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
b7ffdfac61
Add cool_asserts
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
8afbe1ddc1
Provide a unified interface for the File and Thumbnail
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
89594d3169
Load file by ID
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
e957865d2a
Get thumbnail creation working again
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
334cd42e10
Add some tests to verify that a file can be added to the system
...
Still gutting a lot of the old code, but this MR focuses more on ensuring that a file can be added and that the metadata gets saved.
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
5ef0260ce2
Add some testing for the PathResolver
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
10a0c483a1
Start ripping out lots of infrastructure
...
Much of the infrastructure is old and seems to be based on some assumptions about how Iron handled multipart posts. I don't understand how much of this works, so I'm slowly ripping parts out and rebuilding how the separation of concerns works.
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
0d0cc8c495
Set up the delete route
...
Sets up the delete route, including post-delete redirect back to the root.
Also adds logging.
Delete does not actually delete things yet.
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
f451df3a79
Refactor file and thumbnail serving to common code
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
d0c5e0a59f
Attempt to add etag caching
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
de034d53c1
Render thumbnails
2023-10-03 19:34:03 -04:00
Savanni D'Gerinel
343e8e8817
Update cargo.lock
2023-10-03 19:34:02 -04:00
Savanni D'Gerinel
404ccd1854
Swap from iron to warp and start rebuilding the app
2023-10-03 19:33:00 -04:00
Savanni D'Gerinel
e36657591b
Add orizentic and file-service to the build
2023-10-03 19:32:57 -04:00
Savanni D'Gerinel
7077724e15
Import a questionably refactored version of file-service
2023-10-03 17:59:55 -04:00
Savanni D'Gerinel
4816c9f4cf
Import orizentic
2023-10-03 17:59:55 -04:00
Savanni D'Gerinel
207d099607
nom parsing practice
2023-09-25 22:54:54 +00:00
Savanni D'Gerinel
59061c02ce
dashboard: 0.1.0 --> 0.1.1
2023-09-21 09:44:22 -04:00
Savanni D'Gerinel
3d460e5840
Sleep for only one second if the gtk sender can't be found
...
This probably means that the main app hasn't started yet. Just sleep for one second before retrying.
2023-09-21 09:37:56 -04:00
Savanni D'Gerinel
d6c2a9519b
Overhaul the sgf representation
2023-08-29 23:14:35 -04:00
Savanni D'Gerinel
7805a55322
Added the build scripts for kifu-gtk
2023-08-29 23:12:53 -04:00
Savanni D'Gerinel
1489121877
Get the width of the application back under control
2023-08-25 00:07:29 -04:00
Savanni D'Gerinel
562d4871a1
Create padding within the content view
2023-08-24 22:33:36 -04:00
Savanni D'Gerinel
16c8dcb682
Add a CSS stylesheet
2023-08-24 22:10:05 -04:00
Savanni D'Gerinel
cc828c417a
Change the layout/app_window to an ordinary object with necessary objects
2023-08-24 21:56:03 -04:00
Savanni D'Gerinel
784f3ff7f4
Be able to update the library path in the core
2023-08-24 20:52:27 -04:00
Savanni D'Gerinel
5439e2ac04
Set up a configuration UI
2023-08-24 20:24:41 -04:00
Savanni D'Gerinel
0bf6e079a2
Set up the configuration action
2023-08-23 17:51:51 -04:00