about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #1502 from xenrox/fix-unused-returnMichael Vetter2021-03-111-4/+9
|\ | | | | Upload: Fix unused return
| * Upload: Fix unused returnThorben Günther2021-03-111-4/+9
|/
* Merge pull request #1501 from xenrox/change-passwordMichael Vetter2021-03-1112-7/+148
|\ | | | | Add command to change password of logged in user
| * Add command to change password of logged in userThorben Günther2021-03-119-1/+138
| |
| * Update ui_ask_password to support confirmationThorben Günther2021-03-114-6/+10
| | | | | | | | | | Just prints a different string to console. Useful for changing passwords or account registration.
* | Merge pull request #1500 from mwuttke97/bugfix/1499Michael Vetter2021-03-115-36/+67
|\ \ | |/ |/| Fix HTTP upload
| * Update to the newest version of XEP 0363 (HTTP Upload)Maximilian Wuttke2021-03-115-36/+67
|/ | | | | | | | | | | | | 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>
* Merge pull request #1496 from mwuttke97/omemo-bugfixesMichael Vetter2021-03-106-78/+128
|\ | | | | [OMEMO]: Fix bundle publishing
| * [OMEMO]: Fix bundle publishingMaximilian Wuttke2021-03-091-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the following options in `omemo_bundle_publish()`: - "pubsub#persist_items" = "true" - "pubsub#access_model" = "open" The same options are also used in Gajim. I've tested this on two different servers. The bundle was successfully added as a new PEP node. Test cases: 1. Normal use on my main account 2. Log in into a fresh tesst account on a different server 3. `/omemo clear_device_list`. In this case, the client(s) may have to be restarted. Note: In `_omemo_bundle_publish_result`, there's a route that is taken when the bundle publish stanza failed. In this case, the node is configured manually, i.e. the access_model is set to 'open'. I have manually tested this case, but this case didn't naturally occur for me. Note: The option "pubsub#max_items=max" is REQUIRED for the bundle publication, as per XEP-0384. However, this is not done in other clients (I've checked the source code of Gajim and Conversations), and it is also not supported by Prosody. Cf. <https://github.com/xsf/xeps/pull/988>.
| * Logging [OMEMO]Maximilian Wuttke2021-03-091-1/+26
| | | | | | | | | | Also "handle" some errors in `_omemo_bundle_publish_configure` if the stanzas can't be found
| * Variadic version of `stanza_attach_publish_options`Maximilian Wuttke2021-03-092-16/+37
| |
| * Logging [OMEMO]Maximilian Wuttke2021-03-091-6/+10
| |
| * Logging [CONNECTION]Stefan2021-03-091-0/+1
| |
| * Changes logging format to [OMEMO]Stefan2021-03-091-48/+49
| |
| * OMEMO - Removed start session after roster receivedStefan2021-03-091-4/+0
| | | | | | | | | | Reduce the request during startup of profanity Removed omemo_start_sessions from sv_ev_roster_received
* | Merge pull request #1498 from mwuttke97/send_file_remove_protocolMichael Vetter2021-03-101-0/+3
|\ \ | |/ |/| Remove "file://" from file names
| * Remove "file://" from file namesMaximilian Wuttke2021-03-091-0/+3
|/ | | | | Rationale: When copying an image in some application, a URL instead of a path is copied to the clipboard.
* Merge pull request #1497 from xenrox/improve-docMichael Vetter2021-03-081-2/+5
|\ | | | | Cmd definitions: Add offline option to occupants
| * Cmd definitions: Add offline option to occupantsThorben Günther2021-03-081-2/+5
|/
* Merge pull request #1495 from xenrox/offline-membersMichael Vetter2021-03-0810-10/+96
|\ | | | | MUC: Show offline members in sidebar
| * MUC: Show offline members in sidebarThorben Günther2021-03-0810-10/+96
| |
* | Prevent segfault in sv_ev_incoming_message()Michael Vetter2021-03-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1488 Actually I would have loved to see the stanza that caused the segfault since I'm not entirely sure whether this actually means that we do something wrong earlier on. Right now I don't know why the to_jid should be empty. Let's prevent the segfault for now and see whether we get further bugreports later. Segfaulting issue got introduced with dd566d8d561099bbfc81b2fab22318bbad0cf3da.
* | Merge pull request #1493 from akce/wintitle-libcMichael Vetter2021-03-051-25/+8
|\ \ | |/ |/| Draw wintitle using fputs and fprintf instead of /bin/echo.
| * Draw wintitle using fputs and fprintf instead of /bin/echo.Akce2021-02-281-25/+8
|/
* Disable Tumbleweed CIMichael Vetter2021-02-171-1/+1
| | | | | | | | | | | | | | | | | ``` (248/297) Installing: system-group-hardware-20170617-19.2.noarch [..error] Installation of system-group-hardware-20170617-19.2.noarch failed: Error: Subprocess failed. Error: RPM failed: ERROR: neither groupadd nor busybox found! error: %prein(system-group-hardware-20170617-19.2.noarch) scriptlet failed, exit status 1 error: system-group-hardware-20170617-19.2.noarch: install failed Abort, retry, ignore? [a/r/i] (a): a Warning: %posttrans scripts skipped while aborting: pam-1.5.1-2.2.x86_64.rpm shadow-4.8.1-5.2.x86_64.rpm ``` Seems to be a bug in old docker/libseccomp from GH.
* Disable Arch CIMichael Vetter2021-02-171-1/+1
| | | | | Again something wrong this Arch. Not time to invest right now but we need a working CI for PRs.
* Merge pull request #1484 from kaffeekanne/calm-openbsd-syslogMichael Vetter2021-02-151-5/+5
|\ | | | | Calm OpenBSD syslog
| * Calm OpenBSD syslogkaffeekanne2021-02-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | On every write to `chatlog.db` syslog throws ``` profanity: vfprintf %s NULL in "INSERT INTO `ChatLogs` (`from_jid`, `from_resource`, `to_jid`, `to_resource`, `message`, `timestamp`, `stanza_id`, `archive_id`, `replace_id`, `type`, `encryption`) SELECT '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s' WHERE NOT EXISTS (SELECT 1 FROM `ChatLogs` WHERE `archive_id` = '%s')" ``` in `/var/log/messages`. Checking for `NULL` except in the fields the DB is expected to throw errors for, satisfies OpenBSDs security measures
* | Remove forgotten debug lineMichael Vetter2021-02-151-1/+0
| |
* | Merge pull request #1481 from StefanKropp/titlebar-empty-roomnameMichael Vetter2021-02-141-1/+1
|\ \ | |/ |/| Bugfix: Titlebar show name without room name
| * Bugfix: Titlebar show name without room nameStefan2021-02-141-1/+1
|/ | | | | | | Error log: GLib-CRITICAL - g_string_insert_len: assertion 'len == 0 || val != NULL' failed Check if a room name exists, before adding the name into the title bar.
* Correct command synopsis for mamMichael Vetter2021-02-091-1/+1
|
* Use correct time for MAM messagesMichael Vetter2021-02-041-8/+17
| | | | | | We need the delay value from the <forward> element. Regards https://github.com/profanity-im/profanity/issues/660
* Update sponsorsMichael Vetter2021-01-281-0/+4
|
* Add mam test stubMichael Vetter2021-01-281-0/+4
|
* Add /mam commandMichael Vetter2021-01-286-3/+38
| | | | Regards https://github.com/profanity-im/profanity/issues/660
* Merge pull request #1417 from profanity-im/feature/mam-rsmMichael Vetter2021-01-283-9/+87
|\ | | | | MAM RSM
| * 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-283-5/+46
| |
| * 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-282-1/+27
|/ | | | Regards https://github.com/profanity-im/profanity/issues/660
* Dont reload theme when disconnecting on purposeMichael Vetter2021-01-221-21/+0
| | | | | | | | I don't see why would need to. Also this only happens upon `/disconnect` not on a network outage or server related disconnect. Fixes https://github.com/profanity-im/profanity/issues/1472
* Simplify console notification codeMichael Vetter2021-01-211-29/+15
| | | | | | | Functions had some duplicate code: * cons_show_incoming_room_message() * cons_show_incoming_message() * cons_show_incoming_private_message()
* Fix color typo in headache and whiteness themeMichael Vetter2021-01-182-2/+2
| | | | | Reported at: https://bugzilla.suse.com/show_bug.cgi?id=1180739 Fixes https://github.com/profanity-im/profanity/issues/1471
* Fix old chlog reference in helpMichael Vetter2021-01-172-9/+9
| | | | Fixes https://github.com/profanity-im/profanity/issues/1470
* Mention manpages in release guideMichael Vetter2021-01-091-0/+4
|