about summary refs log tree commit diff stats
path: root/src/command
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Format new register code correctlyMichael Vetter2021-10-133-3/+0
|
* Merge pull request #1574 from binex-dsk/masterMichael Vetter2021-10-133-0/+95
|\ | | | | | | Add in-band account registration Fix https://github.com/profanity-im/profanity/issues/199
| * registration: remove auth param and excess functionsswirl2021-08-172-13/+3
| |
| * 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-172-14/+24
| | | | | | | | add auth param, switch host and username params, rename host param to server
| * initial register command testswirl2021-08-173-0/+94
| |
* | Format code correctlyMichael Vetter2021-10-052-10/+10
| |
* | Add more help about how to use pluginsMichael Vetter2021-09-292-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `/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-292-1/+37
| | | | | | | | | | | | | | | | | | | | 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-293-85/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
* | Change attentionflag shortcut to alt+vMichael Vetter2021-08-311-1/+1
|/ | | | | | alt+f is the default readline shortcut for forward one word. Regards https://github.com/profanity-im/profanity/issues/1580
* Merge pull request #1576 from DebXWoody/autocomplete-untrustMichael Vetter2021-07-121-0/+27
|\ | | | | OMEMO autocomplete untrust
| * OMEMO autocomplete untrustDebXWoody2021-07-101-0/+27
| | | | | | | | Just a copy-past of autocomplete trust implementation.
* | Add limitations info to /help editorMichael Vetter2021-07-081-1/+3
| |
* | Add MAM notice to /help mamMichael Vetter2021-07-081-1/+3
| |
* | 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-013-10/+32
|\ \ | | | | | | Bugfixes for OX implementation
| * | OX bug fixDebXWoody2021-07-012-4/+5
| | | | | | | | | | | | | | | * Help / message description * C-Code format
| * | Bugfixes for OX implementationDebXWoody2021-06-283-10/+31
| |/ | | | | | | | | | | | | * autocomplete for /ox discover * fixed help description * Implemented /ox char command * Validated KeyID length
* | Add option to only allow messages from jids in rosterMichael Vetter2021-07-014-1/+25
| | | | | | | | | | | | | | `/silence on` will throw away all messages (type: chat, normal) that come from jids that are not in the roster. Implement https://github.com/profanity-im/profanity/issues/955
* | Reorder /blocked commandsMichael Vetter2021-07-013-26/+37
| | | | | | | | | | | | | | | | Instead of `/blocked add [<jid>] [report-abuse|report-spam [<message>]` have: * /blocked add [<jid>] [<message>] (like before) * /blocked report-abuse [<jid>] [<message>] * /blocked report-spam [<jid>] [<message>]
* | Mention feature details when not supportedMichael Vetter2021-07-011-5/+5
| | | | | | | | So that we will get aware of a version mismatch.
* | Add XEP-0377: Spam ReportingMichael Vetter2021-07-012-10/+35
| | | | | | | | | | | | | | | | | | | | | | Report and block: `/blocked add someone@domain.org report-abuse This is not nice` `/blocked add someone@domain.org report-spam This is not nice` Regular block: `/blocked add someone@domain.org` Implement https://github.com/profanity-im/profanity/issues/1434
* | command: Mention xep-0157 in /disco infoMichael Vetter2021-06-301-1/+2
|/
* Fix executable exampleMichael Vetter2021-06-101-1/+1
| | | | Changed in a5a0dd6c919a2b4f12ef2b4f57a0d9a2a9cabf34
* editor: dont print preview in windowMichael Vetter2021-06-101-2/+0
| | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* editor: dont check whether compose file existsMichael Vetter2021-06-101-6/+0
| | | | | No need to check anymore since we are now saving per account. Like this we also could reopen the same file again.
* editor: use status to check for being onlineMichael Vetter2021-06-101-3/+4
|
* editor: Use datadir instead of tmp dirMichael Vetter2021-06-101-8/+16
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
* Add editor hintMichael Vetter2021-06-101-1/+1
| | | | | See https://github.com/profanity-im/profanity/issues/1521#issuecomment-854110973
* Add command to show single bookmark detailsMichael Vetter2021-06-093-5/+20
| | | | | | | `/bookmark list` lists all bookmarks with its details. `/bookmark list <jid>` shows the details of a single bookmark. Implement https://github.com/profanity-im/profanity/issues/1558
* Merge pull request #1543 from DebXWoody/feature/attention-flagMichael Vetter2021-05-314-0/+12
|\ | | | | Feature - attention flag
| * Change attention descriptionMichael Vetter2021-05-311-1/+1
| |
| * Attention flag for groupchatsDebXWoody2021-05-291-1/+1
| | | | | | | | Attention flag for groupchat and display the windows via "/wins attention"
| * Attention flag for chat windowsDebXWoody2021-05-294-0/+12
| | | | | | | | | | | | | | User is able to toggle a flag for chat windows. This flag should be used to mark the window for "Attention". Use Ctrl+f to mark the window.
* | external editor: don't use absolute paths and allow path searchJörg Thalheim2021-05-301-5/+1
|/
* Display OMEMO device IDDebXWoody2021-05-281-1/+1
| | | | | Display the OMEMO device ID which has been generated, when the user generated OMEMO crytographic materials via /omemo gen.
* Fix spelling of "persistent(ly)"Raf Czlonka2021-05-231-3/+3
|
* Print message about new direct messageMichael Vetter2021-05-121-0/+4
| | | | So users don't get surprised if they don't know the barejid of the nick.
* Use direct messages instead of MUC-PMs for non-anon MUCsMichael Vetter2021-05-121-35/+51
| | | | | | | | | | | | | In https://github.com/profanity-im/profanity/issues/1070 we have: `OMEMO encryption for MUC PM (OMEMO MUCs are not anonymous, so we should start a regular 1:1 in this case instead of MUC PM. A discussion started to make this a general feature #1531)` In https://github.com/profanity-im/profanity/issues/1531 we have the general issue to start regular 1:1 messages instead of MUC PMs if the room is non-anonymous. This is like suggested in https://docs.modernxmpp.org/client/groupchat/.