Commit Graph

56 Commits

Author SHA1 Message Date
Nicolas Werner 5772447874
Require matrix v1.1 or greater 2022-06-25 16:16:54 +02:00
Nicolas Werner e98145daec
Fix key upload when doing SSO login 2022-03-13 17:59:35 +01:00
Nicolas Werner ac1d678254
Fix server switching to https after bootstrap
fixes #878
2022-03-07 05:27:06 +01:00
Nicolas Werner 9482ac4e7a
Allow explicit selection of SSO method
fixes #975
2022-03-06 19:51:17 +01:00
Nicolas Werner 909c11d2bb
Get rid of some shadowing 2022-01-29 18:03:25 +01:00
Nicolas Werner 4a80fdc951
Functional login page 2022-01-26 21:44:13 +01:00
Nicolas Werner 61404641d9
Update year in copyright notice to shut up lint job 2022-01-01 04:57:53 +01:00
Nicolas Werner d8ead9573b
Reduce allocations using QStringLiteral 2021-12-29 04:52:52 +01:00
Nicolas Werner bb290f9fec
Fix more warnings and remove dead code 2021-12-28 22:30:12 +01:00
Nicolas Werner 5ca98829f7
Some qt6 prep 2021-12-28 20:09:08 +01:00
Loren Burkholder f3aeb4b044
Switch icon theme to Fluent icons 2021-11-17 00:37:26 +01:00
Nicolas Werner a99eff7c0c
Fix SSO login showing password prompt 2021-11-11 20:20:15 +01:00
Nicolas Werner cfca7157b9
Change indentation to 4 spaces 2021-09-18 00:45:50 +02:00
Nicolas Werner 00f251753e
Use coeurl for networking
Something is still wrong on shutdown, need to debug that.
And CI will fail.
2021-06-30 02:43:36 +02:00
Nicolas Werner 7431b51d27
Update mtxclient to use new login parameters
fixes #558
2021-04-30 14:46:40 +02:00
Nicolas Werner 31cc727594
Fix disable certificate validation on login page 2021-03-08 13:44:38 +01:00
Nicolas Werner 47e97d490c
Add config option to disable tls validation 2021-03-06 20:52:08 +01:00
Nicolas Werner a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Jedi18 4a5b9d014a change mtxclient url, fix login page assert failure and dendrite registration bug 2021-02-25 18:10:06 +05:30
Nicolas Werner ebd12a6f33 Fix login with SSO and Password supported 2021-02-19 15:48:43 +01:00
Nicolas Werner 9e48659016 Add a few missing strings on the login page to translations 2021-01-27 19:24:06 +01:00
Jedi18 d7bdff27b0 Fix assert failure due to calling versionOk on a different thread 2021-01-22 11:47:19 +05:30
Nicolas Werner 0c0c69074d Fix shadowing in LoginPage.cpp 2021-01-06 11:01:41 +01:00
Nicolas Werner a13502b881 lint 2021-01-01 04:14:34 +01:00
d42 b732ea432b rename login_method -> loginMethod to fit the Nheko coding style 2020-12-31 17:57:09 +01:00
d42 4bc25ffb15 find sso flow in all of the flows 2020-12-31 17:30:13 +01:00
Nicolas Werner 01e38d12ed Fix some compiler warnings 2020-12-25 00:08:06 +00:00
Kirillpt 68b2f6cb4f
Improve Register page (#346)
* add username error label, add word wrapping for error labels

* make lint

* last commits

* remove font, and remove some lambdas

* add QRegularExpression for regex

* improve review things

* add isModified() for checkFields()

* add check isModified() for  all fields in checkFields

* Update src/RegisterPage.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>

* remove emit call for showError

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2020-11-30 22:30:33 +00:00
DeepBlueV7.X d13a1c6494
Apply suggestions from code review 2020-11-25 00:21:45 +01:00
kirillpt 4e8a2d8c9e remove QFontMEtrics declaration 2020-11-25 02:03:25 +03:00
kirillpt daf8531e3f fixed error_label_ below login button, now it's calculating height and uses correct word wrapping 2020-11-25 01:42:35 +03:00
kirillpt 3047f1a89f remove some useless matrixid layout, and move error_label_ under homeserver input(FIXME) 2020-11-24 02:16:03 +03:00
kirillpt b00ee2c1c5 fix word wraping for matrixid error message 2020-11-24 00:24:26 +03:00
kirillpt 566987bdf9 make lint 2020-11-24 00:10:43 +03:00
kirillpt ac73f10eba move error_matrixid label below matrixid input, made hide/show for the label, made red underline for invalid input, add to TextField class isValid() setValid() for custom validation 2020-11-23 23:33:53 +03:00
kirillpt 4032f6e113 make lint 2020-11-23 09:44:30 +03:00
kirillpt 8a2cfddf7e Added QLabel for matrixIdError output and added new function which output input id error, improve code like suggest @deepbluev7, return for error_label setWordWrap 2020-11-23 09:44:02 +03:00
kirillpt ec34af3d85 make lint 2020-11-23 03:20:37 +03:00
kirillpt 89d28d3b69 fixed issue 292, but removed wordWrap from error_label_, because hint looks bad with it 2020-11-23 03:18:11 +03:00
Nicolas Werner 43d2ebc095 Fix Qt5.15 issues
fixes #214
2020-06-05 23:34:00 +02:00
Nicolas Werner 4ee9e5c27c Improve compile times a tiny bit 2020-05-26 22:54:51 +02:00
Nicolas Werner 6befadeec8 Remove shadowing loginMethod 2020-05-10 01:00:20 +02:00
Nicolas Werner 9713284435 Fix not being able to log http status on login 2020-05-10 00:04:45 +02:00
Nicolas Werner 7b1fa60cc6 Add SSO
closes #94
2020-05-09 23:33:03 +02:00
Nicolas Werner 813790e603 Improve Login and Register page hinting 2020-05-09 23:33:03 +02:00
Nicolas Werner 5115339636 Wrap error label on login page
fixes #30
2020-02-25 01:51:21 +01:00
Nicolas Werner 7ccc120f63 modernize: use nullptr 2020-02-04 04:58:43 +01:00
Nicolas Werner 127fb9370b Remove metatypes from headers 2020-01-31 16:08:30 +01:00
Nicolas Werner 4cd260bfcf Optimize includes a bit 2020-01-31 15:11:21 +01:00
Nicolas Werner 94a8c358d1 Fix typo in log message 2019-06-27 23:01:07 +02:00