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

298 Commits

Author SHA1 Message Date
Will Song
3561ff4d97
set a nice title (instead of empty) on shutdown 2014-12-29 20:05:50 -06:00
James Booth
10a3a3a675 Use events for chat sessions 2014-12-29 01:17:59 +00:00
James Booth
4be06c0ae2 Moved chat_session_set_sent from message.c module 2014-12-29 00:31:57 +00:00
James Booth
0146e62576 Refactoring window types, removing recipient and from references - wip 2014-12-18 23:57:19 +00:00
James Booth
05664ef009 Free string after setting theme ui preference, fixed valgrind warning 2014-11-24 00:29:02 +00:00
James Booth
076576178c Update input window on /theme set 2014-11-19 16:32:26 +00:00
James Booth
b8ba9b038c Added scroll support to occupant list 2014-10-07 21:12:19 +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
f9737251a6 Added license exemption for OpenSSL to source headers 2014-08-24 20:57:39 +01:00
Dariusz Dwornikowski
225312802e Spelling errors fixed and hyphenation used as minus sign fixed 2014-08-11 18:54:20 +02:00
James Booth
c98ce4299d Free resources on OTR shutdown 2014-06-26 23:55:57 +01:00
James Booth
7344d3b898 Added deallocation function for string prefs, added otr policy enum 2014-06-18 00:32:36 +01:00
James Booth
79ddf10484 Fixed memleaks with otr policy and autoaway options 2014-06-17 23:34:52 +01:00
James Booth
4a485a64f9 Free account_name preference on autoconnect 2014-06-17 22:22:35 +01:00
James Booth
3c5a73d29e Use libgcrypt instead of libgnutls for SHA1 hashing 2014-05-21 20:35:01 +01:00
James Booth
aa0d4fe892 Merge branch 'master' into otrsmp
Conflicts:
	install-all.sh
2014-05-02 00:59:40 +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
1155ceabbc Attempt at shared secret authentication for libotr 4.0.0
Bug exists where second attempt always gets stuck
2014-04-28 22:23:39 +01:00
James Booth
a4a23fdf68 Added /log rotate option 2014-04-13 20:41:11 +01:00
James Booth
6275644de4 Fixed spelling in comment 2014-04-07 22:43:02 +01:00
James Booth
9aa282f6de Removed inputwin functions from ui.h 2014-04-07 21:50:28 +01:00
James Booth
fc40637789 Removed titlebar functions from ui.h 2014-04-07 20:41:06 +01:00
James Booth
aa2a87d162 Tidied ui dependencies 2014-04-06 21:35:17 +01:00
James Booth
95c081666a Clear window title bar on exit 2014-04-03 21:13:59 +01:00
James Booth
a720ef2627 Removed strcpy calls 2014-04-02 21:01:20 +01:00
James Booth
404dde2810 Renamed refresh functions to update_virtual 2014-04-01 21:52:04 +01:00
James Booth
b303bdd057 Hooks test commit 2014-03-30 00:35:56 +00:00
James Booth
26726b207a Updated copyright 2014-03-09 01:18:19 +00:00
Dmitry Podgorny
0fbaa6f5ee fixed build error when make run with -jN option
Race can occur when gitversion file isn't fully generated before
it is used.
2014-03-06 02:06:22 +02:00
James Booth
b30155a10e Moved otr sources into folder 2014-02-12 22:19:21 +00:00
James Booth
0338d136e0 Added presence_error tests, added muc_close() 2014-01-30 23:15:39 +00:00
James Booth
9bb1fae291 Close UI windows on /quit
fixes #296
2014-01-30 20:30:35 +00:00
James Booth
292ae567aa Handle recipient not found 2014-01-26 18:30:34 +00:00
James Booth
66631308a5 Implemented basic running of alias commands 2014-01-23 23:04:00 +00:00
James Booth
9f6d6d44cc Renamed title_bar_set_status -> title_bar_set_presence 2014-01-16 18:13:22 +00:00
James Booth
264fc55aa2 Added conditionals to makefile for otr support 2014-01-12 02:15:16 +00:00
James Booth
0776c574b6 Merge branch 'master' into otr 2014-01-05 23:58:10 +00:00
James Booth
db973457d0 Refactored roster add/update 2014-01-05 23:54:29 +00:00
James Booth
76484665fd Removed prof_handle group functions 2014-01-05 23:24:48 +00:00
James Booth
468e80fe30 Removed prof_handle_disconnect 2014-01-05 22:00:15 +00:00
James Booth
b8672d709a Moved roster handlers to server_events 2014-01-05 21:55:32 +00:00
James Booth
4bcd766d34 Moved presence handlers to server_events 2014-01-05 21:48:04 +00:00
James Booth
a54518f2d4 Moved messages handlers to server_events 2014-01-05 21:33:12 +00:00
James Booth
d083a5407d Moved handle_room_list and handle_disco_items to server_events 2014-01-05 21:20:15 +00:00
James Booth
b14d5707cb Moved handle_disco_info to server_events 2014-01-05 21:17:07 +00:00
James Booth
460a42c7c9 Moved handle_software_version_result to server_events 2014-01-05 21:11:09 +00:00
James Booth
42fd1fb13e Moved handle_lost_connection and handle_failed_login to server_events 2014-01-05 21:04:30 +00:00
James Booth
da03617e8b Moved handle_login_account_success to server_events 2014-01-05 20:58:19 +00:00
James Booth
87cdbe015a Added server_events.c 2014-01-05 20:52:45 +00:00
James Booth
2470f642c7 Merge branch 'master' into otr
Conflicts:
	src/command/command.c
2013-12-15 17:19:01 +00:00
James Booth
2490f5b417 Seperated command functions into module 2013-12-15 16:10:32 +00:00
James Booth
107fdd355e Added simple mock test, refactored roster 2013-12-14 15:34:17 +00:00
James Booth
8c97658b8d Merge branch 'master' into refactor2
Conflicts:
	src/ui/core.c
2013-11-11 20:51:35 +00:00
James Booth
d9395daa2f Added /otr command 2013-11-08 00:17:27 +00:00
James Booth
bdcc70f36d Load keys and fingerprints for account on connect 2013-11-08 00:17:02 +00:00
James Booth
bd1c139429 Added libotr 2013-11-08 00:17:02 +00:00
James Booth
2b0108e6cc Allow "account" setting in [connection] to autconnect the account
closes #251
2013-11-07 23:04:12 +00:00
James Booth
1248f49cfa Merge remote-tracking branch 'tsenart/connect-on-startup' 2013-11-07 21:57:41 +00:00
Tomás Senart
ac7ec7f2d1 Connect to an account on start-up
This commit enables connecting to an account on startup which enables
the use case of having different pre-configured scripts which start
different profanity processes for different accounts. This only makes
sense in the light of not supporting many accounts connected per
process.
2013-10-14 21:22:46 +02:00
James Booth
acf1afe025 Moved idle chat state handling out of ui module 2013-10-07 00:51:00 +01:00
James Booth
1d3256ffc7 PREF_STATUSES, moved checks to profanity module
Removed checks from muc presence, and when contact is offline on message
2013-10-06 23:46:35 +01:00
James Booth
3dffc1d9ff Moved muc error handling to profanity.c 2013-10-06 00:26:03 +01:00
James Booth
710c49b6b8 Moved UI error handler code to ui/core 2013-10-06 00:05:23 +01:00
James Booth
ab5eadc559 Fix nickname change conflicts
fixes #242
2013-09-22 14:47:17 +01:00
James Booth
d70245c887 Fixe rejoining room after nickname conflict
fixes #241
2013-09-22 01:26:40 +01:00
James Booth
ee8ff948bf Use git revision in development strings 2013-09-17 01:28:35 +01:00
Dmitry Podgorny
6f498d1f69 refactored mkdir_recursive
Now this function returns result of operation. TRUE is success.
2013-08-03 14:14:30 +03:00
James Booth
d5e9ca649d Show messages on /group add and /group remove
closes #189
closes #190
2013-06-23 17:38:30 +01:00
James Booth
dace47e5d3 Show message when removing contact from group when not in group 2013-06-23 16:35:13 +01:00
James Booth
265fff8f40 Show message when contact already in group 2013-06-23 16:29:42 +01:00
James Booth
0e5d277c14 Added message in console on /roster remove 2013-06-02 00:24:22 +01:00
James Booth
65c09db19e Added message in console on /roster add 2013-06-02 00:20:22 +01:00
James Booth
dcd8dcda87 Fixed autoaway 2013-05-30 21:11:55 +01:00
James Booth
7b20d8d4f4 Refactored roster push handling 2013-05-21 22:00:42 +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
78ff58cf77 Fixed error when losing connection and segfaulting on notify_remind() 2013-05-06 00:33:33 +01:00
James Booth
90ac69beb3 Added /duck command to perform searches using duckduckgo chat bot 2013-05-05 02:31:04 +01:00
James Booth
8c5866ff52 Added groupchat logs
closes #168
2013-05-05 00:16:10 +01:00
James Booth
441422ddc8 Added desktop notification option for subscription requests
closes #166
2013-04-27 23:46:49 +01:00
James Booth
e02ab52a4e Only set autoaway when status is "online" or "chat"
fixes #122
2013-04-27 22:39:51 +01:00
James Booth
17757c86e6 Support for XEP-0249 Direct MUC Invitations
Commands /invite, /invites, /decline and /join
2013-04-24 23:50:47 +01:00
James Booth
f63f68630b Added notifier module 2013-04-21 20:17:06 +01:00
James Booth
1046a00405 Renamed remaining win_ functions 2013-04-21 19:44:31 +01:00
James Booth
954c9ededc Renamed win_current_get_recipient -> ui_current_win_recipient 2013-04-21 18:47:37 +01:00
James Booth
bf740d9997 Replace window type functions with single function returning type 2013-04-21 18:40:22 +01:00
James Booth
b2c08cfc43 Renamed cons_bad_show -> cons_show_error 2013-04-21 02:49:23 +01:00
James Booth
b6095ca955 Show message in console when receiving chat room invites 2013-03-24 21:46:00 +00:00
James Booth
e2bc9bde74 Implemented output for /disco info 2013-03-14 23:41:36 +00:00
James Booth
7bd7c15994 Added output for /disco items 2013-03-14 22:18:21 +00:00
James Booth
681c3b6be2 Show name as well as jid for room list 2013-03-14 22:03:38 +00:00
James Booth
5b6de3340c Page off after /rooms command 2013-03-14 19:54:59 +00:00
James Booth
b960b76034 Added basic /rooms command to get chat room list 2013-03-13 23:38:26 +00:00
James Booth
aeb0bfa13c Init and shutdown of libstrophe moved, free resources before creating 2013-02-27 23:14:41 +00:00
James Booth
e955df8894 Colour title on /caps and /software output 2013-02-17 16:39:37 +00:00
James Booth
91289b8d8d Fixed autoaway 2013-02-17 14:15:46 +00:00
James Booth
50b7edbfb5 Show fulljid when contact becomes unavailable 2013-02-17 02:23:36 +00:00
James Booth
bced3d4b36 Added autocomplete for /software command 2013-02-17 02:10:56 +00:00
James Booth
a84e4adee7 Show all resources ordered by priority with /info command 2013-02-17 00:05:57 +00:00
James Booth
b5e06a079c Simple default resource hanlding on presence 2013-02-14 22:06:25 +00:00