about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
* 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-162-199/+193
|
* 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-164-205/+176
|
* 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-093-40/+26
| | | | We require c99/gnu99 anyways.
* Simplify _correction_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _executable_autocomplete()Michael Vetter2020-11-051-4/+1
|
* Simplify _lastactivity_autocomplete()Michael Vetter2020-11-051-9/+4
|
* Simplify _who_autocomplete()Michael Vetter2020-11-051-3/+0
|
* Simplify _tray_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify _sub_autocomplete()Michael Vetter2020-11-051-5/+1
|
* Simplify cmd_ac_complete_filepath()Michael Vetter2020-11-051-8/+1
|
* Simplify cmd_ac_complete()Michael Vetter2020-11-051-9/+3
|
* Get rid of str_contains()Michael Vetter2020-11-021-2/+2
| | | | We can use strchr() here.
* Fix /correct quotation marks usageMichael Vetter2020-07-232-2/+1
| | | | | | | Add new `parse_args_as_one()` function to just use everything after the command as the argument. Fix https://github.com/profanity-im/profanity/issues/1404
* Fix lastactivity behaviourMichael Vetter2020-07-223-27/+68
| | | | | | | | | | | | | 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
* Expand /lastactivity helpMichael Vetter2020-07-221-1/+1
|
* Fix missed text in #1224Licaon_Kter2020-07-221-1/+1
|
* Use parse_args_with_freetext() for `/correct`Michael Vetter2020-07-201-1/+1
| | | | | | | | | | | | | This commit partly reverts 8f37afcd37ad8663ca36c13ca7fbc4a431119f73 Which was using a wrong approach to achieve this. It changed parse_args() to have a -1 for infinite parameters. But actually parse_args_with_freetext() should have been used exactly for this behaviour. Discovered when checking for https://github.com/profanity-im/profanity/issues/1404
* Add comment to easily find where to put the next commandMichael Vetter2020-07-151-0/+2
|
* Format cmd_defsMichael Vetter2020-07-151-1942/+2037
| | | | | Format it more readable and disable clang for this part. Was messed up in 9b55f2dec0ea27a9ce4856e303425e12f866cea2.
* Remove `/tiny` commandMichael Vetter2020-07-103-71/+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-103-5/+11
| | | | | | `/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-102-10/+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-076-4137/+3993
|
* Revert "Apply coding style"Michael Vetter2020-07-076-4036/+4180
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-076-4180/+4036
| | | | 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