1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-06 04:03:16 +00:00
Commit Graph

9332 Commits

Author SHA1 Message Date
Jeremy Ruston
5a5c967a39 Add support for $:/tags/Macro/View macros that are only visible within view templates 2020-01-03 10:40:11 +00:00
Jeremy Ruston
136dbf1a60 Fix bug with importvariables and empty set widgets
A self-closing set widget doesn't have a "children" property.
2020-01-03 10:39:37 +00:00
Jeremy Ruston
dd62efd459 Updated Portuguese Translation
See https://groups.google.com/d/msg/tiddlywiki/esj5IB935oo/xS-F9n5FBAAJ
2019-12-22 12:37:30 +00:00
Mario Pietsch
3aa5198c3e Update tests (#4392)
add 3 new tiddlers, add 1 "enlist" test, fix all tests that failed, because 3 new tiddlers where added. stopped ESLint to complain about global vars, fix some mixed-tab-space indent typos.
2019-12-19 13:38:09 +00:00
Jeremy Ruston
144ec28552 Update class settings in edit template to match view template
@pmario this adds the tc-tagged- classes to the edit template, do you think that's useful?
2019-12-17 12:01:59 +00:00
Jeremy Ruston
015306dfc9 Remove extraneous paths from line-width and list icons
Fixes #4369 and #4368
2019-11-25 12:15:24 +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
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
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
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
cd8ab13b55 Fix bug with millisecond 0XXX date format 2019-11-18 13:22:10 +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:
b6eb9a4d5e

* 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 &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
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
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
6fa3e21116 Replace '<<...>>' with a macrocall widget (#4346)
... because there is another macrocall inside.

This was introduced by the commit 'Fix sizes of SVG icons in documentation' (SHA: 9395d75671) where this probably slipped through in a regular expression replacement session.

I searched through the codebase and the other replacements of this type are ok.
2019-10-24 09:15:52 +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
Jeremy Ruston
46c90af308 2nd attempt to fix overflowing content in vertical tabs
Previously we'd tried to fix it with word-break: break-word, but that broke other things (see 81f1e6af4e). This overflow: auto approach appears to be best practice.
2019-10-20 10:45:27 +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
Mario Pietsch
6ca1e90659 Fix #4327 table formatting problem introduced with normalize css 8.0.1 (#4328) 2019-10-18 11:01:10 +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
00974be82d Update release note 2019-10-14 13:19:40 +01:00
Jeremy Ruston
ac66d863aa Simplify GitHub fork ribbon plugin metadata 2019-10-14 13:19:27 +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
Bram Chen
03e98d1d62 Update chinese translations (#4317)
* Add chinese translations for default new-tiddler and new-journal tags mechanism

* Add chinese translations for tooltips of add-tag button and add-field button
2019-10-14 09:33:44 +01:00
Mario Pietsch
4d3916b063 Update normalze.css from 3.0.0 to 8.0.1 (#4208) 2019-10-14 09:23:12 +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
Jeremy Ruston
9395d75671 Fix sizes of SVG icons in documentation
Fixes #4153
2019-10-13 15:35:36 +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
Simon Huber
f0779b58ac Revert "Add default new tiddler tags mechanism and interface (#4307)" (#4312)
This reverts commit 007fc8239b.
2019-10-13 10:19:07 +01:00