Commit Graph

285 Commits

Author SHA1 Message Date
Jedi18 d535cc5e75 add error message and update avatars on avatar change in timeline and user profile dialog 2021-02-02 13:30:47 +05:30
Jedi18 c3e02240bf update room and global avatar through user profile 2021-02-01 22:13:04 +05:30
Jedi18 e09e587796 shifted isUsernameEditingAllowed to qml from c++ 2021-01-29 12:06:38 +05:30
Jedi18 9b5a287d14 made requeste changes 2021-01-29 11:55:24 +05:30
Jedi18 195bb0499b fix linting 2 2021-01-29 00:15:40 +05:30
Jedi18 fa7ad4f234 Shifted fetching of global username fom timeline model to user profile 2021-01-29 00:09:11 +05:30
Jedi18 3b82b2ff97 fix linting 2021-01-28 23:53:56 +05:30
Jedi18 b3f29f592b Changed edit method from double clicking to an edit button 2021-01-28 23:35:02 +05:30
Jedi18 87490c29cd Username can be edited by double clicking on text, added global user profile menu action in user info widget 2021-01-28 20:03:50 +05:30
Jedi18 5e3f513655 update room specific username from userprofile 2021-01-27 11:03:08 +05:30
Nicolas Werner 31881e14d9 Make it easier to understand, what button to click for verification from profile 2021-01-12 15:00:59 +01:00
Nicolas Werner 39f9b7d90a Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
2021-01-10 22:41:56 +01: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
kirillpt 5a3905b337 change Toggle behavior 2020-11-26 23:45:44 +03:00
kirillpt f0eb4bfe1e fix validation feature in TextInput, it was trouble in password field in the login page 2020-11-26 22:04:24 +03:00
DeepBlueV7.X 140d927463
Merge pull request #339 from Kirillpt/issue_331
fix #331
2020-11-25 22:18:28 +01:00
DeepBlueV7.X 54d75466c7
Merge pull request #335 from Nheko-Reborn/qml-text-input
Qml text input
2020-11-25 21:59:23 +01:00
Nicolas Werner c74077a41f Implement Qml drag and drop 2020-11-25 19:05:12 +01:00
kirillpt 46605d86f2 maybe fix toggle work in code 2020-11-25 18:57:54 +03:00
DeepBlueV7.X ebe0cd79d7
Update src/ui/TextField.cpp 2020-11-25 00:10:13 +01: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
Mayeul Cantan 5f086cd93d Simplify PainterHighQualityEnabler code
There is no need to iterate over a list, flags can be applied and stored
simultaneously.
2020-11-07 13:54:06 +01:00
Mayeul Cantan 6219604ff8 Smooth avatars in widgets 2020-11-07 13:53:01 +01:00
Nicolas Werner 12fff7408e Optimize build 2020-10-27 17:45:28 +01:00
Nicolas Werner 7b6fab3373 Calculate verification status from cross-signing sigs and update dynamically 2020-10-08 00:20:12 +02:00
Nicolas Werner bca29a4227 Make steps in verification flow explicit 2020-10-05 22:12:10 +02:00
Nicolas Werner 94690ebd4c Clean up verification and key cache a bit 2020-10-02 01:14:42 +02:00
Chethan2k1 e8eeb480d5 Fix Wrong Emojis Issue in Room Verification 2020-09-04 12:02:24 +05:30
Nicolas Werner 10f09d4f43 Fix catch by value warning 2020-09-03 09:37:16 +05:30
CH Chethan Reddy 0d1dd29b19 Small Fixes 2020-08-29 13:37:51 +05:30
CH Chethan Reddy 19cfd08a55 Verify signatures and find trusted devices 2020-08-25 15:41:27 +05:30
CH Chethan Reddy 1d299951b6 Cache Fix 2020-08-24 13:58:00 +05:30
CH Chethan Reddy 8a4bd37fea [WIP] Room Verification Works! 2020-08-18 11:29:02 +05:30
CH Chethan Reddy 2e20049b36 [WIP] Room-Verification Messages 2020-08-09 08:35:15 +05:30
CH Chethan Reddy 1fcd768f88 Adding Room Key Verification Stuff 2020-07-30 22:10:27 +05:30
CH Chethan Reddy a2979c2df1 Updating keys of outdated encrypted users 2020-07-30 22:10:27 +05:30
CH Chethan Reddy 1103cc15cf Adding icons to UserProfile 2020-07-30 22:10:27 +05:30
Nicolas Werner 08028d5c57 Refactor UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy ac1fbbb69f Some issue with UserProfile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy 6fae36abc4 [WIP] Add Caching for users 2020-07-30 22:10:27 +05:30
CH Chethan Reddy 00e36b6068 Add some Userprofile buttons 2020-07-30 22:10:27 +05:30
CH Chethan Reddy f9c0f4dd54 Add C++ Model for DeviceList 2020-07-30 22:10:27 +05:30
Chethan2k1 a54a973ad6 Adding DeviceList for userprofile 2020-07-30 22:10:27 +05:30
CH Chethan Reddy 64f204d984 Rewrite UserProfile in qml 2020-07-30 22:10:27 +05:30
Felix Yan 751c0526d7
Correct a typo in SnackBar.cpp 2020-06-22 20:29:47 +08:00
Nicolas Werner 43d2ebc095 Fix Qt5.15 issues
fixes #214
2020-06-05 23:34:00 +02:00
Nicolas Werner 813790e603 Improve Login and Register page hinting 2020-05-09 23:33:03 +02:00
Nicolas Werner 27350cf51e Fix high CPU usage on high dpi screens
Fixes #180
2020-04-29 20:23:00 +02:00
Nicolas Werner b25e481418 Clean up unused avatar functions 2020-03-22 18:03:08 +01:00
Nicolas Werner 328a3c7ebd Fix avatar layering in room list 2020-03-03 01:23:04 +01:00
Nicolas Werner 9efa001bcf Fix high dpi scaling of avatars 2020-02-28 03:20:27 +01:00
Adasauce 6e6fe0cad2
remove setStyleSheet calls directly from widget code
removed from:
 - emoji panel scrollbars
 - emoji category labels
 - splitter image handles
 - textfield setTextColor impl

small change to the category separator label for better contrast /
readability in dark mode.

removed setTextColor completely from TextField. Doesn't appear to be in
use anywhere, and focus going more toward qss themeing from qproperty
setting.
2020-02-21 15:38:19 -04:00
Nicolas Werner 2b531227a8 modernize: use override 2020-02-04 15:18:26 +01:00
Nicolas Werner 7ccc120f63 modernize: use nullptr 2020-02-04 04:58:43 +01:00
Nicolas Werner 63f3071445 Remove more unneeded headers 2020-01-31 16:25:43 +01:00
Nicolas Werner 4cd260bfcf Optimize includes a bit 2020-01-31 15:11:21 +01:00
Nicolas Werner 96ad385331 Fix misc ci errors 2020-01-26 16:38:31 +01:00
Nicolas Werner f5b8c9bb31 Remove use of deprecated enum 2020-01-19 19:07:04 +01:00
Nicolas Werner ebeb1eb772 Implement avatars in qml timeline 2019-11-23 20:06:14 +01:00
Aidan Hahn 69fbaf9ae6
ran make lint to apply style guidelines 2019-09-02 23:30:59 -07:00
Aidan Hahn a38f390355
Merge branch '0.7.0-dev' of https://github.com/Nheko-Reborn/nheko into 0.7.0-dev-bugfix-71 2019-09-01 16:32:09 -07:00
Aidan Hahn a1c2aed36a
Refactored Avatar and RoomInfoListItem to access rounding settings in place 2019-09-01 14:41:23 -07:00
Aidan Hahn b10d453bd5
add controll bits for avatar rounding 2019-08-28 21:36:28 -07:00
Aidan Hahn 8a47388ec6
rounding options for Avatar class 2019-08-28 18:34:04 -07:00
Aidan Hahn 26002bf0e4
added logic in avatar class to determine rounding type 2019-08-27 23:31:04 -07:00
Nicolas Werner c5f0c3221f Fix usage of deprecated find 2019-08-28 08:21:07 +02:00
Nicolas Werner 8b5515d5c1 Remove unused variables 2019-08-26 08:51:56 +02:00
Nicolas Werner 52056a79fa Try to reduce memory usage by reusing avatar pixmaps 2019-08-26 08:51:56 +02:00
Nicolas Werner 1c9cc33902 Try to localise timestamps
I'm not sure, if that is the right way, but Qt doesn't really have a way
to format custom localised dates, so I tried to find the closest
approximations to what we currently have.

Relates to #69
2019-07-28 12:55:08 +02:00
Joseph Donofry 4c0d4f35fe
Fix support for Qt versions < 5.11 2019-07-04 22:58:56 -04:00
Joseph Donofry 2484e0c118
Fix formatting issues 2019-07-04 21:31:28 -04:00
Joseph Donofry c0a010acbb
Fix deprecated function call issues with Qt 5.13
Update to mtxclient 0.3.0
2019-07-04 21:20:19 -04:00
Konstantinos Sideris aa486a5c0c Adjustments for the minimized sidebar 2018-10-07 14:09:47 +03:00
Konstantinos Sideris 3fdfc9b69f Remove Scrollbar 2018-10-06 18:39:11 +03:00
Konstantinos Sideris 4b1b062388 Enable debug logs 2018-09-30 14:33:54 +03:00
Konstantinos Sideris 9038c950ae Remove pixel value from fonts 2018-09-30 13:24:36 +03:00
Konstantinos Sideris bbf37bf633 Don't clear selection when a context menu is requested 2018-09-26 19:21:10 +03:00
Konstantinos Sideris c64a1bf759 Move TextLabel into its own file 2018-09-26 15:17:14 +03:00
Konstantinos Sideris 1716502eff Improvements on the system theme 2018-09-19 22:42:26 +03:00
Konstantinos Sideris 5267e0262b Remove custom stylesheet for qmenu 2018-09-08 14:55:30 +03:00
Konstantinos Sideris aa2f6ce77d Simplify dialog creation 2018-08-11 13:50:56 +03:00
Konstantinos Sideris a845ccb8d7 Use repaint instead of update on the loading animation 2018-07-25 23:10:45 +03:00
Konstantinos Sideris 1f47a6af3a Improve the style of snackbar a bit 2018-07-25 23:07:56 +03:00
Konstantinos Sideris 83008f44e4 Show device list in user profile & add option to create 1-1 chat 2018-07-20 16:15:50 +03:00
Konstantinos Sideris d7e5171bfa Create user profile modal 2018-07-20 12:02:35 +03:00
Konstantinos Sideris 0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Konstantinos Sideris 9a0e18dea7 Add a timeline message when encryption is enabled 2018-07-07 13:39:53 +03:00
Konstantinos Sideris 3bc8d791fb Don't download dependencies during build
fixes #346
2018-07-04 01:38:54 +03:00
Konstantinos Sideris 18061f0600 Use the correct avatar size for HiDPI displays 2018-05-11 16:00:14 +03:00
Konstantinos Sideris 701aa93b0a Add scrollbar in the settings menu 2018-05-09 01:00:10 +03:00
Konstantinos Sideris 7d809be79f Hide SnackBar initially & guard against access of an empty list 2018-05-08 23:38:57 +03:00
Konstantinos Sideris 763330fd3c Add member list 2018-05-01 19:35:28 +03:00
Konstantinos Sideris 2fe0dbb38c Fix CI & adjust snackbar animation 2018-03-17 11:38:06 +02:00
Konstantinos Sideris 4a6becacca Add fancy snackbar animation 2018-03-16 17:56:45 +02:00
Konstantinos Sideris 343acaf434 Remove opacity animation from the scrollbar
fixes #270
2018-03-16 17:29:21 +02:00
Konstantinos Sideris fdd5051dcf Remove QPropertyAnimation from modals to work around a regression on Qt 5.10.1 (#87) 2018-02-17 18:43:40 +02:00
Konstantinos Sideris 59e4148a7c Fix transparency issue on custom dialogs
fixes #87
2018-02-17 14:04:46 +02:00
Konstantinos Sideris ba8faa357f Remove empty destructors 2018-02-10 16:29:09 +02:00
Konstantinos Sideris 48dabdfdc7 Don't dismiss the loading overlay by clicking 2018-01-22 16:47:08 +02:00
Konstantinos Sideris 5b09c8e652 Handle surrogate pairs in avatars 2018-01-12 10:21:53 +02:00
Konstantinos Sideris 8beef5e61f Dismiss modal by clicking on the overlay 2018-01-11 18:10:18 +02:00
Konstantinos Sideris eaf05748ff Initial support for read receipts 2018-01-03 18:06:29 +02:00
Konstantinos Sideris ef0b0f6879 Add menu to invite users 2017-12-10 23:59:50 +02:00
Konstantinos Sideris 19bae2a2e6 Add gui option for joining rooms (#25) 2017-12-10 15:22:01 +02:00
Konstantinos Sideris 6415c4125f Add style colors for the ScrollBar 2017-12-05 14:13:26 +02:00
Konstantinos Sideris f36e498503 Update system theme 2017-11-25 15:14:37 +02:00
Max Sandholm 19b526d453 Use system color scheme (using a Qt stylesheet) #104
The color scheme of nheko obeys the default color theme of Qt
(i.e. the system theme). It uses a Qt stylesheet to accomplish this,
which means replacing the color theme with a custom theme would only
be a matter of writing a new style sheet and loading it into the app.
2017-11-16 16:33:52 +02:00
Benjamin Saunders 5bd5555a51 Use C++11 braced list style (#121) 2017-11-05 23:04:55 +02:00
Konstantinos Sideris 886edd03fb Add dummy settings menu 2017-11-02 00:41:13 +02:00
Konstantinos Sideris c18a49915b Save the changes between syncs in cache
- Fixes high cpu issues caused by the serialization of the whole
  in-memory state.
- Display name changes are now visible in the timeline.
2017-10-28 20:46:34 +03:00
Konstantinos Sideris a17b6dffaf Clean up headers 2017-10-28 15:46:39 +03:00
Konstantinos Sideris 845228ac6a Add scroll-down button 2017-10-27 22:20:33 +03:00
Konstantinos Sideris c6e1068e0e Lint 2017-10-23 00:19:35 +03:00
Rokas Kupstys 3205e5fdd3 Make sidebar topic expand on click and fix html formatting of elided text. (#96)
Fixes #95
2017-10-20 20:58:23 +03:00
Konstantinos Sideris 76ddfb792b Add /join command support 2017-10-08 22:38:38 +03:00
Konstantinos Sideris ac525970b0 Add snackbar 2017-10-08 22:01:18 +03:00
Konstantinos Sideris 0c0ac68bc2 Remove extra clang-format options 2017-10-01 12:51:29 +03:00
Konstantinos Sideris f351b00075 Manually remove KDE accelerators
fixes #14
2017-09-24 15:25:57 +03:00
Konstantinos Sideris 29e21e2970 Merge branch 'images' 2017-09-10 13:13:02 +03:00
Konstantinos Sideris 1bfe48de75 Style change again 2017-09-10 12:59:21 +03:00
Konstantinos Sideris edff71bc24 Implement image uploads (#24) 2017-09-10 12:58:00 +03:00
Konstantinos Sideris 2644e4acca Small style change 2017-08-20 13:47:22 +03:00
Konstantinos Sideris 9189782d3b macOS: Get rid of text field's focus border 2017-08-12 13:21:52 +03:00
Konstantinos Sideris 30fb46e25b Use pixels to specify the font sizes
Basically reverts the last font related commits since pointSize isn't
as reliable as pixelSize.

Also some layout values (margins, spacings) have been moved out to Config.h.
2017-07-15 17:11:46 +03:00
Konstantinos Sideris 140cbd3c27 Slow down spinner 2017-07-02 16:44:05 +03:00
Konstantinos Sideris b8c8fed655 Show confirmation dialog on logout
Minor stylistic refactoring

closes #29
2017-06-02 18:04:51 +03:00
Konstantinos Sideris 251f569a5c Add custom scrollbar on the timeline 2017-05-24 22:45:13 +03:00
Konstantinos Sideris e44cc374e1 Use strongly typed enums 2017-05-08 00:51:03 +03:00
Konstantinos Sideris 415ef7e9c7 Add spinner to hide uninitialized layout after login 2017-04-26 02:24:10 +03:00
Konstantinos Sideris 42bb9bb63a Add full emoji support 2017-04-23 21:31:08 +03:00
Konstantinos Sideris 3b0ff1a4cd Add initial support for unread message count
- Add border width on Badge
2017-04-15 02:56:04 +03:00
Konstantinos Sideris 68d0696ca4 Decrease button's animation duration 2017-04-11 18:54:24 +03:00
Konstantinos Sideris 193490bd9e Remove halo animation 2017-04-11 18:45:01 +03:00
Konstantinos Sideris 3d3f2ec33e Add travis CI 2017-04-09 03:54:39 +03:00
Konstantinos Sideris 4f45575c79 Initial commit 2017-04-06 02:06:42 +03:00