Jeremy Ruston
ffc30b1872
Remove savetrail plugin from prerelease
...
It doesn't yet work with the new syncer
2019-12-06 15:25:06 +00:00
Jeremy Ruston
c6e402127f
Introduce _is_skinny field for indicating that a tiddler is subject to lazy loading
2019-12-06 15:24:43 +00:00
Jeremy Ruston
209cc2c995
Lazy loading: include skinny versions of lazily loaded tiddlers in the index.html
2019-12-05 16:50:12 +00:00
Jeremy Ruston
ae12ce5cbf
Avoid repeatedly polling for changes
...
Instead we only trigger a timeout call at if there is a pending task (ie a tiddler that has changed but isn't yet old enough to save).
2019-11-29 16:46:35 +00:00
Jeremy Ruston
24376d7e53
We still need to trigger a timeout when there was no task to process
2019-11-29 16:12:04 +00:00
Jeremy Ruston
4cff716b59
Guard against missing adaptor info
2019-11-29 16:05:58 +00:00
Jeremy Ruston
3b10f9ed84
Restore deleting local tiddlers removed from the server
...
(I had commented it out for some testing and accidentally commited it).
2019-11-29 16:05:35 +00:00
Jeremy Ruston
e0ed121776
Only trigger a sync for changes to tiddlers we're interested in
...
Otherwise it is triggered by the creation of the alert tiddlers used to display errors.
2019-11-26 13:14:18 +00:00
Jeremy Ruston
8414b67e85
Merge branch 'master' into fix-syncer
2019-11-25 11:19:16 +00:00
Jeremy Ruston
18f5333e01
Optimised SVG icons
2019-11-22 12:21:54 +00:00
Jeremy Ruston
d785a605e4
Add script to optimise SVGs
...
Fixes #4379 . Optimised SVGs in the next commit
2019-11-22 12:21:03 +00:00
Jeremy Ruston
668ca00a88
Avoid setting an explicit colour in the new-journal-button icon
...
This change means that the colour for the date on the new journal button icon will change according to the current colour palette, and simplifies things for #4379
2019-11-22 12:08:53 +00:00
Jeremy Ruston
e2b4ef7f06
Don't transition the dirty indicator container colour, just the SVG's colour
2019-11-21 11:32:46 +00:00
Jeremy Ruston
174a36cda6
Make the single window template compatible with the page template
...
The tv-* variables were missing, making toolbar buttons appear incorrectly. There was also no tc-page-container class.
Fixes #4372
2019-11-20 18:01:06 +00:00
Jeremy Ruston
711ea5f905
Merge branch 'master' into fix-syncer
2019-11-20 17:41:25 +00:00
Jeremy Ruston
54fc932740
Fix wiki referenced by navigator widget's rename tiddler handler
2019-11-20 17:38:59 +00:00
Jeremy Ruston
a65cfe98d5
Slight optimisation of $tw.utils.addClass()
2019-11-20 17:38:28 +00:00
Jeremy Ruston
9cff8eb741
Merge branch 'master' of https://Jermolene@github.com/Jermolene/TiddlyWiki5.git
2019-11-20 09:51:27 +00:00
Jeremy Ruston
d2323cb1f4
Add Elixir to languages supported by Highlight plugin
...
Fixes #4378
2019-11-20 09:51:00 +00:00
donmor
7b66df688a
Refactor andtidwiki.js (The saver for Android apps including AndTidWiki, Tiddloid and Tiddloid Lite) ( #4276 )
...
* Create tiddloid.js
* Update andtidwiki.js
* Delete tiddloid.js
* Update andtidwiki.js
* Update andtidwiki.js
* Update andtidwiki.js
* Update andtidwiki.js
* Update andtidwiki.js
* Update andtidwiki.js
2019-11-20 09:45:42 +00:00
Jeremy Ruston
94a96846b9
Refactor syncadaptor creation and logging
...
The goal is for the syncadaptor to be able to log to the same logger as the syncer, so that the "copy syncer logs to clipboard" data is more useful.
2019-11-19 11:15:13 +00:00
Jeremy Ruston
590ee451af
Break the actions from the syncer dropdown into separate tiddlers
...
@pmario I think this makes things a bit easier to follow
2019-11-19 10:38:06 +00:00
Jeremy Ruston
ac619b3d3e
Tweak animation durations
2019-11-19 10:20:54 +00:00
Jeremy Ruston
d0a1b8abdf
Clean up PR diff
2019-11-18 23:07:48 +00:00
Jeremy Ruston
77adee2c46
Further icon, UI and copy text tweaks
...
Move the icons and styles from the core into the TiddlyWeb plugin
2019-11-18 23:06:39 +00:00
Jeremy Ruston
b5c274c5cd
Remove indentation from save-wiki button
...
@pmario the annoying thing is that using `\trim whitespace` trims significant whitespace too, so it means we have to use <$text text=" "/> when we need a space that won't be trimmed. For the moment, I've removed the indentation but will keep thinking about it.
2019-11-18 22:21:19 +00:00
Jeremy Ruston
6c2cf4ea97
Improve animated icon
2019-11-18 22:18:55 +00:00
Jeremy Ruston
d45501b7a0
Add a menu item to copy syncer logs to the clipboard
2019-11-18 13:53:57 +00:00
Jeremy Ruston
cd2e1c7723
Switch between cloud icons according to dirty status
2019-11-18 13:41:52 +00:00
Jeremy Ruston
956312845f
Fix spacing in dropdown menu items
2019-11-18 13:41:22 +00:00
Jeremy Ruston
bd0f788893
Merge branch 'master' into fix-syncer
2019-11-18 13:25:03 +00:00
Jeremy Ruston
8f3da69f81
Correct fix for bug with millisecond 0XXX date format
...
Milliseconds need 3 digits, not 4...
2019-11-18 13:24:47 +00:00
Jeremy Ruston
098849319a
Merge branch 'master' into fix-syncer
2019-11-18 13:22:35 +00:00
Jeremy Ruston
cd8ab13b55
Fix bug with millisecond 0XXX date format
2019-11-18 13:22:10 +00:00
Jeremy Ruston
a3435de93b
Add indentation to the save-wiki button
2019-11-18 12:22:14 +00:00
Jeremy Ruston
21af1551cc
Remove the "Server" control panel tab
...
We don't need it with the enhanced sync dropdown
2019-11-18 11:29:36 +00:00
Jeremy Ruston
5a7d160c66
Replace save-wiki button with popup sync menu
2019-11-18 11:27:11 +00:00
Jeremy Ruston
e37640bf1a
Make sure we update the dirty status even if there isn't a task to perform
2019-11-18 11:26:44 +00:00
Jeremy Ruston
499c5ee398
Synchronise system tiddlers and deletions from the server
...
Fixes two long-standing issues:
* Changes to system tiddlers are not synchronised from the server to the browser
* Deletions of tiddlers on the server are not propagated to browser clients
2019-11-16 21:02:01 +00:00
Jeremy Ruston
c7d3e89d55
Modest optimisations of isDirty() method
2019-11-15 17:55:39 +00:00
Jeremy Ruston
dc938c19f8
Wait for a timeout before trying again after an error
2019-11-15 17:50:03 +00:00
Jeremy Ruston
e93da7baf3
Add throttling of saves
...
Now we refuse to save a tiddler more often than once per second.
2019-11-14 22:49:14 +00:00
Jeremy Ruston
ca94cd3cf7
First commit
2019-11-14 22:04:44 +00:00
Jeremy Ruston
e4eaae14fa
Ensure splash screen isn't shown when JS is disabled
2019-11-14 11:00:07 +00:00
Jeremy Ruston
afb7435a88
Remove "hack-to-give-us-something-to-compare-against"
...
It looked messy in the control panel listing.
2019-11-14 09:23:17 +00:00
Marica Odagaki
613f0b2559
Upgrade to Jasmine 3 ( #4226 )
...
* process.exit() only exist in a node.js environment
* updateInterval has been removed from upstream
From upstream commit:
https://github.com/jasmine/jasmine/commit/b6eb9a4d5e7ea886e3ec1c270930b6098e75efc0
* Update Jasmine to 3.4.0
* Reuse the evalInContext helper
* Fix expected parse result to match the actual result
* 'describe' cannot be nested inside 'it' blocks
Jasmine started to explicitly raise an error in these cases since:
https://github.com/jasmine/jasmine/pull/1411
* Be consistent about how to refer to library files
* Update link to Jasmine's official website
2019-11-12 21:42:38 +00:00
Mario Pietsch
2deed528bc
Remove   from tag pill in edit mode ( #4366 )
...
* remove   from tag pill in edit mode
PR: fix missing space between edittemplate tags #3585 introduced an unbreakable space ...
The ` ` isn't needed and **causes problems**, if users copy&paste the tag text, because the "new" tag in the text input field now contains an space in front of the tag. This space invalidates the tag, so it doesn't function anymore.
see [comment in GG](https://groups.google.com/d/msg/tiddlywiki/RQEyqPQIZSM/uaU7lgJJAAAJ ) .. I also had a problem like this some time ago, which costed me several hours of debugging.
* Update base.tid
* Update tag.tid
2019-11-07 12:39:14 +00:00
Jeremy Ruston
bfbd886a8b
Add "index" attribute to range widget
2019-11-04 18:56:22 +00:00
Jeremy Ruston
7beee4f9ce
Fix comment plugin typo
2019-11-02 12:37:07 +00:00
Jeremy Ruston
16c1cbee29
Comment plugin: Add link to top post
2019-11-02 09:31:36 +00:00