| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Let's compile with this flag to detect memory erros in the debug build.
See https://clang.llvm.org/docs/AddressSanitizer.html
Regards: https://github.com/profanity-im/profanity/issues/1512
|
|\
| |
| | |
Command doc: Improve description and examples of `/bookmark` and `/join`
|
| | |
|
|\ \
| | |
| | | |
Support to approve MUC voice requests
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
A form will open. One can then use `/field4 on` `/form submit`.
Implements https://github.com/profanity-im/profanity/issues/1507
|
| | |
|
|\ \
| |/
|/| |
MUC: Add voice request
|
| |
| |
| |
| | |
closes https://github.com/profanity-im/profanity/issues/1211
|
|/
|
|
| |
Needed for affiliation request
|
|
|
|
|
| |
Some time ago we introduced get_expanded_path().
No need to build paths manually anymore to get ~.
|
|\
| |
| | |
Cleanup autocomplete
|
| |
| |
| |
| |
| |
| | |
_search_next and _search_prev where exactly the same except taking the
nex/prev from the list.
Use one function with a direction argument.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Through asprintf() we can get rid of malloc() + sprintf().
Also we don't need to calculate the strlen() again since asprintf()
returns the bytes printes.
Only non UTF-8 characters. But that was true before already.
|
|/
|
|
|
| |
autocomplete_param_with_func and -autocomplete_param_with_ac had lots of
duplicate code.
|
|\
| |
| | |
Upload: Fix unused return
|
|/ |
|
|\
| |
| | |
Add command to change password of logged in user
|
| | |
|
| |
| |
| |
| |
| | |
Just prints a different string to console.
Useful for changing passwords or account registration.
|
|\ \
| |/
|/| |
Fix HTTP upload
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
[OMEMO]: Fix bundle publishing
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>.
|
| |
| |
| |
| |
| | |
Also "handle" some errors in `_omemo_bundle_publish_configure` if the
stanzas can't be found
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Reduce the request during startup of profanity
Removed omemo_start_sessions from sv_ev_roster_received
|
|\ \
| |/
|/| |
Remove "file://" from file names
|
|/
|
|
|
| |
Rationale: When copying an image in some application, a URL instead of a
path is copied to the clipboard.
|
|\
| |
| | |
Cmd definitions: Add offline option to occupants
|
|/ |
|
|\
| |
| | |
MUC: Show offline members in sidebar
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Draw wintitle using fputs and fprintf instead of /bin/echo.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
```
(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.
|
|
|
|
|
| |
Again something wrong this Arch.
Not time to invest right now but we need a working CI for PRs.
|
|\
| |
| | |
Calm OpenBSD syslog
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| |/
|/| |
Bugfix: Titlebar show name without room name
|
|/
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
We need the delay value from the <forward> element.
Regards https://github.com/profanity-im/profanity/issues/660
|
| |
|
| |
|