about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Handle late deliveryMarcoPolo-PasTonMolo2022-08-205-27/+109
|
* Apply corrections when getting messages from dbMarcoPolo-PasTonMolo2022-08-121-1/+1
|
* Handle MAM when chatwin gets created from incoming messageMarcoPolo-PasTonMolo2022-07-102-1/+10
|
* Fix duplicate sent messages in dbMarcoPolo-PasTonMolo2022-07-101-2/+3
|
* Have ability to scroll through history even without MAMMarcoPolo-PasTonMolo2022-07-104-10/+13
|
* Handle scrolling down when buffer fills upMarcoPolo-PasTonMolo2022-07-105-15/+37
|
* CleanupMarcoPolo-PasTonMolo2022-07-054-13/+5
|
* Add loading history message on initial MAM requestMarcoPolo-PasTonMolo2022-07-055-3/+20
| | | | | | This prevents scrolling to top and initiating another MAM request while still fetching the initial one. Also free timestamp object in database.c
* Fix initial MAM not displayingMarcoPolo-PasTonMolo2022-07-058-56/+69
| | | | | | Did this by waiting for a batch of MAM messages to arrive before prepending them to the buffer. Also limited the number of messages to fetch to 10 so that the user gets more frequent updates.
* Add 'Loading messages' message when scrolling upMarcoPolo-PasTonMolo2022-07-044-5/+24
|
* Fech data from mam when all history gets displayedMarcoPolo-PasTonMolo2022-07-033-1/+52
| | | | | | Fetch from mam without displaying when all mam messages get received display new messages from db. Unstable, initial mam doesn't get displayed unless we start scrolling.
* Get messages from history when scrolling up.MarcoPolo-PasTonMolo2022-07-039-9/+106
|
* On new chatwin fetch mam according to guidelines.MarcoPolo-PasTonMolo2022-07-035-39/+161
| | | | | Taken from here: https://github.com/modernxmpp/modernxmpp/commit/cd3e871e55c2cff45dffd05d6e50380b99845849
* Merge pull request #1721 from MarcoPolo-PasTonMolo/fix/improve-parserMichael Vetter2022-06-161-3/+12
|\ | | | | Improve cmd argument parser
| * Improve cmd argument parserMarcoPolo-PasTonMolo2022-06-161-3/+12
| | | | | | | | | | | | | | | | | | "" used to become " now it just becomes an empty argument. Also if quotes appeared after a token started then if the number of quotes in the token is n the resulting one would be a token with the n last characters cut off, now it's fixed. Fixes https://github.com/profanity-im/profanity/issues/497
* | ci: Remove TW for nowMichael Vetter2022-06-161-1/+1
|/ | | | | | | | | | | | | | Until they fixed this: ``` Problem: the to be installed ncurses-devel-6.3.20220604-20.1.x86_64 requires 'libncurses6 = 6.3.20220604-20.1', but this requirement cannot be provided Problem: the to be installed gtk2-devel-2.24.33-2.8.x86_64 requires 'pkgconfig(cairo)', but this requirement cannot be provided Problem: the to be installed ncurses-devel-6.3.20220604-20.1.x86_64 requires 'libncurses6 = 6.3.20220604-20.1', but this requirement cannot be provided not installable providers: libncurses6-6.3.20220604-20.1.i586[repo-oss] libncurses6-6.3.20220604-20.1.x86_64[repo-oss] Solution 1: downgrade of libncurses6-6.3.20220604-20.2.x86_64 to libncurses6-6.3.20220604-20.1.x86_64 Solution 2: do not install ncurses-devel-6.3.20220604-20.1.x86_64 Solution 3: break ncurses-devel-6.3.20220604-20.1.x86_64 by ignoring some of its dependencies ```
* doap: use more recent screenshotMichael Vetter2022-06-161-1/+1
|
* doap: add logoMichael Vetter2022-06-161-3/+1
|
* doap: add repoMichael Vetter2022-06-161-9/+7
|
* doap: add maintainerMichael Vetter2022-06-161-0/+7
|
* doap: Add latest releasesMichael Vetter2022-06-161-0/+14
|
* Merge pull request #1720 from binex-dsk/removal/omemo-qrcode-vlaMichael Vetter2022-06-151-8/+14
|\ | | | | remove VLAs in OMEMO QR Code function
| * Reset buffer correctlyMichael Vetter2022-06-151-5/+3
| |
| * remove memset in cons_show_qrcodeswirl2022-06-151-1/+1
| | | | | | | | Signed-off-by: swirl <swurl@swurl.xyz>
| * remove VLAs in OMEMO QR Code functionswirl2022-06-141-7/+15
|/ | | | | | Removes the use of VLAs in favor of calloc Signed-off-by: swirl <swurl@swurl.xyz>
* Merge pull request #1717 from ↵Michael Vetter2022-06-112-1/+13
|\ | | | | | | | | MarcoPolo-PasTonMolo/fix/chat-with-self-duplicate-msgs Fix duplicate messages in chat with oneself.
| * Fix duplicate messages in chat with oneself.MarcoPolo-PasTonMolo2022-05-312-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | Messages would get duplicated when you chat with yourself, worse if you had omemo enabled the duplicated message would say something along the lines of "Your client doesn't support OMEMO". The cause was carbons when the message was sent from another client, whilst it was a sent and received message when profanity was the one to send it. This commit ignores the carbon message in the 1st case and ignores the received one in the 2nd. Fixes https://github.com/profanity-im/profanity/issues/1595
* | Fix typo in omemo commandMichael Vetter2022-06-051-1/+1
| |
* | Merge pull request #1718 from profanity-im/feat/omemo-displ-qrcodeMichael Vetter2022-05-317-5/+33
|\ \ | | | | | | Use our omemo sid/fingerprint in qr code
| * | Use our omemo sid/fingerprint in qr codeMichael Vetter2022-05-317-5/+33
|/ / | | | | | | | | | | | | Current clients sid/fingerprint will be shown in following format: `xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>` Fix https://github.com/profanity-im/profanity/issues/1320
* | Merge pull request #1568 from profanity-im/feature/1320-omemo-qrcodeMichael Vetter2022-05-3114-10/+115
|\ \ | | | | | | Show OMEMO QR Code
| * | build: dont define HAVE_QRENCODE at all in case not presentMichael Vetter2022-05-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we got an error when libqrencode was not installed: `src/ui/console.c:52:10: fatal error: qrencode.h: No such file or directory` Which looked like HAVE_QRENCODE was true. config.status showed: `config.status:D["HAVE_QRENCODE"]=" 0"` Holger pointed to me that there is not just true and false but defined and undefined. So one solution was to use `#if HAVE_QRENCODE == 1` to check for the actual value. Or dont define HAVE_QRENCODE in the non present case at all. In all the other HAVE_ variables we use this approach. I think i at first chose the wrong way out of confusion with BUILD_ and HAVE_.
| * | build: set HAVE_QRENCODE only onceMichael Vetter2022-05-301-3/+1
| | | | | | | | | | | | and use CLFAGS not cflags
| * | Make qrencode optional and add to CIMichael Vetter2022-05-307-12/+22
| | |
| * | Add command help for omemo qrcodeMichael Vetter2022-05-302-2/+6
| | |
| * | Reverse QR code colors and add paddingswirl2022-05-302-8/+19
| | | | | | | | | | | | | | | | | | | | | All QR scanners should be able to recognize this, as it is now the correct color with some padding to prevent blending. Signed-off-by: swirl <swurl@swurl.xyz>
| * | implement working OMEMO QR codeswirl2022-05-302-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | TODO: We need to find a way to switch the colors of the QR code, so that more QR readers can detect it, without "blending" the edges of the QR code with the surrounding terminal window. Signed-off-by: swirl <swurl@swurl.xyz>
| * | Add basic qrcode functionsMichael Vetter2022-05-308-1/+73
|/ /
* | Merge pull request #1714 from MarcoPolo-PasTonMolo/feature/avatar-setMichael Vetter2022-05-3016-7/+220
|\ \ | | | | | | Add `/avatar set` command to publish avatar
| * | Add pixbuf building to CIMichael Vetter2022-05-307-7/+14
| | |
| * | Final touches for `/avatar set`Michael Vetter2022-05-275-10/+8
| | |
| * | Add checks for whether gdk-pixbuf exists before using avatar setMarcoPolo-PasTonMolo2022-05-266-3/+31
| | |
| * | Add `/avatar set` command to publish avatarMarcoPolo-PasTonMolo2022-05-268-1/+181
| | | | | | | | | | | | | | | | | | | | | | | | Use `/avatar set <path>` where <path> is an image file to upload a new avatar for the current user. When the avatar is too big it gets scaled down. Scaling code copied from dino. Fixes https://github.com/profanity-im/profanity/issues/1687
* | | Merge pull request #1712 from MarcoPolo-PasTonMolo/fix/1347Michael Vetter2022-05-292-7/+45
|\ \ \ | |_|/ |/| | Update capabilities of muc on available presence
| * | Make muc config update after form submitMarcoPolo-PasTonMolo2022-05-272-7/+45
| |/ | | | | | | | | | | | | | | | | Muc configuration in profanity used to not update until next login, ie: make muc non_anonymous and members_only but be unable to start omemo until next login. Now a disco info request is sent after forrm submit and chatroom details are changed accordingly. Fixes https://github.com/profanity-im/profanity/issues/1347
* | Fix description of moodMichael Vetter2022-05-271-1/+1
| |
* | Merge pull request #1716 from MarcoPolo-PasTonMolo/fix/ignore-nick-changeMichael Vetter2022-05-261-0/+2
|\ \ | | | | | | Respect silent nick change in mucs
| * | Respect silent nick change in mucsMarcoPolo-PasTonMolo2022-05-261-0/+2
|/ / | | | | | | | | | | | | | | | | Profanity would ignore the silent nick change in some places. The roster and history would show the correct nick, new messages from the current user and the "Autojoined <jid> as <nick>" message would show the wrong one. This commit fixes that problem. Fixes https://github.com/profanity-im/profanity/issues/757
* | Merge pull request #1715 from MarcoPolo-PasTonMolo/fix/ox-discover-segfaultMichael Vetter2022-05-261-5/+8
|\ \ | |/ |/| Fix segfault on `/ox discover`
| * Fix segfault on `/ox discover`MarcoPolo-PasTonMolo2022-05-261-5/+8
|/ | | | | | | | | `/ox discover` segfaults on some misconfigured? nodes because there are newlines before and after some pubkey-metadata stanzas so the newlines get treated as seperate stanzas. This commit just skips each stanza in public-keys-list that doesn't have a fingerprint. Fixes https://github.com/profanity-im/profanity/issues/1713