Philip Flohr
73549dc751
Don't stop plugin installation if given path points to a directory
...
The command "/plugins install <path_to_folder> should install all
plugins in the given folder. This commit removes the check if the path
points to a file (which is repeated in the section installing a plugin
from file) and makes the existing code installing multiple plugins accessible
2019-02-26 14:17:59 +01:00
Philip Flohr
5b7f9dffbc
Fix broken support for case-sensitive account names
...
Don't lower account name before calling accounts_get_account().
Only lower if there is no account with the given name and the name is
interpreted as a jid.
Updated unittests to test this behaviour.
Fixes #725
.
2019-02-22 13:08:08 +01:00
Michael Vetter
0c07b7cf50
Fix autoaway typo
2019-02-19 23:01:53 +01:00
Michael Vetter
706af9a900
Update copyright to include 2019
2019-01-22 11:31:45 +01:00
Raf Czlonka
b4739b328e
Nicks containig spaces need to be quoted
...
For example "FirstName LastName", need to be quoted.
2018-11-22 10:59:18 +01:00
Dmitry Podgorny
3fd6f70bd9
Override account options with connect options
...
With this feature user can configure TLS policy for an account and
override it for a single login with /connect command.
Example:
/account set <jid> tls force
/connect <jid> tls trust
The example shows how to trust server's certificate only once.
Fixes #1021 .
2018-11-07 15:02:30 +02:00
Dmitry Podgorny
7f65aaa9a2
Add option to trust server's certificate
...
New tls policy "trust" added to /connect and /account. With the policy
TLS connection is established even with invalid certificate. Note, that
trust policy forces TLS connection and it fails when server doesn't
support TLS.
Examples:
/connect <jid> tls trust
/account <name> set tls trust
2018-11-06 14:09:02 +02:00
Michael Vetter
47f90d7a39
Merge pull request #991 from paulfariello/feature/xep-0050
...
Add support for xep 0050 ad-hoc commands, without multi-step
2018-09-27 17:27:37 +02:00
Paul Fariello
6de60e7efc
Add support for ad-hoc response with forms
2018-09-10 12:28:28 +02:00
Philip Flohr
054267d738
Fix extended plugin handling PR
...
Fixes problems found in PR #999
2018-09-06 19:54:29 +03:00
Philip Flohr
a5a7db9e2b
implemented plugin updates
2018-09-06 19:28:02 +03:00
Philip Flohr
cd86f5bc28
added the possibility to uninstall a plugin
2018-09-06 19:28:02 +03:00
Philip Flohr
1f66c08567
provide feedback on failure cause if plugin installation fails
2018-09-06 19:28:02 +03:00
Paul Fariello
3c70972610
Add default jid for cmd commands on WIN_CONSOLE
2018-09-05 14:37:26 +02:00
Paul Fariello
4d703c7eb0
Fix description for config commands
2018-09-05 13:52:20 +02:00
Paul Fariello
1d3baa99a7
Ensure cmd commands are run on the right type of window
2018-09-05 13:52:20 +02:00
Paul Fariello
afd4fc4ea1
Fix bad english sentence
2018-09-05 13:52:20 +02:00
Paul Fariello
ec5fc3612f
Allow to use cmd without being in a window
2018-09-05 13:52:20 +02:00
Paul Fariello
e555e41eaf
Fix cmd command synopsis
2018-09-05 13:52:20 +02:00
Paul Fariello
b11d3a79df
Add conf win callback
2018-09-05 13:51:00 +02:00
Paul Fariello
a952776b89
Rename mucconf wins into conf wins
...
Configuration windows are now being used by both muc and cmd.
2018-09-05 13:51:00 +02:00
Paul Fariello
925cd488c1
Handle simple execution
...
Tested with ping from biboumi
2018-09-05 13:50:59 +02:00
Paul Fariello
c9f6a78f57
Add command subcommands: list and exec
...
Also handle list result
2018-09-05 13:49:40 +02:00
Paul Fariello
ca022ec75e
Add command command
...
Initial commit to test commands API
2018-09-05 13:42:28 +02:00
Michael Vetter
33e9af4100
Fix command 'group' description
2018-09-05 13:38:17 +02:00
James Booth
d6e7f389d1
Add max tab length to statusbar
2018-03-11 01:18:46 +00:00
James Booth
95b639a21f
WIP add self prefs for statusbar
2018-03-10 22:16:52 +00:00
James Booth
b7cb527608
Tidy windows when closing room config
2018-03-10 01:48:43 +00:00
James Booth
6f5c0eb525
Preference to show/hide tab number
2018-03-09 23:44:28 +00:00
James Booth
e96af8537c
Only allow swapping active windows
2018-03-09 22:59:38 +00:00
James Booth
136b975b6c
Remove empty tabs
2018-03-09 22:42:20 +00:00
James Booth
59382984c0
Add preferences for tab display
2018-03-09 21:15:27 +00:00
James Booth
a957c545d3
Add max tabs preference for statusbar
2018-03-08 23:11:49 +00:00
James Booth
720dce866e
Add prefs for empty tabs and tab names
2018-03-08 22:27:49 +00:00
James Booth
119c5650cf
Show name in statusbar tabs WIP
2018-03-08 20:01:36 +00:00
James Booth
ecd0736a09
Remove redundant window->type checks
2018-03-04 21:15:24 +00:00
James Booth
7c5ece24c5
Use jid argument for /bookmark when in room
...
fixes #983
2018-03-04 00:35:53 +00:00
James Booth
bea815cc73
Update help for /rooms
2018-02-05 21:51:14 +00:00
James Booth
cba17faf3d
Add /rooms service autocompletion
2018-02-05 21:40:32 +00:00
James Booth
26a182945f
Add /rooms cache
2018-02-05 20:01:54 +00:00
James Booth
8db2389df6
Filter rooms by simple case insensitive text
2018-02-04 21:59:33 +00:00
James Booth
e571ccd8ea
Fix tests, move glob creation
2018-01-27 23:51:03 +00:00
James Booth
2e414797a4
Allow filtering rooms list by glob
2018-01-27 22:42:31 +00:00
James Booth
4c7396e77d
Allow hiding room server in roster
2018-01-21 18:56:20 +00:00
James Booth
250e972b7a
Update copyright
2018-01-21 15:00:02 +00:00
James Booth
17b4e45c57
Show Python version on --version
...
issue #956
2017-08-10 22:17:05 +01:00
Pavel Anosov
380e6f2b58
Fixed a typo in an error message ("This build does not support python plugins.")
2017-07-31 15:06:23 +02:00
James Booth
fc42e15789
Merge remote-tracking branch 'pasis/legacy-ssl'
2017-07-13 22:28:32 +01:00
Dmitry Podgorny
da51d99831
Fix memory leak in cmd_init()
...
_cmd_index() returns string allocated by glib.
2017-07-01 17:01:49 +03:00
Dmitry Podgorny
1012e11283
Legacy SSL support
...
Add "legacy" tls policy to /account and /connect commands. When this
policy is specified the connection is connected with
XMPP_CONN_LEGACY_SSL flag. Notice, legacy SSL and STARTTLS are not
compatible and user has to know when exactly the new policy should be
used.
To enable it, run one of the next commands:
/connect <jid> tls legacy [server <host>]
/account <name> set tls legacy
Notice, there is no SRV record for legacy SSL. Therefore, you may need
"server" property to connect successfully. Refer to configuration
provided by your server.
2017-06-24 21:33:30 +03:00
James Booth
f189dbc687
Only send ping requests to client that support it
2017-06-16 00:59:21 +01:00
James Booth
6511d61b13
Show message when server does not support ping
2017-06-15 23:27:30 +01:00
James Booth
2fafaec8a7
Allow search_any and search_all for help
2017-04-07 00:51:29 +01:00
James Booth
a39440b61d
Match all terms on help search
2017-04-07 00:36:36 +01:00
James Booth
6cba96fdd1
Update /help help
2017-04-07 00:10:58 +01:00
James Booth
68cb8c9a8e
Free cmd search index
2017-04-07 00:08:54 +01:00
James Booth
fd6620a950
Add basic help search
2017-04-06 23:36:50 +01:00
James Booth
6b830277a6
Allow previous autocompletion with shift tab
2017-04-01 00:27:11 +01:00
James Booth
f1a5d12950
Autotidy windows on /leave
...
fixes #917
2017-03-21 21:13:44 +00:00
James Booth
5f1ba08f55
Add plugins sourcepath property
2017-02-05 22:37:48 +00:00
James Booth
286fecf38d
Allow installing plugins from directory
2017-02-05 21:09:03 +00:00
James Booth
c405367dfe
Update plugins help
2017-02-05 19:23:16 +00:00
James Booth
dd42c3de6a
Allow loading all plugins
2017-02-05 19:16:14 +00:00
James Booth
a9fab9ed2d
Allow unloading all plugins
2017-02-05 18:54:33 +00:00
James Booth
68a3daedb9
Update Copyright
2017-01-28 17:24:22 +00:00
James Booth
8978f809f2
Fix alias help
...
fixes #899
2017-01-28 16:39:04 +00:00
James Booth
2b7894ccff
Remove status from cl_ev_presence_send
...
fixes #888
2017-01-15 23:59:31 +00:00
James Booth
926d935e26
Fix help tags for /account
2016-11-23 00:17:50 +00:00
James Booth
e043029a50
Allow clearing account resource
...
issue #880
2016-11-22 00:39:52 +00:00
James Booth
c441dbfa42
Fix typo
2016-11-20 02:21:22 +00:00
James Booth
609d05366c
Use server features for account muc service
...
issue #878
2016-11-20 02:09:34 +00:00
Frank Zschockelt
c0f099cb84
Added main.help.header theme option
2016-10-29 18:19:12 +02:00
James Booth
5b464f4cb0
Add /tls certpath default
...
issue #871
2016-10-17 23:48:03 +01:00
James Booth
333403d2e5
Remove ui_current_print_formatted_line
2016-10-16 22:13:49 +01:00
James Booth
769e71b17b
Remove ui_current_print_line
2016-10-16 21:45:48 +01:00
James Booth
711c5b8e45
Add win_appendln
2016-10-15 19:19:44 +01:00
James Booth
8f1d3ab55c
Add win_print
2016-10-15 18:29:02 +01:00
James Booth
5488fd6e72
Remove win_vprintln_ch
2016-10-15 17:17:17 +01:00
James Booth
864939b809
Use win_printf_line instead of win_println
2016-10-15 17:03:30 +01:00
James Booth
8cf9e0cccc
Use win_printf_line where appropriate
2016-10-15 16:31:54 +01:00
James Booth
33b4b79f2e
Add ch arg to win_printf_line
2016-10-15 00:04:57 +01:00
James Booth
2f888979c5
Use THEME_DEFAULT
2016-10-14 23:56:51 +01:00
James Booth
54cf1dbec4
Add win_printf_line
2016-10-14 23:38:39 +01:00
James Booth
97898ee082
Add win_printf_line
2016-10-12 00:14:55 +01:00
James Booth
0890179fc4
Remove win_print, use win_printf instead
2016-10-11 23:38:59 +01:00
James Booth
0337c5b22c
Rename win_vprint -> win_printf
2016-10-11 23:10:48 +01:00
James Booth
dcc2123ec4
Allow filepath autocompletion in plugins
...
closes #858
2016-10-10 22:28:23 +01:00
James Booth
40116db7c5
Fix /tls revoke message
...
fixes #868
2016-10-06 00:45:55 +01:00
James Booth
82a8f5f10b
Minor code tidy cmd_ac.h
2016-10-06 00:20:20 +01:00
James Booth
4ba496a466
Minor code tidy cmd_ac.c
2016-10-06 00:19:06 +01:00
James Booth
c40660b0d8
Use current room for /bookmark add and /bookmark remove
2016-10-05 00:52:57 +01:00
James Booth
94fd116ef8
Reduce scope of GString in autocompleters
...
fixes #867
2016-10-03 21:44:40 +01:00
Jack Henschel
4b2f9448f7
Correct minor spelling errors
2016-09-27 16:20:37 +02:00
James Booth
b087f84d95
Allow setting /occupants properties when no connected
2016-09-26 00:46:09 +01:00
James Booth
83974728af
Remove verbose output on window move
2016-09-25 21:47:00 +01:00
James Booth
d3cc5bd7ed
Allow vertical positioning of all windows
2016-09-23 00:56:53 +01:00
James Booth
3983ee1d6b
Rename /titlebar -> /wintitle
2016-09-22 21:42:00 +01:00
James Booth
0aa758cbfb
Add /inputwin top|bottom command
...
closes #853
2016-09-19 23:40:45 +01:00
James Booth
74148dd6a2
Fix string frees in _complete_filepath
2016-09-05 23:10:09 +01:00
James Booth
2613d23f8b
Free string on /plugins install
2016-09-05 22:55:23 +01:00
James Booth
9e59571f84
Free strings in _complete_filepath
2016-09-05 22:27:30 +01:00
Tim Nieradzik
74942da0ff
cmd_defs: Fix typo
2016-09-05 09:34:00 +03:00
James Booth
f14a3e075e
Update help
2016-08-22 00:34:35 +01:00
James Booth
0886062806
Use hash table for bookmarks
2016-08-21 15:25:49 +01:00
James Booth
a978bb12bf
Send receipt request only when receiver supports feature
...
issue #829
2016-08-18 22:53:23 +01:00
James Booth
71dcb2e427
Only include lastactivity feature in disco responses when enabled
2016-08-18 00:29:33 +01:00
James Booth
4de570b1ee
Only include receipts feature in disco responses when enabled
...
issue #829
2016-08-18 00:10:15 +01:00
James Booth
8633cd6e29
Free ProfAccount
2016-07-25 22:38:23 +01:00
James Booth
943e91268c
Fix memory leaks
2016-07-25 21:56:38 +01:00
James Booth
0a57c4de78
Tidy headers
2016-07-24 15:43:51 +01:00
James Booth
5bc38b6bc2
Moved window_list.c
2016-07-24 15:14:46 +01:00
James Booth
8f213f22e7
Moved tray.c
2016-07-24 15:10:58 +01:00
James Booth
90b9b48ab9
Moved roster_list.c
2016-07-24 15:08:47 +01:00
James Booth
2af0d38e3d
Moved muc.c
2016-07-24 15:02:43 +01:00
James Booth
1c5efaeb58
Moved jid.c
2016-07-24 14:59:28 +01:00
James Booth
c23506f453
Moved contact.c
2016-07-24 14:55:32 +01:00
James Booth
9cff37352a
Make header defines consistent
2016-07-24 14:51:39 +01:00
James Booth
25a6252a28
Moved chat_session.c
2016-07-24 14:23:55 +01:00
James Booth
4209b1cf45
Add /plugins python_version command
2016-07-24 02:12:56 +01:00
James Booth
e8fc80f5c1
Update GPL link in headers
2016-07-24 01:14:49 +01:00
James Booth
d4b3a05678
Use g_path_get_basename when installing plugin
2016-07-18 20:55:50 +01:00
James Booth
10814b044d
Fix plugin install output
2016-07-13 01:06:03 +01:00
James Booth
0991699ae6
Add /plugins install command
2016-07-12 23:50:21 +01:00
James Booth
9a0111c10a
Allow reloading all plugins with /plugin reload
2016-07-10 01:28:30 +01:00
James Booth
448bef247b
Add /plugin reload command
2016-07-10 01:07:41 +01:00
James Booth
1926ceea3d
Plugin unload remove cmd_acs and close window
2016-07-05 22:46:00 +01:00
James Booth
03c7ac73fd
Move prefs_remove_plugin to plugins_unload
2016-07-04 23:00:41 +01:00
James Booth
71879a3f64
Free plugins commands on quit
2016-07-04 00:41:29 +01:00
James Booth
3bd3de036f
Use hash table to store plugins
2016-06-30 23:58:04 +01:00
James Booth
0cd1b50122
Move plugin config add on load
2016-06-30 23:16:54 +01:00
James Booth
ef6bad483e
/plugins unload command and completer
2016-06-30 23:14:05 +01:00
James Booth
29eb843d56
Revert "WIP - Unload plugin commands"
...
This reverts commit a01eb5d08e
.
2016-06-30 22:37:52 +01:00
James Booth
a01eb5d08e
WIP - Unload plugin commands
2016-06-29 23:35:57 +01:00
James Booth
4c03ee6066
Free string on connect autocomplete
2016-06-08 21:29:15 +01:00
James Booth
784d9642bc
Complete no arg for /account properties
2016-06-01 00:41:27 +01:00
James Booth
78785fa7e6
Complete no arg for /join properties
2016-06-01 00:15:01 +01:00
James Booth
28cc04ca7d
Complete no arg for /connect properties
2016-06-01 00:04:35 +01:00
James Booth
3215418296
Merge branch 'master' into complete-empty
2016-05-31 23:29:46 +01:00
James Booth
e758f74e48
Update /notify help
2016-05-31 23:26:30 +01:00
James Booth
705e3dc7d8
Remove commented code
2016-05-31 23:22:07 +01:00
James Booth
383e601f25
Move /statuses options to /presence command
2016-05-31 23:21:19 +01:00
James Booth
52c01a8ee8
Add /presence titlebar subcommand
2016-05-31 22:46:03 +01:00
James Booth
1d5cc33279
Merge branch 'master' into complete-empty
2016-05-25 00:22:51 +01:00
James Booth
94212cd01c
Update window navigation help
2016-05-25 00:21:27 +01:00
James Booth
5c15f95646
Complete no arg for /bookmark properties
2016-05-24 23:39:27 +01:00
James Booth
b574919738
Complete no arg for /role set
2016-05-24 23:39:09 +01:00
James Booth
e8b2578039
Complete no arg for /affiliation set
2016-05-24 01:43:45 +01:00
James Booth
492c1bfa14
Complete no arg for /script run|show
2016-05-24 01:39:16 +01:00
James Booth
78c23dce58
Complete no arg for /theme load
2016-05-24 01:37:25 +01:00
James Booth
d1ece21b5f
Complete no arg for /plugins load
2016-05-24 01:36:21 +01:00