about summary refs log tree commit diff stats
path: root/src/xmpp/iq.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Review logging in iq.cMichael Vetter2020-04-141-27/+39
|
* Free timestamp correctlyMichael Vetter2020-04-131-2/+3
| | | | g_date_time_add_days() actually creates a new one.
* Check if server suppors MAMMichael Vetter2020-04-121-2/+5
|
* Get MAM since yesterdayMichael Vetter2020-04-121-1/+7
| | | | | | | | | | | | | Later we will have several options. Getting everything since last timestamp (if none everything at all). Getting everything since today + configure time (1 week). Should also have a reload all command like conversations once you cleared the history. All MAM messages should be written into sql db. And then probably displayed from there so that regular history works too.
* First MAM testMichael Vetter2020-04-111-0/+19
| | | | | | Send a request (which we can't handle yet) :-) Regards https://github.com/profanity-im/profanity/issues/660
* Use proper OS names for OpenBSD and NetBSDMichael Vetter2020-03-091-2/+2
|
* Fix few memory leaksDmitry Podgorny2020-02-271-0/+2
|
* xep-0092: add config option to set whether OS is revealedMichael Vetter2020-01-231-14/+22
| | | | | | Default is on. `revail.os=false` in the `connection` section of the config can disable it. A command to configure this will follow.
* xep-0092: send OS tooMichael Vetter2020-01-231-0/+23
| | | | | So far we only sent client name and version. Let's also send the OS name.
* Add option to notify about version requestMichael Vetter2020-01-231-0/+8
| | | | | | | | | | Cannot be configured for now. Can be set via `adv.notify.discoversion` in the `notification` section. Will notify about version requests via XEP-0092 and XEP-0232. Client version can still be seen via caps (capabilities). See `stanza_attach_caps()`.
* Save MUC room name in ProfMucWinMichael Vetter2020-01-231-0/+4
| | | | We will need this if we want to display the Name instead of the JID.
* Use OMEMO for offline MUC members (#1242)Paul Fariello2020-01-201-8/+33
|
* Add vim modelineMichael Vetter2019-11-131-0/+1
|