Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | message.c: Add pubsub helper function | Michael Vetter | 2020-07-02 | 1 | -13/+19 |
| | |||||
* | message.c: Add XEP information | Michael Vetter | 2020-07-02 | 1 | -1/+6 |
| | |||||
* | message.c: Add my copyright | Michael Vetter | 2020-07-02 | 1 | -0/+1 |
| | |||||
* | message.c: Make several functions static | Michael Vetter | 2020-07-02 | 1 | -3/+3 |
| | |||||
* | message.c: Adjust function formatting | Michael Vetter | 2020-07-02 | 1 | -8/+12 |
| | |||||
* | gpg.c: _ox_key_is_usable() simplify if condition | Michael Vetter | 2020-07-02 | 1 | -3/+3 |
| | |||||
* | gpg.c: Format new ox function heads | Michael Vetter | 2020-07-02 | 1 | -7/+26 |
| | |||||
* | log.c: Format code | Michael Vetter | 2020-07-02 | 1 | -7/+9 |
| | |||||
* | cmd_funcs.c: Remove not needed variable | Michael Vetter | 2020-07-02 | 1 | -2/+1 |
| | |||||
* | log.c: Use gchar* instead of GString for mainlogfile | Michael Vetter | 2020-07-02 | 1 | -10/+9 |
| | |||||
* | get_mentions() Use gchar instead of char | Michael Vetter | 2020-07-02 | 1 | -2/+2 |
| | |||||
* | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 19 | -145/+138 |
| | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* | Merge pull request #1374 from profanity-im/revampUrlopen | Michael Vetter | 2020-07-02 | 8 | -52/+426 |
|\ | | | | | Rework /url and /executable for filetypes | ||||
| * | Add note that /executable needs more work | Michael Vetter | 2020-07-02 | 1 | -0/+2 |
| | | |||||
| * | Transform url.open.cmd to new default scheme | Michael Vetter | 2020-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | Additionally to: 7de83217c4d7bfdb70b77f2baeb8f12d4147d873 1e2a288d80fe0200f1d44d5106f7cc5bfd77718b | ||||
| * | executable: actually take the user set default if a certain scheme is | Michael Vetter | 2020-07-02 | 1 | -6/+11 |
| | | | | | | | | not found | ||||
| * | executable: Use DEF instead of * as default | Michael Vetter | 2020-07-02 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | So far: ``` /executable urlsave html "test %u" results in url.save.cmd[html]=test %u /executable urlsave * "test %u" results in nothing. ``` Probably due to limitation in .ini file format. | ||||
| * | cmd_url_*(): use gchar instead of char | Michael Vetter | 2020-07-02 | 4 | -6/+6 |
| | | |||||
| * | Use correct format when transforming old urlopen.cmd | Michael Vetter | 2020-07-02 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally to ec7e635e752bdfef851fd177596c1d73d97afb42. In the earlier commit I just setted the test value ignoring the real format. Now we correctly transform: ``` [logging] urlopen.cmd=xdg-open ``` into: ``` [executables] url.open.cmd=false;xdg-open %u; ``` | ||||
| * | cmd_url_open(): fix memleak | Michael Vetter | 2020-07-02 | 1 | -0/+1 |
| | | |||||
| * | use '*' to set a default executable | Pierre Mazière | 2020-07-02 | 2 | -15/+28 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | fix examples for /executable | Pierre Mazière | 2020-07-02 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | cmd_url_*(): remove NULLing when not needed | Michael Vetter | 2020-07-01 | 1 | -8/+4 |
| | | |||||
| * | cmd_executable(): Check arg lengths | Michael Vetter | 2020-07-01 | 1 | -0/+10 |
| | | |||||
| * | Adjust `/executable` test to be more precise | Michael Vetter | 2020-07-01 | 1 | -1/+1 |
| | | |||||
| * | Move url/avatar commands from logging to exectuables section | Michael Vetter | 2020-07-01 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | c56d530b67d09267eb46cba029217e4b84b32cef by peetah moves: urlopen.cmd from the 'logging' to a new 'executables' section in profrc avatar.cmd from the 'logging' to a new 'executables' section in profrc We need to adapt this so that users don't have to set the setting again themselves. | ||||
| * | console.c: Use prefs_free_string() | Michael Vetter | 2020-07-01 | 1 | -1/+1 |
| | | | | | | | | | | f9961677aaa8d2713a80127f95a3770b33af4cef replaces prefs_free_string() with g_free(). Both is correct but lets still use this. | ||||
| * | prefs_free_string() doesnt need to check if pref is NULL | Michael Vetter | 2020-07-01 | 1 | -4/+1 |
| | | | | | | | | g_free(NULL); is noop. | ||||
| * | Display a message acknowledging file saving success | Pierre Mazière | 2020-06-25 | 1 | -0/+2 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | Display default value for /url associated commands | Pierre Mazière | 2020-06-25 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | | | | | The display of commands associated with specific file types and protocols will need to be implemented later, but this requires to use private data of the GKeyFile structure, which can be a maintainability issue on the long term. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | Add /url autocompletion | Pierre Mazière | 2020-06-25 | 1 | -4/+22 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | Replace /urlopen with /url and adapt /executable | Pierre Mazière | 2020-06-25 | 5 | -33/+249 |
| | | | | | | | | | | | | | | | | /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> | ||||
| * | Add string and string list preferences with option | Pierre Mazière | 2020-06-25 | 2 | -1/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | Where GKeyFile usually use the pref[locale] format to define locale specific translated data, it is here hijacked to be used as pref[option] in order to specialize a preference according to an option: open.url.cmd[pdf] = pdf-viewer open.url.cmd[jpg] = image-viewer Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | Refactor cmd_urlopen | Pierre Mazière | 2020-06-25 | 1 | -16/+16 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
| * | Add aesgcm to urls grabber | Pierre Mazière | 2020-06-25 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com> | ||||
* | | 0.9.5 | Michael Vetter | 2020-07-01 | 2 | -2/+2 |
| | | |||||
* | | Update 0.9.5 changelog | Michael Vetter | 2020-07-01 | 1 | -0/+6 |
| | | |||||
* | | Add default value for titlebar.scrolled | Michael Vetter | 2020-07-01 | 1 | -0/+1 |
| | | | | | | | | Fix https://github.com/profanity-im/profanity/issues/1380 | ||||
* | | otr.c: Simplify freeing | Michael Vetter | 2020-07-01 | 1 | -3/+1 |
| | | | | | | | | free(NULL) is a noop. | ||||
* | | Fix overlooking variable | Michael Vetter | 2020-07-01 | 1 | -2/+2 |
| | | | | | | | | Fix mistake where I overlooked some variables in 1224aa414e56a763412ee33c2b8779d4e6cb1608. | ||||
* | | files.c: use const char *const where appropriate | Michael Vetter | 2020-07-01 | 2 | -4/+4 |
| | | |||||
* | | Use files_get_account_data_path instead of duplicate code | Michael Vetter | 2020-07-01 | 6 | -105/+87 |
| | | | | | | | | | | We often had a use case where we want the account specific data dir. Let's create a function for this instead of doing it by hand each time. | ||||
* | | Initialize is_ox in win_create_chat() | Stefan Kropp | 2020-07-01 | 1 | -0/+1 |
| | | | | | | | | Fixes an issue where messages are displayed as OX when they are not. | ||||
* | | And ifdefs around new OX functions | Michael Vetter | 2020-06-30 | 2 | -8/+11 |
| | | | | | | | | | | Fix for some build cases introduced in 2c94ee5a88f64332a3f41f41a4d314fc52200e31 Fix https://github.com/profanity-im/profanity/issues/1376 | ||||
* | | Add OX test stubs | Michael Vetter | 2020-06-29 | 2 | -0/+16 |
| | | |||||
* | | Fix omemo otr case | Michael Vetter | 2020-06-29 | 1 | -1/+2 |
| | | | | | | | | Fix 3afd854dc862696c4842b2ed93efcad44d617910 | ||||
* | | Feature request - XEP-0373: OpenPGP for XMPP (OX) | DebXWoody | 2020-06-29 | 20 | -4/+991 |
| | | | | | | | | | | | | | | | | | | Basic implementation of XEP-0373: OpenPGP for XMPP. https://xmpp.org/extensions/xep-0373.html Command /ox Issue: #1331 | ||||
* | | cmd_funcs: fix omemo case | Michael Vetter | 2020-06-29 | 1 | -1/+2 |
| | | | | | | | | Small mistake introduced in b7f959bab4e8ed13e8b5d638180420e497844a26. | ||||
* | | Dont allow starting a PGP session while in an OMEMO session | Michael Vetter | 2020-06-29 | 1 | -0/+5 |
| | | |||||
* | | Merge pull request #1363 from DebXWoody/definemess | Michael Vetter | 2020-06-29 | 3 | -422/+19 |
|\ \ | |/ |/| | Clean-up task: clean up feature defines |