Loren Burkholder
b266185ce8
Handle incomplete commands better
2023-03-07 19:17:26 -05:00
Loren Burkholder
2dc7492456
make lint
2023-03-01 18:04:36 -05:00
Loren Burkholder
9616ee51b3
Use QSet<QString> instead of QStringList
2023-03-01 18:01:02 -05:00
Loren Burkholder
ec8820ac64
Fix some nitpicks
2023-03-01 17:04:17 -05:00
Loren Burkholder
b4f8d4947f
Simplify code a bit
2023-02-28 20:10:25 -05:00
Loren Burkholder
22ac5d861e
Move command calculation logic into InputBar
2023-02-28 20:10:25 -05:00
Loren Burkholder
b6ef00b5ee
Show warning when invalid command is entered
...
Fixes #1363
Please note that this doesn't prompt when you try to send a message with a bad command.
2023-02-28 20:10:25 -05:00
Nicolas Werner
96f791daf1
Get rid of year in license headers
...
See also:
https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
https://hynek.me/til/copyright-years/
2023-02-21 23:48:49 +01:00
Nicolas Werner
0c3d46795b
Make single newlines cause a <br> by default
...
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
2023-01-31 18:22:12 +01:00
Nicolas Werner
872b00807f
Make newline behave consistently in markdown mode
...
by always sending as formatted when a newline is in the body
2023-01-28 10:50:39 +01:00
Nicolas Werner
c5edd21e6b
Try to make clang-format happy
2023-01-09 05:00:22 +01:00
Nicolas Werner
008f71cdbd
Document Safari workaround
2023-01-09 04:53:14 +01:00
Nicolas Werner
6d8dabf623
Possibly fix paste from Safari
2023-01-09 04:49:53 +01:00
Nicolas Werner
3a6a905429
A whole new year full of excitement and possibilities!
2023-01-02 04:25:33 +01:00
Loren Burkholder
fa0c14b846
confetti ( #1243 )
...
* 🎉 (confetti) message support. Thanks @LorenDB !
2022-12-10 10:17:15 -05:00
Loren Burkholder
8ecbb39dc6
cppcheck stuff ( #1200 )
...
* cppcheck stuff
* Update src/ui/RoomSettings.cpp
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
* Update src/ui/RoomSettings.cpp
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
* Fix linting
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
2022-10-03 21:57:30 +00:00
Nicolas Werner
88cbac1695
Basic threading support
2022-09-30 03:27:05 +02:00
Nicolas Werner
d5a6a46bc5
Pass context object to properly disconnect when this is deleted
2022-07-23 13:55:53 +02:00
Nicolas Werner
0ad74590d4
Fix matrix.to link escaping
...
Properly escapes in replies and with unmatched [].
fixes #854
2022-07-20 14:05:10 +02:00
Nicolas Werner
42b53817e0
Fix users with @room in the name pinging the whole room when replied to
2022-07-05 12:57:17 +02:00
Nicolas Werner
678806749d
Add a /command to redact all visible messages sent by a user
2022-07-01 10:24:12 +02:00
Nicolas Werner
35ff02ce48
Remove a few more headers
2022-06-18 02:31:01 +02:00
DeepBlueV7.X
835fcf6325
Merge pull request #1095 from syldrathecat/subtle-paste-fixes
...
Subtle corrections to paste behaviors
2022-06-15 14:31:46 +00:00
Nicolas Werner
9e14218bc6
Fix failed uploads not removing uploads
...
fixes #1098
2022-06-15 15:55:03 +02:00
SyldraTheCat
8a6acd1d86
Subtle corrections to paste behaviors
2022-06-14 12:04:34 +00:00
Nicolas Werner
ac5e3fe3e8
Send images on enter if input bar is empty
2022-05-23 12:32:04 +02:00
Nicolas Werner
62bf1b253e
Rework focus handling
2022-05-07 18:53:16 +02:00
Nicolas Werner
a59b3147a6
Add reasons to everything
...
fixes #1030
2022-03-30 23:40:12 +02:00
Nicolas Werner
c91f91d5d3
Add /knock command
2022-03-30 21:15:22 +02:00
Nicolas Werner
0d9a3ff4cd
Fix cursor moving to the end when editing in the middle
2022-03-30 07:02:52 +02:00
Nicolas Werner
82cdb483a9
Fix arrow keys
2022-03-30 06:24:23 +02:00
Nicolas Werner
14f7fe282f
Cleanup some unused code
2022-03-30 02:07:32 +02:00
tastytea
179ae53b40
Don't send thumbnails that are larger than the original
...
- Set PNG compression to maximum
- Don't upload thumbnail if it is not at least 10% smaller than the
original
2022-03-24 20:13:12 +01:00
Nicolas Werner
637db55e08
Default body to shortcode if unset and sending sticker
2022-03-22 19:45:25 +01:00
Nicolas Werner
922c63ef27
Add a default filename for clipboard pastes again
2022-03-22 18:28:35 +01:00
Nicolas Werner
447a3d4cb9
Try to improve thumbnailing on macOS
2022-03-22 18:12:39 +01:00
Nicolas Werner
96aacf8068
Small fixes to video thumbnailing
2022-03-22 01:21:08 +01:00
Nicolas Werner
c87af215e1
Actually pass the mimetype we intended
2022-03-21 23:19:18 +01:00
Nicolas Werner
e52f90a941
Properly fix image uploads without image/* format
2022-03-21 23:15:09 +01:00
Nicolas Werner
5734641778
Fix potential crash if there is no image format pasted
2022-03-21 22:54:44 +01:00
Nicolas Werner
a9486ec896
Fix thumbnails for encrypted files and factor upload box out
2022-03-21 05:49:12 +01:00
Nicolas Werner
830f4d4942
Please clazy
2022-03-21 01:35:47 +01:00
Nicolas Werner
3aeeed49a9
Also stop audio player
2022-03-21 01:32:31 +01:00
Nicolas Werner
3beed3508a
Thumbnail video
2022-03-21 01:24:53 +01:00
Nicolas Werner
fd83858715
Add duration and resolution to files
2022-03-21 00:48:27 +01:00
Nicolas Werner
d3471a1097
Move uploads to InputBar
2022-03-20 22:49:33 +01:00
Malte E
d765305595
properly commit preedit text
2022-03-19 22:30:35 +01:00
Nicolas Werner
b3221b09d6
Add /reset-state command
2022-02-05 08:40:56 +01:00
Nicolas Werner
b106eafb0e
Initial qml root window
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