summary refs log tree commit diff
path: root/src/Utils.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Speed up compilation a bitNicolas Werner2023-10-311-2/+0
|
* Add some event expiration functionNicolas Werner2023-07-041-0/+3
|
* Adapt to the new inherited variantNicolas Werner2023-04-111-5/+4
|
* Use the new mtxclient special effects refactoringLoren Burkholder2023-04-111-18/+19
|
* Implement unknown msgtype functionalityLoren Burkholder2023-04-081-1/+2
|
* Update spaces events automatically in the backgroundNicolas Werner2023-03-141-0/+3
|
* Get rid of year in license headersNicolas Werner2023-02-211-3/+1
| | | | | | See also: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/ https://hynek.me/til/copyright-years/
* Make single newlines cause a <br> by defaultNicolas Werner2023-01-311-1/+1
| | | | | | | | | | | | This should match what people expect from a chat application much better. The biggest reason not to do this, is because some people might paste markdown documents. For those people there is now a /cmark command, which disables most of our extensions to cmark, including the newline behaviour. There is a long discussion on the Fediverse and on Github linked below. Mastodon https://fosstodon.org/@deepbluev7/109771668066978726 fixes #757
* A whole new year full of excitement and possibilities!Nicolas Werner2023-01-021-0/+1
|
* Fix confetti in the sidebarNicolas Werner2022-12-171-3/+18
|
* VoIP v1 implementation (#1161)Rohit Sutradhar2022-10-141-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit for VoIP v1 implementation * Added draft of event handlers for voip methods * Added event handlers for VoIP events, added rejectCall, added version tracking for call version for V0 and V1 compatibility * Added call events to the general message pipeline. Modified Call Reject mechanism * Added message delegates for new events. Modified hidden events. Updated handle events. * Updated implementation to keep track of calls on other devices * Fixed linting * Fixed code warnings * Fixed minor bugs * fixed ci * Added acceptNegotiation method definition when missing gstreamer * Fixed warnings * Fixed linting
* Fix crash when creating link to room previewNicolas Werner2022-07-191-0/+3
|
* Updated call event namespaces to voipr0hit052022-07-151-3/+3
|
* Fix centering dialogsNicolas Werner2022-01-291-1/+1
|
* Update year in copyright notice to shut up lint jobNicolas Werner2022-01-011-0/+1
|
* use more literalsNicolas Werner2021-12-291-3/+3
|
* Fix more warnings and remove dead codeNicolas Werner2021-12-281-3/+2
|
* Mark rooms as direct chatsNicolas Werner2021-11-211-0/+7
| | | | | Either by accepting an invite or manually using /converttodm and revert with /converttoroom.
* Change indentation to 4 spacesNicolas Werner2021-09-181-124/+108
|
* Remove additional key requests preference codeJoe2021-07-241-3/+0
|
* Remove 'respond to key requests' functionalityJoseph Donofry2021-07-151-6/+0
|
* Avoid unnecessary QColor -> QString conversionsJoseph Donofry2021-06-081-2/+2
|
* fix macos build errortargetakhil2021-04-221-4/+4
|
* make util strip util functions non-static and move definition to cpp filetargetakhil2021-04-181-16/+4
|
* strip reply fallbacks from forwarded messagetargetakhil2021-04-181-0/+21
|
* Fix exif rotation in unencrypted roomsNicolas Werner2021-04-041-0/+4
|
* add /rainbow commandLordMZTE2021-03-261-1/+1
|
* Clean up notification code a bitNicolas Werner2021-03-171-0/+3
|
* Switch readImage to take a reference instead of a pointerLoren Burkholder2021-03-171-1/+1
| | | | There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
* Create function for processing whether a message is a replyLoren Burkholder2021-03-171-0/+3
|
* Update license headersNicolas Werner2021-03-051-0/+4
|
* Fix race when reading members from dbNicolas Werner2020-11-251-1/+3
|
* Add file uploadingNicolas Werner2020-11-251-1/+1
|
* Support voice callstrilene2020-07-101-9/+36
|
* Remove some redundant functionsNicolas Werner2020-05-301-36/+0
|
* Added an optional feature to show bigger emoji-only messages with 3 or less ↵lkito2020-05-211-0/+3
| | | | emoji
* Respect exif rotation of imagesNicolas Werner2020-04-261-0/+4
| | | | | | Sometimes thumbnails still have the wrong dimensions, as they are scaled to fit inside a rectange of the reported size in the image. Not sure, who is wrong there, the media repo or we.
* Add ability to toggle sidebar messages for encrypted roomsJoseph Donofry2020-04-211-1/+0
|
* Optimize includes a bitNicolas Werner2020-01-311-31/+2
|
* Fix build with build system optimizations of mtxclientNicolas Werner2020-01-291-1/+1
|
* Linkify links before sendingNicolas Werner2020-01-211-1/+1
|
* Escape blacklisted html tagsNicolas Werner2020-01-141-0/+4
|
* Reduce Cache.h includes further via one forward declarationNicolas Werner2019-12-151-1/+6
|
* Reduce overhead of Cache.hNicolas Werner2019-12-151-1/+1
|
* Update to c++17Nicolas Werner2019-12-141-9/+8
|
* Remove old timelineNicolas Werner2019-11-231-9/+5
|
* fixup bad room list translation commitNicolas Werner2019-11-231-3/+0
|
* Fix translation of roomlist message previewNicolas Werner2019-11-231-36/+63
| | | | | | | | This also makes long messages unreadable, because we don't shorten long usernames anymore. We may eventually want to do that again, but it is hard with translations and we probably want to shorten the displayname more, as before this change the message was only ever as long as the timestamp, which is usually just 5 characters...
* Fix lintingJoseph Donofry2019-07-281-11/+18
|
* Update translation contextJoseph Donofry2019-07-281-9/+9
|
* Address 'sent' translation issueJoseph Donofry2019-07-281-19/+34
|
* Fix bug with emoji font setting and clean lintingJoseph Donofry2019-07-261-0/+3
|
* Fix deprecated function call issues with Qt 5.13Joseph Donofry2019-07-041-0/+7
| | | | Update to mtxclient 0.3.0
* Fix santizize=undefined warning (overflow)Nicolas Werner2019-06-271-1/+1
|
* Further Improve Reply FunctionalityJoseph Donofry2019-06-131-0/+13
| | | | | | | Quoted replies now include matrix.to links for the event and the user. UI Rendering has been (slightly) improved... still very WIP. Restructured the reply structure in the code for future usability improvements.
* Update user colors to use Cache vs Utilsredsky172019-01-261-12/+0
| | | | | | | User colors are now stored in cache. This is consistent with other similar variables. I think there's a bug right now where it doesn't properly refresh colors for the TimeLineItem when the theme is changed.
* Author Color Fixesredsky172019-01-201-0/+12
| | | | | | | | | | Author color is now cached so that it will not be re-calculated each time a new message is posted. This cache gets cleared when the theme is changed. Additionally, the author color is now automatically refreshed when the theme is changed, fixing the issue where you had to change rooms before the colors would switch.
* Update user id color generationredsky172019-01-201-4/+0
| | | | | | | | | | | | | | | Update the author color generation. Now, instead of generating an entire hex string based on the user id, the user id instead is used to generate a hue value. After this hue value is created, there is some logic to tweak first the lightness and then saturation values to achieve a readable color (in contrast to the background). This change makes it so that user colors will not vary as wildly between the different themes. The values still are not cached and still do not update initially when the theme is changed. Both of these things will be resolved.
* Modified the code that generates user's colors so that it willredsky172019-01-181-2/+21
| | | | | | | | | | | | | work regardless of the theme choices the user makes. The code now incorporates the contrast between the background color and the color generated by the user_name when picking colors. It currently has two 'big' issues: 1. Colors are not cached. I am planning on adding a QHash for this a little later. This should improve performance by not calculating the color for the same users over and over and over again. 2. Theme changes do not trigger the colors to get refreshed. Currently, you will have to switch to a different room and back to get the colors to refresh.
* Make the author text slightly large.redsky172019-01-181-0/+4
| | | | Add author color generated based on user id.
* Use alignment instead of stretchKonstantinos Sideris2018-10-071-1/+1
|
* Adjustments for the minimized sidebarKonstantinos Sideris2018-10-071-0/+11
|
* Add option to configure the font sizeKonstantinos Sideris2018-10-011-0/+5
| | | | fixes #161
* Add method to center widgets & clean up unused headersKonstantinos Sideris2018-09-211-0/+5
|
* Improvements on the system themeKonstantinos Sideris2018-09-191-0/+3
|
* Mark unread rooms as such in the room listKonstantinos Sideris2018-09-131-0/+1
| | | | fixes #313
* Strip paragraph tagsKonstantinos Sideris2018-09-131-6/+2
| | | | fixes #438
* Trim whitespace from text messagesKonstantinos Sideris2018-09-121-5/+2
|
* Initial support for sending markdown formatted messagesKonstantinos Sideris2018-09-071-0/+11
| | | | fixes #283
* Fix double href links on username pillsKonstantinos Sideris2018-09-071-1/+5
|
* Add initial support for displaying formatted messagesKonstantinos Sideris2018-09-061-0/+16
|
* Merge matrix-structs into the client libKonstantinos Sideris2018-09-011-8/+11
|
* Add device ID and device fingerprint to settings page like in Riot. (#407)Rudi Floren2018-08-211-1/+8
|
* Consider the scale ratio when scaling down imagesKonstantinos Sideris2018-08-011-26/+2
| | | | fixes #393
* Add option to specify the scale factorKonstantinos Sideris2018-07-221-0/+6
| | | | | | fixes #357 fixes #335 fixes #230
* Add option to ignore key requests altogetherKonstantinos Sideris2018-07-221-0/+9
|
* Show device list in user profile & add option to create 1-1 chatKonstantinos Sideris2018-07-201-0/+3
|
* Move all files under src/Konstantinos Sideris2018-07-171-0/+194