Commit Graph
8601 Commits
Author SHA1 Message Date
Jermolene 36509509bc Decrease server polling interval
5 * 1000 millseconds, instead of the default 60 * 1000
2018-10-19 17:25:41 +01:00
Jermolene e83d0fb6f5 Merge branch 'master' into external-tasks 2018-10-19 16:32:53 +01:00
Jermolene 6b03ba9876 Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
Jermolene a65e9a7b42 @joearm's fixes 2018-10-19 16:29:45 +01:00
Jermolene 9b912f6d65 Update socket-erlang example 2018-10-19 10:18:08 +01:00
Jermolene 4b45afc11f Improvements to sample text 2018-10-19 10:17:38 +01:00
Jermolene e714693cfe Preliminary support for length+type+message 2018-10-18 17:15:59 +01:00
Jermolene dffd4e56b5 Bring "Alice in Wonderland" properly into the wiki
We were referencing it in the tw5.com edition, but that makes it harder to use the externalpipesdemo edition independently.
2018-10-18 14:21:59 +01:00
Jermolene a0b3e1a564 Docs improvements 2018-10-17 21:27:46 +01:00
Jermolene 4efd5288d0 Merge branch 'master' into external-tasks 2018-10-14 18:35:11 +01:00
Jermolene a2d3778465 Improve demo 2018-10-14 18:35:07 +01:00
Jermolene f2917c3355 Add support for remote commands
Makes it possible to invoke any of TW5's Node.js commands from the browser. Useful for the new pipe command, but also handy for e.g. rendering tiddlers on the server, fetching remote files, or importing local files etc

Docs to come.
2018-10-14 18:34:55 +01:00
Jermolene 4fcbaa2b12 Mimic - don't crash if there's no source text 2018-10-14 18:32:31 +01:00
Jermolene d50e2df57b Syncer: fix problem with incoming tiddlers
The bug here is that incoming tiddlers (ie tiddlers that were updated on the server and synced back to the browser) will retain any fields that are currently present but deleted in the incoming tiddler
2018-10-14 15:35:26 +01:00
Jermolene d29b9c2726 Merge branch 'master' into external-tasks 2018-10-13 17:25:05 +01:00
Jermolene 9c849eb10a WebServer - change /login-basic route to /login/basic
To avoid clashing with tiddlers called "login-basic" :)

We also need to revise the rout for /status for the same reason, but there are backward compatibility issues there
2018-10-13 17:22:21 +01:00
Jermolene 97bb1fa8c9 Rename external tasks to external pipes
And add support for connecting via sockets to existing processers/tasks
2018-10-13 14:50:21 +01:00
Jermolene 2e5035ec2a Merge branch 'master' into external-tasks 2018-10-09 21:31:22 +01:00
Cameron FischerandJeremy Ruston d8007386cf Fix issues with ordering of tagged items (#3301)
* Added better handling for sortByList manual placements

If manual placement specifications show up in an inconvenient order,
sortByList, will go to the trouble of processing them in that order.

* Added tests to confirm solution to (#3296)

...That custom tag ordering will not choke when tiddlers get sorted after their dependencies have been placed around them

* Corrected list-after bug when referencing external titles

* Using more error-proof $tw.utils.hop in sortByList

* minor indentation correction in test-tags.js
2018-10-07 12:15:33 +01:00
BurningTreeCandJeremy Ruston 5dcdff4b37 Fix scrolling with tc-adjust-top-of-scroll (#3467)
not multiplying `offset` with t causes jumps at the first animation steps, where the offset value is bigger than `endY - scrollPosition.y`
2018-10-07 10:23:41 +01:00
Jermolene 240bd7bec4 Docs typo 2018-10-03 21:42:34 +01:00
Jermolene eeb453d471 Docs update 2018-10-02 14:54:46 +01:00
Jermolene f0c6a09ea7 Docs update 2018-10-02 14:19:06 +01:00
Jermolene c208c55a22 Finish web server API docs 2018-10-02 14:16:58 +01:00
Jermolene b292985df3 Initial commit 2018-10-01 19:44:48 +01:00
Jermolene 83a245ed21 Refactor utility for converting tiddlers to JSON 2018-10-01 11:27:45 +01:00
Jermolene 107b0c17c0 Docs update 2018-09-28 18:30:31 +01:00
Jermolene f162f4bc7b Typos missed from a9dd8c2 2018-09-28 18:18:07 +01:00
Jermolene a9dd8c2f52 Use the new import pragma
Good for the core to show best practice
2018-09-28 16:25:54 +01:00
Jermolene d5da7fd57c Docs updates 2018-09-28 16:02:04 +01:00
Jermolene 7022a98d5a Update splash screen example so that the macros work 2018-09-28 16:01:50 +01:00
Jermolene fe85845c3c Add new "\import" pragma 2018-09-28 16:01:32 +01:00
Jermolene f61a61c060 Improvements to splash screen documentation 2018-09-27 11:51:44 +01:00
Jermolene 86f2de0dda Fix typo in example splash screen
Missed off cfb2d7c
2018-09-27 10:11:54 +01:00
Jermolene cfb2d7c9c8 Add support for splash screens during loading
Fixes #3417

Addresses some of the requirements discussed in #2254
2018-09-27 09:47:55 +01:00
Jermolene 806df86434 Move the system tag documentation into individual tiddlers 2018-09-26 18:24:08 +01:00
Jermolene 7282bf4721 Fix search result count
It's been broken since 097c87f
2018-09-26 16:20:13 +01:00
Jermolene 287a83c1cc Dynaview: Fix parameter name typo 2018-09-26 15:23:49 +01:00
Jermolene b776f9fe90 Remove version history of TiddlyDesktop
It's hard to keep the listing up to date (see https://github.com/Jermolene/TiddlyDesktop/issues/161), and so it's better to just point users at GitHub
2018-09-24 09:26:40 +01:00
Jermolene 7368cc74e1 Remove inadvertant usage of Object.assign
In order to retain compatibiltiy with IE11

See this discussion: https://groups.google.com/d/topic/tiddlywiki/RjA7_mee5oc/discussion
2018-09-21 10:56:01 +01:00
Jermolene f98b4d5956 Add more logging for drop operations 2018-09-13 20:42:35 +01:00
Jermolene e4e7a0912d Revert "Fix tag macro problems with bad characters in title/tags (#3435)"
This reverts commit b76c5011cf.

Thanks @pmario @BurningTreeC, let's redo this.
2018-09-12 08:42:56 +01:00
Jermolene d650784dd6 Fix typo in keyboard shortcuts UI 2018-09-11 16:06:29 +01:00
BurningTreeCandJeremy Ruston b76c5011cf Fix tag macro problems with bad characters in title/tags (#3435)
this fixes the tag macros when titles are used that contain quotes, especially triple quotes and more
2018-09-11 16:05:39 +01:00
Jermolene e5550b91e6 Further TOC fixes
Continuing the work of 587fe9d10e

Fixes the test case in @BurningTreeC's comment: https://github.com/Jermolene/TiddlyWiki5/commit/587fe9d10eaa1e837da02f3d8c5f885acef9da10#commitcomment-30450611
2018-09-11 13:02:28 +01:00
Jermolene 587fe9d10e Fix TOC macro with titles ending with double quotes
By almost entirely eliminating text subsitution, we can avoid the situations where special characters in tags or titles gets the macro confused.

These are quite intricate changes, and so I'd appreciate any help reviewing and testing, many thanks.

Fixes #3427
2018-09-10 12:56:38 +01:00
Jermolene 874318091e Fix crash with illegal arguments to decodeuri(component)
Fixes #3428
2018-09-09 20:48:53 +01:00
Jermolene f9eed0dc87 Docs about using the web server with external JS 2018-09-05 09:10:42 +01:00
Jermolene f2a38960fc Fix external JS template to work with the TW5 webserver
It's a bit gross that we have to change the filename used to reference the JS file. This is to make it work with the webserver.

At the moment, the webserver exposes system tiddlers as plain text renderings, and ordinary tiddlers as full HTML renderings through a view template. So we have to use a system tiddler title for the JS file.

The workaround I'm thinking of is to remove the blanket exposure of system tiddlers, and instead have a list of system tiddlers that are specifically exposed through a namespace like `127.0.0.1:8080\lib\tiddlywiki.js`. That can't clash with a tiddler title because tiddler titles are URI encoded and so can't contain slashes.
2018-09-05 08:57:29 +01:00
Jeremy RustonandGitHub 3d10a35fb7 Add support for externalising TW's JavaScript (#3423)
* Explore externalising TiddlyWiki's JS core into a separate file

* Fix missing newline after copyright notice

* Add an error alert if tiddlywiki.js can't be loaded
2018-09-05 08:44:27 +01:00