Commit graph

2365 commits

Author SHA1 Message Date
Mm2PL 736df48788
Smol fix. 2019-10-22 16:04:36 +02:00
Mm2PL e005fe806a
Comment stuff
This includes:
 - Adding two comments
 - Fixing one spelling mistake.
2019-10-19 11:41:23 +02:00
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 f6c780b2e7
Smol change in ENV.md. 2019-09-25 12:33:34 +02:00
Mm2PL 02dc0a4e1d
Reword docs slightly. 2019-09-24 18:39:15 +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 8c58383298
Merge pull request #1323 from AnotherFoxGuy/ci-fix
🐛 Fixed Conan failing to install the packages in appveyor
2019-09-21 10:35:01 +02:00
Edgar fb069672f8
🐛 Fixed Conan failing to install the packages in appveyor 2019-09-21 10:30:59 +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 8c07f8a995 Update issue template
Now mentions that the program version can be copied from the "About"
page.
2019-09-19 23:31:10 +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 ffd63d9407
Merge pull request #1316 from Chatterino/moderation
Pausing while key is pressed + no more moving highlights
2019-09-18 16:15:01 +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 3c5d8a1761 added missing licese file for qtkeychain 2019-09-18 14:43:16 +02:00
fourtf 9b6f53ab75
Merge pull request #1318 from Chatterino/irc-support
Irc support
2019-09-18 14:24:48 +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