Tilman Vatteroth
39a4125cb0
Refactor handling of environment variables ( #2303 )
...
* Refactor environment variables
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-09-16 09:03:29 +00:00
Tilman Vatteroth
a802656478
Fixes warnings in some tests ( #2241 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-07-31 15:29:00 +00:00
Philip Molares
ecffebc43c
docs: consolidate docs ( #2182 )
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2022-07-21 22:36:46 +02:00
Tilman Vatteroth
0da51bba67
Add basic realtime communication ( #2118 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-18 16:40:28 +00:00
Tilman Vatteroth
e93607c96e
Move toolbar functionality from redux to codemirror dispatch ( #2083 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-06-07 23:10:49 +00:00
Erik Michelson
26f90505ff
Adapt react-client to use the real backend API ( #1545 )
...
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-15 23:03:15 +02:00
Tilman Vatteroth
3a74ce9267
Replace splitter e2e test with unit test
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-04-10 01:42:26 +02:00
Renovate Bot
77a60c6c48
Switch the base framework from Create React App to Next.JS
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-12-30 14:43:25 +01:00
Tilman Vatteroth
a96b06c95b
Fix renderer type test ( #1647 )
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-11-21 12:48:30 +01:00
Tilman Vatteroth
a398660c18
Add cypress id attribute only in test mode ( #1566 )
...
* Add function for test attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Adjust components
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix naming of attribute
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename method, interface, attribute and use interface
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Lint and format fix
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-17 21:20:23 +02:00
Tilman Vatteroth
36e445e631
Add slide mode with reveal.js
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-10-15 21:27:06 +02:00
Tilman Vatteroth
0e512531a0
Improve Logging ( #1519 )
...
Improve Logging
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-09-28 22:06:35 +02:00
Tilman Vatteroth
2c5a03b3ee
Restructures + New Evironment Variables ( #1230 )
...
* Use document base uri for react router
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename getAndSetUser to fetchAndSetUser
Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Rename getFrontPageContent to fetchFrontPageContent
Getter should be reserved for simple get functions.
Everything that does a bit more logic should use a more meaningful verb.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Reformat code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Use PUBLIC_URL env var in index.html
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Introduce new environment variables
For better testing (especially if you have multiple endpoints) this commit introduces
REACT_APP_BACKEND_BASE_URL, REACT_APP_FRONTEND_ASSETS_URL and REACT_APP_CUSTOMIZE_ASSETS_URL
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove redundant license information
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove redundant license information
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix rebase issues
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove unused file
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Correct parameter
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix run tasks
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Force use of bash
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix link to cypress picture
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* revert change
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* fix url
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Remove license info
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Revert rebase issues
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Add missing banner code
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Fix test url
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Useless change to trigger github
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
* Don't set backend base url because this break the mock mode detection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
2021-05-02 22:38:43 +02:00
Philip Molares
9cf7980334
Fix Communication between frontend and backend ( #1201 )
...
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2021-05-01 21:01:42 +00:00
Tilman Vatteroth
28600d6508
Change copyright year from 2020 to 2021 ( #917 )
...
* Change copyright year from 2020 to 2021
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Change copyright year in jetbrains copyright template
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2021-01-06 21:37:59 +01:00
Tilman Vatteroth
dfc2524bd7
Add test mode ( #898 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-12-29 17:13:07 +01:00
mrdrogdrog
0fadc09f2b
Restructure repository ( #426 )
...
organized repository
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <git@molar.es>
2020-08-16 16:02:26 +02:00
Philip Molares
c15f0d9900
Add Emoji/FA Autocompletion ( #387 )
...
added emoji/fork-awesome autocompletion
added autocompletion e2e test
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-08-14 13:58:59 +02:00
Philip Molares
d0fc96b929
rework how the frontend is started ( #361 )
...
renamed frontend-config to api-url
renamed backend-config to config
removed api call to set frontend-config as the frontend either know where the backend is as it is delivered by it or get's this information via the enviroment variable REACT_APP_BACKEND
always start the client on Port 3001 as the backend will run on 3000 during development. changed the port on multiple occasions to accommodate for this
added package.json script 'start:dev'
changed README to better explain how to run backend and frontend side-by-side
2020-07-29 22:58:01 +02:00
mrdrogdrog
50b04c8403
Add toc sidebar+dropdown ( #272 )
...
* Replace markdown-it-table-of-contents with markdown-it-toc-done-right
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Extract render window code
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Philip Molares <philip.molares@udo.edu>
add new package
fix stickyness
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
show toc sidebar only if there is enough space
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add min height class
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Move markdown toc into own component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add sidebar buttons
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use other button color
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Change name of component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix merge issues and make toc work again
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* pin dependencies
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove blank line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* pin dependency
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix anchors
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add use memo
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add change log entry for removal of custom slugify
2020-06-29 17:51:40 +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
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
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
Philip Molares
0d8ca681f8
finished history toolbar buttons ( #117 )
...
* 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>
2020-06-04 22:41:44 +02:00
mrdrogdrog
570c45017c
Restructure redux code ( #109 )
...
* Restructure redux code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-05-31 22:51:36 +02:00
mrdrogdrog
db5bec7000
Split user.ts into auth.ts and me.ts ( #113 )
...
Split user.ts into auth.ts and me.ts
2020-05-31 22:27:12 +02:00
Philip Molares
c8e42eebd4
Replace font awesome with fork awesome ( #114 )
...
* added fork-awesome-icon
* removed fontAwesome
* changed FontAwesomeIcon to ForkAwesomeIcon
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-31 22:21:32 +02:00
Erik Michelson
747d9686fa
User profile page ( #102 )
...
* Added mock profile page
* Added translations
* Modularized page, added LoginProvider, started validation
* Re-adding profile route after router refactoring
* Added API calls for password and name change
* Added user deletion modal
* Refactored translations in profile-page to match new locales
* Fixed merge-conflicted locales/de.json
* Removed values for password fields
* Fixed capitalization of LoginProvider
* Fixed codestyle method declarations
* Fix names of methods and started countdown
* Fix countdown
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 21:56:39 +02:00
Philip Molares
e2155e735d
Editor Basics ( #43 )
...
Add basic editor
2020-05-29 15:44:45 +02:00
Philip Molares
557386f78f
added clearHistory functionality ( #82 )
...
added clearHistory functionality
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: mrdrogdrog <mr.drogdrog@gmail.com>
2020-05-29 15:09:51 +02:00
Philip Molares
eba59ae622
better linting ( #72 )
...
Improve linting and fix linting errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-27 15:43:28 +02:00
mrdrogdrog
a5af15b278
use async and await ( #62 )
...
Use async and await instead of promise chains
2020-05-24 22:55:06 +02:00
mrdrogdrog
d03e000bd1
Feature/history toolbar ( #44 )
...
Add the history bar
2020-05-21 22:01:23 +02:00
Tilman Vatteroth
c5bc4c4dcd
fix check for string exist
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-16 21:27:29 +02:00
mrdrogdrog
83ab0bbe7e
Feature/history page ( #28 )
...
* add alert message and use only entry for card and table
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Refresh table view when translation was changed
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add sort by date and pinning
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* save history to localstorage
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* improve card and table history
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* extract functions
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Sort in history component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix i18n key
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Move scss imports
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* fix scss import
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* modify state with setState
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* fix import
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add sortAndFilterEntries function
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-16 19:54:08 +02:00
mrdrogdrog
11a79d501a
Fix json decode in getMe ( #19 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-15 23:20:15 +02:00
mrdrogdrog
a490e1240b
Frontend config and Loader component ( #12 )
...
* Add FrontendConfig and Loader
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Merge more setup into the application loader
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Rename config files
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Remove blank line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Fix url
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Make strings more specific
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Restructure store use
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* split methods and actions
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* extract code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove actions.ts
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add reason and rename component
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* remove unused call
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use redux store in api
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* activate email in backend config
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* add new line
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* reduce code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Make error more specific
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Use expectedResponseCode
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Update src/redux/backend-config/types.ts
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Update src/components/application-loader/application-loader.tsx
Co-authored-by: Philip Molares <git@molar.es>
* Use fragment
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Philip Molares <git@molar.es>
2020-05-15 23:10:12 +02:00