Lucien Greathouse
9f947ae2c5
Improve bad Unicode error handling in txt, CSV, and directory handling
2019-10-09 12:55:24 -07:00
Lucien Greathouse
28156bcaf2
Switch SnapshotMiddleware over to SnapshotError
2019-10-09 12:42:08 -07:00
Lucien Greathouse
a14aacbcf9
Improve SnapshotError in preparation for moving middleware to it
2019-10-09 12:39:36 -07:00
boyned//Kampfkarren
321e026e43
Fix failing snapshot ( #256 )
2019-10-09 12:29:33 -07:00
Lucien Greathouse
30351f7b9d
Add support for .meta.json files associated with .txt files
2019-10-08 17:44:23 -07:00
Lucien Greathouse
2393a1a114
Add support for .meta.json files affecting .csv LocalizationTables
2019-10-08 16:48:49 -07:00
Lucien Greathouse
479476561e
Fix errors in 'Sync Details' page
2019-10-08 16:16:06 -07:00
Lucien Greathouse
a02f485040
Add end-to-end build test for Script.Disabled via .meta.json
2019-10-08 16:05:15 -07:00
Lucien Greathouse
2957e8ad73
Make Lua snapshot middleware test sort maps
2019-10-08 16:03:15 -07:00
Lucien Greathouse
f83abe15cb
Add test for ensuring that scripts can be disabled with .meta.json files
2019-10-08 15:46:51 -07:00
Lucien Greathouse
709cba45ce
Remove className from adjacent meta files, which is not supported in 0.5.x
2019-10-08 15:44:47 -07:00
Lucien Greathouse
8a9a72fd50
Refactor .meta.json into AdjacentMetadata type more strongly
2019-10-08 15:42:44 -07:00
Lucien Greathouse
13cb0a27a0
Make .meta.json changes cause scripts to be updated
2019-10-08 15:30:16 -07:00
Lucien Greathouse
fa817e3cdd
Add baseline support for adjacent meta files for scripts
2019-10-08 14:14:44 -07:00
Lucien Greathouse
3bd8549f41
Add ServeSession test for project with folder
2019-10-08 13:57:40 -07:00
Lucien Greathouse
4e47655b17
Refactor MessageQueue API to return a oneshot receiver
2019-10-08 13:49:41 -07:00
Lucien Greathouse
18533d5944
Improve ServeSession test using async and Tokio
2019-10-08 13:26:21 -07:00
Lucien Greathouse
c5839c94ca
Add test-only MessageQueue::subscribe_any.
...
This makes writing tests that do async things easier.
2019-10-08 13:25:34 -07:00
Lucien Greathouse
ffc146ff9b
Add ServeSession test for changing text file
2019-10-07 18:23:39 -07:00
Lucien Greathouse
7b82e3d641
Add TestFetcher for mocking more filesystem operations than NoopFetcher
2019-10-07 18:22:29 -07:00
Lucien Greathouse
ab6cedb659
Move some serve code into serve_session.rs, start writing serve session tests
2019-10-07 16:24:36 -07:00
Lucien Greathouse
e60be94be0
Move patch apply test utility into tree_view module
2019-10-07 16:21:25 -07:00
Lucien Greathouse
f830b024d5
Add ImfsSnapshot::empty_dir() for debugging the Imfs
2019-10-07 16:20:04 -07:00
Lucien Greathouse
98519da7d9
Reintroduce instigating paths for snapshot middleware
2019-10-04 18:36:04 -07:00
Lucien Greathouse
cb3211cf46
Mark project node as instigating source for instances from project
2019-10-04 18:10:45 -07:00
Lucien Greathouse
c051153a1f
Mark project file as instigating source for top-level instances
2019-10-04 18:05:27 -07:00
Lucien Greathouse
956d7e0918
Fix warning in JSON model snapshot test
2019-10-04 17:52:05 -07:00
Lucien Greathouse
530a7aa834
Rename 'contributing paths' to 'relevant paths'
2019-10-04 17:36:26 -07:00
Lucien Greathouse
052ca52cc3
Move instigating source out of contributing paths ( #253 )
...
* Refactor contributing_paths into contributing_sources, deleting project node sources
* Instead of changing contributing_paths, add instigating_source
* Remove InstanceMetadata::project_node
* Stop pushing project path to front of contributing_paths since it doesn't matter now
* Remove accidental UI change for path display
2019-10-04 17:34:05 -07:00
Lucien Greathouse
2025b8a494
Fix patch I missed project_node change
2019-10-04 15:49:12 -07:00
Lucien Greathouse
238233ca81
Stop serializing project_node if it's None
2019-10-04 15:12:34 -07:00
Lucien Greathouse
938c8259c3
Include project node in debug UI
2019-10-04 14:29:02 -07:00
Lucien Greathouse
35df5f25c7
Show metadata in web interface, take one
2019-10-04 14:14:45 -07:00
Lucien Greathouse
cd84fb9fc1
Bring forward 0.5.1 release notes
2019-10-04 13:19:14 -07:00
Lucien Greathouse
8bcf12e317
Update dependencies
2019-10-04 13:18:42 -07:00
Lucien Greathouse
10ed353e0a
Add TODO for JSON model metadata
2019-10-03 18:30:10 -07:00
Lucien Greathouse
72d88200e4
Snapshot tests for JSON models
2019-10-03 18:28:58 -07:00
Lucien Greathouse
6ef832b3a9
Improve documentation for SnapshotProject
2019-10-03 18:25:06 -07:00
Lucien Greathouse
17d91563d5
Port project file tests to use insta
2019-10-03 18:22:20 -07:00
Lucien Greathouse
fb65693627
Propagate metadata in project files correctly
2019-10-03 18:12:52 -07:00
Lucien Greathouse
079fc738ad
plugin: Properly handle removals in patches
2019-10-03 18:12:36 -07:00
Lucien Greathouse
ae0f3b0b02
Assign contributing paths in simple cases for snapshots
2019-10-03 17:34:33 -07:00
Lucien Greathouse
b2c515f2e6
plugin: Prevent HTTP timeout cascading after session stop
2019-10-03 17:28:34 -07:00
Lucien Greathouse
6f1469a551
plugin: Implement patch application, which makes live sync work
2019-10-03 17:13:29 -07:00
Lucien Greathouse
1d441b86d2
plugin: Fix type bindings for instance Parent
2019-10-03 17:13:17 -07:00
Lucien Greathouse
b72e6e54e6
plugin: Add debugging function for InstanceMap state
2019-10-03 17:12:43 -07:00
Lucien Greathouse
1ee679395d
Add 'invariant' function for debugging
2019-10-03 17:12:08 -07:00
Lucien Greathouse
cf62ee5ccb
plugin: Add Id and ParentId to ApiInstance type definitions
2019-10-03 15:54:49 -07:00
Lucien Greathouse
995685adfe
Expose instance ID and parent ID in web API
2019-10-03 15:54:11 -07:00
Lucien Greathouse
f0eb955628
Expose parent from RojoTree instances
2019-10-03 15:53:50 -07:00