about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix memleak in cmd_exportMichael Vetter2022-02-241-0/+1
| |
| * ox: expand file and check for existance before trying to announceMichael Vetter2022-02-241-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Output before: ``` 11:00:00 - Annonuce OpenPGP Key for OX ~/test/testuser.pub.gpg ... ``` After: ``` 11:00:00 - Annonuce OpenPGP Key for OX /home/user/test/testuser.pub.gpg ... ``` Now we expand the path so that we can check for `~` properly. And test if the file is actually a normal file.
* | Move get_message_from_editor to appropriate file and change its keybindingMarcoPolo-PasTonMolo2022-03-031-83/+1
| |
* | Add hotkey for sending readline text to editorMarcoPolo-PasTonMolo2022-03-031-5/+4
| |
* | Add `/subject editor` commandMichael Vetter2022-02-261-0/+17
|/ | | | | | | | Allow editing the MUC subject using external editor. Use `/subject editor`. Fix https://github.com/profanity-im/profanity/issues/1638
* Fix typos in commentsMichael Vetter2022-02-181-1/+1
|
* auto-formatSteffen Jaeckel2022-02-011-1/+1
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* command: change user mood clearing messageMichael Vetter2022-02-011-1/+1
|
* command: rename /mood clean to /mood clearMichael Vetter2022-02-011-1/+1
| | | | As per suggestion of @mdosch.
* XEP-0107: User Mood - Clean moodStefan Kropp2022-01-301-1/+4
| | | | | | | | | | | | | | | | | | * Bugfix in mood_autocomplete (wrong parameter) * Implemented /mood clean ______________________________________ / Profanity! THE XMPP client with mood \ \ support! / -------------------------------------- \ \ .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ \___)=(___/
* xep-0107: code reviewDebXWoody2021-12-061-6/+7
| | | | | | | | * Remarks in the Merge Request (ac_reset, help) * Defines in iq.c * Mood help and null check * Added additional information about tab key in CMD_DESC. * Added additional null check
* Add xep-0107: User Mood supportDebXWoody2021-12-061-0/+15
| | | | Implementation of XEP 0107 - User Mood
* Cleanup _get_message_from_editor a bitMichael Vetter2021-11-011-5/+12
| | | | | | | | * Fix `src/command/cmd_funcs.c:9463:9: error: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]` * Free memory earlier and on less places * Check for succesful open() and write()
* Fix OMEMO /sendfile on non-glibc systemsnlfx2021-11-011-1/+1
|
* first step to remove libmesodeSteffen Jaeckel2021-10-271-25/+0
| | | | Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
* Merge pull request #1607 from profanity-im/utf8indicatorcharMichael Vetter2021-10-221-16/+16
|\ | | | | Allow more UI indicator signs to be utf8 "characters"
| * Allow utf8 in occupants header charMichael Vetter2021-10-221-3/+3
| |
| * Allow utf8 in occupants charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster room private charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster rooms charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster private charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster resource charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster contact charMichael Vetter2021-10-221-2/+2
| |
| * Allow utf8 in roster header charMichael Vetter2021-10-211-2/+2
| | | | | | | | | | | | | | | | | | This and the following commits should make a couple of more configs allow utf8 chars so people can use their weird icons :-) We did the same for the otr/omemo/pgp indicators at: https://github.com/profanity-im/profanity/commit/1f8b1eb740391941e79e1004ad041f8178a2b674 https://github.com/profanity-im/profanity/commit/5cf6ee1bc6d0b99b01891bc455a657bf022a72b0
* | Merge pull request #1601 from MarcoPolo-PasTonMolo/masterMichael Vetter2021-10-221-31/+95
|\ \ | |/ |/| Add /correct-editor command
| * Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-221-1/+1
| | | | | | | | place
| * Remove autocomplete for /correct-editorMarcoPolo-PasTonMolo2021-10-211-4/+2
| | | | | | | | | | | | We decided that it was better to remove autocomplete for this command, since adding it only introduced problems and the command can still function perfectly without autocomplete.
| * Export common code to helper functionsMarcoPolo-PasTonMolo2021-10-171-122/+72
| |
| * Add /correct-editor commandMarcoPolo-PasTonMolo2021-10-071-0/+116
| |
* | Format new register code correctlyMichael Vetter2021-10-131-1/+0
| |
* | Merge pull request #1574 from binex-dsk/masterMichael Vetter2021-10-131-0/+66
|\ \ | |/ |/| | | Add in-band account registration Fix https://github.com/profanity-im/profanity/issues/199
| * registration: remove auth param and excess functionsswirl2021-08-171-9/+1
| |
| * progress on fixing registrationswirl2021-08-171-4/+1
| | | | | | | | | | | | doesnt segfault on register, but aborts when you type after registering need to find a way to disconnect later
| * hacky fix(?) for registerswirl2021-08-171-18/+15
| | | | | | | | very bad and spaghetti will fix later
| * fixed some bugs, added some moreswirl2021-08-171-11/+18
| | | | | | | | | | | | | | | | | | - Added JABBER_RAW_CONNECT[ING/ED] connection states - Added cl_ev_connect_raw and session_connect_raw to conform to normal connection functions - Fixed SIGABRT during registration - Added a check in cmd_register to ensure it's actually connected before registering--but this will always fail atm
| * /register: parameter updatesswirl2021-08-171-6/+14
| | | | | | | | add auth param, switch host and username params, rename host param to server
| * initial register command testswirl2021-08-171-0/+65
| |
* | Format code correctlyMichael Vetter2021-10-051-7/+7
| |
* | Add more help about how to use pluginsMichael Vetter2021-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `/plugins install` installs a plugin to `.local/share/profanity/plugins`. And also loads it. When a plugin is loaded it will automatically be added to the `profrc` file like this: ``` [plugins] load=my.py; ``` On the next start Profanity will try to load this plugin again unless `/plugin unload my.py` is called.
* | Fix `/plugins update ~/dir`Michael Vetter2021-09-291-7/+2
| | | | | | | | | | | | | | | | If `~/dir` exists profanity exits for me. Whole code for updating plugins from a dir isn't even implemented. Even though some messgages suggest otherwise. Remove this and only allow updating of one file.
* | List globally available pluginsMichael Vetter2021-09-291-0/+36
| | | | | | | | | | | | | | | | | | | | Packagers can package https://github.com/profanity-im/profanity-plugins or another collection of plugins to `/usr/local/share/profanity/plugins` (python) and `/usr/local/lib64/profanity` (c). `/plugins` will list these globally available plugins now along with the ones thare are installed (`~/.local/share/profanity/plugins`) and loaded. Regards https://github.com/profanity-im/profanity/issues/945
* | Look for plugins to install in global locationMichael Vetter2021-09-291-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two options to install plugins. Mention the whole path: `/plugins install ~/src/profanity-plugins/my.py` Mention only the plugin name: `/plugins install my.py` The latter will look in `/usr/local/share/profanity/plugins/` for the file and copy it over to `~/.local/share/profanity/plugins`. At first I was thinking about loading the plugins from the global location. But users most likely don't want to have all plugins activated that an admin installs on a system. Regards https://github.com/profanity-im/profanity/issues/945
* | Remove `/python sourcepath`Michael Vetter2021-09-291-60/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I feel like this mostly is confusing people. Also don't see much value for it. To me it looks like a regular workflow is like: ``` /plugin install ~/src/profanity-plugins/my.py ``` The whole thing with sourcepath, install (which also loads without having that described anywhere), load etc is confusing. Also each plugin file that is present in `.local/share/profanity/plugins` will then be auto loaded. Which means after installation.
* | cmd_funcs: Use glib functionMichael Vetter2021-09-091-2/+2
|/
* Fix segfault in /blocked with no argsMichael Vetter2021-07-061-1/+1
| | | | Fix https://github.com/profanity-im/profanity/issues/1575
* cmd_blocked: Exit when wrong argumentsMichael Vetter2021-07-021-0/+1
|
* Initialize jidThorben Günther2021-07-011-2/+2
|
* XEP-0377: Fix arg parsingMichael Vetter2021-07-011-12/+23
|
* Merge pull request #1566 from DebXWoody/bugfixing/oxMichael Vetter2021-07-011-2/+18
|\ | | | | Bugfixes for OX implementation
| * OX bug fixDebXWoody2021-07-011-1/+1
| | | | | | | | | | * Help / message description * C-Code format