Commit graph

1816 commits

Author SHA1 Message Date
Mm2PL
77af5d54cf
Change more things.
Things changed:
 - make getImageFileFormat case insensitive
 - use QTextEdit::dragEnterEvent instead of QAbstractScrollArea::dragEnterEvent,
 - Make dragEnterEvent() and dropEvent() overrides.
2019-10-11 17:00:26 +02:00
Mm2PL
bf434f3ac5
Fix the stupid things.
This includes:
 - NuulsUploader.cpp
   - changing upload delay to a #define
   - moving png conversion code to `boost::optional<QByteArray> convertToPng(QImage image)`
   - in uploadImageToNuuls: moving content type definition to a variable, move things around a bit to eliminate an if
   - in upload: adding a comment about `source->hasUrls()` and `source->urls()`, change `uploadQueue.size()` to `!uploadQueue.empty()`
 - ResizingTextEdit.cpp
   - changing #include order
2019-10-11 15:41:33 +02:00
Mm2PL
970503b755
Apply last suggestion and fix mistake not letting the user upload an
image after attempting to upload a file that is not an image.
2019-09-26 14:42:30 +02:00
Mm2PL
205122ee68
Avoid copying a QUrl in upload() when pasting files from the filesystem. 2019-09-26 14:24:41 +02:00
Mm2PL
b55d08df8e
Renamed the pastedImage signal to imagePasted. 2019-09-25 22:39:02 +02:00
Mm2PL
4e9951371f
Applied a bit of foutf's suggestions. Replace uploadQueue.size() with .empty() and swap if/else bodies, move non empty queue check outside of the timer on line 60, move getImageFileFormat to an anonymous namespace, rename pasteFromClipoard to upload(), removed usesless comment, shortened message on line 83, use QMimeData.hasUrls() and QMimeData.urls(), moved GIF format case in upload() more to the top, call original functions in canInsertFromMimeData and dragEnterEvent which are overriden 2019-09-25 22:21:26 +02:00
Mm2PL
298c013fa0
Rename Env::imagePasteSiteUrl to Env::imageUploaderUrl. 2019-09-25 12:51:17 +02:00
Mm2PL
1a77df1674
Delete overloads for uploadImageToNuuls(). Use TypedBytes in the main
definition. Use QHttpMultiPart instead of manually creating the
request.
2019-09-24 18:28:28 +02:00
Mm2PL
e0eb4e5a6d
I'm Pepega too. Added two missing files. 2019-09-24 16:08:12 +02:00
Mm2PL
65fab779c5
Redo all changes done before breaking the branch. 2019-09-23 19:36:52 +02:00
Rasmus Karlsson
5871414e6b Possibly fixed PubSub over 50 listens
Keep an eye out on #1189
2019-09-21 12:46:10 +02:00
Rasmus Karlsson
137d7910c0 move more handlers from write to read 2019-09-21 11:57:09 +02:00
Rasmus Karlsson
d94be74007 handle clearchat in read connection 2019-09-21 11:54:30 +02:00
Rasmus Karlsson
88da9501f7 handle ROOMSTATE in read connection too
this fixes the "recent messages not loading" issue
2019-09-21 11:45:55 +02:00
Rasmus Karlsson
8312d4b112 Fix USERSTATE not being handled unless you write in a channel.
This commit might re-enable some duplicate messages like host requests
and what-not.
2019-09-21 11:38:08 +02:00
pajlada
452b65b4dd
Merge pull request #1315 from leon-richardt/commit-hash-settings
Add Version Information to "About" Page
2019-09-21 10:10:04 +02:00
Leon Richardt
baf52d7563 Add version information to "About" page 2019-09-19 23:31:04 +02:00
Leon Richardt
ddcce73111 Use Version singleton to set window title 2019-09-19 23:30:18 +02:00
Leon Richardt
9c59efb985 Provide singleton class for version information 2019-09-19 23:30:18 +02:00
fourtf
758a6bb41c NetworkRequest onError now uses NetworkResult 2019-09-19 19:03:50 +02:00
fourtf
986694e4bc added multipart support to NetworkRequest 2019-09-19 18:26:38 +02:00
fourtf
ce53653ecd remoed nullableptr 2019-09-19 12:19:50 +02:00
fourtf
88d8bf7cec renamed members in Helpers.cpp 2019-09-18 16:32:07 +02:00
fourtf
5ca0fc0c8f
Merge branch 'master' into moderation 2019-09-18 16:14:45 +02:00
fourtf
277bd5b179 maybe?? 2019-09-18 16:01:41 +02:00
fourtf
4d99d2dade maybe? 2019-09-18 15:30:17 +02:00
fourtf
4bb0b79348 fix compilation on macos maybe 2019-09-18 15:12:23 +02:00
fourtf
99f99f0cff smol fixes 2019-09-18 14:20:21 +02:00
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
997a0598cd changed tab title to "Irc (beta)" 2019-09-18 11:16:07 +02:00
fourtf
07133166d9 added setting to show unhandled irc commands 2019-09-18 11:11:50 +02:00
fourtf
765a75f158 added irc commands 2019-09-18 10:59:28 +02:00
fourtf
27d6cf2bfd reconnect for irc + show errors + nickRequired 2019-09-18 08:05:51 +02:00
fourtf
96dac0fd3d moved chatters to ChannelChatters 2019-09-17 12:11:11 +02:00
fourtf
6298b74884 fixed compilation on non-msvc 2019-09-16 21:08:14 +02:00
fourtf
13c9aabf29 show all irc messages for debugging 2019-09-16 18:01:32 +02:00
fourtf
cadff4c430 Fixes #1259 highlight not added when changing channel 2019-09-16 11:54:34 +02:00
fourtf
89fd3bfce9 hide tooltip on split::leaveEvent 2019-09-16 11:48:17 +02:00
fourtf
40c1857c90 added additional dropdown for moderation mode 2019-09-16 11:44:03 +02:00
fourtf
3a9f9fa17b added setting for pause on hover length 2019-09-16 11:36:19 +02:00
fourtf
602a66f5bc Fixes #963 Highlights move while paused 2019-09-16 10:55:54 +02:00
fourtf
fd8987cf1b fixed typo 2019-09-16 10:44:05 +02:00
fourtf
63126899ec added pause while key is down 2019-09-16 10:43:20 +02:00
fourtf
b06918eb47 2.1.4 2019-09-15 19:32:31 +02:00
fourtf
84b1efcd24 fixes #1304 emote.name eating the .name 2019-09-15 19:05:04 +02:00
fourtf
04f8875c4d fixes #1303 now searches using search text instead of message text 2019-09-15 18:29:50 +02:00
fourtf
0cb918b96a fixed spaces in the wrong place 2019-09-15 17:01:18 +02:00
fourtf
b1bf60f286 added a critical detail 2019-09-15 16:56:44 +02:00
fourtf
7cbbd72e7f disable updates on windows nightlies 2019-09-15 15:45:04 +02:00
fourtf
a390649d0f added sasl auth 2019-09-15 13:15:29 +02:00