Commit graph

3756 commits

Author SHA1 Message Date
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
pajlada 4e48416600
Merge pull request #1337 from leon-richardt/clang-format-fix
Fix clang-format Only Reformatting .cpp Files
2019-09-25 03:56:45 -07:00
Leon Richardt 0e923b1e33 Fix clang-format only reformatting .cpp files 2019-09-25 12:55:06 +02:00
pajlada c25ac38aa5
Merge pull request #1309 from leon-richardt/sort-filelist
Sort File Names When Updating File List
2019-09-25 03:53:20 -07: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
Leon Richardt 754f5c968a Sort file list before writing to project file
Now using the built-in Python `list.sort` method to sort files.
This should ensure consistent behavior on all systems and prevent
unnecessary merge conflicts.
2019-09-23 13:24:24 +02:00
fourtf 367b1970fd use C_DEBUG instead of QT_DEBUG 2019-09-22 18:09:11 +02:00
fourtf ca0db97d09 ammend 2.1.5 added setting for experimental irc support 2019-09-22 17:12:09 +02:00
fourtf 2c25c8a5f5 2.1.5 2019-09-22 16:59:51 +02:00
fourtf fc049d8f45 disabled irc and fixed notice messages in write conn not showing 2019-09-22 16:16:08 +02:00
fourtf f27c8eb1b4 fixed crash restart conditions 2019-09-22 16:14:16 +02:00
fourtf 431d35e528 added setting to restart on SIGSEGV 2019-09-22 15:32:36 +02:00
fourtf 7e555843ca added class containing program arguments 2019-09-22 15:30:04 +02:00
fourtf 456065f508 moved resources out of Application 2019-09-22 10:54:32 +02:00
fourtf da4714944d small fixes in Image 2019-09-22 10:54:32 +02:00
pajlada 038fdd5446
Merge pull request #1326 from CommName/MentionsFix
[Bug fix] Highlights in /mentions
2019-09-22 10:43:13 +02:00
pajlada 1256a7b631
Fix formatting 2019-09-22 10:42:22 +02:00
pajlada ebe7e1bf3f
Merge pull request #1328 from leon-richardt/fix-travis-macos
[Workaround] "Fix" macOS Travis Builds
2019-09-22 10:38:01 +02:00
pajlada 91f8961f39
Merge pull request #1325 from leon-richardt/fix-version-string-windows
[Bug Fix] Fix Version String on Windows
2019-09-22 10:37:10 +02:00
Leon Richardt 5e41328f1b Some more trial-and-error 2019-09-22 00:11:07 +02:00
Leon Richardt 90f3e76c88 Trying to fix macOS builds
I have no idea whether this works and this is the only way to find out.
2019-09-22 00:03:30 +02:00
CommName 5078ecbef1 Highlight bug fix 2019-09-21 22:19:03 +02:00
Leon Richardt 19b2102fed Fix Version::dateOfBuild_ on Windows
The `CHATTERINO_NIGHTLY_VERSION_STRING` defines differ on Windows and
MacOS/Linux. (See `appveyor.yml` and `travis.yml`, respectively.)
Therefore, the Windows version string looked really messed up but it
should be fixed now.
2019-09-21 20:44:49 +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