Commit graph

135 commits

Author SHA1 Message Date
renovate[bot]
6f07490f61
Update dependency react-codemirror2 to v7.2.1 (#205)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:51:57 +02:00
renovate[bot]
3c9d51ffae
Update dependency react-i18next to v11.5.1 (#206)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:44:48 +02:00
renovate[bot]
25b9ea4dfc
Update dependency @types/codemirror to v0.0.96 (#204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-13 09:39:06 +02:00
mrdrogdrog
f298d1469b
Add editor split component (#198)
Add split and split divider component
2020-06-13 01:22:27 +02:00
Philip Molares
c679f5524c
added redirector component (#199)
* added redirector component
    * it will redirect every request to /$something that is not handled otherwise (/intro, /login and such) to /n/$something
* added getNote API Call
* added NotFound component
* added LandingLayout around the NotFound component, so users can easily navigate away from the component

Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-06-13 00:29:39 +02:00
Tilman Vatteroth
773fc60f07 Fix icon position in application loading screen
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-13 00:25:00 +02:00
Tilman Vatteroth
1937fe2418 Show footer always at the bottom
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-13 00:13:43 +02:00
Erik Michelson
9d2a1d7035
Updated schedule of renovate (#192)
* Updated schedule of renovate

Even if renovate only creates 1-2 pull requests per day, they start to become annoying. Therefore, we decided to limit the timeslot for renovate actions to our dependency-patch-day Saturday.

* Added option to remove the hourly limit

Because we extend config:base we have a default hourly limit of 2. This change sets that to 0 and thereby disables the limit.
2020-06-11 20:57:41 +02:00
Renovate Bot
ed52ffb72f Update dependency @testing-library/user-event to v11.4.2 2020-06-11 20:56:48 +02:00
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