Jeremy Ruston
9ba4556250
Add support for the plugin library
...
We create a system bag to contain each plugin/theme/language. It seems wasteful because it results in lots of bags, but the semantics are exactly right and so it seems like the right approach
2024-04-14 18:41:34 +01:00
Jeremy Ruston
ad528d6b1f
Fix get wiki crash when serving a recipe with no tiddlers in it
...
Fixes #8110
2024-03-27 14:41:03 +00:00
Jeremy Ruston
7a0c43436f
First pass at SSE support
2024-03-25 08:36:42 +00:00
Jeremy Ruston
708e21951f
Fix syncing
2024-03-24 21:15:59 +00:00
Jeremy Ruston
6c9b92400e
GET recipes/name/tiddlers.json should use include_deleted parameter
2024-03-24 18:32:56 +00:00
Jeremy Ruston
a2012dcff8
Typo in comment
2024-03-23 09:54:03 +00:00
Jeremy Ruston
08649dd1eb
More efficient syncing
...
Thank you @PotOfCoffee2Go I ended up taking some of your code from #8101 to get this up and running. There's still some stuff missing (like the tests!) but it gets things moving.
2024-03-23 09:27:54 +00:00
Jeremy Ruston
3aa5607a3a
Stop storing bag and revision details as tiddler fields
...
Instead we store them as dictionary tiddlers
2024-03-20 19:22:12 +00:00
Jeremy Ruston
eaebeb87c9
Include bagname in tiddler Etags
2024-03-20 18:52:54 +00:00
Jeremy Ruston
60e6c8bcb2
Fix etag handling
2024-03-20 17:56:47 +00:00
Jeremy Ruston
6154de0d2c
Rename misnamed route
2024-03-20 15:53:49 +00:00
Jeremy Ruston
ae8ef305fa
Get rid of those annoying missing image icons
...
By adding a `?fallback=url` parameter to tiddler requests
2024-03-20 15:40:38 +00:00
Jeremy Ruston
9b3ca525ee
Introduce multiwikiclient plugin
...
Routes are now rationalised, too.
2024-03-20 15:13:50 +00:00
Jeremy Ruston
6063256439
Create new static index route with ability to create/update bags and recipes
...
Also introduces a new /.system/filename route for stylesheets, scripts etc.
2024-03-20 09:44:52 +00:00
Jeremy Ruston
259b3dca1b
Add a new static index route
2024-03-18 22:26:24 +00:00
Jeremy Ruston
f606e33415
Stop using the existing core server infrastructure
...
Too much of a constraint now that we're starting work on client-server sync
2024-03-18 08:44:45 +00:00
Jeremy Ruston
09de91940e
Typo
2024-03-17 19:30:22 +00:00
Jeremy Ruston
3d485f0706
Expose tiddler_ids in bag and recipe listings
2024-03-17 16:34:45 +00:00
Jeremy Ruston
faa4b9700a
More consistent variable naming
2024-03-17 14:54:06 +00:00
Jeremy Ruston
d518675e03
Get rid of some console.logs
2024-03-15 16:49:24 +00:00
Jeremy Ruston
f67573315e
POST /wiki/:bag_name/bags/:bag_name/tiddlers/ should also return JSON
2024-03-15 16:39:59 +00:00
Jeremy Ruston
9df625c44d
Reorganise JS modules into subdirectories
2024-03-11 09:10:01 +00:00
Jeremy Ruston
0f5dfb89ad
Refactor multipart form handling for more reusability
2024-03-10 20:20:06 +00:00