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
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
mrdrogdrog
a376c95fab
Add function for language code shortening ( #156 )
...
Add function for language code shortening
2020-06-06 11:55:41 +02:00
Erik Michelson
b051b109e5
Show login-buttons and boxes only if providers are configured ( #122 )
...
* Hide "Sign-in via ..." box if no provider is enabled
* Show sign-in buttons only if auth-providers exist
* Rebase fixes
* Replaced ternary operators with ShowIf
* Added ShowIf on two other code positions
2020-06-04 23:38:21 +02:00
mrdrogdrog
a62e3857b4
Improve sign in button ( #123 )
...
* Improve sign in button
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* Add missing size attribute
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
* reformat code
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-06-03 13:17:46 +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
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
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
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
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
Philip Molares
e2155e735d
Editor Basics ( #43 )
...
Add basic editor
2020-05-29 15:44:45 +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
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
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
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
88d7524ec5
added suggested changes from code review
...
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 15:57:15 +02:00
Philip Molares
0eb80dbf41
correct footer text color to look like the current version
...
fixes #14
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 15:57:15 +02:00
Philip Molares
aedd86fbed
changed date-fns to moment ( #23 )
...
changed date-fns to moment
fixes #22
made use of i18n support of moment
Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-05-16 15:42:02 +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
Philip Molares
93ce059577
imported current state of the mockup into the public repo
...
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2020-05-14 15:41:38 +02:00