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
James Booth
e922568770
Added resource_presence_t and contact_presence_t
2013-02-10 17:13:19 +00:00
James Booth
591f8a8dbf
Renamed jabber_presence_t->presence_t
2013-02-10 11:31:31 +00:00
James Booth
3fa9ecb9d1
Show priority on autoaway messages
2013-02-05 23:29:05 +00:00
James Booth
3c9155be2c
Losing connection shows 'offline' in ui
2013-02-03 23:06:06 +00:00
James Booth
9bc70e29e8
Removed jabber_restart function
2013-02-03 22:56:23 +00:00
James Booth
2ee0c4d328
Moved caps_init() out of xmpp.h
2013-02-03 22:46:32 +00:00
James Booth
069bdbc331
Refactored string preferences
2013-02-03 03:24:13 +00:00
James Booth
ca26452af6
Refactored getting boolean preferences
2013-02-03 02:35:04 +00:00
James Booth
c90c83f7e1
Removed log function to log.c
2013-02-03 00:27:43 +00:00
James Booth
7d6ce4da02
Added resize check to ui module
2013-02-02 23:52:47 +00:00
James Booth
b762f2c670
Tidied directory creation
2013-02-02 22:51:14 +00:00
James Booth
3d0e0d7ea4
Removed files.c
2013-02-02 22:33:05 +00:00
James Booth
9d34c41227
Added config dir to source
2013-02-02 21:59:29 +00:00
James Booth
740e5b4228
Added command and tools subdirs to source
2013-02-02 21:43:59 +00:00
James Booth
fc5bfb7d33
Tidied #include's
2013-02-02 20:55:58 +00:00
James Booth
ed3261a238
Added ui subdir to source
2013-02-02 19:57:46 +00:00
James Booth
1d3739bb79
Added xmpp subdir to source
2013-02-02 19:47:41 +00:00
James Booth
06abe13f19
Show current presence when logging in
...
Also show correct presence in title bar upon login
2013-01-31 00:40:27 +00:00
James Booth
957bea19e4
Fixed chat logging
...
fixes #147
2013-01-29 23:01:15 +00:00
James Booth
0f01f30b9c
Moved message functions to xmpp_message.c
2013-01-29 00:37:50 +00:00
James Booth
bfe1d76e5f
Moved functions to xmpp_presence
2013-01-28 22:55:26 +00:00
James Booth
bf1cf04447
Joined log and chat_log modules
2013-01-28 20:16:18 +00:00
James Booth
c72d7ad6a6
Renamed history modules
2013-01-28 01:35:11 +00:00
James Booth
80e62cfa5f
Renamed history.c -> command_history.c
...
Included in command.h
2013-01-28 01:23:37 +00:00
James Booth
070d2ced4f
Renamed capabilities.c -> xmpp_caps.c
2013-01-28 00:57:22 +00:00
James Booth
7dcb85c701
Renamed jabber.h -> xmpp.h
2013-01-28 00:32:57 +00:00
James Booth
dba48f18b5
Added development string to log
2013-01-27 21:32:10 +00:00
James Booth
972ca34d4b
Refactored connecting, and reconnecting
...
The user either logs in with an account, in which case its name, and the
password is kept for reconnects. Or the user can login with a jid (and
server) which does not currently exist as a local account. On success
an account is created, with the jid as the name.
2013-01-27 20:23:42 +00:00
James Booth
5cca57f6fb
Renamed account_add_login -> account_add, added comments
2013-01-27 18:10:30 +00:00
James Booth
b4ea35d40a
Added client to /info command in chat rooms
2013-01-20 04:33:31 +00:00
James Booth
22589e8798
Initialise and free capabilities
2013-01-20 00:35:40 +00:00
James Booth
79c92656f9
Added retrieval of caps string from presence
2013-01-19 23:52:50 +00:00
James Booth
af6779401a
Show message in chat room when nickname conflict
2013-01-16 01:00:06 +00:00
James Booth
02a71e2510
Handle /who command in chat rooms
2013-01-15 23:17:07 +00:00
James Booth
84ea4a77c9
Disabled logging for chat rooms and private chat
2013-01-15 20:50:11 +00:00
James Booth
bfd7362e2a
Renamed muc functions
2013-01-12 01:34:09 +00:00
James Booth
dad01d8f84
Renamed room_chat module to muc
2013-01-12 01:01:39 +00:00
James Booth
d29c7fd878
Updated copyright
2013-01-11 02:05:29 +00:00
James Booth
89967905db
Autocomplete: added free function
...
Fixed tests
2013-01-11 00:17:18 +00:00
James Booth
dae4f1bb70
Added _inp_win_refresh() macro, renamed and moved some functions
2013-01-06 01:06:12 +00:00
James Booth
439e6486db
Handle wide chars on input
2013-01-03 00:16:39 +00:00
James Booth
d28930eaf4
Include ncursesw, set locale
2013-01-02 20:27:37 +00:00
James Booth
803eacc488
Fixed name clashes with windows.h
2012-12-11 23:58:54 +00:00
James Booth
ce6f227651
Handle logins using accounts
2012-12-09 22:14:38 +00:00
James Booth
8e90f7a414
Handle idle time from contacts
2012-12-09 03:07:33 +00:00
James Booth
4c243722c6
Renamed functions in theme
2012-12-08 22:34:16 +00:00
James Booth
731dabd712
Added server property to accounts
2012-12-07 00:10:00 +00:00
James Booth
6826a66f85
Moved logins to accounts module
2012-12-02 01:29:42 +00:00
James Booth
30e4786180
Create logs dir for main log
2012-12-02 01:01:27 +00:00
James Booth
79a2633fa6
Removed development code
2012-12-01 19:05:28 +00:00
James Booth
1029c43002
Use profanity input for idle time when libxss not availalbe
2012-12-01 18:39:34 +00:00
James Booth
fae848ea64
Implemented /autoaway mode idle
2012-12-01 17:46:25 +00:00
James Booth
f7d0bcba4c
More useful console message on auto away
2012-12-01 00:23:47 +00:00
James Booth
72d8a82f51
Send away presence and message for /autoaway
2012-12-01 00:19:45 +00:00
James Booth
48c4d6dc8f
Send away and message when idle
2012-11-30 22:05:52 +00:00
James Booth
ef40a33ab4
Use only one measure for idle
2012-11-30 21:59:31 +00:00
James Booth
020e516acf
Simple output of idle/away
2012-11-30 21:26:28 +00:00
James Booth
0756a9cec6
Implemented "/sub sent" to show outstanding sent subscription requests
2012-11-28 01:36:04 +00:00
James Booth
c9ed583412
Fixed some memory leaks
2012-11-26 02:20:44 +00:00
James Booth
b2f9e1ad5f
Further tidy up of windows.c
2012-11-26 00:57:41 +00:00
James Booth
e131afdb12
windows tidy up
2012-11-26 00:01:34 +00:00
James Booth
4b73f3d7f9
Profanity files now use %XDG_CONFIG_HOME and %XDG_DATA_HOME
2012-11-25 21:40:49 +00:00
James Booth
e8b2b7196c
Separated colours from main preferences
2012-11-21 21:24:10 +00:00
James Booth
118d97cd90
Handling commands after /disconnect
2012-11-19 23:15:42 +00:00
James Booth
346ed2a8e8
Moved disconnect code to profanity module
2012-11-19 22:23:48 +00:00
James Booth
b3e1d473a2
Handle room broadcasts
2012-11-19 22:15:53 +00:00
James Booth
645d1b74d5
Handle room member presence
2012-11-19 00:26:31 +00:00
James Booth
bd3f1d1575
Show message when own nickname changed in chat rooms
2012-11-18 22:49:01 +00:00
James Booth
49676e3fae
Handle nick changes from other users
2012-11-18 21:46:58 +00:00
James Booth
a574f7ff40
Set correct window type on private messages
2012-11-14 00:04:08 +00:00
James Booth
b14aab4ade
Merge pull request #79 from pasis/dev
...
ignore SIGPIPE
2012-11-12 14:03:12 -08:00
Dmitry Podgorny
e81dc3b509
ignore SIGPIPE
...
Applications running OpenSSL over network connections may crash if
SIGPIPE is not ignored.
[http://svn.apache.org/repos/asf/thrift/trunk/lib/cpp/README.SSL ]
2012-11-12 23:15:37 +02:00
James Booth
14fa5ce5d8
Clear contact list when connection lost
2012-11-12 20:30:15 +00:00
James Booth
2f1fa0d97a
Merge pull request #73 from pasis/rotate
...
introduce initial log rotate support
2012-11-11 14:56:04 -08:00
Dmitry Podgorny
b4fd3b1b20
fix spacing
2012-11-11 23:44:18 +02:00
James Booth
e64889b6fc
Added win_page_off to subscriptions to scroll window
2012-11-11 19:45:49 +00:00
Dmitry Podgorny
c3b0e80432
add subscription support
2012-11-11 14:00:21 +02:00
James Booth
be2fb1c809
Handle subject from room
2012-11-10 03:30:27 +00:00
James Booth
7799623b4a
Show error text if received
2012-11-10 02:28:38 +00:00
James Booth
a5082a54bd
Using vargs in cons_bad_show
2012-11-10 01:39:42 +00:00
James Booth
81f9292948
Tidy up leaving room
2012-11-10 01:17:16 +00:00
James Booth
76149e1f31
Show delayed time on messages received whilst offline
...
Also do not show chat state notifications received whilst offline
2012-11-08 22:14:41 +00:00
James Booth
181669a8cb
Basic chat room handling of presence
2012-11-08 00:05:32 +00:00
James Booth
a676c50b68
windows: format room roster
2012-11-07 22:46:20 +00:00
James Booth
54e591fea3
jabber: wait until full room roster received before showing
2012-11-07 22:24:50 +00:00
James Booth
4493f55530
Removed jabber.c dependency on ui.h
2012-11-06 22:40:38 +00:00
James Booth
e45e6c46b7
Show message when other user <gone/>
2012-11-01 01:21:00 +00:00
James Booth
d339004f55
Merge branch 'master' into chatstates
...
Conflicts:
Makefile.am
2012-10-30 01:38:08 +00:00
James Booth
a0eda4207c
Split contact add and update presence
2012-10-29 21:44:33 +00:00
James Booth
34238ad6a4
Handle presence after roster request
2012-10-28 23:27:56 +00:00
James Booth
d13794bf60
Load roster before sending presence
2012-10-28 20:52:30 +00:00
James Booth
44f64bea64
Merge branch 'master' into chatstates
2012-10-28 00:37:01 +01:00
James Booth
c71259c322
Unified desktop notification preferences
2012-10-27 22:05:08 +01:00
James Booth
d4fb72f6c9
Merge branch 'master' into chatstates
...
Conflicts:
docs/profanity.1
2012-10-27 19:34:26 +01:00
James Booth
847850742c
Refactored disconnect
2012-10-27 18:26:57 +01:00
James Booth
d658915740
Renamed shutdown function
2012-10-27 18:15:26 +01:00
James Booth
28d388319a
Added /disconnect command
2012-10-27 18:12:04 +01:00
James Booth
852112cda8
Removed _shutdown function in profanity.c
2012-10-27 17:40:17 +01:00
James Booth
a5e4e52567
Merge branch 'master' into type_out
2012-10-22 22:21:55 +01:00
James Booth
3f8813bb1b
Free autocompleters on quit
2012-10-22 00:29:39 +01:00
James Booth
e0732ad0a5
Renamed other autocompleters
2012-10-21 23:46:30 +01:00
James Booth
6bad38c2d5
Removed trailing whitespace from src and tests
2012-10-21 20:02:20 +01:00
Dmitry Podgorny
bfc9e9a72e
handle error messages from server
2012-10-18 18:18:44 +03:00
James Booth
68c6fe4803
Moved jabber_free_resources call
2012-10-16 23:38:27 +01:00