Commit graph

33 commits

Author SHA1 Message Date
Lucien Greathouse
9af6c9cfd9 test /read API for empty project 2018-06-06 00:07:20 -07:00
Lucien Greathouse
565bed2b9d Change /read to use a list of IDs instead of POSTing JSON 2018-06-05 23:43:10 -07:00
Lucien Greathouse
c85e5c8a78 Wrangle lifetimes and implement empty read_all test 2018-06-05 23:36:50 -07:00
Lucien Greathouse
9e0e12358c Implement integration tests for web API 2018-06-05 00:55:46 -07:00
Lucien Greathouse
473edad399 Convert most web code to use Project where possible 2018-06-05 00:22:54 -07:00
Lucien Greathouse
8cd7d990e0 Iterative progress
* Cleaned up MessageSession code a little bit, it's still pretty
  suboptimal
* Added stub `tests` folder
* Renamed rojo_core to librojo
2018-06-04 23:10:42 -07:00
Lucien Greathouse
1dc69d81dc Move API to /api, in preparation for web interface in / 2018-06-04 22:09:51 -07:00
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
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
e4f35b29bd Deletion, wrangling parents a little bit 2018-05-26 02:28:34 -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
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
81d232fac5 Move all web pieces into WebConfig 2018-04-13 00:21:44 -07:00
Lucien Greathouse
e9bc66e5e3 Strip mostly vestigial --verbose flag 2018-04-12 22:37:36 -07:00
Lucien Greathouse
a5c0cfb12b Clean up web utilities 2018-04-12 22:17:41 -07:00
Lucien Greathouse
203b9e1fb6 Remove VFS references from web 2018-04-05 17:11:36 -07:00
Lucien Greathouse
1d84c8013e Remove web dependency on VfsSession and friends, use Instant for timing instead 2018-04-05 13:13:04 -07:00
Lucien Greathouse
ee1505646e Strip out web endpoints that are going to be replaced 2018-04-05 12:08:21 -07:00
Lucien Greathouse
86d6cc5259 Factor out general web utilities to web_util 2018-04-05 12:06:04 -07:00
Lucien Greathouse
95d7c61921 Rename 'Plugin' to 'Middleware' across the server code 2018-04-04 16:26:08 -07:00
Lucien Greathouse
6fa925a402
Merge plugin back into main repository (#49) 2018-04-01 23:22:04 -07:00
Renamed from src/web.rs (Browse further)