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
Tilman Vatteroth
515cf1f34d
Replace react icon with default codimd icon
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 19:17:24 +02:00
mrdrogdrog
8ab0e54431
Add flex to grow button ( #110 )
...
* Add flex to grow button
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add flex to grow button
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 18:39:52 +02:00
Erik Michelson
b9d7880075
Fixed wrong translation ( #107 )
2020-05-31 18:34:10 +02:00
Philip Molares
727beb69f9
change dark mode button to show sun icon if toggled
...
see https://github.com/codimd/server/issues/378
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-31 15:38:21 +02:00
Philip Molares
d035ff26a5
moved style folder
...
added index.scss to index.tsx
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-31 13:27:20 +02:00
mrdrogdrog
5c716bd314
Restructure Link Components and fix internal link children error ( #106 )
...
* Restructure Link Components and fix internal link children error
2020-05-31 13:25:41 +02:00
Philip Molares
177f639492
Editor Help Modal ( #99 )
...
* removed css from body
* added internal-link and translated-internal-link
* icon in links are always fixedWidth
* added help button
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 11:36:27 +02:00
mrdrogdrog
5da45c2dfd
Make eslint packages not dev only ( #95 )
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 08:53:57 +02:00
mrdrogdrog
1f347fb653
New locale format ( #94 )
...
* Add new format for translation files
Co-authored-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-31 08:53:22 +02:00
Tilman Vatteroth
afb2ea85b1
Rename var
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-30 22:43:31 +02:00
Tilman Vatteroth
7ef1b086bd
Make application loader only trigger once
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-30 22:43:31 +02:00
Philip Molares
dbc592e6d7
better error messages for the loading-screen ( #87 )
...
better error messages for the loading-screen
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-30 16:22:07 +02:00
mrdrogdrog
68790dbe1b
Fix dark mode button ( #86 )
...
* Add no-active-focus css class
* Improve dark mode button
* Remove class
2020-05-30 16:02:58 +02:00
Philip Molares
02f1b2abcc
Feature/history api ( #84 )
...
added /api/v2.0/ to the backend url
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-30 10:12:01 +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
mrdrogdrog
0e8d2f1639
Add version info ( #80 )
...
Add version info overlay. Fixes #78
2020-05-29 13:08:59 +02:00
Philip Molares
5baef25b21
started issue templates ( #77 )
...
* started issue templates
* Created issue templates
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-05-27 23:38:45 +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
Erik Michelson
efb6513205
Added translation component for history-page title
2020-05-27 14:58:57 +02:00
Tilman Vatteroth
a87e0a91b0
Add AGPL 3.0
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-26 17:19:37 +02:00
Henrik Hüttemann
7a33177014
Card-ify login components ( #53 )
...
* Card-ify login components
* Fix lint warnings
* Replace HTML with react-bootstrap components
* Remove now obsolete flex div
* Apply fixed width to fa-icons
* Reset sign-in buttons to normal size
2020-05-25 20:48:27 +02:00
Tilman Vatteroth
8636391a73
convert more promise chains to async await
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-24 23:59:02 +02:00
mrdrogdrog
23cfcacd09
Extract loading screen compontent #69
2020-05-24 23:58:28 +02:00
Philip Molares
f185c76c6e
unclutter the intro page ( #64 )
...
* removed cover.scss
* uncluttered intro
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-24 23:58:09 +02:00
Erik Michelson
9d834f97d0
Improved text-icon-layout of user-dropdown
2020-05-24 23:33:12 +02:00
Erik Michelson
f5a851814a
Redirect logged-in users from /login to /history
2020-05-24 23:21:04 +02:00
Philip Molares
0071c81699
all auth provider should work via /auth/
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-24 22:58:04 +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
11f01094b4
History pagination ( #58 )
...
Adds pagination for the history page. fixes #32
2020-05-24 15:27:16 +02:00
Tilman Vatteroth
70ab02431c
Add tags to history table
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-24 14:32:02 +02:00
Philip Molares
47ab753959
changed language-picker select to react bootstraps version ( #57 )
...
changed language-picker select to react bootstraps version
fixes #52
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-24 12:18:12 +02:00
Tilman Vatteroth
47a88427da
Use bootstrap class for background color
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-24 12:00:12 +02:00
Tilman Vatteroth
dc40dab9af
add custom delay
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-24 11:59:44 +02:00
Tilman Vatteroth
d51f62221f
Remove backend url from frontend config api call
...
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-24 00:12:40 +02:00
Philip Molares
8e291a7b34
added translation for or
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-23 22:50:03 +02:00
Philip Molares
c024a2a9d6
fix routing of "/"
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-23 13:45:52 +02:00
mrdrogdrog
d03e000bd1
Feature/history toolbar ( #44 )
...
Add the history bar
2020-05-21 22:01:23 +02:00
Philip Molares
4c785b345b
Fix/email open id separator ( #39 )
...
Fix/email open id separator
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-21 21:23:24 +02:00
mrdrogdrog
90d9ba5226
Add element-separator ( #42 )
...
Add element-separator
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-17 23:21:10 +02:00
Philip Molares
0e18d0f8da
changed oauth icon to fa-address-book
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-17 15:23:41 +02:00
Philip Molares
81c1df2a6d
made one-click-button arbitrary long to accompany arbitrary long custom names
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-17 15:23:23 +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
d2c6ea464d
fixed controlId in via-ldap
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 22:58:11 +02:00
Philip Molares
58f3bb4d3b
renamed via-oauth2 to via-one-click
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 22:07:20 +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
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
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