1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-30 09:13:16 +00:00
TiddlyWiki5/core/modules
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
..
commands Add new deletetiddlers command 2019-05-30 16:54:57 +01:00
editor Fix bug where edit widget input-tag is empty (#4088) 2019-07-30 13:49:05 +01:00
filters Add support for anchored searches 2019-07-31 21:36:12 +01:00
indexers Fix for index ordering issue 2019-07-28 16:39:34 +01:00
info Add $:/info/browser/language to the info mechanism 2019-03-07 18:42:49 +00:00
macros Refactor the dumpvariables macro as wikitext 2019-03-30 10:52:49 +00:00
parsers Add new "\import" pragma 2018-09-28 16:01:32 +01:00
savers Add GitLab saver, apply common lingo to Git savers (#3931) 2019-07-31 21:38:52 +01:00
server Fix bug with not definded variable (#4049) 2019-07-02 15:40:07 +01:00
startup Allow tm-open-window to specify a page title 2019-07-04 15:59:34 +01:00
storyviews Pop storyview: animation - don't x-overflow page (#3857) 2019-06-26 11:50:52 +01:00
upgraders Don't allow $:/Import tiddler to be imported 2019-03-01 17:39:42 +00:00
utils Fix: store noStateReference in popup.js (#4115) 2019-07-26 17:13:53 +01:00
widgets Fix beyboard widget empty parameters (#4094) 2019-07-30 13:47:56 +01:00
commander.js Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Add support for JSON files containing a single tiddler 2017-03-17 14:19:43 +00:00
filters.js Add support for = prefix for filter runs that doesn't remove duplicates 2019-06-10 17:54:20 +01:00
keyboard.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Add experimental support for RTL languages 2016-08-15 19:47:26 +01:00
saver-handler.js SaverHandler: Don't generate file if autosave disabled 2019-03-05 15:43:14 +00:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
tiddler.js Ensure tiddler.getFieldStringBlock uses a deterministic ordering 2019-04-14 14:23:49 +01:00
wiki-bulkops.js Fix unnecessary "list" field creation when renaming tiddlers 2019-07-30 17:10:53 +01:00
wiki.js Add support for anchored searches 2019-07-31 21:36:12 +01:00