1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 07:06:19 +00:00
Commit Graph

9241 Commits

Author SHA1 Message Date
Jermolene
b5482d8dba Remove extraneous console.log
I’ve leaving the one at line 91 because it might be useful for field
debugging…
2017-02-11 12:59:18 +00:00
Jermolene
3708f6c8e4 Major refactoring of filesystemadaptor
The code here had got a bit broken by some PRs that I should have
checked more carefully. I’ve done a major refactoring which will
hopefully make it easier to understand, and fixes a number of problems:

* Problem with eg .md tiddlers not being deleted correctly
* Problem with Windows path separators not being usable within
$:/config/FileSystemPaths on Windows
* Problem with filename clashes not being detected correctly when
saving to a different directory via $:/config/FileSystemPaths
* Enables slashes within tiddler titles to be mapped into folders
* Enables plain text files like .md and .css to be saved with .meta
files instead of as .tid files (see #2558)
* No longer replaces spaces with underscores

As this is such a major update, I’d be grateful if Node.js users could
give it a careful run through — in particular, you’ll need to try
creating new tiddlers of various types and ensure that the expected
files are created.
2017-02-11 12:56:42 +00:00
Jermolene
1961db6732 Register alternate mime type for Markdown files
macOS considers them to be `text/markdown`, which meant that dragging
an .md file ended up with the wrong content type
2017-02-11 12:48:41 +00:00
Jermolene
36c0af0fd4 Docs: Fix typo in example filter 2017-02-11 12:47:56 +00:00
Jermolene
9e08aed8ad Update release note 2017-02-10 12:45:26 +00:00
Jermolene
075d7d76df SaveTrail: Update readme 2017-02-10 07:33:38 +00:00
Jermolene
3d8249dc7a Savetrails: Download before and after files for destructive modifications 2017-02-09 15:45:39 +00:00
Jermolene
97e995e0c7 Add wiki.checkTiddlerText() convenience method 2017-02-09 15:43:28 +00:00
Jermolene
2397f0aa6f Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
Jermolene
6b2ab90721 Update hook mechanism so that multiple parameters can be passed 2017-02-09 15:42:21 +00:00
Jermolene
73ded6a82a Add new "count" filter operator
See discussion here:
https://groups.google.com/d/msgid/tiddlywiki/fe51b7f5-5369-493b-82e5-94c
18e863fe0%40googlegroups.com?utm_medium=email&utm_source=footer
2017-02-08 20:11:44 +00:00
Jermolene
9bc523fdef Fix bug in renameTiddler
This operation isn’t used by the core, but is used by the TextSlicer
plugin
2017-02-08 20:04:36 +00:00
Jermolene
f4a015f120 Upgrade to latest version of xmldom 2017-02-07 18:20:30 +00:00
Jermolene
d9fd722e50 Text-slicer: Improve image support
Previously we only worked with base64 data URI images; now we work with
relative URLs as well.
2017-02-07 11:05:08 +00:00
Jermolene
112a8d95c5 Docs: Switch "Mailing List" to "Forum"
Fixes #2761
2017-02-07 11:03:39 +00:00
Jermolene
ef1c47c3aa Fix accidental wikilinking 2017-02-05 19:58:58 +00:00
Jermolene
6282fe43af Docs capitalisation consistency
Thanks @twMat
2017-02-05 13:34:37 +00:00
Jermolene
db056a84a5 Remove obsolete code 2017-02-04 18:14:20 +00:00
Jermolene
a14b8a94df Fix JSON format for bc61f7eebf
Otherwise the JSON files cannot be imported back into TiddlyWiki
2017-02-04 18:08:47 +00:00
twMat
e20682dcfd Update title to "How to Add a New Tab to the Sidebar" (#2754)
Only title modified, from lowercase to uppercase letters.
2017-02-04 18:06:17 +00:00
Jermolene
bc61f7eebf Introduce savetrail plugin
See the readme:

“This plugin causes TiddlyWiki to continuously save the contents of
each tiddler that is changed as a JSON file. Configured correctly, the
browser will download the files silently in the background, and they
can be used as a backup in case of accidental data loss.”

Inspired by @telmiger’s comment (3) here:
https://github.com/Jermolene/TiddlyWiki5/issues/2741#issuecomment-276128
871
2017-02-04 17:37:31 +00:00
Jermolene
6c65aa2a6d Make the syncer more configurable, including names for sync adaptors
@danielo515 you may want to add a name to your sync adaptor 😄
2017-02-04 17:25:30 +00:00
Jermolene
ced9f315a1 Rename variable for clarity
It’s called an iterator in filter.js
2017-02-04 17:24:25 +00:00
Jermolene
1563f207b3 Tweaks to #2753
@twMat I felt that the “see below” part was a bit clumsy, as it jumps
quite a long way down, past three embedded videos.
2017-02-04 16:22:25 +00:00
twMat
9a01e9ab71 Update doc on how to submit PR's. (#2753)
Added note to clarify difference between submitting doc improvements and code improvements.
2017-02-04 16:18:48 +00:00
Bram Chen
3527379468 Update chinese translations for "saving" related settings (#2751) 2017-02-03 18:13:04 +00:00
Xavier Cazin
abb9f262c3 fr-FR for saver-related settings and the predefined StoryList filter (#2742)
* fr-FR translation of additional error strings

* a slightly better fr-FR translation for the Site Subtitle

* fr-FR translation for the "print page" button

* fr-FR translation for Tiddler Info Panel-related strings

* fr-FR translation for Timestamp activation strings

* fr-FR translation for TiddlerManager related strings

* fr-FR translation for an additional string related to system tiddlers

* add group-sort fields to fr-FR Types

* fixes to the fr-FR Tiddler Manager translations

* fixes fr-FR translation for timestamp-related strings

* fr-FR translation of the tiddler renaming strings

* fr-FR translation of what is the StoryList filter

* fr-FR translations for new saver-related settings
2017-01-30 21:37:45 +00:00
Jermolene
b5059c612a Adds support for autosave with the download saver
Also does some reorganisation of control panel to move “saving” related
settings together, and expose a UI for savers to plug into.

Fixes #2741
2017-01-30 18:19:28 +00:00
Jermolene
56b6781715 Fixes to license visibility
Credits to @cdent - is 2012 right, or did your work there carry on into
2013?

Addresses part of #2378
2017-01-29 21:11:30 +00:00
Jermolene
4bf626d741 As noted by @twMat over on the [mailing
list](https://groups.google.com/d/msgid/tiddlywikidev/8571ba0d-da8e-449a
-bad2-a21e3f2587aa%40googlegroups.com), GitHub has stopped recognising
TiddlyWiki’s license file — see
https://help.github.com/articles/adding-a-license-to-a-repository/.
This commit is intended to fix that
2017-01-27 22:10:18 +00:00
Duarte Ramos
8dc971a11e Pt pt translation improvements (#2719)
* Update "Open" Tab Sidebar Caption

Fix wrong translation for the "Open" tab in the page sidebar tabs

* Update SideBar.multids

* Wrong date format

Remove suffixes from dates, we don't really use any in Portuguese, and the way they were presented was currently wrong
2017-01-19 12:37:55 -07:00
dedioste
f914f0a6a2 Fix Date format for date display date in "recent" tabs (#2717)
Moved from GG MM AAAA to DD MM YYYY to ensure that the date is correctly displayed in the "Recent" tab
2017-01-19 09:00:58 -07:00
dedioste
0b14a0c24e CLA Signature for @dedioste (#2718) 2017-01-19 09:00:14 -07:00
twMat
3e40403d11 VarsWidget doc - erroneous example (#2714) 2017-01-17 08:20:06 -07:00
Tobias Beer
1b339e17bc Add "tag" attribute to keyboard widget (#2593)
* allows to define the tag for keyboard widget

* added from 5.1.14 to docs
2017-01-13 11:17:19 -07:00
Marxsal
2b90d0ab96 Doc: Community Resources: TiddlyServer (#2708) 2017-01-13 11:00:06 -07:00
Thomas Elmiger
d632e47ffe Added missing tag "Resources" (Community Resource) (#2707)
* Replacement icon stopwatch on

As discussed in issue #2690

* Replacement icon stopwatch off

As discussed in issue #2690

* Added missing tag "Resources" (Community Resource)
2017-01-13 10:59:38 -07:00
Jermolene
0e37e0cd78 Fix typo 2017-01-13 08:17:31 -07:00
Jeremy Ruston
190d4881bf Remove accented character from filename
@Marxsal just a fyi there are a lot of problems on some platform combinations with accented characters in filenames.
2017-01-13 08:17:03 -07:00
Saul D Beniquez
c3833d0232 Update cla-individual.md (#2704)
For [PR69](https://github.com/Jermolene/TiddlyWiki5/pull/2691)
2017-01-10 18:41:25 +00:00
Rizwan
ac3b67b819 Signing the CLA, Riz (#2705) 2017-01-10 18:18:16 +00:00
Jermolene
dbcda815fa Add tight-heavier theme that combines "tight" and "heavier" 2017-01-09 12:46:20 +00:00
Jermolene
74bdbb9be8 Readme updates 2017-01-09 12:46:20 +00:00
Marxsal
b152d0a727 Doc: How to concatenate text and variables (#2676)
* How to concatenate text and variables

* Adding warnings around anti-example code
2017-01-09 12:39:50 +00:00
Marxsal
00669e87da Docs: Community Resources: Noteself,Slides and Stories, TKN (#2685)
* Docs: Community Resources: Noteself,Slides and Stories, TKN

* Doc: Community Resource: Cardo

* Tweaks to community resources

* removing unnecessary new lines

* Removed spacing around question marks.

* Noteself. Removing one more space. Picked a bad day not to wear glasses.
2017-01-09 12:32:56 +00:00
Tobias Beer
d4db283d61 Refresh simple editor when empty text, e.g. hitting ENTER (#2702)
fixes #2592, missing bit of deleting the field for adding a new tag in
edit-mode

also fix for:
https://groups.google.com/forum/?fromgroups=#!topic/tiddlywiki/L6Z7gSvBWjw
2017-01-09 10:31:40 +00:00
Daniel Rodríguez Rivero
2f21cbc971 Updated tabs macro documentation (#2697)
Adding how to deal with transclusions inside the tabs itself. It is not weird that you want use tabs on a set of tiddlers that transclude other tiddlers using their own title. If you don't understand well the consequences of of what the sentence `currentTiddler variable is not affected...` this can be quite frustrating.
2017-01-04 21:40:11 +00:00
Marxsal
18280249f4 Doc: How to turn off camel case (#2687)
* Doc: How to turn off camel case

* Changed title. Added tag.
2017-01-03 18:07:48 +00:00
Jermolene
da6149cdde Include word "unique" in description of "each Operator"
Fixes #2689
2017-01-03 18:01:56 +00:00
Sylvain Comte
c16f96626e Update to latest version of google analytics code (#2671)
* trying to implement new googleanalytics tracker

* trying to put new google tracker. Not working...

* more dev options for testing

still don"t understand wants goes wrong

* New version. Seems to work

* achieved update for new tests
brought back tiddlywiki.com settings value
created a settings tab to make it easier

* adding settings to plugin

add a settings tab to plugin to make it easier to use and see which GA account is in use

* fixes bug with GA_ACCOUNT and GA_DOMAIN tiddlers containing newlines at their end, preventing plugins to work

* soft rebase on jermolene's master

* revert to oldest version of GA_account and GA_domain tiddlers - had been overwritten by ones with a new line at the end

* Integrates some @tobibeer comments

* googleanalytics.js : removed "rebranding", var declaration and console log. Did not manage to get a non-minified version of Google script. But as far as I can see, jermolene's original plugin did same way
* plugin.info : placed "readme" first
* readme : back to previous "legacy" version. No more mention to temporary fork. Added mention and link to google official code.

* signed CLA
2017-01-03 15:43:05 +00:00