about summary refs log tree commit diff stats
path: root/src/xmpp/iq.c
Commit message (Collapse)AuthorAgeFilesLines
* Apply codigng style on new MAM codeMichael Vetter2022-10-211-4/+4
|
* Fix GSList handling in new MAM codePaul Fertser2022-10-211-13/+8
| | | | | This patch was provided by @paulfertser and applied by @jubalh. Thanks a lot Paul!
* Handle late deliveryMarcoPolo-PasTonMolo2022-08-201-19/+102
|
* Handle scrolling down when buffer fills upMarcoPolo-PasTonMolo2022-07-101-3/+3
|
* CleanupMarcoPolo-PasTonMolo2022-07-051-1/+0
|
* Add loading history message on initial MAM requestMarcoPolo-PasTonMolo2022-07-051-0/+5
| | | | | | 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-051-26/+21
| | | | | | 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-041-0/+2
|
* Fech data from mam when all history gets displayedMarcoPolo-PasTonMolo2022-07-031-0/+43
| | | | | | 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-031-1/+3
|
* On new chatwin fetch mam according to guidelines.MarcoPolo-PasTonMolo2022-07-031-19/+42
| | | | | Taken from here: https://github.com/modernxmpp/modernxmpp/commit/cd3e871e55c2cff45dffd05d6e50380b99845849
* Make muc config update after form submitMarcoPolo-PasTonMolo2022-05-271-7/+0
| | | | | | | | | 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 room name not updating.MarcoPolo-PasTonMolo2022-05-181-0/+8
| | | | | | Now whenever the name of a room changes, either in profanity or another client, it gets updated inside profanity. Fixes https://github.com/profanity-im/profanity/issues/1710
* XEP-0107: User Mood - Clean moodStefan Kropp2022-01-301-8/+9
| | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* xep-0107: code reviewDebXWoody2021-12-061-8/+8
| | | | | | | | * Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check
* Add xep-0107: User Mood supportDebXWoody2021-12-061-0/+52
| | | | Implementation of XEP 0107 - User Mood
* first step to remove libmesodeSteffen Jaeckel2021-10-271-6/+0
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Format new register code correctlyMichael Vetter2021-10-131-1/+0
|
* Merge pull request #1574 from binex-dsk/masterMichael Vetter2021-10-131-0/+1
|\ | | | | | | Add in-band account registration Fix https://github.com/profanity-im/profanity/issues/199
| * registration: remove auth param and excess functionsswirl2021-08-171-32/+0
| |
| * fixed some bugs, added some moreswirl2021-08-171-2/+3
| | | | | | | | | | | | | | | | | | - Added JABBER_RAW_CONNECT[ING/ED] connection states - Added cl_ev_connect_raw and session_connect_raw to conform to normal connection functions - Fixed SIGABRT during registration - Added a check in cmd_register to ensure it's actually connected before registering--but this will always fail atm
| * initial register command testswirl2021-08-171-0/+32
| |
* | Format code correctlyMichael Vetter2021-10-051-9/+6
| |
* | Fix typosMichael Vetter2021-09-221-2/+2
|/
* Mention feature details when not supportedMichael Vetter2021-07-011-2/+2
| | | | So that we will get aware of a version mismatch.
* XEP-0157: Print contact addressesMichael Vetter2021-06-301-16/+3
|
* XEP-0157: Parse contact address stanzaMichael Vetter2021-06-291-4/+22
|
* iq: use define for 'cancel'Michael Vetter2021-03-261-2/+2
|
* stanza: guard mallocsMichael Vetter2021-03-251-70/+88
| | | | | If this happens we have more serious problems :-) But anyways..
* Add support to register with a roomMichael Vetter2021-03-251-0/+125
| | | | | | | | | | `/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
* Merge pull request #1501 from xenrox/change-passwordMichael Vetter2021-03-111-0/+30
|\ | | | | Add command to change password of logged in user
| * Add command to change password of logged in userThorben Günther2021-03-111-0/+30
| |
* | Update to the newest version of XEP 0363 (HTTP Upload)Maximilian Wuttke2021-03-111-9/+22
|/ | | | | | | | | | | | | Main changes: 1. Attributes instead of tags 2. Read the optional <header> tags and send them in the HTTP PUT header: * Authorization * Cookie * Expires Co-authored-by: Martin Dosch <martin@mdosch.de>
* Enable error logging on MAM RSMMichael Vetter2021-01-281-4/+1
|
* Get MAM from last 7 daysMichael Vetter2021-01-281-1/+1
| | | | Probably should make this configurable later.
* MAM: Request more pages via RSMMichael Vetter2021-01-281-6/+22
| | | | Send another request with same jid and last id we got.
* Adapt MAM RSM code to latest functionsMichael Vetter2021-01-281-3/+3
| | | | | | Some functions changed in the meantime. stanza_get_child_by_name_and_ns() got dropped and xmpp_stanza_get_child_by_name_and_ns() from newer libstrophe is used.
* wip: add rsm after we get the first couple of mam messagesMichael Vetter2021-01-281-3/+18
|
* mam: Use correct ID in rsm handlerMichael Vetter2021-01-281-3/+1
| | | | Thanks to DebXWoody for the help.
* mam: fix logging messageMichael Vetter2021-01-281-1/+1
|
* Start working on MAM RSM to get more pagesMichael Vetter2021-01-281-1/+24
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Fix various typosMichael Vetter2020-12-101-3/+3
|
* Fixed Date format for MAM requestDebXWoody2020-10-281-2/+2
| | | | | | | | | Using g_date_time_new_now_utc instead of g_date_time_new_now_local Using g_date_time_format(timestamp, "%FT%TZ") instead of "%FT%T%:::z" Edit: DebXWoody created this patch because ejabberd returned an error with the old date format.
* Apply coding styleMichael Vetter2020-07-071-551/+566
|
* Revert "Apply coding style"Michael Vetter2020-07-071-577/+563
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-563/+577
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Incoming iq stanza - Reset the autoping timerDebXWoody2020-05-231-0/+2
| | | | | | | | A autoping is to make sure that there is still a connection between server and client. If the application receives incoming stanza, the connection is fine. There is no need to wait for response, if there are other incomings. Issue: #1333 and #1315
* xep-0092: make it possible to ask servers or components for softwareMichael Vetter2020-05-141-17/+28
| | | | | | | | | | | This adds the new `/serversoftware` command. ``` /software user@domain.org/resource /serversoftware domain.org ``` Fix https://github.com/profanity-im/profanity/issues/1338
* _iq_id_handler_free() dont set NULLMichael Vetter2020-04-201-1/+0
| | | | No effect here.
* Don't expose upload_processesMichael Vetter2020-04-171-1/+1
| | | | | | | | That's actually not good practise. Realized this when checking for multiple symbol definition in issue mentioned below. Regards https://github.com/profanity-im/profanity/issues/1314