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

65 Commits

Author SHA1 Message Date
Jeremy Ruston
067e8a9f94 Merge branch 'tiddlywiki-com' 2019-08-09 10:29:46 +01:00
Bimba Laszlo
b5653babdf Add GitLab saver, apply common lingo to Git savers (#3931)
* Transform GitHub saver to work with GitLab as well

You can choose which provider you want to use, the data is given in the
same place.

I tried to avoid code duplication, so service providers' unique
properties are in separate files, the settings of the selected provider
are loaded.

In two fields I am not sure that it fits into the current structure:

* module-type: gitservice
  Which module is a `gitservice` type, it will be listed in the
  drop-down menu.
* default-api-url: https://gitlab.com/api/v4
  The default URL to access the provider's API.

This is just a sketch, not a final version, suggestions for modification
are welcome!

* Rename saver from GitHub to GitService, update docs

* Split GitHub and GitLab to separate savers, apply common lingo

Sadly, it doesn't seem to make much sense to search for common parts in
the code, because there might be a Git service that is very different
from the GitHub API (such as BitBucket). Therefore, I feel that Git
savers are not able to share other than the translations.

I deleted the defaults values from the translations and set it to the
text entry because they should not depend on the translations.

* Add more information about the password field

It is not clear how to create a personal access token, thus added a link
to the help pages. In addition, GitLab only accepts personal access
token, GitHub also accepts the password, so I made this clear.

* Extract commit message to lingo

* Fix indentation

* Use improved base64 encoder

Fix conflict with a06acc4eb8
2019-07-31 21:38:52 +01:00
twMat
6c08fec2ee Update Saving on TiddlySpot.tid (#3960)
Included mention of community created (i.e created by me) "shortcut" to set up new TW5 on TS.
2019-05-31 16:05:35 +01:00
Jermolene
aa5eaa98fc Add a GitHub saver
Fixes #3890

I think it would be useful to have a simple tutorial for setting up saving via GitHub pages.
2019-04-08 21:08:58 +01:00
Jermolene
4f71c9072f Docs: fix typo 2018-12-20 16:30:20 +00:00
Marxsal
16eb5e1e32 Doc: Updated info re free WebDAV hosting (#3017) 2018-11-06 15:35:58 +00:00
Arlen22
68b063ab24 Rename TiddlyWiki in the Sky to TiddlyWiki Cloud (#3398) 2018-08-19 18:23:27 +01:00
snlhnk
c05c0d3df6 Module-ize server routes, add static file support and other enhancements(#2679)
* Module-ize server routes and add static file support (#2510)

* Refactor server routes to modules

New module type: serverroute

Caveats: Loading order is not deterministic but this would only matter
if two route modules attempted to use the same path regexp (that would
be silly).

* Add static assets plugin

This plugin allows the node server to fetch static assets in the /assets
directory. I felt that this was a feature that goes above the core
functionality. That is why I added it as a plugin. with the modular
route extensions this was a breeze.

* Add serverroute description to ModuleTypes

* Coding standards tweaks

* Fix filename typo

* Move support for attachments from a plugin into the core

* Missing "else"

* Refactor server handling

* Introduce a new named parameter scheme for commands
* Move the SimpleServer class into it's own module
* Deprecate the --server command because of the unwieldy syntax
* Add a new --listen command using the new syntax

For example:

tiddlywiki mywiki --listen host:0.0.0.0 port:8090

* Add check for unknown parameters

* Add support for multiple basic authentication credentials in a CSV file

Beware: Passwords are stored in plain text. If that's a problem, use an authenticating proxy and the trusted header authentication approach.

* Refactor module locations

* Rename "serverroute" module type to "route"

* Remove support for verifying optional named command parameters

The idea was to be able to flag unknown parameter names, but requiring a command to pre-specify all the parameter names makes it harder for (say) the listen command to be extensible so that plugins can add new optional parameters that they handle. (This is particularly in the context of work in progress to encapsulate authenticators into their own modules).

* Refactor the two authenticators into separate modules and add support for authorization

* Correct mistaken path.join vs. path.resolve

See https://stackoverflow.com/a/39836259

* Docs for the named command parameters

I'd be grateful if anyone with sufficient Windows experience could confirm that the note about double quotes in "NamedCommandParameters" is correct.

* Be consistent about lower case parameter names

* Do the right thing when we have a username but no password

With a username parameter but no password parameter we'll attribute edits to that username, but not require authentication.

* Remove obsolete code

* Add support for requiring authentication without restricting the username

* Refactor authorization checks

* Return read_only status in /status response

* Fix two code typos

* Add basic support for detecting readonly status and avoiding write errors

We now have syncadaptors returning  readonly status and avoid attempting to write to the server if it's going to fail

* Add readonly-styles

We hide editing-related buttons in read only mode

I've made this part of the tiddlyweb plugin but I think a case could be made for putting it into the core.

* Add custom request header as CSRF mitigation

By default we require the header X-Requested-With to be set to TiddlyWiki. Can be overriden by setting csrfdisable to "yes"

See https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet#Protecting_REST_Services:_Use_of_Custom_Request_Headers

* Add support for HTTPS

* First pass at a route for serving rendered tiddlers

cc @Drakor

* Tweaks to the single tiddler static view

Adding a simple sidebar

* Switch to "dash" separated parameter names

* Typo

* Docs: Update ServerCommand and ListenCommand

* First pass at docs for the new web server stuff

Writing the docs is turning out to be quite an undertaking, much harder than writing the code!

* Get rid of extraneous paragraphs in static renderings

* Rejig anonymous user handling

Now we can support wikis that are read-only for anonymous access, but allow a user to login for read/write access.

* More docs

Slowly getting there...

* Static tiddler rendering: Fix HTML content in page title

* Docs updates

* Fix server command parameter names

Missed off 30ce7ea

* Docs: Missing quotes

* Avoid inadvertent dependency on Node.js > v9.6.0

The listenOptions parameter of the plain HTTP version of CreateServer was only introduced in v9.6.0

cc @Drakor @pmario

* Typo
2018-07-18 16:54:43 +01:00
Jermolene
17e73befde Docs: Update IIS setup instructions
Reference to the wiki folder was incorrect
2018-06-01 10:30:46 +01:00
Jermolene
89f99151b3 Correction to the IIS installation instructions 2018-05-30 18:25:30 +01:00
Jermolene
4fd980debe Docs: TiddlySpot and Ruby saver tweaks 2018-05-14 15:01:38 +01:00
Marxsal
38b24906c1 Docs: Saving via a minimal Ruby server (#3277)
* Saving via a minimal Ruby server

* Small grammatical mistake fix.
2018-05-14 14:56:00 +01:00
Jermolene
c5511854ab Reinstate TiddlySpot docs
Fixes #3269
2018-05-11 21:11:51 +01:00
Jermolene
99d8da9fc4 Update TiddlyWiki in the Sky for Dropbox URL 2018-04-10 13:00:51 +01:00
Jermolene
a8bd22f363 IIS instructions: Add docs link 2018-03-30 10:08:53 +01:00
Jermolene
274bea1258 Docs for running on MS Internet Information Server 2018-03-29 12:51:31 +01:00
Jermolene
1280984e78 Docs: cleanup file locations 2018-03-29 12:51:08 +01:00
Marxsal
2e9f0b29d0 Doc: Saving with TiddlyFox - change wording re latest version (#3019)
* Doc: Saving with TiddlyFox - change wording re latest version
The instructions were recommending the exactly wrong direction.

* List alternate extensions for FF 57+
2018-03-10 14:50:45 +00:00
Mario Pietsch
525e07f259 added new "file-backups" AddOn resource, Added video HowTo's link to WebDav saver info. (#3014) 2017-11-16 16:29:31 +00:00
Marxsal
e64c42e661 Warn to use 'split' , not 'preg_split' (#3013)
Should have warned user to look for 'split' instead of 'preg_split'
I've retained the new tags, etc. that were put in earlier today
by Jeremy.
2017-11-15 17:24:28 +00:00
Jermolene
ca2225b940 Doc: Explains how to fix preg_split error in store.php
Fixes #3011
2017-11-15 16:37:59 +00:00
Jermolene
304eb99d41 Docs updates 2017-11-14 12:31:35 +00:00
Jermolene
021b5e072b Updated GettingStarted material about saving changes 2017-11-13 14:00:01 +00:00
Jermolene
29364cbd08 Change http://*.tiddlywiki.com/* to https:// 2017-11-11 11:56:20 +00:00
cjhunt
5892c4d8bc Update Saving on iPad_iPhone.tid (#2917)
* Update Saving on iPad_iPhone.tid

Changing to reference Quine in place of TWEdit

* Update Saving on iPad_iPhone.tid

Fixing errors....! Thanks!!

* Update Saving on iPad_iPhone.tid

Removed whitespaces....
2017-06-28 18:05:33 +01:00
Jermolene
c97458f0d4 Tweaks to 9ea178e327
Making it clearer that the private browsing problem is fixed in v2.0.2,
and that a prompt is coming.
2017-06-09 16:28:40 +01:00
Marxsal
9ea178e327 Saving with TiddlyFox -- Additional Doc.s for TF 2.0 (#2879) 2017-06-09 16:26:19 +01:00
Marxsal
ed1a7e73cd Update instructions on using a PHP server, directing to a live website. (#2669)
Adding note about increasing maximum upload size.
2016-12-19 22:54:24 +00:00
Jermolene
b2c6c24771 Minor fixes for #2473 2016-07-05 18:06:52 +01:00
Myeongjin
80256b4dab Update document in tiddlywiki.com edition
* Add string '.htm' to 'Saving with TiddlyIE'
* Change external links to match locale with wiki language
* Add instructions for use to 'Saving on Android'
* Change string in 'task'
* Change instructions for use in 'Saving on iPad/iPhone'
* Add newline to 'TiddlyDesktop Releases'
* Remove caption from 'Serving TW5 from Android'
* Change link to external in tiddlers which tagged 'Editions'
* Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki'
* Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community'
* Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community'
* Change string 'done' to 'Upgrade' in 'UpgradeMechanism'
* Change buttons to images in 'How to export tiddlers'
* Add images about buttons to tiddlers
* Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement'
* Rename 'UsingSVG' to 'Using SVG'
* Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG'
* Add tiddler 'Using Stamp'
* Add 'rel="noopener noreferrer"' to external links
* Add description about 'rel="noreferrer"' to 'HTML in WikiText'
* Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language'
* Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library'
* Add download button to 'Empty Edition'
2016-07-06 01:10:51 +09:00
Myeongjin
2edaa5fbce Update tiddlywiki.com edition (#2454)
* Change button texts to latest version

* Move tiddler files to appropriate categorys
2016-05-20 07:46:11 -06:00
Jermolene
aa6326be5c Improve encryption docs 2015-06-07 12:26:11 +01:00
Jermolene
bc6713007f TiddlySpot docs update 2015-04-21 19:29:44 +01:00
Astrid Elocson
e450777b94 Correct reference to the download button 2014-12-23 10:44:18 +00:00
Astrid Elocson
626163df69 Correct reference to the download button 2014-12-23 10:43:54 +00:00
Astrid Elocson
ff11f4c43e Correct reference to the download button 2014-12-23 10:41:50 +00:00
Jermolene
80e67f5028 Docs tweaks 2014-10-24 18:02:34 +01:00
Yaka
47b99d635a some doc updates 2014-10-21 11:07:49 +00:00
Jermolene
23c2d90ee8 Added error handling to upload saver
A further fix for #251
2014-09-27 10:47:31 +01:00
Jermolene
06cc8ed5ef Lots of documentation cleanup 2014-09-19 17:18:25 +01:00
Jermolene
1b0eec143e Refine preliminary list macro
@pmario: I’ve taken your suggestion and made the HTML element type(s)
be macro parameters.
2014-09-17 12:13:24 +01:00
Jermolene
813bd2fe1d More docs updates 2014-09-17 08:36:39 +01:00
Jermolene
65f242f857 More docs mangling 2014-09-12 16:46:59 +01:00
Jermolene
f187122c35 Lots more docs updates 2014-09-12 16:05:37 +01:00
Jermolene
c9f9de3e18 Correct folder 2014-09-10 16:53:43 +01:00
Jermolene
6a508e580d Docs updates 2014-09-07 14:03:38 +01:00
Jermolene
da82ff17da Adjust IE instructions to use a direct link to empty.html
Because large data URIs don’t work in IE
2014-08-28 13:32:15 +01:00
Jermolene
65014a8d6c Docs updates 2014-08-11 23:48:29 +01:00
Jermolene
84928ac99c Docs updates 2014-02-26 20:27:00 +00:00
Jermolene
fca5681a1a Docs updates 2014-01-26 13:04:09 +00:00