167 Commits

Author SHA1 Message Date
ad4b6e0d79
refactor(webapp): remove email normalization (#8580)
* remove email normalization from webapp

* missing change

* fix error when email is not defined

* fix lint

* remove obsolete test

* remove obsolete tests

* fix password reset

---------

Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-25 15:58:41 +02:00
8f72c4282a
improve login & invite mechanics (#8574)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-22 18:24:02 +00:00
Moriz Wahl
d4a9694657
feat(webapp): redirect to group after registration with invite to group (#8540) 2025-05-10 10:10:55 +00:00
Max
ce1844e521
feat(webapp): several group and personal invitation links (#8504)
* invite codes refactor

typo

* lint fixes

* remove duplicate initeCodes on User

* fix typo

* clean permissionMiddleware

* dummy permissions

* separate validateInviteCode call

* permissions group & user

* test validateInviteCode + adjustments

* more validateInviteCode fixes

* missing test

* generatePersonalInviteCode

* generateGroupInviteCode

* old tests

* lint fixes

* more lint fixes

* fix validateInviteCode

* fix redeemInviteCode, fix signup

* fix all tests

* fix lint

* uniform types in config

* test & fix invalidateInviteCode

* cleanup test

* fix & test redeemInviteCode

* permissions

* fix Group->inviteCodes

* more cleanup

* improve tests

* fix code generation

* cleanup

* order inviteCodes result on User and Group

* lint

* test max invite codes + fix

* better description of collision

* tests: properly define group ids

* reused old group query

* reuse old Groupmembers query

* remove duplicate skip

* update comment

* fix uniqueInviteCode

* fix test

* fix lint

* Get invite codes

* Show invitation data in registration

* Add invitation list to menu (WIP)

* Add mutations, add CreateInvitation, some fixes

* Improve style, fix long comments

* Lock scrolling when popover is open, but prevent layout change

* small fixes

* instant updates

* Introduce config for link limit; add texts, layout changes

* Validate comment length

* Improve layout

* Add message to copied link

* Add invite link section to group settings

* Handle hidden groups

* Add menu entry for group invite links

* Fix locale

* hotfix invite codes

* Add copy messages

* More styling (WIP)

* Design update

* Don't forget user state

* Localize placeholder

* Add locale

* Instant updates for group invites

* fix registration with invite code

* Fix text overflow

* Fix instant updates

* Overhaul styles, add locales, add heading

* Add test and snapshot for CreateInvitation

* Improve accessability; add invitation test

* Add tests for InvitationList

* Fix locales

* Round plus button

* Fix tests

* Fix tests

* fix locales

* fix linting

* Don't show name of hidden group in invite message

* Add more tests

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

* Update webapp/locales/de.json

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-10 08:25:03 +00:00
Moriz Wahl
da8af6ff42
feat(webapp): group invite after login (#8518) 2025-05-09 19:19:07 +00:00
Moriz Wahl
65f764f6d9
feat(backend): signup email localized (#8459)
* localized registration email

* localized email verification email

* localized reset password email
2025-05-05 20:44:14 +02:00
Wolfgang Huß
48c7bd0033
refactor(webapp): make login, registration, password-reset layout brandable (#8440)
* Make login, registration, password-reset layout brandable

- Rename some variables related to this

* Remove experimental code

* add lodash types

* fix build

fix type

---------

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-04-28 16:58:35 +00:00
elweyn
8f471a5e9d Add the text block div 2023-11-21 10:19:12 +01:00
Wolfgang Huß
56816f0d98 Simplify 'forceTargetBlank' in call of 'page-params-link' 2023-06-20 14:22:26 +02:00
Wolfgang Huß
53d3a921bf Force target '_blank' in registration 'terms and conditions', 'data privacy' links by 'PageParamsLink' 2023-06-14 13:20:56 +02:00
Wolfgang Huß
c5ec22a6f2 Change registration 'term and conditions', 'data privacy' link to use 'PageParamsLink' that external pages can be used 2023-06-14 12:08:36 +02:00
Moriz Wahl
4ce5bdd6fa get most components working 2023-02-15 10:23:34 +01:00
Wolfgang Huß
09cb120f92 Add 'ds-spaces' to the other registration slider components 2022-10-27 16:03:13 +02:00
ogerly
93add91e77 fix lint 2022-10-27 15:23:19 +02:00
ogerly
76ad2ec063 change <space-xx-small /> to <ds-space margin=xxx-small /> 2022-10-27 15:22:22 +02:00
ogerly
655f1a26c8 add space in register box 2022-10-27 09:18:47 +02:00
Wolfgang Huß
e82d35c824 Fix linting 2022-08-25 23:17:50 +02:00
Wolfgang Huß
f92cec3749 Log e-mail if not sending it 2022-06-24 10:04:35 +02:00
Wolfgang Huß
5abbf22b43 Implement 'inviteCode' and 'nonce' lengths via 'registration.js' in backend and webapp 2022-06-23 17:44:59 +02:00
Wolfgang Huß
73ca174e6e Change name of emailMiddleware to loginMiddleware 2021-09-15 13:18:54 +02:00
Wolfgang Huß
e9189a3c58 Fix linting 2021-09-12 08:28:56 +02:00
somesh202
fa6d3bb95d centered-login-form 2021-09-11 11:30:30 +05:30
Wolfgang Huß
aa454893ce Refactor pageParams, third step
- Implement emails.js in backend as well.
- Move backend links.js into emails.js, because code is not a duplicate of webapp anymore.
2021-08-05 14:44:54 +02:00
Wolfgang Huß
97fdb7cd5c Refactor pageParams 2021-08-03 15:30:58 +02:00
Wolfgang Huß
df1e622094 Implement internal page component, first step 2021-08-02 13:48:57 +02:00
Wolfgang Huß
7da8cef5ab Merge branch 'master' of https://github.com/Ocelot-Social-Community/Ocelot-Social into 4432-fix-header-logo-rebrand-replacement
# Conflicts:
#	webapp/components/LoginForm/LoginForm.vue
2021-05-18 22:28:58 +02:00
Wolfgang Huß
2f72e4eba3 Follow @Mogge suggestions 2021-05-18 22:09:56 +02:00
Wolfgang Huß
ff6cc306af Refactor logos, first step 2021-05-18 17:04:48 +02:00
Brandon Tripp
654372f609 Linting for the component. 2021-05-15 12:32:20 -06:00
Brandon Tripp
588385bf5a Implement the ShowPassword component in the registration slider. 2021-05-15 12:32:09 -06:00
84caad1bff
lint fix 2021-04-24 13:20:18 +02:00
f93367bc9f
coverage Signup.spec.js 2021-04-24 13:12:10 +02:00
Moriz Wahl
c80b3a2128 slider jumps to enter-nonce when link contains invite-code, email and nonce and method is invite-code. Thanks @tirokk 2021-04-06 13:35:31 +02:00
Wolfgang Huß
4ddc6fb07a
Implement toaster for wrong invite code and wrong nonce 2021-03-30 04:51:45 +02:00
Wolfgang Huß
d38cfd2d7d
Remove h2 title and replace the first slider title with its text 2021-03-30 04:51:45 +02:00
Wolfgang Huß
3ddd00f8e5
Fix registration slider storybook 2021-03-30 04:51:45 +02:00
Wolfgang Huß
e00de176e2
Cleanup in general 2021-03-30 04:51:45 +02:00
Wolfgang Huß
cad37a8666
Write test for the slider entrance controlled by URI queries 2021-03-30 04:51:45 +02:00
Wolfgang Huß
3fa7e04d48
Delete unnecessary code 2021-03-30 04:51:44 +02:00
Wolfgang Huß
a8cfdf8192 Fix signup component and test 2021-03-22 14:53:14 +01:00
Wolfgang Huß
3856e10fbb Refactor locales for registration slider
- Activate validation hints for invite code and e-mail nonce again.
2021-03-22 13:34:06 +01:00
Wolfgang Huß
c658ddf7d2 Translate slider no public registration 2021-03-22 11:01:32 +01:00
Wolfgang Huß
720eb5a2ca Translate 'You are logged in!' 2021-03-22 10:26:43 +01:00
Wolfgang Huß
9291fbf013 Cleanup refactoring create account checkboxes after Ulf's suggestions 2021-03-22 10:21:00 +01:00
Wolfgang Huß
3504bbb123 Refactor and reduce create account checkboxes after Ulf's suggestions 2021-03-22 10:15:04 +01:00
Wolfgang Huß
62ed50a73d Clean out commented 'about' field 2021-03-19 13:36:39 +01:00
Wolfgang Huß
b10f32b772 Comment out the 'about' field 2021-03-19 13:33:11 +01:00
Wolfgang Huß
943138df67 Implement 'EmailDisplayAndVerify.vue' 2021-03-19 10:54:32 +01:00
Wolfgang Huß
fc5b0f1b37 Refine and translate registration sliders with database handling and auto login 2021-03-17 18:30:46 +01:00
Wolfgang Huß
b6fb98acdc Translate texts, first step, and fix database call and handling 2021-03-16 17:32:57 +01:00