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
Cameron Fischer
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
BurningTreeC
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
83a245ed21
Refactor utility for converting tiddlers to JSON
2018-10-01 11:27:45 +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
fe85845c3c
Add new "\import" pragma
2018-09-28 16:01:32 +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
7282bf4721
Fix search result count
...
It's been broken since 097c87f
2018-09-26 16:20:13 +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 b76c5011cf293a3b3045bb14cfacb9e609d1b33a.
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
BurningTreeC
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 587fe9d10eaa1e837da02f3d8c5f885acef9da10
Fixes the test case in @BurningTreeC's comment: 587fe9d10e (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
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 Ruston
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
Jermolene
19f7287a53
Add $:/tags/TiddlerInfoSegment for adding segments to the tiddler info panel
2018-08-30 13:42:51 +01:00
Jermolene
e237d8fa97
Transliterate servername to safe ASCII
...
Fixes #3410
2018-08-24 14:33:31 +01:00
Jermolene
0f7ce7b67f
Refactor navigator widget to use story utility to manipulate the storylist as well as the historylist
2018-08-23 18:31:48 +01:00
Jermolene
3bfa9c6f10
Experimental "persistent draft indicators"
...
Fixes #3409
2018-08-23 18:02:39 +01:00
Jermolene
63ad284784
Fix variable name in PageTemplate
2018-08-23 17:43:34 +01:00
Jermolene
7dbe117bc5
Add username (if set) to the title of draft tiddlers
...
Makes things a bit easier to follow when working in multiuser environments.
@inmysocks, @danielo515, @arlen22, @pmario, @drakor does this make sense for your use cases?
2018-08-23 17:43:06 +01:00
Jermolene
7a6213dcbf
Update code comment for $tw.utils.http
2018-08-23 13:13:49 +01:00
Jermolene
09112ed455
Add support for webp, heic, and heif image formats
...
https://en.wikipedia.org/wiki/WebP
https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format
2018-08-21 11:46:46 +01:00
Jermolene
d96c844264
Use the sitetitle as the default filename for saving
2018-08-20 15:38:57 +01:00
Jermolene
fbaceaa8bd
Don't steal "paste" events from contenteditable elements
...
Fixes pasting with a WYSIWYG editor
2018-08-20 15:26:41 +01:00
Andreas Hahn
fe527b7eaf
Fixed type mismatch ( #3403 )
2018-08-19 18:22:52 +01:00
Jermolene
f218c946f1
Fix usages of is[current] that can be changed to all[current]
...
Fixes #3402
2018-08-18 14:47:35 +01:00
Jermolene
7d0b255a2a
Improve "copy to clipboard" notification text
2018-08-17 09:29:23 +01:00
Jermolene
5a2e87eb09
Extend permalink/permaview to optionally copy URL to the clipboard
...
Fixes #3255
2018-08-16 19:39:18 +01:00
Jermolene
b55a3102be
Fix typo from 8a38685
2018-08-16 16:08:33 +01:00
Jermolene
8a38685de9
Optionally adjust scroll targets to allow for a top menu bar
...
Fixes #3396
2018-08-16 12:07:50 +01:00
Jermolene
763f8afaf2
Add "contains" filter operator for searching list fields
2018-08-15 13:50:07 +01:00
Jermolene
3140ff9e49
Extent tm-full-screen message to support forcing the status
...
Now one can force "enter" or "exit", instead of just toggling the current status
2018-08-14 22:53:53 +01:00
Jermolene
7b9dc7557c
Popup manager enhancements
2018-08-09 19:39:58 +01:00
Jermolene
c87c18be96
Fix tm-new-tiddler overwriting creation fields of existing tiddlers
...
Fixes #3371
2018-08-08 15:08:34 +01:00
Jermolene
097c87fa7b
Modularize the sidebar
...
Fixes #2758
2018-08-02 13:22:21 +01:00
Jermolene
2d231a2e07
Fix typo in reveal widget
...
Introduced in a3a4c28143138ca2bde1b8426c910b5e3d6a7110
2018-07-31 13:30:00 +01:00
Jermolene
4b9bc1b766
Fix crash with malformed hexadecimal HTML entities
...
Fixes #3373
2018-07-28 16:22:38 +01:00
Jermolene
a3a4c28143
Fix bug with reveal widget not refreshing when state tiddler changes
2018-07-20 17:07:48 +01:00
Jermolene
8520c9d8fd
Coding style tweaks for #3346
2018-07-19 21:48:40 +01:00
Evan Balster
be58de8409
Add range operator and documentation ( #3346 )
2018-07-19 21:42:09 +01:00
Jermolene
34e04b7ca6
Minor tweaks for #3362
2018-07-19 21:28:31 +01:00
Arlen22
aa8b2e11bb
Allow all methods and add bodyFormat property to route definition ( #3362 )
...
* Allow all methods and add bodyFormat property to route definition
* Set string as the default bodyFormat
* Only set encoding on string routes
2018-07-19 21:24:57 +01:00
Jermolene
8b787cd806
Add new palette colours from #3360 to other core palettes
2018-07-19 21:19:21 +01:00
Jermolene
1317e13974
Fix issue with #3360
...
See https://github.com/Jermolene/TiddlyWiki5/pull/3360#issuecomment-406400700
2018-07-19 21:18:54 +01:00
Talha Mansoor
e0be9a3d09
Add <select> color setting to the palette ( #3360 )
...
* Add <select> color setting to the palette
* Signing the CLA
2018-07-19 17:25:35 +01:00