aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Disable config service persistency testIngo Bauersachs2017-01-071-1/+1
| | | | | | | This test is based around the properties-file based ConfigService. It assumes knowledge about the inner workings and doesn't work when the database-based ConfigService is active, which is the default since 01bccdea45cdf07d5bbbc9c4e9f4073e88aee024
* Remove Yahoo protocolIngo Bauersachs2016-10-2416-4069/+2
| | | | Closes #76, #293
* Temporary disable sip message tests.damencho2016-06-101-1/+1
|
* Improved SIP Contact comparison. (#7)Tom Uijldert2016-05-121-1/+24
|
* Normalize line endingsIngo Bauersachs2016-02-282-537/+537
| | | | See also #227
* Move security events back from libjitsi as they are solely used here.Ingo Bauersachs2015-08-2310-10/+9
| | | | Corresponds to commit jitsi/libjitsi@263cc1e53e4d2ebd3f4762c42b2c27462b4d830c
* Updates the license headers.Damian Minkov2015-07-20134-270/+1808
|
* Removes msn protocol.damencho2015-07-1614-4306/+0
|
* Updates tests always-trust mode settings.Damian Minkov2015-05-041-0/+6
|
* Enables sip testing.Damian Minkov2015-02-111-1/+1
|
* Work-in-progress on MUC member presence.Danny van Heumen2015-01-121-33/+45
|
* Make the history "unit" tests a little more independent from each otherIngo Bauersachs2014-11-275-271/+497
|
* Fix a race condition in the HistoryServiceIngo Bauersachs2014-11-271-6/+1
| | | | The check for existing history files was performed outside of the lock, so multiple threads attempted to create them and failed. This lead to missing entries in the logs.
* Fixed some (outdated) unit tests for IRC command implementations.Danny van Heumen2014-11-255-7/+56
| | | | | I forgot to update the unit tests during the last changes to IRC command implementations.
* Improved error handling for commands.Danny van Heumen2014-11-201-0/+18
| | | | | | | | | | | | | | In case of bad command usage, throw an IllegalArgumentException. IllegalArgumentException will be caught and handled specially. Whenever IAE is thrown, it will be caught and command.help() will be called so that we can receive additional usage instructions. The error and the help information will be thrown inside a BadCommandInvocationException which will be handled by the appropriate OperationSet. In case of such an event, a system message will be fired with the usage instructions as to inform the user on how to use the command. Other exceptions will be logged as an error, as they are not expected and considered to be an implementation issue.
* Moved IRC command implementations to separate plugin package: irccommandsDanny van Heumen2014-11-205-5/+5
|
* Improved the Command - CommandFactory implementation.Danny van Heumen2014-11-206-117/+44
| | | | | | | | | | | | | | | * Moved from 'init' method to constructor. * Expected format for the constructor described in the Command interface comments. * Distinguish between exceptions that occur during construction of the command, log these and inform the user of an error; and exception occurring during the execution of the command. * Better error handling for commands. To do: * Add 'help' method to the Command interface. * Catch IllegalArgumentException and automatically display help() information to the user.
* Adds advanced msg history service, to allow plugins to insert messages into ↵Damian Minkov2014-11-181-0/+22
| | | | the history, and tests for the implementation.
* Use Jitsi /me display support instead of IRC formatting it itself.Danny van Heumen2014-11-122-18/+4
|
* Added Jitsi license headers to some new files.Danny van Heumen2014-11-094-0/+24
|
* Improved CommandFactory implementation.Danny van Heumen2014-11-091-0/+314
|
* Fine-tuned commands Mode, Join + added unit tests.Danny van Heumen2014-11-092-0/+192
|
* Fine-tuned /me command and added unit tests.Danny van Heumen2014-11-091-0/+86
|
* Fine-tuned implementation for Msg and Nick command and unit tests.Danny van Heumen2014-11-092-0/+242
|
* Explicitly acknowledge and handle case of unknown mode symbol.Danny van Heumen2014-11-021-3/+4
|
* Added support for ISUPPORT CHANLIMIT server parameter.Danny van Heumen2014-10-281-0/+98
|
* Implemented 'ban' operation + fine tuning and TODO markers.Danny van Heumen2014-10-281-29/+86
|
* Extracted channel manager for chat room-related operations.Danny van Heumen2014-10-281-43/+58
|
* Restructured and extract IrcConnection type for better separation ofDanny van Heumen2014-10-281-40/+63
| | | | | | | | | | | | | | | stack and connection. This restructuring extracts all the methods that are related to an established connection such that there is a better separation of concerns between IRC stack state and the state for an individual connection. This way it is even possible to set null connection even before the connection, its listeners, and its threads are completely disposed of. This also fixes the bug with auto-join behaviour that occurs because of multi-threading and bad (i.e. no) synchronization on the IRCApi instance.
* More precise keyword replacement: does not highlight 'fo' in "for".Danny van Heumen2014-10-211-0/+143
|
* Initial support for updated otr4j with support for outgoing message ↵Danny van Heumen2014-09-301-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | fragmentation. Modifications include the following: - Updated otr4j which includes support for fragmentation of outgoing messages. The modifications to otr4j to enable outgoing message fragmentation includes breaking the API such that we are able to return more than 1 message after it has been transformed. (Corresponding modifications have been made to AbstractOperationSetBasicInstantMessaging to facilitate the new API.) - Fixed IRC implementation for OperationSetInstantMessageTransform. - Modified AbstractOperationSetBasicInstantMessaging to handle multiple Events returning from a call to messageTransform. - Modified OperationSetBasicInstantMessaging implementations to correspond to changes in AbstractOSBIM. - OTR plugin has been modified to implement the newly added getFragmenterInstructions method which is used to query instructions on desired fragmentation behaviour. - As a temporary solution, a hard dependency has been added to IRC library such that I'm able to test fragmentation behaviour in a real use case until an OperationSet is defined that can be used to query for Instant Messaging transport parameters necessary to determine appropriate fragmentation instructions.
* Created separate class for IRC presence management.Danny van Heumen2014-09-291-6/+9
|
* More advanced Text pattern that will take quotes into account.Danny van Heumen2014-09-161-0/+111
| | | | | | | | | A more advanced pattern that tries to take quotes into account. In case this pattern does not work, this commit can be reverted and instead a simpler pattern is used that relies on html tags being opened and closed with < and > brackets. It assumes that < and > are always part of HTML tags so any textual (content) occurrence should be replaced with html entities (escaping).
* Fix contract violation of GroupNode's node comparator.Danny van Heumen2014-08-221-0/+89
|\
| * Simplified implementation for 2 unknowns. Added regression tests.Danny van Heumen2014-08-211-0/+89
| |
* | Better checking of IRC chat room name.Danny van Heumen2014-08-151-0/+36
| |
* | Add test with rare prefix to ensure that it stays useable.Danny van Heumen2014-08-141-1/+16
| |
* | Auto-prefix channel name with # if no valid prefix found.Danny van Heumen2014-08-141-10/+4
|/
* Added test for remaining methods of IrcAccountID.Danny van Heumen2014-08-121-0/+62
|
* Added tests for IrcAccountID and fine tuned equals implementation.Danny van Heumen2014-08-121-0/+126
|
* Added additional tests.Danny van Heumen2014-08-112-0/+355
|
* Redundant method.Danny van Heumen2014-08-111-5/+0
|
* Fixed remaining failing cases to work with JUnit 3.Danny van Heumen2014-08-111-6/+48
|
* Store parent provider by actual type.Danny van Heumen2014-08-051-46/+49
|
* Simplified hashCode() and additional tests.Danny van Heumen2014-08-021-0/+44
|
* Added some tests, but they still fail since we don't have JUnit4 active yet.Danny van Heumen2014-08-021-0/+77
|
* Implemented tests for MessageIrcImpl.Danny van Heumen2014-08-021-0/+49
|
* Specialized hashCode(), includes test.Danny van Heumen2014-08-021-0/+11
|
* Escape html entities while parsing the IRC message.Danny van Heumen2014-08-011-16/+13
| | | | | | Now escapes html entities during the parsing of the message received from IRC and added a unit test for this requirement. Renamed format* methods to styleAs*, since this is more appropriate.
* Loads of fixes, TODOs and comments.Danny van Heumen2014-08-011-20/+27
|