- added entry-menu
- added subsection in entry-menu with the location of the history entry and the action to remove an entry from history
- added uploadAll functionality
- show uploadAll Button in history only if the user is logged in
- added deleteNote api call
Signed-off-by: Philip Molares <philip.molares@udo.edu>
* set text direction on language load and change to rtl if arabic is chosen
see https://www.w3schools.com/tags/att_global_dir.asp
* minor fixes to make rtl-mode look good:
- margins not only on the right, but on both sides
- fix bootstrap ToggleButtonGroup to always be ltr
* removed console.log statements
* fixed margin on the name in the user-avatar
* '$Icon CodiMD' on the intro page now always uses ftr text direction, since we don't translate the same of the software
* fixed import
* removed setHTMLDirection function
* added toplevel div with dir='auto'
some elements got dir='auto' if they contain potentially not translated or intended english text
* added text-align: start to the user-dropdown
* moved toplevel dir='auto'
* moved shortenLanguageCode to language-picker
* Changed mr-2 to mx-2 for profile buttons
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
* Move common components to the `common` directory
* rename style directory
* Move ForkAwesome to common
* Move initializers and restructure application-loader.tsx
We discussed whether the minor-version is relevant for the API base-path and came to the conclusion, that it's not really needed as breaking API changes need a new major version anyway.
This commit also removes the trailing slash from the URL which is returned by `getBackendUrl`. This is needed as we composed the API routes in our implementation always with a starting slash thus leading to double slashes.
Example of old behaviour:
getBackendUrl() + '/config'
=> example.com/api/v2.0//config
Example of new behaviuor:
getBackendUrl() + '/config'
=> example.com/api/v2/config
* Hide "Sign-in via ..." box if no provider is enabled
* Show sign-in buttons only if auth-providers exist
* Rebase fixes
* Replaced ternary operators with ShowIf
* Added ShowIf on two other code positions
* added history toolbar functionality
* export now adds a version number
* renamed OldHistoryEntry to V0HistoryEntry
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>