Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Move common http tool code to http_common | William Wennerström | 2020-11-16 | 6 | -53/+154 | |
| | | ||||||
| * | Explicitly clear fragment from HTTP URL | William Wennerström | 2020-11-16 | 2 | -1/+8 | |
| | | ||||||
| * | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 9 | -68/+98 | |
| | | ||||||
| * | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 11 | -23/+384 | |
| | | ||||||
| * | Use fallback method when /executable urlsave is unset | William Wennerström | 2020-11-16 | 2 | -8/+24 | |
| | | ||||||
| * | Run make format on rebase | William Wennerström | 2020-11-16 | 14 | -674/+680 | |
| | | ||||||
| * | Remove unsafe Conent-Disposition inferring | William Wennerström | 2020-11-16 | 3 | -157/+80 | |
| | | ||||||
| * | Infer filename from content-disposition or URL | William Wennerström | 2020-11-16 | 3 | -119/+254 | |
| | | | | | | | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it. | |||||
| * | Add http_download tool | William Wennerström | 2020-11-16 | 6 | -6/+293 | |
| | | ||||||
| * | Wording | William Wennerström | 2020-11-16 | 1 | -2/+2 | |
| | | ||||||
| * | Remove temporary ciphertext file when finished | William Wennerström | 2020-11-16 | 1 | -2/+8 | |
| | | ||||||
| * | Remove /omemo sendfile | William Wennerström | 2020-11-16 | 7 | -603/+566 | |
| | | ||||||
| * | Move file encryption function to public header | William Wennerström | 2020-11-16 | 5 | -43/+47 | |
| | | ||||||
| * | Add guards for OMEMO | William Wennerström | 2020-11-16 | 2 | -5/+21 | |
| | | ||||||
| * | Remove unused #define's and move URL scheme define to omemo/crypto.h | William Wennerström | 2020-11-16 | 2 | -7/+2 | |
| | | ||||||
| * | Move setup for AESGCM to omemo/crypto | William Wennerström | 2020-11-16 | 4 | -64/+68 | |
| | | ||||||
| * | Reformat HTTP get URL to AESGCM scheme | William Wennerström | 2020-11-16 | 3 | -31/+100 | |
| | | ||||||
| * | Refactor to use file stream | William Wennerström | 2020-11-16 | 4 | -72/+57 | |
| | | ||||||
| * | Initial /sendfile OMEMO encryption | William Wennerström | 2020-11-16 | 6 | -54/+230 | |
| | | ||||||
* | | Print man page arguments bold | Michael Vetter | 2020-12-07 | 1 | -1/+1 | |
| | | ||||||
* | | Generate date for manpage | Michael Vetter | 2020-12-07 | 1 | -3/+14 | |
| | | ||||||
* | | Break lines differently in example and synopsis section | Michael Vetter | 2020-12-07 | 1 | -2/+2 | |
| | | ||||||
* | | man: formate arguments properly | Michael Vetter | 2020-12-07 | 1 | -3/+2 | |
| | | ||||||
* | | Create cmd to generate man pages for prof commands | Michael Vetter | 2020-12-04 | 3 | -3/+76 | |
|/ | | | | | | | | | `profanity mangen` will create for each command (`/account`, `/roster`) an own manpage (`profanity-account.1`, `profanity-roster.1`) See https://github.com/profanity-im/profanity/issues/1444 Needs some polishing formatting wise. | |||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 22 | -163/+94 | |
| | | | | We require c99/gnu99 anyways. | |||||
* | Dont initialize i twice in accounts_get_account() | Michael Vetter | 2020-11-05 | 1 | -5/+5 | |
| | ||||||
* | Simplify _correction_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -4/+1 | |
| | ||||||
* | Simplify _executable_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -4/+1 | |
| | ||||||
* | Simplify _lastactivity_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -9/+4 | |
| | ||||||
* | Simplify _who_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -3/+0 | |
| | ||||||
* | Simplify _tray_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -5/+1 | |
| | ||||||
* | Simplify _sub_autocomplete() | Michael Vetter | 2020-11-05 | 1 | -5/+1 | |
| | ||||||
* | Simplify cmd_ac_complete_filepath() | Michael Vetter | 2020-11-05 | 1 | -8/+1 | |
| | ||||||
* | Simplify cmd_ac_complete() | Michael Vetter | 2020-11-05 | 1 | -9/+3 | |
| | ||||||
* | Get rid of str_contains() | Michael Vetter | 2020-11-02 | 3 | -15/+2 | |
| | | | | We can use strchr() here. | |||||
* | Print all error stanzas | Michael Vetter | 2020-10-30 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1435 So far we didn't print the error if it contained `<error type="cancel">`. It appears that the code always thought this is a service-not-available (so one is either blocked or the account doesn't exist) and printed `Recipient not found`. But there can be other errors as well. Like in above mentioned issue `not-allowed`. Let's just print the text. In case of the cancel type we still remove the jid from the chat sessions. I'm not entirely sure whether this needs to be done in other cases too. | |||||
* | Fixed Date format for MAM request | DebXWoody | 2020-10-28 | 1 | -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. | |||||
* | xmpp/bookmark: don't use uninitialised field | Dmitry Podgorny | 2020-10-19 | 1 | -0/+1 | |
| | | | | | | | | | | When a bookmark is created with '/bookmark add' command, ext_gajim_minimize remains uninitialised in new bookmark object and is read further in _send_bookmarks(). Initialise the field with 0. Fixes #1432. | |||||
* | Since the string from strerror should never be modified, use const. | Philipp Klaus Krause | 2020-10-14 | 6 | -6/+6 | |
| | ||||||
* | Fix use-after-free which is introduced in cons_alert() | Dmitry Podgorny | 2020-10-09 | 1 | -1/+1 | |
| | | | | | | Commit f12161f fixes memory leak, but introduces use-after-free issue. Allocate new memory for win_name with g_strdup() since it is freed with g_free() later. | |||||
* | Merge pull request #1426 from profanity-im/cleanup/newlibs | Michael Vetter | 2020-10-09 | 8 | -51/+12 | |
|\ | | | | | Cleanup/newlibs | |||||
| * | Enable _handle_ox_chat() payload/body decryption | Michael Vetter | 2020-10-09 | 1 | -3/+0 | |
| | | | | | | | | | | This part of the code was waiting for xmpp_stanza_new_from_string() from libstrophe 0.10.0. | |||||
| * | Use g_date_time_format_iso8601() | Michael Vetter | 2020-09-30 | 1 | -8/+2 | |
| | | | | | | | | | | | | | | | | | | This partly reverts d3a387a0ec6e5265f625de87318be2de610efb01. For proanity 0.9.x we still wanted to support older glib versions so that we can be packaged for various linux distros. Now with 0.10 we want to move on. | |||||
| * | Replace stanza_get_child_by_name_and_ns with ↵ | Michael Vetter | 2020-09-30 | 6 | -32/+10 | |
| | | | | | | | | | | | | | | | | xmpp_stanza_get_child_by_name_and_ns Replace our own stanza_get_child_by_name_and_ns() with the upstreamed xmpp_stanza_get_child_by_name_and_ns() provided by the new libstrophe/libmesode 0.10.0. | |||||
| * | Require libstrophe/libmesode 0.10.0 | Michael Vetter | 2020-09-30 | 1 | -8/+0 | |
| | | ||||||
* | | Fix memleak in cons_alert() | Michael Vetter | 2020-10-07 | 1 | -0/+2 | |
|/ | | | | Close https://github.com/profanity-im/profanity/issues/1427 | |||||
* | Avoid passing NULL pointers to curses functions. | nia | 2020-09-04 | 3 | -9/+23 | |
| | | | | | | | | This allows profanity to work without segfaulting from NULL pointer dereferences when used with NetBSD libcurses. Basic functionality was tested, there may be more NULL pointer issues hiding. | |||||
* | Basic support for building on NetBSD. | nia | 2020-09-04 | 12 | -0/+24 | |
| | | | | | | - Add NetBSD as a recognized platform without -ldl. - Allow building with NetBSD libcurses instead of ncurses. - Portability to NetBSD sh - use POSIX '=' instead of '=='. | |||||
* | Fix memory leak in _handle_chat() | Dmitry Podgorny | 2020-08-07 | 1 | -21/+7 | |
| | | | | | jid_create() for attribute "to" was called twice and the 1st object was lost. | |||||
* | database: Only insert if there is no entry with same archive_id | Michael Vetter | 2020-07-23 | 1 | -4/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | archive_is is <stanza-id> or <result id=""> and should identify one message stable and uniquely. See XEP-0359: Unique and Stable Stanza IDs. We need this for example for this situation: * we go online with Profanity * we fetch all messages since yesterday * we add them to the db * we go offline * we go online with Profanity * we fetch all messages since yesterday * we only want to add the new ones So far we don't ask MAM "give me all since last 'id'" but since a certain date. In case no archive_id will be set, it will be `(null)` and thus should be inserted anyways because it won't find a value with (null) in that row. Because when adding we use `message->stanzaid ? message->stanzaid : "",` so it will be empty in such a case. Regards MAM: https://github.com/profanity-im/profanity/issues/660 Regards Stable IDs: https://github.com/profanity-im/profanity/issues/1207 |