Commit graph

192 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
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
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
9bbc4f8a5e queue for erase/set credentials 2019-09-14 22:58:53 +02:00
fourtf
13d1fab303 credentials are now loaded when needed 2019-09-14 20:45:01 +02:00
fourtf
82f63d2f7e added send and receive for irc messages 2019-09-10 14:46:43 +02:00
Leon Richardt
b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
fourtf
cf23838099 added irc support 2019-09-08 18:06:43 +02:00
apa420
0eb633cfa0 Removed some examples 2019-09-08 17:31:00 +00:00
apa420
3f411805b7 Forgot to add file 2019-09-08 17:27:04 +00:00
fourtf
14222f84f2 made caller/concurrent rules tighter 2019-08-20 23:46:27 +02:00
fourtf
23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +02:00
fourtf
4679fd6753 gcc Pepega 2019-08-13 18:48:22 +02:00
fourtf
7bf5a79f8a Delete emote popup when it is closed. 2019-08-13 16:39:22 +02:00
23rd
efec76df5b Removed unused local vars. Slightly refactored code. 2019-05-10 22:18:05 +02:00
fourtf
52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf
0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf
a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
cf26f10b80 initial appbase integration 2018-11-21 21:37:41 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf
3c3be99177 new settings page 2018-10-31 19:49:15 +01:00
fourtf
3db0b5f95c open settings when right clicking moderation button 2018-10-21 16:13:26 +02:00
fourtf
e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
fourtf
db4034d2d9 vivaldi and opera support for incognito links 2018-10-16 16:25:48 +02:00
fourtf
d14a4df9e3 opening links in private browsing mode (windows)
tested on firefox, chrome and internet explorer
2018-10-16 16:07:59 +02:00
fourtf
280605e715 added basic code for incognito links 2018-10-16 14:13:19 +02:00
Marco Schmid
770e36c10c added winapi-call to flush clipboard (#778) 2018-10-09 18:37:51 +02:00
Rasmus Karlsson
3fc91bded5 Move some helper functions to Helpers.hpp 2018-08-19 16:26:32 +02:00
fourtf
af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00
Confuseh
d7566665d8 minor streamlink quality option fix (#664) 2018-08-14 17:36:20 +02:00
fourtf
f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
fourtf
44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf
c719bb6b74 categorized emtotepopup 2018-08-11 14:26:02 +02:00
fourtf
cf9560508c improving code quality 2018-08-10 20:53:13 +02:00
fourtf
d89b62692a refined SplitHeader 2018-08-08 15:35:54 +02:00
fourtf
5df231f072 improved split header menu button 2018-08-07 09:38:18 +02:00
fourtf
c26422aec1 refactored MessageBuilder 2018-08-07 01:35:24 +02:00
fourtf
f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf
c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
fourtf
3b3c5d8d75 added code to handle a single connection 2018-07-16 17:23:41 +02:00
fourtf
280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
fourtf
eeb514c444 minor changes 2018-07-05 18:17:12 +02:00
fourtf
6059f98c21 renamed UpdatePromptDialog to UpdateDialog 2018-07-05 16:04:50 +02:00