TiddlyWiki5/core/modules/savers
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
..
andtidwiki.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
beaker.js Add write condition for DAT protocol (#3244) 2018-05-02 15:57:47 +01:00
download.js Apply URL decoding in download saver 2017-07-01 12:39:25 +01:00
fsosaver.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
github.js Add GitLab saver, apply common lingo to Git savers (#3931) 2019-07-31 21:38:52 +01:00
gitlab.js Add GitLab saver, apply common lingo to Git savers (#3931) 2019-07-31 21:38:52 +01:00
manualdownload.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
msdownload.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
put.js Fix coding standards for put.js 2018-06-13 15:50:47 +01:00
tiddlyfox.js TiddlyFox saver canSave() should always return true (#2626) 2016-12-17 15:27:25 +00:00
tiddlyie.js Ensure that savers invoke the callback 2014-08-27 09:59:01 +01:00
twedit.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00
upload.js Add localisable strings for error (#2447) 2016-05-17 21:58:47 +01:00