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

377 Commits

Author SHA1 Message Date
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
James Booth
2f66feef8a Merge branch 'master' of https://github.com/pasis/profanity 2012-10-16 23:34:38 +01:00
James Booth
d2aeca9bb4 Attempted fix at causing segfault by freeing connection 2012-10-16 23:29:58 +01:00
Dmitry Podgorny
6900d52d80 jabber: fix crash when disconnection timeout is reached 2012-10-17 00:52:19 +03:00
James Booth
5d49993151 Merge branch 'master' into type_out 2012-10-14 17:52:35 +01:00
James Booth
579201636e Showing history from current log in chat windows 2012-10-14 04:10:03 +01:00
James Booth
0139fb8b10 Merge branch 'master' into dev 2012-10-06 00:35:56 +01:00
James Booth
8ecd93049f Set no blocking delay to 100ms 2012-10-05 00:42:02 +01:00
James Booth
dcf5e9ef16 Removed /ros command 2012-10-04 22:09:33 +01:00
James Booth
65022b3c2f Users added to contact list when no precense notification
The user is added from the roster
2012-10-04 21:31:09 +01:00
James Booth
579594a8bf Offline contacts presence notifications now in contact list
Can send messages to offline contacts
2012-10-04 21:25:19 +01:00
James Booth
f8de28232e Started work on chat session, and chat states 2012-10-03 23:47:10 +01:00
James Booth
585d3e52f7 Made usage of cons_show vargs 2012-10-03 22:19:46 +01:00
James Booth
a970b9ea86 Moved chat logging to profanity module
Removed jabber modules dependency on chat log
2012-10-02 22:00:05 +01:00
James Booth
ee8407f4a4 Tidy up jabber module, removed unused code, made local functions private 2012-10-02 21:37:55 +01:00
James Booth
b9ab5d9f33 Refactored profanity module
Now has simple run method and event handlers
2012-10-02 01:24:48 +01:00
James Booth
28b1723876 Moved roster output handling to profanity module 2012-10-02 01:04:53 +01:00
James Booth
02224ea7bb Added status handler code to profanity module 2012-10-02 00:03:53 +01:00
James Booth
310d712d42 Moved login attempt handler code to profanity module 2012-10-01 23:53:26 +01:00
James Booth
9f00ef14d2 Moved incoming message code to profanity module 2012-10-01 23:41:36 +01:00
James Booth
f488200408 Made periodic message reminders a user option 2012-09-23 22:24:31 +01:00
James Booth
294ea2d1be Now sends desktop notification periodically to remind of unread messages 2012-09-23 20:52:47 +01:00
James Booth
d888a378d3 Only remind when period != 0 seconds and more than 0 messages 2012-09-23 20:38:26 +01:00
James Booth
78e4524de0 Added logging of unread messages to test 2012-09-23 20:30:32 +01:00
James Booth
6d329343dc Shutdown now correctly handles connection 2012-09-23 19:26:07 +01:00
James Booth
3a8229bf6a Created shutdown init function to initiate and wait for shutdown 2012-09-11 22:55:59 +01:00
James Booth
1d44a8a345 Started work on closing stream on quit
For standards compliance
2012-09-11 01:30:48 +01:00
James Booth
6f2870ed7d Moved create_config_dir function to profanity.c 2012-08-26 18:01:44 +01:00
James Booth
fe519410b1 Tidied all includes 2012-08-26 01:50:50 +01:00
James Booth
2bbac1c811 Refactored log
Added shortcut functions for prof logging levels
2012-08-26 00:54:18 +01:00
James Booth
0fe70ce7d3 Merge common and util 2012-08-23 01:08:06 +01:00
James Booth
33bb82b4aa Moved input processing to profanity.c 2012-08-23 00:41:22 +01:00
James Booth
b3f6023278 Refactored setting boolean preferences 2012-08-23 00:30:11 +01:00
James Booth
4dbd8bbefa Added some logging and updated man page 2012-08-22 00:30:24 +01:00
James Booth
e698738745 Customisable logging levels 2012-08-19 03:43:18 +01:00
James Booth
74a88ad566 Basic log levels settings 2012-08-19 02:44:46 +01:00
James Booth
cd3a0ddeb8 Removed tinyurl_init 2012-08-10 23:07:49 +01:00
James Booth
0a42be57a3 Cleaning up memory allocated by ncurses pads 2012-07-31 23:01:15 +01:00
James Booth
ea5c1f0fa4 Added tiny command 2012-07-28 01:36:08 +01:00
James Booth
279737bada Function signatures across lines 2012-07-24 23:19:48 +01:00
James Booth
83ef1d562c Added simple chat log 2012-07-22 20:53:55 +01:00
James Booth
929be7f1ac Log location ~/.profanity/log/profanity.log 2012-07-19 22:38:46 +01:00
James Booth
6bfc88339c Create config directory 2012-07-19 21:30:07 +01:00
James Booth
11125561f8 Fixed delete when going off left side of screen 2012-07-09 23:48:53 +01:00
James Booth
30ca6cac3d Added autobuild tools 2012-07-01 14:47:09 +01:00