Jeremy Ruston
464d17b522
Update last known tiddler ID for events delivered via SSE
2024-03-25 17:43:29 +00:00
Jeremy Ruston
d1bb7159b8
Expose the connection status in the UI
2024-03-25 17:07:36 +00:00
Jeremy Ruston
b58cfe6324
SSE client: better state management to avoid multiple connections
2024-03-25 16:43:41 +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
8198574087
Remove code that is unneeded for the moment
2024-03-24 21:15:31 +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
e66b67dedc
Only turn binary tiddlers into attachments
2024-03-23 09:54:15 +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
52f76380c7
Remove code relating to revision and bag as fields
2024-03-22 17:58:52 +00:00
Jeremy Ruston
1f63bcbbd0
Remove some templates that are no longer needed
2024-03-20 19:24:21 +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
808b94468e
Fix multipart form data POST test
2024-03-20 18:52:37 +00:00
Jeremy Ruston
60e6c8bcb2
Fix etag handling
2024-03-20 17:56:47 +00:00
Jeremy Ruston
891f0fd599
Fix page body class in static pages
...
So that we get the TW background colour
2024-03-20 17:55:50 +00:00
Jeremy Ruston
6154de0d2c
Rename misnamed route
2024-03-20 15:53:49 +00:00
Jeremy Ruston
cae9dbf5d1
Fix colours in static renderings
2024-03-20 15:51:58 +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
1c64646393
Fix quit command to work gracefully
2024-03-19 10:04:32 +00:00
Jeremy Ruston
259b3dca1b
Add a new static index route
2024-03-18 22:26:24 +00:00
Jeremy Ruston
6a673e6aea
Stop syncing state tiddlers to the admin wiki
2024-03-18 21:08:48 +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
7eaa9b8aec
Database methods that mutate tables should return IDs
2024-03-17 15:06:36 +00:00
Jeremy Ruston
faa4b9700a
More consistent variable naming
2024-03-17 14:54:06 +00:00
Jeremy Ruston
dea739ff07
Introduce delete markers for deleted tiddlers
2024-03-17 14:18:47 +00:00
Jeremy Ruston
69cc45bf5c
Refactor the database engine specific code
2024-03-17 13:27:00 +00:00
Jeremy Ruston
347aa4d546
Tests should cover tiddler_ids
2024-03-17 13:07:24 +00:00
Jeremy Ruston
b4855b25c4
Merge branch 'master' into multi-wiki-support
2024-03-16 22:06:02 +00:00
Mario Pietsch
0b6db6e860
Fix indentation for tiddlers that set tv-config-toolbar-class ( #8079 )
...
human readable in preparation to add data-title=<<listItem>>
for better UX defining a "read only" theme
Changes to be committed:
modified: core/ui/EditTemplate/controls.tid
modified: core/ui/PageControls.tid
modified: core/ui/PageControls/more-page-actions.tid
modified: core/ui/ViewTemplate/title.tid
modified: core/ui/ViewToolbar/more-tiddler-actions.tid
modified: plugins/tiddlywiki/menubar/items/pagecontrols.tid
2024-03-16 19:03:36 +00:00
Jeremy Ruston
d518675e03
Get rid of some console.logs
2024-03-15 16:49:24 +00:00
Jeremy Ruston
9b59ae2b73
Add an HTTP test for multipart form data upload
2024-03-15 16:40:22 +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
501f57499e
Update readme
2024-03-14 12:25:11 +00:00
Jeremy Ruston
b923be5e94
Merge branch 'master' into multi-wiki-support
2024-03-13 18:03:35 +00:00
Jeremy Ruston
d6807cb471
Update MWS plugin readme
2024-03-12 17:32:54 +00:00
Jeremy Ruston
a443e5f0ad
Add new command to test local or remote server via HTTP
2024-03-11 21:52:40 +00:00
Jeremy Ruston
8b5c3746f8
Refactor command module filenames
2024-03-11 09:40:40 +00:00
Jeremy Ruston
9df625c44d
Reorganise JS modules into subdirectories
2024-03-11 09:10:01 +00:00
Rob Hoelz
54ff0446c6
MWS: store level tests ( #8021 )
...
* Fix a few typos
The "database instead of store" change isn't a typo fix, per se, but
these tests are testing the lower-level database layer, and I'm about
to introduce some tests for the higher-level store layer, so I want to
avoid any confusion in the test names
* Start on SQL store-level tests
* Add some tests for createBag
* Add test for getBagTiddler and getBagTiddlers
* Add basic recipe tests
* Add a test for saving a tiddler within a recipe
* Add store test for deleteTiddler
2024-03-11 09:01:43 +00:00
Jeremy Ruston
0f5dfb89ad
Refactor multipart form handling for more reusability
2024-03-10 20:20:06 +00:00
Jeremy Ruston
e3b27768d2
Update comment
2024-03-10 20:19:41 +00:00
Jeremy Ruston
e35584843d
Fix mws-save-archive command name
2024-03-10 18:06:26 +00:00
Jeremy Ruston
abde67e5df
MWS: Add support for large tiddlers to be stored as attachment files
...
Fixes #8022
2024-03-10 17:45:33 +00:00
oeyoews
00bd6f8ee8
Remove unnecessary prefix field for highlight plugin ( #8048 )
2024-03-09 15:45:38 +00:00