Commit graph

926 commits

Author SHA1 Message Date
Tilman Vatteroth
d9ce262ffb Add placeholder translation
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-11 20:50:54 +02:00
renovate[bot]
e887dbb9d0
Pin dependencies (#195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 20:35:07 +02:00
mrdrogdrog
46d68c3ab5
Add basic codemirror (#96)
* started work on codemirror integration
2020-06-11 20:14:40 +02:00
renovate[bot]
e9c16872d4
Update dependency @testing-library/jest-dom to v5.10.0 (#191)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 17:42:32 +02:00
renovate[bot]
93f0c4913d
Update dependency @testing-library/user-event to v11.4.1 (#187)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 10:17:52 +02:00
renovate[bot]
5cdc2447b8
Update dependency @types/react to v16.9.36 (#186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 13:57:40 +02:00
renovate[bot]
4a963b9dad
Update dependency @testing-library/user-event to v11.4.0 (#185)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 10:45:01 +02:00
renovate[bot]
df99c143d5
Update dependency eslint-plugin-import to v2.21.2 (#184)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 10:44:36 +02:00
renovate[bot]
2995a3cc3b
Update dependency @types/node to v12.12.47 (#183)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 23:40:56 +02:00
Philip Molares
72a161ea16
Context menu to each history entry (#171)
- 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>
2020-06-09 22:35:09 +02:00
Renovate Bot
107a8eeaaf Update dependency @types/node to v12.12.46 2020-06-09 19:27:38 +02:00
Renovate Bot
254b4ddc61 Update dependency @types/jest to v26 2020-06-09 19:22:55 +02:00
renovate[bot]
ca03370ac2
Update dependency @testing-library/user-event to v11.3.2 (#180)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 15:34:00 +02:00
renovate[bot]
29bbe00284
Update dependency @types/node to v12.12.45 (#179)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 23:50:45 +02:00
Philip Molares
7794538c6a
better support for rtl languages (#170)
* 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>
2020-06-08 23:49:14 +02:00
Renovate Bot
235b24b49c Update dependency @testing-library/user-event to v11.3.1 2020-06-08 21:03:46 +02:00
Renovate Bot
bdfff979ca Update dependency @typescript-eslint/eslint-plugin to v3.2.0 2020-06-08 21:02:16 +02:00
Renovate Bot
8b1ef6c668 Update dependency @typescript-eslint/parser to v3.2.0 2020-06-08 19:43:28 +02:00
dependabot[bot]
20807eaf56 Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 09:52:36 +02:00
Renovate Bot
e456de2d6e Update dependency eslint-plugin-import to v2.21.1 2020-06-08 09:51:16 +02:00
mrdrogdrog
c949b6950e
Sort components (#163)
* Move common components to the `common` directory
* rename style directory
* Move ForkAwesome to common
* Move initializers and restructure application-loader.tsx
2020-06-07 21:29:09 +02:00
Tilman Vatteroth
f2e273fc40 Use more show-if
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-07 01:09:41 +02:00
Philip Molares
7b5b73a289
show local and remote History (#128)
* added history toolbar functionality for local and remote history
2020-06-07 01:09:04 +02:00
Tilman Vatteroth
23c854dc9a Throw error if unexpected response code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-07 01:04:18 +02:00
Erik Michelson
8c4621ec97 Changed API path to v2 instead of v2.0
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
2020-06-07 00:55:46 +02:00
mrdrogdrog
70af8a17d1
Restructure github flow (#165)
* Restructure github flow
* Use node js action
* Add more node versions

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-07 00:02:50 +02:00
Tilman Vatteroth
e64b07b289 Add fixed sizes for history table columns
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-06 23:59:12 +02:00
mrdrogdrog
772b099879
Add examples and cd command to README (#166)
Add examples and cd command to README
2020-06-06 23:58:45 +02:00
Philip Molares
575407ab6d internal links now use the Link component instead of the LinkContainer component, because the later is intended for use with react-bootstrap components and not for simple translated strings.
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-06-06 22:12:24 +02:00
mrdrogdrog
a376c95fab
Add function for language code shortening (#156)
Add function for language code shortening
2020-06-06 11:55:41 +02:00
renovate[bot]
1c2dd630d9
Update dependency @testing-library/react to v10.2.1 (#160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-05 21:57:33 +02:00
Renovate Bot
9212bae9ea Update dependency @testing-library/user-event to v11.2.1 2020-06-05 20:47:17 +02:00
Renovate Bot
c56430a6a6 Update dependency @testing-library/user-event to v11.2.0 2020-06-05 15:34:31 +02:00
Philip Molares
046d434f4c
added error modal (#124)
added error modal component

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-06-05 14:23:09 +02:00
Renovate Bot
59f3cb59e3 Update dependency @testing-library/jest-dom to v5 2020-06-05 11:55:13 +02:00
Renovate Bot
faa4fd9747 Update dependency @types/jest to v25 2020-06-05 11:51:02 +02:00
renovate[bot]
ebfec522b3
Update dependency typescript to v3.9.5 (#146)
* Update dependency typescript to v3.9.5
* changed > to {'>'}, because typescript >=3.9 does not support > and } in tsx files anymore

see https://www.typescriptlang.org/docs/handbook/release-notes/overview.html#-and--are-now-invalid-jsx-text-characters

Signed-off-by: Philip Molares <philip.molares@udo.edu>

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2020-06-05 11:22:31 +02:00
Renovate Bot
3c1b06046d Update dependency @testing-library/react to v10 2020-06-05 09:41:24 +02:00
Renovate Bot
b1012548e4 Update dependency i18next-http-backend to v1.0.15 2020-06-05 09:40:55 +02:00
Renovate Bot
8e1d5d9f16 Update dependency @types/node to v12.12.44 2020-06-05 09:40:37 +02:00
Renovate Bot
1db6dda124 Update typescript-eslint monorepo to v3.1.0 2020-06-05 09:39:44 +02:00
Renovate Bot
805d76f959 Update reactrouter monorepo to v5.2.0 2020-06-05 09:37:15 +02:00
Renovate Bot
b71479eaaf Update dependency @testing-library/user-event to v11 2020-06-05 09:35:23 +02:00
Renovate Bot
d0153d3904 Update dependency i18next-browser-languagedetector to v4.2.0 2020-06-05 09:34:20 +02:00
Renovate Bot
749834169e Update dependency moment to v2.26.0 2020-06-05 09:30:53 +02:00
Renovate Bot
2348072bde Update dependency react-i18next to v11.5.0 2020-06-05 09:30:37 +02:00
Renovate Bot
6b08ad391b Update dependency react-bootstrap-typeahead to v5.0.0-rc.3 2020-06-05 09:29:49 +02:00
Erik Michelson
b051b109e5
Show login-buttons and boxes only if providers are configured (#122)
* 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
2020-06-04 23:38:21 +02:00
renovate[bot]
2b4c3c76ba
Update dependency eslint-plugin-flowtype to v5.1.3 (#138)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 23:27:22 +02:00
renovate[bot]
567f0d2423
Update dependency i18next to v19.4.5 (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-04 23:27:05 +02:00