about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove scheme and filetype matching for url (save|open)William Wennerström2020-12-081-45/+53
|
* Fix wrong order of arguments for _url_http_methodWilliam Wennerström2020-12-071-2/+2
|
* Add tests for format_call_external_argvWilliam Wennerström2020-12-071-15/+28
|
* Fix bad order of parameters for url saveWilliam Wennerström2020-12-071-1/+8
|
* Rework url to filenameWilliam Wennerström2020-12-061-1/+0
|
* Move unique_filename_from_url functions to commonWilliam Wennerström2020-12-041-63/+2
|
* Refactor for threaded external executable for built-in download methodsWilliam Wennerström2020-12-031-171/+118
|
* Add stubsWilliam Wennerström2020-11-161-8/+14
|
* Switch to g_strerrorWilliam Wennerström2020-11-161-30/+4
|
* Add I/O error handling and use filenames instead of file descriptorsWilliam Wennerström2020-11-161-8/+2
|
* Refactor OMEMO download into AESGCMDownload toolWilliam Wennerström2020-11-161-6/+55
|
* Use fallback method when /executable urlsave is unsetWilliam Wennerström2020-11-161-6/+24
|
* Run make format on rebaseWilliam Wennerström2020-11-161-71/+65
|
* Remove unsafe Conent-Disposition inferringWilliam Wennerström2020-11-161-38/+61
|
* Infer filename from content-disposition or URLWilliam Wennerström2020-11-161-112/+131
| | | | | The Content-Disposition inferring is probably a bad idea security wise, so I am going to remove it.
* Add http_download toolWilliam Wennerström2020-11-161-3/+4
|
* WordingWilliam Wennerström2020-11-161-2/+2
|
* Remove temporary ciphertext file when finishedWilliam Wennerström2020-11-161-2/+8
|
* Remove /omemo sendfileWilliam Wennerström2020-11-161-15/+2
|
* Move file encryption function to public headerWilliam Wennerström2020-11-161-4/+3
|
* Add guards for OMEMOWilliam Wennerström2020-11-161-4/+18
|
* Remove unused #define's and move URL scheme define to omemo/crypto.hWilliam Wennerström2020-11-161-7/+1
|
* Move setup for AESGCM to omemo/cryptoWilliam Wennerström2020-11-161-54/+17
|
* Reformat HTTP get URL to AESGCM schemeWilliam Wennerström2020-11-161-1/+31
|
* Refactor to use file streamWilliam Wennerström2020-11-161-46/+38
|
* Initial /sendfile OMEMO encryptionWilliam Wennerström2020-11-161-33/+100
|
* Declare counter var inside loopMichael Vetter2020-11-091-10/+5
| | | | We require c99/gnu99 anyways.
* Fix lastactivity behaviourMichael Vetter2020-07-221-18/+28
| | | | | | | | | | | | | Autocomplete only completed on|off. Now: `/lastactivity get` -> get server uptime `/lastactivity get <jid>` -> get user lastactivity `/lastactivity set on` -> enable for self `/lastactivity set off` -> disable for self Fix https://github.com/profanity-im/profanity/issues/1411
* Remove `/tiny` commandMichael Vetter2020-07-101-53/+0
| | | | | | boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370
* Add forgotten file..Michael Vetter2020-07-101-2/+2
| | | | Belongs to 95ab7ee062b9fbeea73b90f69c6fef3325f880c9
* Setting: only write in console upon muc mentionMichael Vetter2020-07-101-4/+8
| | | | | | `/console muc mention` additionally to `first|none|all`. Fix https://github.com/profanity-im/profanity/issues/1371
* Merge branch 'master' of github.com:profanity-im/profanityMichael Vetter2020-07-101-14/+15
|\
| * Dont hilight console once all messages have been readMichael Vetter2020-07-091-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we receive a message we get: << room message: eagle@conference.anoxinon.me (win 2) Same for private chats and regular chats. And several other kinds of notifications. If we only receive notifications from a chat window it would be nice to also clear the hilight on the console window since we already catched up by reading the actual message in the chat window. Probably not the best description :-) I hope you get it.. Regards https://github.com/profanity-im/profanity/issues/1399
* | OX: XEP-0373: OpenPGP for XMPP - Version 0.5.0 (2020-06-19)DebXWoody2020-07-101-0/+12
|/ | | | | | | | | | | Discovering Public Keys via PEP * 4.3 Discovering Public Keys of a User * 4.4 Requesting Public Keys * Import Public Keys into GnuPG's local keyring. Issue: #1331
* Apply coding styleMichael Vetter2020-07-071-1153/+1107
|
* Revert "Apply coding style"Michael Vetter2020-07-071-1130/+1176
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-1176/+1130
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* OX: Announce public key on PEPDebXWoody2020-07-061-2/+3
| | | | | | | | | | | | | | | src/pgp/gpg.c:p_ox_gpg_readkey Used to read a public key from a file. The function will return the fingerprint of the file and the base64 encoded key. src/xmpp/ox.[hc] ox_announce_public_key(const char* const filename) can be called from the /ox announce <filename> command. The key within the file will be pushed on PEP and the Metadata node will be set. Issue: #1331
* cmd_funcs.c: Remove not needed variableMichael Vetter2020-07-021-2/+1
|
* Remove prefs_free_string()Michael Vetter2020-07-021-16/+16
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Merge pull request #1374 from profanity-im/revampUrlopenMichael Vetter2020-07-021-15/+216
|\ | | | | Rework /url and /executable for filetypes
| * cmd_url_*(): use gchar instead of charMichael Vetter2020-07-021-3/+3
| |
| * cmd_url_open(): fix memleakMichael Vetter2020-07-021-0/+1
| |
| * cmd_url_*(): remove NULLing when not neededMichael Vetter2020-07-011-8/+4
| |
| * cmd_executable(): Check arg lengthsMichael Vetter2020-07-011-0/+10
| |
| * Display a message acknowledging file saving successPierre Mazière2020-06-251-0/+2
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Replace /urlopen with /url and adapt /executablePierre Mazière2020-06-251-9/+201
| | | | | | | | | | | | | | | | /urlopen is replaced by /url with the following sub commands: /url open <url> /url save <url> [<path>] Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
| * Refactor cmd_urlopenPierre Mazière2020-06-251-16/+16
| | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
* | Fix omemo otr caseMichael Vetter2020-06-291-1/+2
| | | | | | | | Fix 3afd854dc862696c4842b2ed93efcad44d617910
* | Feature request - XEP-0373: OpenPGP for XMPP (OX)DebXWoody2020-06-291-0/+163
| | | | | | | | | | | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331