Commit Graph

515 Commits

Author SHA1 Message Date
Sebastian Kaspari b597e149ff Merge branch 'integration' of github.com:pocmo/Yaaic into integration
Conflicts:
	src/org/jibble/pircbot/IdentServer.java
	src/org/jibble/pircbot/InputThread.java
	src/org/jibble/pircbot/OutputThread.java
	src/org/jibble/pircbot/PircBot.java
2010-04-06 00:48:35 +02:00
Sebastian Kaspari d65a2ecbcb Fixed another timestamp bug (12h format) 2010-04-06 00:37:16 +02:00
Sebastian Kaspari 4ad678603e Fixed timestamp for 12h time format 2010-04-06 00:21:39 +02:00
Sebastian Kaspari 576d5be271 imports 2010-04-05 22:41:04 +02:00
Sebastian Kaspari 4c595547e8 Removed default charset as user can now select a charset on server add/edit 2010-04-05 22:39:55 +02:00
Sebastian Kaspari 72b5a69cc3 Use selected charset 2010-04-05 22:37:07 +02:00
Sebastian Kaspari e78a53cae9 Set charset on server add/edit 2010-04-05 22:36:04 +02:00
Sebastian Kaspari 77f5aeac28 Database: Set charset parameter to null until view has a charset chooser component 2010-04-05 18:53:49 +02:00
Sebastian Kaspari 56bba42170 Database class: Added charset to addServer(), updateServer() and populateServer() 2010-04-05 18:51:10 +02:00
Sebastian Kaspari 3e891ec1f9 Added charset support to the server class 2010-04-05 18:46:33 +02:00
Sebastian Kaspari ca555fa4c3 Added new field (charset) to server table 2010-04-05 18:41:05 +02:00
Sebastian Kaspari 5beee89ce2 ServerConstants: Added constant/field for charset 2010-04-05 18:31:22 +02:00
Sebastian Kaspari 33ec37e689 Show "disconnect"-message in all conversations 2010-04-05 18:21:00 +02:00
Sebastian Kaspari c7b95570da Removed comment, conversations.values() returns a sorted list as we use a LinkedHashMap 2010-04-01 01:20:27 +02:00
Sebastian Kaspari a056b56855 Message: Direct access icon property instead of using getter 2010-04-01 01:07:30 +02:00
Sebastian Kaspari e2f3dfc2d2 New icon by http://www.androidicons.com :) 2010-03-31 20:48:22 +02:00
Sebastian Kaspari 456bf0b515 ConversationActivity: Added "close" to menu 2010-03-30 23:17:23 +02:00
Sebastian Kaspari 902b1a5b09 Optimization: No getters in loops 2010-03-30 21:31:38 +02:00
Sebastian Kaspari 60f4412096 Merge branch 'master' into optimization
Conflicts:
	src/org/yaaic/activity/ConversationActivity.java
	src/org/yaaic/irc/IRCService.java
2010-03-29 22:04:38 +02:00
kell caa2739bde Merge branch 'master' of git://github.com/pocmo/Yaaic 2010-03-29 21:58:40 +02:00
Sebastian Kaspari c20e671f94 Merged service branch 2010-03-29 21:50:36 +02:00
Sebastian Kaspari 5fc8788a19 Persistent service if connected to a server 2010-03-29 21:48:23 +02:00
Sebastian Kaspari f628af987b Imports 2010-03-27 11:10:28 +01:00
Sebastian Kaspari 239a8c0c2d Merge branch 'master' of git://github.com/kell/Yaaic into integration 2010-03-26 19:31:28 +01:00
kell 98019b363f Merge branch 'master' of git://github.com/pocmo/Yaaic 2010-03-26 19:30:02 +01:00
Sebastian Kaspari 2cf955ab8a QueryHandler: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:08:28 +01:00
Sebastian Kaspari 7827554659 NoticeHandler: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:08:00 +01:00
Sebastian Kaspari 9e38863944 MeHandler: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:07:31 +01:00
Sebastian Kaspari e4db5e012f EchoHandler: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:06:59 +01:00
Sebastian Kaspari f25d68f101 IRCBinder: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:05:55 +01:00
kell 6d01720ca6 added getDescription and help command 2010-03-26 19:05:37 +01:00
Sebastian Kaspari 4c5ba9a620 NamesHandler: Use broadcast type: CONVERSATION_MESSAGE 2010-03-26 19:03:43 +01:00
Sebastian Kaspari 13dde9ed03 Imports 2010-03-24 21:55:41 +01:00
Sebastian Kaspari 9efeb5b8af CommandParser: Implemented server commands whitelist 2010-03-24 21:17:12 +01:00
Sebastian Kaspari 507b3b422b CommandParser: Splitted handling of client/server/unknown commands 2010-03-24 21:06:23 +01:00
Sebastian Kaspari 3fdd183373 IRCConnection: Use Broadcast helpers (Should be reviewed) 2010-03-24 19:46:49 +01:00
Sebastian Kaspari b482afa305 Using Broadcast helpers... 2010-03-24 19:35:46 +01:00
Sebastian Kaspari c66eeecb0b CommandParser and CommandHandlers: Use Broadcast helper methods 2010-03-24 19:31:59 +01:00
Sebastian Kaspari 976ef4f598 Broadcast: Helper methods use Extra.* 2010-03-24 19:27:32 +01:00
Sebastian Kaspari db06f5450d New class for bundle params (org.yaaic.model.Extra) 2010-03-24 19:26:38 +01:00
Sebastian Kaspari 381601d521 New helper: Broadcast.createServerIntent() 2010-03-24 19:23:07 +01:00
Sebastian Kaspari acb09a3b8a Moved activities to org.yaaic.activity package 2010-03-24 18:48:38 +01:00
Sebastian Kaspari 6e2c835869 ConversationActivity: Small changes in onKeyDown() (also removed onBackPressed()) 2010-03-24 18:44:17 +01:00
Sebastian Kaspari 41cf6b60d0 permanent service with notification icon, stop service if not needed (work in progress) 2010-03-21 19:57:30 +01:00
Sebastian Kaspari 3c5cad2c46 MessageListAdapter: Add a bunch of messages via addBulkMessages() 2010-03-21 16:38:29 +01:00
Sebastian Kaspari 6996b4acee ConversationActivity: Cache field lookups and add buffer via bulk method 2010-03-21 16:37:56 +01:00
Sebastian Kaspari c63c332158 Conversation: Get the complete buffer 2010-03-21 16:37:19 +01:00
Sebastian Kaspari 04e496dc98 NamesHandler: cache field lookup 2010-03-21 16:36:44 +01:00
Sebastian Kaspari b855bb8790 Yaaic: cache field lookup 2010-03-21 16:36:16 +01:00
Sebastian Kaspari d62dcf86bd Conversation: get complete history instead of one element at a time 2010-03-21 16:08:27 +01:00
Sebastian Kaspari 705ad8c00a MessageListAdapter: cache field lookups 2010-03-21 16:06:52 +01:00
Sebastian Kaspari e3d13a3880 DeckAdapter: cache field lookups 2010-03-21 16:05:52 +01:00
Sebastian Kaspari 9a89262714 Removed tags 2010-03-21 15:52:57 +01:00
Sebastian Kaspari 50346ef5f5 Removed logging from yaaic 2010-03-21 15:51:08 +01:00
Sebastian Kaspari 81c24c5128 Removed logging from PircBot 2010-03-21 15:42:53 +01:00
Sebastian Kaspari 5e3ddc30c2 Removed synchronized list from Conversation class 2010-03-21 15:33:09 +01:00
Sebastian Kaspari ee417675a7 MessageListAdapter: Removed synchronized from addMessage() 2010-03-21 15:31:36 +01:00
Sebastian Kaspari ac3fe7bb57 Removed synchronized list from MessageListAdapter 2010-03-21 15:29:42 +01:00
Sebastian Kaspari df86967d69 Removed synchronized list from Deckadapter 2010-03-21 15:29:26 +01:00
Sebastian Kaspari 8bfe1d1a75 Bugfix: Do not try to connect on resume 2010-03-21 15:26:11 +01:00
Sebastian Kaspari 926bd9168a Cannot add messages to adapter in a differen thread 2010-03-20 23:15:52 +01:00
Sebastian Kaspari e0793a3bfa ConversationActivity: Update status in onResume() 2010-03-20 23:15:29 +01:00
Sebastian Kaspari 710c7749f1 Ignore server response 332 and 333 2010-03-20 23:12:17 +01:00
Sebastian Kaspari ffe3aed48c Set cache color hint 2010-03-20 22:51:18 +01:00
Sebastian Kaspari 2a679baf6e Do more work on threads 2010-03-20 22:39:42 +01:00
Sebastian Kaspari 6da41e633a Small adjustments to the irc event messages 2010-03-20 22:06:49 +01:00
Sebastian Kaspari 5ff4c85226 Remove colors/formatting from topic 2010-03-20 22:02:04 +01:00
Sebastian Kaspari 251bee24f7 Only resize MessageListView if in delegate mode 2010-03-20 21:56:15 +01:00
Sebastian Kaspari 76222eefd3 Resize MessageListView if parent's size has changed (fixing layout on using soft keyboard) 2010-03-20 21:49:46 +01:00
Sebastian Kaspari 70c9ab644b Moved connect from ServersActivity to ConversationActivity for faster responses 2010-03-20 20:21:51 +01:00
Sebastian Kaspari 3ca4ea981c Start ConversationActivity without requesting a result 2010-03-20 20:14:15 +01:00
Sebastian Kaspari 97eae1f4f0 ServersActivity: do not update data set before starting another activity 2010-03-20 20:09:42 +01:00
Sebastian Kaspari 9b6f97844a highlight message (red) if current nickname is used 2010-03-20 19:36:41 +01:00
Sebastian Kaspari b94f7cc789 Removed response code from server response messages 2010-03-20 18:31:43 +01:00
Sebastian Kaspari 2dd47f3bb8 Hide server response 353 and 366 2010-03-20 18:12:30 +01:00
Sebastian Kaspari e28c09e704 Add/Edit server: server title should be unique 2010-03-20 17:52:42 +01:00
Sebastian Kaspari be2584f5fe Handle irc:// uris 2010-03-20 16:32:42 +01:00
Sebastian Kaspari d5d294a5aa Imports 2010-03-20 15:56:43 +01:00
Sebastian Kaspari cb7473b93c Use UTF-8 as default charset 2010-03-20 15:47:57 +01:00
Sebastian Kaspari b41017ce93 Only update message list adapter on resume if existing 2010-03-20 15:44:34 +01:00
Sebastian Kaspari 7e36456b7a Possibility to edit already existing servers 2010-03-20 15:44:05 +01:00
Sebastian Kaspari cfe90d718f ConversationActivity: Fill views with buffered messages on resume 2010-03-18 22:37:37 +01:00
Sebastian Kaspari 54e8d9ac10 Fixed timestamps - save timestamp persitent in message object 2010-03-18 22:10:19 +01:00
Sebastian Kaspari d0cbb77f5f Show server responses but skip some messages 2010-03-18 21:33:20 +01:00
Sebastian Kaspari d721599351 Always scroll if not using full channel view 2010-03-18 20:26:04 +01:00
Sebastian Kaspari 61d1713a56 Show own invites in selected conversation 2010-03-18 19:53:20 +01:00
Sebastian Kaspari 91536b1609 Implemented IRC events: onSetPrivate() onRemovePrivate() 2010-03-18 19:49:52 +01:00
Sebastian Kaspari f40480d773 Implemented IRC events: onSetModerated() onRemoveModerated() 2010-03-18 19:48:11 +01:00
Sebastian Kaspari 75fb9c419c Implemented IRC events: onSetInviteOnly() onRemoveInviteOnly() 2010-03-18 19:46:09 +01:00
Sebastian Kaspari 50af2687ae Implemented IRC events: onSetNoExternalMessages() onRemoveNoExternalMessages() 2010-03-18 19:43:54 +01:00
Sebastian Kaspari 8d8e3691a4 Implemented IRC events: onSetTopicProtection() onRemoveTopicProtection() 2010-03-18 19:41:38 +01:00
Sebastian Kaspari 438a7e5d3e Implemented IRC events: onSetChannelBan() onRemoveChannelBan() 2010-03-18 19:38:55 +01:00
Sebastian Kaspari 8f6f7c7c74 /mode can be used when no channel is selected 2010-03-18 00:25:29 +01:00
Sebastian Kaspari ffaba5e25d Send unknown commands to the server 2010-03-18 00:14:29 +01:00
Sebastian Kaspari 1b2461f8fe Added command: /mode <channel> <mode> 2010-03-18 00:04:50 +01:00
Sebastian Kaspari 5629f2f308 Show unknown lines on the server info window 2010-03-17 23:50:31 +01:00
Sebastian Kaspari 62f5fcc074 Use an activity for the "join channel" dialog instead of a real dialog) 2010-03-17 22:43:56 +01:00
Sebastian Kaspari ca4a207b50 ServersActivity: Use the icon as centered background 2010-03-17 21:54:43 +01:00
Sebastian Kaspari 97b5467897 ConversationActivity: Use the icon as centered background 2010-03-17 21:52:51 +01:00
Sebastian Kaspari c89acdb4bc Wrapper for background drawables: NonScalingBackgroundDrawable 2010-03-17 21:51:05 +01:00
Sebastian Kaspari f84804bea7 Using slightly more space for the conversations 2010-03-17 20:02:30 +01:00
Sebastian Kaspari c88322a922 Rounded corners for conversation views 2010-03-17 19:58:23 +01:00
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
Sebastian Kaspari 38564ad644 Conversation: Added abstract method getType() and added constants TYPE_* 2010-03-10 09:37:31 +01:00
Sebastian Kaspari 1c128cc682 Channel now inherits from Conversation 2010-03-10 09:32:20 +01:00
Sebastian Kaspari 64c7ad2f45 Moved command handlers to org.yaaic.command.handler and renamend them. 2010-03-10 09:01:49 +01:00
Sebastian Kaspari 0342c6ea7f some cleanup 2010-03-10 08:57:37 +01:00
Sebastian Kaspari c52cc6a1f8 Implemented command: /kick <nickname> 2010-03-10 08:57:16 +01:00
Sebastian Kaspari 6ecbac45af Added op, voice, deop, devoice commands to command parser 2010-03-09 23:59:40 +01:00
Sebastian Kaspari 2b895d855c Implemented command: /voice <nickname> 2010-03-09 23:59:11 +01:00
Sebastian Kaspari e67b8a73ab Implemented command: /op <nickname> 2010-03-09 23:59:02 +01:00
Sebastian Kaspari e64fee57c2 Implemented command: /devoice <nickname> 2010-03-09 23:58:53 +01:00
Sebastian Kaspari ed1fe91596 Implemented command: /deop <nickname> 2010-03-09 23:58:42 +01:00
Sebastian Kaspari ed23e0e6dc Implemented command: /quit [<reason>] 2010-03-09 23:46:32 +01:00
Sebastian Kaspari 3b8f6ee494 Remember channel's topic and print on /topic 2010-03-09 23:35:40 +01:00
Sebastian Kaspari c5dc8115d2 Implemented command: /topic <topic> 2010-03-09 23:26:56 +01:00
Sebastian Kaspari 2b2500ee38 Log to android debug log instead of standard output 2010-03-09 23:20:16 +01:00
Sebastian Kaspari 6548cbe894 Implemented command: /echo <text> 2010-03-09 23:14:02 +01:00
Sebastian Kaspari 2c60fec377 Channel: Removed dead code 2010-03-09 23:07:28 +01:00
Sebastian Kaspari 218b2a8ed5 Implemented onQuit() event for other users 2010-03-09 22:42:12 +01:00
Sebastian Kaspari 608ea2e614 Pircbot Patch: Call onQuit() before removing the user. Otherwise we do not know which channels the user was on 2010-03-09 22:41:01 +01:00
Sebastian Kaspari 7ee8984f9a Implemented command: /names 2010-03-09 22:25:54 +01:00
Sebastian Kaspari 2dd9d4a3e8 Implemented /me <action> 2010-03-09 22:14:39 +01:00
Sebastian Kaspari ea4e90fb60 BaseCommand: New helpers: mergeParams(String[]), mergeParams(String[], int) 2010-03-09 22:14:07 +01:00
Sebastian Kaspari 3abf251c36 New command syntax: /command <param> [<optional>] 2010-03-09 22:00:04 +01:00
Sebastian Kaspari dee13c82bf Implemented onNickChange IRC event 2010-03-09 21:58:05 +01:00
Sebastian Kaspari 995ba53319 Implemented /join channel [key] 2010-03-09 20:24:33 +01:00
Sebastian Kaspari ff1ccb7aea Fixed bug in Channel.pollBufferedMessages() - Messages were polled in the wrong order 2010-03-09 20:22:19 +01:00
Sebastian Kaspari 8cec5b100d CommandParser: imports 2010-03-09 20:13:53 +01:00
Sebastian Kaspari 9b572792ea Commands can throw CommandExceptions 2010-03-09 20:13:29 +01:00
Sebastian Kaspari 4c3fb69a02 Implemented the first command: /nick 2010-03-09 19:58:51 +01:00
Sebastian Kaspari 3dc268219d BaseCommand: source documentation 2010-03-09 19:55:16 +01:00
Sebastian Kaspari d5e72638d1 Check for commands and parse them 2010-03-09 19:46:02 +01:00
Sebastian Kaspari 8dda8861e1 Show name of selected channel at the top 2010-03-09 02:11:34 +01:00
Sebastian Kaspari 691f3b3982 Get channel view from channel list and not from a (broken) cache 2010-03-09 01:57:22 +01:00
Sebastian Kaspari 6b8b1d25b9 Fixed identation for messages with icons 2010-03-09 00:33:35 +01:00
Sebastian Kaspari 7a46c98e6c Show entered message and post to channel 2010-03-09 00:30:17 +01:00
Sebastian Kaspari d43b76c51d Some refactoring 2010-03-09 00:00:53 +01:00
Sebastian Kaspari fa53df0f41 Removed even more dead code 2010-03-08 23:57:38 +01:00
Sebastian Kaspari 3a7ad82cce Removed dead code 2010-03-08 23:56:40 +01:00
Sebastian Kaspari e2848d505a calculate channel preview size on base of parent's size 2010-03-08 23:56:14 +01:00
Sebastian Kaspari f3b6587310 scroll to bottom if message view is created 2010-03-08 22:32:49 +01:00
Sebastian Kaspari 59b590a2ee Clear message buffer if view has been build from history 2010-03-08 21:59:38 +01:00
Sebastian Kaspari ecfa10f483 Hide divider and remove line break on channel messages 2010-03-08 21:54:20 +01:00
Sebastian Kaspari 63dfbc0034 Push channel events to switched view if needed 2010-03-08 21:44:42 +01:00
Sebastian Kaspari 7ce77cf119 Some documentation 2010-03-08 21:38:29 +01:00
Sebastian Kaspari add973918d Using a ListView with TextViews instead of a lot of SpannableStrings in one TextView for Messages; Fixed a not closed database cursor problem 2010-03-08 21:36:36 +01:00
Sebastian Kaspari a84a8ef51c imports 2010-03-08 19:55:32 +01:00
Sebastian Kaspari 72fdf44e5e ChannelContainer class is not used 2010-03-08 19:53:53 +01:00
Sebastian Kaspari 60b0df6c26 Added autoscrolling to channel switcher 2010-03-07 01:01:35 +01:00
Sebastian Kaspari 808f56d978 Strip mIRC colors and formatting from messages 2010-03-06 21:05:23 +01:00