1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00
Commit Graph

444 Commits

Author SHA1 Message Date
James Booth
c8c12a8f7a Merge branch 'master' into pgp 2015-03-29 03:17:41 +01:00
James Booth
71c2be599b Use password for chat room invites 2015-03-29 03:16:41 +01:00
James Booth
c1eceebcba Merge branch 'master' into pgp 2015-03-29 00:59:42 +00:00
James Booth
714faeb2e6 Add callback data to room disco info response handler 2015-03-29 00:55:33 +00:00
James Booth
24a45e5292 Set members only property when getting room features 2015-03-29 00:21:18 +00: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
8a5d1fef29 Added Id and fingerprint to pgp key list 2015-03-22 01:03: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
11966d39b0 Added otr_tag_message, removed commands.c dependency on libotr 2015-03-16 21:41:35 +00:00
James Booth
8944a3b5bb Move common chat logging code to log.c 2015-03-15 23:19:00 +00:00
James Booth
2762f18a3e Added /receipts command 2015-03-15 19:48:19 +00:00
James Booth
ca30ff3910 Merge branch 'master' into xep-0184
Conflicts:
	src/server_events.c
	src/ui/core.c
	src/ui/ui.h
	tests/ui/stub_ui.c
2015-03-14 23:10:51 +00:00
James Booth
385336c10b Don't switch window on sent carbon 2015-03-14 22:59:49 +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
78becceedb Added basic delivery receipts 2015-03-11 23:18:28 +00:00
James Booth
2ff6873cf1 Send private carbons element with message when encrypted 2015-03-10 21:16:34 +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
2e493112bb Merge branch 'master' into readline 2015-03-08 18:12:50 +00:00
James Booth
7638f379ca Fixed tests for --disable-otr 2015-03-04 23:32:47 +00:00
Olivier LE MOAL
48f9f3b3b0 Add XEP-0280 support 2015-02-10 11:32:22 +01: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
a70aa0255f Moved command processing to main loop, allow resize during password prompt 2015-02-05 00:58:23 +00:00
James Booth
30180ac8bb Move SIGWINCH handling to ui/core.c, ignore signal whilst resizing 2015-02-04 23:35:28 +00:00
James Booth
3b3ffcfb37 Added mock ui functions to tests 2015-01-31 22:14:41 +00:00
James Booth
a9ed64911d Removed history and various key handlers 2015-01-30 23:42:51 +00:00
James Booth
83bd207316 Moved readline code to inputwin.c 2015-01-30 23:28:02 +00:00
James Booth
2cdbfc7eb7 Added gnu readline 2015-01-27 22:13:09 +00:00
James Booth
25d31101bf Added key insert tests, extracted key_ctrl_left handler 2015-01-20 23:02:04 +00:00
James Booth
58239244bb Added key insert handler tests 2015-01-20 00:56:35 +00:00
James Booth
2ed78fe5af Extracted keyhandler for printable characters 2015-01-20 00:09:47 +00:00
James Booth
ba89297382 Added utf8_display_len 2015-01-17 21:09:40 +00:00
James Booth
4c6cfcdca0 Simplified autocompleters and command history 2015-01-16 22:50:40 +00:00
James Booth
82c986775d Moved input to ui module, renamed ui_readline 2015-01-15 22:21:24 +00:00
James Booth
5be47cc5a9 Moved input size variable to ui module 2015-01-15 13:22:54 +00:00
James Booth
aec1484806 Removed ch from main loop 2015-01-15 01:21:24 +00:00
James Booth
db9a2cf0ab Inlined ui_handle_special_keys 2015-01-15 00:02:42 +00:00
James Booth
3984c660b6 Removed result from main loop 2015-01-14 23:57:45 +00:00
James Booth
a6160d52c6 Pass value rather than address of ch during main loop 2015-01-14 23:54:46 +00:00
James Booth
e79302bf0e Merge remote-tracking branch 'incertia/eval_pass-fixes' 2015-01-14 00:28:58 +00:00
James Booth
a65abed1fb Merge remote-tracking branch 'peterlvilim/keyring' 2015-01-13 23:48:07 +00:00
Will Song
b6536ddf88
fix tests 2015-01-12 22:39:12 -06:00
Peter Vilim
f6da944479 Add unit tests for eval_password 2015-01-12 19:32:26 -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
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
51bd4ed375 Fixed tests 2015-01-11 23:09:07 +00:00
James Booth
c16871d143 Added remaining chat states 2015-01-11 20:20:17 +00:00
James Booth
76bd2ec13f Send active chat state, handle composing and gone from recipients 2015-01-10 22:03:40 +00:00
James Booth
31c0f2ba78 Added preferences for showing resource in titlebar and messages 2015-01-10 19:10:10 +00:00
James Booth
c3ad3c0ba6 Show resource in titlebar and on each message 2015-01-10 18:35:59 +00:00
James Booth
f180925c3b Added tests for clearing chat sessions on lost connection 2015-01-10 01:17:38 +00:00
James Booth
ab7bd6fe5f Added test to ensure chat sessions cleared on cmd_disconnect 2015-01-10 01:06:52 +00:00
James Booth
9bd2315d83 Fixed chat session tests 2015-01-10 00:25:27 +00:00
Will Song
22cc641905
add cons_exittitle_setting to tests 2015-01-08 10:22:03 -06:00
Peter Vilim
6af10696f9 Fix current tests 2015-01-07 21:03:51 -06:00
James Booth
95ad564372 Added offline handler for chat sessions 2015-01-06 23:19:56 +00:00
James Booth
36790dc26b Fixed tests 2015-01-06 21:56:14 +00:00
James Booth
f7843def2f Added chat session tests 2015-01-06 21:22:09 +00:00
James Booth
8d759741e8 Merge branch 'master' into chat-sessions 2015-01-06 19:23:13 +00:00
James Booth
833fd4d2fc Fixed assert fail messages in tests 2015-01-06 19:21:21 +00:00
James Booth
15bb6fb68f Fixed chat sessions test 2015-01-05 23:42:32 +00: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
Will Song
ca6b367133
add ui_goodbye_title to tests 2014-12-29 20:27:46 -06:00
James Booth
10a3a3a675 Use events for chat sessions 2014-12-29 01:17:59 +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
25a60c9997 Removed old mocks 2014-12-25 00:57:02 +00:00
James Booth
7a10443164 Added server_event tests 2014-12-25 00:46:15 +00:00
James Booth
d0a0e5e74f Added roster_list tests 2014-12-25 00:29:50 +00:00
James Booth
fa23084c4d Added preferences tests 2014-12-25 00:28:17 +00:00
James Booth
6cb5b55049 Added parser tests 2014-12-25 00:26:42 +00:00
James Booth
4906f3f646 Added muc tests 2014-12-25 00:25:14 +00:00
James Booth
cc8c3542e6 Added jid tests 2014-12-25 00:23:57 +00:00
James Booth
b3dd7d8466 Added history tests 2014-12-25 00:22:39 +00:00
James Booth
d1f8c6cddf Added form tests 2014-12-25 00:20:28 +00:00
James Booth
2505d47040 Added contact tests 2014-12-25 00:12:07 +00:00
James Booth
6b9f404c87 Added common tests 2014-12-25 00:10:36 +00:00
James Booth
5929605440 Added cmd_win tests 2014-12-25 00:08:46 +00:00
James Booth
9537592b52 Added cmd_sub tests 2014-12-25 00:05:13 +00:00
James Booth
c47b4261f3 Added cmd_statuses tests 2014-12-25 00:02:18 +00:00
James Booth
a871ad8004 Added cmd_roster tests 2014-12-24 23:59:26 +00:00
James Booth
7db1bcee05 Added cmd_rooms tests 2014-12-24 23:38:23 +00:00
James Booth
419f37feea Added cmd_otr tests 2014-12-24 23:32:32 +00:00
James Booth
aa4ffa7e8c Added cmd_join tests 2014-12-24 22:36:48 +00:00
James Booth
5319a03aeb Added cmd_connect tests 2014-12-24 21:34:11 +00:00
James Booth
3487100c0f Added cmd_bookmark tests 2014-12-24 20:41:28 +00:00
James Booth
8b4c7e93b8 Added cmd_alias tests 2014-12-24 20:11:24 +00:00
James Booth
003002d638 Added autocomplete tests 2014-12-24 19:58:19 +00:00
James Booth
c20e38a4f9 Refactored all cmd_account tests 2014-12-24 17:35:02 +00:00
James Booth
71dbd7fd77 Refactoring cmd_account tests 2014-12-24 14:41:33 +00:00
James Booth
05bf9bb993 Refactoring cmd_account tests 2014-12-24 13:06:32 +00:00
James Booth
8c01021ab9 Use will_return instead of mock values 2014-12-23 21:42:01 +00:00
James Booth
69fe6c4d21 cmd_account_shows_account_when_connected_and_no_args 2014-12-23 19:51:12 +00:00
James Booth
5be9ac3243 Added stubbed implementations 2014-12-23 19:26:45 +00:00
James Booth
6800bf1cad Fixed tests 2014-12-20 18:39:39 +00:00
James Booth
ea267e2017 Refactored all window recipients and types
Tests need fixing
2014-12-20 00:52:35 +00:00
James Booth
48ec7b3b47 Moved roster functions 2014-12-16 23:00:05 +00:00
James Booth
e263e00a85 Refactored parsing caps 2014-11-26 21:59:36 +00:00
James Booth
e8a65e3b68 Renamed roster autocomplete functions 2014-11-22 21:13:33 +00:00
James Booth
20dc44c0a9 Fixed broken test 2014-11-13 00:29:29 +00:00
James Booth
c4412fe823 Fixed various memory leaks 2014-11-01 01:48:36 +00:00
James Booth
9f2f54b2a0 Removed /duck command 2014-10-18 00:07:48 +01:00
James Booth
d25d6b4502 Tidied muc module 2014-09-28 22:09:20 +01:00
James Booth
0b2a1a1bc7 Renamed autocomplete function to get list 2014-09-26 00:06:50 +01:00
James Booth
ae08e820d9 Fixed tests 2014-09-21 00:09:17 +01:00
James Booth
fa7b6f3000 Added autocompletion for form list-multi values 2014-09-17 23:03:03 +01:00
James Booth
aa85e29aef Added tests for form_remove_text_multi_value 2014-09-15 20:55:53 +01:00
James Booth
ea24a7c4f6 Added tests for form_remove_value 2014-09-15 13:09:49 +01:00
James Booth
d1ace3282c Added tests for form_add_value 2014-09-15 00:56:50 +01:00
James Booth
b934ad54d5 Added form tests 2014-09-14 22:31:27 +01:00
James Booth
bc3c4e09a1 Always update UI in event loop, removed updates from rest of code 2014-09-01 19:14:52 +01:00
James Booth
7bac097d60 Added /bookmark with no args usage when in chat room
issue #402
2014-08-19 22:52:04 +01:00
James Booth
a564b0241f Added test for jid validation on /bookmark add 2014-08-18 21:25:52 +01:00
James Booth
954661e59e Added quote param to autocomplete_complete 2014-07-09 20:23:47 +01:00
James Booth
186cac34de Fixed memleak in chat log history 2014-06-27 00:38:53 +01:00
James Booth
f592f61056 Fixed tests for sha1 renaming 2014-06-15 19:27:16 +01:00
James Booth
52f66fde10 Fixed tests to work with cmocka 0.4.1 2014-05-26 01:05:19 +01:00
James Booth
b3d49f2a3c Added backwards compatible g_list_free_full for glib < 2.28 2014-05-21 21:39:31 +01:00
James Booth
7b4eaa1c23 Added config.h to mock_otr.c 2014-05-19 21:15:17 +01:00
James Booth
e10ea1be4e Fixed OTR dependency when library not present, changed version to 0.4.2 2014-05-19 20:41:19 +01:00
James Booth
9dda7036a9 Implemented per contact OTR policy setting 2014-05-11 19:32:07 +01:00
James Booth
95ff13136b Added OTR policy account preference 2014-05-11 14:13:15 +01:00
James Booth
d2662a6f17 Refactored bookmarks to use option parser, allow bookmarking rooms with passwords 2014-05-10 00:50:43 +01:00
James Booth
524b1f2383 Changed to use gnutls instead of openssl for sha1 hashing 2014-05-01 22:18:04 +01:00
James Booth
2c15aba92a Chat room windows now created only after successful join 2014-04-21 00:37:04 +01:00
James Booth
9a55d8ad19 Store password with room 2014-04-20 22:02:55 +01:00
James Booth
40759eddbf Simplified parse_options to take first option as argument 2014-04-15 00:27:55 +01:00
James Booth
4425aba1f2 Simplified parse_options to take gchar** 2014-04-15 00:13:32 +01:00
James Booth
79088d0150 Clean up keys after using parse_options 2014-04-14 23:41:45 +01:00
James Booth
2419737006 Check for duplicate options in option parser 2014-04-14 23:01:57 +01:00
James Booth
8d77930ece Added parse_options 2014-04-14 22:48:18 +01:00
James Booth
74c746f852 Fixed broken test, added log mock 2014-04-13 22:31:55 +01:00
James Booth
c3418a2909 Added /log shared setting
Issue #170
2014-04-13 21:56:51 +01:00
James Booth
71180f66d7 Added focus param to ui_room_join, not set for bookmark autojoin
Issue #194
2014-04-13 02:52:25 +01:00
James Booth
2fafcf0013 Revert "Added ui_already_connected"
This reverts commit e97ec56fce.
2014-04-12 15:20:19 +01:00
James Booth
e97ec56fce Added ui_already_connected 2014-04-09 22:29:38 +01:00
James Booth
c3e3759256 Command argument parsers set result argument 2014-04-09 21:31:43 +01:00
James Booth
a720ef2627 Removed strcpy calls 2014-04-02 21:01:20 +01:00
James Booth
b19b881b97 Added missing files, refactored ui_switch_win to check win exists 2014-04-01 23:54:26 +01:00
James Booth
7113b97952 Added test for valid window switch 2014-04-01 23:33:12 +01:00
James Booth
96e32fe178 Added cmd_win test 2014-04-01 23:14:53 +01:00
James Booth
404dde2810 Renamed refresh functions to update_virtual 2014-04-01 21:52:04 +01:00
James Booth
22ab268618 Change 'passwd' option to 'password' for /join command 2014-03-16 18:12:16 +00:00
James Booth
f4d52f3d40 Use expect_value == NULL for NULL parameters in tests 2014-03-16 18:02:18 +00:00
James Booth
11c04d9fcd Added /roster clearnick command 2014-03-16 17:53:41 +00:00