1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 18:39:57 +00:00
TiddlyWiki5/core/ui/ControlPanel
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
..
Modals Enhance plugin library search to all fields 2019-02-01 17:26:20 +00:00
Plugins More Plugins - Button: use primary color (#4075) 2019-07-30 13:49:40 +01:00
Saving Add GitLab saver, apply common lingo to Git savers (#3931) 2019-07-31 21:38:52 +01:00
Settings Extend permalink/permaview to optionally copy URL to the clipboard 2018-08-16 19:39:18 +01:00
Toolbars Allow drag and drop in toolbar layout in control panel 2017-03-20 22:29:03 +00:00
Advanced.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Appearance.tid Remove "advanced" and "appearance" from control panel tab titles 2014-09-03 12:46:22 +01:00
Basics.tid Make new tiddler title editable in ControlPanel (#3149) 2018-03-05 11:24:29 +00:00
EditorTypes.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Info.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
KeyboardShortcuts.tid Use the new "match" operator across the core 2019-07-31 09:30:16 +01:00
LoadedModules.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Palette.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
Parsing.tid Update wikiparserrules operator for no operand (#2193) 2016-10-08 13:04:11 +01:00
Plugins.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
Saving.tid Adds support for autosave with the download saver 2017-01-30 18:19:28 +00:00
Settings.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
StoryView.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Stylesheets.tid Introduce "Info/Advanced/Stylesheets" tab to Control Panel 2018-01-12 21:44:38 +00:00
Theme.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
TiddlerFields.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Toolbars.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00