James Booth
81e95966cf
Remove redundant tls secured function
2016-05-06 02:18:31 +01:00
James Booth
d1c71e98f4
Move connection fulljid function
2016-05-06 01:12:54 +01:00
James Booth
88f423afea
Rename jabber_ functions
2016-05-06 00:53:03 +01:00
James Booth
3bb1f12410
Add session.c
2016-05-05 23:51:49 +01:00
James Booth
ccabc08fef
Tidy xmpp headers
2016-05-04 01:19:51 +01:00
Dmitry Podgorny
efbf233c85
Define stanza's attributes as const char*
...
In most get-like funcitons libstrophe returns pointer to a string
that resides in an internal structure (e.g. xmpp_stanza_t). Hence,
Profanity must not change such strings. Define respective variables
as 'const char*' to reduce a chance of error and conform future
libstrophe's interface.
This patch mostly replaces 'char *' with 'const char*', but also
fixes two memory leaks after stanza_get_reason(). Add comment within
stanza_get_reason() to fix conflict with different allocator types.
2016-04-27 10:31:28 +00:00
James Booth
4ca6296fb7
Fix OSX compile
2016-04-26 23:50:56 +02:00
Dominik Heidler
1b0ce852bb
Implement XEP-0363: HTTP File Upload
2016-04-26 23:50:55 +02:00
James Booth
2daa02cb60
Merge remote-tracking branch 'asdil12/tray_config'
2016-04-17 23:17:43 +01:00
Dominik Heidler
4cb1d73a83
Make tray icon configurable using /tray cmd
2016-04-16 16:29:32 +02:00
James Booth
93672eba9f
Plugins: Added on_room_history_message
2016-04-08 00:11:33 +01:00
James Booth
f243e333fc
Added whole word matches for room mention
2016-04-07 01:01:27 +01:00
James Booth
6f81f2b845
Removed newline handling code from rosterwin.c
2016-03-31 23:14:51 +01:00
James Booth
9b177a9e01
Removed #AX_PREFIX_CONFIG_H
2016-03-31 21:05:02 +01:00
James Booth
6f537c3818
Add PGP decryption for incoming/outgoing carbons
2016-03-22 00:20:29 +00:00
James Booth
185405b9d1
Fixed PLATFORM_CYGWIN references
2016-03-10 22:21:56 +00:00
James Booth
355adb117c
Added WIN_PLUGIN case to win_free()
2016-03-07 18:24:04 +00:00
James Booth
7fdf50eb31
Add plugin wins to /win and /close autocompletion
2016-03-01 00:03:11 +00:00
James Booth
accde2a61c
Fixed cygwin compile
2016-02-28 19:05:26 +00:00
James Booth
9d31ce49c3
Added missing stdlib.h include
2016-02-24 00:59:28 +00:00
James Booth
412dc13629
Added prof_cons_bad_cmd_usage plugin function
2016-02-18 22:25:43 +00:00
James Booth
0ed3b53bd2
Integrated plugins with /help command
2016-02-18 21:53:20 +00:00
James Booth
639623d625
Tidied cons_show_help
2016-02-18 20:52:52 +00:00
James Booth
a14b7815ae
Added new help format to c plugins WIP
2016-02-18 01:20:37 +00:00
James Booth
1f90aca503
Merge branch 'master' into plugins-c
...
Conflicts:
src/main.c
src/ui/console.c
2016-02-14 23:00:52 +00:00
James Booth
e53e94f1e2
Updated copyright
2016-02-14 22:54:46 +00:00
James Booth
41fe8c22b1
Added C plugin code from plugins branch
2016-02-14 22:28:55 +00:00
James Booth
f887a35c0c
Fixed memory deallocations
2016-02-14 01:59:53 +00:00
James Booth
c3dfd6d35a
Highlight longer triggers first
2016-02-13 22:55:57 +00:00
James Booth
1a3dc91e11
Highlight room trigger terms
2016-02-13 22:46:25 +00:00
James Booth
2f82f50a35
Added roommention.term theme option
2016-02-10 23:03:23 +00:00
James Booth
71679a3159
Added mention and trigger themes for console
2016-02-10 21:38:28 +00:00
James Booth
62b0cdd8fd
Fix room notification reminders
2016-02-07 01:15:40 +00:00
James Booth
abc2f0de39
Added /roster show|hide unsubscribed
2016-02-07 00:49:48 +00:00
James Booth
6702bb9739
Don't show notification reminders for messages the user does not want notifications for
2016-02-04 01:24:37 +00:00
James Booth
e1962261a9
Tidy notify_room_message()
2016-02-04 00:45:37 +00:00
James Booth
c14ef33906
Tidy notify_message()
2016-02-04 00:41:53 +00:00
James Booth
8342265607
Removed unused arg: prefs_do_chat_notify()
2016-02-04 00:21:38 +00:00
James Booth
bab75cae15
Implemented /console private setting
2016-02-03 23:39:20 +00:00
James Booth
19a3066e28
Implemented /console chat setting
2016-02-03 23:16:42 +00:00
James Booth
77e819e81a
Handle self leaving room in private wins
2016-02-03 00:11:38 +00:00
James Booth
3ddef99dfe
Handle occupant kicked/banned in private chat wins
2016-02-02 22:25:55 +00:00
James Booth
150015fa3d
Show message in private windows when user offline
2016-02-02 21:52:13 +00:00
James Booth
f91b21a1d6
Allow splitting roster rooms by conference server
2016-02-01 01:11:01 +00:00
James Booth
08c1e62e3c
Colour private chats by presence in roster panel
2016-01-31 23:08:14 +00:00
James Booth
431913127c
Roster panel colour fixes
2016-01-31 22:02:04 +00:00
James Booth
3805fcfbd1
Fixed /pref ui formatting
2016-01-31 20:26:49 +00:00
James Booth
a00095c8a9
Added roster.rooms.private.char setting
2016-01-31 20:17:20 +00:00
James Booth
dd250c6799
Show orphaned private chats
2016-01-31 19:38:06 +00:00
James Booth
a0f43adf5b
Only add private chats to Rooms unread count in roster when room active
2016-01-31 18:52:53 +00:00
James Booth
1c65c36cb6
Show offline contacts with unread messages in roster
2016-01-31 02:47:50 +00:00
James Booth
e816b124ee
Removed unused arg from roster_get_ functions
2016-01-31 02:33:44 +00:00
James Booth
369aa5e8a8
Added filter functions to roster
2016-01-31 02:27:02 +00:00
James Booth
f17ecb77d2
Added functions for rooms and private chat headers
2016-01-31 00:34:44 +00:00
James Booth
5bbb3ef413
Added _rosterwin_contacts_header function
2016-01-30 23:53:46 +00:00
James Booth
3f3182a7de
Reorganise rosterwin.c
2016-01-30 23:11:31 +00:00
James Booth
20659b9841
Added _rosterwin_contacts_all function
2016-01-30 22:54:52 +00:00
James Booth
2092273474
Removed _rosterwin_contacts_by_no_group function
2016-01-30 22:39:08 +00:00
James Booth
7c4a63f3c2
Moved offline check logic in roster panel
2016-01-30 22:23:59 +00:00
James Booth
b801a605a7
Show private chat unread message count in roster panel
2016-01-28 01:08:16 +00:00
James Booth
27adf0311b
Updated themes
2016-01-28 00:43:50 +00:00
James Booth
fbe8c1e345
Added unread counts to roster
2016-01-28 00:26:20 +00:00
James Booth
d4f1384b85
Store /roster count setting
2016-01-27 23:02:28 +00:00
James Booth
0501e49623
Fix handling of unknown characters with word wrap
2016-01-26 00:25:13 +00:00
James Booth
38dfdb9d84
Added missing header
2016-01-25 22:54:34 +00:00
James Booth
0ae975c27f
Added themes for roster room mention and triggers
...
closes #718
2016-01-25 00:19:26 +00:00
James Booth
b6e9a09c64
Show console messages for room mention and triggers
...
closes #719
2016-01-24 23:47:17 +00:00
James Booth
5ff9fbd810
Tidy handling room mention and room triggers
2016-01-24 23:06:22 +00:00
James Booth
5ff36c14c0
Added roomtrigger colour theme
...
closes #717
2016-01-24 17:33:26 +00:00
James Booth
2a8da892aa
Roster private chat preferences
2016-01-24 02:28:22 +00:00
James Booth
7cacee8781
Added private chat roster group
2016-01-24 01:30:02 +00:00
James Booth
6d8a3e2020
Added /roster private command
2016-01-24 01:04:21 +00:00
James Booth
67abfaa21e
Added private chat to roster rooms
2016-01-24 00:33:24 +00:00
James Booth
2df622f9fd
Formatting of /theme properties command output
2016-01-23 22:55:04 +00:00
James Booth
6ec3f71a54
Pad theme settings
2016-01-23 21:47:23 +00:00
James Booth
53fc89f711
Added account theme property
2016-01-22 01:06:28 +00:00
James Booth
37171fe692
Show theme colour value
2016-01-21 02:00:12 +00:00
James Booth
6b65a9be15
Tidied theme properties
2016-01-21 01:30:18 +00:00
James Booth
adb470c454
WIP: Add /theme properties command
2016-01-21 00:50:55 +00:00
James Booth
5bccee93cc
Added /roster show|hide contacts
2016-01-20 01:48:41 +00:00
James Booth
10507b687b
Added sys/select.h header includes
2016-01-19 22:55:43 +00:00
James Booth
519b10d105
Added /roster rooms position preference
2016-01-19 22:38:00 +00:00
James Booth
cce01f1d75
Added /roster unread preferrence
...
closes #712
2016-01-17 02:17:12 +00:00
James Booth
e58be44f81
Added /roster room unread preference
...
closes ##708
2016-01-17 01:49:16 +00:00
James Booth
aab6a52eee
Show unread message count for contacts in roster
2016-01-15 00:44:47 +00:00
James Booth
fbc302317a
Added roster contact themes
2016-01-14 22:54:50 +00:00
James Booth
850ac3c6c0
Allow unlimited theme items
2016-01-10 03:11:05 +00:00
James Booth
de90243401
Added roster rooms order preference
2016-01-09 22:21:09 +00:00
James Booth
cd2458c019
Added roster room themes
2016-01-09 21:37:59 +00:00
James Booth
fcbd2592cf
Use different colour for roster chat rooms with unread messages
2016-01-09 20:40:13 +00:00
James Booth
055a5f71ce
Added roster struct, create and destroy roster on connect/disconnect
2016-01-05 00:06:50 +00:00
James Booth
4f35b11471
End OTR session when recipient goes offline
2016-01-03 01:32:37 +00:00
James Booth
523c35c375
Fix roster rooms checks
2016-01-02 02:50:17 +00:00
James Booth
8ca3fe4ea8
Sort roster rooms
2016-01-02 02:41:51 +00:00
James Booth
f9d89d564f
Check for mucwin before showing room in roster
2016-01-02 01:45:02 +00:00
James Booth
254c83d2d1
Added /roster show|hide rooms
2016-01-02 01:37:03 +00:00
James Booth
cf80fdc329
Added roster rooms preference
2016-01-02 01:29:12 +00:00
James Booth
22a14e1240
Show rooms in roster panel
2016-01-02 01:22:19 +00:00
James Booth
f27cae68c5
Added autoping timeout preference
2016-01-01 19:50:13 +00:00
James Booth
6a8656a06b
Added /console command
2015-12-29 23:32:32 +00:00
James Booth
8ea228480c
Added console MUC message preference
2015-12-29 23:00:49 +00:00
James Booth
d9f5a2bda6
Updated console new message text
2015-12-20 23:26:05 +00:00
James Booth
1b88b5706e
Change console incoming message text to include "win"
2015-12-20 22:50:03 +00:00
James Booth
1f56c12377
Added cons_show_incoming_room_message()
2015-12-20 00:54:17 +00:00
James Booth
a02c89a8e8
Use MB_CUR_MAX when calculating cursor position
2015-12-19 23:21:07 +00:00
James Booth
53fd2b3534
Read ~/.config/profanity/inputrc
2015-12-06 02:12:20 +00:00
James Booth
e9e54dca44
Renamed readline handlers
2015-12-06 01:33:53 +00:00
James Booth
0d25de9459
Added readline function definitions
2015-12-06 01:33:36 +00:00
James Booth
1e6a1f9921
readline: set rl_outstream to /dev/null
2015-12-01 22:24:43 +00:00
James Booth
d35f30f382
Merge remote-tracking branch 'kiethandi/master'
2015-11-30 23:58:29 +00:00
U-DIR\kieran.thandi
d288291e49
Include string take 2
2015-11-30 23:16:33 +00:00
U-DIR\kieran.thandi
a78dba0ced
resolve strdup dec
2015-11-30 22:57:10 +00:00
U-DIR\kieran.thandi
b818dddb32
Inclued stdlib
2015-11-30 22:34:24 +00:00
James Booth
0920b65ddf
Added /wins unread
2015-11-30 00:17:44 +00:00
James Booth
d9435d3b65
Tidy wins_create_summary()
2015-11-29 23:58:52 +00:00
James Booth
6e304bb867
Disable readline completion
2015-11-29 22:23:31 +00:00
James Booth
921ce6ec7d
Changed /bookmark list output to show text "win"
2015-11-29 01:13:00 +00:00
James Booth
3fbee4023e
Renamed /notify message -> /notify chat
2015-11-29 00:08:49 +00:00
James Booth
2fc984e673
Removed regular chat message triggers
2015-11-28 23:43:02 +00:00
James Booth
60305de0d9
Added room specific notify settings
2015-11-28 00:15:53 +00:00
James Booth
d3389db233
Only show reminder notifications when notifications are enabled
2015-11-25 22:33:26 +00:00
James Booth
20e63e364b
Finished basic /notify triggers
2015-11-25 21:24:21 +00:00
James Booth
b9794361f7
Implemented regular chat notify triggers
2015-11-25 01:42:27 +00:00
James Booth
9c8b137a51
Tidy regular chat and room notifications
2015-11-24 23:03:52 +00:00
James Booth
b79d77409f
Added notify triggers WIP
2015-11-23 23:43:53 +00:00
James Booth
bf1e7efe23
Show summary of trusted certificates, add /tls cert <fingerprint>
...
fixes #676
2015-11-22 19:53:41 +00:00
James Booth
216493ef07
Tidied roster commands
2015-11-22 17:45:38 +00:00
James Booth
0f22179eef
Added /roster resource join
2015-11-22 16:37:05 +00:00
James Booth
c4e8af0b6d
Added /roster char resource
2015-11-22 02:04:59 +00:00
James Booth
3bc9275079
Added word wrap to roster panel
2015-11-22 01:39:20 +00:00
James Booth
0763bfc9f4
Pass wrap boolean to win_sub_print()
2015-11-22 01:00:14 +00:00
James Booth
3d1299eb1e
Renamed subwin functions
2015-11-22 00:54:40 +00:00
James Booth
b4482b9fe1
Updated themes
2015-11-22 00:48:18 +00:00
James Booth
7a324abcd6
Option to show presence information on single line in roster
2015-11-22 00:30:42 +00:00
James Booth
5c08bea8d0
Added /roster indent presence
2015-11-21 22:03:43 +00:00
James Booth
ef0f093efd
Added /roster indent resource
2015-11-21 21:49:12 +00:00
James Booth
f54c2e8eca
Tidy rosterwin
2015-11-21 21:20:12 +00:00
James Booth
b73ff08a72
Free pref strings
2015-11-21 21:19:28 +00:00
James Booth
4b022687fa
Added /roster indent contact
2015-11-21 21:03:53 +00:00
James Booth
6935862195
Don't print empty line when no presence or status displayed in roster
2015-11-20 01:30:49 +00:00
James Booth
99b4fff949
Merge remote-tracking branch 'kiethandi/patch-2'
2015-11-20 00:38:08 +00:00
kiethandi
f948337103
Update privwin.c
2015-11-20 00:34:03 +00:00
James Booth
548f9394be
Removed unused priority settings
2015-11-20 00:18:13 +00:00
kiethandi
2c8c394595
Update privwin.c
...
Take 2 added include.
2015-11-20 00:16:51 +00:00
James Booth
16fbdedceb
Added /roster char contact
2015-11-20 00:06:46 +00:00
James Booth
3f18c8c35d
Added missing include
2015-11-19 23:32:11 +00:00
James Booth
316b6a7b8b
Added /roster char header
2015-11-19 23:21:51 +00:00
James Booth
522b9ab6be
Show status when show presence disabled
2015-11-18 23:00:06 +00:00
James Booth
8e84d160e6
Added option to show resource priority in roster
2015-11-18 02:14:11 +00:00
James Booth
4505102fa8
Added roster count option
2015-11-18 02:02:49 +00:00