Commit graph

67 commits

Author SHA1 Message Date
Lucien Greathouse
554ae42f7b Factor out web logic into dedicated struct to ease testing 2018-06-02 19:28:44 -07:00
Lucien Greathouse
516246c56a Extract out RbxTree; more robust tree implementation 2018-05-31 00:35:18 -07:00
Lucien Greathouse
ee108e414f Track both parent and children on instances 2018-05-31 00:24:27 -07:00
Lucien Greathouse
1137584cd3 Switch from 'parent' property to 'children' property for tracking instances 2018-05-30 23:34:45 -07:00
Lucien Greathouse
313e617181 Add (broken) implementation of /read endpoint 2018-05-30 23:14:14 -07:00
Lucien Greathouse
bf7c0cb32d Modernize web_util 2018-05-30 22:58:18 -07:00
Lucien Greathouse
068aa513a0 Remove json_response in favor of Response::json, which now works in Rouille 2.x 2018-05-30 22:52:27 -07:00
Lucien Greathouse
5eaa5b7950 Implement stub 'read' echo API 2018-05-30 22:48:38 -07:00
Lucien Greathouse
0d25e1c196 Move partition info into root endpoint 2018-05-30 22:44:06 -07:00
Lucien Greathouse
8df0565e0e Send partition information in read_all endpoint 2018-05-30 22:37:49 -07:00
Lucien Greathouse
bf6766919e Track what needs to be done in-source 2018-05-26 03:15:39 -07:00
Lucien Greathouse
a30937f009 Handle moving (very sloppily) 2018-05-26 02:32:10 -07:00
Lucien Greathouse
e4f35b29bd Deletion, wrangling parents a little bit 2018-05-26 02:28:34 -07:00
Lucien Greathouse
8729de1312 Basic synchronization of edited objects 2018-05-26 02:06:10 -07:00
Lucien Greathouse
d85383cfd4 Introduce MessageSession, for keeping track of messages to send to clients 2018-05-26 01:11:05 -07:00
Lucien Greathouse
92fa52c56f Implement long-polling message passing 2018-05-26 00:16:27 -07:00
Lucien Greathouse
de02966db6 Implement portion of long-polling message interface, untested 2018-05-18 00:43:12 -07:00
Lucien Greathouse
9f31b1233f Implement read_all endpoint, pass RbxSession into web process 2018-05-17 01:27:11 -07:00
Lucien Greathouse
59e3881895 Increase port range for random project port generation 2018-05-16 22:25:19 -07:00
Lucien Greathouse
d81ebc927a Make RbxSession track instances by FileRoute 2018-05-16 00:44:46 -07:00
Lucien Greathouse
b301a6512e Naive, untested VFS implementation 2018-05-13 01:05:15 -07:00
Lucien Greathouse
c604ab6b1c Fight borrow checker, incomplete VfsSession write interface 2018-05-12 22:56:16 -07:00
Lucien Greathouse
50b4157c11 Bump up maxed received body size to 100 MB 2018-05-12 15:37:26 -07:00
Lucien Greathouse
7bb148c0e7 Trim web server a bit and re-enable it 2018-05-12 15:35:57 -07:00
Lucien Greathouse
5bf3af57ab Bump protocol to version 2 2018-05-12 15:27:32 -07:00
Lucien Greathouse
5acbc9f967 Orchestrate communication between RbxSession and VfsSession 2018-05-12 15:27:20 -07:00
Lucien Greathouse
cb548719b2 Server, no serving! 2018-05-12 14:56:09 -07:00
Lucien Greathouse
664c7fc8e6 Canonicalize paths before letting them continue 2018-05-12 01:26:15 -07:00
Lucien Greathouse
b2f85cd665 Clean up file change tracking since I wrote it when I was sleepy 2018-05-12 01:13:18 -07:00
Lucien Greathouse
64d38a24a0 Tinker with FileRoute 2018-05-09 00:11:22 -07:00
Lucien Greathouse
5a82879115 Tidy up and reorganize things, they're just about in shape 2018-05-09 00:01:44 -07:00
Lucien Greathouse
1785a6cc58 Bump server to 0.5.0, update dependencies 2018-05-08 23:30:22 -07:00
Lucien Greathouse
591b9c5f9a Tinker with concurrency with FsSession 2018-04-23 00:59:47 -07:00
Lucien Greathouse
4b9d75c9c9 Pick random serve port on [10000, 40000) instead of always using 8000 2018-04-22 02:49:40 -07:00
Lucien Greathouse
0c05d2e669 Update dependencies 2018-04-22 02:49:25 -07:00
Lucien Greathouse
df977a1c03 Begin building out file watcher, separate RBX stuff from virtual filesystem 2018-04-22 02:38:54 -07:00
Lucien Greathouse
892378e0da Update message when a project file is missing 2018-04-22 02:37:13 -07:00
Lucien Greathouse
a8588834af Expose RbxSession creation and initialization 2018-04-20 21:33:51 -07:00
Lucien Greathouse
81d232fac5 Move all web pieces into WebConfig 2018-04-13 00:21:44 -07:00
Lucien Greathouse
d0f821add4 Work on instance loading a little bit 2018-04-12 23:49:58 -07:00
Lucien Greathouse
e9bc66e5e3 Strip mostly vestigial --verbose flag 2018-04-12 22:37:36 -07:00
Lucien Greathouse
844b20e7fc Move error messages into fmt::Display impl for Project 2018-04-12 22:35:40 -07:00
Lucien Greathouse
a5c0cfb12b Clean up web utilities 2018-04-12 22:17:41 -07:00
Lucien Greathouse
61fc19e948 Remove old middleware and VFS, since they'll be replaced 2018-04-12 22:15:52 -07:00
Lucien Greathouse
c61445ddaa Factor FileRoute into separate module 2018-04-12 22:14:14 -07:00
Lucien Greathouse
610db157c8 Remove 'core' module 2018-04-12 22:11:38 -07:00
Lucien Greathouse
15ffa86a66 Delete middleware, shuffle around session for future refactor 2018-04-09 00:25:20 -07:00
Lucien Greathouse
9393eec45a Merge branch 'master' into impl-v2 2018-04-07 23:04:18 -07:00
Lucien Greathouse
73c6b5a08c 0.4.4 2018-04-07 22:58:58 -07:00
Lucien Greathouse
6fc497f95e 0.4.3 2018-04-07 22:54:59 -07:00