1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00
Commit Graph

573 Commits

Author SHA1 Message Date
James Booth
6986a02ff3 Added command definition macros 2015-07-26 19:39:12 +01:00
James Booth
2b725f9144 Reordered command arguments 2015-07-26 02:28:45 +01:00
James Booth
34537e2fb1 Removed old command help 2015-07-26 02:05:53 +01:00
James Booth
36ebf0fc17 Updated help category output 2015-07-26 01:27:42 +01:00
James Booth
cb7504e67f Moved remaining help to new format 2015-07-26 00:17:16 +01:00
James Booth
b33f4777d0 Fix formatting for variables in new help 2015-07-25 20:57:21 +01:00
James Booth
19fb907bc5 Generate HTML docs using new help format 2015-07-25 20:43:16 +01:00
James Booth
90dda0e9a0 Added more help to new format 2015-07-25 00:45:20 +01:00
James Booth
b736883ac4 Added roster to new help format 2015-07-24 21:20:55 +01:00
James Booth
a8eb281553 Added msg to new help format 2015-07-24 00:44:56 +01:00
James Booth
44d7a152a4 Added connect to new help format 2015-07-24 00:33:38 +01:00
James Booth
22111bf75b Moved help and about to new format 2015-07-23 23:05:33 +01:00
James Booth
46e2f11b93 Removed /mouse command 2015-07-19 22:48:12 +01:00
James Booth
84cc67fa88 Removed 'empty' from roster autocompleter 2015-07-14 20:59:55 +01:00
James Booth
9a5fe29caa Changed /roster empty -> /roster remove_all contacts
Make it difficult to accidentally use this command.
2015-07-08 20:51:39 +01:00
Daniel
806afcc014 Allow hiding of empty presence groups: /roster {show,hide} empty (default is show) 2015-07-08 13:11:56 +02:00
James Booth
106e909fbd Merge remote-tracking branch 'incertia/time'
Conflicts:
	src/config/preferences.c
2015-07-01 20:16:09 +01:00
James Booth
358e9d6af0 Added /pgp setkey command 2015-06-23 23:29:10 +01:00
James Booth
86acd4649b Added PGP prefs 2015-06-22 21:09:14 +01:00
James Booth
918e55becf Fixed pgp help 2015-06-21 22:29:15 +01:00
James Booth
9526f2b7eb Fixed /pgp help formatting 2015-06-21 22:06:27 +01:00
James Booth
3d2f999efb Added PGP logging preferences 2015-06-21 21:42:58 +01:00
James Booth
446027b950 Moved setting otr.warn -> enc.warn 2015-06-21 21:07:57 +01:00
James Booth
217fcff420 Added /pgp end command 2015-06-21 20:20:28 +01:00
James Booth
6617bb5a2b Added window encyption mode for PGP 2015-06-20 23:49:24 +01:00
James Booth
16999a3964 Merge branch 'master' into openpgp 2015-06-20 00:39:08 +01:00
James Booth
d7ec339e3e Added /roster empty command 2015-06-20 00:38:28 +01:00
James Booth
97ba9d2692 Merge branch 'master' into openpgp 2015-06-17 20:06:13 +01:00
James Booth
f51a26e6a0 Merge remote-tracking branch 'quite/#513' 2015-06-17 20:05:27 +01:00
James Booth
1af3565cbd Merge branch 'master' into openpgp 2015-06-17 19:55:52 +01:00
James Booth
e00a03f916 Removed wins_get_current_* functions 2015-06-17 19:49:55 +01:00
James Booth
8fde14879a Merge branch 'master' into openpgp
Conflicts:
	src/command/commands.c
	src/command/commands.h
2015-06-17 00:40:06 +01:00
James Booth
a798dc5618 Removed unused function prototype 2015-06-17 00:18:59 +01:00
James Booth
2215a3791f Added current window reference to command functions 2015-06-17 00:15:28 +01:00
James Booth
cfef64c767 Pass current window to autocompleters 2015-06-16 22:59:08 +01:00
Daniel
d00d71f245 Let's only strip trailing whitespace when parsing command
Allows for "quoting" a command--doing nothing but sending the string: SPC/command
As we're used to from for example irc clients. 

Fixes boothj5/profanity#513
2015-06-16 09:46:02 +02:00
James Booth
c76692516a Merge branch 'master' into openpgp 2015-06-15 20:39:17 +01:00
James Booth
38ed9188d3 Moved ui/windows -> window_list 2015-06-15 19:26:28 +01:00
James Booth
a3693cfbe7 Merge branch 'master' into openpgp 2015-06-02 20:32:07 +01:00
Pete Maynard
7bc671e07c Extra underline 2015-06-01 11:33:19 +01:00
Pete
0564976264 Refactored 'ui_tidy_wins()' to return bool and not output text, Corrected underline, removed call to function 'wins_resize_all()'. 2015-06-01 11:27:01 +01:00
Will Song
837f8b1f10
add examples and be more specific about time formatting 2015-05-30 00:42:19 -05:00
Will Song
0e7507a1aa
update autocomplete 2015-05-29 20:49:28 -05:00
Will Song
9463c67190
fix conflicts 2015-05-29 19:53:37 -05:00
Pete
fbc57765a3 Added window auto tidy. 2015-05-29 14:25:14 +01:00
James Booth
c9e21a557e Merge branch 'master' into openpgp 2015-05-05 00:51:16 +01:00
James Booth
d52f86ef0f Tidied form field autocompleters 2015-05-05 00:13:41 +01:00
James Booth
3fd9692aec Merge branch 'master' into pgp 2015-05-04 23:40:58 +01:00
James Booth
2b3cc65b52 Use null check convention in command.c 2015-05-04 22:16:39 +01:00
James Booth
bcfbbac49a Merge branch 'master' into pgp 2015-04-12 02:16:13 +01:00
James Booth
57dc5f14ef Added option to show jids in occupants panel 2015-04-12 02:14:37 +01:00
James Booth
7e4b756e44 Merge branch 'master' into pgp 2015-04-11 23:38:44 +01:00
James Booth
a2ccd89646 Autogenerate room name with UUID for /join with no args 2015-04-11 23:37:52 +01:00
James Booth
551f7df1f7 Added signature verification, /pgp fps command 2015-03-24 00:47:13 +00:00
James Booth
475dfebd97 Added pgpkeyid account setting, send signed presence 2015-03-23 23:38:06 +00:00
James Booth
fd86615549 Added /pgp libver command 2015-03-22 00:29:57 +00:00
James Booth
2490c3ed20 Added pgp key list command 2015-03-22 00:12:14 +00:00
James Booth
f1f047889e Added individual options to send and request delivery receipts 2015-03-19 22:57:51 +00:00
James Booth
9bf5a68329 Moved default and alias command execution 2015-03-16 00:03:07 +00:00
James Booth
8944a3b5bb Move common chat logging code to log.c 2015-03-15 23:19:00 +00:00
James Booth
fae2717f27 Tidied help 2015-03-15 20:04:53 +00:00
James Booth
2762f18a3e Added /receipts command 2015-03-15 19:48:19 +00:00
James Booth
bc6e32175d Removed from argument from outgoing message functions 2015-03-14 14:50:45 +00:00
James Booth
57c7564445 Show message received text for receipts 2015-03-11 23:47:11 +00:00
James Booth
e5bb12a0d6 Added /time statusbar preference 2015-03-10 23:35:08 +00:00
James Booth
2ff6873cf1 Send private carbons element with message when encrypted 2015-03-10 21:16:34 +00:00
James Booth
2c19fad6d6 Added /carbons autocompletion 2015-03-09 21:53:29 +00:00
James Booth
945f29873e Merge remote-tracking branch 'oliverlemoal/xep-0280' into xep-0280 2015-03-08 21:51:50 +00:00
James Booth
2112ddea65 Merge branch 'master' into readline 2015-02-26 00:50:49 +00:00
James Booth
cbdfc09a84 Renamed /theme set -> /theme load 2015-02-26 00:49:21 +00:00
James Booth
7454bede8b Merge branch 'master' into readline 2015-02-23 00:50:58 +00:00
James Booth
2f4d66ea6e Merge remote-tracking branch 'stormc/master-spellfixes'
Conflicts:
	src/command/command.c
2015-02-23 00:49:56 +00:00
James Booth
6979786ace Merge branch 'master' into readline 2015-02-23 00:17:24 +00:00
James Booth
c249a60cba Finished help tidy 2015-02-23 00:15:33 +00:00
Christian Storm
a1d14c4526 Fixed spelling. 2015-02-17 10:52:37 +01:00
James Booth
475ec97f99 Merge branch 'master' into readline 2015-02-16 22:53:15 +00:00
James Booth
0997bafeb9 Removed comment 2015-02-16 22:52:18 +00:00
James Booth
1a59c6e745 Merge branch 'master' into readline 2015-02-16 22:38:45 +00:00
James Booth
2605b84a70 Tidy help 2015-02-16 22:37:17 +00:00
James Booth
32b8ead198 Merge branch 'master' into readline 2015-02-14 20:46:11 +00:00
James Booth
d02b364b3c Tidy help 2015-02-11 23:58:11 +00:00
James Booth
b24510c776 Merge branch 'master' into readline
Conflicts:
	src/tools/history.c
	src/tools/history.h
2015-02-11 00:09:58 +00:00
James Booth
b3be26a214 Updated copyright 2015-02-10 23:16:09 +00:00
Olivier LE MOAL
48f9f3b3b0 Add XEP-0280 support 2015-02-10 11:32:22 +01:00
James Booth
51ccb69580 Merge branch 'master' into readline
Conflicts:
	src/ui/inputwin.c
2015-02-09 21:28:08 +00:00
James Booth
6682f243ce Free theme list after use 2015-02-09 21:21:22 +00:00
James Booth
8cec79faef Merge branch 'master' into readline 2015-02-08 21:03:26 +00:00
James Booth
44c5b34a71 Moved quote stripper to common, added tests 2015-02-08 20:59:51 +00:00
James Booth
236e508cd8 Merge remote-tracking branch 'peterlvilim/quote-chars'
Conflicts:
	src/command/command.c
2015-02-08 20:34:20 +00:00
James Booth
129af0eafd Merge branch 'master' into readline 2015-02-08 00:46:55 +00:00
James Booth
e0dfe4832b Added code to generate HTML command reference for website 2015-02-08 00:42:21 +00:00
James Booth
b7a8e7d942 Merge branch 'master' into readline 2015-02-06 22:05:38 +00:00
James Booth
8977c9c721 Removed duplicate time_ac 2015-02-06 21:40:35 +00:00
James Booth
372cf822cb Merge branch 'master' into readline 2015-02-01 20:47:28 +00:00
James Booth
a9ed64911d Removed history and various key handlers 2015-01-30 23:42:51 +00:00
James Booth
5b26879e31 Updated /wrap help 2015-01-28 20:59:25 +00:00
James Booth
351ff752a7 Renamed command group presence->presences to avoid clash 2015-01-28 20:35:00 +00:00
Will Song
7f436d614b
use custom format string for time preference 2015-01-27 19:55:16 -06:00
James Booth
4c6cfcdca0 Simplified autocompleters and command history 2015-01-16 22:50:40 +00:00
James Booth
51105720ab Moved input line to inputwin 2015-01-15 23:43:22 +00:00
James Booth
3656c78217 Moved process_input to cmd_process_input 2015-01-15 20:34:45 +00:00
Peter Vilim
7e8ab90d39 Strip quote chars from name autocomplete 2015-01-14 17:22:32 -06:00
James Booth
21f8b1c4ca Merge remote-tracking branch 'peterlvilim/keyring' 2015-01-13 00:41:56 +00:00
James Booth
a39ac6cd07 Merge remote-tracking branch 'savar/dynamic_input_block' 2015-01-12 23:41:15 +00:00
Simon Effenberg
34148e2101 adding preference option for dynamic input blocking
/inpblock is now having subcommands 'timeout' and 'dynamic'
with:

/inpblock timeout <milliseconds>

and

/inpblock dynamic <on|off>

Defaults are:

/inpblock timeout 500
/inpblock dynamic on

To get the old behavior specify:

/inpblock timeout 20
/inpblock dynamic off

The dynamic mode will block incrementally after something
should be written to the window or after a key was pressed. So pressing
a key would set the timeout to 0ms and after 10 timeouts to the next
bigger one.

Example (with dynamic mode on):

"/inpblock timeout 50"

timeout series:

10x 0ms
10x 10ms (0ms + 10 times since last keypress)
10x 30ms (10ms + 20 times since last keypress)
*x50ms until next key was pressed or
2015-01-12 11:32:32 +01:00
James Booth
0d0ed9b7ca Merge remote-tracking branch 'incertia/exit-title'
Conflicts:
	src/command/command.c
	src/config/preferences.c
	src/config/preferences.h
2015-01-12 01:12:42 +00:00
James Booth
c64484c6ed Renamed titlebar preference 2015-01-12 00:43:42 +00:00
James Booth
31c0f2ba78 Added preferences for showing resource in titlebar and messages 2015-01-10 19:10:10 +00:00
Will Song
e57fa1633a add exit title preference to group and add command for setting the preference 2015-01-08 10:18:29 -06:00
Peter Vilim
b4f37b9e31 iofixed 2015-01-07 00:17:59 -06:00
Peter Vilim
401835f32a Add support for evaluated password 2015-01-06 23:00:02 -06:00
James Booth
8326c8b3a2 Refactored chat session handling on sending message 2015-01-04 23:40:10 +00:00
James Booth
42a5c431c7 Use resource in chat sessions 2015-01-04 20:19:42 +00:00
James Booth
aebee209b2 Merge remote-tracking branch 'incertia/connect-default'
Conflicts:
	CHANGELOG
2014-12-29 15:29:28 +00:00
James Booth
1c35321cb3 Fixed cmd_execute_default (resource instead of barejid) 2014-12-29 02:22:01 +00:00
James Booth
ac4b59eda0 Fixed chat state for non OTR 2014-12-28 22:45:25 +00:00
James Booth
e602c2909e Moved chat states out of xmpp module for message send chat 2014-12-27 00:52:34 +00:00
James Booth
676ed1cbae Fixed non OTR compilation 2014-12-25 01:18:45 +00:00
James Booth
9d94ac5c63 Removed function pointers 2014-12-22 22:13:42 +00:00
James Booth
86dc29d8e8 Removed functions from window.c 2014-12-22 00:01:43 +00:00
James Booth
13f73a30e7 Added /inpblock command 2014-12-21 18:15:29 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
0146e62576 Refactoring window types, removing recipient and from references - wip 2014-12-18 23:57:19 +00:00
James Booth
630fef015d Added new window and layout types 2014-12-16 01:39:47 +00:00
James Booth
742748b05c Renamed chat_resource -> resource 2014-12-10 21:17:31 +00:00
James Booth
706f31422d Moved chat resource to WIN_CHAT type 2014-12-10 01:44:32 +00:00
James Booth
7b44ac97cc Added form to WIN_MUC_CONFIG type 2014-12-10 01:14:11 +00:00
James Booth
5314e59703 Added /resource autocompletion 2014-12-04 00:16:42 +00:00
James Booth
eeb6e6b8fc Use selected resource for sending messages 2014-12-03 23:36:39 +00:00
James Booth
1a8c805319 Added /resource command 2014-12-02 20:50:21 +00:00
James Booth
8fee155797 Automatically add/remove '/' when adding and removing aliases 2014-11-30 23:34:54 +00:00
Will Song
b23c60953f add some tooltip messages for /account and /connect 2014-11-27 12:28:16 -06:00
Will Song
b5a40f5b04 finish /account default ac 2014-11-27 12:11:47 -06:00
Will Song
48778265e7 add a bit of default account autocomplete 2014-11-27 12:07:18 -06:00
James Booth
ed228ebb59 Merge remote-tracking branch 'incertia/master' 2014-11-24 00:54:51 +00:00
Will Song
be031bbe54 implement account removal 2014-11-23 15:53:13 -06:00
Will Song
915c3633e8 implement account removal 2014-11-23 15:37:10 -06:00
Will Song
035dc313dd add nooffline to /roster autocomplete 2014-11-23 02:06:04 -06:00
Will Song
553f8b54cc updated description for /roster 2014-11-23 02:03:26 -06:00
James Booth
e8a65e3b68 Renamed roster autocomplete functions 2014-11-22 21:13:33 +00:00
James Booth
3e98df7a2f Fixed autoaway help 2014-11-20 23:31:20 +00:00
James Booth
81b1009fd9 Updated /theme usage 2014-11-20 01:50:04 +00:00
James Booth
1d5ac1b474 Added /theme colours command 2014-11-17 21:10:08 +00:00
James Booth
cd855d3740 Added /time off 2014-11-16 01:28:41 +00:00
James Booth
40dc8e2c49 Added /time setting 2014-11-16 00:40:54 +00:00
James Booth
1479a5e134 Added /roster size and /occupants size settings 2014-11-15 23:47:27 +00:00
James Booth
a45cb4bb3c Added /roster by commands, wip 2014-11-11 00:30:29 +00:00
James Booth
eace543da5 Added /roster show|hide resource 2014-11-11 00:00:10 +00:00
James Booth
f715c0580c Added /roster show|hide offline 2014-11-10 23:51:13 +00:00
James Booth
497b07c1c3 Added /roster show|hide command, only show roster on connect success 2014-11-10 23:23:02 +00:00