1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00
Commit Graph

323 Commits

Author SHA1 Message Date
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