Commit graph

6539 commits

Author SHA1 Message Date
mrdrogdrog
2dcc7e7beb
PDF embedding (#218)
* Add pdf embedding

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-06-20 19:21:43 +02:00
Tilman Vatteroth
54497c2f57 Add twemoji to changelog
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-20 19:20:51 +02:00
mrdrogdrog
e26beecb85
Add codimd to jetbrains dictionary (#235)
* add codimd to jetbrains dictionary
2020-06-20 16:47:30 +02:00
Philip Molares
28e761e9c6 used new plugins in markdown-preview
this re adds support for
sub- and superscript and inserted and marked text
closes #216
2020-06-20 12:53:45 +02:00
Philip Molares
7166de10f3 added typescript definitions
added typescript definitions for the plugins:
 - markdown-it-mark
 - markdown-it-ins
 - markdown-it-sub
 - markdown-it-sup
2020-06-20 12:52:38 +02:00
Philip Molares
7ea5a6a221 added plugins
added the plugins:
 - markdown-it-mark
 - markdown-it-ins
 - markdown-it-sub
 - markdown-it-sup
2020-06-20 12:52:03 +02:00
Renovate Bot
6017dab038 Update dependency @testing-library/user-event to v12 2020-06-20 12:18:17 +02:00
Renovate Bot
ae0e941c2f Pin dependency github-markdown-css to 4.0.0 2020-06-20 12:12:13 +02:00
renovate[bot]
7ed58e9617
Update dependency i18next-browser-languagedetector to v5 (#230)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 12:08:08 +02:00
renovate[bot]
7961028bfa
Update dependency i18next-browser-languagedetector to v4.3.1 (#225)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Philip Molares <git@molar.es>
2020-06-20 11:58:39 +02:00
Renovate Bot
82db469408 Update dependency react-i18next to v11.7.0 2020-06-20 11:53:48 +02:00
Renovate Bot
7a01f0ce96 Update typescript-eslint monorepo to v3.3.0 2020-06-20 11:51:41 +02:00
Renovate Bot
4404e2034c Update dependency moment to v2.27.0 2020-06-20 11:49:47 +02:00
Renovate Bot
98469dcef0 Update dependency i18next to v19.5.0 2020-06-20 11:32:51 +02:00
Renovate Bot
41f630e004 Update dependency eslint-plugin-jsx-a11y to v6.3.1 2020-06-20 11:31:35 +02:00
renovate[bot]
580a7b17dc
Update dependency @testing-library/react to v10.3.0 (#221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:22:49 +02:00
renovate[bot]
9614303091
Update dependency @testing-library/jest-dom to v5.10.1 (#220)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:17:51 +02:00
renovate[bot]
bb270c1c38
Update dependency @types/react to v16.9.38 (#222)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:16:41 +02:00
renovate[bot]
450bdbfaee
Pin dependencies (#219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-20 03:15:03 +02:00
mrdrogdrog
7189a63618
Basic markdown renderer (#197)
* Add basic markdown it rendering
* Add markdown preview
* Add embedings for vimeo, youtube, gist
* Add support for legacy shortcodes and link detection
* Set "both" as editor default
* Add markdown-it-task-lists
* Add twemoji
* Changed SlideShare short-code behaviour from embedding to generating a link
* Extract markdown it parser debugger into separate component
* Deactivate markdown it linkify for now
* Add link safety attributes
* Add one-click-embedding component and use it
* Added embedding changes and deprecations to CHANGELOG.md

Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <philip@mauricedoepke.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-06-20 00:44:18 +02:00
Philip Molares
8ba2be7c70
the changelog for this project (#175)
started a changelog for this project

it follows the proposed format from https://keepachangelog.com/en/1.0.0/

Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Sheogorath <sheogorath@shivering-isles.com>
2020-06-16 22:28:49 +02:00
Philip Molares
e014eb36b5
Adds an info banner to the app (#190)
* added info-banner component to show the banner.text, we got from the backend config. This banner is shown on top of the landing page (intro, history, login/signup and profile) and also on top of the editor and links to `/n/banner`
* added banner to backendConfig Redux state
* added BannerState to the ApplicationState with that the showing of the banner is globally controlled, the banner text is given to the banner component and the timestamp to acknowledge a banner was read by the user
* the timestamp of a dismissed note is saved in the browsers localStorage to determine in the future if the banner should be shown

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-06-15 21:54:20 +02:00
mrdrogdrog
75aa8b38af
Add pull request template (#208)
Add pull request template
2020-06-15 21:07:16 +02:00
Erik Michelson
2d0b605257
Add links from recent note history entries to the actual note (#203)
* Added Link objects around history-cards and the title in table-view

This commit adds one Link element wrapping the title of a note in the table view and one Link element wrapping the whole card of a note in cards view.

This behaviour currently doesn't work completely correct as other buttons on the card become unclickable and needs to be fixed in another commit before merging this branch.

* Fixed Link behaviour for card view

The cards aren't wrapped inside a Link element anymore but the middle column of a card (where the title and tags are located) is now wrapped inside the Link element.
With this approach not the whole card is clickable anymore, but it's enough clickable space anyway. The positive aspect is that we don't have to deal with "position: absolute"-elements that may break responsiveness.
2020-06-14 12:25:45 +02:00
Tilman Vatteroth
eb92d38133 Redesign history context button
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-13 23:50:28 +02:00
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
Yannick Bungers
f1dddb8a41
Added serverVersion to status by using SemVer
Signed-off-by: Yannick Bungers <git@innay.de>
2020-06-09 21:42:43 +02:00
Erik Michelson
b5a99b585c
Reorganized openapi.yml for external API structure
As this document should contain the details of the stable external API, it was refactored and cleaned up.

Co-Authored-By: David Mehren <dmehren1@gmail.com>
Co-Authored-By: Yannick Bungers <git@innay.de>
Co-Authored-By: Philip Molares <philip.molares@udo.edu>
2020-07-16 01:22:50 +02:00
Erik Michelson
3969ef3259
Added entries for image proxying and registering
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2020-07-10 02:29:44 +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