1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-02 16:16:18 +00:00
Commit Graph

9524 Commits

Author SHA1 Message Date
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
Marica Odagaki
7387ca78f8 Sign the CLA as ento (#4222) 2019-11-12 21:41:46 +00:00
Xavier Maysonnave
337135d1bb Signing the CLA (#4367) 2019-11-12 21:17:45 +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
df85281420 Improve docs on installing plugins under Node.js 2019-11-02 13:19:00 +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
Matt Lauber
14e799d36b Add discord to forums tiddler. (#4343) 2019-10-24 10:03:05 +01:00
Matt Lauber
9e9944b76d Correct the jsonstringify documentation (#4344)
The jsonstringify substitution table does not list all substitutions, and it listed `'` as being replaced when it's not.  This updates the table based on the code at https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/utils.js#L537
2019-10-24 10:02:20 +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
donmor
e5985566ce Update Saving on Android.tid (#4316) 2019-10-13 17:43:46 +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
Simon Huber
920f0869c4 Fix: remove cancelPopups from codemirror engine (#4310) 2019-10-12 16:40:51 +01:00
Simon Huber
007fc8239b Add default new tiddler tags mechanism and interface (#4307)
* Update ControlPanel.multids

* Update Basics.tid

* Update new-tiddler.tid

* Update new-journal.tid

* Update new-image.tid

* Update new-here.tid

* Update new-journal-here.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-journal.tid

* Update new-tiddler.tid

* Update new-image.tid

* Update new-here.tid

* Update new-journal-here.tid

* Update Basics.tid

* Update Basics.tid
2019-10-12 16:30:59 +01:00
Simon Huber
ea6113b255 Fix CamelCase AutoFocus in ControlPanel (#4308)
* from AutoFocus to ~AutoFocus

* Update minifocusswitcher.tid

* Update Basics.tid

* Update body-editor.tid
2019-10-12 15:10:24 +01:00
Simon Huber
bfa3ddd077 Add two missing tooltips: add-tag button and add-field button (#4306)
* add tooltip to field add button

* Update EditTemplate.multids

* Update EditTemplate.multids

* add tooltip to tag-picker add button
2019-10-12 14:10:06 +01:00
Simon Huber
d01b781283 Restore previous popup mechanism (no cancelling when focusing inputs) (#4305)
* remove cancelpopups from factory.js

* remove handleFocusEvent from framed engine

* remove cancelPopups from simple engine

* Update popup.js
2019-10-12 14:08:52 +01:00
Simon Huber
66b68f4a58 Allow configuration of default focus field of new tiddlers (#4238)
* add editFocus attribute to edit widget

* add focus condition to title editTemplate

* add focus condition to body-editor editTemplate

* add focus attribute to type editTemplate

* add focus attribute to fields editTemplate

* add focus attribute to tag-picker

* add $:/config/AutoFocus tiddler

... default focus is title

* Update Basics.tid

* Update ControlPanel.multids

* Create minifocusswitcher.tid

* Update minifocusswitcher.tid

* Update Basics.tid

* Update body-editor.tid
2019-10-12 12:04:10 +01:00
Simon Huber
74172b35ce Fix: make tag-picker "add-tag" button more consistent (#4199)
* make tag-picker add-button compliant with enter-actions

... the `$actions$` way throws a filter syntax error in some cases, the `<<add-tag-actions>>` way is more solid

* Update tags.tid

remove tag-picker-actions
2019-10-12 10:01:27 +01:00
Simon Huber
9ed45cfaad Add whitespace trim to SideBarSegments search (#4302) 2019-10-12 09:24:05 +01:00
Jeremy Ruston
d30eacc652 Select widget: fix bug with deselecting entries programmatically
Previously, it was not possible to deselect entries by editing the tiddler $:/generated-list-demo-state used in the final example of the SelectWidget docs
2019-10-11 17:46:30 +01:00
Jeremy Ruston
81f1e6af4e Vertical tabs: remove word break setting
See discussion here: https://groups.google.com/d/msgid/tiddlywiki/467c887e-edf6-4187-9727-bf806fdeb711%40googlegroups.com
2019-10-11 15:34:57 +01:00
Jeremy Ruston
e9211b0eee Allow sidebar tabs to be independently targeted via CSS 2019-10-11 10:57:29 +01:00
Simon Huber
d8fd2f75d6 Two missing whitespace trims for PageControls (#4296)
* add whitespace trim to help button

* add whitespace trim to new markdown button

* Update help.tid
2019-10-07 18:50:30 +01:00
Simon Huber
8efd0ace34 Missing whitespace trim in PageControls (#4293)
* add whitespace trim to advanced search button

* add whitespace trim to new tiddler

* add whitespace trim to new journal

* add whitespace trim to new image

* add whitespace trim to control panel button

* add whitespace trim to tiddler manager button

* add whitespace trim to language button

* add whitespace trim to palette button

* add whitespace trim to theme button

* add whitespace trim to storyview button

* add whitespace trim to timestamp button

* add whitespace trim to encryption button

* add whitespace trim to tag-manager button
2019-10-07 15:13:55 +01:00