1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-15 21:45:02 -05:00
Commit Graph

495 Commits

Author SHA1 Message Date
Sebastian Kaspari
daed3c3499 HelpHandler: usage, short syntax 2010-04-18 22:58:13 +02:00
Sebastian Kaspari
826f06fb01 AddServerActivity: Fixed username regex - allow "-" in nicknames 2010-04-18 22:45:53 +02:00
kell
f67594d85d can now print the usage of a command 2010-04-18 14:06:47 +02:00
Sebastian Kaspari
4cd613debf IRCService: stop foreground if service is stopping 2010-04-17 23:35:53 +02:00
Sebastian Kaspari
215a7bb062 ServersActivity: call checkServiceStatus() in onPause() 2010-04-17 23:35:20 +02:00
Sebastian Kaspari
7e8fc26791 IRCConnection: Rejoin channels on reconnect 2010-04-17 23:16:17 +02:00
Sebastian Kaspari
acc22fe296 Clear conversations on reconnect 2010-04-17 23:15:17 +02:00
Sebastian Kaspari
8766f785a0 ConversationActivity: Only show reconnect popup if automatic reconnect is disabled 2010-04-17 23:08:47 +02:00
Sebastian Kaspari
5dd6982314 IRCConnection: Reconnect to server if reconnect is enabled 2010-04-17 23:07:01 +02:00
Sebastian Kaspari
b05154137f Moved IRCBinder.connect() to IRCService.connect() 2010-04-17 23:06:22 +02:00
Sebastian Kaspari
e15c5d6c19 Settings: isReconnectEnabled() 2010-04-17 22:56:51 +02:00
Sebastian Kaspari
0e56390452 IRCService: Create Settings object in onCreate() 2010-04-17 22:53:40 +02:00
Sebastian Kaspari
43a6682803 IRCConnection: onJoin() - ignore case of nickname 2010-04-17 22:50:30 +02:00
Sebastian Kaspari
17c11c2c9a Added services to server command whitelist 2010-04-17 16:39:31 +02:00
Sebastian Kaspari
e09b601d0c Disable settings in service 2010-04-16 00:02:33 +02:00
Sebastian Kaspari
be554f726a Make Settings accessible via service 2010-04-15 23:53:07 +02:00
Sebastian Kaspari
85dc0847e3 ServersActivity: Hide background icon if there are servers in the list 2010-04-15 23:50:35 +02:00
Sebastian Kaspari
75feb90a95 ConversationActivity: clear conversations if server is in PRE_CONNECTING state 2010-04-15 21:00:39 +02:00
Sebastian Kaspari
648ffc8eda Scrollback: Go only back if there's at least one message 2010-04-14 20:46:13 +02:00
Sebastian Kaspari
fdbd8a06ca Fixed wrong broadcast on using /query 2010-04-14 20:28:13 +02:00
Sebastian Kaspari
77c3a2423f MessageListAdapter: Fixed wrong message order on addBulkMessages - and clearBuffer() after adding (ConversationActivity) 2010-04-14 20:17:36 +02:00
Sebastian Kaspari
512ddacaf5 Merge branch 'ssl_support' 2010-04-14 19:58:41 +02:00
Sebastian Kaspari
aa77fb8587 ConversationActivity: Join channel in onResume() and not in onActivityResult() - Fixes issue 6 2010-04-14 19:56:46 +02:00
Sebastian Kaspari
c3fe7963a2 IRCService: some refactoring, some documentation 2010-04-14 19:13:32 +02:00
Sebastian Kaspari
3871d38f14 org.yaaic.ssl.NaiveTrustManager - TrustManager for SSL Connections (Accepts every certificate) 2010-04-14 00:48:40 +02:00
Sebastian Kaspari
6d9c3c53f1 Database: Cast "0"/"1" to boolean 2010-04-14 00:34:11 +02:00
Sebastian Kaspari
569d06e457 AddServerActivity: Save useSSL() state in database 2010-04-14 00:26:06 +02:00
Sebastian Kaspari
ae08daf81a IRCBinder: use setUseSSL() on connection 2010-04-14 00:13:40 +02:00
Sebastian Kaspari
7d550ba183 Smaller background icon - non transcluent 2010-04-13 22:56:22 +02:00
Sebastian Kaspari
d36ec2673e Discovered recursion \o/ 2010-04-13 22:52:41 +02:00
Sebastian Kaspari
bac22d9abc IRCService: stopForegroundCompat(): Set foreground false 2010-04-13 22:04:46 +02:00
Sebastian Kaspari
cb14889941 ConversationActivity: Rejoin channels on reconnect 2010-04-13 22:03:22 +02:00
Sebastian Kaspari
a05d8ee08b IRCConnection: autoJoinChannels is now an ArrayList<String> 2010-04-13 22:03:01 +02:00
Sebastian Kaspari
03fb5b882c Server: getCurrentChannelNames() no returns ArrayList<String> 2010-04-13 22:02:31 +02:00
Sebastian Kaspari
f37407e2d2 DeckAdapter: clearConversations() 2010-04-13 21:56:10 +02:00
Sebastian Kaspari
1f7d496f77 Clear conversations on reconnect 2010-04-13 21:55:47 +02:00
Sebastian Kaspari
f3a3afcd13 Server: getCurrentChannelNames() 2010-04-13 21:55:25 +02:00
Sebastian Kaspari
4062f0b16e IRCService: onDestroy(): Only stopForeground if service is in foreground.. 2010-04-13 21:28:13 +02:00
Sebastian Kaspari
e330a57367 Ooops, compare strings with equals() and not == 2010-04-13 20:56:11 +02:00
Sebastian Kaspari
64b121e448 ServersActivity: Only connect to server if status is DISCONNECTED 2010-04-13 20:31:16 +02:00
Sebastian Kaspari
28705f5f7e AddServerActivity: Read and write useSSL 2010-04-13 19:25:09 +02:00
Sebastian Kaspari
d8386ba3cd Database: populateServer() sets SSL usage 2010-04-13 19:21:15 +02:00
Sebastian Kaspari
15863cabd1 Server: setUseSSL(), useSSL() 2010-04-13 19:19:08 +02:00
Sebastian Kaspari
1eaff46350 ServersActivity: Translucent background 2010-04-12 22:41:13 +02:00
Sebastian Kaspari
3546a58b3f Implemented command handler: /whois <nickname> 2010-04-12 22:25:26 +02:00
Sebastian Kaspari
1dea85c545 Implemented command handler: /away [<reason>] 2010-04-12 22:20:26 +02:00
Sebastian Kaspari
accc655bd7 Show popup on disconnect "Reconnect?" 2010-04-12 22:10:23 +02:00
Sebastian Kaspari
598728a2cf Unused code 2010-04-12 21:56:30 +02:00
Sebastian Kaspari
e76fc676a9 Revert "ConversationActivity: onConversationMessage(): Use addBulkMessages()" (Buggy)
This reverts commit 4e683a9717.
2010-04-12 21:47:48 +02:00
Sebastian Kaspari
ace19fe095 IRCConnection: Implemented setAutojoinChannels() 2010-04-12 21:38:35 +02:00
Sebastian Kaspari
4e683a9717 ConversationActivity: onConversationMessage(): Use addBulkMessages() 2010-04-12 21:35:10 +02:00
Sebastian Kaspari
9ddd45ed92 ConversationActivity: Use scrollback class 2010-04-12 20:41:31 +02:00
Sebastian Kaspari
420d7df0b1 Scrollback class for scrollback history 2010-04-12 20:40:56 +02:00
Sebastian Kaspari
1271326483 ConversationActivity: register the receivers as early as possible, otherwise we may loose a broadcast message 2010-04-12 20:01:42 +02:00
Sebastian Kaspari
a79794ba1d Disable menu items that cannot be used while disconnected 2010-04-12 00:55:34 +02:00
Sebastian Kaspari
e6411b4747 Update Notification onDisconnect 2010-04-12 00:04:06 +02:00
Sebastian Kaspari
a8316bc55a IRCConnection: Update notification onConnect 2010-04-11 23:57:23 +02:00
Sebastian Kaspari
0743024ad9 IRCService: Empty message as default notification 2010-04-11 23:55:00 +02:00
Sebastian Kaspari
aa383411c5 Update notification onMessage, onAction, onPrivateMessage 2010-04-11 23:53:23 +02:00
Sebastian Kaspari
289cf2f10c IRCService: updateNotification for updating the service's notification 2010-04-11 23:49:43 +02:00
Sebastian Kaspari
f0aabcde8b Merged patch of tkn 2010-04-11 22:11:47 +02:00
Sebastian Kaspari
c866d7ef3e Merge branch 'master' of git://github.com/tkn/Yaaic 2010-04-11 22:10:06 +02:00
Sebastian Kaspari
4c01a9e975 Database: removed getChannels() - Use getChannelsByServer() 2010-04-11 22:09:37 +02:00
Sebastian Kaspari
f5294f2d86 ConversationActivity: Part channel on close (via menu) 2010-04-11 21:54:44 +02:00
Sebastian Kaspari
c20de9fbd2 Database: Removed getChannels(), Moved getChannelsById() -> getChannelsByServerId() 2010-04-11 21:50:47 +02:00
Torben Nielsen
661cae9f53 Fixed staying in channel when conversation is closed. 2010-04-11 21:04:34 +02:00
Sebastian Kaspari
64dde2de90 ConversationActivity: No title bar 2010-04-06 22:48:00 +02:00
Sebastian Kaspari
ef79b7fa3e Imports 2010-04-06 22:46:43 +02:00
Sebastian Kaspari
340049f44c Implemented simple UsersActivity to show list of users currently in a channel 2010-04-06 22:45:32 +02:00
Sebastian Kaspari
6e735f17b8 Help Handler: Added licence header 2010-04-06 22:12:10 +02:00
Sebastian Kaspari
e33cfd18d5 Some cleanup in org.yaaic.command.handler.* 2010-04-06 22:09:07 +02:00
Sebastian Kaspari
d53dacfc32 Removed private description and moved to getDescription() 2010-04-06 20:53:17 +02:00
Sebastian Kaspari
370a25c447 Merge branch 'master' into integration 2010-04-06 20:44:38 +02:00
Sebastian Kaspari
cae886fd99 CommandParser: isClientCommand() short syntax 2010-04-06 20:44:22 +02:00
Sebastian Kaspari
d40e081c3d Interate directly over keySet 2010-04-06 20:38:54 +02:00
Sebastian Kaspari
a6c6ada378 Some code cleanup 2010-04-06 20:38:31 +02:00
Sebastian Kaspari
28d20d8499 BaseHandler: Removed unused private field 2010-04-06 20:34:27 +02:00
Sebastian Kaspari
d5c1daaa3e Merge branch 'master' of git://github.com/kell/Yaaic into integration 2010-04-06 20:33:40 +02:00
Sebastian Kaspari
94920feff2 Added empty UserActivity 2010-04-06 20:32:10 +02:00
Sebastian Kaspari
c7d891e917 ConversationActivity: onPause(): Prevent null pointer exception 2010-04-06 20:31:44 +02:00
kell
6df2fe5333 alias handling added 2010-04-06 20:26:42 +02:00
kell
d1deb56bb6 show aliases too 2010-04-06 20:23:54 +02:00
Sebastian Kaspari
4072ee6c5f ConversationActivity: Added "Users" to menu 2010-04-06 20:00:57 +02:00
Sebastian Kaspari
1a6027d380 Dummy code for history scrollback 2010-04-06 01:00:23 +02:00
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
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