Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:profanity-im/profanity | Michael Vetter | 2020-07-04 | 1 | -11/+13 |
|\ | |||||
| * | Merge pull request #1387 from DebXWoody/bugfix/1332-omemo | Michael Vetter | 2020-07-04 | 1 | -11/+13 |
| |\ | | | | | | | Request Device and Key, when OMEMO is in use | ||||
| | * | Request Device and Key, when OMEMO is in use | DebXWoody | 2020-06-04 | 1 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | Profanity requests the device list and keys for contacts, also when the user hasn't generated the OMEMO key. If the user has no OMEMO key, there is no need to request OMEMO information. Issue: #1332 | ||||
* | | | Merge branch 'omemofix' | Michael Vetter | 2020-07-04 | 2 | -21/+39 |
|\ \ \ | |/ / |/| | | |||||
| * | | Messages are not shown in ChatSecure | DebXWoody | 2020-07-04 | 2 | -21/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | In 0.9.x we fixed an issue, because OMEMO devices should be defined in "item" with id "current". This should work, but it won't work if there is no "current". If there is no "current" we will just use the first item. Issue #1384 | ||||
* | | | Merge pull request #1383 from profanity-im/cleanup/messagec | Michael Vetter | 2020-07-04 | 1 | -116/+73 |
|\ \ \ | | | | | | | | | Cleanup carbons/chat handling in message.c | ||||
| * | | | message.c: Use message->to_jid instead of to_jid | Michael Vetter | 2020-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This one will always be set. | ||||
| * | | | message.c: _handle_carbons() check from field outside of function | Michael Vetter | 2020-07-03 | 1 | -15/+17 |
| | | | | | | | | | | | | | | | | | | | | So that we don't have to pass the wrapping stanza and can handle the error nicer. | ||||
| * | | | message.c: Dont duplicate code in _handle_carbon and _handle_chat | Michael Vetter | 2020-07-03 | 1 | -111/+66 |
|/ / / | | | | | | | | | | | | | Trying to simplify the conditions so we don't have duplicate code in both of those functions. | ||||
* | | | message.c: Remove from/to setting out of condition | Michael Vetter | 2020-07-03 | 1 | -6/+3 |
| | | | | | | | | | | | | Since its done in both cases. | ||||
* | | | message.c: Small code improvements | Michael Vetter | 2020-07-03 | 1 | -16/+16 |
| | | | |||||
* | | | message.c: Put XEP-0085 code in helper function | Michael Vetter | 2020-07-03 | 1 | -18/+25 |
| | | | |||||
* | | | Change formatting | Michael Vetter | 2020-07-03 | 1 | -1/+2 |
| | | | |||||
* | | | handle_headline(): Free text correctly | Michael Vetter | 2020-07-03 | 1 | -0/+2 |
| | | | |||||
* | | | Handle headline stanza | Stefan Kropp | 2020-07-03 | 1 | -1/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Authored by DebXWoody in: https://github.com/profanity-im/profanity/pull/1369 Regards: https://github.com/profanity-im/profanity/issues/1366 Since I'm in the process of cleaning up message.c I take this now so he doesn't have to rebase. I also omitted the _handle_normal() case since I'm not sure that would be correct. Probably will be addressed again when continuing the cleanup. | ||||
* | | | Merge pull request #1382 from wstrm/fix-missing-omut-flag | Michael Vetter | 2020-07-02 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Add missing -o flag for omut example | ||||
| * | | | Add missing -o flag for omut example | William Wennerström | 2020-07-02 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #1381 from wstrm/fix-no-message | Michael Vetter | 2020-07-02 | 1 | -1/+0 |
|\ \ \ | | | | | | | | | Fix messages with receipt request not displayed | ||||
| * | | | Fix messages with receipt request not displayed | William Wennerström | 2020-07-02 | 1 | -1/+0 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | Messages from Conversations contains: <request xmlns='urn:xmpp:receipts'/> And would not be displayed in Profanity as it never reached _handle_chat(..). | ||||
* | | | message.c: Put plugin handler code in helper function | Michael Vetter | 2020-07-02 | 1 | -7/+14 |
| | | | |||||
* | | | message.c: Log invalid message type | Michael Vetter | 2020-07-02 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | So far we logged when we receive a message without a type. Which is actually quite common and makes no sense. | ||||
* | | | message.c: Check for message type | Michael Vetter | 2020-07-02 | 2 | -8/+5 |
| | | | | | | | | | | | | | | | RFC 6121 allows only few types. So we can also remove that check in _handle_chat(). | ||||
* | | | message.c: Remove handled cases form _handle_chat() | Michael Vetter | 2020-07-02 | 1 | -7/+0 |
| | | | | | | | | | | | | Both cases are tested before entering that function. | ||||
* | | | message.c: Break out of _message_handler() after handling code | Michael Vetter | 2020-07-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | AFAIK it can only be one. Except at STANZA_NS_MUC_USER which is used in several cases. | ||||
* | | | Add HEADLINE stanza define | Michael Vetter | 2020-07-02 | 1 | -0/+1 |
| | | | |||||
* | | | message.c: Parse incoming message stanzas according to type | Michael Vetter | 2020-07-02 | 1 | -31/+34 |
| | | | |||||
* | | | message.c: Add pubsub helper function | Michael Vetter | 2020-07-02 | 1 | -13/+19 |
| | | | |||||
* | | | message.c: Add XEP information | Michael Vetter | 2020-07-02 | 1 | -1/+6 |
| | | | |||||
* | | | message.c: Add my copyright | Michael Vetter | 2020-07-02 | 1 | -0/+1 |
| | | | |||||
* | | | message.c: Make several functions static | Michael Vetter | 2020-07-02 | 1 | -3/+3 |
| | | | |||||
* | | | message.c: Adjust function formatting | Michael Vetter | 2020-07-02 | 1 | -8/+12 |
| | | | |||||
* | | | gpg.c: _ox_key_is_usable() simplify if condition | Michael Vetter | 2020-07-02 | 1 | -3/+3 |
| | | | |||||
* | | | gpg.c: Format new ox function heads | Michael Vetter | 2020-07-02 | 1 | -7/+26 |
| | | | |||||
* | | | log.c: Format code | Michael Vetter | 2020-07-02 | 1 | -7/+9 |
| | | | |||||
* | | | cmd_funcs.c: Remove not needed variable | Michael Vetter | 2020-07-02 | 1 | -2/+1 |
| | | | |||||
* | | | log.c: Use gchar* instead of GString for mainlogfile | Michael Vetter | 2020-07-02 | 1 | -10/+9 |
| | | | |||||
* | | | get_mentions() Use gchar instead of char | Michael Vetter | 2020-07-02 | 1 | -2/+2 |
| | | | |||||
* | | | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 19 | -145/+138 |
| | | | | | | | | | | | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* | | | Merge pull request #1374 from profanity-im/revampUrlopen | Michael Vetter | 2020-07-02 | 8 | -52/+426 |
|\ \ \ | |/ / |/| | | Rework /url and /executable for filetypes | ||||
| * | | Add note that /executable needs more work | Michael Vetter | 2020-07-02 | 1 | -0/+2 |
| | | | |||||
| * | | Transform url.open.cmd to new default scheme | Michael Vetter | 2020-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Additionally to: 7de83217c4d7bfdb70b77f2baeb8f12d4147d873 1e2a288d80fe0200f1d44d5106f7cc5bfd77718b | ||||
| * | | executable: actually take the user set default if a certain scheme is | Michael Vetter | 2020-07-02 | 1 | -6/+11 |
| | | | | | | | | | | | | not found | ||||
| * | | executable: Use DEF instead of * as default | Michael Vetter | 2020-07-02 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far: ``` /executable urlsave html "test %u" results in url.save.cmd[html]=test %u /executable urlsave * "test %u" results in nothing. ``` Probably due to limitation in .ini file format. | ||||
| * | | cmd_url_*(): use gchar instead of char | Michael Vetter | 2020-07-02 | 4 | -6/+6 |
| | | | |||||
| * | | Use correct format when transforming old urlopen.cmd | Michael Vetter | 2020-07-02 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally to ec7e635e752bdfef851fd177596c1d73d97afb42. In the earlier commit I just setted the test value ignoring the real format. Now we correctly transform: ``` [logging] urlopen.cmd=xdg-open ``` into: ``` [executables] url.open.cmd=false;xdg-open %u; ``` | ||||
| * | | cmd_url_open(): fix memleak | Michael Vetter | 2020-07-02 | 1 | -0/+1 |
| | | | |||||
| * | | use '*' to set a default executable | Pierre Mazière | 2020-07-02 | 2 | -15/+28 |
| | | | | | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | | fix examples for /executable | Pierre Mazière | 2020-07-02 | 1 | -2/+2 |
| | | | | | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | | cmd_url_*(): remove NULLing when not needed | Michael Vetter | 2020-07-01 | 1 | -8/+4 |
| | | | |||||
| * | | cmd_executable(): Check arg lengths | Michael Vetter | 2020-07-01 | 1 | -0/+10 |
| | | |