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 |
|
James Booth
|
bcafba2de6
|
Added /roster remove tests
|
2014-03-16 16:00:10 +00:00 |
|
James Booth
|
a578419d55
|
Added /roster add test
|
2014-03-16 01:46:18 +00:00 |
|
James Booth
|
93397e4581
|
Added cmd_roster test
|
2014-03-16 01:23:12 +00:00 |
|
James Booth
|
2af418fd8d
|
Command '/statuses muc' now allows 'all', 'online' and 'none' settings
|
2014-03-15 22:25:15 +00:00 |
|
James Booth
|
26726b207a
|
Updated copyright
|
2014-03-09 01:18:19 +00:00 |
|
James Booth
|
15fce2cf95
|
Test for password usage on /join
|
2014-03-08 21:50:55 +00:00 |
|
James Booth
|
baf46c6ae5
|
Added test for account muc_service usage
|
2014-03-08 21:45:07 +00:00 |
|
James Booth
|
bafc0f2506
|
Added test for using account->muc_nick
|
2014-03-08 21:37:06 +00:00 |
|
James Booth
|
b177250f47
|
Refactored muc_room_is_active to only take room, rather than full jid
|
2014-03-08 21:20:26 +00:00 |
|
James Booth
|
dd1ee18c72
|
Added test for /join with nick option
|
2014-03-08 21:10:23 +00:00 |
|
James Booth
|
a94814f0a9
|
Added invalid jid test for /join
|
2014-03-08 00:23:52 +00:00 |
|
James Booth
|
2d54c565ce
|
Added test to show usage when no room supplied to /join
|
2014-03-08 00:19:21 +00:00 |
|
James Booth
|
f3fe1d34d2
|
Added connection status tests for cmd_join
|
2014-03-08 00:07:38 +00:00 |
|
James Booth
|
c00376087f
|
Test /otr start sends OTR query message to current recipient
|
2014-02-23 21:20:41 +00:00 |
|
James Booth
|
da058359ac
|
Added test for /otr start when no key loaded
|
2014-02-23 21:02:02 +00:00 |
|
James Booth
|
18e0884f5f
|
Fixed issue with /otr myfp when no key loaded
|
2014-02-23 20:34:27 +00:00 |
|
James Booth
|
d25245a286
|
Added test for /otr start when already in OTR session
|
2014-02-23 20:17:45 +00:00 |
|
James Booth
|
1f78d5b582
|
Added tests for /otr start from non chat windows
|
2014-02-23 20:09:00 +00:00 |
|
James Booth
|
e4120e144c
|
Revert "Fail test for travis"
This reverts commit 4c1634610c .
|
2014-02-23 03:22:56 +00:00 |
|
James Booth
|
4c1634610c
|
Fail test for travis
|
2014-02-23 03:20:12 +00:00 |
|
James Booth
|
037ca81821
|
Test /otr theirfp
|
2014-02-17 23:10:00 +00:00 |
|
James Booth
|
b4b463998b
|
Test for /otr theirfp in non OTR window
|
2014-02-17 22:57:36 +00:00 |
|
James Booth
|
a25714b6dc
|
Added test for /otr theirfp when in other non chat windows
|
2014-02-17 22:44:27 +00:00 |
|
James Booth
|
4afec6ab5e
|
Added test for /otr theirfp when in console
|
2014-02-17 22:14:33 +00:00 |
|
James Booth
|
82ad0cd306
|
Added /otr myfp test
|
2014-02-17 21:52:42 +00:00 |
|
James Booth
|
6e58d95469
|
Added connection status tests for /otr myfp
|
2014-02-16 20:15:10 +00:00 |
|
James Booth
|
880d5c6263
|
Fixed previous tests
|
2014-02-16 20:10:48 +00:00 |
|
James Booth
|
d1d80fc26b
|
Added connection status tests for /otr gen
|
2014-02-16 20:09:12 +00:00 |
|
James Booth
|
4eac5c0d43
|
Test /otr gen
|
2014-02-16 19:35:40 +00:00 |
|
James Booth
|
e048b3196e
|
Added test for message when no connected /otr gen
|
2014-02-16 19:20:55 +00:00 |
|
James Booth
|
a21ab6d4c8
|
Mock otr module for cmd_otr tests
|
2014-02-16 19:14:15 +00:00 |
|
James Booth
|
6ef1174bf4
|
Refactor test setup and teardown functions
|
2014-02-16 18:07:41 +00:00 |
|
James Booth
|
e1fe7783c0
|
Added conditional include in cmd_otr tests
|
2014-02-16 17:48:51 +00:00 |
|
James Booth
|
60e03094c3
|
Added test for /otr libver
|
2014-02-16 14:44:40 +00:00 |
|
James Booth
|
7e956fb347
|
Added tests for /otr warn
|
2014-02-16 02:22:29 +00:00 |
|
James Booth
|
c6220e01a0
|
Added tests for /otr log
|
2014-02-16 01:32:37 +00:00 |
|
James Booth
|
6295336284
|
Added cmd_otr tests
|
2014-02-16 00:04:53 +00:00 |
|
James Booth
|
90d2cbff7b
|
Removed manual logging of test results
Cmocka on more recent distros already has this functionality
|
2014-02-12 20:49:50 +00:00 |
|
James Booth
|
3dc5f60f3d
|
Joined testsuites (allows for total test count)
|
2014-02-02 01:13:17 +00:00 |
|
James Booth
|
95c48a0f47
|
Test message when removing autojoin for non existent bookmark
|
2014-02-02 01:05:52 +00:00 |
|
James Booth
|
9d957e5f93
|
Show message on /bookmark remove when bookmark does not exist
|
2014-02-02 00:59:32 +00:00 |
|
James Booth
|
92b85bb7f1
|
Added message when bookmark updated
|
2014-02-02 00:49:02 +00:00 |
|
James Booth
|
a8ecbccc9c
|
Added /bookmark remove tests
|
2014-02-02 00:37:37 +00:00 |
|
James Booth
|
38d8d8d984
|
Added test for when autojoin no nick on /bookmark add
|
2014-02-02 00:22:53 +00:00 |
|
James Booth
|
ebafc19220
|
Added cons message on ./bookmark add
|
2014-02-02 00:00:08 +00:00 |
|
James Booth
|
af51fa3c68
|
Added cmd_bookmark tests
|
2014-02-01 23:48:24 +00:00 |
|
James Booth
|
7d4b6d6f4f
|
Changed name of expected values in tests
|
2014-02-01 22:49:47 +00:00 |
|
James Booth
|
3d7d070b13
|
Added test for /bookmark list
|
2014-02-01 21:18:15 +00:00 |
|
James Booth
|
1654f13656
|
Moved test helpers
|
2014-02-01 16:32:36 +00:00 |
|
James Booth
|
614ae232ef
|
Fixed cmd_bookmark message when not connected
|
2014-02-01 16:24:51 +00:00 |
|
James Booth
|
652e99fdd8
|
Added cmd_bookmark tests
|
2014-02-01 16:16:56 +00:00 |
|
James Booth
|
23842e5254
|
Added muc room active tests
|
2014-01-31 00:10:28 +00:00 |
|
James Booth
|
31321077de
|
Added muc invite count tests
|
2014-01-30 23:49:58 +00:00 |
|
James Booth
|
16aecaf017
|
Added setup and teardown for muc tests
|
2014-01-30 23:41:18 +00:00 |
|
James Booth
|
991ffdeceb
|
Close muc after test
|
2014-01-30 23:37:36 +00:00 |
|
James Booth
|
a472ce653f
|
Added muc remove invite test
|
2014-01-30 23:36:50 +00:00 |
|
James Booth
|
63b3299b06
|
Added muc tests
|
2014-01-30 23:32:52 +00:00 |
|
James Booth
|
0338d136e0
|
Added presence_error tests, added muc_close()
|
2014-01-30 23:15:39 +00:00 |
|
James Booth
|
adb360072b
|
Move all test output to ./testsuite.out, show single line pass/fail
|
2014-01-29 00:30:12 +00:00 |
|
James Booth
|
571665eeac
|
Added message stanza error tests
|
2014-01-28 23:56:45 +00:00 |
|
James Booth
|
5afb296e67
|
Moved error handling logic to server_events
|
2014-01-28 22:37:50 +00:00 |
|
James Booth
|
b231133f9b
|
Renamed preferences setup and teardown test functions
|
2014-01-28 22:05:27 +00:00 |
|
James Booth
|
788fc48b1d
|
Fixed double free'ing in tests
|
2014-01-28 21:51:43 +00:00 |
|
James Booth
|
4bd06a5d87
|
Don't allow /alias to overwrite standard command
|
2014-01-25 01:39:12 +00:00 |
|
James Booth
|
cb590dd82c
|
Added help for /alias command
|
2014-01-25 00:50:07 +00:00 |
|
James Booth
|
5d85974bc0
|
Added aliases to autocomplete
|
2014-01-23 23:53:20 +00:00 |
|
James Booth
|
e089ffb15c
|
Show message when alias already exists in /alias add
|
2014-01-23 22:38:12 +00:00 |
|
James Booth
|
8dbe300d72
|
Added /alias command, writing aliases to [alias] group in profrc
|
2014-01-23 22:29:53 +00:00 |
|
James Booth
|
21ab182151
|
Refactored ProfAccount creation
|
2014-01-22 22:22:01 +00:00 |
|
James Booth
|
2bc22981fd
|
Fixed memory leaks from str_replace
|
2014-01-21 21:07:35 +00:00 |
|
James Booth
|
0e2fbeb350
|
Added statuses settings to prefs output
|
2014-01-21 00:16:37 +00:00 |
|
James Booth
|
a8c356e191
|
Added use of statuses preferences
|
2014-01-21 00:06:41 +00:00 |
|
James Booth
|
a7a2850637
|
WIP - /statuses command options
|
2014-01-20 18:40:48 +00:00 |
|
James Booth
|
69f2f4a16f
|
Use defaults for /statuses commands
|
2014-01-19 17:20:31 +00:00 |
|
James Booth
|
5f25d99357
|
Added tests/config/helpers
|
2014-01-19 16:32:31 +00:00 |
|
James Booth
|
79e9ab83b0
|
Changed /statuses preferences
|
2014-01-19 16:17:34 +00:00 |
|
James Booth
|
a9a860cb13
|
Fixed broken tests
|
2014-01-19 02:14:28 +00:00 |
|
James Booth
|
10fb692f7f
|
Refactored testsuite for less verbose output
|
2014-01-19 02:11:52 +00:00 |
|
James Booth
|
c7325de073
|
Added cmd_statuses validation tests
|
2014-01-19 01:25:04 +00:00 |
|
James Booth
|
bd221f6f30
|
Added cmd_connect tests for invalid properties
|
2014-01-18 22:55:15 +00:00 |
|
James Booth
|
91d4097df9
|
Added cmd_connect test for repeated port property
|
2014-01-18 22:50:17 +00:00 |
|
James Booth
|
21f0bd04a8
|
Added cmd_connect test for repeated server property
|
2014-01-18 22:45:24 +00:00 |
|
James Booth
|
0ee6c7a6f1
|
Added cmd_connect tests for connecting server and port
|
2014-01-18 22:02:51 +00:00 |
|
James Booth
|
b4e9905db9
|
Added cmd_connect tests for argument validation
|
2014-01-18 21:18:25 +00:00 |
|
James Booth
|
b62591903d
|
Fixed broken tests
|
2014-01-18 20:49:40 +00:00 |
|
James Booth
|
39e0782da8
|
Fixed test compilation
|
2014-01-18 20:34:46 +00:00 |
|
James Booth
|
db973457d0
|
Refactored roster add/update
|
2014-01-05 23:54:29 +00:00 |
|
James Booth
|
61ea120bfd
|
Removed roster_list tests covered by contact tests
|
2014-01-05 01:37:30 +00:00 |
|
James Booth
|
5898da963a
|
Added contact tests
|
2014-01-05 01:17:11 +00:00 |
|
James Booth
|
80acfdae9a
|
Added contact presence offline test
|
2014-01-05 00:43:37 +00:00 |
|
James Booth
|
d15751649c
|
Added tests for contact type
|
2014-01-05 00:35:48 +00:00 |
|
James Booth
|
0331cbe249
|
Test usage shown for /sub
|
2013-12-27 22:12:39 +00:00 |
|
James Booth
|
976f3e303a
|
Added /sub command test
|
2013-12-27 17:25:30 +00:00 |
|
James Booth
|
c3fbaf8b2a
|
Removed whitespace
|
2013-12-27 14:36:42 +00:00 |
|
James Booth
|
122fe09c61
|
Added tests for "/account clear <property>"
|
2013-12-27 14:35:31 +00:00 |
|
James Booth
|
6d6bc67d5c
|
Test for presence update when changing priority
|
2013-12-27 14:17:24 +00:00 |
|
James Booth
|
7a63cf2e22
|
Changed messages on invalid priorities
|
2013-12-27 00:29:20 +00:00 |
|
James Booth
|
9d1b05a896
|
Test priority above upper bounds
|
2013-12-27 00:07:04 +00:00 |
|
James Booth
|
ada3c768e5
|
Test priority below lower bounds
|
2013-12-27 00:05:06 +00:00 |
|
James Booth
|
b466809245
|
Added test for showing message when changing priority
|
2013-12-26 15:17:46 +00:00 |
|
James Booth
|
a2c0dab474
|
Removed mock code from tests
|
2013-12-26 14:48:25 +00:00 |
|
James Booth
|
8685e78c86
|
Added mock_accounts and fixed tests
|
2013-12-26 13:37:22 +00:00 |
|
James Booth
|
5a5b1340aa
|
Dynamically load UI functions, fixed tests
|
2013-12-22 22:14:15 +00:00 |
|
James Booth
|
d56f6dc39b
|
Added mocks and stubs for cons_show
|
2013-12-19 21:05:39 +00:00 |
|
James Booth
|
b27c5d0f5b
|
Replaced old mock_xmpp
|
2013-12-18 23:06:43 +00:00 |
|
James Booth
|
00a475cf55
|
Added common mock functions and fixed tests
|
2013-12-18 22:49:43 +00:00 |
|
James Booth
|
f47bd58a1c
|
Added tests for setting presence priorities
|
2013-12-17 23:57:06 +00:00 |
|
James Booth
|
ba66d6b730
|
Added tests for "/account set <status> <priority>" with invalid status
|
2013-12-17 23:23:11 +00:00 |
|
James Booth
|
76e7a8341b
|
Added tests for "/account set status"
|
2013-12-17 23:17:02 +00:00 |
|
James Booth
|
d5a2e645bf
|
Tests valid and invalid resource presence strings
|
2013-12-17 22:58:27 +00:00 |
|
James Booth
|
99f4eeb60d
|
Removed help->usage when not used in tests
|
2013-12-17 22:49:02 +00:00 |
|
James Booth
|
de06c40d46
|
Added tests for "/account set muc" and "/account set nick"
|
2013-12-17 22:46:54 +00:00 |
|
James Booth
|
3b2446c46a
|
Added tests for "/account set password"
|
2013-12-17 22:40:55 +00:00 |
|
James Booth
|
8adca66fa3
|
Added tests for "/account set resource"
|
2013-12-17 22:37:35 +00:00 |
|
James Booth
|
9b41c4ee32
|
Added tests for "/account set server"
|
2013-12-17 22:33:49 +00:00 |
|
James Booth
|
52f6ad6fe1
|
Added validation tests for "/account set" and "/account set jid"
|
2013-12-16 01:04:25 +00:00 |
|
James Booth
|
52d15242ab
|
Use expect_any when testing something else in cmd_account tests
|
2013-12-16 00:18:38 +00:00 |
|
James Booth
|
e14b4ef558
|
Added tests for "/account rename"
|
2013-12-16 00:12:07 +00:00 |
|
James Booth
|
3c0bbed717
|
Added tests for "/account disable"
|
2013-12-15 23:55:59 +00:00 |
|
James Booth
|
4216949b2e
|
Added tests for "/account enable"
|
2013-12-15 23:51:29 +00:00 |
|
James Booth
|
b2f4570886
|
Test "/account add" shows message on success
|
2013-12-15 23:39:04 +00:00 |
|
James Booth
|
85629cb9a3
|
Test "/account add <account>" adds account
|
2013-12-15 23:36:20 +00:00 |
|
James Booth
|
bf0870afe4
|
Test "/account add" with missing arg
|
2013-12-15 23:30:09 +00:00 |
|
James Booth
|
2197804826
|
Test "/account show <account>" when account exists
|
2013-12-15 23:26:02 +00:00 |
|
James Booth
|
838e6e1f5b
|
Test "/account show" when no account does not exist
|
2013-12-15 23:22:22 +00:00 |
|
James Booth
|
8aaca1054f
|
Added "/account show" test when no account supplied
|
2013-12-15 23:17:35 +00:00 |
|
James Booth
|
6f060b583e
|
Test "/account list"
|
2013-12-15 23:07:53 +00:00 |
|
James Booth
|
683da12c3a
|
Added cmd_account test
|
2013-12-15 22:28:22 +00:00 |
|
James Booth
|
6d75ebb8e9
|
Test account free'd after connect
|
2013-12-15 22:00:42 +00:00 |
|
James Booth
|
5ec2d3cf7c
|
Added tests for connecting with account
|
2013-12-15 21:31:27 +00:00 |
|
James Booth
|
cae2979a0b
|
Added test for message when connecting via account
|
2013-12-15 21:23:58 +00:00 |
|
James Booth
|
540d658e35
|
Added ask for password test when connecting with an account
|
2013-12-15 20:52:30 +00:00 |
|
James Booth
|
5c65599e6a
|
Tests lowercasing argument on cmd_connect
|
2013-12-15 20:38:26 +00:00 |
|
James Booth
|
5e739cbfb7
|
Moved fulljid logic to accounts
|
2013-12-15 20:32:30 +00:00 |
|
James Booth
|
9b631cf571
|
Ignore arguments that are not part of test
|
2013-12-15 20:02:25 +00:00 |
|
James Booth
|
7842b0d1fc
|
Added mock log module
|
2013-12-15 19:56:48 +00:00 |
|
James Booth
|
079ea5304b
|
Moved _ask_password to UI module
|
2013-12-15 19:38:23 +00:00 |
|
James Booth
|
eff2ef3859
|
Check expected arg to account_get_account in cmd_rooms test
|
2013-12-15 18:15:16 +00:00 |
|
James Booth
|
bf347ab9e0
|
Added cmd_connect tests
|
2013-12-15 18:08:26 +00:00 |
|
James Booth
|
2490f5b417
|
Seperated command functions into module
|
2013-12-15 16:10:32 +00:00 |
|
James Booth
|
447d235868
|
Mocked account preferences and tested cmd_rooms
|
2013-12-14 18:43:19 +00:00 |
|
James Booth
|
3e3786eb61
|
Removed debug from tests
|
2013-12-14 17:15:43 +00:00 |
|
James Booth
|
0b3a9f5785
|
Added roster_list tests to cmocka
|
2013-12-14 17:03:39 +00:00 |
|
James Booth
|
4bb38ac011
|
Added parser tests to cmocka
|
2013-12-14 16:48:27 +00:00 |
|
James Booth
|
0730867326
|
Added history and jid tests to cmocka
|
2013-12-14 16:35:56 +00:00 |
|
James Booth
|
71577c1fdd
|
Added missing files
|
2013-12-14 16:17:53 +00:00 |
|
James Booth
|
3a403046ff
|
Moved autocomplete tests to cmocka
|
2013-12-14 16:16:46 +00:00 |
|
James Booth
|
7f7973f9a7
|
Moved common tests to cmocka
|
2013-12-14 16:07:57 +00:00 |
|
James Booth
|
107fdd355e
|
Added simple mock test, refactored roster
|
2013-12-14 15:34:17 +00:00 |
|
James Booth
|
0de1ff9b4d
|
Removed unused boolean result from autocomplete add and remove
|
2013-12-09 23:51:13 +00:00 |
|
James Booth
|
b5eb095820
|
Removed limit on number of windows, WIP
|
2013-08-27 23:38:25 +01:00 |
|
James Booth
|
42c3a1c1f7
|
Added function to get next available window number, and tests
|
2013-08-27 22:02:23 +01:00 |
|
James Booth
|
f2509b078a
|
Added test for broken argument quoting
|
2013-08-26 23:44:45 +01:00 |
|
James Booth
|
d2a354fd53
|
Fixed compiler warning in test_autocomplete.c
|
2013-08-26 14:47:40 +01:00 |
|
Dmitry Podgorny
|
545a23e92f
|
removed strdup in autocomplete calls
|
2013-08-26 03:29:50 +03:00 |
|
James Booth
|
8137efbfa3
|
Added test for quoted freetext in parser
|
2013-07-20 20:53:43 +01:00 |
|
James Booth
|
e7478d8cb8
|
Added parser tests
|
2013-07-14 00:46:56 +01:00 |
|
James Booth
|
60cad8d296
|
Merge branch 'master' into unicode
|
2013-07-13 23:17:35 +01:00 |
|
James Booth
|
1d05a70473
|
Down arrow adds current line to history and shows empty line
|
2013-07-13 23:02:36 +01:00 |
|
James Booth
|
36265dde2f
|
Moved functions to parser.c, moved parser to tools
|
2013-07-11 22:57:35 +01:00 |
|
James Booth
|
f042d1a267
|
Fixed roster tests
|
2013-06-23 18:59:36 +01:00 |
|
James Booth
|
c1ee75da40
|
Removed contact_list, moved roster logic to xmpp/roster module
|
2013-05-06 23:04:46 +01:00 |
|
James Booth
|
05f2d29396
|
Renamed contact_list_ functions to roster_
|
2013-05-06 22:32:58 +01:00 |
|
James Booth
|
ab591b41b2
|
Fixed tests
|
2013-02-17 00:11:00 +00:00 |
|
James Booth
|
e33ccb07a4
|
Removed invalid tests
|
2013-02-14 22:08:26 +00:00 |
|
James Booth
|
ec78914044
|
Only create contacts resource when online
|
2013-02-10 11:19:36 +00:00 |
|
James Booth
|
facb2a653b
|
Renamed contact property jid->barejid
|
2013-02-09 23:50:41 +00:00 |
|
James Booth
|
86bad48f41
|
Fixed tests
|
2013-02-02 22:54:16 +00:00 |
|
James Booth
|
1d5046bc97
|
Renamed parser.c -> command_parser.c
Included in command.h
|
2013-01-28 01:43:43 +00:00 |
|
James Booth
|
c72d7ad6a6
|
Renamed history modules
|
2013-01-28 01:35:11 +00:00 |
|
James Booth
|
8bdab23e25
|
Renamed create jid function using barejid and resource
|
2013-01-27 01:14:59 +00:00 |
|
James Booth
|
d239a1278b
|
Fixed jid handling to allow @ and / in resource
|
2013-01-26 16:13:11 +00:00 |
|
James Booth
|
527e739ac6
|
Got rid of old naming convention on prof_autocomplete
|
2013-01-25 01:11:49 +00:00 |
|
James Booth
|
97a497c355
|
Updated /info command for chat and private chat
|
2013-01-20 23:30:15 +00:00 |
|
James Booth
|
bae9bde484
|
Command parser handles quotes arguments
|
2013-01-14 23:18:50 +00:00 |
|
James Booth
|
3a22719bd7
|
Added jid_create_room_jid
|
2013-01-13 00:19:56 +00:00 |
|
James Booth
|
1cc33cc491
|
Changed Jid typedef to be explicit pointer
|
2013-01-13 00:05:25 +00:00 |
|
James Booth
|
94bcf1889d
|
Added jid datatype
|
2013-01-12 23:10:56 +00:00 |
|
James Booth
|
89967905db
|
Autocomplete: added free function
Fixed tests
|
2013-01-11 00:17:18 +00:00 |
|
James Booth
|
e64ed7771f
|
Fixed contact list test
|
2012-11-28 01:43:56 +00:00 |
|
James Booth
|
78dd79f6a0
|
Commands now use parser function to handle parameters
|
2012-11-18 02:40:49 +00:00 |
|
James Booth
|
312d362eaa
|
Handle commands with min 0 args
|
2012-11-18 00:38:37 +00:00 |
|
James Booth
|
191ab83c9b
|
Added command parser for commands accepting free text
e.g. /msg user@host here is a message
|
2012-11-18 00:25:08 +00:00 |
|
James Booth
|
824eaa1678
|
Added parser module
|
2012-11-18 00:07:00 +00:00 |
|
James Booth
|
0ce7b2acb7
|
Removed old chat session tests
|
2012-11-01 00:29:51 +00:00 |
|