1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-12-04 14:52:17 -05:00
Commit Graph

263 Commits

Author SHA1 Message Date
Sebastian Kaspari
da1a11fca0 Disabled debugging of IRC events (logging to debug log) 2010-03-17 19:38:58 +01:00
Sebastian Kaspari
9f19c0b7ac (Fixed issue 5) store message adapter in conversation and reuse it 2010-03-17 19:32:27 +01:00
Sebastian Kaspari
876b96c358 Implemented IRC events: onSetChannelLimit() onRemoveChannelLimit() 2010-03-15 23:52:32 +01:00
Sebastian Kaspari
b201a93adc Implemented IRC events: onSetSecret() onRemoveSecret() 2010-03-15 23:48:44 +01:00
Sebastian Kaspari
89ebe3e284 reply on ctcp finger 2010-03-14 23:34:51 +01:00
Sebastian Kaspari
93abba8232 Implemented sending files via DCC: /dcc SEND <nickname> <file> 2010-03-14 22:54:41 +01:00
Sebastian Kaspari
45a2ca0849 Implemented channel events: onSetChannelKey() onRemoveChannelKey() 2010-03-14 22:22:51 +01:00
Sebastian Kaspari
eb150c52e0 Broadcast helper: Broadcast.createConversationIntent() 2010-03-14 22:20:39 +01:00
Sebastian Kaspari
ce98d23b77 Renamed ChannelReceiver to ConversationReceiver 2010-03-14 22:13:23 +01:00
Sebastian Kaspari
a8ea5c2c92 Renamed ChannelListener to ConversationListener 2010-03-14 22:11:54 +01:00
Sebastian Kaspari
cc8c7d0546 Typo: oped/deoped should be opped/deopped 2010-03-14 15:44:21 +01:00
Sebastian Kaspari
314799cd83 Realname cannot be blank - see issue 4 2010-03-14 15:43:26 +01:00
Sebastian Kaspari
7103510d1e Moved CommandException to org.yaaic.exception package 2010-03-14 13:35:16 +01:00
Sebastian Kaspari
454e034a5c Added validation to AddServerActivity 2010-03-14 13:34:25 +01:00
Sebastian Kaspari
c21fd58cf3 Show message on disconnect and update server status 2010-03-14 12:42:29 +01:00
Sebastian Kaspari
aca93e39e2 Changed error message (connect) 2010-03-14 12:00:45 +01:00
Sebastian Kaspari
fa3584e596 Add connect error message to server info window 2010-03-14 11:58:46 +01:00
Sebastian Kaspari
0a0190c219 Handle exceptions on connect 2010-03-14 11:53:54 +01:00
Sebastian Kaspari
5140646fd4 Fixed timestamp. Prefix number with 0 if they are < 10 2010-03-14 01:07:11 +01:00
Sebastian Kaspari
2d585d6a72 Also update query if a user exists 2010-03-14 01:06:06 +01:00
Sebastian Kaspari
63fa7910d0 Remove old messages from the conversation view if messages.count() > HISTORY_SIZE 2010-03-14 00:04:18 +01:00
Sebastian Kaspari
11eabc723e ConversationActivity: notify the whole deck only as fallback 2010-03-14 00:03:38 +01:00
Sebastian Kaspari
fbb74184d5 Bugfix for some messages do not show up directly 2010-03-13 23:47:18 +01:00
Sebastian Kaspari
5f3948e6c5 Ignore case of conversation's name 2010-03-13 23:46:35 +01:00
Sebastian Kaspari
7376ba7856 Implemented onServerResponse() (default: disabled), disabled onUnknown as well by default 2010-03-13 21:55:21 +01:00
Sebastian Kaspari
d321e2930f Post unknown messages to the server info window 2010-03-13 21:16:32 +01:00
Sebastian Kaspari
9f0ad056a0 Disconnect from server on delete 2010-03-13 21:06:29 +01:00
Sebastian Kaspari
5dd23fce43 Add identity to server on creating a new server 2010-03-13 20:53:37 +01:00
Sebastian Kaspari
7e20226b51 Workaround: Remove identity assigned to server if server is deleted until we have some kind of identity manager 2010-03-13 20:28:39 +01:00
Sebastian Kaspari
58bd63debd Server: restore defaults on clearConversations() 2010-03-13 20:18:24 +01:00
Sebastian Kaspari
ee60c3c386 New Settings: prefix messages with timestamp, use 24h or 12h time format 2010-03-13 20:15:09 +01:00
Sebastian Kaspari
7d9a727fa0 Settings helper class 2010-03-13 19:56:42 +01:00
Sebastian Kaspari
7183c1c06c Settings Activity and co. 2010-03-13 19:56:32 +01:00
Sebastian Kaspari
47b3628853 Some documentation 2010-03-13 19:06:35 +01:00
Sebastian Kaspari
af676f610a Implemented: /notice <nickname> <message> 2010-03-13 18:47:47 +01:00
Sebastian Kaspari
98e24bb8a2 Small changes (Manifest, "about" layout) 2010-03-13 18:05:36 +01:00
Sebastian Kaspari
57e9ba721f Moved server.xml to conversations.xml 2010-03-13 18:04:59 +01:00
Sebastian Kaspari
90a3c25c58 Added AboutActivity 2010-03-13 17:56:10 +01:00
Sebastian Kaspari
f038ad3c39 Some more documentation 2010-03-13 16:54:48 +01:00
Sebastian Kaspari
1bce5e1fc9 Added 2010 ;) 2010-03-13 16:52:20 +01:00
Sebastian Kaspari
16a89c9417 Use server password on connect if defined 2010-03-13 16:46:32 +01:00
Sebastian Kaspari
bfd67da5b9 Read server password from database on object population 2010-03-13 16:45:06 +01:00
Sebastian Kaspari
7d55a03a02 Server: setPassword() getPassword() 2010-03-13 16:44:05 +01:00
Sebastian Kaspari
90878c9b34 Implemented /close 2010-03-13 16:02:48 +01:00
Sebastian Kaspari
5b54d66f70 Server: Use a LinkedHashMap to archive a predictable order 2010-03-13 15:51:39 +01:00
Sebastian Kaspari
825cf278be Database: Helper method for updating server records 2010-03-13 15:41:34 +01:00
Sebastian Kaspari
80a5e56294 Use realname of identity (Workaround for PircBot handling version as real name) 2010-03-13 15:17:32 +01:00
Sebastian Kaspari
01f03747b0 Use nickname and ident of the identity 2010-03-13 14:58:01 +01:00
Sebastian Kaspari
e61dbe86ae Attach identity on loading server from database 2010-03-13 14:55:19 +01:00
Sebastian Kaspari
7ec5499541 Server: methods to attach an identity to a server 2010-03-13 14:45:45 +01:00
Sebastian Kaspari
d82db7aa38 Database: Helper method for loading an identity by id 2010-03-13 14:41:29 +01:00
Sebastian Kaspari
7c48f907d9 First implementation of the Identity class 2010-03-13 13:41:10 +01:00
Sebastian Kaspari
0a5ded2e99 identation 2010-03-12 20:35:25 +01:00
Sebastian Kaspari
0cb9238206 Save identity information from ServerAdd view to database 2010-03-12 20:16:20 +01:00
Sebastian Kaspari
1e922c1542 Added helper methods to store identities in database 2010-03-12 20:15:49 +01:00
Sebastian Kaspari
8fc96c2d86 Constants for the identities table 2010-03-12 19:48:58 +01:00
Sebastian Kaspari
abc75c068a Disabled vertical fading for conversation views 2010-03-12 00:31:02 +01:00
Sebastian Kaspari
986325ceef Changed scrollbar style of conversation view 2010-03-12 00:16:42 +01:00
Sebastian Kaspari
da58a7d042 Renamed servers.xml to conversations.xml like activity names 2010-03-12 00:10:18 +01:00
Sebastian Kaspari
733ecd7d96 Do not expose complete history list, make the history accessible via index - see issue 2 2010-03-11 23:46:11 +01:00
Sebastian Kaspari
14ca3e0668 Synchronized all LinkedLists - see issue 2 2010-03-11 23:41:31 +01:00
Sebastian Kaspari
54c968f302 Added reason to quit message 2010-03-11 22:58:01 +01:00
Sebastian Kaspari
e7a903851e Remove channel views on part 2010-03-11 01:10:21 +01:00
Sebastian Kaspari
b87501622c Renamed Broadcast constants from CHANNEL_* to CONVERSATION_* 2010-03-11 00:25:53 +01:00
Sebastian Kaspari
58b9398800 Bugfix: All messages were posted to the current view if full channel view was used 2010-03-11 00:08:36 +01:00
Sebastian Kaspari
46f5d1d008 Disable posting non-commands on the ServerInfo view 2010-03-11 00:05:04 +01:00
Sebastian Kaspari
66d3b2682b Show message on connect 2010-03-10 23:57:31 +01:00
Sebastian Kaspari
031c042d50 Show error if user is not connected but sends a message 2010-03-10 23:53:39 +01:00
Sebastian Kaspari
0570e3d638 Reload serverlist on resume() (Server status may has been updated) 2010-03-10 23:48:21 +01:00
Sebastian Kaspari
be872c25c7 Renamed ServerActivity to ConversationActivity to prevent confusion (ServerActivity <-> ServersActivity) 2010-03-10 23:30:59 +01:00
Sebastian Kaspari
fa9cdd5f1d ServerActivity: register for server broadcasts and update view 2010-03-10 23:28:49 +01:00
Sebastian Kaspari
35f430ad9b MessageListAdapter: Synchonize the addMessage() method as the LinkedList may throw an ConcurrentModificationException 2010-03-10 23:27:24 +01:00
Sebastian Kaspari
3a3e4ae822 Only connect on click if not already connected or connecting 2010-03-10 23:17:22 +01:00
Sebastian Kaspari
9efb7b8e4a Disable input if not connected 2010-03-10 23:12:01 +01:00
Sebastian Kaspari
ac48ee9aae Directly jump to server view on click and watch the client connecting 2010-03-10 23:09:39 +01:00
Sebastian Kaspari
dda143186b Implemented onNotice() event 2010-03-10 23:06:40 +01:00
Sebastian Kaspari
6d8cbb6ff4 Remember selected conversation in server object 2010-03-10 22:56:44 +01:00
Sebastian Kaspari
7174eb356e Don't show conversation name at top if ServerInfo view is selected 2010-03-10 22:52:48 +01:00
Sebastian Kaspari
b8043453bd Don't write name into ServerInfo view (as there's no name) 2010-03-10 22:48:21 +01:00
Sebastian Kaspari
6e99800a21 Added ServerInfo window 2010-03-10 22:42:05 +01:00
Sebastian Kaspari
ec85ac51b7 Ignore empty messages entered 2010-03-10 22:17:53 +01:00
Sebastian Kaspari
e0284da95f Added aliases /j and /q 2010-03-10 22:15:20 +01:00
Sebastian Kaspari
9d7e360e7c Scroll to new conversations on create 2010-03-10 22:10:40 +01:00
Sebastian Kaspari
1c44a4e7bd Implemented command: /query <nickname> 2010-03-10 22:07:35 +01:00
Sebastian Kaspari
94f624360d Open a new query if it doesnt exist on "external" action (/me) 2010-03-10 21:46:12 +01:00
Sebastian Kaspari
2f97adaf30 Handle "external" actions (/me) in queries 2010-03-10 21:40:49 +01:00
Sebastian Kaspari
09cb4af8f3 Yaaic now handles private queries :) 2010-03-10 21:34:20 +01:00
Sebastian Kaspari
9a702f5d1a Check conversation type on handler execution where needed 2010-03-10 21:14:20 +01:00
Sebastian Kaspari
7863ee8aa2 ChannelReceiver now uses conversations instead of channels 2010-03-10 21:12:21 +01:00
Sebastian Kaspari
3104603543 IRCConnection now uses conversations instead of channels 2010-03-10 21:12:07 +01:00
Sebastian Kaspari
cf891d8371 ServersActivity now uses conversations instead of channels 2010-03-10 21:11:10 +01:00
Sebastian Kaspari
9e94638f14 ChannelListener now uses conversations instead of channels 2010-03-10 21:06:42 +01:00
Sebastian Kaspari
9259ae2afd All handlers now use conversations instead of channels 2010-03-10 21:06:18 +01:00
Sebastian Kaspari
47ee4d1d6e CommandParser now uses conversations instead of channels 2010-03-10 20:58:37 +01:00
Sebastian Kaspari
d30360b606 BaseHandler now uses conversations instead of channels 2010-03-10 20:58:11 +01:00
Sebastian Kaspari
046342dcd2 ServerActivity now uses conversations instead of channels 2010-03-10 20:56:14 +01:00
Sebastian Kaspari
d1e6b0ffa8 MessageListAdapter now uses conversations instead of channels 2010-03-10 20:46:07 +01:00
Sebastian Kaspari
5517660011 DeckAdapter now uses conversations instead of channels 2010-03-10 20:45:56 +01:00
Sebastian Kaspari
d9755926ec Server class uses conversations instead of channels 2010-03-10 20:33:43 +01:00
Sebastian Kaspari
396f1ad4d9 First basic implementation of a query model class 2010-03-10 09:37:48 +01:00