1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
TiddlyWiki5/core/ui
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
..
AboveStory Fix tw2-plugin-check warning so that more than one plugin is displayed 2016-09-30 18:27:45 +01:00
Actions add new-tiddler new-journal new-image keyboard shortcuts (#3512) 2018-11-07 12:59:21 +00:00
AdvancedSearch Autofocus advanced search text edit input 2019-02-06 17:53:00 +00:00
Components Display "contents" tab for plugins that lack any information tabs 2017-04-30 09:59:41 +01:00
ControlPanel Add GitLab saver, apply common lingo to Git savers (#3931) 2019-07-31 21:38:52 +01:00
EditorToolbar Docs for stamp-button optionally wrap selection (#4047) 2019-07-02 16:24:48 +01:00
EditTemplate Tags edittemplate: replace × with svg (#3859) 2019-06-26 12:34:18 +01:00
EditToolbar Use the new "match" operator across the core 2019-07-31 09:30:16 +01:00
Filters Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
ImportPreviews Fix broken import previews 2018-05-16 17:40:15 +01:00
KeyboardShortcuts fix missing tag for advanced-search keyboard shortcut 2019-07-14 17:06:09 +02:00
Manager Fix usages of is[current] that can be changed to all[current] 2018-08-18 14:47:35 +01:00
MoreSideBar Create the new "tree" global macro (#2925) 2017-06-28 17:44:15 +01:00
PageControls Use the new "match" operator across the core 2019-07-31 09:30:16 +01:00
PageTemplate Story PageTemplate: configurable View- and EditTemplates (#4051) 2019-07-03 17:42:13 +01:00
SideBar Fix for "Open" tab placeholders in FireFox (#3806) 2019-03-02 14:54:23 +01:00
SideBarSegments Make it possible to distinguish the two different sidebar elements with the class "tc-sidebar-lists" 2019-07-11 22:00:28 +01:00
TiddlerInfo Show backlinks on rename (#3534) 2018-11-15 15:18:38 +00:00
TopRightBar Change button widget 'title' attribute to 'tooltip' 2014-09-10 10:25:50 +01:00
ViewTemplate Missing stateTitle attribute in unfold viewtemplate (#3617) 2018-12-04 09:13:49 +00:00
ViewToolbar Use the new "match" operator across the core 2019-07-31 09:30:16 +01:00
AdvancedSearch.tid Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
AlertTemplate.tid Add localisable strings (#2438) 2016-05-12 08:44:28 -06:00
BinaryWarning.tid Rename more "tw-*" classes to "tc-*" 2014-08-28 19:08:31 +01:00
ControlPanel.tid Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
DefaultSearchResultList.tid add localisable strings for search 2015-10-18 18:09:41 +09:00
EditTemplate.tid Dynaview: Add support for updating the address bar when scrolling 2018-03-13 14:07:29 +00:00
ImportListing.tid Use new state* attributes for reveal and button widgets (#3531) 2018-11-18 10:54:12 +00:00
ListItemTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
Manager.tid Introduce tiddler manager 2016-11-29 08:36:07 +00:00
MissingTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
PageControls.tid Use UI button tiddler titles as CSS classes 2017-08-08 18:25:45 +01:00
PageStylesheet.tid Typos missed from a9dd8c2 2018-09-28 18:18:07 +01:00
PageTemplate.tid Add whitespace trim to pagetemplate, story and sidebar (#4052) 2019-07-03 17:41:23 +01:00
PaletteManager.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
PluginInfo.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
PluginInfoDefaultContents.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
PluginListItemTemplate.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
SearchResults.tid Addresses #1066 by moving the search results into a dropdown. 2015-09-27 22:53:46 +01:00
SideBarLists.tid Modularize the sidebar 2018-08-02 13:22:21 +01:00
TagManager.tid TagManager: Remove extraneous caption field 2019-01-26 17:38:46 +00:00
TagTemplate.tid fix textnodes between tags in viewtemplate (#3587) 2018-11-29 09:49:29 +00:00
TiddlerFields.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerFieldTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerInfo.tid Add "sticky" mode for tiddler info panel 2016-11-23 18:17:54 +00:00
UntaggedTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
ViewTemplate.tid Add data attributes to ViewTemplate (#3209) 2018-04-24 22:08:20 +01:00