Erik Michelson
9c19bb1d9d
Add support for image-proxies by (optional) piping of image urls through the backend ( #315 )
...
* Added config property for image proxies
* Added API call and image url replacing
* Added comment explaining why a local function is needed inside the useEffect
* Added CHANGELOG entry
* Changed wording of the CHANGELOG sentence
* Changed CHANGELOG entry
Co-Authored-By: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Removed fallback to original src
* Removed unnecessary API call for empty src URLs
* Simplify image url fetching
* Refactored imageframe to avoid rerendering of images
Co-Authored-By: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Renamed config property to useImageProxy
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-07-29 22:28:32 +02:00
Philip Molares
b23a73ac51
added branding option ( #301 )
...
added branding option via '@ <logo>' or '@ <name>' after the CodiMD logo and text.
This was a user can personalize their CodiMD instance
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-07-01 23:20:00 +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
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
0e8d2f1639
Add version info ( #80 )
...
Add version info overlay. Fixes #78
2020-05-29 13:08:59 +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
Philip Molares
a50ad6e6c8
Feature/open id sign in ( #35 )
...
* added errorOpenIdLogin i18n key
* added openid authProvider
* added postOpenIdLogin api call
* added via-open-id component
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 23:21:05 +02:00
Philip Molares
aeeb08ea5a
Feature/custom oauth saml names ( #31 )
...
* using saml and oauth2 customAuthNames in login
* add saml and oauth2 customAuthNames to backend config
* changed default name of oauth button
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 20:38:02 +02:00
Philip Molares
5eb8ab7517
Feature/ldap sign in ( #27 )
...
* reworked via-ldap component
* added username i18nkey
* added customAuthNames to backend config
* added postLdapLogin api call
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 19:12:49 +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