From 1fad5ab1a19b5da3380404669b75d5f462b5ba34 Mon Sep 17 00:00:00 2001 From: Tim Zabel Date: Sat, 7 Sep 2019 18:44:32 -0400 Subject: [PATCH] Add MIT License header to source code.) --- lib/Helpers.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcActionHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcErrorHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcJoinHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcKickHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcMessageHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcNickServHandler.js | 26 +++++++++++++++++++++ lib/IrcHandlers/IrcPartHandler.js | 26 +++++++++++++++++++++ lib/MessageRateLimiter.js | 26 +++++++++++++++++++++ lib/TeleIrc.js | 26 +++++++++++++++++++++ lib/TeleIrcErrorCodes.js | 26 +++++++++++++++++++++ lib/TeleIrcException.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgDocumentHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgErrorHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgEventListener.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgHelpers.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgImgurPhotoHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgJoinHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgMessageHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgPartHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgPhotoHandler.js | 26 +++++++++++++++++++++ lib/TelegramHandlers/TgStickerHandler.js | 26 +++++++++++++++++++++ tests/IrcActionHandlerTests.js | 26 +++++++++++++++++++++ tests/IrcConfigValidationTests.js | 26 +++++++++++++++++++++ tests/IrcConnectionTests.js | 26 +++++++++++++++++++++ tests/IrcErrorHandlerTests.js | 26 +++++++++++++++++++++ tests/IrcJoinHandlerTests.js | 26 +++++++++++++++++++++ tests/IrcKickHandlerTests.js | 26 +++++++++++++++++++++ tests/IrcMessageHandlerTests.js | 26 +++++++++++++++++++++ tests/IrcPartHandlerTests.js | 26 +++++++++++++++++++++ tests/TelegramToIrcTests.js | 26 +++++++++++++++++++++ tests/TgDocumentHandlerTests.js | 26 +++++++++++++++++++++ tests/TgJoinHandlerTests.js | 26 +++++++++++++++++++++ tests/TgMessageHandlerTests.js | 26 +++++++++++++++++++++ tests/TgPartHandlerTests.js | 26 +++++++++++++++++++++ tests/TgPhotoHandlerTests.js | 26 +++++++++++++++++++++ tests/TgStickerHandlerTests.js | 26 +++++++++++++++++++++ 37 files changed, 962 insertions(+) diff --git a/lib/Helpers.js b/lib/Helpers.js index b071ff8b..49eae906 100644 --- a/lib/Helpers.js +++ b/lib/Helpers.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Checks to see if an element exists in an array * that matches the given condition. diff --git a/lib/IrcHandlers/IrcActionHandler.js b/lib/IrcHandlers/IrcActionHandler.js index 803643a6..a0e64eae 100644 --- a/lib/IrcHandlers/IrcActionHandler.js +++ b/lib/IrcHandlers/IrcActionHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const Helpers = require("../Helpers.js"); /** diff --git a/lib/IrcHandlers/IrcErrorHandler.js b/lib/IrcHandlers/IrcErrorHandler.js index 9e03091d..360b629a 100644 --- a/lib/IrcHandlers/IrcErrorHandler.js +++ b/lib/IrcHandlers/IrcErrorHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Handles an error event. */ diff --git a/lib/IrcHandlers/IrcJoinHandler.js b/lib/IrcHandlers/IrcJoinHandler.js index 82962c7e..893c31f1 100644 --- a/lib/IrcHandlers/IrcJoinHandler.js +++ b/lib/IrcHandlers/IrcJoinHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Handles the event when a user joins the IRC channel. */ diff --git a/lib/IrcHandlers/IrcKickHandler.js b/lib/IrcHandlers/IrcKickHandler.js index e960cbbf..44e3269b 100644 --- a/lib/IrcHandlers/IrcKickHandler.js +++ b/lib/IrcHandlers/IrcKickHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Handles the event when a user is kicked from the IRC channel. */ diff --git a/lib/IrcHandlers/IrcMessageHandler.js b/lib/IrcHandlers/IrcMessageHandler.js index 6ba80b2a..6ed14d18 100644 --- a/lib/IrcHandlers/IrcMessageHandler.js +++ b/lib/IrcHandlers/IrcMessageHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const Helpers = require("../Helpers.js"); const escape = require('escape-html'); diff --git a/lib/IrcHandlers/IrcNickServHandler.js b/lib/IrcHandlers/IrcNickServHandler.js index 59a281e5..b98ad758 100644 --- a/lib/IrcHandlers/IrcNickServHandler.js +++ b/lib/IrcHandlers/IrcNickServHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Handles the event when a user is kicked from the IRC channel. */ diff --git a/lib/IrcHandlers/IrcPartHandler.js b/lib/IrcHandlers/IrcPartHandler.js index e547c1b5..043d0dd4 100644 --- a/lib/IrcHandlers/IrcPartHandler.js +++ b/lib/IrcHandlers/IrcPartHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Handles the event when a user parts (leaves) the IRC channel. */ diff --git a/lib/MessageRateLimiter.js b/lib/MessageRateLimiter.js index 1b9e375b..32b31230 100644 --- a/lib/MessageRateLimiter.js +++ b/lib/MessageRateLimiter.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; class MessageBundle { diff --git a/lib/TeleIrc.js b/lib/TeleIrc.js index 86806b62..16d76206 100644 --- a/lib/TeleIrc.js +++ b/lib/TeleIrc.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const IrcActionHandler = require('./IrcHandlers/IrcActionHandler'); const IrcErrorHandler = require('./IrcHandlers/IrcErrorHandler'); const IrcJoinHandler = require('./IrcHandlers/IrcJoinHandler'); diff --git a/lib/TeleIrcErrorCodes.js b/lib/TeleIrcErrorCodes.js index 18ff0e2e..1bce1958 100644 --- a/lib/TeleIrcErrorCodes.js +++ b/lib/TeleIrcErrorCodes.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Wrapper Class for constants that are error codes. * diff --git a/lib/TeleIrcException.js b/lib/TeleIrcException.js index 1342639d..808b4f3b 100644 --- a/lib/TeleIrcException.js +++ b/lib/TeleIrcException.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Exception that gets thrown when there's an error. */ diff --git a/lib/TelegramHandlers/TgDocumentHandler.js b/lib/TelegramHandlers/TgDocumentHandler.js index 407b72be..89448bdb 100644 --- a/lib/TelegramHandlers/TgDocumentHandler.js +++ b/lib/TelegramHandlers/TgDocumentHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); const Helpers = require('../Helpers.js'); diff --git a/lib/TelegramHandlers/TgErrorHandler.js b/lib/TelegramHandlers/TgErrorHandler.js index a9f5edd5..9dbd0319 100644 --- a/lib/TelegramHandlers/TgErrorHandler.js +++ b/lib/TelegramHandlers/TgErrorHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Class that handles errors that can occur when using Telegram. */ diff --git a/lib/TelegramHandlers/TgEventListener.js b/lib/TelegramHandlers/TgEventListener.js index 03e9929f..5ff50587 100644 --- a/lib/TelegramHandlers/TgEventListener.js +++ b/lib/TelegramHandlers/TgEventListener.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const EventEmitter = require('events'); /** diff --git a/lib/TelegramHandlers/TgHelpers.js b/lib/TelegramHandlers/TgHelpers.js index 75cbda28..4c0ac684 100644 --- a/lib/TelegramHandlers/TgHelpers.js +++ b/lib/TelegramHandlers/TgHelpers.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + /** * Does basic cleanup if the user does not have a username on telegram. * Replaces with a firstname instead. diff --git a/lib/TelegramHandlers/TgImgurPhotoHandler.js b/lib/TelegramHandlers/TgImgurPhotoHandler.js index 406955c3..cff45b82 100644 --- a/lib/TelegramHandlers/TgImgurPhotoHandler.js +++ b/lib/TelegramHandlers/TgImgurPhotoHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgPhotoHandler = require("./TgPhotoHandler"); /** diff --git a/lib/TelegramHandlers/TgJoinHandler.js b/lib/TelegramHandlers/TgJoinHandler.js index 47604cf5..8f7c893e 100644 --- a/lib/TelegramHandlers/TgJoinHandler.js +++ b/lib/TelegramHandlers/TgJoinHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); /** diff --git a/lib/TelegramHandlers/TgMessageHandler.js b/lib/TelegramHandlers/TgMessageHandler.js index e9b1a59d..395a4a6c 100644 --- a/lib/TelegramHandlers/TgMessageHandler.js +++ b/lib/TelegramHandlers/TgMessageHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); /** diff --git a/lib/TelegramHandlers/TgPartHandler.js b/lib/TelegramHandlers/TgPartHandler.js index 77cb2e4f..fa75c7ea 100644 --- a/lib/TelegramHandlers/TgPartHandler.js +++ b/lib/TelegramHandlers/TgPartHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); /** diff --git a/lib/TelegramHandlers/TgPhotoHandler.js b/lib/TelegramHandlers/TgPhotoHandler.js index 88196f5e..0cece403 100644 --- a/lib/TelegramHandlers/TgPhotoHandler.js +++ b/lib/TelegramHandlers/TgPhotoHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); const Helpers = require('../Helpers.js'); diff --git a/lib/TelegramHandlers/TgStickerHandler.js b/lib/TelegramHandlers/TgStickerHandler.js index d29b3403..4624279d 100644 --- a/lib/TelegramHandlers/TgStickerHandler.js +++ b/lib/TelegramHandlers/TgStickerHandler.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + const TgHelpers = require('./TgHelpers.js'); const Helpers = require('../Helpers.js'); diff --git a/tests/IrcActionHandlerTests.js b/tests/IrcActionHandlerTests.js index 4c254461..dea2f34d 100644 --- a/tests/IrcActionHandlerTests.js +++ b/tests/IrcActionHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcActionHandler = require("../lib/IrcHandlers/IrcActionHandler"); diff --git a/tests/IrcConfigValidationTests.js b/tests/IrcConfigValidationTests.js index b0272389..b2388db1 100644 --- a/tests/IrcConfigValidationTests.js +++ b/tests/IrcConfigValidationTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const dotenv = require('dotenv').config(); diff --git a/tests/IrcConnectionTests.js b/tests/IrcConnectionTests.js index 6c80d794..2625e132 100644 --- a/tests/IrcConnectionTests.js +++ b/tests/IrcConnectionTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const nodeAssert = require('assert'); diff --git a/tests/IrcErrorHandlerTests.js b/tests/IrcErrorHandlerTests.js index 75de6b2c..e9adce34 100644 --- a/tests/IrcErrorHandlerTests.js +++ b/tests/IrcErrorHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcErrorHandler = require("../lib/IrcHandlers/IrcErrorHandler"); diff --git a/tests/IrcJoinHandlerTests.js b/tests/IrcJoinHandlerTests.js index 000ef961..9050cb22 100644 --- a/tests/IrcJoinHandlerTests.js +++ b/tests/IrcJoinHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcJoinHandler = require("../lib/IrcHandlers/IrcJoinHandler"); diff --git a/tests/IrcKickHandlerTests.js b/tests/IrcKickHandlerTests.js index eb88e46f..6108a139 100644 --- a/tests/IrcKickHandlerTests.js +++ b/tests/IrcKickHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcKickHandler = require("../lib/IrcHandlers/IrcKickHandler"); diff --git a/tests/IrcMessageHandlerTests.js b/tests/IrcMessageHandlerTests.js index fcab4af1..5f51f5cc 100644 --- a/tests/IrcMessageHandlerTests.js +++ b/tests/IrcMessageHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcMessageHandler = require("../lib/IrcHandlers/IrcMessageHandler"); diff --git a/tests/IrcPartHandlerTests.js b/tests/IrcPartHandlerTests.js index 70dde53b..413be437 100644 --- a/tests/IrcPartHandlerTests.js +++ b/tests/IrcPartHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const IrcPartHandler = require("../lib/IrcHandlers/IrcPartHandler"); diff --git a/tests/TelegramToIrcTests.js b/tests/TelegramToIrcTests.js index 46f1e25a..aed1c0ca 100644 --- a/tests/TelegramToIrcTests.js +++ b/tests/TelegramToIrcTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TeleIrc = require("../lib/TeleIrc"); diff --git a/tests/TgDocumentHandlerTests.js b/tests/TgDocumentHandlerTests.js index 2a64496d..68c53658 100644 --- a/tests/TgDocumentHandlerTests.js +++ b/tests/TgDocumentHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgDocumentHandler = require("../lib/TelegramHandlers/TgDocumentHandler"); diff --git a/tests/TgJoinHandlerTests.js b/tests/TgJoinHandlerTests.js index d5933964..2d8218ed 100644 --- a/tests/TgJoinHandlerTests.js +++ b/tests/TgJoinHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgJoinHandler = require("../lib/TelegramHandlers/TgJoinHandler"); diff --git a/tests/TgMessageHandlerTests.js b/tests/TgMessageHandlerTests.js index 08332c39..ff4aaa28 100644 --- a/tests/TgMessageHandlerTests.js +++ b/tests/TgMessageHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgMessageHandler = require("../lib/TelegramHandlers/TgMessageHandler"); diff --git a/tests/TgPartHandlerTests.js b/tests/TgPartHandlerTests.js index acde5d16..27c8ce1a 100644 --- a/tests/TgPartHandlerTests.js +++ b/tests/TgPartHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgPartHandler = require("../lib/TelegramHandlers/TgPartHandler"); diff --git a/tests/TgPhotoHandlerTests.js b/tests/TgPhotoHandlerTests.js index d3658a50..ec2e213c 100644 --- a/tests/TgPhotoHandlerTests.js +++ b/tests/TgPhotoHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgPhotoHandler = require('../lib/TelegramHandlers/TgPhotoHandler.js'); diff --git a/tests/TgStickerHandlerTests.js b/tests/TgStickerHandlerTests.js index d3479e56..802098e5 100644 --- a/tests/TgStickerHandlerTests.js +++ b/tests/TgStickerHandlerTests.js @@ -1,3 +1,29 @@ +/* +The MIT License (MIT) + +Copyright (c) 2016 RIT Linux Users Group + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +*/ + + + 'use strict'; const TgStickerHandler = require("../lib/TelegramHandlers/TgStickerHandler");