Commit Graph
3647 Commits
Author SHA1 Message Date
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 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 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 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
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 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 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 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 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
Mario Pietsch 2deed528bc Remove &nbsp from tag pill in edit mode (#4366)
* remove &nbsp from tag pill in edit mode

PR: fix missing space between edittemplate tags #3585 introduced an unbreakable space ...

The `&nbsp` 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 e84c422e50 Range widget: fix refreshing
The range widget wasn't refreshing correctly when the underlying tiddler value changed
2019-11-02 09:31:15 +00:00
Jeremy Ruston 43d18e74d5 Syncer: add hidden setting for disabling lazy loading 2019-10-25 10:02:57 +01:00
Nils-Hero Lindemann e114fed3f9 Replace div with span in colour picker (#4333) 2019-10-20 18:22:22 +01:00
Simon Huber 793d84bcb1 Fix typos in tag-picker (#4336)
... sorry @Jermolene
2019-10-20 18:08:19 +01:00
Simon Huber 423a942a8f Fix newTagNameTiddler being undefined in ControlPanel (#4326)
* fix newTagNameTiddler being undefined in ControlPanel

* Update Basics.tid

* prevent newTagNameTiddler being undefined

* Update Basics.tid

* Update tag-picker.tid

* Update tag-picker.tid
2019-10-20 17:00:08 +01:00
donmor 588af44d4c Scale embedded videos and audios to fit their container (#3943)
* Update videoparser.js

* Update audioparser.js

* Update videoparser.js

* Update audioparser.js
2019-10-19 11:44:18 +01:00
Jeremy Ruston 05a3e1ad36 Add language attribute to HTML tag 2019-10-17 18:07:13 +01:00
Jeremy Ruston 1bf8821bd8 System icon: remove extraneous closing tag 2019-10-17 15:04:00 +01:00
Simon Huber 1cf2d0799d Fix field-name input (#4322) 2019-10-14 14:54:47 +01:00
Simon Huber 3c365a2567 EditTemplate optimizations (#4104)
#4093 and #4100 are bundled in this PR

* qualified state-tiddlers for the tags input and fieldname + fieldvalue inputs
* newTagName, newFieldNameTiddler and newFieldValueTiddler variables defined in EditTemplate (all qualified through `qualify` macro)
* save-tiddler-actions macro in the EditTemplate (reused by the save-tiddler button)
* enter (configurable) in the fieldvalue field adds the field and sets focus to the next fieldname input

Edit:

* storyview="pop" for fields list
2019-10-14 14:31:57 +01:00
Simon Huber 45def4def4 Fix focus in fields editTemplate (#4321)
the focus was set to the wrong field
2019-10-14 13:57:45 +01:00
Simon Huber 7af24d217a Make tags in controlpanel animate (#4320) 2019-10-14 13:57:28 +01:00
Jeremy Ruston 73bb27fd77 Tweak autofocus text in control panel
Also made the trailing punctuation more consistent
2019-10-14 13:19:08 +01:00
Jeremy Ruston 6089c4de29 Extend refresh throttling to tiddlers having a "throttle.refresh" field
See discussion here: https://groups.google.com/d/msgid/tiddlywiki/7738644f-b53f-4fb0-b0df-16243fe51795%40googlegroups.com
2019-10-14 10:42:14 +01:00
Simon Huber daa24a52bd Add default new-tiddler and new-journal tags mechanism and... (#4314)
* Update Basics.tid

* Update ControlPanel.multids

* Update NewJournal.multids

* Create NewJournalTags.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-journal.tid

* Update new-here.tid

* Update new-journal-here.tid
2019-10-13 16:53:52 +01:00
Simon Huber 89728d8a9a Make tag-picker add-tag button more consistent II (#4313)
* Update tag-picker.tid

* Update tags.tid

* Update tag-picker.tid
2019-10-13 16:53:40 +01:00
Simon Huber 4cf96e7339 Revert "Fix: make tag-picker "add-tag" button more consistent (#4199)" (#4311)
This reverts commit 74172b35ce.
2019-10-13 10:19:44 +01:00