about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1607 from profanity-im/utf8indicatorcharMichael Vetter2021-10-227-229/+201
|\ | | | | Allow more UI indicator signs to be utf8 "characters"
| * Allow utf8 in occupants header charMichael Vetter2021-10-226-29/+24
| |
| * Allow utf8 in occupants charMichael Vetter2021-10-226-29/+25
| |
| * Allow utf8 in roster room private charMichael Vetter2021-10-226-27/+22
| |
| * Allow utf8 in roster rooms charMichael Vetter2021-10-226-29/+24
| |
| * Allow utf8 in roster private charMichael Vetter2021-10-226-27/+22
| |
| * Allow utf8 in roster resource charMichael Vetter2021-10-226-30/+28
| |
| * Allow utf8 in roster contact charMichael Vetter2021-10-226-33/+28
| |
| * Allow utf8 in roster header charMichael Vetter2021-10-216-29/+32
| | | | | | | | | | | | | | | | | | 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-226-55/+145
|\ \ | |/ |/| Add /correct-editor command
| * Move declaration and definition of win_get_last_sent_message to the correct ↵MarcoPolo-PasTonMolo2021-10-225-32/+33
| | | | | | | | place
| * Remove autocomplete for /correct-editorMarcoPolo-PasTonMolo2021-10-214-31/+18
| | | | | | | | | | | | 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-074-1/+153
| |
* | Format new register code correctlyMichael Vetter2021-10-1313-43/+34
| |
* | Merge pull request #1574 from binex-dsk/masterMichael Vetter2021-10-1313-2/+506
|\ \ | |/ |/| | | Add in-band account registration Fix https://github.com/profanity-im/profanity/issues/199
| * registration: memory leaks, error checkingswirl2021-10-132-6/+6
| |
| * fixed crashes when server doesn't support registrationswirl2021-10-101-1/+1
| |
| * registration: remove auth param and excess functionsswirl2021-08-179-210/+5
| |
| * REGISTRATION FIXEDMichael Vetter2021-08-171-8/+8
| |
| * progress on fixing registrationswirl2021-08-172-8/+6
| | | | | | | | | | | | doesnt segfault on register, but aborts when you type after registering need to find a way to disconnect later
| * hacky fix(?) for registerswirl2021-08-174-20/+366
| | | | | | | | very bad and spaghetti will fix later
| * fixed some bugs, added some moreswirl2021-08-179-15/+96
| | | | | | | | | | | | | | | | | | - 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-179-0/+274
| |
* | Format code correctlyMichael Vetter2021-10-0526-88/+84
| |
* | Fix history timestampMarcoPolo-PasTonMolo2021-10-051-6/+6
| | | | | | | | | | | | | | Fixes https://github.com/profanity-im/profanity/issues/1423 Oldest stanza is fetched like before but now the timestamp is generated by creating date_time_from_iso8601 and then to_local, instead of trusting that the timestamp is in utc. The procedure previously was stamp = time_val_from_iso8601() then date_time = date_time_from_utc(stamp) then local_date_time = to_local(date_time)
* | Fix fromat string in statusbarMichael Vetter2021-09-291-7/+7
| | | | | | | | Regards https://github.com/profanity-im/profanity/issues/1597#issuecomment-930540261
* | Fix wrong format string in titlebarMichael Vetter2021-09-291-3/+3
| | | | | | | | | | | | | | See https://github.com/profanity-im/profanity/commit/fd9ccec8dc604902bbb1d444dba4223ccee0a092 and https://github.com/profanity-im/profanity/issues/1597#issuecomment-930426764.
* | 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
* | Clean sourcepath from profrcMichael Vetter2021-09-291-0/+5
| | | | | | | | See 3b3a6b7a756e0f162d212249750524b7ce045cea for sourcepath removal.
* | Remove `/python sourcepath`Michael Vetter2021-09-295-90/+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.
* | Fix wrong format string in titlebar encryptionMichael Vetter2021-09-291-2/+2
| | | | | | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1597 Thanks @debacle.
* | Fix typosMichael Vetter2021-09-221-2/+2
| |
* | Add more keybindings to /help navigationMichael Vetter2021-09-151-2/+5
| |
* | cmd_funcs: Use glib functionMichael Vetter2021-09-091-2/+2
| |
* | notifier: Use glib functionMichael Vetter2021-09-091-3/+2
| |
* | Enable whole word only notifications by defaultMichael Vetter2021-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set PREF_NOTIFY_MENTION_WHOLE_WORD to true. If I'm not mistaken the _mucwin_print_mention() / get_mentions() functions only work correctly since 6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b. This changed the behaviour for users. They got notified when their nick was `kaffee` and in the message the string `kaffeekanne` occured. Setting `/notify room mention word_whole` corrected this. So my idea is that only now the mention function work correctly. And to have a good default behaviour we should set the `word_whole` on by default. Regards https://github.com/profanity-im/profanity/issues/1578
* | Change attentionflag shortcut to alt+vMichael Vetter2021-08-312-2/+2
| | | | | | | | | | | | alt+f is the default readline shortcut for forward one word. Regards https://github.com/profanity-im/profanity/issues/1580
* | Fix memleakPaul Fariello2021-08-201-0/+2
| |
* | Log error received while publishing OMEMO device listPaul Fariello2021-08-201-1/+2
| |
* | CosmeticPaul Fariello2021-08-201-1/+0
| |
* | OMEMO: Fix precondition-not-met handlingPaul Fariello2021-08-192-6/+15
| |
* | Create devicelist if it doesn't existsPaul Fariello2021-08-191-1/+18
| |
* | OMEMO: try device list creation and reconfigure on precondition-not-metPaul Fariello2021-08-193-8/+26
| |
* | Ensure devicelist access model is configured before updating itPaul Fariello2021-08-193-24/+96
|/
* omemo: always free error and print warningMichael Vetter2021-07-221-0/+9
| | | | Fix https://github.com/profanity-im/profanity/issues/1584