From 82ef687730f0b4e8cbcd6564d43ea037b6423f92 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Wed, 25 Feb 2015 15:47:14 +0100 Subject: [PATCH] Removing some plugins that were moved to plugins-unmaintained See https://gitorious.org/social/plugins-unmaintained/ --- plugins/APC/APCPlugin.php | 116 - plugins/APC/locale/APC.pot | 24 - plugins/APC/locale/ast/LC_MESSAGES/APC.po | 30 - .../APC/locale/be-tarask/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/br/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/de/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/es/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/eu/LC_MESSAGES/APC.po | 27 - plugins/APC/locale/fr/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/gl/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/he/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/ia/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/id/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/it/LC_MESSAGES/APC.po | 27 - plugins/APC/locale/mk/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/ms/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/nb/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/nl/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/pl/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/pt/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/ru/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/tl/LC_MESSAGES/APC.po | 30 - plugins/APC/locale/uk/LC_MESSAGES/APC.po | 31 - plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po | 31 - plugins/Adsense/AdsensePlugin.php | 199 - plugins/Adsense/actions/adsenseadminpanel.php | 227 - plugins/Adsense/locale/Adsense.pot | 115 - .../locale/be-tarask/LC_MESSAGES/Adsense.po | 112 - .../Adsense/locale/br/LC_MESSAGES/Adsense.po | 110 - .../Adsense/locale/ca/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/de/LC_MESSAGES/Adsense.po | 106 - .../Adsense/locale/es/LC_MESSAGES/Adsense.po | 103 - .../Adsense/locale/eu/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/fr/LC_MESSAGES/Adsense.po | 105 - .../Adsense/locale/gl/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/he/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/ia/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/it/LC_MESSAGES/Adsense.po | 104 - .../Adsense/locale/ja/LC_MESSAGES/Adsense.po | 99 - .../Adsense/locale/ka/LC_MESSAGES/Adsense.po | 106 - .../Adsense/locale/lb/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/lt/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/mk/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/ms/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/nb/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/nl/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/pl/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/pt/LC_MESSAGES/Adsense.po | 108 - .../locale/pt_BR/LC_MESSAGES/Adsense.po | 112 - .../Adsense/locale/ru/LC_MESSAGES/Adsense.po | 108 - .../Adsense/locale/sv/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/tl/LC_MESSAGES/Adsense.po | 102 - .../Adsense/locale/tr/LC_MESSAGES/Adsense.po | 101 - .../Adsense/locale/uk/LC_MESSAGES/Adsense.po | 102 - .../locale/zh_CN/LC_MESSAGES/Adsense.po | 112 - plugins/Aim/AimPlugin.php | 165 - plugins/Aim/README | 27 - plugins/Aim/classes/Fake_Aim.php | 42 - plugins/Aim/extlib/phptoclib/README.txt | 169 - plugins/Aim/extlib/phptoclib/aimclassw.php | 2370 --- plugins/Aim/extlib/phptoclib/dconnection.php | 229 - plugins/Aim/lib/aimmanager.php | 100 - plugins/Aim/locale/Aim.pot | 43 - plugins/Aim/locale/af/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/ca/LC_MESSAGES/Aim.po | 47 - plugins/Aim/locale/de/LC_MESSAGES/Aim.po | 46 - plugins/Aim/locale/es/LC_MESSAGES/Aim.po | 47 - plugins/Aim/locale/eu/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/fi/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/fr/LC_MESSAGES/Aim.po | 46 - plugins/Aim/locale/gl/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/ia/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/it/LC_MESSAGES/Aim.po | 43 - plugins/Aim/locale/mk/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/ms/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/nl/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/pl/LC_MESSAGES/Aim.po | 43 - plugins/Aim/locale/pt/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/sv/LC_MESSAGES/Aim.po | 46 - plugins/Aim/locale/tl/LC_MESSAGES/Aim.po | 45 - plugins/Aim/locale/uk/LC_MESSAGES/Aim.po | 45 - plugins/Enjit/README | 5 - plugins/Enjit/enjitqueuehandler.php | 83 - plugins/Irc/IrcPlugin.php | 385 - plugins/Irc/README | 45 - plugins/Irc/classes/Irc_waiting_message.php | 101 - plugins/Irc/extlib/.gitignore | 2 - plugins/Irc/extlib/phergie/.gitignore | 2 - plugins/Irc/extlib/phergie/LICENSE | 27 - .../Irc/extlib/phergie/Phergie/Autoload.php | 81 - plugins/Irc/extlib/phergie/Phergie/Bot.php | 390 - plugins/Irc/extlib/phergie/Phergie/Config.php | 186 - .../phergie/Phergie/Config/Exception.php | 44 - .../Irc/extlib/phergie/Phergie/Connection.php | 401 - .../phergie/Phergie/Connection/Exception.php | 50 - .../phergie/Phergie/Connection/Handler.php | 130 - .../phergie/Phergie/Driver/Abstract.php | 301 - .../phergie/Phergie/Driver/Exception.php | 59 - .../phergie/Phergie/Driver/Statusnet.php | 66 - .../extlib/phergie/Phergie/Driver/Streams.php | 729 - .../extlib/phergie/Phergie/Event/Abstract.php | 62 - .../extlib/phergie/Phergie/Event/Command.php | 62 - .../phergie/Phergie/Event/Exception.php | 38 - .../extlib/phergie/Phergie/Event/Handler.php | 190 - .../extlib/phergie/Phergie/Event/Request.php | 468 - .../extlib/phergie/Phergie/Event/Response.php | 953 - .../Irc/extlib/phergie/Phergie/Exception.php | 33 - .../Irc/extlib/phergie/Phergie/Hostmask.php | 217 - .../phergie/Phergie/Hostmask/Exception.php | 37 - .../phergie/Phergie/Plugin/Abstract.php | 605 - .../Irc/extlib/phergie/Phergie/Plugin/Acl.php | 186 - .../extlib/phergie/Phergie/Plugin/AltNick.php | 95 - .../phergie/Phergie/Plugin/AudioScrobbler.php | 191 - .../phergie/Phergie/Plugin/AutoJoin.php | 69 - .../extlib/phergie/Phergie/Plugin/Beer.php | 82 - .../extlib/phergie/Phergie/Plugin/Beer/db.php | 81 - .../phergie/Phergie/Plugin/BeerScore.php | 156 - .../extlib/phergie/Phergie/Plugin/Cache.php | 106 - .../phergie/Phergie/Plugin/Caffeine.php | 69 - .../phergie/Phergie/Plugin/Caffeine/db.php | 51 - .../extlib/phergie/Phergie/Plugin/Censor.php | 120 - .../phergie/Phergie/Plugin/Cocktail.php | 71 - .../phergie/Phergie/Plugin/Cocktail/db.php | 74 - .../extlib/phergie/Phergie/Plugin/Command.php | 146 - .../extlib/phergie/Phergie/Plugin/Cookie.php | 69 - .../phergie/Phergie/Plugin/Cookie/db.php | 55 - .../extlib/phergie/Phergie/Plugin/Cron.php | 147 - .../extlib/phergie/Phergie/Plugin/Ctcp.php | 91 - .../extlib/phergie/Phergie/Plugin/Daddy.php | 56 - .../phergie/Phergie/Plugin/Encoding.php | 182 - .../phergie/Phergie/Plugin/Exception.php | 120 - .../extlib/phergie/Phergie/Plugin/Google.php | 459 - .../extlib/phergie/Phergie/Plugin/Handler.php | 501 - .../extlib/phergie/Phergie/Plugin/Help.php | 276 - .../extlib/phergie/Phergie/Plugin/Http.php | 284 - .../phergie/Phergie/Plugin/Http/Response.php | 281 - .../extlib/phergie/Phergie/Plugin/Ideone.php | 180 - .../phergie/Phergie/Plugin/Invisible.php | 44 - .../phergie/Phergie/Plugin/Iterator.php | 142 - .../extlib/phergie/Phergie/Plugin/Join.php | 56 - .../extlib/phergie/Phergie/Plugin/Karma.php | 451 - .../extlib/phergie/Phergie/Plugin/Lart.php | 303 - .../extlib/phergie/Phergie/Plugin/Message.php | 112 - .../phergie/Phergie/Plugin/NickServ.php | 178 - .../extlib/phergie/Phergie/Plugin/Part.php | 55 - .../Irc/extlib/phergie/Phergie/Plugin/Php.php | 78 - .../phergie/Phergie/Plugin/Php/Source.php | 46 - .../Phergie/Plugin/Php/Source/Local.php | 208 - .../extlib/phergie/Phergie/Plugin/Ping.php | 162 - .../extlib/phergie/Phergie/Plugin/Pong.php | 44 - .../phergie/Phergie/Plugin/Prioritize.php | 99 - .../extlib/phergie/Phergie/Plugin/Puppet.php | 89 - .../extlib/phergie/Phergie/Plugin/Quit.php | 54 - .../extlib/phergie/Phergie/Plugin/Reload.php | 122 - .../extlib/phergie/Phergie/Plugin/Remind.php | 378 - .../extlib/phergie/Phergie/Plugin/Serve.php | 160 - .../phergie/Phergie/Plugin/SpellCheck.php | 118 - .../phergie/Phergie/Plugin/Statusnet.php | 143 - .../Irc/extlib/phergie/Phergie/Plugin/Tea.php | 69 - .../extlib/phergie/Phergie/Plugin/Tea/db.php | 49 - .../phergie/Phergie/Plugin/Temperature.php | 81 - .../phergie/Phergie/Plugin/TerryChay.php | 94 - .../Phergie/Plugin/TheFuckingWeather.php | 144 - .../extlib/phergie/Phergie/Plugin/Time.php | 72 - .../Irc/extlib/phergie/Phergie/Plugin/Tld.php | 148 - .../extlib/phergie/Phergie/Plugin/Tld/db.php | 68 - .../extlib/phergie/Phergie/Plugin/Twitter.php | 206 - .../Phergie/Plugin/Twitter/laconica.class.php | 41 - .../Phergie/Plugin/Twitter/twitter.class.php | 287 - .../Irc/extlib/phergie/Phergie/Plugin/Url.php | 638 - .../Phergie/Plugin/Url/Shorten/Abstract.php | 105 - .../Phergie/Plugin/Url/Shorten/Trim.php | 64 - .../phergie/Phergie/Plugin/UserInfo.php | 413 - .../extlib/phergie/Phergie/Plugin/Weather.php | 149 - .../extlib/phergie/Phergie/Plugin/Wine.php | 69 - .../extlib/phergie/Phergie/Plugin/Wine/db.php | 53 - .../extlib/phergie/Phergie/Plugin/Youtube.php | 168 - .../phergie/Phergie/Process/Abstract.php | 130 - .../extlib/phergie/Phergie/Process/Async.php | 157 - .../phergie/Phergie/Process/Exception.php | 33 - .../phergie/Phergie/Process/Standard.php | 57 - .../extlib/phergie/Phergie/StatusnetBot.php | 98 - .../phergie/Phergie/Tools/LogViewer/INSTALL | 24 - .../phergie/Phergie/Tools/LogViewer/index.php | 368 - .../Irc/extlib/phergie/Phergie/Tools/README | 6 - .../extlib/phergie/Phergie/Ui/Abstract.php | 116 - .../Irc/extlib/phergie/Phergie/Ui/Console.php | 223 - .../Irc/extlib/phergie/PhergiePackageTask.php | 110 - plugins/Irc/extlib/phergie/README | 11 - plugins/Irc/extlib/phergie/Settings.php.dist | 98 - .../phergie/Tests/Phergie/ConnectionTest.php | 262 - .../Tests/Phergie/Plugin/HandlerTest.php | 837 - .../Tests/Phergie/Plugin/IteratorTest.php | 151 - .../Tests/Phergie/Plugin/KarmaTest.php | 335 - .../phergie/Tests/Phergie/Plugin/Mock.php | 61 - .../phergie/Tests/Phergie/Plugin/PingTest.php | 164 - .../phergie/Tests/Phergie/Plugin/PongTest.php | 46 - .../Tests/Phergie/Plugin/SpellCheckTest.php | 166 - .../Tests/Phergie/Plugin/TerryChayTest.php | 135 - .../phergie/Tests/Phergie/Plugin/TestCase.php | 435 - .../TestNonInstantiablePluginFromFile.php | 43 - .../Irc/extlib/phergie/Tests/TestHelper.php | 26 - plugins/Irc/extlib/phergie/Tests/phpunit.xml | 26 - plugins/Irc/extlib/phergie/build.xml | 301 - plugins/Irc/extlib/phergie/phergie.bat | 14 - plugins/Irc/extlib/phergie/phergie.php | 54 - plugins/Irc/lib/channelresponsechannel.php | 61 - plugins/Irc/lib/fakeirc.php | 47 - plugins/Irc/lib/ircmanager.php | 357 - plugins/Irc/locale/Irc.pot | 83 - plugins/Irc/locale/ca/LC_MESSAGES/Irc.po | 84 - plugins/Irc/locale/de/LC_MESSAGES/Irc.po | 87 - plugins/Irc/locale/es/LC_MESSAGES/Irc.po | 84 - plugins/Irc/locale/eu/LC_MESSAGES/Irc.po | 80 - plugins/Irc/locale/fi/LC_MESSAGES/Irc.po | 83 - plugins/Irc/locale/fr/LC_MESSAGES/Irc.po | 93 - plugins/Irc/locale/gl/LC_MESSAGES/Irc.po | 86 - plugins/Irc/locale/ia/LC_MESSAGES/Irc.po | 88 - plugins/Irc/locale/it/LC_MESSAGES/Irc.po | 85 - plugins/Irc/locale/ja/LC_MESSAGES/Irc.po | 74 - plugins/Irc/locale/mk/LC_MESSAGES/Irc.po | 86 - plugins/Irc/locale/nl/LC_MESSAGES/Irc.po | 88 - plugins/Irc/locale/sv/LC_MESSAGES/Irc.po | 81 - plugins/Irc/locale/tl/LC_MESSAGES/Irc.po | 87 - plugins/Irc/locale/tr/LC_MESSAGES/Irc.po | 77 - plugins/Irc/locale/uk/LC_MESSAGES/Irc.po | 86 - plugins/Spotify/SpotifyPlugin.php | 119 - plugins/Spotify/locale/Spotify.pot | 22 - .../Spotify/locale/de/LC_MESSAGES/Spotify.po | 26 - .../Spotify/locale/es/LC_MESSAGES/Spotify.po | 24 - .../Spotify/locale/fr/LC_MESSAGES/Spotify.po | 23 - .../Spotify/locale/gl/LC_MESSAGES/Spotify.po | 27 - .../Spotify/locale/he/LC_MESSAGES/Spotify.po | 26 - .../Spotify/locale/ia/LC_MESSAGES/Spotify.po | 26 - .../Spotify/locale/mk/LC_MESSAGES/Spotify.po | 28 - .../Spotify/locale/nl/LC_MESSAGES/Spotify.po | 26 - .../Spotify/locale/sv/LC_MESSAGES/Spotify.po | 27 - .../Spotify/locale/tl/LC_MESSAGES/Spotify.po | 25 - plugins/TinyMCE/TinyMCEPlugin.php | 348 - plugins/TinyMCE/icons/placeholder.png | Bin 78779 -> 0 bytes plugins/TinyMCE/icons/placeholder.xcf | Bin 691137 -> 0 bytes plugins/TinyMCE/js/jquery.tinymce.js | 1 - plugins/TinyMCE/js/langs/en.js | 223 - plugins/TinyMCE/js/license.txt | 504 - .../TinyMCE/js/plugins/advhr/css/advhr.css | 5 - .../TinyMCE/js/plugins/advhr/editor_plugin.js | 1 - .../js/plugins/advhr/editor_plugin_src.js | 57 - plugins/TinyMCE/js/plugins/advhr/js/rule.js | 43 - .../TinyMCE/js/plugins/advhr/langs/en_dlg.js | 7 - plugins/TinyMCE/js/plugins/advhr/rule.htm | 58 - .../js/plugins/advimage/css/advimage.css | 13 - .../js/plugins/advimage/editor_plugin.js | 1 - .../js/plugins/advimage/editor_plugin_src.js | 50 - plugins/TinyMCE/js/plugins/advimage/image.htm | 235 - .../js/plugins/advimage/img/sample.gif | Bin 1624 -> 0 bytes .../TinyMCE/js/plugins/advimage/js/image.js | 458 - .../js/plugins/advimage/langs/en_dlg.js | 45 - .../js/plugins/advlink/css/advlink.css | 8 - .../js/plugins/advlink/editor_plugin.js | 1 - .../js/plugins/advlink/editor_plugin_src.js | 61 - .../TinyMCE/js/plugins/advlink/js/advlink.js | 532 - .../js/plugins/advlink/langs/en_dlg.js | 54 - plugins/TinyMCE/js/plugins/advlink/link.htm | 338 - .../js/plugins/advlist/editor_plugin.js | 1 - .../js/plugins/advlist/editor_plugin_src.js | 161 - .../js/plugins/autolink/editor_plugin.js | 1 - .../js/plugins/autolink/editor_plugin_src.js | 172 - .../js/plugins/autoresize/editor_plugin.js | 1 - .../plugins/autoresize/editor_plugin_src.js | 137 - .../js/plugins/autosave/editor_plugin.js | 1 - .../js/plugins/autosave/editor_plugin_src.js | 431 - .../TinyMCE/js/plugins/autosave/langs/en.js | 4 - .../js/plugins/bbcode/editor_plugin.js | 1 - .../js/plugins/bbcode/editor_plugin_src.js | 120 - .../js/plugins/contextmenu/editor_plugin.js | 1 - .../plugins/contextmenu/editor_plugin_src.js | 160 - .../plugins/directionality/editor_plugin.js | 1 - .../directionality/editor_plugin_src.js | 82 - .../js/plugins/emotions/editor_plugin.js | 1 - .../js/plugins/emotions/editor_plugin_src.js | 43 - .../TinyMCE/js/plugins/emotions/emotions.htm | 41 - .../js/plugins/emotions/img/smiley-cool.gif | Bin 354 -> 0 bytes .../js/plugins/emotions/img/smiley-cry.gif | Bin 329 -> 0 bytes .../emotions/img/smiley-embarassed.gif | Bin 331 -> 0 bytes .../emotions/img/smiley-foot-in-mouth.gif | Bin 342 -> 0 bytes .../js/plugins/emotions/img/smiley-frown.gif | Bin 340 -> 0 bytes .../plugins/emotions/img/smiley-innocent.gif | Bin 336 -> 0 bytes .../js/plugins/emotions/img/smiley-kiss.gif | Bin 338 -> 0 bytes .../plugins/emotions/img/smiley-laughing.gif | Bin 343 -> 0 bytes .../emotions/img/smiley-money-mouth.gif | Bin 321 -> 0 bytes .../js/plugins/emotions/img/smiley-sealed.gif | Bin 323 -> 0 bytes .../js/plugins/emotions/img/smiley-smile.gif | Bin 344 -> 0 bytes .../plugins/emotions/img/smiley-surprised.gif | Bin 338 -> 0 bytes .../emotions/img/smiley-tongue-out.gif | Bin 328 -> 0 bytes .../plugins/emotions/img/smiley-undecided.gif | Bin 337 -> 0 bytes .../js/plugins/emotions/img/smiley-wink.gif | Bin 350 -> 0 bytes .../js/plugins/emotions/img/smiley-yell.gif | Bin 336 -> 0 bytes .../js/plugins/emotions/js/emotions.js | 22 - .../js/plugins/emotions/langs/en_dlg.js | 20 - plugins/TinyMCE/js/plugins/example/dialog.htm | 22 - .../js/plugins/example/editor_plugin.js | 1 - .../js/plugins/example/editor_plugin_src.js | 84 - .../js/plugins/example/img/example.gif | Bin 87 -> 0 bytes .../TinyMCE/js/plugins/example/js/dialog.js | 19 - .../TinyMCE/js/plugins/example/langs/en.js | 3 - .../js/plugins/example/langs/en_dlg.js | 3 - .../example_dependency/editor_plugin.js | 1 - .../example_dependency/editor_plugin_src.js | 50 - .../js/plugins/fullpage/css/fullpage.css | 143 - .../js/plugins/fullpage/editor_plugin.js | 1 - .../js/plugins/fullpage/editor_plugin_src.js | 399 - .../TinyMCE/js/plugins/fullpage/fullpage.htm | 259 - .../js/plugins/fullpage/js/fullpage.js | 232 - .../js/plugins/fullpage/langs/en_dlg.js | 85 - .../js/plugins/fullscreen/editor_plugin.js | 1 - .../plugins/fullscreen/editor_plugin_src.js | 159 - .../js/plugins/fullscreen/fullscreen.htm | 109 - .../js/plugins/iespell/editor_plugin.js | 1 - .../js/plugins/iespell/editor_plugin_src.js | 54 - .../js/plugins/inlinepopups/editor_plugin.js | 1 - .../plugins/inlinepopups/editor_plugin_src.js | 696 - .../skins/clearlooks2/img/alert.gif | Bin 810 -> 0 bytes .../skins/clearlooks2/img/button.gif | Bin 272 -> 0 bytes .../skins/clearlooks2/img/buttons.gif | Bin 1195 -> 0 bytes .../skins/clearlooks2/img/confirm.gif | Bin 907 -> 0 bytes .../skins/clearlooks2/img/corners.gif | Bin 909 -> 0 bytes .../skins/clearlooks2/img/horizontal.gif | Bin 769 -> 0 bytes .../skins/clearlooks2/img/vertical.gif | Bin 84 -> 0 bytes .../inlinepopups/skins/clearlooks2/window.css | 90 - .../js/plugins/inlinepopups/template.htm | 387 - .../plugins/insertdatetime/editor_plugin.js | 1 - .../insertdatetime/editor_plugin_src.js | 83 - .../TinyMCE/js/plugins/layer/editor_plugin.js | 1 - .../js/plugins/layer/editor_plugin_src.js | 214 - .../js/plugins/legacyoutput/editor_plugin.js | 1 - .../plugins/legacyoutput/editor_plugin_src.js | 139 - .../TinyMCE/js/plugins/lists/editor_plugin.js | 1 - .../js/plugins/lists/editor_plugin_src.js | 688 - .../TinyMCE/js/plugins/media/css/media.css | 17 - .../TinyMCE/js/plugins/media/editor_plugin.js | 1 - .../js/plugins/media/editor_plugin_src.js | 777 - plugins/TinyMCE/js/plugins/media/js/embed.js | 73 - plugins/TinyMCE/js/plugins/media/js/media.js | 355 - .../TinyMCE/js/plugins/media/langs/en_dlg.js | 109 - plugins/TinyMCE/js/plugins/media/media.htm | 812 - .../TinyMCE/js/plugins/media/moxieplayer.swf | Bin 33931 -> 0 bytes .../js/plugins/nonbreaking/editor_plugin.js | 1 - .../plugins/nonbreaking/editor_plugin_src.js | 53 - .../js/plugins/noneditable/editor_plugin.js | 1 - .../plugins/noneditable/editor_plugin_src.js | 92 - .../js/plugins/pagebreak/editor_plugin.js | 1 - .../js/plugins/pagebreak/editor_plugin_src.js | 74 - .../TinyMCE/js/plugins/paste/editor_plugin.js | 1 - .../js/plugins/paste/editor_plugin_src.js | 941 - .../TinyMCE/js/plugins/paste/js/pastetext.js | 36 - .../TinyMCE/js/plugins/paste/js/pasteword.js | 51 - .../TinyMCE/js/plugins/paste/langs/en_dlg.js | 5 - .../TinyMCE/js/plugins/paste/pastetext.htm | 27 - .../TinyMCE/js/plugins/paste/pasteword.htm | 21 - .../js/plugins/preview/editor_plugin.js | 1 - .../js/plugins/preview/editor_plugin_src.js | 53 - .../TinyMCE/js/plugins/preview/example.html | 28 - .../js/plugins/preview/jscripts/embed.js | 73 - .../TinyMCE/js/plugins/preview/preview.html | 17 - .../TinyMCE/js/plugins/print/editor_plugin.js | 1 - .../js/plugins/print/editor_plugin_src.js | 34 - .../TinyMCE/js/plugins/save/editor_plugin.js | 1 - .../js/plugins/save/editor_plugin_src.js | 101 - .../searchreplace/css/searchreplace.css | 6 - .../js/plugins/searchreplace/editor_plugin.js | 1 - .../searchreplace/editor_plugin_src.js | 61 - .../plugins/searchreplace/js/searchreplace.js | 142 - .../js/plugins/searchreplace/langs/en_dlg.js | 16 - .../plugins/searchreplace/searchreplace.htm | 100 - .../js/plugins/spellchecker/css/content.css | 1 - .../js/plugins/spellchecker/editor_plugin.js | 1 - .../plugins/spellchecker/editor_plugin_src.js | 434 - .../js/plugins/spellchecker/img/wline.gif | Bin 46 -> 0 bytes .../TinyMCE/js/plugins/style/css/props.css | 13 - .../TinyMCE/js/plugins/style/editor_plugin.js | 1 - .../js/plugins/style/editor_plugin_src.js | 55 - plugins/TinyMCE/js/plugins/style/js/props.js | 635 - .../TinyMCE/js/plugins/style/langs/en_dlg.js | 70 - plugins/TinyMCE/js/plugins/style/props.htm | 838 - .../js/plugins/tabfocus/editor_plugin.js | 1 - .../js/plugins/tabfocus/editor_plugin_src.js | 114 - plugins/TinyMCE/js/plugins/table/cell.htm | 180 - plugins/TinyMCE/js/plugins/table/css/cell.css | 17 - plugins/TinyMCE/js/plugins/table/css/row.css | 25 - .../TinyMCE/js/plugins/table/css/table.css | 13 - .../TinyMCE/js/plugins/table/editor_plugin.js | 1 - .../js/plugins/table/editor_plugin_src.js | 1209 -- plugins/TinyMCE/js/plugins/table/js/cell.js | 319 - .../js/plugins/table/js/merge_cells.js | 27 - plugins/TinyMCE/js/plugins/table/js/row.js | 237 - plugins/TinyMCE/js/plugins/table/js/table.js | 450 - .../TinyMCE/js/plugins/table/langs/en_dlg.js | 75 - .../TinyMCE/js/plugins/table/merge_cells.htm | 32 - plugins/TinyMCE/js/plugins/table/row.htm | 158 - plugins/TinyMCE/js/plugins/table/table.htm | 188 - plugins/TinyMCE/js/plugins/template/blank.htm | 12 - .../js/plugins/template/css/template.css | 23 - .../js/plugins/template/editor_plugin.js | 1 - .../js/plugins/template/editor_plugin_src.js | 159 - .../js/plugins/template/js/template.js | 106 - .../js/plugins/template/langs/en_dlg.js | 15 - .../TinyMCE/js/plugins/template/template.htm | 31 - .../js/plugins/visualchars/editor_plugin.js | 1 - .../plugins/visualchars/editor_plugin_src.js | 83 - .../js/plugins/wordcount/editor_plugin.js | 1 - .../js/plugins/wordcount/editor_plugin_src.js | 114 - .../TinyMCE/js/plugins/xhtmlxtras/abbr.htm | 142 - .../TinyMCE/js/plugins/xhtmlxtras/acronym.htm | 142 - .../js/plugins/xhtmlxtras/attributes.htm | 149 - .../TinyMCE/js/plugins/xhtmlxtras/cite.htm | 142 - .../js/plugins/xhtmlxtras/css/attributes.css | 11 - .../js/plugins/xhtmlxtras/css/popup.css | 9 - plugins/TinyMCE/js/plugins/xhtmlxtras/del.htm | 162 - .../js/plugins/xhtmlxtras/editor_plugin.js | 1 - .../plugins/xhtmlxtras/editor_plugin_src.js | 132 - plugins/TinyMCE/js/plugins/xhtmlxtras/ins.htm | 162 - .../TinyMCE/js/plugins/xhtmlxtras/js/abbr.js | 28 - .../js/plugins/xhtmlxtras/js/acronym.js | 28 - .../js/plugins/xhtmlxtras/js/attributes.js | 111 - .../TinyMCE/js/plugins/xhtmlxtras/js/cite.js | 28 - .../TinyMCE/js/plugins/xhtmlxtras/js/del.js | 53 - .../plugins/xhtmlxtras/js/element_common.js | 229 - .../TinyMCE/js/plugins/xhtmlxtras/js/ins.js | 53 - .../js/plugins/xhtmlxtras/langs/en_dlg.js | 32 - plugins/TinyMCE/js/themes/advanced/about.htm | 52 - plugins/TinyMCE/js/themes/advanced/anchor.htm | 26 - .../TinyMCE/js/themes/advanced/charmap.htm | 51 - .../js/themes/advanced/color_picker.htm | 74 - .../js/themes/advanced/editor_template.js | 1 - .../js/themes/advanced/editor_template_src.js | 1358 -- plugins/TinyMCE/js/themes/advanced/image.htm | 80 - .../js/themes/advanced/img/colorpicker.jpg | Bin 2584 -> 0 bytes .../TinyMCE/js/themes/advanced/img/flash.gif | Bin 239 -> 0 bytes .../TinyMCE/js/themes/advanced/img/icons.gif | Bin 11790 -> 0 bytes .../TinyMCE/js/themes/advanced/img/iframe.gif | Bin 600 -> 0 bytes .../js/themes/advanced/img/pagebreak.gif | Bin 325 -> 0 bytes .../js/themes/advanced/img/quicktime.gif | Bin 301 -> 0 bytes .../js/themes/advanced/img/realmedia.gif | Bin 439 -> 0 bytes .../js/themes/advanced/img/shockwave.gif | Bin 384 -> 0 bytes .../TinyMCE/js/themes/advanced/img/trans.gif | Bin 43 -> 0 bytes .../TinyMCE/js/themes/advanced/img/video.gif | Bin 597 -> 0 bytes .../js/themes/advanced/img/windowsmedia.gif | Bin 415 -> 0 bytes .../TinyMCE/js/themes/advanced/js/about.js | 73 - .../TinyMCE/js/themes/advanced/js/anchor.js | 42 - .../TinyMCE/js/themes/advanced/js/charmap.js | 355 - .../js/themes/advanced/js/color_picker.js | 329 - .../TinyMCE/js/themes/advanced/js/image.js | 247 - plugins/TinyMCE/js/themes/advanced/js/link.js | 153 - .../js/themes/advanced/js/source_editor.js | 56 - .../TinyMCE/js/themes/advanced/langs/en.js | 68 - .../js/themes/advanced/langs/en_dlg.js | 54 - plugins/TinyMCE/js/themes/advanced/link.htm | 57 - .../TinyMCE/js/themes/advanced/shortcuts.htm | 47 - .../themes/advanced/skins/default/content.css | 47 - .../themes/advanced/skins/default/dialog.css | 117 - .../advanced/skins/default/img/buttons.png | Bin 3133 -> 0 bytes .../advanced/skins/default/img/items.gif | Bin 64 -> 0 bytes .../advanced/skins/default/img/menu_arrow.gif | Bin 68 -> 0 bytes .../advanced/skins/default/img/menu_check.gif | Bin 70 -> 0 bytes .../advanced/skins/default/img/progress.gif | Bin 1787 -> 0 bytes .../advanced/skins/default/img/tabs.gif | Bin 1322 -> 0 bytes .../js/themes/advanced/skins/default/ui.css | 214 - .../advanced/skins/highcontrast/content.css | 23 - .../advanced/skins/highcontrast/dialog.css | 105 - .../themes/advanced/skins/highcontrast/ui.css | 102 - .../js/themes/advanced/skins/o2k7/content.css | 46 - .../js/themes/advanced/skins/o2k7/dialog.css | 117 - .../advanced/skins/o2k7/img/button_bg.png | Bin 2766 -> 0 bytes .../skins/o2k7/img/button_bg_black.png | Bin 651 -> 0 bytes .../skins/o2k7/img/button_bg_silver.png | Bin 2084 -> 0 bytes .../js/themes/advanced/skins/o2k7/ui.css | 217 - .../themes/advanced/skins/o2k7/ui_black.css | 8 - .../themes/advanced/skins/o2k7/ui_silver.css | 5 - .../js/themes/advanced/source_editor.htm | 25 - .../js/themes/simple/editor_template.js | 1 - .../js/themes/simple/editor_template_src.js | 84 - .../TinyMCE/js/themes/simple/img/icons.gif | Bin 806 -> 0 bytes plugins/TinyMCE/js/themes/simple/langs/en.js | 11 - .../themes/simple/skins/default/content.css | 25 - .../js/themes/simple/skins/default/ui.css | 32 - .../js/themes/simple/skins/o2k7/content.css | 17 - .../simple/skins/o2k7/img/button_bg.png | Bin 5102 -> 0 bytes .../js/themes/simple/skins/o2k7/ui.css | 35 - plugins/TinyMCE/js/tiny_mce.js | 1 - plugins/TinyMCE/js/tiny_mce_popup.js | 5 - plugins/TinyMCE/js/tiny_mce_src.js | 16063 ---------------- plugins/TinyMCE/js/utils/editable_selects.js | 70 - plugins/TinyMCE/js/utils/form_utils.js | 210 - plugins/TinyMCE/js/utils/mctabs.js | 162 - plugins/TinyMCE/js/utils/validate.js | 252 - plugins/TinyMCE/locale/Sample.po | 56 - plugins/TinyMCE/locale/TinyMCE.pot | 22 - .../TinyMCE/locale/ca/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/de/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/eo/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/es/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/fr/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/gl/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/he/LC_MESSAGES/TinyMCE.po | 26 - .../TinyMCE/locale/ia/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/id/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/ja/LC_MESSAGES/TinyMCE.po | 24 - .../TinyMCE/locale/mk/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/ms/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/nb/LC_MESSAGES/TinyMCE.po | 27 - .../TinyMCE/locale/nl/LC_MESSAGES/TinyMCE.po | 26 - .../TinyMCE/locale/pt/LC_MESSAGES/TinyMCE.po | 26 - .../locale/pt_BR/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/ru/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/tl/LC_MESSAGES/TinyMCE.po | 28 - .../TinyMCE/locale/uk/LC_MESSAGES/TinyMCE.po | 29 - plugins/XCache/XCachePlugin.php | 120 - plugins/XCache/locale/XCache.pot | 24 - .../XCache/locale/ast/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/br/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/de/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/es/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/eu/LC_MESSAGES/XCache.po | 27 - .../XCache/locale/fi/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/fr/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/gl/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/he/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/ia/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/id/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/mk/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/ms/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/nb/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/nl/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/pl/LC_MESSAGES/XCache.po | 28 - .../XCache/locale/pt/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/pt_BR/LC_MESSAGES/XCache.po | 31 - .../XCache/locale/ru/LC_MESSAGES/XCache.po | 31 - .../XCache/locale/tl/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/tr/LC_MESSAGES/XCache.po | 30 - .../XCache/locale/uk/LC_MESSAGES/XCache.po | 31 - plugins/YammerImport/README | 179 - plugins/YammerImport/YammerImportPlugin.php | 108 - .../YammerImport/actions/yammeradminpanel.php | 192 - plugins/YammerImport/actions/yammerauth.php | 77 - .../YammerImport/classes/Yammer_common.php | 160 - plugins/YammerImport/classes/Yammer_group.php | 60 - .../YammerImport/classes/Yammer_notice.php | 60 - .../classes/Yammer_notice_stub.php | 162 - plugins/YammerImport/classes/Yammer_state.php | 135 - plugins/YammerImport/classes/Yammer_user.php | 60 - plugins/YammerImport/css/admin.css | 61 - plugins/YammerImport/css/done.png | Bin 991 -> 0 bytes plugins/YammerImport/css/icon_processing.gif | Bin 673 -> 0 bytes plugins/YammerImport/forms/yammerapikey.php | 121 - plugins/YammerImport/forms/yammerauthinit.php | 81 - .../YammerImport/forms/yammerauthverify.php | 119 - plugins/YammerImport/forms/yammerprogress.php | 229 - plugins/YammerImport/lib/snyammerclient.php | 252 - plugins/YammerImport/lib/yammerimporter.php | 510 - .../YammerImport/lib/yammerqueuehandler.php | 61 - plugins/YammerImport/lib/yammerrunner.php | 439 - plugins/YammerImport/locale/YammerImport.pot | 392 - .../locale/br/LC_MESSAGES/YammerImport.po | 351 - .../locale/de/LC_MESSAGES/YammerImport.po | 352 - .../locale/es/LC_MESSAGES/YammerImport.po | 352 - .../locale/eu/LC_MESSAGES/YammerImport.po | 329 - .../locale/fr/LC_MESSAGES/YammerImport.po | 357 - .../locale/gl/LC_MESSAGES/YammerImport.po | 354 - .../locale/ia/LC_MESSAGES/YammerImport.po | 350 - .../locale/mk/LC_MESSAGES/YammerImport.po | 348 - .../locale/ms/LC_MESSAGES/YammerImport.po | 332 - .../locale/nl/LC_MESSAGES/YammerImport.po | 357 - .../locale/pl/LC_MESSAGES/YammerImport.po | 348 - .../locale/ru/LC_MESSAGES/YammerImport.po | 346 - .../locale/tl/LC_MESSAGES/YammerImport.po | 354 - .../locale/tr/LC_MESSAGES/YammerImport.po | 330 - .../locale/uk/LC_MESSAGES/YammerImport.po | 364 - .../YammerImport/scripts/yammer-import.php | 64 - 579 files changed, 81905 deletions(-) delete mode 100644 plugins/APC/APCPlugin.php delete mode 100644 plugins/APC/locale/APC.pot delete mode 100644 plugins/APC/locale/ast/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/br/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/de/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/es/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/eu/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/fr/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/gl/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/he/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/ia/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/id/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/it/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/mk/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/ms/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/nb/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/nl/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/pl/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/pt/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/ru/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/tl/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/uk/LC_MESSAGES/APC.po delete mode 100644 plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po delete mode 100644 plugins/Adsense/AdsensePlugin.php delete mode 100644 plugins/Adsense/actions/adsenseadminpanel.php delete mode 100644 plugins/Adsense/locale/Adsense.pot delete mode 100644 plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po delete mode 100644 plugins/Aim/AimPlugin.php delete mode 100644 plugins/Aim/README delete mode 100644 plugins/Aim/classes/Fake_Aim.php delete mode 100755 plugins/Aim/extlib/phptoclib/README.txt delete mode 100755 plugins/Aim/extlib/phptoclib/aimclassw.php delete mode 100755 plugins/Aim/extlib/phptoclib/dconnection.php delete mode 100644 plugins/Aim/lib/aimmanager.php delete mode 100644 plugins/Aim/locale/Aim.pot delete mode 100644 plugins/Aim/locale/af/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/ca/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/de/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/es/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/eu/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/fi/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/fr/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/gl/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/ia/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/it/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/mk/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/ms/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/nl/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/pl/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/pt/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/sv/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/tl/LC_MESSAGES/Aim.po delete mode 100644 plugins/Aim/locale/uk/LC_MESSAGES/Aim.po delete mode 100644 plugins/Enjit/README delete mode 100644 plugins/Enjit/enjitqueuehandler.php delete mode 100644 plugins/Irc/IrcPlugin.php delete mode 100644 plugins/Irc/README delete mode 100644 plugins/Irc/classes/Irc_waiting_message.php delete mode 100644 plugins/Irc/extlib/.gitignore delete mode 100644 plugins/Irc/extlib/phergie/.gitignore delete mode 100644 plugins/Irc/extlib/phergie/LICENSE delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Autoload.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Bot.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Config.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Config/Exception.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Connection.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Connection/Exception.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Connection/Handler.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Driver/Abstract.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Driver/Exception.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Driver/Statusnet.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Event/Abstract.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Event/Command.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Event/Exception.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Event/Handler.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Event/Request.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Event/Response.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Exception.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Hostmask.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Hostmask/Exception.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Abstract.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Acl.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/AltNick.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/AudioScrobbler.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/AutoJoin.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Beer.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Beer/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/BeerScore.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cache.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Caffeine.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Caffeine/db.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Censor.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cocktail.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cocktail/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Command.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cookie.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cookie/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Cron.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Ctcp.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Daddy.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Encoding.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Exception.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Google.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Handler.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Help.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Http.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Http/Response.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Ideone.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Invisible.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Iterator.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Join.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Karma.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Lart.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Message.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/NickServ.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Part.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Php.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Php/Source.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Php/Source/Local.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Ping.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Pong.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Prioritize.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Puppet.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Quit.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Reload.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Remind.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Plugin/Serve.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/SpellCheck.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Statusnet.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Tea.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Tea/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Temperature.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/TerryChay.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/TheFuckingWeather.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Time.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Tld.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Tld/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Twitter.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Twitter/laconica.class.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Twitter/twitter.class.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Url.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Abstract.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Url/Shorten/Trim.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/UserInfo.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Weather.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Wine.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Wine/db.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Plugin/Youtube.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Process/Abstract.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Process/Async.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Process/Exception.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Process/Standard.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/StatusnetBot.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Tools/LogViewer/INSTALL delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Tools/LogViewer/index.php delete mode 100755 plugins/Irc/extlib/phergie/Phergie/Tools/README delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Ui/Abstract.php delete mode 100644 plugins/Irc/extlib/phergie/Phergie/Ui/Console.php delete mode 100644 plugins/Irc/extlib/phergie/PhergiePackageTask.php delete mode 100644 plugins/Irc/extlib/phergie/README delete mode 100755 plugins/Irc/extlib/phergie/Settings.php.dist delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/ConnectionTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/HandlerTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/IteratorTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/KarmaTest.php delete mode 100755 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/Mock.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/PingTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/PongTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/SpellCheckTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/TerryChayTest.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/TestCase.php delete mode 100755 plugins/Irc/extlib/phergie/Tests/Phergie/Plugin/TestNonInstantiablePluginFromFile.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/TestHelper.php delete mode 100644 plugins/Irc/extlib/phergie/Tests/phpunit.xml delete mode 100644 plugins/Irc/extlib/phergie/build.xml delete mode 100644 plugins/Irc/extlib/phergie/phergie.bat delete mode 100755 plugins/Irc/extlib/phergie/phergie.php delete mode 100644 plugins/Irc/lib/channelresponsechannel.php delete mode 100644 plugins/Irc/lib/fakeirc.php delete mode 100644 plugins/Irc/lib/ircmanager.php delete mode 100644 plugins/Irc/locale/Irc.pot delete mode 100644 plugins/Irc/locale/ca/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/de/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/es/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/eu/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/fi/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/fr/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/gl/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/ia/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/it/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/ja/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/mk/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/nl/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/sv/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/tl/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/tr/LC_MESSAGES/Irc.po delete mode 100644 plugins/Irc/locale/uk/LC_MESSAGES/Irc.po delete mode 100644 plugins/Spotify/SpotifyPlugin.php delete mode 100644 plugins/Spotify/locale/Spotify.pot delete mode 100644 plugins/Spotify/locale/de/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/es/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/fr/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/gl/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/he/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/ia/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/mk/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/nl/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/sv/LC_MESSAGES/Spotify.po delete mode 100644 plugins/Spotify/locale/tl/LC_MESSAGES/Spotify.po delete mode 100644 plugins/TinyMCE/TinyMCEPlugin.php delete mode 100644 plugins/TinyMCE/icons/placeholder.png delete mode 100644 plugins/TinyMCE/icons/placeholder.xcf delete mode 100644 plugins/TinyMCE/js/jquery.tinymce.js delete mode 100644 plugins/TinyMCE/js/langs/en.js delete mode 100644 plugins/TinyMCE/js/license.txt delete mode 100644 plugins/TinyMCE/js/plugins/advhr/css/advhr.css delete mode 100644 plugins/TinyMCE/js/plugins/advhr/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/advhr/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/advhr/js/rule.js delete mode 100644 plugins/TinyMCE/js/plugins/advhr/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/advhr/rule.htm delete mode 100644 plugins/TinyMCE/js/plugins/advimage/css/advimage.css delete mode 100644 plugins/TinyMCE/js/plugins/advimage/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/advimage/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/advimage/image.htm delete mode 100644 plugins/TinyMCE/js/plugins/advimage/img/sample.gif delete mode 100644 plugins/TinyMCE/js/plugins/advimage/js/image.js delete mode 100644 plugins/TinyMCE/js/plugins/advimage/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/advlink/css/advlink.css delete mode 100644 plugins/TinyMCE/js/plugins/advlink/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/advlink/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/advlink/js/advlink.js delete mode 100644 plugins/TinyMCE/js/plugins/advlink/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/advlink/link.htm delete mode 100644 plugins/TinyMCE/js/plugins/advlist/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/advlist/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/autolink/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/autolink/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/autoresize/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/autoresize/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/autosave/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/autosave/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/autosave/langs/en.js delete mode 100644 plugins/TinyMCE/js/plugins/bbcode/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/bbcode/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/contextmenu/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/contextmenu/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/directionality/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/directionality/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/emotions/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/emotions/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/emotions/emotions.htm delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-cool.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-cry.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-embarassed.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-foot-in-mouth.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-frown.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-innocent.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-kiss.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-laughing.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-money-mouth.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-sealed.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-smile.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-surprised.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-tongue-out.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-undecided.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-wink.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/img/smiley-yell.gif delete mode 100644 plugins/TinyMCE/js/plugins/emotions/js/emotions.js delete mode 100644 plugins/TinyMCE/js/plugins/emotions/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/example/dialog.htm delete mode 100644 plugins/TinyMCE/js/plugins/example/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/example/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/example/img/example.gif delete mode 100644 plugins/TinyMCE/js/plugins/example/js/dialog.js delete mode 100644 plugins/TinyMCE/js/plugins/example/langs/en.js delete mode 100644 plugins/TinyMCE/js/plugins/example/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/example_dependency/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/example_dependency/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/css/fullpage.css delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/fullpage.htm delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/js/fullpage.js delete mode 100644 plugins/TinyMCE/js/plugins/fullpage/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/fullscreen/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/fullscreen/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/fullscreen/fullscreen.htm delete mode 100644 plugins/TinyMCE/js/plugins/iespell/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/iespell/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/alert.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/button.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/corners.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/skins/clearlooks2/window.css delete mode 100644 plugins/TinyMCE/js/plugins/inlinepopups/template.htm delete mode 100644 plugins/TinyMCE/js/plugins/insertdatetime/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/insertdatetime/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/layer/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/layer/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/legacyoutput/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/legacyoutput/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/lists/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/lists/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/media/css/media.css delete mode 100644 plugins/TinyMCE/js/plugins/media/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/media/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/media/js/embed.js delete mode 100644 plugins/TinyMCE/js/plugins/media/js/media.js delete mode 100644 plugins/TinyMCE/js/plugins/media/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/media/media.htm delete mode 100644 plugins/TinyMCE/js/plugins/media/moxieplayer.swf delete mode 100644 plugins/TinyMCE/js/plugins/nonbreaking/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/nonbreaking/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/noneditable/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/noneditable/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/pagebreak/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/pagebreak/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/js/pastetext.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/js/pasteword.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/paste/pastetext.htm delete mode 100644 plugins/TinyMCE/js/plugins/paste/pasteword.htm delete mode 100644 plugins/TinyMCE/js/plugins/preview/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/preview/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/preview/example.html delete mode 100644 plugins/TinyMCE/js/plugins/preview/jscripts/embed.js delete mode 100644 plugins/TinyMCE/js/plugins/preview/preview.html delete mode 100644 plugins/TinyMCE/js/plugins/print/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/print/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/save/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/save/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/css/searchreplace.css delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/js/searchreplace.js delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/searchreplace/searchreplace.htm delete mode 100644 plugins/TinyMCE/js/plugins/spellchecker/css/content.css delete mode 100644 plugins/TinyMCE/js/plugins/spellchecker/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/spellchecker/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/spellchecker/img/wline.gif delete mode 100644 plugins/TinyMCE/js/plugins/style/css/props.css delete mode 100644 plugins/TinyMCE/js/plugins/style/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/style/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/style/js/props.js delete mode 100644 plugins/TinyMCE/js/plugins/style/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/style/props.htm delete mode 100644 plugins/TinyMCE/js/plugins/tabfocus/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/tabfocus/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/table/cell.htm delete mode 100644 plugins/TinyMCE/js/plugins/table/css/cell.css delete mode 100644 plugins/TinyMCE/js/plugins/table/css/row.css delete mode 100644 plugins/TinyMCE/js/plugins/table/css/table.css delete mode 100644 plugins/TinyMCE/js/plugins/table/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/table/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/table/js/cell.js delete mode 100644 plugins/TinyMCE/js/plugins/table/js/merge_cells.js delete mode 100644 plugins/TinyMCE/js/plugins/table/js/row.js delete mode 100644 plugins/TinyMCE/js/plugins/table/js/table.js delete mode 100644 plugins/TinyMCE/js/plugins/table/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/table/merge_cells.htm delete mode 100644 plugins/TinyMCE/js/plugins/table/row.htm delete mode 100644 plugins/TinyMCE/js/plugins/table/table.htm delete mode 100644 plugins/TinyMCE/js/plugins/template/blank.htm delete mode 100644 plugins/TinyMCE/js/plugins/template/css/template.css delete mode 100644 plugins/TinyMCE/js/plugins/template/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/template/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/template/js/template.js delete mode 100644 plugins/TinyMCE/js/plugins/template/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/plugins/template/template.htm delete mode 100644 plugins/TinyMCE/js/plugins/visualchars/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/visualchars/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/wordcount/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/wordcount/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/abbr.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/acronym.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/attributes.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/cite.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/css/attributes.css delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/css/popup.css delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/del.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/editor_plugin.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/editor_plugin_src.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/ins.htm delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/abbr.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/acronym.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/attributes.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/cite.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/del.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/element_common.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/js/ins.js delete mode 100644 plugins/TinyMCE/js/plugins/xhtmlxtras/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/about.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/anchor.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/charmap.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/color_picker.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/editor_template.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/editor_template_src.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/image.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/colorpicker.jpg delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/flash.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/icons.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/iframe.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/pagebreak.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/quicktime.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/realmedia.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/shockwave.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/trans.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/video.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/img/windowsmedia.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/about.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/anchor.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/charmap.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/color_picker.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/image.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/link.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/js/source_editor.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/langs/en.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/langs/en_dlg.js delete mode 100644 plugins/TinyMCE/js/themes/advanced/link.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/shortcuts.htm delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/content.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/dialog.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/buttons.png delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/items.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/menu_arrow.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/menu_check.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/progress.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/img/tabs.gif delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/default/ui.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/content.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/dialog.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/ui.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/content.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/dialog.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/img/button_bg.png delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/img/button_bg_black.png delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/img/button_bg_silver.png delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/ui.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/ui_black.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/skins/o2k7/ui_silver.css delete mode 100644 plugins/TinyMCE/js/themes/advanced/source_editor.htm delete mode 100644 plugins/TinyMCE/js/themes/simple/editor_template.js delete mode 100644 plugins/TinyMCE/js/themes/simple/editor_template_src.js delete mode 100644 plugins/TinyMCE/js/themes/simple/img/icons.gif delete mode 100644 plugins/TinyMCE/js/themes/simple/langs/en.js delete mode 100644 plugins/TinyMCE/js/themes/simple/skins/default/content.css delete mode 100644 plugins/TinyMCE/js/themes/simple/skins/default/ui.css delete mode 100644 plugins/TinyMCE/js/themes/simple/skins/o2k7/content.css delete mode 100644 plugins/TinyMCE/js/themes/simple/skins/o2k7/img/button_bg.png delete mode 100644 plugins/TinyMCE/js/themes/simple/skins/o2k7/ui.css delete mode 100644 plugins/TinyMCE/js/tiny_mce.js delete mode 100644 plugins/TinyMCE/js/tiny_mce_popup.js delete mode 100644 plugins/TinyMCE/js/tiny_mce_src.js delete mode 100644 plugins/TinyMCE/js/utils/editable_selects.js delete mode 100644 plugins/TinyMCE/js/utils/form_utils.js delete mode 100644 plugins/TinyMCE/js/utils/mctabs.js delete mode 100644 plugins/TinyMCE/js/utils/validate.js delete mode 100644 plugins/TinyMCE/locale/Sample.po delete mode 100644 plugins/TinyMCE/locale/TinyMCE.pot delete mode 100644 plugins/TinyMCE/locale/ca/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/de/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/eo/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/es/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/fr/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/gl/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/he/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/ia/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/id/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/ja/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/mk/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/ms/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/nb/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/nl/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/pt/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/pt_BR/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/ru/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/tl/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/TinyMCE/locale/uk/LC_MESSAGES/TinyMCE.po delete mode 100644 plugins/XCache/XCachePlugin.php delete mode 100644 plugins/XCache/locale/XCache.pot delete mode 100644 plugins/XCache/locale/ast/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/br/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/de/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/es/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/eu/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/fi/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/fr/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/gl/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/he/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/ia/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/id/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/mk/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/ms/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/nb/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/nl/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/pl/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/pt/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/pt_BR/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/ru/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/tl/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/tr/LC_MESSAGES/XCache.po delete mode 100644 plugins/XCache/locale/uk/LC_MESSAGES/XCache.po delete mode 100644 plugins/YammerImport/README delete mode 100644 plugins/YammerImport/YammerImportPlugin.php delete mode 100644 plugins/YammerImport/actions/yammeradminpanel.php delete mode 100644 plugins/YammerImport/actions/yammerauth.php delete mode 100644 plugins/YammerImport/classes/Yammer_common.php delete mode 100644 plugins/YammerImport/classes/Yammer_group.php delete mode 100644 plugins/YammerImport/classes/Yammer_notice.php delete mode 100644 plugins/YammerImport/classes/Yammer_notice_stub.php delete mode 100644 plugins/YammerImport/classes/Yammer_state.php delete mode 100644 plugins/YammerImport/classes/Yammer_user.php delete mode 100644 plugins/YammerImport/css/admin.css delete mode 100644 plugins/YammerImport/css/done.png delete mode 100644 plugins/YammerImport/css/icon_processing.gif delete mode 100644 plugins/YammerImport/forms/yammerapikey.php delete mode 100644 plugins/YammerImport/forms/yammerauthinit.php delete mode 100644 plugins/YammerImport/forms/yammerauthverify.php delete mode 100644 plugins/YammerImport/forms/yammerprogress.php delete mode 100644 plugins/YammerImport/lib/snyammerclient.php delete mode 100644 plugins/YammerImport/lib/yammerimporter.php delete mode 100644 plugins/YammerImport/lib/yammerqueuehandler.php delete mode 100644 plugins/YammerImport/lib/yammerrunner.php delete mode 100644 plugins/YammerImport/locale/YammerImport.pot delete mode 100644 plugins/YammerImport/locale/br/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/de/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/es/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/eu/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/fr/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/gl/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/ia/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/mk/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/ms/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/nl/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/pl/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/ru/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/tl/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/tr/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/locale/uk/LC_MESSAGES/YammerImport.po delete mode 100644 plugins/YammerImport/scripts/yammer-import.php diff --git a/plugins/APC/APCPlugin.php b/plugins/APC/APCPlugin.php deleted file mode 100644 index 284a658239..0000000000 --- a/plugins/APC/APCPlugin.php +++ /dev/null @@ -1,116 +0,0 @@ -. - * - * @category Cache - * @package StatusNet - * @author Evan Prodromou - * @copyright 2009 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - // This check helps protect against security problems; - // your code file can't be executed directly from the web. - exit(1); -} - -/** - * A plugin to use APC's variable cache for the cache interface - * - * New plugin interface lets us use alternative cache systems - * for caching. This one uses APC's variable cache. - * - * @category Cache - * @package StatusNet - * @author Evan Prodromou - * @copyright 2009 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ - -class APCPlugin extends Plugin -{ - /** - * Get a value associated with a key - * - * The value should have been set previously. - * - * @param string &$key in; Lookup key - * @param mixed &$value out; value associated with key - * - * @return boolean hook success - */ - function onStartCacheGet(&$key, &$value) - { - $value = apc_fetch($key); - Event::handle('EndCacheGet', array($key, &$value)); - return false; - } - - /** - * Associate a value with a key - * - * @param string &$key in; Key to use for lookups - * @param mixed &$value in; Value to associate - * @param integer &$flag in; Flag (passed through to Memcache) - * @param integer &$expiry in; Expiry (passed through to Memcache) - * @param boolean &$success out; Whether the set was successful - * - * @return boolean hook success - */ - function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success) - { - $success = apc_store($key, $value, ((is_null($expiry)) ? 0 : $expiry)); - - Event::handle('EndCacheSet', array($key, $value, $flag, - $expiry)); - return false; - } - - /** - * Delete a value associated with a key - * - * @param string &$key in; Key to lookup - * @param boolean &$success out; whether it worked - * - * @return boolean hook success - */ - function onStartCacheDelete(&$key, &$success) - { - $success = apc_delete($key); - Event::handle('EndCacheDelete', array($key)); - return false; - } - - function onPluginVersion(&$versions) - { - $versions[] = array('name' => 'APC', - 'version' => GNUSOCIAL_VERSION, - 'author' => 'Evan Prodromou', - 'homepage' => 'http://status.net/wiki/Plugin:APC', - 'rawdescription' => - // TRANS: Plugin description. - _m('Use the APC variable cache to cache query results.')); - return true; - } -} diff --git a/plugins/APC/locale/APC.pot b/plugins/APC/locale/APC.pot deleted file mode 100644 index f1bfc29977..0000000000 --- a/plugins/APC/locale/APC.pot +++ /dev/null @@ -1,24 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. TRANS: Plugin description. -#: APCPlugin.php:113 -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" diff --git a/plugins/APC/locale/ast/LC_MESSAGES/APC.po b/plugins/APC/locale/ast/LC_MESSAGES/APC.po deleted file mode 100644 index 7782c92362..0000000000 --- a/plugins/APC/locale/ast/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Asturian (asturianu) -# Exported from translatewiki.net -# -# Author: Xuacu -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Language-Team: Asturian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ast\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Usar la caché variable APC " -"pa cachear los resultaos de la consulta." diff --git a/plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po b/plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po deleted file mode 100644 index 008562f58c..0000000000 --- a/plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Belarusian (Taraškievica orthography) (‪беларуская (тарашкевіца)‬) -# Exported from translatewiki.net -# -# Author: EugeneZelenko -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Language-Team: Belarusian (Taraškievica orthography) \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: be-tarask\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Выкарыстоўваць кэш зьменных APC для захаваньня вынікаў запытаў." diff --git a/plugins/APC/locale/br/LC_MESSAGES/APC.po b/plugins/APC/locale/br/LC_MESSAGES/APC.po deleted file mode 100644 index f34f343150..0000000000 --- a/plugins/APC/locale/br/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Breton (brezhoneg) -# Exported from translatewiki.net -# -# Author: Fulup -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Language-Team: Breton \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: br\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Ober gant an APC grubuilh " -"kemm-digemm evit krubuilhañ disoc'hoù ar rekedoù." diff --git a/plugins/APC/locale/de/LC_MESSAGES/APC.po b/plugins/APC/locale/de/LC_MESSAGES/APC.po deleted file mode 100644 index f04f6fd7ee..0000000000 --- a/plugins/APC/locale/de/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to German (Deutsch) -# Exported from translatewiki.net -# -# Author: Fujnky -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Language-Team: German \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: de\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Benutze den APC-Variablen-" -"Cache um Anfragenergebnisse zwischenzuspeichern." diff --git a/plugins/APC/locale/es/LC_MESSAGES/APC.po b/plugins/APC/locale/es/LC_MESSAGES/APC.po deleted file mode 100644 index 06292172bf..0000000000 --- a/plugins/APC/locale/es/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Spanish (español) -# Exported from translatewiki.net -# -# Author: Translationista -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Language-Team: Spanish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: es\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Usa el caché de variable APC " -"para copiar en caché los resultados de consulta." diff --git a/plugins/APC/locale/eu/LC_MESSAGES/APC.po b/plugins/APC/locale/eu/LC_MESSAGES/APC.po deleted file mode 100644 index 10ef3d5781..0000000000 --- a/plugins/APC/locale/eu/LC_MESSAGES/APC.po +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of StatusNet - APC to Basque (euskara) -# Exported from translatewiki.net -# -# Author: Artsuaga -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:37+0000\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Translation-Project: translatewiki.net \n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Erabili APC aldagairen " -"katxea kontsultako emaitzak katxean kopiatzeko." diff --git a/plugins/APC/locale/fr/LC_MESSAGES/APC.po b/plugins/APC/locale/fr/LC_MESSAGES/APC.po deleted file mode 100644 index ae3819591c..0000000000 --- a/plugins/APC/locale/fr/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to French (français) -# Exported from translatewiki.net -# -# Author: Verdy p -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: French \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: fr\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Utilisez le cache variable APC pour mettre en cache les résultats de requêtes." diff --git a/plugins/APC/locale/gl/LC_MESSAGES/APC.po b/plugins/APC/locale/gl/LC_MESSAGES/APC.po deleted file mode 100644 index d8181340fb..0000000000 --- a/plugins/APC/locale/gl/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Galician (galego) -# Exported from translatewiki.net -# -# Author: Toliño -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Galician \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: gl\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Use a caché variable APC " -"para memorizar os resultados da pescuda." diff --git a/plugins/APC/locale/he/LC_MESSAGES/APC.po b/plugins/APC/locale/he/LC_MESSAGES/APC.po deleted file mode 100644 index ed0603cc2d..0000000000 --- a/plugins/APC/locale/he/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Hebrew (עברית) -# Exported from translatewiki.net -# -# Author: YaronSh -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Hebrew \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: he\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"שימוש במטמון המשתנים APC כדי " -"לשמור תוצאות לשאילתות במטמון." diff --git a/plugins/APC/locale/ia/LC_MESSAGES/APC.po b/plugins/APC/locale/ia/LC_MESSAGES/APC.po deleted file mode 100644 index 0e54c48c49..0000000000 --- a/plugins/APC/locale/ia/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Interlingua (interlingua) -# Exported from translatewiki.net -# -# Author: McDutchie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Interlingua \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ia\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Usar le cache de variabiles APC pro immagazinar le resultatos de consultas." diff --git a/plugins/APC/locale/id/LC_MESSAGES/APC.po b/plugins/APC/locale/id/LC_MESSAGES/APC.po deleted file mode 100644 index 3a03574d46..0000000000 --- a/plugins/APC/locale/id/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Indonesian (Bahasa Indonesia) -# Exported from translatewiki.net -# -# Author: Farras -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Indonesian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: id\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Gunakan singgahan variabel APC untuk menyinggah hasil pencarian." diff --git a/plugins/APC/locale/it/LC_MESSAGES/APC.po b/plugins/APC/locale/it/LC_MESSAGES/APC.po deleted file mode 100644 index da7bfc1c74..0000000000 --- a/plugins/APC/locale/it/LC_MESSAGES/APC.po +++ /dev/null @@ -1,27 +0,0 @@ -# Translation of StatusNet - APC to Italian (italiano) -# Exported from translatewiki.net -# -# Author: Ximo17 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Translation-Project: translatewiki.net \n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Utilizzare la cache variabile APC per i risultati della query cache." diff --git a/plugins/APC/locale/mk/LC_MESSAGES/APC.po b/plugins/APC/locale/mk/LC_MESSAGES/APC.po deleted file mode 100644 index a146ba75a2..0000000000 --- a/plugins/APC/locale/mk/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Macedonian (македонски) -# Exported from translatewiki.net -# -# Author: Bjankuloski06 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Macedonian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: mk\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Користи променлив кеш APC за " -"кеширање на резултати од барања." diff --git a/plugins/APC/locale/ms/LC_MESSAGES/APC.po b/plugins/APC/locale/ms/LC_MESSAGES/APC.po deleted file mode 100644 index c020f23dd3..0000000000 --- a/plugins/APC/locale/ms/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Malay (Bahasa Melayu) -# Exported from translatewiki.net -# -# Author: Anakmalaysia -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Malay \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ms\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Gunakan cache pembolehubah APC untuk meng-cache-kan hasil pertanyaan." diff --git a/plugins/APC/locale/nb/LC_MESSAGES/APC.po b/plugins/APC/locale/nb/LC_MESSAGES/APC.po deleted file mode 100644 index 8196b42f82..0000000000 --- a/plugins/APC/locale/nb/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Norwegian Bokmål (‪norsk (bokmål)‬) -# Exported from translatewiki.net -# -# Author: Nghtwlkr -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Norwegian Bokmål \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: nb\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Bruk APC-" -"variabelhurtiglagring til å hurtiglagre søkeresultat." diff --git a/plugins/APC/locale/nl/LC_MESSAGES/APC.po b/plugins/APC/locale/nl/LC_MESSAGES/APC.po deleted file mode 100644 index 6676ef1b03..0000000000 --- a/plugins/APC/locale/nl/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Dutch (Nederlands) -# Exported from translatewiki.net -# -# Author: McDutchie -# Author: Siebrand -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:38+0000\n" -"Language-Team: Dutch \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: nl\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"De variabelencache APC " -"gebruiken om resultaten van zoekopdrachten te cachen." diff --git a/plugins/APC/locale/pl/LC_MESSAGES/APC.po b/plugins/APC/locale/pl/LC_MESSAGES/APC.po deleted file mode 100644 index 4d043702e9..0000000000 --- a/plugins/APC/locale/pl/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Polish (polski) -# Exported from translatewiki.net -# -# Author: Sp5uhe -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Polish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pl\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && " -"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Korzystaj z APC pamięci " -"podręcznej zmiennych do przechowywania wyników zapytań." diff --git a/plugins/APC/locale/pt/LC_MESSAGES/APC.po b/plugins/APC/locale/pt/LC_MESSAGES/APC.po deleted file mode 100644 index 2a639cfbe0..0000000000 --- a/plugins/APC/locale/pt/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Portuguese (português) -# Exported from translatewiki.net -# -# Author: Waldir -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Portuguese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pt\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Usar o APC para armazenar " -"resultados de consultas em cache." diff --git a/plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po b/plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po deleted file mode 100644 index b029a0abee..0000000000 --- a/plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Brazilian Portuguese (português do Brasil) -# Exported from translatewiki.net -# -# Author: Giro720 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Brazilian Portuguese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pt-br\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Usar o APC para armazenar " -"resultados de consultas em cache." diff --git a/plugins/APC/locale/ru/LC_MESSAGES/APC.po b/plugins/APC/locale/ru/LC_MESSAGES/APC.po deleted file mode 100644 index 3a67e1bd1a..0000000000 --- a/plugins/APC/locale/ru/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Russian (русский) -# Exported from translatewiki.net -# -# Author: Александр Сигачёв -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Russian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ru\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Использование кеша переменных APC для хранения результатов запросов." diff --git a/plugins/APC/locale/tl/LC_MESSAGES/APC.po b/plugins/APC/locale/tl/LC_MESSAGES/APC.po deleted file mode 100644 index 2ade2232d2..0000000000 --- a/plugins/APC/locale/tl/LC_MESSAGES/APC.po +++ /dev/null @@ -1,30 +0,0 @@ -# Translation of StatusNet - APC to Tagalog (Tagalog) -# Exported from translatewiki.net -# -# Author: AnakngAraw -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Tagalog \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: tl\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Gamitin ang pabagubagong taguan ng APC upang ikubli ang resulta ng pagtatanong." diff --git a/plugins/APC/locale/uk/LC_MESSAGES/APC.po b/plugins/APC/locale/uk/LC_MESSAGES/APC.po deleted file mode 100644 index 18b70e496f..0000000000 --- a/plugins/APC/locale/uk/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Ukrainian (українська) -# Exported from translatewiki.net -# -# Author: Boogie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Ukrainian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: uk\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"Використання APC для " -"різноманітних запитів до кешу." diff --git a/plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po b/plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po deleted file mode 100644 index 34b06cdedf..0000000000 --- a/plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po +++ /dev/null @@ -1,31 +0,0 @@ -# Translation of StatusNet - APC to Simplified Chinese (‪中文(简体)‬) -# Exported from translatewiki.net -# -# Author: Chenxiaoqino -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - APC\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:39+0000\n" -"Language-Team: Simplified Chinese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: zh-hans\n" -"X-Message-Group: #out-statusnet-plugin-apc\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Plugin description. -msgid "" -"Use the APC variable cache " -"to cache query results." -msgstr "" -"使用 APC 变量缓存来缓存查询结" -"果。" diff --git a/plugins/Adsense/AdsensePlugin.php b/plugins/Adsense/AdsensePlugin.php deleted file mode 100644 index 742e7bf366..0000000000 --- a/plugins/Adsense/AdsensePlugin.php +++ /dev/null @@ -1,199 +0,0 @@ -. - * - * @category Ads - * @package StatusNet - * @author Evan Prodromou - * @copyright 2010 StatusNet Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - exit(1); -} - -/** - * Plugin to add Google Adsense to StatusNet sites - * - * This plugin lets you add Adsense ad units to your StatusNet site. - * - * We support the 4 ad sizes for the Universal Ad Platform (UAP): - * - * Medium Rectangle - * (Small) Rectangle - * Leaderboard - * Wide Skyscraper - * - * They fit in different places on the default theme. Some themes - * might interact quite poorly with this plugin. - * - * To enable advertising, you must sign up with Google Adsense and - * get a client ID. - * - * https://www.google.com/adsense/ - * - * You'll also need to create an Adsense for Content unit in one - * of the four sizes described above. At the end of the process, - * note the "google_ad_client" and "google_ad_slot" values in the - * resultant Javascript. - * - * Add the plugin to config.php like so: - * - * addPlugin('Adsense', array('client' => 'Your client ID', - * 'rectangle' => 'slot')); - * - * Here, your client ID is the value of google_ad_client and the - * slot is the value of google_ad_slot. Note that if you create - * a different size, you'll need to provide different arguments: - * 'mediumRectangle', 'leaderboard', or 'wideSkyscraper'. - * - * If for some reason your ad server is different from the default, - * use the 'adScript' parameter to set the full path to the ad script. - * - * @category Plugin - * @package StatusNet - * @author Evan Prodromou - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - * - * @seeAlso UAPPlugin - */ -class AdsensePlugin extends UAPPlugin -{ - public $adScript = 'http://pagead2.googlesyndication.com/pagead/show_ads.js'; - public $client = null; - - function initialize() - { - parent::initialize(); - - // A little bit of chicanery so we avoid overwriting values that - // are passed in with the constructor - foreach (array('mediumRectangle', 'rectangle', 'leaderboard', 'wideSkyscraper', 'adScript', 'client') as $setting) { - $value = common_config('adsense', strtolower($setting)); - if (!empty($value)) { // not found - $this->$setting = $value; - } - } - } - - /** - * Show a medium rectangle 'ad' - * - * @param Action $action Action being shown - * - * @return void - */ - protected function showMediumRectangle($action) - { - $this->showAdsenseCode($action, 300, 250, $this->mediumRectangle); - } - - /** - * Show a rectangle 'ad' - * - * @param Action $action Action being shown - * - * @return void - */ - protected function showRectangle($action) - { - $this->showAdsenseCode($action, 180, 150, $this->rectangle); - } - - /** - * Show a wide skyscraper ad - * - * @param Action $action Action being shown - * - * @return void - */ - protected function showWideSkyscraper($action) - { - $this->showAdsenseCode($action, 160, 600, $this->wideSkyscraper); - } - - /** - * Show a leaderboard ad - * - * @param Action $action Action being shown - * - * @return void - */ - protected function showLeaderboard($action) - { - $this->showAdsenseCode($action, 728, 90, $this->leaderboard); - } - - /** - * Output the bits of JavaScript code to show Adsense - * - * @param Action $action Action being shown - * @param integer $width Width of the block - * @param integer $height Height of the block - * @param string $slot Slot identifier - * - * @return void - */ - protected function showAdsenseCode($action, $width, $height, $slot) - { - $code = 'google_ad_client = "'.$this->client.'"; '; - $code .= 'google_ad_slot = "'.$slot.'"; '; - $code .= 'google_ad_width = '.$width.'; '; - $code .= 'google_ad_height = '.$height.'; '; - - $action->inlineScript($code); - - $action->script($this->adScript); - } - - function onRouterInitialized($m) - { - $m->connect('panel/adsense', - array('action' => 'adsenseadminpanel')); - - return true; - } - - function onEndAdminPanelNav($menu) { - if (AdminPanelAction::canAdmin('adsense')) { - // TRANS: Menu item title/tooltip - $menu_title = _m('AdSense configuration'); - // TRANS: Menu item for site administration - $menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('MENU','AdSense'), - $menu_title, $action_name == 'adsenseadminpanel', 'nav_adsense_admin_panel'); - } - return true; - } - - function onPluginVersion(&$versions) - { - $versions[] = array('name' => 'BlankAdPlugin', - 'version' => GNUSOCIAL_VERSION, - 'author' => 'Evan Prodromou', - 'homepage' => 'http://status.net/wiki/Plugin:Adsense', - 'rawdescription' => - // TRANS: Plugin description. - _m('Plugin to add Google AdSense to StatusNet sites.')); - return true; - } -} diff --git a/plugins/Adsense/actions/adsenseadminpanel.php b/plugins/Adsense/actions/adsenseadminpanel.php deleted file mode 100644 index 8a5c0cf07e..0000000000 --- a/plugins/Adsense/actions/adsenseadminpanel.php +++ /dev/null @@ -1,227 +0,0 @@ -. - * - * @category Adsense - * @package StatusNet - * @author Evan Prodromou - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - exit(1); -} - -/** - * Administer adsense settings - * - * @category Adsense - * @package StatusNet - * @author Evan Prodromou - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ -class AdsenseadminpanelAction extends AdminPanelAction -{ - /** - * Returns the page title - * - * @return string page title - */ - function title() - { - // TRANS: Title of AdSense administrator panel. - return _m('TITLE', 'AdSense'); - } - - /** - * Instructions for using this form. - * - * @return string instructions - */ - function getInstructions() - { - // TRANS: Instructions for AdSense administrator panel. - return _m('AdSense settings for this StatusNet site'); - } - - /** - * Show the site admin panel form - * - * @return void - */ - function showForm() - { - $form = new AdsenseAdminPanelForm($this); - $form->show(); - return; - } - - /** - * Save settings from the form - * - * @return void - */ - function saveSettings() - { - static $settings = array('adsense' => array('adScript', 'client', 'mediumRectangle', 'rectangle', 'leaderboard', 'wideSkyscraper')); - - $values = array(); - - foreach ($settings as $section => $parts) { - foreach ($parts as $setting) { - $values[$section][$setting] = $this->trimmed($setting); - } - } - - // This throws an exception on validation errors - $this->validate($values); - - // assert(all values are valid); - $config = new Config(); - - $config->query('BEGIN'); - - foreach ($settings as $section => $parts) { - foreach ($parts as $setting) { - Config::save($section, $setting, $values[$section][$setting]); - } - } - - $config->query('COMMIT'); - - return; - } - - function validate(&$values) - { - } -} - -/** - * Form for the adsense admin panel - */ -class AdsenseAdminPanelForm extends AdminForm -{ - /** - * ID of the form - * - * @return int ID of the form - */ - function id() - { - return 'form_adsense_admin_panel'; - } - - /** - * class of the form - * - * @return string class of the form - */ - function formClass() - { - return 'form_adsense'; - } - - /** - * Action of the form - * - * @return string URL of the action - */ - function action() - { - return common_local_url('adsenseadminpanel'); - } - - /** - * Data elements of the form - * - * @return void - */ - function formData() - { - $this->out->elementStart('fieldset', array('id' => 'adsense_admin')); - $this->out->elementStart('ul', 'form_data'); - $this->li(); - $this->input('client', - // TRANS: Field label in AdSense administration panel. - _m('Client ID'), - // TRANS: Field title in AdSense administration panel. - _m('Google client ID.'), - 'adsense'); - $this->unli(); - $this->li(); - $this->input('adScript', - // TRANS: Field label in AdSense administration panel. - _m('Ad script URL'), - // TRANS: Field title in AdSense administration panel. - _m('Script URL (advanced).'), - 'adsense'); - $this->unli(); - $this->li(); - $this->input('mediumRectangle', - // TRANS: Field label in AdSense administration panel. - _m('Medium rectangle'), - // TRANS: Field title in AdSense administration panel. - _m('Medium rectangle slot code.'), - 'adsense'); - $this->unli(); - $this->li(); - $this->input('rectangle', - // TRANS: Field label in AdSense administration panel. - _m('Rectangle'), - // TRANS: Field title in AdSense administration panel. - _m('Rectangle slot code.'), - 'adsense'); - $this->unli(); - $this->li(); - $this->input('leaderboard', - // TRANS: Field label in AdSense administration panel. - _m('Leaderboard'), - // TRANS: Field title in AdSense administration panel. - _m('Leaderboard slot code.'), - 'adsense'); - $this->unli(); - $this->li(); - $this->input('wideSkyscraper', - // TRANS: Field label in AdSense administration panel. - _m('Skyscraper'), - // TRANS: Field title in AdSense administration panel. - _m('Wide skyscraper slot code.'), - 'adsense'); - $this->unli(); - $this->out->elementEnd('ul'); - } - - /** - * Action elements - * - * @return void - */ - function formActions() - { - // TRANS: Button text to save settings in AdSense administration panel. - $this->out->submit('submit', _m('BUTTON','Save'), - // TRANS: Button title to save settings in AdSense administration panel. - 'submit', null, _m('Save AdSense settings.')); - } -} diff --git a/plugins/Adsense/locale/Adsense.pot b/plugins/Adsense/locale/Adsense.pot deleted file mode 100644 index 059633a21f..0000000000 --- a/plugins/Adsense/locale/Adsense.pot +++ /dev/null @@ -1,115 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. TRANS: Menu item title/tooltip -#: AdsensePlugin.php:194 -msgid "AdSense configuration" -msgstr "" - -#. TRANS: Menu item for site administration -#: AdsensePlugin.php:196 -msgctxt "MENU" -msgid "AdSense" -msgstr "" - -#. TRANS: Plugin description. -#: AdsensePlugin.php:210 -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#. TRANS: Title of AdSense administrator panel. -#: adsenseadminpanel.php:53 -msgctxt "TITLE" -msgid "AdSense" -msgstr "" - -#. TRANS: Instructions for AdSense administrator panel. -#: adsenseadminpanel.php:64 -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:167 -msgid "Client ID" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:169 -msgid "Google client ID." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:175 -msgid "Ad script URL" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:177 -msgid "Script URL (advanced)." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:183 -msgid "Medium rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:185 -msgid "Medium rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:191 -msgid "Rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:193 -msgid "Rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:199 -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:201 -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -#: adsenseadminpanel.php:207 -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#: adsenseadminpanel.php:209 -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -#: adsenseadminpanel.php:223 -msgctxt "BUTTON" -msgid "Save" -msgstr "" - -#. TRANS: Button title to save settings in AdSense administration panel. -#: adsenseadminpanel.php:225 -msgid "Save AdSense settings." -msgstr "" diff --git a/plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po deleted file mode 100644 index 7e25c7e38f..0000000000 --- a/plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,112 +0,0 @@ -# Translation of StatusNet - Adsense to Belarusian (Taraškievica orthography) (‪беларуская (тарашкевіца)‬) -# Exported from translatewiki.net -# -# Author: EugeneZelenko -# Author: Jim-by -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Belarusian (Taraškievica orthography) \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: be-tarask\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Устаноўкі AdSense" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Дапаўненьне для даданьня Google AdSense на сайты StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Устаноўкі AdSense для гэтага сайта StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Ідэнтыфікатар кліента" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "Ідэнтыфікатар кліента Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL-адрас скрыпта рэклямы" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "URL-адрас скрыпта (палепшаная ўстаноўка)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Сярэдні прамавугольнік" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "Слот-код сярэдняга прамавугольніка" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Прамавугольнік" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "Слот-код прамавугольніка" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Дошка гонару" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Leaderboard slot code." -msgstr "Слот-код дошкі гонару" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Хмарачос" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Wide skyscraper slot code." -msgstr "Слот-код хмарачосу" - -#. TRANS: Button text to save settings in AdSense administration panel. -#, fuzzy -msgctxt "BUTTON" -msgid "Save" -msgstr "Захаваць" - -#. TRANS: Button title to save settings in AdSense administration panel. -#, fuzzy -msgid "Save AdSense settings." -msgstr "Захаваць устаноўкі AdSense" diff --git a/plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po deleted file mode 100644 index f26af607c5..0000000000 --- a/plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,110 +0,0 @@ -# Translation of StatusNet - Adsense to Breton (brezhoneg) -# Exported from translatewiki.net -# -# Author: Y-M D -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Breton \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: br\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Kefluniadur AdSense" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plugin evit ouzhpennañ Google AdSense da lec'hiennoù StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Arventennoù Adsense evit al lec'hienn StatusNet-mañ." - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID an arval" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "ID an arval Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL ar skript kemenn" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "URL ar skript (araokaet)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Skouergornek etre" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "Kod lakaet en ur skouergornek etre" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Skouergornek" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "Kod lakaet er skouergornek" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Panell an urzhiadoù" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Leaderboard slot code." -msgstr "Kod lakaet e panell an urzhiadoù" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Giton a-serzh" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Wide skyscraper slot code." -msgstr "Kod lakaet en ur giton ledan a-serzh" - -#. TRANS: Button text to save settings in AdSense administration panel. -#, fuzzy -msgctxt "BUTTON" -msgid "Save" -msgstr "Enrollañ" - -#. TRANS: Button title to save settings in AdSense administration panel. -#, fuzzy -msgid "Save AdSense settings." -msgstr "Enrollañ arventennoù AdSense" diff --git a/plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po deleted file mode 100644 index 602471f357..0000000000 --- a/plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Catalan (català) -# Exported from translatewiki.net -# -# Author: Toniher -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Catalan \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ca\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuració de l'AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" -"Connector per afegir el Google AdSense a llocs web basats en StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Paràmetres de l'AdSense per a aquest lloc basat en StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID del client" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID del client de Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL de l'script de l'anunci" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL de l'script (avançat)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rectangle mitjà" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Codi de ranura del rectangle mitjà" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectangle" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Codi de ranura del rectangle" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Desa" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Desa els paràmetres de l'AdSense." diff --git a/plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po deleted file mode 100644 index 446abce765..0000000000 --- a/plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,106 +0,0 @@ -# Translation of StatusNet - Adsense to German (Deutsch) -# Exported from translatewiki.net -# -# Author: Fujnky -# Author: Giftpflanze -# Author: MF-Warburg -# Author: Marcel083 -# Author: Michael -# Author: The Evil IP address -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: German \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: de\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense-Konfiguration" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plugin, das Google AdSense auf StatusNet-Websites hinzufügt." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense-Einstellungen dieser StatusNet-Website" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Client-ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google-Client-ID" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Skript-URL" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "Skript-URL (erweitert)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Mittleres Rechteck" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Slotcode des mittleren Rechtecks." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rechteck" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Rectangle-Slot-Code." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Rangliste" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Slotcode der Rangliste." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Hochhaus" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Slotcode des weiten Hochhauses." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Speichern" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "AdSense-Einstellungen speichern" diff --git a/plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po deleted file mode 100644 index 20f3e6e92c..0000000000 --- a/plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,103 +0,0 @@ -# Translation of StatusNet - Adsense to Spanish (español) -# Exported from translatewiki.net -# -# Author: Armando-Martin -# Author: Erchache2000 -# Author: Translationista -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Spanish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: es\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuración de \"AdSense\"" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Extensión para añadir Google AdSense a sitios StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "configuración de AdSense para este sitio StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID de cliente" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID de cliente de Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL del script del anuncio" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL del script (avanzado)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rectángulo mediano" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Código de espacio de rectángulo mediano" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectángulo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Código de espacio de rectángulo" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Clasificación" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Código colocado en el panel de comandos" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Banderola rascacielos" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Código colocado en rectángulo (''banner'') vertical ancho" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Guardar" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Guardar configuración de AdSense." diff --git a/plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po deleted file mode 100644 index 883700a089..0000000000 --- a/plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Basque (euskara) -# Exported from translatewiki.net -# -# Author: Artsuaga -# Author: Unai Fdz. de Betoño -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Basque \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: eu\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense konfigurazioa" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Google Adsense Statusnet guneetara gehitzeko plugina." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense aukerak StatusNet gune hontarako" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID bezeroa" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google bezero IDa." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Gehitu scriptaren URLa" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "Scriptaren URLa (aurreratua)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Laukizuzen ertaina" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Lauki ertaineko kodea." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Laukizuzena" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Laukiko kodea." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Sailkapena" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Sailkapeneko kodea." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Lauki bertikala" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Lauki bertikaleko kodea." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Gorde" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Gorde AdSense aukerak." diff --git a/plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po deleted file mode 100644 index 5b7e4c5e98..0000000000 --- a/plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,105 +0,0 @@ -# Translation of StatusNet - Adsense to French (français) -# Exported from translatewiki.net -# -# Author: Brunoperel -# Author: Iketsi -# Author: Od1n -# Author: Peter17 -# Author: Verdy p -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: French \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: fr\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuration d’AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Greffon pour ajouter Google AdSense aux sites StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Paramètres AdSense pour ce site StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Identifiant du client" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID client Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Adresse URL du script d’annonce" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL du script (avancé)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rectangle moyen" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Code placé dans un rectangle moyen" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectangle" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Codé placé dans le rectangle" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Panneau de commande" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Code placé dans le panneau de commande" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Bannière verticale" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Code placé dans une bannière verticale large" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Sauvegarder" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Sauvegarder les paramètres AdSense." diff --git a/plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po deleted file mode 100644 index a054ca872d..0000000000 --- a/plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Galician (galego) -# Exported from translatewiki.net -# -# Author: Toliño -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Galician \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: gl\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuración de AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Complemento para engadir Google AdSense aos sitios de StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Configuración de AdSense para este sitio StatusNet." - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Identificación do cliente" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Identificación do cliente de Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Enderezo URL da escritura do anuncio" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "Enderezo URL da escritura (avanzado)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rectángulo mediano" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Código disposto no rectángulo mediano." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectángulo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Código disposto no rectángulo." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Taboleiro de logros" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Código disposto no taboleiro de logros." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Rañaceos" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Código disposto no rañaceos." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Gardar" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Gardar a configuración de AdSense." diff --git a/plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po deleted file mode 100644 index e636877490..0000000000 --- a/plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Hebrew (עברית) -# Expored from translatewiki.net -# -# Author: YaronSh -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-01-15 00:20+0000\n" -"PO-Revision-Date: 2011-01-15 00:23:05+0000\n" -"Language-Team: Hebrew \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-01-14 13:18:25+0000\n" -"X-Generator: MediaWiki 1.18alpha (r80364); Translate extension (2010-09-17)\n" -"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" -"X-Language-Code: he\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -#: AdsensePlugin.php:194 -msgid "AdSense configuration" -msgstr "תצורת AdSense" - -#. TRANS: Menu item for site administration -#: AdsensePlugin.php:196 -msgid "AdSense" -msgstr "" - -#: AdsensePlugin.php:209 -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#: adsenseadminpanel.php:52 -msgctxt "TITLE" -msgid "AdSense" -msgstr "" - -#: adsenseadminpanel.php:62 -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#: adsenseadminpanel.php:164 -msgid "Client ID" -msgstr "" - -#: adsenseadminpanel.php:165 -msgid "Google client ID" -msgstr "" - -#: adsenseadminpanel.php:170 -msgid "Ad script URL" -msgstr "" - -#: adsenseadminpanel.php:171 -msgid "Script URL (advanced)" -msgstr "" - -#: adsenseadminpanel.php:176 -msgid "Medium rectangle" -msgstr "" - -#: adsenseadminpanel.php:177 -msgid "Medium rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:182 -msgid "Rectangle" -msgstr "" - -#: adsenseadminpanel.php:183 -msgid "Rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:188 -msgid "Leaderboard" -msgstr "" - -#: adsenseadminpanel.php:189 -msgid "Leaderboard slot code" -msgstr "" - -#: adsenseadminpanel.php:194 -msgid "Skyscraper" -msgstr "גורד שחקים" - -#: adsenseadminpanel.php:195 -msgid "Wide skyscraper slot code" -msgstr "" - -#: adsenseadminpanel.php:208 -msgid "Save" -msgstr "שמירה" - -#: adsenseadminpanel.php:208 -msgid "Save AdSense settings" -msgstr "" diff --git a/plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po deleted file mode 100644 index a0f7d9efaa..0000000000 --- a/plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Interlingua (interlingua) -# Exported from translatewiki.net -# -# Author: McDutchie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:31+0000\n" -"Language-Team: Interlingua \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ia\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuration de AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plug-in pro adder Google AdSense a sitos StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Configuration de AdSense pro iste sito StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID de cliente" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID de cliente Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL del script de publicitate" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL del script (avantiate)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rectangulo medie" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Codice pro interstitio a rectangulo medie." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectangulo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Codice pro interstitio a rectangulo." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Bandiera large" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Codice pro interstitio a bandiera large." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Grattacelo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Codice pro interstitio a grattacelo large." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Salveguardar" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Salveguardar configurationes de AdSense." diff --git a/plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po deleted file mode 100644 index 97187bd245..0000000000 --- a/plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,104 +0,0 @@ -# Translation of StatusNet - Adsense to Italian (italiano) -# Exported from translatewiki.net -# -# Author: Milocasagrande -# Author: Od1n -# Author: Rippitippi -# Author: Ximo17 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Italian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: it\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configurazione AdSene" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plugin per aggiungere Google AdSense ai siti StatusNet" - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Impostazioni AdSense per questo sito StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID client" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Codice utente Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL script Ad" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL script (avanzato)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Rettangolo medio" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Rettangolo medio" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rettangolo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Codice di apertura del rettangolo." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Classifica" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Codice di apertura della bacheca principale." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Banner" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Codice di apertura del banner esteso." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Salva" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Salva le impostazioni di AdSense." diff --git a/plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po deleted file mode 100644 index f8e243f74b..0000000000 --- a/plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,99 +0,0 @@ -# Translation of StatusNet - Adsense to Japanese (日本語) -# Exported from translatewiki.net -# -# Author: Miwa ka -# Author: Shirayuki -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Translation-Project: translatewiki.net \n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense の設定" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "クライアント ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google のクライアント ID です。" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "保存" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "AdSense 設定を保存する" diff --git a/plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po deleted file mode 100644 index 38fa7a54ad..0000000000 --- a/plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,106 +0,0 @@ -# Translation of StatusNet - Adsense to Georgian (ქართული) -# Exported from translatewiki.net -# -# Author: Zaal -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Georgian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ka\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense კონფიგურაცია" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense პარამეტრები ამ საიტისათვის." - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "კლიენტის ID" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "Google კლიენტის ID" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "სარეკლამო სკრიპტის URL" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "სკრიპტის URL (გაფართოებული)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "საშუალო მართკუთხედი" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "საშუალო მართკუთხედი" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "მართკუთხედი" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "მართკუთხედი" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "" diff --git a/plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po deleted file mode 100644 index 8126640244..0000000000 --- a/plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Luxembourgish (Lëtzebuergesch) -# Expored from translatewiki.net -# -# Author: Robby -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-01-14 10:29+0000\n" -"PO-Revision-Date: 2011-01-14 10:32:40+0000\n" -"Language-Team: Luxembourgish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-01-10 18:25:56+0000\n" -"X-Generator: MediaWiki 1.18alpha (r80246); Translate extension (2010-09-17)\n" -"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" -"X-Language-Code: lb\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -#: AdsensePlugin.php:194 -msgid "AdSense configuration" -msgstr "AdSense Astellungen" - -#. TRANS: Menu item for site administration -#: AdsensePlugin.php:196 -msgid "AdSense" -msgstr "" - -#: AdsensePlugin.php:209 -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#: adsenseadminpanel.php:52 -msgctxt "TITLE" -msgid "AdSense" -msgstr "" - -#: adsenseadminpanel.php:62 -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#: adsenseadminpanel.php:164 -msgid "Client ID" -msgstr "" - -#: adsenseadminpanel.php:165 -msgid "Google client ID" -msgstr "" - -#: adsenseadminpanel.php:170 -msgid "Ad script URL" -msgstr "" - -#: adsenseadminpanel.php:171 -msgid "Script URL (advanced)" -msgstr "" - -#: adsenseadminpanel.php:176 -msgid "Medium rectangle" -msgstr "" - -#: adsenseadminpanel.php:177 -msgid "Medium rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:182 -msgid "Rectangle" -msgstr "Rechteck" - -#: adsenseadminpanel.php:183 -msgid "Rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:188 -msgid "Leaderboard" -msgstr "" - -#: adsenseadminpanel.php:189 -msgid "Leaderboard slot code" -msgstr "" - -#: adsenseadminpanel.php:194 -msgid "Skyscraper" -msgstr "Vertikale Banner" - -#: adsenseadminpanel.php:195 -msgid "Wide skyscraper slot code" -msgstr "" - -#: adsenseadminpanel.php:208 -msgid "Save" -msgstr "Späicheren" - -#: adsenseadminpanel.php:208 -msgid "Save AdSense settings" -msgstr "AdSense-Astellunge späicheren" diff --git a/plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po deleted file mode 100644 index eb6c6b1abc..0000000000 --- a/plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Lithuanian (lietuvių) -# Exported from translatewiki.net -# -# Author: Eitvys200 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Lithuanian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: lt\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense konfigūracija" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Įskiepiai Google AdSense pridėjimui į StatusNet svetaines." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense nustatymui šiai StatusNet svetainei" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Kliento ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google kliento ID." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Išsaugoti" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Išsaugoti AdSense nustatymus." diff --git a/plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po deleted file mode 100644 index 4fd523f69c..0000000000 --- a/plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Macedonian (македонски) -# Exported from translatewiki.net -# -# Author: Bjankuloski06 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Macedonian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: mk\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Нагодувања на AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Приклучок за додавање на Google AdSense во мреж. места со StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Поставки на AdSense за ова мрежно место со StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID на клиент" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Назнака на Google-клиент." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL на рекламната скрипта" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL на скриптата (напредно)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Среден правоаголник" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Код на жлебот на средниот правоаголник." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Правоаголник" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Код на жлебот на правоаголникот." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Табла на предводници" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Код на жлебот на таблата на предводници." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Облакодер" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Код на жлебот на широкиот облакодер." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Зачувај" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Зачувај нагодувања на AdSense." diff --git a/plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po deleted file mode 100644 index bf7e0ce03d..0000000000 --- a/plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Malay (Bahasa Melayu) -# Exported from translatewiki.net -# -# Author: Anakmalaysia -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Malay \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ms\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Konfigurasi AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Pemalam untuk menambahkan Google AdSense pada tapak StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Tetapan pengguna untuk tapak StatusNet ini" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID Klien" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID klien Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL skrip iklan" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL Skrip (termaju)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Medium rectangle" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Kod slot segi Medium rectangle." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rectangle" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Kod slot Rectangle." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Leaderboard" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Kod slot Leaderboard." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Skyscraper" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Kod slot Wide skyscraper." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Simpan" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Simpan tetapan AdSense." diff --git a/plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po deleted file mode 100644 index 3a6b923780..0000000000 --- a/plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Norwegian Bokmål (‪norsk (bokmål)‬) -# Exported from translatewiki.net -# -# Author: Nghtwlkr -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Norwegian Bokmål \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: nb\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense-konfigurasjon" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Utvidelse for å legge til Google AdSense til StatusNet-nettsteder." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense-innstillinger for dette StatusNet-nettstedet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Klient-ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google klient-ID." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Lagre" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Lagre AdSense-innstillinger." diff --git a/plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po deleted file mode 100644 index f08fe0504e..0000000000 --- a/plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Dutch (Nederlands) -# Exported from translatewiki.net -# -# Author: Siebrand -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Dutch \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: nl\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense-instellingen" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plug-in om Google AdSense toe te voegen aan Statusnetsites." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense-instellingen voor deze StatusNet-website" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Client-ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr ".Google client-ID." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL voor advertentiescript" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL voor script (gevorderd)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Middelgrote rechthoek" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Slotcode voor gemiddelde rechthoek." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rechthoek" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Slotcode voor rechthoek." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Breedbeeldbanner" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Slotcode voor breedbeeldbanner." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Skyscraper" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Slotcode voor brede skyscraper." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Opslaan" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "AdSense-instellingen opslaan." diff --git a/plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po deleted file mode 100644 index 9dcd7a99fa..0000000000 --- a/plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Polish (Polski) -# Expored from translatewiki.net -# -# Author: Raven -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-01-15 00:20+0000\n" -"PO-Revision-Date: 2011-01-15 00:23:05+0000\n" -"Language-Team: Polish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-01-14 13:18:25+0000\n" -"X-Generator: MediaWiki 1.18alpha (r80364); Translate extension (2010-09-17)\n" -"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" -"X-Language-Code: pl\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && " -"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Menu item title/tooltip -#: AdsensePlugin.php:194 -msgid "AdSense configuration" -msgstr "" - -#. TRANS: Menu item for site administration -#: AdsensePlugin.php:196 -msgid "AdSense" -msgstr "AdSense" - -#: AdsensePlugin.php:209 -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#: adsenseadminpanel.php:52 -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#: adsenseadminpanel.php:62 -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#: adsenseadminpanel.php:164 -msgid "Client ID" -msgstr "" - -#: adsenseadminpanel.php:165 -msgid "Google client ID" -msgstr "" - -#: adsenseadminpanel.php:170 -msgid "Ad script URL" -msgstr "" - -#: adsenseadminpanel.php:171 -msgid "Script URL (advanced)" -msgstr "" - -#: adsenseadminpanel.php:176 -msgid "Medium rectangle" -msgstr "" - -#: adsenseadminpanel.php:177 -msgid "Medium rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:182 -msgid "Rectangle" -msgstr "" - -#: adsenseadminpanel.php:183 -msgid "Rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:188 -msgid "Leaderboard" -msgstr "" - -#: adsenseadminpanel.php:189 -msgid "Leaderboard slot code" -msgstr "" - -#: adsenseadminpanel.php:194 -msgid "Skyscraper" -msgstr "Skyscraper" - -#: adsenseadminpanel.php:195 -msgid "Wide skyscraper slot code" -msgstr "" - -#: adsenseadminpanel.php:208 -msgid "Save" -msgstr "" - -#: adsenseadminpanel.php:208 -msgid "Save AdSense settings" -msgstr "" diff --git a/plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po deleted file mode 100644 index 0d8b9cd40f..0000000000 --- a/plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,108 +0,0 @@ -# Translation of StatusNet - Adsense to Portuguese (português) -# Exported from translatewiki.net -# -# Author: Waldir -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:32+0000\n" -"Language-Team: Portuguese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pt\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuração do AdSense" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plugin para adicionar Google AdSense aos sites StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Configurações do AdSense para este site StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Identificação do cliente" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "ID de cliente Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL do script do anúncio" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "URL do script (avançado)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Retângulo médio" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "Retângulo médio" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Retângulo" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "Retângulo" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "" - -#. TRANS: Button text to save settings in AdSense administration panel. -#, fuzzy -msgctxt "BUTTON" -msgid "Save" -msgstr "Gravar" - -#. TRANS: Button title to save settings in AdSense administration panel. -#, fuzzy -msgid "Save AdSense settings." -msgstr "Gravar as configurações do AdSense" diff --git a/plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po deleted file mode 100644 index 658e7f0440..0000000000 --- a/plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,112 +0,0 @@ -# Translation of StatusNet - Adsense to Brazilian Portuguese (português do Brasil) -# Exported from translatewiki.net -# -# Author: Giro720 -# Author: Luckas Blade -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Brazilian Portuguese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pt-br\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Configuração do AdSense" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Plugin para adicionar Google AdSense aos sites StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Configurações do AdSense para este site StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Identificação do cliente" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "ID de cliente Google" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL do script do anúncio" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "URL do script (avançado)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Retângulo médio" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "Código colocado dentro de um retângulo médio." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Retângulo" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "Código colocado dentro de um retângulo." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Classificação" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Leaderboard slot code." -msgstr "Classificação" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Wide skyscraper slot code." -msgstr "Código colocado dentro de um retângulo." - -#. TRANS: Button text to save settings in AdSense administration panel. -#, fuzzy -msgctxt "BUTTON" -msgid "Save" -msgstr "Salvar" - -#. TRANS: Button title to save settings in AdSense administration panel. -#, fuzzy -msgid "Save AdSense settings." -msgstr "Salvar as configurações do AdSense" diff --git a/plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po deleted file mode 100644 index f25d75269d..0000000000 --- a/plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,108 +0,0 @@ -# Translation of StatusNet - Adsense to Russian (русский) -# Exported from translatewiki.net -# -# Author: Eleferen -# Author: Lockal -# Author: Сrower -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Russian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ru\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Конфигурация AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Плагин для добавления Google AdSense на сайты StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Настройки AdSense для этого сайта StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID клиента" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Идентификатор клиента Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL-адрес скрипта рекламы" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL-адрес скрипта (расширенная настройка)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Средний прямоугольник" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "Слот-код среднего прямоугольника" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Прямоугольник" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "Слот-код прямоугольника" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Доска лидеров" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Leaderboard slot code." -msgstr "Слот-код доски лидеров" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Небоскреб" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Wide skyscraper slot code." -msgstr "Слот-код широкого небоскреба" - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Сохранить" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Сохранить настройки AdSense." diff --git a/plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po deleted file mode 100644 index e670f59f6a..0000000000 --- a/plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Swedish (svenska) -# Exported from translatewiki.net -# -# Author: Jamminjohn -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Swedish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: sv\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Konfiguration av AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" -"Insticksmodul för att lägga till Google AdSense på StatusNet-webbplatser." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "AdSense-inställningar för denna StatusNet-webbplats" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "Klient-ID" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Google klient-ID." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Skript-URL för annons" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "Skript-URL (avancerat)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Medium rektangel" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Platskod för mellanstor rektangel." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Rektangel" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Platskod för rektangel." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Leaderboard" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Platskod för leaderboard." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Skyskrapa" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Platskod för bred skyskrapa." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Spara" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Spara inställningar för AdSense." diff --git a/plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po deleted file mode 100644 index e153c2b8c6..0000000000 --- a/plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Tagalog (Tagalog) -# Exported from translatewiki.net -# -# Author: AnakngAraw -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Tagalog \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: tl\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Pagkakaayos ng AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" -"Pampasak upang maidagdag ang AdSense ng Google sa mga sityo ng StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Mga katakdaan ng Adsense para sa sityong ito ng StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ID ng kliyente" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "ID ng kliyente ng Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "URL ng panitik ng anunsyo" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL ng panitik (mas masulong)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Hindi kalakihang parihaba" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Kodigo ng puwang na hindi kalakihang parihaba." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Parihaba" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Kodigo ng puwang na parihaba." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Pangunahing-pisara" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Kodigo ng puwang ng pangunahing-pisara." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Tukud-langit" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Kodigo ng puwang ng maluwang na tukud-langit." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Sagipin" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Sagipin ang mga katakdaan ng AdSense." diff --git a/plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po deleted file mode 100644 index 277dcf2302..0000000000 --- a/plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,101 +0,0 @@ -# Translation of StatusNet - Adsense to Turkish (Türkçe) -# Expored from translatewiki.net -# -# Author: Maidis -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-12-16 15:08+0000\n" -"PO-Revision-Date: 2010-12-16 15:11:27+0000\n" -"Language-Team: Turkish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2010-11-30 20:40:24+0000\n" -"X-Generator: MediaWiki 1.18alpha (r78478); Translate extension (2010-09-17)\n" -"X-Translation-Project: translatewiki.net at http://translatewiki.net\n" -"X-Language-Code: tr\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Menu item title/tooltip -#: AdsensePlugin.php:194 -msgid "AdSense configuration" -msgstr "" - -#. TRANS: Menu item for site administration -#: AdsensePlugin.php:196 -msgid "AdSense" -msgstr "AdSense" - -#: AdsensePlugin.php:209 -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "" - -#: adsenseadminpanel.php:52 -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#: adsenseadminpanel.php:62 -msgid "AdSense settings for this StatusNet site" -msgstr "" - -#: adsenseadminpanel.php:164 -msgid "Client ID" -msgstr "" - -#: adsenseadminpanel.php:165 -msgid "Google client ID" -msgstr "" - -#: adsenseadminpanel.php:170 -msgid "Ad script URL" -msgstr "" - -#: adsenseadminpanel.php:171 -msgid "Script URL (advanced)" -msgstr "" - -#: adsenseadminpanel.php:176 -msgid "Medium rectangle" -msgstr "" - -#: adsenseadminpanel.php:177 -msgid "Medium rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:182 -msgid "Rectangle" -msgstr "" - -#: adsenseadminpanel.php:183 -msgid "Rectangle slot code" -msgstr "" - -#: adsenseadminpanel.php:188 -msgid "Leaderboard" -msgstr "" - -#: adsenseadminpanel.php:189 -msgid "Leaderboard slot code" -msgstr "" - -#: adsenseadminpanel.php:194 -msgid "Skyscraper" -msgstr "" - -#: adsenseadminpanel.php:195 -msgid "Wide skyscraper slot code" -msgstr "" - -#: adsenseadminpanel.php:208 -msgid "Save" -msgstr "Kaydet" - -#: adsenseadminpanel.php:208 -msgid "Save AdSense settings" -msgstr "AdSense ayarlarını kaydet" diff --git a/plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po deleted file mode 100644 index f2b4f9d802..0000000000 --- a/plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,102 +0,0 @@ -# Translation of StatusNet - Adsense to Ukrainian (українська) -# Exported from translatewiki.net -# -# Author: Boogie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Ukrainian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: uk\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "Конфігурація AdSense" - -#. TRANS: Menu item for site administration -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "Додаток для відображення Google AdSense на сторінці сайту StatusNet." - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "Налаштування AdSense на даному сайті StatusNet" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "ІД клієнта" - -#. TRANS: Field title in AdSense administration panel. -msgid "Google client ID." -msgstr "Ідентифікатор клієнта Google." - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "Адреса скрипту AdSense" - -#. TRANS: Field title in AdSense administration panel. -msgid "Script URL (advanced)." -msgstr "URL-адреса сценарію (розширена опція)." - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "Середній прямокутник" - -#. TRANS: Field title in AdSense administration panel. -msgid "Medium rectangle slot code." -msgstr "Слот-код середнього прямокутника." - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "Прямокутник" - -#. TRANS: Field title in AdSense administration panel. -msgid "Rectangle slot code." -msgstr "Слот-код прямокутника." - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "Банер" - -#. TRANS: Field title in AdSense administration panel. -msgid "Leaderboard slot code." -msgstr "Слот-код банеру." - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "Хмарочос" - -#. TRANS: Field title in AdSense administration panel. -msgid "Wide skyscraper slot code." -msgstr "Слот-код хмарочосу." - -#. TRANS: Button text to save settings in AdSense administration panel. -msgctxt "BUTTON" -msgid "Save" -msgstr "Зберегти" - -#. TRANS: Button title to save settings in AdSense administration panel. -msgid "Save AdSense settings." -msgstr "Зберегти налаштування AdSense." diff --git a/plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po b/plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po deleted file mode 100644 index 7fae863229..0000000000 --- a/plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po +++ /dev/null @@ -1,112 +0,0 @@ -# Translation of StatusNet - Adsense to Simplified Chinese (‪中文(简体)‬) -# Exported from translatewiki.net -# -# Author: Chenxiaoqino -# Author: ZhengYiFeng -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Adsense\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Simplified Chinese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: zh-hans\n" -"X-Message-Group: #out-statusnet-plugin-adsense\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: Menu item title/tooltip -msgid "AdSense configuration" -msgstr "AdSense配置" - -#. TRANS: Menu item for site administration -#, fuzzy -msgctxt "MENU" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Plugin description. -msgid "Plugin to add Google AdSense to StatusNet sites." -msgstr "添加 Google AdSense 到 StatusNet 网站的插件。" - -#. TRANS: Title of AdSense administrator panel. -msgctxt "TITLE" -msgid "AdSense" -msgstr "AdSense" - -#. TRANS: Instructions for AdSense administrator panel. -msgid "AdSense settings for this StatusNet site" -msgstr "这个 StatusNet 网站的 AdSense 设置" - -#. TRANS: Field label in AdSense administration panel. -msgid "Client ID" -msgstr "客户ID" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Google client ID." -msgstr "Google 发布商 ID(例如:pub-1234567890123456)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Ad script URL" -msgstr "广告脚本地址" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Script URL (advanced)." -msgstr "高级脚本地址" - -#. TRANS: Field label in AdSense administration panel. -msgid "Medium rectangle" -msgstr "中等矩形" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Medium rectangle slot code." -msgstr "中等矩形广告代码(#ID)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Rectangle" -msgstr "小矩形" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Rectangle slot code." -msgstr "小矩形广告代码(#ID)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Leaderboard" -msgstr "首页横幅" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Leaderboard slot code." -msgstr "首页横幅广告代码(#ID)" - -#. TRANS: Field label in AdSense administration panel. -msgid "Skyscraper" -msgstr "宽幅摩天大楼" - -#. TRANS: Field title in AdSense administration panel. -#, fuzzy -msgid "Wide skyscraper slot code." -msgstr "宽幅摩天大楼广告代码(#ID)" - -#. TRANS: Button text to save settings in AdSense administration panel. -#, fuzzy -msgctxt "BUTTON" -msgid "Save" -msgstr "保存" - -#. TRANS: Button title to save settings in AdSense administration panel. -#, fuzzy -msgid "Save AdSense settings." -msgstr "保存AdSense设置" diff --git a/plugins/Aim/AimPlugin.php b/plugins/Aim/AimPlugin.php deleted file mode 100644 index 034c40fa84..0000000000 --- a/plugins/Aim/AimPlugin.php +++ /dev/null @@ -1,165 +0,0 @@ -. - * - * @category IM - * @package StatusNet - * @author Craig Andrews - * @copyright 2009 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - // This check helps protect against security problems; - // your code file can't be executed directly from the web. - exit(1); -} -// We bundle the phptoclib library... -set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/phptoclib'); - -/** - * Plugin for AIM - * - * @category Plugin - * @package StatusNet - * @author Craig Andrews - * @copyright 2009 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ -class AimPlugin extends ImPlugin -{ - public $user = null; - public $password = null; - public $publicFeed = array(); - - public $transport = 'aim'; - - function getDisplayName() - { - // TRANS: Display name. - return _m('AIM'); - } - - function normalize($screenname) - { - $screenname = str_replace(" ","", $screenname); - return strtolower($screenname); - } - - function daemonScreenname() - { - return $this->user; - } - - function validate($screenname) - { - if(preg_match('/^[a-z]\w{2,15}$/i', $screenname)) { - return true; - }else{ - return false; - } - } - - /** - * Load related modules when needed - * - * @param string $cls Name of the class to be loaded - * - * @return boolean hook value; true means continue processing, false means stop. - */ - function onAutoload($cls) - { - $dir = dirname(__FILE__); - - switch ($cls) - { - case 'Aim': - require_once(INSTALLDIR.'/plugins/Aim/extlib/phptoclib/aimclassw.php'); - return false; - } - - return parent::onAutoload($cls); - } - - function onStartImDaemonIoManagers(&$classes) - { - parent::onStartImDaemonIoManagers($classes); - $classes[] = new AimManager($this); // handles sending/receiving - return true; - } - - function microiduri($screenname) - { - return 'aim:' . $screenname; - } - - function sendMessage($screenname, $body) - { - $this->fake_aim->sendIm($screenname, $body); - $this->enqueueOutgoingRaw($this->fake_aim->would_be_sent); - return true; - } - - /** - * Accept a queued input message. - * - * @return true if processing completed, false if message should be reprocessed - */ - function receiveRawMessage($message) - { - $info=Aim::getMessageInfo($message); - $from = $info['from']; - $user = $this->getUser($from); - $notice_text = $info['message']; - - $this->handleIncoming($from, $notice_text); - - return true; - } - - function initialize(){ - if(!isset($this->user)){ - // TRANS: Exception thrown in AIM plugin when user has not been specified. - throw new Exception(_m('Must specify a user.')); - } - if(!isset($this->password)){ - // TRANS: Exception thrown in AIM plugin when password has not been specified. - throw new Exception(_m('Must specify a password.')); - } - - $this->fake_aim = new Fake_Aim($this->user,$this->password,4); - return true; - } - - function onPluginVersion(&$versions) - { - $versions[] = array('name' => 'AIM', - 'version' => GNUSOCIAL_VERSION, - 'author' => 'Craig Andrews', - 'homepage' => 'http://status.net/wiki/Plugin:AIM', - 'rawdescription' => - // TRANS: Plugin description. - _m('The AIM plugin allows users to send and receive notices over the AIM network.')); - return true; - } -} diff --git a/plugins/Aim/README b/plugins/Aim/README deleted file mode 100644 index 7d486a0366..0000000000 --- a/plugins/Aim/README +++ /dev/null @@ -1,27 +0,0 @@ -The AIM plugin allows users to send and receive notices over the AIM network. - -Installation -============ -add "addPlugin('aim', - array('setting'=>'value', 'setting2'=>'value2', ...);" -to the bottom of your config.php - -scripts/imdaemon.php included with StatusNet must be running. It will be started by -the plugin along with their other daemons when you run scripts/startdaemons.sh. -See the StatusNet README for more about queuing and daemons. - -Settings -======== -user*: username (screenname) to use when logging into AIM -password*: password for that user - -* required -default values are in (parenthesis) - -Example -======= -addPlugin('aim', array( - 'user=>'...', - 'password'=>'...' -)); - diff --git a/plugins/Aim/classes/Fake_Aim.php b/plugins/Aim/classes/Fake_Aim.php deleted file mode 100644 index e24c0f2bfb..0000000000 --- a/plugins/Aim/classes/Fake_Aim.php +++ /dev/null @@ -1,42 +0,0 @@ -. - * - * @category Network - * @package StatusNet - * @author Craig Andrews - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET') && !defined('LACONICA')) { - exit(1); -} - -class Fake_Aim extends Aim -{ - public $would_be_sent = null; - - function sflapSend($sflap_type, $sflap_data, $no_null, $formatted) - { - $this->would_be_sent = array($sflap_type, $sflap_data, $no_null, $formatted); - } -} diff --git a/plugins/Aim/extlib/phptoclib/README.txt b/plugins/Aim/extlib/phptoclib/README.txt deleted file mode 100755 index 0eec13af8a..0000000000 --- a/plugins/Aim/extlib/phptoclib/README.txt +++ /dev/null @@ -1,169 +0,0 @@ -phpTOCLib version 1.0 RC1 - -This is released under the LGPL. AIM,TOC,OSCAR, and all other related protocols/terms are -copyright AOL/Time Warner. This project is in no way affiliated with them, nor is this -project supported by them. - -Some of the code is loosely based off of a script by Jeffrey Grafton. Mainly the decoding of packets, and the -function for roasting passwords is entirly his. - -TOC documentation used is available at http://simpleaim.sourceforge.net/docs/TOC.txt - - -About: -phpTOCLib aims to be a PHP equivalent to the PERL module NET::AIM. Due to some limitations, -this is difficult. Many features have been excluded in the name of simplicity, and leaves -you alot of room to code with externally, providing function access to the variables that -need them. - -I have aimed to make this extensible, and easy to use, therefore taking away some built in -functionality that I had originally out in. This project comes after several months of -researching the TOC protocol. - -example.php is included with the class. It needs to be executed from the command line -(ie:php -q testscript.php) and you need to call php.exe with the -q -example is provided as a demonstaration only. Though it creats a very simple, functional bot, it lacks any sort of commands, it merely resends the message it recieves in reverse. - - -Revisions: - ------------------------------------ -by Rajiv Makhijani -(02/24/04) - - Fixed Bug in Setting Permit/Deny Mode - - Fixes so Uninitialized string offset notice doesn't appear - - Replaced New Lines Outputed for Each Flap Read with " . " so - that you can still tell it is active but it does not take so much space - - Removed "eh?" message - - Added MySQL Database Connection Message - - New Functions: - update_profile(profile data string, powered by boolean) - * The profile data string is the text that goes in the profile. - * The powered by boolean if set to true displays a link to the - sourceforge page of the script. -(02/28/04) - - Silent option added to set object not to output any information - - To follow silent rule use sEcho function instead of Echo ------------------------------------ -by Jeremy (pickleman78) -(05/26/04) beta 1 release - -Complete overhaul of class design and message handling - -Fixed bug involving sign off after long periods of idling - -Added new function $Aim->registerHandler - -Added the capability to handle all AIM messages - -Processing the messages is still the users responsibility - -Did a little bit of code cleanup - -Added a few internal functions to make the classes internal life easier - -Improved AIM server error message processing - -Updated this document (hopefully Rajiv will clean it up some, since I'm a terrible documenter) -------------------------------------------------------------------------------------------------------------- - - - -Functions: - -Several methods are provided in the class that allow for simple access to some of the -common features of AIM. Below are details. - -$Aim->Aim($sn,$password,$pdmode, $silent=false) -The constructor, it takes 4 arguments. -$sn is your screen name -$password is you password, in plain text -$pdmode is the permit deny mode. This can be as follows: -1 - Allow All -2 - Deny All -3 - Permit only those on your permit list -4 - Permit all those not on your deny list -$silent if set to true prints out nothing - -So, if your screen-name is JohnDoe746 and your password is fertu, and you want to allow -all users of the AIM server to contact you, you would code as follows -$myaim=new Aim("JohnDoe746","fertu",1); - - -$Aim->add_permit($buddy) -This adds the buddy passed to the function to your permit list. -ie: $myaim->add_permit("My friend22"); - -$Aim->block_buddy($buddy) -Blocks a user. This will switch your pd mode to 4. After using this, for the user to remain -out of contact with you, it is required to provide the constructor with a pd mode of 4 -ie:$myaim->block_buddy("Annoying guy 4"); - -$Aim->send_im($to,$message,$auto=false) -Sends $message to $user. If you set the 3rd argument to true, then the recipient will receive it in -the same format as an away message. (Auto Response from me:) -A message longer than 65535 will be truncated -ie:$myaim->send_im("myfriend","This is a happy message"); - -$Aim->set_my_info() -Sends an update buddy command to the server and allows some internal values about yourself -to be set. -ie:$myaim->set_my_info(); - -$Aim->signon() -Call this to connect to the server. This must be called before any other methods will work -properly -ie:$mybot->signon(); - -$Aim->getLastReceived() -Returns $this->myLastReceived['decoded']. This should be the only peice of the gotten data -you need to concern yourself with. This is a preferred method of accessing this variable to prevent -accidental modification of $this->myLastReceived. Accidently modifying this variable can -cause some internal failures. - -$Aim->read_from_aim() -This is a wrapper for $Aim->sflap_read(), and only returns the $this->myLastReceived['data'] -portion of the message. It is preferred that you do not call $Aim->sflap_read() and use this -function instead. This function has a return value. Calling this prevents the need to call -$Aim->getLastReceived() - -$Aim->setWarning($wl) -This allows you to update the bots warning level when warned. - -$Aim->getBuddies() -Returns the $this->myBuddyList array. Use this instead of modifying the internal variable - -$Aim->getPermit() -Returns the $this->myPermitList array. Use this instead of modifying the internal variable - -$Aim->getBlocked() -Returns the $this->myBlockedList array. Use this instead of modifying the internal variable - -$Aim->warn_user($user,$anon=false) -Warn $user. If anon is set to true, then it warns the user anonomously - -$Aim->update_profile($information, $poweredby=false) -Updates Profile to $information. If $poweredby is true a link to -sourceforge page for this script is appended to profile - -$Aim->registerHandler($function_name,$command) -This is by far the best thing about the new release. -For more information please reas supplement.txt. It is not included here because of the sheer size of the document. -supplement.txt contains full details on using registerHandler and what to expect for each input. - - -For convenience, I have provided some functions to simplify message processing. - -They can be read about in the file "supplement.txt". I chose not to include the text here because it -is a huge document - - - -There are a few things you should note about AIM -1)An incoming message has HTML tags in it. You are responsible for stripping those tags -2)Outgoing messages can have HTML tags, but will work fine if they don't. To include things - in the time feild next to the users name, send it as a comment - -Conclusion: -The class is released under the LGPL. If you have any bug reports, comments, questions -feature requests, or want to help/show me what you've created with this(I am very interested in this), -please drop me an email: pickleman78@users.sourceforge.net. This code was written by -Jeremy(a.k.a pickleman78) and Rajiv M (a.k.a compwiz562). - - -Special thanks: -I'd like to thank all of the people who have contributed ideas, testing, bug reports, and code additions to -this project. I'd like to especially thank Rajiv, who has done do much for the project, and has kept this documnet -looking nice. He also has done alot of testing of this script too. I'd also like to thank SpazLink for his help in -testing. And finally I'd like to thank Jeffery Grafton, whose script inspired me to start this project. diff --git a/plugins/Aim/extlib/phptoclib/aimclassw.php b/plugins/Aim/extlib/phptoclib/aimclassw.php deleted file mode 100755 index 0657910d9e..0000000000 --- a/plugins/Aim/extlib/phptoclib/aimclassw.php +++ /dev/null @@ -1,2370 +0,0 @@ - - * @author Rajiv Makhijani - * @package phptoclib - * @version 1.0RC1 - * @copyright 2005 - * @access public - * - */ -class Aim -{ - /** - * AIM ScreenName - * - * @var String - * @access private - */ - var $myScreenName; - - /** - * AIM Password (Plain Text) - * - * @var String - * @access private - */ - var $myPassword; - - - /** - * AIM TOC Server - * - * @var String - * @access public - */ - var $myServer="toc.oscar.aol.com"; - - /** - * AIM Formatted ScreenName - * - * @var String - * @access private - */ - var $myFormatSN; - - /** - * AIM TOC Server Port - * - * @var String - * @access public - */ - var $myPort="5190"; - - /** - * Profile Data - * Use setProfile() to update - * - * @var String - * @access private - */ - var $myProfile="Powered by phpTOCLib. Please visit http://sourceforge.net/projects/phptoclib for more information"; //The profile of the bot - - /** - * Socket Connection Resource ID - * - * @var Resource - * @access private - */ - var $myConnection; //Connection resource ID - - /** - * Roasted AIM Password - * - * @var String - * @access private - */ - var $myRoastedPass; - - /** - * Last Message Recieved From Server - * - * @var String - * @access private - */ - var $myLastReceived; - - /** - * Current Seq Number Used to Communicate with Server - * - * @var Integer - * @access private - */ - var $mySeqNum; - - /** - * Current Warning Level - * Getter: getWarning() - * Setter: setWarning() - * - * @var Integer - * @access private - */ - var $myWarnLevel; //Warning Level of the bot - - /** - * Auth Code - * - * @var Integer - * @access private - */ - var $myAuthCode; - - /** - * Buddies - * Getter: getBuddies() - * - * @var Array - * @access private - */ - var $myBuddyList; - - /** - * Blocked Buddies - * Getter: getBlocked() - * - * @var Array - * @access private - */ - var $myBlockedList; - - /** - * Permited Buddies - * Getter: getBlocked() - * - * @var Array - * @access private - */ - var $myPermitList; - - /** - * Permit/Deny Mode - * 1 - Allow All - * 2 - Deny All - * 3 - Permit only those on your permit list - * 4 - Permit all those not on your deny list - * - * @var Integer - * @access private - */ - var $myPdMode; - - //Below variables added 4-29 by Jeremy: Implementing chat - - /** - * Contains Chat Room Info - * $myChatRooms['roomid'] = people in room - * - * @var Array - * @access private - */ - var $myChatRooms; - - //End of chat implementation - - - /** - * Event Handler Functions - * - * @var Array - * @access private - */ - var $myEventHandlers = array(); - - /** - * Array of direct connection objects(including file transfers) - * - * @var Array - * @access private - */ - var $myDirectConnections = array(); - - /** - * Array of the actual connections - * - * @var Array - * @access private - */ - var $myConnections = array(); - - /** - * The current state of logging - * - * @var Boolean - * @access private - */ - - var $myLogging = false; - - /** - * Constructor - * - * Permit/Deny Mode Options - * 1 - Allow All - * 2 - Deny All - * 3 - Permit only those on your permit list - * 4 - Permit all those not on your deny list - * - * @param String $sn AIM Screenname - * @param String $password AIM Password - * @param Integer $pdmode Permit/Deny Mode - * @access public - */ - function Aim($sn, $password, $pdmode) - { - //Constructor assignment - $this->myScreenName = $this->normalize($sn); - $this->myPassword = $password; - $this->myRoastedPass = $this->roastPass($password); - $this->mySeqNum = 1; - $this->myConnection = 0; - $this->myWarnLevel = 0; - $this->myAuthCode = $this->makeCode(); - $this->myPdMode = $pdmode; - $this->myFormatSN = $this->myScreenName; - - $this->log("PHPTOCLIB v" . PHPTOCLIB_VERSION . " Object Created"); - - } - - /** - * Enables debug logging (Logging is disabled by default) - * - * - * @access public - * @return void - */ - - function setLogging($enable) - { - $this->myLogging=$enable; - } - - function log($data) - { - if($this->myLogging){ - error_log($data); - } - } - - /** - * Logs a packet - * - * - * @access private - * @param Array $packary Packet - * @param String $in Prepend - * @return void - */ - function logPacket($packary,$in) - { - if(!$this->myLogging || sizeof($packary)<=0 || (@strlen($packary['decoded'])<=0 && @isset($packary['decoded']))) - return; - $towrite=$in . ": "; - foreach($packary as $k=>$d) - { - $towrite.=$k . ":" . $d . "\r\n"; - } - $towrite.="\r\n\r\n"; - $this->log($towrite); - } - /** - * Roasts/Hashes Password - * - * @param String $password Password - * @access private - * @return String Roasted Password - */ - function roastPass($password) - { - $roaststring = 'Tic/Toc'; - $roasted_password = '0x'; - for ($i = 0; $i < strlen($password); $i++) - $roasted_password .= bin2hex($password[$i] ^ $roaststring[($i % 7)]); - return $roasted_password; - } - - /** - * Access Method for myScreenName - * - * @access public - * @param $formated Returns formatted Screenname if true as returned by server - * @return String Screenname - */ - function getMyScreenName($formated = false) - { - if ($formated) - { - return $this->myFormatSN; - } - else - { - return $this->normalize($this->myScreenName); - } - } - - /** - * Generated Authorization Code - * - * @access private - * @return Integer Auth Code - */ - function makeCode() - { - $sn = ord($this->myScreenName[0]) - 96; - $pw = ord($this->myPassword[0]) - 96; - $a = $sn * 7696 + 738816; - $b = $sn * 746512; - $c = $pw * $a; - - return $c - $a + $b + 71665152; - } - - - /** - * Reads from Socket - * - * @access private - * @return String Data - */ - function sflapRead() - { - if ($this->socketcheck($this->myConnection)) - { - $this->log("Disconnected.... Reconnecting in 60 seconds"); - sleep(60); - $this->signon(); - } - - $header = fread($this->myConnection,SFLAP_HEADER_LEN); - - if (strlen($header) == 0) - { - $this->myLastReceived = ""; - return ""; - } - $header_data = unpack("aast/Ctype/nseq/ndlen", $header); - $this->log(" . ", false); - $packet = fread($this->myConnection, $header_data['dlen']); - if (strlen($packet) <= 0 && $sockinfo['blocked']) - $this->derror("Could not read data"); - - if ($header_data['type'] == SFLAP_TYPE_SIGNON) - { - $packet_data=unpack("Ndecoded", $packet); - } - - if ($header_data['type'] == SFLAP_TYPE_KEEPALIVE) - { - $this->myLastReceived = ''; - return 0; - } - else if (strlen($packet)>0) - { - $packet_data = unpack("a*decoded", $packet); - } - $this->log("socketcheck check now"); - if ($this->socketcheck($this->myConnection)) - { - $this->derror("Connection ended unexpectedly"); - } - - $data = array_merge($header_data, $packet_data); - $this->myLastReceived = $data; - $this->logPacket($data,"in"); - return $data; - } - - /** - * Sends Data on Socket - * - * @param String $sflap_type Type - * @param String $sflap_data Data - * @param boolean $no_null No Null - * @param boolean $formatted Format - * @access private - * @return String Roasted Password - */ - function sflapSend($sflap_type, $sflap_data, $no_null, $formatted) - { - $packet = ""; - if (strlen($sflap_data) >= MAX_PACKLENGTH) - $sflap_data = substr($sflap_data,0,MAX_PACKLENGTH); - - if ($formatted) - { - $len = strlen($sflap_len); - $sflap_header = pack("aCnn",'*', $sflap_type, $this->mySeqNum, $len); - $packet = $sflap_header . $sflap_data; - } else { - if (!$no_null) - { - $sflap_data = str_replace("\0","", trim($sflap_data)); - $sflap_data .= "\0"; - } - $data = pack("a*", $sflap_data); - $len = strlen($sflap_data); - $header = pack("aCnn","*", $sflap_type, $this->mySeqNum, $len); - $packet = $header . $data; - } - - //Make sure we are still connected - if ($this->socketcheck($this->myConnection)) - { - $this->log("Disconnected.... reconnecting in 60 seconds"); - sleep(60); - $this->signon(); - } - $sent = fputs($this->myConnection, $packet) or $this->derror("Error sending packet to AIM"); - $this->mySeqNum++; - sleep(ceil($this->myWarnLevel/10)); - $this->logPacket(array($sflap_type,$sflap_data),"out"); - } - - /** - * Escape the thing that TOC doesn't like,that would be - * ",', $,{,},[,] - * - * @param String $data Data to Escape - * @see decodeData - * @access private - * @return String $data Escaped Data - */ - function encodeData($data) - { - $data = str_replace('"','\"', $data); - $data = str_replace('$','\$', $data); - $data = str_replace("'","\'", $data); - $data = str_replace('{','\{', $data); - $data = str_replace('}','\}', $data); - $data = str_replace('[','\[', $data); - $data = str_replace(']','\]', $data); - return $data; - } - - /** - * Unescape data TOC has escaped - * ",', $,{,},[,] - * - * @param String $data Data to Unescape - * @see encodeData - * @access private - * @return String $data Unescape Data - */ - function decodeData($data) - { - $data = str_replace('\"','"', $data); - $data = str_replace('\$','$', $data); - $data = str_replace("\'","'", $data); - $data = str_replace('\{','{', $data); - $data = str_replace('\}','}', $data); - $data = str_replace('\[','[', $data); - $data = str_replace('\]',']', $data); - $data = str_replace('"','"', $data); - $data = str_replace('&','&', $data); - return $data; - } - - /** - * Normalize ScreenName - * no spaces and all lowercase - * - * @param String $nick ScreenName - * @access public - * @return String $nick Normalized ScreenName - */ - function normalize($nick) - { - $nick = str_replace(" ","", $nick); - $nick = strtolower($nick); - return $nick; - } - - /** - * Sets internal info with update buddy - * Currently only sets warning level - * - * @access public - * @return void - */ - function setMyInfo() - { - //Sets internal values bvase on the update buddy command - $this->log("Setting my warning level ..."); - $this->sflapSend(SFLAP_TYPE_DATA,"toc_get_status " . $this->normalize($this->myScreenName),0,0); - //The rest of this will now be handled by the other functions. It is assumed - //that we may have other data queued in the socket, do we should just add this - //message to the queue instead of trying to set it in here - } - - /** - * Connects to AIM and Signs On Using Info Provided in Constructor - * - * @access public - * @return void - */ - function signon() - { - $this->log("Ready to sign on to the server"); - $this->myConnection = fsockopen($this->myServer, $this->myPort, $errno, $errstr,10) or die("$errorno:$errstr"); - $this->log("Connected to server"); - $this->mySeqNum = (time() % 65536); //Select an arbitrary starting point for - //sequence numbers - if (!$this->myConnection) - $this->derror("Error connecting to toc.oscar.aol.com"); - $this->log("Connected to AOL"); - //Send the flapon packet - fputs($this->myConnection,"FLAPON\r\n\n\0"); //send the initial handshake - $this->log("Sent flapon"); - $this->sflapRead(); //Make sure the server responds with what we expect - if (!$this->myLastReceived) - $this->derror("Error sending the initialization string"); - - //send the FLAP SIGNON packet back with what it needs - //There are 2 parts to the signon packet. They are sent in succession, there - //is no indication if either packet was correctly sent - $signon_packet = pack("Nnna".strlen($this->myScreenName),1,1,strlen($this->myScreenName), $this->myScreenName); - $this->sflapSend(SFLAP_TYPE_SIGNON, $signon_packet,1,0); - $this->log("sent signon packet part one"); - - $signon_packet_part2 = 'toc2_signon login.oscar.aol.com 29999 ' . $this->myScreenName . ' ' . $this->myRoastedPass . ' english-US "TIC:TOC2:REVISION" 160 ' . $this->myAuthCode; - $this->log($signon_packet_part2 . ""); - $this->sflapSend(SFLAP_TYPE_DATA, $signon_packet_part2,0,0); - $this->log("Sent signon packet part 2... Awaiting response..."); - - $this->sflapRead(); - $this->log("Received Sign on packet, beginning initilization..."); - $message = $this->getLastReceived(); - $this->log($message . "\n"); - if (strstr($message,"ERROR:")) - { - $this->onError($message); - die("Fatal signon error"); - } - stream_set_timeout($this->myConnection,2); - //The information sent before the config2 command is utterly useless to us - //So we will just skim through them until we reach it - - //Add the first entry to the connection array - $this->myConnections[] = $this->myConnection; - - - //UPDATED 4/12/03: Now this will use the receive function and send the - //received messaged to the assigned handlers. This is where the signon - //method has no more use - - $this->log("Done with signon proccess"); - //socket_set_blocking($this->myConnection,false); - } - - /** - * Sends Instant Message - * - * @param String $to Message Recipient SN - * @param String $message Message to Send - * @param boolean $auto Sent as Auto Response / Away Message Style - * @access public - * @return void - */ - function sendIM($to, $message, $auto = false) - { - if ($auto) $auto = "auto"; - else $auto = ""; - $to = $this->normalize($to); - $message = $this->encodeData($message); - $command = 'toc2_send_im "' . $to . '" "' . $message . '" ' . $auto; - $this->sflapSend(SFLAP_TYPE_DATA, trim($command),0,0); - $cleanedmessage = str_replace("
", " ", $this->decodeData($message)); - $cleanedmessage = strip_tags($cleanedmessage); - $this->log("TO - " . $to . " : " . $cleanedmessage); - } - - /** - * Set Away Message - * - * @param String $message Away message (some HTML supported). - * Use null to remove the away message - * @access public - * @return void - */ - function setAway($message) - { - $message = $this->encodeData($message); - $command = 'toc_set_away "' . $message . '"'; - $this->sflapSend(SFLAP_TYPE_DATA, trim($command),0,0); - $this->log("SET AWAY MESSAGE - " . $this->decodeData($message)); - } - - /** - * Fills Buddy List - * Not implemented fully yet - * - * @access public - * @return void - */ - function setBuddyList() - { - //This better be the right message - $message = $this->myLastReceived['decoded']; - if (strpos($message,"CONFIG2:") === false) - { - $this->log("setBuddyList cannot be called at this time because I got $message"); - return false; - } - $people = explode("\n",trim($message,"\n")); - //The first 3 elements of the array are who knows what, element 3 should be - //a letter followed by a person - for($i = 1; $imyPermitList[] = $name; - break; - case 'd': - $this->myBlockedList[] = $name; - break; - case 'b': - $this->myBuddyList[] = $name; - break; - case 'done': - break; - default: - // - } - } - } - - /** - * Adds buddy to Permit list - * - * @param String $buddy Buddy's Screenname - * @access public - * @return void - */ - function addPermit($buddy) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc2_add_permit " . $this->normalize($buddy),0,0); - $this->myPermitList[] = $this->normalize($buddy); - return 1; - } - - /** - * Blocks buddy - * - * @param String $buddy Buddy's Screenname - * @access public - * @return void - */ - function blockBuddy($buddy) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc2_add_deny " . $this->normalize($buddy),0,0); - $this->myBlockedList[] = $this->normalize($buddy); - return 1; - } - - /** - * Returns last message received from server - * - * @access private - * @return String Last Message from Server - */ - function getLastReceived() - { - if (@$instuff = $this->myLastReceived['decoded']){ - return $this->myLastReceived['decoded']; - }else{ - return; - } - } - - /** - * Returns Buddy List - * - * @access public - * @return array Buddy List - */ - function getBuddies() - { - return $this->myBuddyList; - } - - /** - * Returns Permit List - * - * @access public - * @return array Permit List - */ - function getPermit() - { - return $this->myPermitList; - } - - /** - * Returns Blocked Buddies - * - * @access public - * @return array Blocked List - */ - function getBlocked() - { - return $this->myBlockedList; - } - - - - - /** - * Reads and returns data from server - * - * This is a wrapper for $Aim->sflap_read(), and only returns the $this->myLastReceived['data'] - * portion of the message. It is preferred that you do not call $Aim->sflap_read() and use this - * function instead. This function has a return value. Calling this prevents the need to call - * $Aim->getLastReceived() - * - * @access public - * @return String Data recieved from server - */ - function read_from_aim() - { - $this->sflapRead(); - $returnme = $this->getLastReceived(); - return $returnme; - } - - /** - * Sets current internal warning level - * - * This allows you to update the bots warning level when warned. - * - * @param int Warning Level % - * @access private - * @return void - */ - function setWarningLevel($warnlevel) - { - $this->myWarnLevel = $warnlevel; - } - - /** - * Warns / "Evils" a User - * - * To successfully warn another user they must have sent you a message. - * There is a limit on how much and how often you can warn another user. - * Normally when you warn another user they are aware who warned them, - * however there is the option to warn anonymously. When warning anon. - * note that the warning is less severe. - * - * @param String $to Screenname to warn - * @param boolean $anon Warn's anonymously if true. (default = false) - * @access public - * @return void - */ - function warnUser($to, $anon = false) - { - if (!$anon) - $anon = '"norm"'; - - else - $anon = '"anon"'; - $this->sflapSend(SFLAP_TYPE_DATA,"toc_evil " . $this->normalize($to) . " $anon",0,0); - } - - /** - * Returns warning level of bot - * - * @access public - * @return void - */ - function getWarningLevel() - { - return $this->myWarningLevel; - } - - /** - * Sets bot's profile/info - * - * Limited to 1024 bytes. - * - * @param String $profiledata Profile Data (Can contain limited html: br,hr,font,b,i,u etc) - * @param boolean $poweredby If true, appends link to phpTOCLib project to profile - * @access public - * @return void - */ - function setProfile($profiledata, $poweredby = false) - { - if ($poweredby == false){ - $this->myProfile = $profiledata; - }else{ - $this->myProfile = $profiledata . "

Powered by phpTOCLib
http://sourceforge.net/projects/phptoclib
"; - } - - $this->sflapSend(SFLAP_TYPE_DATA,"toc_set_info \"" . $this->encodeData($this->myProfile) . "\"",0,0); - $this->setMyInfo(); - $this->log("Profile has been updated..."); - } - - //6/29/04 by Jeremy: - //Added mthod to accept a rvous,decline it, and - //read from the rvous socket - - //Decline - - /** - * Declines a direct connection request (rvous) - * - * @param String $nick ScreenName request was from - * @param String $cookie Request cookie (from server) - * @param String $uuid UUID - * - * @access public - * @return void - */ - function declineRvous($nick, $cookie, $uuid) - { - $nick = $this->normalize($nick); - $this->sflapSend(SFLAP_TYPE_DATA,"toc_rvous_cancel $nick $cookie $uuid",0,0); - } - - /** - * Accepts a direct connection request (rvous) - * - * @param String $nick ScreenName request was from - * @param String $cookie Request cookie (from server) - * @param String $uuid UUID - * @param String $vip IP of User DC with - * @param int $port Port number to connect to - * - * @access public - * @return void - */ - function acceptRvous($nick, $cookie, $uuid, $vip, $port) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc_rvous_accept $nick $cookie $uuid",0,0); - - //Now open the connection to that user - if ($uuid == IMAGE_UID) - { - $dcon = new Dconnect($vip, $port); - } - else if ($uuid == FILE_SEND_UID) - { - $dcon = new FileSendConnect($vip, $port); - } - if (!$dcon->connected) - { - $this->log("The connection failed"); - return false; - } - - //Place this dcon object inside the array - $this->myDirectConnections[] = $dcon; - //Place the socket in an array to - $this->myConnections[] = $dcon->sock; - - - //Get rid of the first packet because its worthless - //and confusing - $dcon->readDIM(); - //Assign the cookie - $dcon->cookie = $dcon->lastReceived['cookie']; - $dcon->connectedTo = $this->normalize($nick); - return $dcon; - } - - /** - * Sends a Message over a Direct Connection - * - * Only works if a direct connection is already established with user - * - * @param String $to Message Recipient SN - * @param String $message Message to Send - * - * @access public - * @return void - */ - function sendDim($to, $message) - { - //Find the connection - for($i = 0;$imyDirectConnections);$i++) - { - if ($this->normalize($to) == $this->myDirectConnections[$i]->connectedTo && $this->myDirectConnections[$i]->type == CONN_TYPE_DC) - { - $dcon = $this->myDirectConnections[$i]; - break; - } - } - if (!$dcon) - { - $this->log("Could not find a direct connection to $to"); - return false; - } - $dcon->sendMessage($message, $this->normalize($this->myScreenName)); - return true; - } - - /** - * Closes an established Direct Connection - * - * @param DConnect $dcon Direct Connection Object to Close - * - * @access public - * @return void - */ - function closeDcon($dcon) - { - - $nary = array(); - for($i = 0;$imyConnections);$i++) - { - if ($dcon->sock == $this->myConnections[$i]) - unset($this->myConnections[$i]); - } - - $this->myConnections = array_values($this->myConnections); - unset($nary); - $nary2 = array(); - - for($i = 0;$imyDirectConnections);$i++) - { - if ($dcon == $this->myDirectConnections[$i]) - unset($this->myDirectConnections[$i]); - } - $this->myDirectConnections = array_values($this->myDirectConnections); - $dcon->close(); - unset($dcon); - } - - //Added 4/29/04 by Jeremy: - //Various chat related methods - - /** - * Accepts a Chat Room Invitation (Joins room) - * - * @param String $chatid ID of Chat Room - * - * @access public - * @return void - */ - function joinChat($chatid) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc_chat_accept " . $chatid,0,0); - } - - /** - * Leaves a chat room - * - * @param String $chatid ID of Chat Room - * - * @access public - * @return void - */ - function leaveChat($chatid) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc_chat_leave " . $chatid,0,0); - } - - /** - * Sends a message in a chat room - * - * @param String $chatid ID of Chat Room - * @param String $message Message to send - * - * @access public - * @return void - */ - function chatSay($chatid, $message) - { - $this->sflapSend(SFLAP_TYPE_DATA,"toc_chat_send " . $chatid . " \"" . $this->encodeData($message) . "\"",0,0); - } - - /** - * Invites a user to a chat room - * - * @param String $chatid ID of Chat Room - * @param String $who Screenname of user - * @param String $message Note to include with invitiation - * - * @access public - * @return void - */ - function chatInvite($chatid, $who, $message) - { - $who = $this->normalize($who); - $this->sflapSend(SFLAP_TYPE_DATA,"toc_chat_invite " . $chatid . " \"" . $this->encodeData($message) . "\" " . $who,0,0); - } - - /** - * Joins/Creates a new chat room - * - * @param String $name Name of the new chat room - * @param String $exchange Exchange of new chat room - * - * @access public - * @return void - */ - function joinNewChat($name, $exchange) - { - //Creates a new chat - $this->sflapSend(SFLAP_TYPE_DATA,"toc_chat_join " . $exchange . " \"" . $name . "\"",0,0); - } - - /** - * Disconnect error handler, attempts to reconnect in 60 seconds - * - * @param String $message Error message (desc of where error encountered etc) - * - * @access private - * @return void - */ - function derror($message) - { - $this->log($message); - $this->log("Error"); - fclose($this->myConnection); - if ((time() - $GLOBALS['errortime']) < 600){ - $this->log("Reconnecting in 60 Seconds"); - sleep(60); - } - $this->signon(); - $GLOBALS['errortime'] = time(); - } - - /** - * Returns connection type of socket (main or rvous etc) - * - * Helper method for recieve() - * - * @param Resource $sock Socket to determine type for - * - * @access private - * @return void - * @see receive - */ - function connectionType($sock) - { - //Is it the main connection? - if ($sock == $this->myConnection) - return CONN_TYPE_NORMAL; - else - { - for($i = 0;$imyDirectConnections);$i++) - { - if ($sock == $this->myDirectConnections[$i]->sock) - return $this->myDirectConnections[$i]->type; - } - } - return false; - } - - /** - * Checks for new data and calls appropriate methods - * - * This method is usually called in an infinite loop to keep checking for new data - * - * @access public - * @return void - * @see connectionType - */ - function receive() - { - //This function will be used to get the incoming data - //and it will be used to call the event handlers - - //First, get an array of sockets that have data that is ready to be read - $ready = array(); - $ready = $this->myConnections; - $numrdy = stream_select($ready, $w = NULL, $x = NULL,NULL); - - //Now that we've waited for something, go through the $ready - //array and read appropriately - - for($i = 0;$iconnectionType($ready[$i]); - if ($type == CONN_TYPE_NORMAL) - { - //Next step:Get the data sitting in the socket - $message = $this->read_from_aim(); - if (strlen($message) <= 0) - { - return; - } - - //Third step: Get the command from the server - @list($cmd, $rest) = explode(":", $message); - - //Fourth step, take the command, test the type, and pass it off - //to the correct internal handler. The internal handler will - //do what needs to be done on the class internals to allow - //it to work, then proceed to pass it off to the user created handle - //if there is one - $this->log($cmd); - switch($cmd) - { - case 'SIGN_ON': - $this->onSignOn($message); - break; - case 'CONFIG2': - $this->onConfig($message); - break; - case 'ERROR': - $this->onError($message); - break; - case 'NICK': - $this->onNick($message); - break; - case 'IM_IN2': - $this->onImIn($message); - break; - case 'UPDATE_BUDDY2': - $this->onUpdateBuddy($message); - break; - case 'EVILED': - $this->onWarn($message); - break; - case 'CHAT_JOIN': - $this->onChatJoin($message); - break; - case 'CHAT_IN': - $this->onChatIn($message); - break; - case 'CHAT_UPDATE_BUDDY': - $this->onChatUpdate($message); - break; - case 'CHAT_INVITE': - $this->onChatInvite($message); - break; - case 'CHAT_LEFT': - $this->onChatLeft($message); - break; - case 'GOTO_URL': - $this->onGotoURL($message); - break; - case 'DIR_STATUS': - $this->onDirStatus($message); - break; - case 'ADMIN_NICK_STATUS': - $this->onAdminNick($message); - break; - case 'ADMIN_PASSWD_STATUS': - $this->onAdminPasswd($message); - break; - case 'PAUSE': - $this->onPause($message); - break; - case 'RVOUS_PROPOSE': - $this->onRvous($message); - break; - default: - $this->log("Fell through: $message"); - $this->CatchAll($message); - break; - } - } - else - { - for($j = 0;$jmyDirectConnections);$j++) - { - if ($this->myDirectConnections[$j]->sock == $ready[$i]) - { - $dcon = $this->myDirectConnections[$j]; - break; - } - } - //Now read from the dcon - if ($dcon->type == CONN_TYPE_DC) - { - if ($dcon->readDIM() == false) - { - $this->closeDcon($dcon); - continue; - } - - $message['message'] = $dcon->lastMessage; - if ($message['message'] == "too big") - { - $this->sendDim("Connection dropped because you sent a message larger that " . MAX_DCON_SIZE . " bytes.", $dcon->connectedTo); - $this->closeDcon($dcon); - continue; - } - $message['from'] = $dcon->connectedTo; - $this->onDimIn($message); - } - } - } - $this->conn->myLastReceived=""; - //Now get out of this function because the handlers should take care - //of everything - } - - //The next block of code is all the event handlers needed by the class - //Some are left blank and only call the users handler because the class - //either does not support the command, or cannot do anything with it - // --------------------------------------------------------------------- - - /** - * Direct IM In Event Handler - * - * Called when Direct IM is received. - * Call's user handler (if available) for DimIn. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onDimIn($data) - { - $this->callHandler("DimIn", $data); - } - - /** - * Sign On Event Handler - * - * Called when Sign On event occurs. - * Call's user handler (if available) for SIGN_ON. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onSignOn($data) - { - $this->callHandler("SignOn", $data); - } - - /** - * Config Event Handler - * - * Called when Config data received. - * Call's user handler (if available) for Config. - * - * Loads buddy list and other info - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onConfig($data) - { - $this->log("onConfig Message: " . $data); - - if (strpos($data,"CONFIG2:") === false) - { - $this->log("get_buddy_list cannot be called at this time because I got $data"); - //return false; - } - $people = explode("\n",trim($data,"\n")); - //The first 3 elements of the array are who knows what, element 3 should be - //a letter followed by a person - - //AIM decided to add this wonderful new feature, the recent buddy thing, this kind of - //messes this funtion up, so we need to adapt it... unfortuneately, its not really - //clear how this works, so we are just going to add their name to the permit list. - - //Recent buddies I believe are in the format - //number:name:number.... I think the first number counts down from 25 how long its - //been... but I don't know the second number,,,, - - //TODO: Figure out the new recent buddies system - - //Note: adding that at the bottom is a quick hack and may have adverse consequences... - for($i = 1;$imyPermitList[] = $name; - break; - case 'd': - $this->myBlockedList[] = $name; - break; - case 'b': - $this->myBuddyList[] = $name; - break; - case 'done': - break; - default: - //This is assumed to be recent buddies... - $this->myPermitList[]=$name; - } - } - - //We only get the config message once, so now we should send our pd mode - - $this->sflapSend(SFLAP_TYPE_DATA,"toc2_set_pdmode " . $this->myPdMode,0,0); - //Adds yourself to the permit list - //This is to fix an odd behavior if you have nobody on your list - //the server won't send the config command... so this takes care of it - $this->sflapSend(SFLAP_TYPE_DATA,"toc2_add_permit " . $this->normalize($this->myScreenName),0,0); - - //Now we allow the user to send a list, update anything they want, etc - $this->callHandler("Config", $data); - //Now that we have taken care of what the user wants, send the init_done message - $this->sflapSend(SFLAP_TYPE_DATA,"toc_init_done",0,0); - //'VOICE_UID' - //'FILE_GET_UID' - //'IMAGE_UID' - //'BUDDY_ICON_UID' - //'STOCKS_UID' - //'GAMES_UID' - $this->sflapSend(SFLAP_TYPE_DATA, "toc_set_caps " . IMAGE_UID . " " . FILE_SEND_UID ." " . FILE_GET_UID . " " . BUDDY_ICON_UID . "",0,0); - } - - - /** - * Error Event Handler - * - * Called when an Error occurs. - * Call's user handler (if available) for Error. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onError($data) - { - static $errarg = ''; - static $ERRORS = array( - 0=>'Success', - 901 =>'$errarg not currently available', - 902 =>'Warning of $errarg not currently available', - 903 =>'A message has been dropped, you are exceeding - the server speed limit', - 911 =>'Error validating input', - 912 =>'Invalid account', - 913 =>'Error encountered while processing request', - 914 =>'Service unavailable', - 950 =>'Chat in $errarg is unavailable.', - 960 =>'You are sending message too fast to $errarg', - 961 =>'You missed an im from $errarg because it was too big.', - 962 =>'You missed an im from $errarg because it was sent too fast.', - 970 =>'Failure', - 971 =>'Too many matches', - 972 =>'Need more qualifiers', - 973 =>'Dir service temporarily unavailable', - 974 =>'Email lookup restricted', - 975 =>'Keyword Ignored', - 976 =>'No Keywords', - 977 =>'Language not supported', - 978 =>'Country not supported', - 979 =>'Failure unknown $errarg', - 980 =>'Incorrect nickname or password.', - 981 =>'The service is temporarily unavailable.', - 982 =>'Your warning level is currently too high to sign on.', - 983 =>'You have been connecting and - disconnecting too frequently. Wait 10 minutes and try again. - If you continue to try, you will need to wait even longer.', - 989 =>'An unknown signon error has occurred $errarg' - ); - $data_array = explode(":", $data); - for($i=0; $ilog($errorstring . "\n"); - - $this->callHandler("Error", $data); - } - - /** - * Nick Event Handler - * - * Called when formatted own ScreenName is receieved - * Call's user handler (if available) for Nick. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onNick($data) - { - //This is our nick, so set a field called "myFormatSN" which will represent - //the actual name given by the server to us, NOT the normalized screen name - @list($cmd, $nick) = explode(":", $data); - $this->myFormatSN = $nick; - - $this->callHandler("Nick", $data); - } - - /** - * IM In Event Handler - * - * Called when an Instant Message is received. - * Call's user handler (if available) for IMIn. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onImIn($data) - { - //Perhaps we should add an internal log for debugging purposes?? - //But now, this should probably be handled by the user purely - - $this->callHandler("IMIn", $data); - } - - /** - * UpdateBuddy Event Handler - * - * Called when a Buddy Update is receieved. - * Call's user handler (if available) for UpdateBuddy. - * If info is about self, updates self info (Currently ownly warning). - * - * ToDo: Keep track of idle, warning etc on Buddy List - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onUpdateBuddy($data) - { - //Again, since our class currently does not deal with other people without - //outside help, then this is also probably best left to the user. Though - //we should probably allow this to replace the setMyInfo function above - //by handling the input if and only if it is us - //Check and see that this is the command expected - if (strpos($data,"UPDATE_BUDDY2:") == -1) - { - $this->log("A different message than expected was received"); - return false; - } - - //@list($cmd, $info['sn'], $info['online'], $info['warnlevel'], $info['signon'], $info['idle'], $info['uc']) = explode(":", $command['incoming']); - - //@list($cmd, $sn, $online, $warning, $starttime, $idletime, $uc) = explode(":", $data); - $info = $this->getMessageInfo($data); - if ($this->normalize($info['sn']) == $this->normalize($this->myScreenName)) - { - $warning = rtrim($info['warnlevel'],"%"); - $this->myWarnLevel = $warning; - $this->log("My warning level is $this->myWarnLevel %"); - } - - $this->callHandler("UpdateBuddy", $data); - } - - /** - * Warning Event Handler - * - * Called when bot is warned. - * Call's user handler (if available) for Warn. - * Updates internal warning level - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onWarn($data) - { - /* - For reference: - $command['incoming'] .= ":0"; - $it = explode(":", $command['incoming']); - $info['warnlevel'] = $it[1]; - $info['from'] = $it[2]; - */ - //SImply update our warning level - //@list($cmd, $newwarn, $user) = explode(":", $data); - - $info = $this->getMessageInfo($data); - - $this->setWarningLevel(trim($info['warnlevel'],"%")); - $this->log("My warning level is $this->myWarnLevel %"); - - $this->callHandler("Warned", $data); - } - - /** - * Chat Join Handler - * - * Called when bot joins a chat room. - * Call's user handler (if available) for ChatJoin. - * Adds chat room to internal chat room list. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onChatJoin($data) - { - @list($cmd, $rmid, $rmname) = explode(":", $data); - $this->myChatRooms[$rmid] = 0; - - $this->callHandler("ChatJoin", $data); - } - - /** - * Returns number of chat rooms bot is in - * - * @access public - * @param String $data Raw message from server - * @return int - */ - function getNumChats() - { - return count($this->myChatRooms); - } - - /** - * Chat Update Handler - * - * Called when bot received chat room data (user update). - * Call's user handler (if available) for ChatUpdate. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onChatUpdate($data) - { - $stuff = explode(":", $data); - $people = sizeof($stuff); - $people -= 2; - - $this->callHandler("ChatUpdate", $data); - } - - /** - * Chat Message In Handler - * - * Called when chat room message is received. - * Call's user handler (if available) for ChatIn. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onChatIn($data) - { - $this->callHandler("ChatIn", $data); - } - - - /** - * Chat Invite Handler - * - * Called when bot is invited to a chat room. - * Call's user handler (if available) for ChatInvite. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onChatInvite($data) - { - //@list($cmd, $name, $id, $from, $data) = explode(":", $data,6); - //$data = explode(":",$data,6); - //$nm = array(); - //@list($nm['cmd'],$nm['name'],$nm['id'],$nm['from'],$nm['message']) = $data; - - - $this->callHandler("ChatInvite", $data); - } - - /** - * Chat Left Handler - * - * Called when bot leaves a chat room - * Call's user handler (if available) for ChatLeft. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onChatLeft($data) - { - $info = $this->getMessageInfo($data); - unset($this->myChatRooms[$info['chatid']]); - $this->callHandler("ChatLeft", $data); - } - - /** - * Goto URL Handler - * - * Called on GotoURL. - * Call's user handler (if available) for GotoURL. - * No detailed info available for this / Unsupported. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onGotoURL($data) - { - //This is of no use to the internal class - - $this->callHandler("GotoURL", $data); - } - - /** - * Dir Status Handler - * - * Called on DirStatus. - * Call's user handler (if available) for DirStatus. - * No detailed info available for this / Unsupported. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onDirStatus($data) - { - //This is not currently suported - - $this->callHandler("DirStatus", $data); - } - - /** - * AdminNick Handler - * - * Called on AdminNick. - * Call's user handler (if available) for AdminNick. - * No detailed info available for this / Unsupported. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onAdminNick($data) - { - //NOt particularly useful to us - $this->callHandler("AdminNick", $data); - } - - /** - * AdminPasswd Handler - * - * Called on AdminPasswd. - * Call's user handler (if available) for AdminPasswd. - * No detailed info available for this / Unsupported. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onAdminPasswd($data) - { - //Also not particlualry useful to the internals - $this->callHandler("AdminPasswd", $data); - } - - /** - * Pause Handler - * - * Called on Pause. - * Call's user handler (if available) for Pause. - * No detailed info available for this / Unsupported. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onPause($data) - { - //This is pretty useless to us too... - - $this->callHandler("Pause", $data); - } - - /** - * Direct Connection Handler - * - * Called on Direct Connection Request(Rvous). - * Call's user handler (if available) for Rvous. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function onRvous($data) - { - $this->callHandler("Rvous", $data); - } - - /** - * CatchAll Handler - * - * Called for unrecognized commands. - * Logs unsupported messages to array. - * Call's user handler (if available) for CatchAll. - * - * @access private - * @param String $data Raw message from server - * @return void - */ - function CatchAll($data) - { - //Add to a log of unsupported messages. - - $this->unsupported[] = $data; - //$this->log($data); - //print_r($data); - - $this->callHandler("CatchAll", $data); - } - - /** - * Calls User Handler - * - * Calls registered handler for a specific event. - * - * @access private - * @param String $event Command (event) name (Rvous etc) - * @param String $data Raw message from server - * @see registerHandler - * @return void - */ - function callHandler($event, $data) - { - - if (isset($this->myEventHandlers[$event])) - { - //$function = $this->myEventHandlers[$event] . "(\$data);"; - //eval($function); - call_user_func($this->myEventHandlers[$event], $data); - } - else - { - $this->noHandler($data); - } - } - - /** - * Registers a user handler - * - * Handler List - * SignOn, Config, ERROR, NICK, IMIn, UpdateBuddy, Eviled, Warned, ChatJoin - * ChatIn, ChatUpdate, ChatInvite, ChatLeft, GotoURL, DirStatus, AdminNick - * AdminPasswd, Pause, Rvous, DimIn, CatchAll - * - * @access private - * @param String $event Event name - * @param String $handler User function to call - * @see callHandler - * @return boolean Returns true if successful - */ - function registerHandler($event, $handler) - { - if (is_callable($handler)) - { - $this->myEventHandlers[$event] = $handler; - return true; - } - else - { - return false; - } - } - - /** - * No user handler method fall back. - * - * Does nothing with message. - * - * @access public - * @param String $message Raw server message - * @return void - */ - function noHandler($message) - { - //This function intentionally left blank - //This is where the handlers will fall to for now. I plan on including a more - //efficent check to avoid the apparent stack jumps that this code will produce - //But for now, just fall into here, and be happy - return; - } - - //GLOBAL FUNCTIONS - - /** - * Finds type, and returns as part of array ['type'] - * Puts message in ['incoming'] - * - * Helper method for getMessageInfo. - * - * @access public - * @param String $message Raw server message - * @see msg_parse - * @see getMessageInfo - * @return array - */ - static function msg_type($message) - { - $command = array(); - @list($cmd, $rest) = explode(":", $message); - switch($cmd) - { - case 'IM_IN2': - $type = AIM_TYPE_MSG; - break; - - case 'UPDATE_BUDDY2': - $type = AIM_TYPE_UPDATEBUDDY; - break; - - case 'EVILED': - $type = AIM_TYPE_WARN; - break; - - case 'SIGN_ON': - $type = AIM_TYPE_SIGNON; - break; - - case 'NICK': - $type = AIM_TYPE_NICK; - break; - - case 'ERROR': - $type = AIM_TYPE_ERROR; - break; - - case 'CHAT_JOIN': - $type = AIM_TYPE_CHATJ; - break; - - case 'CHAT_IN': - $type = AIM_TYPE_CHATI; - break; - - case 'CHAT_UPDATE_BUDDY': - $type = AIM_TYPE_CHATUPDBUD; - break; - - case 'CHAT_INVITE': - $type = AIM_TYPE_CHATINV; - break; - - case 'CHAT_LEFT': - $type = AIM_TYPE_CHATLE; - break; - - case 'GOTO_URL': - $type = AIM_TYPE_URL; - break; - - case 'ADMIN_NICK_STATUS': - $type = AIM_TYPE_NICKSTAT; - break; - - case 'ADMIN_PASSWD_STATUS': - $type = AIM_TYPE_PASSSTAT; - break; - - case 'RVOUS_PROPOSE': - $type = AIM_TYPE_RVOUSP; - break; - - default: - $type = AIM_TYPE_NOT_IMPLEMENTED; - break; - } - $command['type'] = $type; - $command['incoming'] = $message; - return $command; - } - - /** - * Parses message and splits into info array - * - * Helper method for getMessageInfo. - * - * @access public - * @param String $command Message and type (after msg_type) - * @see msg_type - * @see getMessageInfo - * @return array - */ - static function msg_parse($command) - { - $info = array(); - switch($command['type']) - { - case AIM_TYPE_WARN: - $command['incoming'] .= ":0"; - $it = explode(":", $command['incoming']); - $info['warnlevel'] = $it[1]; - $info['from'] = $it[2]; - - break; - - case AIM_TYPE_MSG: - $it = explode(":", $command['incoming'],5); - $info['auto'] = $it[2]; - $info['from'] = $it[1]; - $info['message'] = $it[4]; - break; - - case AIM_TYPE_UPDATEBUDDY: - @list($cmd, $info['sn'], $info['online'], $info['warnlevel'], $info['signon'], $info['idle'], $info['uc']) = explode(":", $command['incoming']); - break; - - case AIM_TYPE_SIGNON: - @list($cmd, $info['version']) = explode(":", $command['incoming']); - break; - - case AIM_TYPE_NICK: - @list($cmd, $info['nickname']) = explode(":", $command['incoming']); - break; - case AIM_TYPE_ERROR: - @list($cmd, $info['errorcode'], $info['args']) = explode(":", $command['incoming']); - break; - - case AIM_TYPE_CHATJ: - @list($cmd, $info['chatid'], $info['chatname']) = explode(":", $command['incoming']); - break; - - case AIM_TYPE_CHATI: - @list($cmd, $info['chatid'], $info['user'], $info['whisper'], $info['message']) = explode(":", $command['incoming'],5); - break; - - case AIM_TYPE_CHATUPDBUD: - @list($cmd, $info['chatid'], $info['inside'], $info['userlist']) = explode(":", $command['incoming'],3); - break; - - case AIM_TYPE_CHATINV: - @list($cmd, $info['chatname'], $info['chatid'], $info['from'], $info['message']) = explode(":", $command['incoming'],5); - break; - - case AIM_TYPE_CHATLE: - @list($cmd, $info['chatid']) = explode(":", $command['incoming']); - break; - - case AIM_TYPE_URL: - @list($cmd, $info['windowname'], $info['url']) = explode(":", $command['incoming'],3); - break; - - case AIM_TYPE_RVOUSP: - @list($cmd,$info['user'],$info['uuid'],$info['cookie'],$info['seq'],$info['rip'],$info['pip'],$info['vip'],$info['port'],$info['tlvs']) = explode(":",$command['incoming'],10); - break; - - case AIM_TYPE_NICKSTAT: - case AIM_TYPE_PASSSTAT: - @list($cmd, $info['returncode'], $info['opt']) = explode(":", $command['incoming'],3); - break; - - default: - $info['command'] = $command['incoming']; - } - return $info; - } - - /** - * Returns a parsed message - * - * Calls msg_parse(msg_type( to first determine message type and then parse accordingly - * - * @access public - * @param String $command Raw server message - * @see msg_type - * @see msg_parse - * @return array - */ - static function getMessageInfo($message) - { - return self::msg_parse(self::msg_type($message)); - } - - /** - * Checks socket for end of file - * - * @access public - * @param Resource $socket Socket to check - * @return boolean true if end of file (socket) - */ - static function socketcheck($socket){ - $info = stream_get_meta_data($socket); - return $info['eof']; - //return(feof($socket)); - } -} - -?> diff --git a/plugins/Aim/extlib/phptoclib/dconnection.php b/plugins/Aim/extlib/phptoclib/dconnection.php deleted file mode 100755 index c6be25ffb9..0000000000 --- a/plugins/Aim/extlib/phptoclib/dconnection.php +++ /dev/null @@ -1,229 +0,0 @@ -connect($ip,$port)) - { - sEcho("Connection failed constructor"); - $this->connected=false; - } - else - $this->connected=true; - - $this->lastMessage=""; - $this->lastReceived=""; - } - - function readDIM() - { - /* - if(!$this->stuffToRead()) - { - sEcho("Nothing to read"); - $this->lastMessage=$this->lastReceived=""; - return false; - } - */ - $head=fread($this->sock,6); - if(strlen($head)<=0) - { - sEcho("The direct connection has been closed"); - return false; - } - $minihead=unpack("a4ver/nsize",$head); - if($minihead['size'] <=0) - return; - $headerinfo=unpack("nchan/nsix/nzero/a6cookie/Npt1/Npt2/npt3/Nlen/Npt/npt0/ntype/Nzerom/a*sn",fread($this->sock,($minihead['size']-6))); - $allheader=array_merge($minihead,$headerinfo); - sEcho($allheader); - if($allheader['len']>0 && $allheader['len'] <= MAX_DIM_SIZE) - { - $left=$allheader['len']; - $stuff=""; - $nonin=0; - while(strlen($stuff) < $allheader['len'] && $nonin<3) - { - $stuffg=fread($this->sock,$left); - if(strlen($stuffg)<0) - { - $nonin++; - continue; - } - $left=$left - strlen($stuffg); - $stuff.=$stuffg; - } - $data=unpack("a*decoded",$stuff); - } - - else if($allheader['len'] > MAX_DIM_SIZE) - { - $data['decoded']="too big"; - } - - else - $data['decoded']=""; - $all=array_merge($allheader,$data); - - $this->lastReceived=$all; - $this->lastMessage=$all['decoded']; - - //$function=$this->DimInf . "(\$all);"; - //eval($function); - - return $all; - } - - function sendMessage($message,$sn) - { - //Make the "mini header" - $minihead=pack("a4n","ODC2",76); - $header=pack("nnna6NNnNNnnNa*",1,6,0,$this->cookie,0,0,0,strlen($message),0,0,96,0,$sn); - $bighead=$minihead . $header; - while(strlen($bighead)<76) - $bighead.=pack("c",0); - - $tosend=$bighead . pack("a*",$message); - $w=array($this->sock); - stream_select($r=NULL,$w,$e=NULL,NULL); - //Now send it all - fputs($this->sock,$tosend,strlen($tosend)); - } - function stuffToRead() - { - //$info=stream_get_meta_data($this->sock); - //sEcho($info); - $s=array($this->sock); - $changed=stream_select($s,$fds=NULL,$m=NULL,0,20000); - return ($changed>0); - } - - function close() - { - $this->connected=false; - return fclose($this->sock); - } - - function connect($ip,$port) - { - $this->sock=fsockopen($ip,$port,$en,$es,3); - if(!$this->sock) - { sEcho("Connection failed"); - $this->sock=null; - return false; - } - return true; - } -} - - -class FileSendConnect -{ - var $sock; - var $lastReceived; - var $lastMessage; - var $connected; - var $cookie; - var $tpye=3; - - - function FileSendConnect($ip,$port) - { - if(!$this->connect($ip,$port)) - { - sEcho("Connection failed constructor"); - $this->connected=false; - } - else - $this->connected=true; - - $this->lastMessage=""; - $this->lastReceived=""; - } - - function readDIM() - { - - if(!$this->stuffToRead()) - { - sEcho("Nothing to read"); - $this->lastMessage=$this->lastReceived=""; - return; - } - - $minihead=unpack("a4ver/nsize",fread($this->sock,6)); - if($minihead['size'] <=0) - return; - $headerinfo=unpack("nchan/nsix/nzero/a6cookie/Npt1/Npt2/npt3/Nlen/Npt/npt0/ntype/Nzerom/a*sn",fread($this->sock,($minihead['size']-6))); - $allheader=array_merge($minihead,$headerinfo); - sEcho($allheader); - if($allheader['len']>0) - $data=unpack("a*decoded",fread($this->sock,$allheader['len'])); - else - $data['decoded']=""; - $all=array_merge($allheader,$data); - - $this->lastReceived=$all; - $this->lastMessage=$all['decoded']; - - //$function=$this->DimInf . "(\$all);"; - //eval($function); - - return $all; - } - - function sendMessage($message,$sn) - { - //Make the "mini header" - $minihead=pack("a4n","ODC2",76); - $header=pack("nnna6NNnNNnnNa*",1,6,0,$this->cookie,0,0,0,strlen($message),0,0,96,0,$sn); - $bighead=$minihead . $header; - while(strlen($bighead)<76) - $bighead.=pack("c",0); - - $tosend=$bighead . pack("a*",$message); - - //Now send it all - fwrite($this->sock,$tosend,strlen($tosend)); - } - function stuffToRead() - { - //$info=stream_get_meta_data($this->sock); - //sEcho($info); - $s=array($this->sock); - $changed=stream_select($s,$fds=NULL,$m=NULL,1); - return ($changed>0); - } - - function close() - { - $this->connected=false; - fclose($this->sock); - unset($this->sock); - return true; - } - - function connect($ip,$port) - { - $this->sock=fsockopen($ip,$port,$en,$es,3); - if(!$this->sock) - { sEcho("Connection failed to" . $ip . ":" . $port); - $this->sock=null; - return false; - } - return true; - } -} diff --git a/plugins/Aim/lib/aimmanager.php b/plugins/Aim/lib/aimmanager.php deleted file mode 100644 index 619a9ad0a7..0000000000 --- a/plugins/Aim/lib/aimmanager.php +++ /dev/null @@ -1,100 +0,0 @@ -. - */ - -if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } - -/** - * AIM background connection manager for AIM-using queue handlers, - * allowing them to send outgoing messages on the right connection. - * - * Input is handled during socket select loop, keepalive pings during idle. - * Any incoming messages will be handled. - * - * In a multi-site queuedaemon.php run, one connection will be instantiated - * for each site being handled by the current process that has XMPP enabled. - */ -class AimManager extends ImManager -{ - public $conn = null; - /** - * Initialize connection to server. - * @return boolean true on success - */ - public function start($master) - { - if(parent::start($master)) - { - $this->connect(); - return true; - }else{ - return false; - } - } - - public function getSockets() - { - $this->connect(); - if($this->conn){ - return array($this->conn->myConnection); - }else{ - return array(); - } - } - - /** - * Process AIM events that have come in over the wire. - * @param resource $socket - */ - public function handleInput($socket) - { - common_log(LOG_DEBUG, "Servicing the AIM queue."); - $this->stats('aim_process'); - $this->conn->receive(); - } - - function connect() - { - if (!$this->conn) { - $this->conn=new Aim($this->plugin->user,$this->plugin->password,4); - $this->conn->registerHandler("IMIn",array($this,"handle_aim_message")); - $this->conn->myServer="toc.oscar.aol.com"; - $this->conn->signon(); - // @todo i18n FIXME: Update translator documentation, please. - // TRANS: No idea what the use case for this message is. - $this->conn->setProfile(_m('Send me a message to post a notice'),false); - } - return $this->conn; - } - - function handle_aim_message($data) - { - $this->plugin->enqueueIncomingRaw($data); - return true; - } - - function send_raw_message($data) - { - $this->connect(); - if (!$this->conn) { - return false; - } - $this->conn->sflapSend($data[0],$data[1],$data[2],$data[3]); - return true; - } -} diff --git a/plugins/Aim/locale/Aim.pot b/plugins/Aim/locale/Aim.pot deleted file mode 100644 index 323e95c5c7..0000000000 --- a/plugins/Aim/locale/Aim.pot +++ /dev/null @@ -1,43 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" -"Content-Transfer-Encoding: 8bit\n" - -#. TRANS: No idea what the use case for this message is. -#: aimmanager.php:80 -msgid "Send me a message to post a notice" -msgstr "" - -#. TRANS: Display name. -#: AimPlugin.php:60 -msgid "AIM" -msgstr "" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -#: AimPlugin.php:149 -msgid "Must specify a user." -msgstr "" - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -#: AimPlugin.php:153 -msgid "Must specify a password." -msgstr "" - -#. TRANS: Plugin description. -#: AimPlugin.php:168 -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" diff --git a/plugins/Aim/locale/af/LC_MESSAGES/Aim.po b/plugins/Aim/locale/af/LC_MESSAGES/Aim.po deleted file mode 100644 index b634420e27..0000000000 --- a/plugins/Aim/locale/af/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Afrikaans (Afrikaans) -# Exported from translatewiki.net -# -# Author: Naudefj -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Afrikaans \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: af\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Stuur my 'n boodskap om 'n kennisgewing te pos" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "" - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "" - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Die AIM-uitbreiding laat gebruikers toe om kennisgewings oor die AIM-netwerk " -"te stuur en te ontvang." diff --git a/plugins/Aim/locale/ca/LC_MESSAGES/Aim.po b/plugins/Aim/locale/ca/LC_MESSAGES/Aim.po deleted file mode 100644 index ff774deaf8..0000000000 --- a/plugins/Aim/locale/ca/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,47 +0,0 @@ -# Translation of StatusNet - Aim to Catalan (català) -# Exported from translatewiki.net -# -# Author: Dvdgmz -# Author: Gemmaa -# Author: Toniher -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:33+0000\n" -"Language-Team: Catalan \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ca\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Envia'm un missatge per publicar un avís" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Has d'especificar un usuari" - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Has d'especificar una contrassenya" - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"El connector XMPP permet als usuaris enviar i rebre avisos des de la xarxa " -"XMPP/Jabber." diff --git a/plugins/Aim/locale/de/LC_MESSAGES/Aim.po b/plugins/Aim/locale/de/LC_MESSAGES/Aim.po deleted file mode 100644 index 5beba69dbf..0000000000 --- a/plugins/Aim/locale/de/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,46 +0,0 @@ -# Translation of StatusNet - Aim to German (Deutsch) -# Exported from translatewiki.net -# -# Author: Giftpflanze -# Author: Marcel083 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: German \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: de\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Sende mir eine Nachricht um eine Notiz zu schreiben" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Du musst einen Benutzer angeben." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Du musst ein Passwort angeben." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Das AIM-Plugin ermöglicht es Benutzern, Nachrichten über das AIM-Netzwerk zu " -"senden und zu empfangen." diff --git a/plugins/Aim/locale/es/LC_MESSAGES/Aim.po b/plugins/Aim/locale/es/LC_MESSAGES/Aim.po deleted file mode 100644 index 6eaa92141d..0000000000 --- a/plugins/Aim/locale/es/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,47 +0,0 @@ -# Translation of StatusNet - Aim to Spanish (español) -# Exported from translatewiki.net -# -# Author: Erchache2000 -# Author: Od1n -# Author: Plaxed -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Spanish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: es\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Enviarme un mensaje para publicar un aviso" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Debe especificar un usuario." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Debe especificar una contraseña." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"El plugin AIM permite a los usuarios enviar y recibir mensajes de una red " -"AIM." diff --git a/plugins/Aim/locale/eu/LC_MESSAGES/Aim.po b/plugins/Aim/locale/eu/LC_MESSAGES/Aim.po deleted file mode 100644 index 874f0d9599..0000000000 --- a/plugins/Aim/locale/eu/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Basque (euskara) -# Exported from translatewiki.net -# -# Author: Artsuaga -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Basque \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: eu\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Bidali mezu bat niri ohar bat argitartzeko" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Erabiltzaile bat zehaztu." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Pasahitz bat zehaztu." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"AIM pluginak erabiltzaileei AIM sare bidez mezuak bidali eta jasotzea " -"ahalbidetzen die." diff --git a/plugins/Aim/locale/fi/LC_MESSAGES/Aim.po b/plugins/Aim/locale/fi/LC_MESSAGES/Aim.po deleted file mode 100644 index e9ef6a7485..0000000000 --- a/plugins/Aim/locale/fi/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Finnish (suomi) -# Exported from translatewiki.net -# -# Author: Tne -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Finnish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: fi\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Lähetä minulle viesti lähettääksesi päivityksen" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Käyttäjä pitää määrittää." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Salasana pitää määrittää." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"AIM-liitännäisen avulla käyttäjät voivat lähettää ja vastaanottaa " -"päivityksiä AIM-verkoston kautta." diff --git a/plugins/Aim/locale/fr/LC_MESSAGES/Aim.po b/plugins/Aim/locale/fr/LC_MESSAGES/Aim.po deleted file mode 100644 index 8a20feca26..0000000000 --- a/plugins/Aim/locale/fr/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,46 +0,0 @@ -# Translation of StatusNet - Aim to French (français) -# Exported from translatewiki.net -# -# Author: Coyau -# Author: Iketsi -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: French \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: fr\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Envoyez-moi un message pour envoyer un avis" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Vous devez indiquer un utilisateur." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Vous devez indiquer un mot de passe." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Le plugin AIM permet aux utilisateurs d'envoyer et de recevoir des messages " -"depuis le réseau AIM." diff --git a/plugins/Aim/locale/gl/LC_MESSAGES/Aim.po b/plugins/Aim/locale/gl/LC_MESSAGES/Aim.po deleted file mode 100644 index 0f9e3f6d02..0000000000 --- a/plugins/Aim/locale/gl/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Galician (galego) -# Exported from translatewiki.net -# -# Author: Toliño -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Galician \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: gl\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Envíame unha mensaxe para publicar unha nota" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Cómpre especificar un usuario." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Cómpre especificar un contrasinal." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"O complemento AIM permite aos usuarios enviar e recibir mensaxes desde a " -"rede de AIM." diff --git a/plugins/Aim/locale/ia/LC_MESSAGES/Aim.po b/plugins/Aim/locale/ia/LC_MESSAGES/Aim.po deleted file mode 100644 index bc198b8186..0000000000 --- a/plugins/Aim/locale/ia/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Interlingua (interlingua) -# Exported from translatewiki.net -# -# Author: McDutchie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Interlingua \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ia\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Inviar me un message pro publicar un nota" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Es necessari specificar un usator." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Es necessari specificar un contrasigno." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Le plug-in de AIM permitte que usatores invia e recipe notas per le rete de " -"AIM." diff --git a/plugins/Aim/locale/it/LC_MESSAGES/Aim.po b/plugins/Aim/locale/it/LC_MESSAGES/Aim.po deleted file mode 100644 index b48753fcf6..0000000000 --- a/plugins/Aim/locale/it/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of StatusNet - Aim to Italian (italiano) -# Exported from translatewiki.net -# -# Author: Od1n -# Author: Ximo17 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Translation-Project: translatewiki.net \n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Mandami un messaggio per pubblicare una notizia" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Devi specificare un utente." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Devi specificare una password." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Il plugin per AIM consente agli utenti di inviare e ricevere le notizie " -"tramite la rete AIM." diff --git a/plugins/Aim/locale/mk/LC_MESSAGES/Aim.po b/plugins/Aim/locale/mk/LC_MESSAGES/Aim.po deleted file mode 100644 index cefdc673d1..0000000000 --- a/plugins/Aim/locale/mk/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Macedonian (македонски) -# Exported from translatewiki.net -# -# Author: Bjankuloski06 -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Macedonian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: mk\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Испрати ми порака за да објавам забелешка" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Мора да наведете корисник." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Мора да наведете лозинка." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Приклучокот AIM им овозможува на корисниците да испраќаат и примаат " -"забелешки преку мрежата AIM." diff --git a/plugins/Aim/locale/ms/LC_MESSAGES/Aim.po b/plugins/Aim/locale/ms/LC_MESSAGES/Aim.po deleted file mode 100644 index d15de49735..0000000000 --- a/plugins/Aim/locale/ms/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Malay (Bahasa Melayu) -# Exported from translatewiki.net -# -# Author: Anakmalaysia -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Malay \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: ms\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Hantarkan pesanan kepada saya untuk mengirim notis" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Pengguna mesti ditentukan." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Kata laluan mesti ditentukan." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Pemalam AIM membolehkan pengguna menghantar dan menerima notis menerusi " -"rangkaian AIM." diff --git a/plugins/Aim/locale/nl/LC_MESSAGES/Aim.po b/plugins/Aim/locale/nl/LC_MESSAGES/Aim.po deleted file mode 100644 index 6869d795e2..0000000000 --- a/plugins/Aim/locale/nl/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Dutch (Nederlands) -# Exported from translatewiki.net -# -# Author: Siebrand -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Language-Team: Dutch \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: nl\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Mij een bericht sturen om een mededeling te verzenden" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Er moet een gebruiker opgegeven worden." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Er moet een wachtwoord opgegeven worden." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Maakt het mogelijk om mededelingen te zenden naar en ontvangen van een AIM-" -"netwerk." diff --git a/plugins/Aim/locale/pl/LC_MESSAGES/Aim.po b/plugins/Aim/locale/pl/LC_MESSAGES/Aim.po deleted file mode 100644 index 56a4cea1b3..0000000000 --- a/plugins/Aim/locale/pl/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,43 +0,0 @@ -# Translation of StatusNet - Aim to Polish (polski) -# Exported from translatewiki.net -# -# Author: BeginaFelicysym -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:34+0000\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Translation-Project: translatewiki.net \n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && " -"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Wyślij do mnie wiadomość by dodać ogłoszenie" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Należy określić użytkownika." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Należy określić hasło." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Wtyczka AIM umożliwia użytkownikom wysyłanie i otrzymywanie powiadomień w " -"sieci AIM." diff --git a/plugins/Aim/locale/pt/LC_MESSAGES/Aim.po b/plugins/Aim/locale/pt/LC_MESSAGES/Aim.po deleted file mode 100644 index 82fedba464..0000000000 --- a/plugins/Aim/locale/pt/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Portuguese (português) -# Exported from translatewiki.net -# -# Author: SandroHc -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:35+0000\n" -"Language-Team: Portuguese \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: pt\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Envie-me uma mensagem para colocar uma notícia" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "" - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "" - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"O plugin AIM permite aos utilizadores enviar e receber avisos sobre a rede " -"AIM." diff --git a/plugins/Aim/locale/sv/LC_MESSAGES/Aim.po b/plugins/Aim/locale/sv/LC_MESSAGES/Aim.po deleted file mode 100644 index ac000fb8e7..0000000000 --- a/plugins/Aim/locale/sv/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,46 +0,0 @@ -# Translation of StatusNet - Aim to Swedish (svenska) -# Exported from translatewiki.net -# -# Author: Jamminjohn -# Author: WikiPhoenix -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:35+0000\n" -"Language-Team: Swedish \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: sv\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Måste ange en användare." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Du måste ange ett lösenord." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"AIM-tillägget tillåter användare skicka och ta emot meddelanden över AIM-" -"nätverket." diff --git a/plugins/Aim/locale/tl/LC_MESSAGES/Aim.po b/plugins/Aim/locale/tl/LC_MESSAGES/Aim.po deleted file mode 100644 index f8c6c1d1fa..0000000000 --- a/plugins/Aim/locale/tl/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Tagalog (Tagalog) -# Exported from translatewiki.net -# -# Author: AnakngAraw -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:35+0000\n" -"Language-Team: Tagalog \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: tl\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Padalhan ako ng isang mensahe upang makapagpaskil ng isang pabatid" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Kailangang tumukoy ng isang tagagamit." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Kailangang tumukoy ng isang hudyat." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Nagpapahintulot sa mga tagagamit ang pampasak na AIM upang makapagpadala at " -"makatanggap ng mga pabatid sa ibabaw ng kalambatan ng AIM." diff --git a/plugins/Aim/locale/uk/LC_MESSAGES/Aim.po b/plugins/Aim/locale/uk/LC_MESSAGES/Aim.po deleted file mode 100644 index 2acc6ae8d3..0000000000 --- a/plugins/Aim/locale/uk/LC_MESSAGES/Aim.po +++ /dev/null @@ -1,45 +0,0 @@ -# Translation of StatusNet - Aim to Ukrainian (українська) -# Exported from translatewiki.net -# -# Author: Boogie -# -- -# This file is distributed under the same license as the StatusNet package. -# -msgid "" -msgstr "" -"Project-Id-Version: StatusNet - Aim\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-30 11:07+0000\n" -"PO-Revision-Date: 2012-06-30 11:07:35+0000\n" -"Language-Team: Ukrainian \n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n" -"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n" -"X-Translation-Project: translatewiki.net \n" -"X-Language-Code: uk\n" -"X-Message-Group: #out-statusnet-plugin-aim\n" -"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= " -"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n" - -#. TRANS: No idea what the use case for this message is. -msgid "Send me a message to post a notice" -msgstr "Надішліть мені повідомлення, щоб опублікувати свій допис" - -#. TRANS: Display name. -msgid "AIM" -msgstr "AIM" - -#. TRANS: Exception thrown in AIM plugin when user has not been specified. -msgid "Must specify a user." -msgstr "Необхідно зазначити користувача." - -#. TRANS: Exception thrown in AIM plugin when password has not been specified. -msgid "Must specify a password." -msgstr "Необхідно вказати пароль." - -#. TRANS: Plugin description. -msgid "" -"The AIM plugin allows users to send and receive notices over the AIM network." -msgstr "" -"Додаток AIM дозволяє користувачам надсилати і отримувати дописи у мережі AIM." diff --git a/plugins/Enjit/README b/plugins/Enjit/README deleted file mode 100644 index 03f989490b..0000000000 --- a/plugins/Enjit/README +++ /dev/null @@ -1,5 +0,0 @@ -This doesn't seem to have been functional for a while; can't find other references -to the enjit configuration or transport enqueuing. Keeping it in case someone -wants to bring it up to date. - --- brion vibber 2009-12-03 diff --git a/plugins/Enjit/enjitqueuehandler.php b/plugins/Enjit/enjitqueuehandler.php deleted file mode 100644 index c0332b91a2..0000000000 --- a/plugins/Enjit/enjitqueuehandler.php +++ /dev/null @@ -1,83 +0,0 @@ -. - */ - -if (!defined('STATUSNET') && !defined('LACONICA')) { - exit(1); -} - -/** - * Queue handler for watching new notices and posting to enjit. - * @todo FIXME: Is this actually being used/functional atm? - */ -class EnjitQueueHandler extends QueueHandler -{ - function transport() - { - return 'enjit'; - } - - function handle($notice) - { - - $profile = Profile::getKV($notice->profile_id); - - $this->log(LOG_INFO, "Posting Notice ".$notice->id." from ".$profile->nickname); - - if ( ! $notice->is_local ) { - $this->log(LOG_INFO, "Skipping remote notice"); - return "skipped"; - } - - # - // Build an Atom message from the notice - # - $noticeurl = common_local_url('shownotice', array('notice' => $notice->id)); - $msg = $profile->nickname . ': ' . $notice->content; - - $atom = "\n"; - $atom .= "".common_config('enjit','source')."\n"; - $atom .= "\n"; - $atom .= "" . $profile->nickname . " - " . common_config('site', 'name') . "\n"; - $atom .= "\n"; - $atom .= " $profile->nickname)) . "'/>\n"; - $atom .= "" . $profile->nickname . "\n"; - $atom .= "" . $profile->avatarUrl(AVATAR_PROFILE_SIZE) . "\n"; - $atom .= "\n"; - $atom .= "" . htmlspecialchars($msg) . "\n"; - $atom .= "" . htmlspecialchars($msg) . "\n"; - $atom .= "\n"; - $atom .= "". $notice->uri . "\n"; - $atom .= "".common_date_w3dtf($notice->created)."\n"; - $atom .= "".common_date_w3dtf($notice->modified)."\n"; - $atom .= "\n"; - - $url = common_config('enjit', 'apiurl') . "/submit/". common_config('enjit','apikey'); - $data = array( - 'msg' => $atom, - ); - - # - // POST the message to $config['enjit']['apiurl'] - # - $request = HTTPClient::start(); - $response = $request->post($url, null, $data); - - return $response->isOk(); - } -} diff --git a/plugins/Irc/IrcPlugin.php b/plugins/Irc/IrcPlugin.php deleted file mode 100644 index 7fe58e06ac..0000000000 --- a/plugins/Irc/IrcPlugin.php +++ /dev/null @@ -1,385 +0,0 @@ -. - * - * @category IM - * @package StatusNet - * @author Luke Fitzgerald - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ - -if (!defined('STATUSNET')) { - // This check helps protect against security problems; - // your code file can't be executed directly from the web. - exit(1); -} - -// We bundle the Phergie library... -set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/phergie'); - -/** - * Plugin for IRC - * - * @category Plugin - * @package StatusNet - * @author Luke Fitzgerald - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ -class IrcPlugin extends ImPlugin { - public $host = null; - public $port = null; - public $username = null; - public $realname = null; - public $nick = null; - public $password = null; - public $nickservidentifyregexp = null; - public $nickservpassword = null; - public $channels = null; - public $transporttype = null; - public $encoding = null; - public $pinginterval = null; - - public $regcheck = null; - public $unregregexp = null; - public $regregexp = null; - - public $transport = 'irc'; - protected $whiteList; - protected $fake_irc; - - /** - * Get the internationalized/translated display name of this IM service - * - * @return string Name of service - */ - public function getDisplayName() { - // TRANS: Service name for IRC. - return _m('IRC'); - } - - /** - * Normalize a screenname for comparison - * - * @param string $screenname Screenname to normalize - * @return string An equivalent screenname in normalized form - */ - public function normalize($screenname) { - $screenname = str_replace(" ","", $screenname); - return strtolower($screenname); - } - - /** - * Get the screenname of the daemon that sends and receives messages - * - * @return string Screenname - */ - public function daemonScreenname() { - return $this->nick; - } - - /** - * Validate (ensure the validity of) a screenname - * - * @param string $screenname Screenname to validate - * @return boolean true if screenname is valid - */ - public function validate($screenname) { - if (preg_match('/\A[a-z0-9\-_]{1,1000}\z/i', $screenname)) { - return true; - } else { - return false; - } - } - - /** - * Load related modules when needed - * - * @param string $cls Name of the class to be loaded - * @return boolean hook value; true means continue processing, false means stop. - */ - public function onAutoload($cls) { - // in the beginning of this file, we have added an include path - if (substr($cls, 0, 7) == 'Phergie') { - include_once str_replace('_', DIRECTORY_SEPARATOR, $cls) . '.php'; - return false; - } - - return parent::onAutoload($cls); - } - - /* - * Start manager on daemon start - * - * @param array &$versions Array to insert manager into - * @return boolean - */ - public function onStartImDaemonIoManagers(&$classes) { - parent::onStartImDaemonIoManagers($classes); - $classes[] = new IrcManager($this); // handles sending/receiving - return true; - } - - /** - * Ensure the database table is present - * - */ - public function onCheckSchema() { - $schema = Schema::get(); - - // For storing messages while sessions become ready - $schema->ensureTable('irc_waiting_message', Irc_waiting_message::schemaDef()); - return true; - } - - /** - * Get a microid URI for the given screenname - * - * @param string $screenname Screenname - * @return string microid URI - */ - public function microiduri($screenname) { - return 'irc:' . $screenname; - } - - /** - * Send a message to a given screenname - * - * @param string $screenname Screenname to send to - * @param string $body Text to send - * @return boolean true on success - */ - public function sendMessage($screenname, $body) { - $lines = explode("\n", $body); - foreach ($lines as $line) { - $this->fake_irc->doPrivmsg($screenname, $line); - $this->enqueueOutgoingRaw(array('type' => 'message', 'prioritise' => 0, 'data' => $this->fake_irc->would_be_sent)); - } - return true; - } - - /** - * Accept a queued input message. - * - * @return boolean true if processing completed, false if message should be reprocessed - */ - public function receiveRawMessage($data) { - if (strpos($data['source'], '#') === 0) { - $message = $data['message']; - $parts = explode(' ', $message, 2); - $command = $parts[0]; - if (in_array($command, $this->whiteList)) { - $this->handle_channel_incoming($data['sender'], $data['source'], $message); - } else { - $this->handleIncoming($data['sender'], $message); - } - } else { - $this->handleIncoming($data['sender'], $data['message']); - } - return true; - } - - /** - * Helper for handling incoming messages from a channel requiring response - * to the channel instead of via PM - * - * @param string $nick Screenname the message was sent from - * @param string $channel Channel the message originated from - * @param string $message Message text - * @param boolean true on success - */ - protected function handle_channel_incoming($nick, $channel, $notice_text) { - $user = $this->getUser($nick); - // For common_current_user to work - global $_cur; - $_cur = $user; - - if (!$user) { - $this->sendFromSite($nick, 'Unknown user; go to ' . - common_local_url('imsettings') . - ' to add your address to your account'); - common_log(LOG_WARNING, 'Message from unknown user ' . $nick); - return; - } - if ($this->handle_channel_command($user, $channel, $notice_text)) { - common_log(LOG_INFO, "Command message by $nick handled."); - return; - } else if ($this->isAutoreply($notice_text)) { - common_log(LOG_INFO, 'Ignoring auto reply from ' . $nick); - return; - } else if ($this->isOtr($notice_text)) { - common_log(LOG_INFO, 'Ignoring OTR from ' . $nick); - return; - } else { - common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname); - $this->addNotice($nick, $user, $notice_text); - } - - $user->free(); - unset($user); - unset($_cur); - unset($message); - } - - /** - * Attempt to handle a message from a channel as a command - * - * @param User $user User the message is from - * @param string $channel Channel the message originated from - * @param string $body Message text - * @return boolean true if the message was a command and was executed, false if it was not a command - */ - protected function handle_channel_command($user, $channel, $body) { - $inter = new CommandInterpreter(); - $cmd = $inter->handle_command($user, $body); - if ($cmd) { - $chan = new ChannelResponseChannel($this, $channel); - $cmd->execute($chan); - return true; - } else { - return false; - } - } - - /** - * Send a confirmation code to a user - * - * @param string $screenname screenname sending to - * @param string $code the confirmation code - * @param User $user user sending to - * @return boolean success value - */ - public function sendConfirmationCode($screenname, $code, $user, $checked = false) { - // TRANS: Body text for e-mail confirmation message for IRC. - // TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename, - // TRANS: %3$s is the plugin display name ("IRC"), %4$s is the confirm address URL. - $body = sprintf(_m('User "%1$s" on %2$s has said that your %3$s screenname belongs to them. ' . - 'If that\'s true, you can confirm by clicking on this URL: ' . - '%4$s' . - ' . (If you cannot click it, copy-and-paste it into the ' . - 'address bar of your browser). If that user is not you, ' . - 'or if you did not request this confirmation, just ignore this message.'), - $user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', array('code' => $code))); - - if ($this->regcheck && !$checked) { - return $this->checked_sendConfirmationCode($screenname, $code, $user); - } else { - return $this->sendMessage($screenname, $body); - } - } - - /** - * Only sends the confirmation message if the nick is - * registered - * - * @param string $screenname Screenname sending to - * @param string $code The confirmation code - * @param User $user User sending to - * @return boolean true on succes - */ - public function checked_sendConfirmationCode($screenname, $code, $user) { - $this->fake_irc->doPrivmsg('NickServ', 'INFO '.$screenname); - $this->enqueueOutgoingRaw( - array( - 'type' => 'nickcheck', - 'prioritise' => 1, - 'data' => $this->fake_irc->would_be_sent, - 'nickdata' => - array( - 'screenname' => $screenname, - 'code' => $code, - 'user' => $user - ) - ) - ); - return true; - } - - /** - * Initialize plugin - * - * @return boolean - */ - public function initialize() { - if (!isset($this->host)) { - // TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration. - throw new Exception(_m('You must specify a host.')); - } - if (!isset($this->username)) { - // TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration. - throw new Exception(_m('You must specify a username.')); - } - if (!isset($this->realname)) { - // TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration. - throw new Exception(_m('You must specify a "real name".')); - } - if (!isset($this->nick)) { - // TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration. - throw new Exception(_m('You must specify a nickname.')); - } - - if (!isset($this->port)) { - $this->port = 6667; - } - if (!isset($this->transporttype)) { - $this->transporttype = 'tcp'; - } - if (!isset($this->encoding)) { - $this->encoding = 'UTF-8'; - } - if (!isset($this->pinginterval)) { - $this->pinginterval = 120; - } - - if (!isset($this->regcheck)) { - $this->regcheck = true; - } - - $this->fake_irc = new FakeIrc; - - /* - * Commands allowed to return output to a channel - */ - $this->whiteList = array('stats', 'last', 'get'); - - return true; - } - - /** - * Get plugin information - * - * @param array $versions Array to insert information into - * @return void - */ - public function onPluginVersion(&$versions) { - $versions[] = array('name' => 'IRC', - 'version' => GNUSOCIAL_VERSION, - 'author' => 'Luke Fitzgerald', - 'homepage' => 'http://status.net/wiki/Plugin:IRC', - 'rawdescription' => - // TRANS: Plugin description. - _m('The IRC plugin allows users to send and receive notices over an IRC network.')); - return true; - } -} diff --git a/plugins/Irc/README b/plugins/Irc/README deleted file mode 100644 index 0a5d9ea83f..0000000000 --- a/plugins/Irc/README +++ /dev/null @@ -1,45 +0,0 @@ -The IRC plugin allows users to send and receive notices over an IRC network. - -Installation -============ -add "addPlugin('irc', - array('setting'=>'value', 'setting2'=>'value2', ...);" -to the bottom of your config.php - -scripts/imdaemon.php included with StatusNet must be running. It will be started by -the plugin along with their other daemons when you run scripts/startdaemons.sh. -See the StatusNet README for more about queuing and daemons. - -Settings -======== -host*: Hostname of IRC server -port: Port of IRC server (defaults to 6667) -username*: Username of bot -realname*: Real name of bot -nick*: Nickname of bot -password: Password -nickservpassword: NickServ password for identification -nickservidentifyregexp: Override existing regexp matching request for identification from NickServ -channels: Channels for bot to idle in -transporttype: Set to 'ssl' to enable SSL -encoding: Set to change encoding -pinginterval: Set to change the number of seconds between pings (helps keep the connection open) - Defaults to 120 seconds -regcheck: Check user's nicknames are registered, enabled by default, set to false to disable -regregexp: Override existing regexp matching response from NickServ if nick checked is registered. - Must contain a capturing group catching the nick -unregregexp: Override existing regexp matching response from NickServ if nick checked is unregistered - Must contain a capturing group catching the nick - -* required - -Example -======= -addPlugin('irc', array( - 'host' => '...', - 'username' => '...', - 'realname' => '...', - 'nick' => '...', - 'channels' => array('#channel1', '#channel2') -)); - diff --git a/plugins/Irc/classes/Irc_waiting_message.php b/plugins/Irc/classes/Irc_waiting_message.php deleted file mode 100644 index c3fefc8784..0000000000 --- a/plugins/Irc/classes/Irc_waiting_message.php +++ /dev/null @@ -1,101 +0,0 @@ - array( - 'id' => array('type' => 'serial', 'not null' => true, 'description' => 'Unique ID for entry'), - 'data' => array('type' => 'blob', 'not null' => true, 'description' => 'data blob'), - 'prioritise' => array('type' => 'int', 'size' => 'tiny', 'description' => 'tinyint priority value'), - 'attempts' => array('type' => 'int', 'not null' => true, 'description' => 'attempts count'), - 'claimed' => array('type' => 'datetime', 'description' => 'date this irc message was claimed'), - 'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'), - 'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'), - ), - 'primary key' => array('id'), - 'indexes' => array( - 'irc_waiting_message_prioritise_idx' => array('prioritise'), - ), - ); - } - - /** - * Get the next item in the queue - * - * @return Irc_waiting_message Next message if there is one - */ - public static function top() { - $wm = new Irc_waiting_message(); - - $wm->orderBy('prioritise DESC, created'); - $wm->whereAdd('claimed is null'); - - $wm->limit(1); - - $cnt = $wm->find(true); - - if ($cnt) { - // XXX: potential race condition - // can we force it to only update if claimed is still null - // (or old)? - common_log(LOG_INFO, 'claiming IRC waiting message id = ' . $wm->id); - $orig = clone($wm); - $wm->claimed = common_sql_now(); - $result = $wm->update($orig); - if ($result) { - common_log(LOG_INFO, 'claim succeeded.'); - return $wm; - } else { - common_log(LOG_INFO, 'claim failed.'); - } - } - $wm = null; - return null; - } - - /** - * Increment the attempts count - * - * @return void - * @throws Exception - */ - public function incAttempts() { - $orig = clone($this); - $this->attempts++; - $result = $this->update($orig); - - if (!$result) { - // TRANS: Exception thrown when an IRC attempts count could not be updated. - // TRANS: %d is the object ID for which the count could not be updated. - throw new Exception(sprintf(_m('Could not increment attempts count for %d.'), $this->id)); - } - } - - /** - * Release a claimed item. - */ - public function releaseClaim() { - // DB_DataObject doesn't let us save nulls right now - $sql = sprintf("UPDATE irc_waiting_message SET claimed=NULL WHERE id=%d", $this->id); - $this->query($sql); - - $this->claimed = null; - $this->encache(); - } -} diff --git a/plugins/Irc/extlib/.gitignore b/plugins/Irc/extlib/.gitignore deleted file mode 100644 index 553fe8e258..0000000000 --- a/plugins/Irc/extlib/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -Settings.php -*.db diff --git a/plugins/Irc/extlib/phergie/.gitignore b/plugins/Irc/extlib/phergie/.gitignore deleted file mode 100644 index 553fe8e258..0000000000 --- a/plugins/Irc/extlib/phergie/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -Settings.php -*.db diff --git a/plugins/Irc/extlib/phergie/LICENSE b/plugins/Irc/extlib/phergie/LICENSE deleted file mode 100644 index d7d23420ac..0000000000 --- a/plugins/Irc/extlib/phergie/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2010, Phergie Development Team -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -Neither the name of the Phergie Development Team nor the names of its -contributors may be used to endorse or promote products derived from this -software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/plugins/Irc/extlib/phergie/Phergie/Autoload.php b/plugins/Irc/extlib/phergie/Phergie/Autoload.php deleted file mode 100755 index 0004f44e22..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Autoload.php +++ /dev/null @@ -1,81 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Autoloader for Phergie classes. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Autoload -{ - /** - * Constructor to add the base Phergie path to the include_path. - * - * @return void - */ - public function __construct() - { - $path = realpath(dirname(__FILE__) . '/..'); - $includePath = get_include_path(); - $includePathList = explode(PATH_SEPARATOR, $includePath); - if (!in_array($path, $includePathList)) { - self::addPath($path); - } - } - - /** - * Autoload callback for loading class files. - * - * @param string $class Class to load - * - * @return void - */ - public function load($class) - { - include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php'; - } - - /** - * Registers an instance of this class as an autoloader. - * - * @return void - */ - public static function registerAutoloader() - { - spl_autoload_register(array(new self, 'load')); - } - - /** - * Add a path to the include path. - * - * @param string $path Path to add - * - * @return void - */ - public static function addPath($path) - { - set_include_path($path . PATH_SEPARATOR . get_include_path()); - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Bot.php b/plugins/Irc/extlib/phergie/Phergie/Bot.php deleted file mode 100755 index 85e8a00fc9..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Bot.php +++ /dev/null @@ -1,390 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Composite class for other components to represent the bot. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Bot -{ - /** - * Current version of Phergie - */ - const VERSION = '2.0.1'; - - /** - * Current driver instance - * - * @var Phergie_Driver_Abstract - */ - protected $driver; - - /** - * Current configuration instance - * - * @var Phergie_Config - */ - protected $config; - - /** - * Current connection handler instance - * - * @var Phergie_Connection_Handler - */ - protected $connections; - - /** - * Current plugin handler instance - * - * @var Phergie_Plugin_Handler - */ - protected $plugins; - - /** - * Current event handler instance - * - * @var Phergie_Event_Handler - */ - protected $events; - - /** - * Current end-user interface instance - * - * @var Phergie_Ui_Abstract - */ - protected $ui; - - /** - * Current processor instance - * - * @var Phergie_Process_Abstract - */ - protected $processor; - - /** - * Returns a driver instance, creating one of the default class if - * none has been set. - * - * @return Phergie_Driver_Abstract - */ - public function getDriver() - { - if (empty($this->driver)) { - // Check if a driver has been defined in the configuration to use - // as the default - $config = $this->getConfig(); - if (isset($config['driver'])) { - $class = 'Phergie_Driver_' . ucfirst($config['driver']); - } else { - // Otherwise default to the Streams driver. - $class = 'Phergie_Driver_Streams'; - } - - $this->driver = new $class; - } - return $this->driver; - } - - /** - * Sets the driver instance to use. - * - * @param Phergie_Driver_Abstract $driver Driver instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setDriver(Phergie_Driver_Abstract $driver) - { - $this->driver = $driver; - return $this; - } - - /** - * Sets the configuration to use. - * - * @param Phergie_Config $config Configuration instance - * - * @return Phergie_Runner_Abstract Provides a fluent interface - */ - public function setConfig(Phergie_Config $config) - { - $this->config = $config; - return $this; - } - - /** - * Returns the entire configuration in use or the value of a specific - * configuration setting. - * - * @param string $index Optional index of a specific configuration - * setting for which the corresponding value should be returned - * @param mixed $default Value to return if no match is found for $index - * - * @return mixed Value corresponding to $index or the entire - * configuration if $index is not specified - */ - public function getConfig($index = null, $default = null) - { - if (empty($this->config)) { - $this->config = new Phergie_Config; - $this->config->read('Settings.php'); - } - if ($index !== null) { - if (isset($this->config[$index])) { - return $this->config[$index]; - } else { - return $default; - } - } - return $this->config; - } - - /** - * Returns a plugin handler instance, creating it if it does not already - * exist and using a default class if none has been set. - * - * @return Phergie_Plugin_Handler - */ - public function getPluginHandler() - { - if (empty($this->plugins)) { - $this->plugins = new Phergie_Plugin_Handler( - $this->getConfig(), - $this->getEventHandler() - ); - } - return $this->plugins; - } - - /** - * Sets the plugin handler instance to use. - * - * @param Phergie_Plugin_Handler $handler Plugin handler instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setPluginHandler(Phergie_Plugin_Handler $handler) - { - $this->plugins = $handler; - return $this; - } - - /** - * Returns an event handler instance, creating it if it does not already - * exist and using a default class if none has been set. - * - * @return Phergie_Event_Handler - */ - public function getEventHandler() - { - if (empty($this->events)) { - $this->events = new Phergie_Event_Handler; - } - return $this->events; - } - - /** - * Sets the event handler instance to use. - * - * @param Phergie_Event_Handler $handler Event handler instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setEventHandler(Phergie_Event_Handler $handler) - { - $this->events = $handler; - return $this; - } - - /** - * Returns a connection handler instance, creating it if it does not - * already exist and using a default class if none has been set. - * - * @return Phergie_Connection_Handler - */ - public function getConnectionHandler() - { - if (empty($this->connections)) { - $this->connections = new Phergie_Connection_Handler; - } - return $this->connections; - } - - /** - * Sets the connection handler instance to use. - * - * @param Phergie_Connection_Handler $handler Connection handler instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setConnectionHandler(Phergie_Connection_Handler $handler) - { - $this->connections = $handler; - return $this; - } - - /** - * Returns an end-user interface instance, creating it if it does not - * already exist and using a default class if none has been set. - * - * @return Phergie_Ui_Abstract - */ - public function getUi() - { - if (empty($this->ui)) { - $this->ui = new Phergie_Ui_Console; - } - return $this->ui; - } - - /** - * Sets the end-user interface instance to use. - * - * @param Phergie_Ui_Abstract $ui End-user interface instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setUi(Phergie_Ui_Abstract $ui) - { - $this->ui = $ui; - return $this; - } - - /** - * Returns a processer instance, creating one if none exists. - * - * @return Phergie_Process_Abstract - */ - public function getProcessor() - { - if (empty($this->processor)) { - $class = 'Phergie_Process_Standard'; - - $type = $this->getConfig('processor'); - if (!empty($type)) { - $class = 'Phergie_Process_' . ucfirst($type); - } - - $this->processor = new $class( - $this, - $this->getConfig('processor.options', array()) - ); - } - return $this->processor; - } - - /** - * Sets the processer instance to use. - * - * @param Phergie_Process_Abstract $processor Processer instance - * - * @return Phergie_Bot Provides a fluent interface - */ - public function setProcessor(Phergie_Process_Abstract $processor) - { - $this->processor = $processor; - return $this; - } - - /** - * Loads plugins into the plugin handler. - * - * @return void - */ - protected function loadPlugins() - { - $config = $this->getConfig(); - $plugins = $this->getPluginHandler(); - $ui = $this->getUi(); - - $plugins->setAutoload($config['plugins.autoload']); - foreach ($config['plugins'] as $name) { - try { - $plugin = $plugins->addPlugin($name); - $ui->onPluginLoad($name); - } catch (Phergie_Plugin_Exception $e) { - $ui->onPluginFailure($name, $e->getMessage()); - if (!empty($plugin)) { - $plugins->removePlugin($plugin); - } - } - } - } - - /** - * Configures and establishes connections to IRC servers. - * - * @return void - */ - protected function loadConnections() - { - $config = $this->getConfig(); - $driver = $this->getDriver(); - $connections = $this->getConnectionHandler(); - $plugins = $this->getPluginHandler(); - $ui = $this->getUi(); - - foreach ($config['connections'] as $data) { - $connection = new Phergie_Connection($data); - $connections->addConnection($connection); - - $ui->onConnect($data['host']); - $driver->setConnection($connection)->doConnect(); - $plugins->setConnection($connection); - $plugins->onConnect(); - } - } - - /** - * Establishes server connections and initiates an execution loop to - * continuously receive and process events. - * - * @return Phergie_Bot Provides a fluent interface - */ - public function run() - { - set_time_limit(0); - - $timezone = $this->getConfig('timezone', 'UTC'); - date_default_timezone_set($timezone); - - $ui = $this->getUi(); - $ui->setEnabled($this->getConfig('ui.enabled')); - - $this->loadPlugins(); - $this->loadConnections(); - - $processor = $this->getProcessor(); - - $connections = $this->getConnectionHandler(); - while (count($connections)) { - $processor->handleEvents(); - } - - $ui->onShutdown(); - - return $this; - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Config.php b/plugins/Irc/extlib/phergie/Phergie/Config.php deleted file mode 100755 index c182f2ac1e..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Config.php +++ /dev/null @@ -1,186 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Reads from and writes to PHP configuration files and provides access to - * the settings they contain. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Config implements ArrayAccess -{ - /** - * Mapping of configuration file paths to an array of names of settings - * they contain - * - * @var array - */ - protected $files = array(); - - /** - * Mapping of setting names to their current corresponding values - * - * @var array - */ - protected $settings = array(); - - /** - * Includes a specified PHP configuration file and incorporates its - * return value (which should be an associative array) into the current - * configuration settings. - * - * @param string $file Path to the file to read - * - * @return Phergie_Config Provides a fluent interface - * @throws Phergie_Config_Exception - */ - public function read($file) - { - if (!(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' - && file_exists($file)) - && !is_executable($file) - ) { - throw new Phergie_Config_Exception( - 'Path "' . $file . '" does not reference an executable file', - Phergie_Config_Exception::ERR_FILE_NOT_EXECUTABLE - ); - } - - $settings = include $file; - if (!is_array($settings)) { - throw new Phergie_Config_Exception( - 'File "' . $file . '" does not return an array', - Phergie_Config_Exception::ERR_ARRAY_NOT_RETURNED - ); - } - - $this->files[$file] = array_keys($settings); - $this->settings += $settings; - - return $this; - } - - /** - * Merges an associative array of configuration setting values into the - * current configuration settings. - * - * @param array $settings Associative array of configuration setting - * values keyed by setting name - * - * @return Phergie_Config Provides a fluent interface - */ - public function readArray(array $settings) - { - $this->settings += $settings; - - return $this; - } - - /** - * Writes the values of the current configuration settings back to their - * originating files. - * - * @return Phergie_Config Provides a fluent interface - */ - public function write() - { - foreach ($this->files as $file => &$settings) { - $values = array(); - foreach ($settings as $setting) { - $values[$setting] = $this->settings[$setting]; - } - $source = 'settings[$offset]); - } - - /** - * Returns the value of a configuration setting. - * - * @param string $offset Configuration setting name - * - * @return mixed Configuration setting value or NULL if it is not - * assigned a value - * @see ArrayAccess::offsetGet() - */ - public function offsetGet($offset) - { - if (isset($this->settings[$offset])) { - $value = &$this->settings[$offset]; - } else { - $value = null; - } - - return $value; - } - - /** - * Sets the value of a configuration setting. - * - * @param string $offset Configuration setting name - * @param mixed $value New setting value - * - * @return void - * @see ArrayAccess::offsetSet() - */ - public function offsetSet($offset, $value) - { - $this->settings[$offset] = $value; - } - - /** - * Removes the value set for a configuration setting. - * - * @param string $offset Configuration setting name - * - * @return void - * @see ArrayAccess::offsetUnset() - */ - public function offsetUnset($offset) - { - unset($this->settings[$offset]); - - foreach ($this->files as $file => $settings) { - $key = array_search($offset, $settings); - if ($key !== false) { - unset($this->files[$file][$key]); - } - } - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Config/Exception.php b/plugins/Irc/extlib/phergie/Phergie/Config/Exception.php deleted file mode 100644 index fb646c10c1..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Config/Exception.php +++ /dev/null @@ -1,44 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Exception related to configuration. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Config_Exception extends Phergie_Exception -{ - /** - * Error indicating that an attempt was made to read a configuration - * file that could not be executed - */ - const ERR_FILE_NOT_EXECUTABLE = 1; - - /** - * Error indicating that a read configuration file does not return an - * array - */ - const ERR_ARRAY_NOT_RETURNED = 2; -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Connection.php b/plugins/Irc/extlib/phergie/Phergie/Connection.php deleted file mode 100755 index 746dec05f4..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Connection.php +++ /dev/null @@ -1,401 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Data structure for connection metadata. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Connection -{ - /** - * Host to which the client will connect - * - * @var string - */ - protected $host; - - /** - * Port on which the client will connect, defaults to the standard IRC - * port - * - * @var int - */ - protected $port; - - /** - * Transport for the connection, defaults to tcp but can be set to ssl - * or variations thereof to connect over SSL - * - * @var string - */ - protected $transport; - - /** - * Encoding method for the connection, defaults to ISO-8859-1 but can - * be set to UTF8 if necessary - * - * @var strng - */ - protected $encoding; - - /** - * Nick that the client will use - * - * @var string - */ - protected $nick; - - /** - * Username that the client will use - * - * @var string - */ - protected $username; - - /** - * Realname that the client will use - * - * @var string - */ - protected $realname; - - /** - * Password that the client will use - * - * @var string - */ - protected $password; - - /** - * Hostmask for the connection - * - * @var Phergie_Hostmask - */ - protected $hostmask; - - /** - * Constructor to initialize instance properties. - * - * @param array $options Optional associative array of property values - * to initialize - * - * @return void - */ - public function __construct(array $options = array()) - { - $this->transport = 'tcp'; - $this->encoding = 'ISO-8859-1'; - // @note this may need changed to something different, for broader support. - // @note also may need to make use of http://us.php.net/manual/en/function.stream-encoding.php - - $this->setOptions($options); - } - - /** - * Emits an error related to a required connection setting does not have - * value set for it. - * - * @param string $setting Name of the setting - * - * @return void - */ - protected function checkSetting($setting) - { - if (empty($this->$setting)) { - throw new Phergie_Connection_Exception( - 'Required connection setting "' . $setting . '" missing', - Phergie_Connection_Exception::ERR_REQUIRED_SETTING_MISSING - ); - } - } - - /** - * Returns a hostmask that uniquely identifies the connection. - * - * @return string - */ - public function getHostmask() - { - if (empty($this->hostmask)) { - $this->hostmask = new Phergie_Hostmask( - $this->getNick(), - $this->getUsername(), - $this->getHost() - ); - } - - return $this->hostmask; - } - - /** - * Sets the host to which the client will connect. - * - * @param string $host Hostname - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setHost($host) - { - if (empty($this->host)) { - $this->host = (string) $host; - } - - return $this; - } - - /** - * Returns the host to which the client will connect if it is set or - * emits an error if it is not set. - * - * @return string - */ - public function getHost() - { - $this->checkSetting('host'); - - return $this->host; - } - - /** - * Sets the port on which the client will connect. - * - * @param int $port Port - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setPort($port) - { - if (empty($this->port)) { - $this->port = (int) $port; - } - - return $this; - } - - /** - * Returns the port on which the client will connect. - * - * @return int - */ - public function getPort() - { - if (empty($this->port)) { - $this->port = 6667; - } - - return $this->port; - } - - /** - * Sets the transport for the connection to use. - * - * @param string $transport Transport (ex: tcp, ssl, etc.) - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setTransport($transport) - { - $this->transport = (string) $transport; - - if (!in_array($this->transport, stream_get_transports())) { - throw new Phergie_Connection_Exception( - 'Transport ' . $this->transport . ' is not supported', - Phergie_Connection_Exception::ERR_TRANSPORT_NOT_SUPPORTED - ); - } - - return $this; - } - - /** - * Returns the transport in use by the connection. - * - * @return string Transport (ex: tcp, ssl, etc.) - */ - public function getTransport() - { - return $this->transport; - } - - /** - * Sets the encoding for the connection to use. - * - * @param string $encoding Encoding to use (ex: ASCII, ISO-8859-1, UTF8, etc.) - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setEncoding($encoding) - { - $this->encoding = (string) $encoding; - - if (!in_array($this->encoding, mb_list_encodings())) { - throw new Phergie_Connection_Exception( - 'Encoding ' . $this->encoding . ' is not supported', - Phergie_Connection_Exception::ERR_ENCODING_NOT_SUPPORTED - ); - } - - return $this; - } - - /** - * Returns the encoding in use by the connection. - * - * @return string Encoding (ex: ASCII, ISO-8859-1, UTF8, etc.) - */ - public function getEncoding() - { - return $this->encoding; - } - - /** - * Sets the nick that the client will use. - * - * @param string $nick Nickname - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setNick($nick) - { - if (empty($this->nick)) { - $this->nick = (string) $nick; - } - - return $this; - } - - /** - * Returns the nick that the client will use. - * - * @return string - */ - public function getNick() - { - $this->checkSetting('nick'); - - return $this->nick; - } - - /** - * Sets the username that the client will use. - * - * @param string $username Username - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setUsername($username) - { - if (empty($this->username)) { - $this->username = (string) $username; - } - - return $this; - } - - /** - * Returns the username that the client will use. - * - * @return string - */ - public function getUsername() - { - $this->checkSetting('username'); - - return $this->username; - } - - /** - * Sets the realname that the client will use. - * - * @param string $realname Real name - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setRealname($realname) - { - if (empty($this->realname)) { - $this->realname = (string) $realname; - } - - return $this; - } - - /** - * Returns the realname that the client will use. - * - * @return string - */ - public function getRealname() - { - $this->checkSetting('realname'); - - return $this->realname; - } - - /** - * Sets the password that the client will use. - * - * @param string $password Password - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setPassword($password) - { - if (empty($this->password)) { - $this->password = (string) $password; - } - - return $this; - } - - /** - * Returns the password that the client will use. - * - * @return string - */ - public function getPassword() - { - return $this->password; - } - - /** - * Sets multiple connection settings using an array. - * - * @param array $options Associative array of setting names mapped to - * corresponding values - * - * @return Phergie_Connection Provides a fluent interface - */ - public function setOptions(array $options) - { - foreach ($options as $option => $value) { - $method = 'set' . ucfirst($option); - if (method_exists($this, $method)) { - $this->$method($value); - } - } - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Connection/Exception.php b/plugins/Irc/extlib/phergie/Phergie/Connection/Exception.php deleted file mode 100644 index aec1cd8e0f..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Connection/Exception.php +++ /dev/null @@ -1,50 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Exception related to a connection to an IRC server. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Connection_Exception extends Phergie_Exception -{ - /** - * Error indicating that an operation was attempted requiring a value - * for a specific configuration setting, but none was set - */ - const ERR_REQUIRED_SETTING_MISSING = 1; - - /** - * Error indicating that a connection is configured to use a transport, - * but that transport is not supported by the current PHP installation - */ - const ERR_TRANSPORT_NOT_SUPPORTED = 2; - - /** - * Error indicating that a connection is configured to use an encoding, - * but that encoding is not supported by the current PHP installation - */ - const ERR_ENCODING_NOT_SUPPORTED = 3; -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Connection/Handler.php b/plugins/Irc/extlib/phergie/Phergie/Connection/Handler.php deleted file mode 100644 index e9aeddcd3e..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Connection/Handler.php +++ /dev/null @@ -1,130 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Handles connections initiated by the bot. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Connection_Handler implements Countable, IteratorAggregate -{ - /** - * Map of connections indexed by hostmask - * - * @var array - */ - protected $connections; - - /** - * Constructor to initialize storage for connections. - * - * @return void - */ - public function __construct() - { - $this->connections = array(); - } - - /** - * Adds a connection to the connection list. - * - * @param Phergie_Connection $connection Connection to add - * - * @return Phergie_Connection_Handler Provides a fluent interface - */ - public function addConnection(Phergie_Connection $connection) - { - $this->connections[(string) $connection->getHostmask()] = $connection; - return $this; - } - - /** - * Removes a connection from the connection list. - * - * @param Phergie_Connection|string $connection Instance or hostmask for - * the connection to remove - * - * @return Phergie_Connection_Handler Provides a fluent interface - */ - public function removeConnection($connection) - { - if ($connection instanceof Phergie_Connection) { - $hostmask = (string) $connection->getHostmask(); - } elseif (is_string($connection) - && isset($this->connections[$connection])) { - $hostmask = $connection; - } else { - return $this; - } - unset($this->connections[$hostmask]); - return $this; - } - - /** - * Returns the number of connections in the list. - * - * @return int Number of connections - */ - public function count() - { - return count($this->connections); - } - - /** - * Returns an iterator for the connection list. - * - * @return ArrayIterator - */ - public function getIterator() - { - return new ArrayIterator($this->connections); - } - - /** - * Returns a list of specified connection objects. - * - * @param array|string $keys One or more hostmasks identifying the - * connections to return - * - * @return array List of Phergie_Connection objects corresponding to the - * specified hostmask(s) - */ - public function getConnections($keys) - { - $connections = array(); - - if (!is_array($keys)) { - $keys = array($keys); - } - - foreach ($keys as $key) { - if (isset($this->connections[$key])) { - $connections[] = $this->connections[$key]; - } - } - - return $connections; - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Abstract.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Abstract.php deleted file mode 100755 index 62736620d4..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Driver/Abstract.php +++ /dev/null @@ -1,301 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Base class for drivers which handle issuing client commands to the IRC - * server and converting responses into usable data objects. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -abstract class Phergie_Driver_Abstract -{ - /** - * Currently active connection - * - * @var Phergie_Connection - */ - protected $connection; - - /** - * Sets the currently active connection. - * - * @param Phergie_Connection $connection Active connection - * - * @return Phergie_Driver_Abstract Provides a fluent interface - */ - public function setConnection(Phergie_Connection $connection) - { - $this->connection = $connection; - - return $this; - } - - /** - * Returns the currently active connection. - * - * @return Phergie_Connection - * @throws Phergie_Driver_Exception - */ - public function getConnection() - { - if (empty($this->connection)) { - throw new Phergie_Driver_Exception( - 'Operation requires an active connection, but none is set', - Phergie_Driver_Exception::ERR_NO_ACTIVE_CONNECTION - ); - } - - return $this->connection; - } - - /** - * Returns an event if one has been received from the server. - * - * @return Phergie_Event_Interface|null Event instance if an event has - * been received, NULL otherwise - */ - public abstract function getEvent(); - - /** - * Initiates a connection with the server. - * - * @return void - */ - public abstract function doConnect(); - - /** - * Terminates the connection with the server. - * - * @param string $reason Reason for connection termination (optional) - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1_6 - */ - public abstract function doQuit($reason = null); - - /** - * Joins a channel. - * - * @param string $channels Comma-delimited list of channels to join - * @param string $keys Optional comma-delimited list of channel keys - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_1 - */ - public abstract function doJoin($channels, $keys = null); - - /** - * Leaves a channel. - * - * @param string $channels Comma-delimited list of channels to leave - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_2 - */ - public abstract function doPart($channels); - - /** - * Invites a user to an invite-only channel. - * - * @param string $nick Nick of the user to invite - * @param string $channel Name of the channel - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_7 - */ - public abstract function doInvite($nick, $channel); - - /** - * Obtains a list of nicks of users in specified channels. - * - * @param string $channels Comma-delimited list of one or more channels - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_5 - */ - public abstract function doNames($channels); - - /** - * Obtains a list of channel names and topics. - * - * @param string $channels Comma-delimited list of one or more channels - * to which the response should be restricted - * (optional) - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_6 - */ - public abstract function doList($channels = null); - - /** - * Retrieves or changes a channel topic. - * - * @param string $channel Name of the channel - * @param string $topic New topic to assign (optional) - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_4 - */ - public abstract function doTopic($channel, $topic = null); - - /** - * Retrieves or changes a channel or user mode. - * - * @param string $target Channel name or user nick - * @param string $mode New mode to assign (optional) - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_3 - */ - public abstract function doMode($target, $mode = null); - - /** - * Changes the client nick. - * - * @param string $nick New nick to assign - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1_2 - */ - public abstract function doNick($nick); - - /** - * Retrieves information about a nick. - * - * @param string $nick Nick - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_5_2 - */ - public abstract function doWhois($nick); - - /** - * Sends a message to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the message to send - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4_1 - */ - public abstract function doPrivmsg($target, $text); - - /** - * Sends a notice to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the notice to send - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4_2 - */ - public abstract function doNotice($target, $text); - - /** - * Kicks a user from a channel. - * - * @param string $nick Nick of the user - * @param string $channel Channel name - * @param string $reason Reason for the kick (optional) - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_8 - */ - public abstract function doKick($nick, $channel, $reason = null); - - /** - * Responds to a server test of client responsiveness. - * - * @param string $daemon Daemon from which the original request originates - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_6_3 - */ - public abstract function doPong($daemon); - - /** - * Sends a CTCP ACTION (/me) command to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the action to perform - * - * @return void - * @link http://www.invlogic.com/irc/ctcp.html#4.4 - */ - public abstract function doAction($target, $text); - - /** - * Sends a CTCP PING request to a user. - * - * @param string $nick User nick - * @param string $hash Hash to use in the handshake - * - * @return void - * @link http://www.invlogic.com/irc/ctcp.html#4.2 - */ - public abstract function doPing($nick, $hash); - - /** - * Sends a CTCP VERSION request or response to a user. - * - * @param string $nick User nick - * @param string $version Version string to send for a response - * - * @return void - * @link http://www.invlogic.com/irc/ctcp.html#4.1 - */ - public abstract function doVersion($nick, $version = null); - - /** - * Sends a CTCP TIME request to a user. - * - * @param string $nick User nick - * @param string $time Time string to send for a response - * - * @return void - * @link http://www.invlogic.com/irc/ctcp.html#4.6 - */ - public abstract function doTime($nick, $time = null); - - /** - * Sends a CTCP FINGER request to a user. - * - * @param string $nick User nick - * @param string $finger Finger string to send for a response - * - * @return void - * @link http://www.irchelp.org/irchelp/rfc/ctcpspec.html - */ - public abstract function doFinger($nick, $finger = null); - - /** - * Sends a raw command to the server. - * - * @param string $command Command string to send - * - * @return void - */ - public abstract function doRaw($command); -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Exception.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Exception.php deleted file mode 100755 index 5873b2cb96..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Driver/Exception.php +++ /dev/null @@ -1,59 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Exception related to driver operations. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Driver_Exception extends Phergie_Exception -{ - /** - * Error indicating that an operation was requested requiring an active - * connection before one had been set - */ - const ERR_NO_ACTIVE_CONNECTION = 1; - - /** - * Error indicating that an operation was requested requiring an active - * connection where one had been set but not initiated - */ - const ERR_NO_INITIATED_CONNECTION = 2; - - /** - * Error indicating that an attempt to initiate a connection failed - */ - const ERR_CONNECTION_ATTEMPT_FAILED = 3; - - /** - * Error indicating that an attempt to send data via a connection failed - */ - const ERR_CONNECTION_WRITE_FAILED = 4; - - /** - * Error indicating that an attempt to read data via a connection failed - */ - const ERR_CONNECTION_READ_FAILED = 5; -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Statusnet.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Statusnet.php deleted file mode 100644 index 84c85a01cc..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Driver/Statusnet.php +++ /dev/null @@ -1,66 +0,0 @@ -. - * - * Extends the Streams driver (Phergie_Driver_Streams) to give external access - * to the socket resources and send method - * - * @category Phergie - * @package Phergie_Driver_Statusnet - * @author Luke Fitzgerald - * @copyright 2010 StatusNet, Inc. - * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 - * @link http://status.net/ - */ - -class Phergie_Driver_Statusnet extends Phergie_Driver_Streams { - /** - * Handles construction of command strings and their transmission to the - * server. - * - * @param string $command Command to send - * @param string|array $args Optional string or array of sequential - * arguments - * - * @return string Command string that was sent - * @throws Phergie_Driver_Exception - */ - public function send($command, $args = '') { - return parent::send($command, $args); - } - - public function forceQuit() { - try { - // Send a QUIT command to the server - $this->send('QUIT', 'Reconnecting'); - } catch (Phergie_Driver_Exception $e){} - - // Terminate the socket connection - fclose($this->socket); - - // Remove the socket from the internal socket list - unset($this->sockets[(string) $this->getConnection()->getHostmask()]); - } - - /** - * Returns the array of sockets - * - * @return array Array of socket resources - */ - public function getSockets() { - return $this->sockets; - } -} \ No newline at end of file diff --git a/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php b/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php deleted file mode 100755 index 73c0230c71..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Driver/Streams.php +++ /dev/null @@ -1,729 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Driver that uses the sockets wrapper of the streams extension for - * communicating with the server and handles formatting and parsing of - * events using PHP. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Driver_Streams extends Phergie_Driver_Abstract -{ - /** - * Socket handlers - * - * @var array - */ - protected $sockets = array(); - - /** - * Reference to the currently active socket handler - * - * @var resource - */ - protected $socket; - - /** - * Amount of time in seconds to wait to receive an event each time the - * socket is polled - * - * @var float - */ - protected $timeout = 0.1; - - /** - * Handles construction of command strings and their transmission to the - * server. - * - * @param string $command Command to send - * @param string|array $args Optional string or array of sequential - * arguments - * - * @return string Command string that was sent - * @throws Phergie_Driver_Exception - */ - protected function send($command, $args = '') - { - $connection = $this->getConnection(); - $encoding = $connection->getEncoding(); - - // Require an open socket connection to continue - if (empty($this->socket)) { - throw new Phergie_Driver_Exception( - 'doConnect() must be called first', - Phergie_Driver_Exception::ERR_NO_INITIATED_CONNECTION - ); - } - - // Add the command - $buffer = strtoupper($command); - - // Add arguments - if (!empty($args)) { - - // Apply formatting if arguments are passed in as an array - if (is_array($args)) { - $end = count($args) - 1; - $args[$end] = ':' . $args[$end]; - $args = implode(' ', $args); - } else { - $args = ':' . $args; - } - - $buffer .= ' ' . $args; - } - - // Transmit the command over the socket connection - $attempts = $written = 0; - $temp = $buffer . "\r\n"; - $is_multibyte = !substr($encoding, 0, 8) === 'ISO-8859' && $encoding !== 'ASCII' && $encoding !== 'CP1252'; - $length = ($is_multibyte) ? mb_strlen($buffer, '8bit') : strlen($buffer); - while (true) { - $written += (int) fwrite($this->socket, $temp); - if ($written < $length) { - $temp = substr($temp, $written); - $attempts++; - if ($attempts == 3) { - throw new Phergie_Driver_Exception( - 'Unable to write to socket', - Phergie_Driver_Exception::ERR_CONNECTION_WRITE_FAILED - ); - } - } else { - break; - } - } - - // Return the command string that was transmitted - return $buffer; - } - - /** - * Overrides the parent class to set the currently active socket handler - * when the active connection is changed. - * - * @param Phergie_Connection $connection Active connection - * - * @return Phergie_Driver_Streams Provides a fluent interface - */ - public function setConnection(Phergie_Connection $connection) - { - // Set the active socket handler - $hostmask = (string) $connection->getHostmask(); - if (!empty($this->sockets[$hostmask])) { - $this->socket = $this->sockets[$hostmask]; - } - - // Set the active connection - return parent::setConnection($connection); - } - - /** - * Returns a list of hostmasks corresponding to sockets with data to read. - * - * @param int $sec Length of time to wait for new data (seconds) - * @param int $usec Length of time to wait for new data (microseconds) - * - * @return array List of hostmasks or an empty array if none were found - * to have data to read - */ - public function getActiveReadSockets($sec = 0, $usec = 200000) - { - $read = $this->sockets; - $write = null; - $error = null; - $active = array(); - - if (count($this->sockets) > 0) { - $number = stream_select($read, $write, $error, $sec, $usec); - if ($number > 0) { - foreach ($read as $item) { - $active[] = array_search($item, $this->sockets); - } - } - } - - return $active; - } - - /** - * Sets the amount of time to wait for a new event each time the socket - * is polled. - * - * @param float $timeout Amount of time in seconds - * - * @return Phergie_Driver_Streams Provides a fluent interface - */ - public function setTimeout($timeout) - { - $timeout = (float) $timeout; - if ($timeout) { - $this->timeout = $timeout; - } - return $this; - } - - /** - * Returns the amount of time to wait for a new event each time the - * socket is polled. - * - * @return float Amount of time in seconds - */ - public function getTimeout() - { - return $this->timeout; - } - - /** - * Supporting method to parse event argument strings where the last - * argument may contain a colon. - * - * @param string $args Argument string to parse - * @param int $count Optional maximum number of arguments - * - * @return array Array of argument values - */ - protected function parseArguments($args, $count = -1) - { - return preg_split('/ :?/S', $args, $count); - } - - /** - * Listens for an event on the current connection. - * - * @return Phergie_Event_Interface|null Event instance if an event was - * received, NULL otherwise - */ - public function getEvent() - { - // Check the socket is still active - if (feof($this->socket)) { - throw new Phergie_Driver_Exception( - 'EOF detected on socket', - Phergie_Driver_Exception::ERR_CONNECTION_READ_FAILED - ); - } - - // Check for a new event on the current connection - $buffer = fgets($this->socket, 512); - - // If no new event was found, return NULL - if (empty($buffer)) { - return null; - } - - // Strip the trailing newline from the buffer - $buffer = rtrim($buffer); - - // If the event is from the server... - if (substr($buffer, 0, 1) != ':') { - - // Parse the command and arguments - list($cmd, $args) = array_pad(explode(' ', $buffer, 2), 2, null); - $hostmask = new Phergie_Hostmask(null, null, $this->connection->getHost()); - - } else { - // If the event could be from the server or a user... - - // Parse the server hostname or user hostmask, command, and arguments - list($prefix, $cmd, $args) - = array_pad(explode(' ', ltrim($buffer, ':'), 3), 3, null); - if (strpos($prefix, '@') !== false) { - $hostmask = Phergie_Hostmask::fromString($prefix); - } else { - $hostmask = new Phergie_Hostmask(null, null, $prefix); - } - } - - // Parse the event arguments depending on the event type - $cmd = strtolower($cmd); - switch ($cmd) { - case 'names': - case 'nick': - case 'quit': - case 'ping': - case 'join': - case 'error': - $args = array(ltrim($args, ':')); - break; - - case 'privmsg': - case 'notice': - $args = $this->parseArguments($args, 2); - list($source, $ctcp) = $args; - if (substr($ctcp, 0, 1) === "\001" && substr($ctcp, -1) === "\001") { - $ctcp = substr($ctcp, 1, -1); - $reply = ($cmd == 'notice'); - list($cmd, $args) = array_pad(explode(' ', $ctcp, 2), 2, null); - $cmd = strtolower($cmd); - switch ($cmd) { - case 'version': - case 'time': - case 'finger': - if ($reply) { - $args = $ctcp; - } - break; - case 'ping': - if ($reply) { - $cmd .= 'Response'; - } else { - $cmd = 'ctcpPing'; - } - break; - case 'action': - $args = array($source, $args); - break; - - default: - $cmd = 'ctcp'; - if ($reply) { - $cmd .= 'Response'; - } - $args = array($source, $args); - break; - } - } - break; - - case 'oper': - case 'topic': - case 'mode': - $args = $this->parseArguments($args); - break; - - case 'part': - case 'kill': - case 'invite': - $args = $this->parseArguments($args, 2); - break; - - case 'kick': - $args = $this->parseArguments($args, 3); - break; - - // Remove the target from responses - default: - $args = substr($args, strpos($args, ' ') + 1); - break; - } - - // Create, populate, and return an event object - if (ctype_digit($cmd)) { - $event = new Phergie_Event_Response; - $event - ->setCode($cmd) - ->setDescription($args); - } else { - $event = new Phergie_Event_Request; - $event - ->setType($cmd) - ->setArguments($args); - if (isset($hostmask)) { - $event->setHostmask($hostmask); - } - } - $event->setRawData($buffer); - return $event; - } - - /** - * Initiates a connection with the server. - * - * @return void - */ - public function doConnect() - { - // Listen for input indefinitely - set_time_limit(0); - - // Get connection information - $connection = $this->getConnection(); - $hostname = $connection->getHost(); - $port = $connection->getPort(); - $password = $connection->getPassword(); - $username = $connection->getUsername(); - $nick = $connection->getNick(); - $realname = $connection->getRealname(); - $transport = $connection->getTransport(); - - // Establish and configure the socket connection - $remote = $transport . '://' . $hostname . ':' . $port; - $this->socket = @stream_socket_client($remote, $errno, $errstr); - if (!$this->socket) { - throw new Phergie_Driver_Exception( - 'Unable to connect: socket error ' . $errno . ' ' . $errstr, - Phergie_Driver_Exception::ERR_CONNECTION_ATTEMPT_FAILED - ); - } - - $seconds = (int) $this->timeout; - $microseconds = ($this->timeout - $seconds) * 1000000; - stream_set_timeout($this->socket, $seconds, $microseconds); - - // Send the password if one is specified - if (!empty($password)) { - $this->send('PASS', $password); - } - - // Send user information - $this->send( - 'USER', - array( - $username, - $hostname, - $hostname, - $realname - ) - ); - - $this->send('NICK', $nick); - - // Add the socket handler to the internal array for socket handlers - $this->sockets[(string) $connection->getHostmask()] = $this->socket; - } - - /** - * Terminates the connection with the server. - * - * @param string $reason Reason for connection termination (optional) - * - * @return void - */ - public function doQuit($reason = null) - { - // Send a QUIT command to the server - $this->send('QUIT', $reason); - - // Terminate the socket connection - fclose($this->socket); - - // Remove the socket from the internal socket list - unset($this->sockets[(string) $this->getConnection()->getHostmask()]); - } - - /** - * Joins a channel. - * - * @param string $channels Comma-delimited list of channels to join - * @param string $keys Optional comma-delimited list of channel keys - * - * @return void - */ - public function doJoin($channels, $keys = null) - { - $args = array($channels); - - if (!empty($keys)) { - $args[] = $keys; - } - - $this->send('JOIN', $args); - } - - /** - * Leaves a channel. - * - * @param string $channels Comma-delimited list of channels to leave - * - * @return void - */ - public function doPart($channels) - { - $this->send('PART', $channels); - } - - /** - * Invites a user to an invite-only channel. - * - * @param string $nick Nick of the user to invite - * @param string $channel Name of the channel - * - * @return void - */ - public function doInvite($nick, $channel) - { - $this->send('INVITE', array($nick, $channel)); - } - - /** - * Obtains a list of nicks of usrs in currently joined channels. - * - * @param string $channels Comma-delimited list of one or more channels - * - * @return void - */ - public function doNames($channels) - { - $this->send('NAMES', $channels); - } - - /** - * Obtains a list of channel names and topics. - * - * @param string $channels Comma-delimited list of one or more channels - * to which the response should be restricted - * (optional) - * - * @return void - */ - public function doList($channels = null) - { - $this->send('LIST', $channels); - } - - /** - * Retrieves or changes a channel topic. - * - * @param string $channel Name of the channel - * @param string $topic New topic to assign (optional) - * - * @return void - */ - public function doTopic($channel, $topic = null) - { - $args = array($channel); - - if (!empty($topic)) { - $args[] = $topic; - } - - $this->send('TOPIC', $args); - } - - /** - * Retrieves or changes a channel or user mode. - * - * @param string $target Channel name or user nick - * @param string $mode New mode to assign (optional) - * - * @return void - */ - public function doMode($target, $mode = null) - { - $args = array($target); - - if (!empty($mode)) { - $args[] = $mode; - } - - $this->send('MODE', $args); - } - - /** - * Changes the client nick. - * - * @param string $nick New nick to assign - * - * @return void - */ - public function doNick($nick) - { - $this->send('NICK', $nick); - } - - /** - * Retrieves information about a nick. - * - * @param string $nick Nick - * - * @return void - */ - public function doWhois($nick) - { - $this->send('WHOIS', $nick); - } - - /** - * Sends a message to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the message to send - * - * @return void - */ - public function doPrivmsg($target, $text) - { - $this->send('PRIVMSG', array($target, $text)); - } - - /** - * Sends a notice to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the notice to send - * - * @return void - */ - public function doNotice($target, $text) - { - $this->send('NOTICE', array($target, $text)); - } - - /** - * Kicks a user from a channel. - * - * @param string $nick Nick of the user - * @param string $channel Channel name - * @param string $reason Reason for the kick (optional) - * - * @return void - */ - public function doKick($nick, $channel, $reason = null) - { - $args = array($nick, $channel); - - if (!empty($reason)) { - $args[] = $response; - } - - $this->send('KICK', $args); - } - - /** - * Responds to a server test of client responsiveness. - * - * @param string $daemon Daemon from which the original request originates - * - * @return void - */ - public function doPong($daemon) - { - $this->send('PONG', $daemon); - } - - /** - * Sends a CTCP ACTION (/me) command to a nick or channel. - * - * @param string $target Channel name or user nick - * @param string $text Text of the action to perform - * - * @return void - */ - public function doAction($target, $text) - { - $buffer = rtrim('ACTION ' . $text); - - $this->doPrivmsg($target, chr(1) . $buffer . chr(1)); - } - - /** - * Sends a CTCP response to a user. - * - * @param string $nick User nick - * @param string $command Command to send - * @param string|array $args String or array of sequential arguments - * (optional) - * - * @return void - */ - protected function doCtcp($nick, $command, $args = null) - { - if (is_array($args)) { - $args = implode(' ', $args); - } - - $buffer = rtrim(strtoupper($command) . ' ' . $args); - - $this->doNotice($nick, chr(1) . $buffer . chr(1)); - } - - /** - * Sends a CTCP PING request or response (they are identical) to a user. - * - * @param string $nick User nick - * @param string $hash Hash to use in the handshake - * - * @return void - */ - public function doPing($nick, $hash) - { - $this->doCtcp($nick, 'PING', $hash); - } - - /** - * Sends a CTCP VERSION request or response to a user. - * - * @param string $nick User nick - * @param string $version Version string to send for a response - * - * @return void - */ - public function doVersion($nick, $version = null) - { - if ($version) { - $this->doCtcp($nick, 'VERSION', $version); - } else { - $this->doCtcp($nick, 'VERSION'); - } - } - - /** - * Sends a CTCP TIME request to a user. - * - * @param string $nick User nick - * @param string $time Time string to send for a response - * - * @return void - */ - public function doTime($nick, $time = null) - { - if ($time) { - $this->doCtcp($nick, 'TIME', $time); - } else { - $this->doCtcp($nick, 'TIME'); - } - } - - /** - * Sends a CTCP FINGER request to a user. - * - * @param string $nick User nick - * @param string $finger Finger string to send for a response - * - * @return void - */ - public function doFinger($nick, $finger = null) - { - if ($finger) { - $this->doCtcp($nick, 'FINGER', $finger); - } else { - $this->doCtcp($nick, 'FINGER'); - } - } - - /** - * Sends a raw command to the server. - * - * @param string $command Command string to send - * - * @return void - */ - public function doRaw($command) - { - $this->send('RAW', $command); - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Abstract.php b/plugins/Irc/extlib/phergie/Phergie/Event/Abstract.php deleted file mode 100644 index 54b035dc03..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Abstract.php +++ /dev/null @@ -1,62 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Base class for events. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -abstract class Phergie_Event_Abstract -{ - /** - * Event type, used for determining the callback to execute in response - * - * @var string - */ - protected $type; - - /** - * Returns the event type. - * - * @return string - */ - public function getType() - { - return $this->type; - } - - /** - * Sets the event type. - * - * @param string $type Event type - * - * @return Phergie_Event_Abstract Implements a fluent interface - */ - public function setType($type) - { - $this->type = (string) $type; - return $this; - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Command.php b/plugins/Irc/extlib/phergie/Phergie/Event/Command.php deleted file mode 100644 index 5940636ba7..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Command.php +++ /dev/null @@ -1,62 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Event originating from a plugin for the bot. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Event_Command extends Phergie_Event_Request -{ - /** - * Reference to the plugin instance that created the event - * - * @var Phergie_Plugin_Abstract - */ - protected $plugin; - - /** - * Stores a reference to the plugin instance that created the event. - * - * @param Phergie_Plugin_Abstract $plugin Plugin instance - * - * @return Phergie_Event_Command Provides a fluent interface - */ - public function setPlugin(Phergie_Plugin_Abstract $plugin) - { - $this->plugin = $plugin; - return $this; - } - - /** - * Returns a reference to the plugin instance that created the event. - * - * @return Phergie_Plugin_Abstract - */ - public function getPlugin() - { - return $this->plugin; - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Exception.php b/plugins/Irc/extlib/phergie/Phergie/Event/Exception.php deleted file mode 100644 index 6b094a810c..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Exception.php +++ /dev/null @@ -1,38 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Exception related to outgoing events. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Event_Exception extends Phergie_Exception -{ - /** - * Error indicating that an attempt was made to create an event of an - * unknown type - */ - const ERR_UNKNOWN_EVENT_TYPE = 1; -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Handler.php b/plugins/Irc/extlib/phergie/Phergie/Event/Handler.php deleted file mode 100644 index e308df8a56..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Handler.php +++ /dev/null @@ -1,190 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Handles events initiated by plugins. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ -class Phergie_Event_Handler implements IteratorAggregate, Countable -{ - /** - * Current queue of events - * - * @var array - */ - protected $events; - - /** - * Constructor to initialize the event queue. - * - * @return void - */ - public function __construct() - { - $this->events = array(); - } - - /** - * Adds an event to the queue. - * - * @param Phergie_Plugin_Abstract $plugin Plugin originating the event - * @param string $type Event type, corresponding to a - * Phergie_Event_Command::TYPE_* constant - * @param array $args Optional event arguments - * - * @return Phergie_Event_Handler Provides a fluent interface - */ - public function addEvent(Phergie_Plugin_Abstract $plugin, $type, - array $args = array() - ) { - if (!defined('Phergie_Event_Command::TYPE_' . strtoupper($type))) { - throw new Phergie_Event_Exception( - 'Unknown event type "' . $type . '"', - Phergie_Event_Exception::ERR_UNKNOWN_EVENT_TYPE - ); - } - - $event = new Phergie_Event_Command; - $event - ->setPlugin($plugin) - ->setType($type) - ->setArguments($args); - - $this->events[] = $event; - - return $this; - } - - /** - * Returns the current event queue. - * - * @return array Enumerated array of Phergie_Event_Command objects - */ - public function getEvents() - { - return $this->events; - } - - /** - * Clears the event queue. - * - * @return Phergie_Event_Handler Provides a fluent interface - */ - public function clearEvents() - { - $this->events = array(); - return $this; - } - - /** - * Replaces the current event queue with a given queue of events. - * - * @param array $events Ordered list of objects of the class - * Phergie_Event_Command - * - * @return Phergie_Event_Handler Provides a fluent interface - */ - public function replaceEvents(array $events) - { - $this->events = $events; - return $this; - } - - /** - * Returns whether an event of the given type exists in the queue. - * - * @param string $type Event type from Phergie_Event_Request::TYPE_* - * constants - * - * @return bool TRUE if an event of the specified type exists in the - * queue, FALSE otherwise - */ - public function hasEventOfType($type) - { - foreach ($this->events as $event) { - if ($event->getType() == $type) { - return true; - } - } - return false; - } - - /** - * Returns a list of events of a specified type. - * - * @param string $type Event type from Phergie_Event_Request::TYPE_* - * constants - * - * @return array Array containing event instances of the specified type - * or an empty array if no such events were found - */ - public function getEventsOfType($type) - { - $events = array(); - foreach ($this->events as $event) { - if ($event->getType() == $type) { - $events[] = $event; - } - } - return $events; - } - - /** - * Removes a single event from the event queue. - * - * @param Phergie_Event_Command $event Event to remove - * - * @return Phergie_Event_Handler Provides a fluent interface - */ - public function removeEvent(Phergie_Event_Command $event) - { - $key = array_search($event, $this->events); - if ($key !== false) { - unset($this->events[$key]); - } - return $this; - } - - /** - * Returns an iterator for the current event queue. - * - * @return ArrayIterator - */ - public function getIterator() - { - return new ArrayIterator($this->events); - } - - /** - * Returns the number of events in the event queue - * - * @return int number of queued events - */ - public function count() - { - return count($this->events); - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Request.php b/plugins/Irc/extlib/phergie/Phergie/Event/Request.php deleted file mode 100755 index 647b5acb87..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Request.php +++ /dev/null @@ -1,468 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Autonomous event originating from a user or the server. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - * @link http://www.irchelp.org/irchelp/rfc/chapter4.html - */ -class Phergie_Event_Request - extends Phergie_Event_Abstract - implements ArrayAccess -{ - /** - * Nick message event type - */ - const TYPE_NICK = 'nick'; - - /** - * Whois message event type - */ - const TYPE_WHOIS = 'whois'; - - /** - * Quit command event type - */ - const TYPE_QUIT = 'quit'; - - /** - * Join message event type - */ - const TYPE_JOIN = 'join'; - - /** - * Kick message event type - */ - const TYPE_KICK = 'kick'; - - /** - * Part message event type - */ - const TYPE_PART = 'part'; - - /** - * Invite message event type - */ - const TYPE_INVITE = 'invite'; - - /** - * Mode message event type - */ - const TYPE_MODE = 'mode'; - - /** - * Topic message event type - */ - const TYPE_TOPIC = 'topic'; - - /** - * Private message command event type - */ - const TYPE_PRIVMSG = 'privmsg'; - - /** - * Notice message event type - */ - const TYPE_NOTICE = 'notice'; - - /** - * Pong message event type - */ - const TYPE_PONG = 'pong'; - - /** - * CTCP ACTION command event type - */ - const TYPE_ACTION = 'action'; - - /** - * CTCP PING command event type - */ - const TYPE_PING = 'ping'; - - /** - * CTCP TIME command event type - */ - const TYPE_TIME = 'time'; - - /** - * CTCP VERSION command event type - */ - const TYPE_VERSION = 'version'; - - /** - * RAW message event type - */ - const TYPE_RAW = 'raw'; - - /** - * Mapping of event types to their named parameters - * - * @var array - */ - protected static $map = array( - - self::TYPE_QUIT => array( - 'message' => 0 - ), - - self::TYPE_JOIN => array( - 'channel' => 0 - ), - - self::TYPE_KICK => array( - 'channel' => 0, - 'user' => 1, - 'comment' => 2 - ), - - self::TYPE_PART => array( - 'channel' => 0, - 'message' => 1 - ), - - self::TYPE_INVITE => array( - 'nickname' => 0, - 'channel' => 1 - ), - - self::TYPE_MODE => array( - 'target' => 0, - 'mode' => 1, - 'limit' => 2, - 'user' => 3, - 'banmask' => 4 - ), - - self::TYPE_TOPIC => array( - 'channel' => 0, - 'topic' => 1 - ), - - self::TYPE_PRIVMSG => array( - 'receiver' => 0, - 'text' => 1 - ), - - self::TYPE_NOTICE => array( - 'nickname' => 0, - 'text' => 1 - ), - - self::TYPE_ACTION => array( - 'target' => 0, - 'action' => 1 - ), - - self::TYPE_RAW => array( - 'message' => 0 - ) - - ); - - /** - * Hostmask representing the originating user, if applicable - * - * @var Phergie_Hostmask - */ - protected $hostmask; - - /** - * Arguments included with the message - * - * @var array - */ - protected $arguments; - - /** - * Raw data sent by the server - * - * @var string - */ - protected $rawData; - - /** - * Sets the hostmask representing the originating user. - * - * @param Phergie_Hostmask $hostmask User hostmask - * - * @return Phergie_Event_Request Provides a fluent interface - */ - public function setHostmask(Phergie_Hostmask $hostmask) - { - $this->hostmask = $hostmask; - return $this; - } - - /** - * Returns the hostmask representing the originating user. - * - * @return Phergie_Event_Request|null Hostmask or NULL if none was set - */ - public function getHostmask() - { - return $this->hostmask; - } - - /** - * Sets the arguments for the request. - * - * @param array $arguments Request arguments - * - * @return Phergie_Event_Request Provides a fluent interface - */ - public function setArguments($arguments) - { - $this->arguments = $arguments; - return $this; - } - - /** - * Sets the value of a single argument for the request. - * - * @param mixed $argument Integer position (starting from 0) or the - * equivalent string name of the argument from self::$map - * @param string $value Value to assign to the argument - * - * @return Phergie_Event_Request Provides a fluent interface - */ - public function setArgument($argument, $value) - { - $argument = $this->resolveArgument($argument); - if ($argument !== null) { - $this->arguments[$argument] = (string) $value; - } - return $this; - } - - /** - * Returns the arguments for the request. - * - * @return array - */ - public function getArguments() - { - return $this->arguments; - } - - /** - * Resolves an argument specification to an integer position. - * - * @param mixed $argument Integer position (starting from 0) or the - * equivalent string name of the argument from self::$map - * - * @return int|null Integer position of the argument or NULL if no - * corresponding argument was found - */ - protected function resolveArgument($argument) - { - if (isset($this->arguments[$argument])) { - return $argument; - } else { - $argument = strtolower($argument); - if (isset(self::$map[$this->type][$argument]) - && isset($this->arguments[self::$map[$this->type][$argument]]) - ) { - return self::$map[$this->type][$argument]; - } - } - return null; - } - - /** - * Returns a single specified argument for the request. - * - * @param mixed $argument Integer position (starting from 0) or the - * equivalent string name of the argument from self::$map - * - * @return string|null Argument value or NULL if none is set - */ - public function getArgument($argument) - { - $argument = $this->resolveArgument($argument); - if ($argument !== null) { - return $this->arguments[$argument]; - } - return null; - } - - /** - * Sets the raw buffer for the event. - * - * @param string $buffer Raw event buffer - * - * @return Phergie_Event_Request Provides a fluent interface - */ - public function setRawData($buffer) - { - $this->rawData = $buffer; - return $this; - } - - /** - * Returns the raw buffer sent from the server for the event. - * - * @return string - */ - public function getRawData() - { - return $this->rawData; - } - - /** - * Returns the nick of the user who originated the event. - * - * @return string - */ - public function getNick() - { - return $this->hostmask->getNick(); - } - - /** - * Returns the channel name if the event occurred in a channel or the - * user nick if the event was a private message directed at the bot by a - * user. - * - * @return string - */ - public function getSource() - { - if (substr($this->arguments[0], 0, 1) == '#') { - return $this->arguments[0]; - } - return $this->hostmask->getNick(); - } - - /** - * Returns whether or not the event occurred within a channel. - * - * @return TRUE if the event is in a channel, FALSE otherwise - */ - public function isInChannel() - { - return (substr($this->getSource(), 0, 1) == '#'); - } - - /** - * Returns whether or not the event originated from a user. - * - * @return TRUE if the event is from a user, FALSE otherwise - */ - public function isFromUser() - { - if (empty($this->hostmask)) { - return false; - } - $username = $this->hostmask->getUsername(); - return !empty($username); - } - - /** - * Returns whether or not the event originated from the server. - * - * @return TRUE if the event is from the server, FALSE otherwise - */ - public function isFromServer() - { - $username = $this->hostmask->getUsername(); - return empty($username); - } - - /** - * Provides access to named parameters via virtual "getter" methods. - * - * @param string $name Name of the method called - * @param array $arguments Arguments passed to the method (should always - * be empty) - * - * @return mixed Method return value - */ - public function __call($name, array $arguments) - { - if (!count($arguments) && substr($name, 0, 3) == 'get') { - return $this->getArgument(substr($name, 3)); - } - } - - /** - * Checks to see if an event argument is assigned a value. - * - * @param string|int $offset Argument name or position beginning from 0 - * - * @return bool TRUE if the argument has a value, FALSE otherwise - * @see ArrayAccess::offsetExists() - */ - public function offsetExists($offset) - { - return ($this->resolveArgument($offset) !== null); - } - - /** - * Returns the value of an event argument. - * - * @param string|int $offset Argument name or position beginning from 0 - * - * @return string|null Argument value or NULL if none is set - * @see ArrayAccess::offsetGet() - */ - public function offsetGet($offset) - { - return $this->getArgument($offset); - } - - /** - * Sets the value of an event argument. - * - * @param string|int $offset Argument name or position beginning from 0 - * @param string $value New argument value - * - * @return void - * @see ArrayAccess::offsetSet() - */ - public function offsetSet($offset, $value) - { - $offset = $this->resolveArgument($offset); - if ($offset !== null) { - $this->arguments[$offset] = $value; - } - } - - /** - * Removes the value set for an event argument. - * - * @param string|int $offset Argument name or position beginning from 0 - * - * @return void - * @see ArrayAccess::offsetUnset() - */ - public function offsetUnset($offset) - { - if ($offset = $this->resolveArgument($offset)) { - unset($this->arguments[$offset]); - } - } -} diff --git a/plugins/Irc/extlib/phergie/Phergie/Event/Response.php b/plugins/Irc/extlib/phergie/Phergie/Event/Response.php deleted file mode 100755 index 097e2535e8..0000000000 --- a/plugins/Irc/extlib/phergie/Phergie/Event/Response.php +++ /dev/null @@ -1,953 +0,0 @@ - - * @copyright 2008-2010 Phergie Development Team (http://phergie.org) - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - */ - -/** - * Event originating from the server in response to an event sent by the - * current client. - * - * @category Phergie - * @package Phergie - * @author Phergie Development Team - * @license http://phergie.org/license New BSD License - * @link http://pear.phergie.org/package/Phergie - * @link http://www.irchelp.org/irchelp/rfc/chapter6.html - */ -class Phergie_Event_Response extends Phergie_Event_Abstract -{ - /** - * No such nick/channel - * - * Used to indicate the nickname parameter supplied to a command is currently - * unused. - */ - const ERR_NOSUCHNICK = '401'; - - /** - * No such server - * - * Used to indicate the server name given currently doesn't exist. - */ - const ERR_NOSUCHSERVER = '402'; - - /** - * No such channel - * - * Used to indicate the given channel name is invalid. - */ - const ERR_NOSUCHCHANNEL = '403'; - - /** - * Cannot send to channel - * - * Sent to a user who is either (a) not on a channel which is mode +n or (b) not - * a chanop (or mode +v) on a channel which has mode +m set and is trying to send - * a PRIVMSG message to that channel. - */ - const ERR_CANNOTSENDTOCHAN = '404'; - - /** - * You have joined too many channels - * - * Sent to a user when they have joined the maximum number of allowed channels - * and they try to join another channel. - */ - const ERR_TOOMANYCHANNELS = '405'; - - /** - * There was no such nickname - * - * Returned by WHOWAS to indicate there is no history information for that - * nickname. - */ - const ERR_WASNOSUCHNICK = '406'; - - /** - * Duplicate recipients. No message delivered - * - * Returned to a client which is attempting to send PRIVMSG/NOTICE using the - * user@host destination format and for a user@host which has several - * occurrences. - */ - const ERR_TOOMANYTARGETS = '407'; - - /** - * No origin specified - * - * PING or PONG message missing the originator parameter which is required since - * these commands must work without valid prefixes. - */ - const ERR_NOORIGIN = '409'; - - /** - * No recipient given () - */ - const ERR_NORECIPIENT = '411'; - - /** - * No text to send - */ - const ERR_NOTEXTTOSEND = '412'; - - /** - * No toplevel domain specified - */ - const ERR_NOTOPLEVEL = '413'; - - /** - * Wildcard in toplevel domain - * - * 412 - 414 are returned by PRIVMSG to indicate that the message wasn't - * delivered for some reason. ERR_NOTOPLEVEL and ERR_WILDTOPLEVEL are errors that - * are returned when an invalid use of "PRIVMSG $" or "PRIVMSG #" - * is attempted. - */ - const ERR_WILDTOPLEVEL = '414'; - - /** - * Unknown command - * - * Returned to a registered client to indicate that the command sent is unknown - * by the server. - */ - const ERR_UNKNOWNCOMMAND = '421'; - - /** - * MOTD File is missing - * - * Server's MOTD file could not be opened by the server. - */ - const ERR_NOMOTD = '422'; - - /** - * No administrative info available - * - * Returned by a server in response to an ADMIN message when there is an error in - * finding the appropriate information. - */ - const ERR_NOADMININFO = '423'; - - /** - * File error doing on - * - * Generic error message used to report a failed file operation during the - * processing of a message. - */ - const ERR_FILEERROR = '424'; - - /** - * No nickname given - * - * Returned when a nickname parameter expected for a command and isn't found. - */ - const ERR_NONICKNAMEGIVEN = '431'; - - /** - * Erroneus nickname - * - * Returned after receiving a NICK message which contains characters which do not - * fall in the defined set. See section x.x.x for details on valid nicknames. - */ - const ERR_ERRONEUSNICKNAME = '432'; - - /** - * Nickname is already in use - * - * Returned when a NICK message is processed that results in an attempt to change - * to a currently existing nickname. - */ - const ERR_NICKNAMEINUSE = '433'; - - /** - * Nickname collision KILL - * - * Returned by a server to a client when it detects a nickname collision - * (registered of a NICK that already exists by another server). - */ - const ERR_NICKCOLLISION = '436'; - - /** - * They aren't on that channel - * - * Returned by the server to indicate that the target user of the command is not - * on the given channel. - */ - const ERR_USERNOTINCHANNEL = '441'; - - /** - * You're not on that channel - * - * Returned by the server whenever a client tries to perform a channel effecting - * command for which the client isn't a member. - */ - const ERR_NOTONCHANNEL = '442'; - - /** - * is already on channel - * - * Returned when a client tries to invite a user to a channel they are already - * on. - */ - const ERR_USERONCHANNEL = '443'; - - /** - * User not logged in - * - * Returned by the summon after a SUMMON command for a user was unable to be - * performed since they were not logged in. - */ - const ERR_NOLOGIN = '444'; - - /** - * SUMMON has been disabled - * - * Returned as a response to the SUMMON command. Must be returned by any server - * which does not implement it. - */ - const ERR_SUMMONDISABLED = '445'; - - /** - * USERS has been disabled - * - * Returned as a response to the USERS command. Must be returned by any server - * which does not implement it. - */ - const ERR_USERSDISABLED = '446'; - - /** - * You have not registered - * - * Returned by the server to indicate that the client must be registered before - * the server will allow it to be parsed in detail. - */ - const ERR_NOTREGISTERED = '451'; - - /** - * Not enough parameters - * - * Returned by the server by numerous commands to indicate to the client that it - * didn't supply enough parameters. - */ - const ERR_NEEDMOREPARAMS = '461'; - - /** - * You may not reregister - * - * Returned by the server to any link which tries to change part of the - * registered details (such as password or user details from second USER - * message). - */ - const ERR_ALREADYREGISTRED = '462'; - - /** - * Your host isn't among the privileged - * - * Returned to a client which attempts to register with a server which does not - * been setup to allow connections from the host the attempted connection is - * tried. - */ - const ERR_NOPERMFORHOST = '463'; - - /** - * Password incorrect - * - * Returned to indicate a failed attempt at registering a connection for which a - * password was required and was either not given or incorrect. - */ - const ERR_PASSWDMISMATCH = '464'; - - /** - * You are banned from this server - * - * Returned after an attempt to connect and register yourself with a server which - * has been setup to explicitly deny connections to you. - */ - const ERR_YOUREBANNEDCREEP = '465'; - - /** - * Channel key already set - */ - const ERR_KEYSET = '467'; - - /** - * Cannot join channel (+l) - */ - const ERR_CHANNELISFULL = '471'; - - /** - * is unknown mode char to me - */ - const ERR_UNKNOWNMODE = '472'; - - /** - * Cannot join channel (+i) - */ - const ERR_INVITEONLYCHAN = '473'; - - /** - * Cannot join channel (+b) - */ - const ERR_BANNEDFROMCHAN = '474'; - - /** - * Cannot join channel (+k) - */ - const ERR_BADCHANNELKEY = '475'; - - /** - * Permission Denied- You're not an IRC operator - * - * Any command requiring operator privileges to operate must return this error to - * indicate the attempt was unsuccessful. - */ - const ERR_NOPRIVILEGES = '481'; - - /** - * You're not channel operator - * - * Any command requiring 'chanop' privileges (such as MODE messages) must return - * this error if the client making the attempt is not a chanop on the specified - * channel. - */ - const ERR_CHANOPRIVSNEEDED = '482'; - - /** - * You cant kill a server! - * - * Any attempts to use the KILL command on a server are to be refused and this - * error returned directly to the client. - */ - const ERR_CANTKILLSERVER = '483'; - - /** - * No O-lines for your host - * - * If a client sends an OPER message and the server has not been configured to - * allow connections from the client's host as an operator, this error must be - * returned. - */ - const ERR_NOOPERHOST = '491'; - - /** - * Unknown MODE flag - * - * Returned by the server to indicate that a MODE message was sent with a - * nickname parameter and that the a mode flag sent was not recognized. - */ - const ERR_UMODEUNKNOWNFLAG = '501'; - - /** - * Cant change mode for other users - * - * Error sent to any user trying to view or change the user mode for a user other - * than themselves. - */ - const ERR_USERSDONTMATCH = '502'; - - /** - * Dummy reply number. Not used. - */ - const RPL_NONE = '300'; - - /** - * [{}] - * - * Reply format used by USERHOST to list replies to the query list. The reply - * string is composed as follows = ['*'] '=' <'+'|'-'> - * The '*' indicates whether the client has registered as an Operator. The '-' or - * '+' characters represent whether the client has set an AWAY message or not - * respectively. - */ - const RPL_USERHOST = '302'; - - /** - * [ {}] - * - * Reply format used by ISON to list replies to the query list. - */ - const RPL_ISON = '303'; - - /** - * - */ - const RPL_AWAY = '301'; - - /** - * You are no longer marked as being away - */ - const RPL_UNAWAY = '305'; - - /** - * You have been marked as being away - * - * These replies are used with the AWAY command (if allowed). RPL_AWAY is sent to - * any client sending a PRIVMSG to a client which is away. RPL_AWAY is only sent - * by the server to which the client is connected. Replies RPL_UNAWAY and - * RPL_NOWAWAY are sent when the client removes and sets an AWAY message. - */ - const RPL_NOWAWAY = '306'; - - /** - * * - */ - const RPL_WHOISUSER = '311'; - - /** - * - */ - const RPL_WHOISSERVER = '312'; - - /** - * is an IRC operator - */ - const RPL_WHOISOPERATOR = '313'; - - /** - * seconds idle - */ - const RPL_WHOISIDLE = '317'; - - /** - * End of /WHOIS list - */ - const RPL_ENDOFWHOIS = '318'; - - /** - * {[@|+]} - * - * Replies 311 - 313, 317 - 319 are all replies generated in response to a WHOIS - * message. Given that there are enough parameters present, the answering server - * must either formulate a reply out of the above numerics (if the query nick is - * found) or return an error reply. The '*' in RPL_WHOISUSER is there as the - * literal character and not as a wild card. For each reply set, only - * RPL_WHOISCHANNELS may appear more than once (for long lists of channel names). - * The '@' and '+' characters next to the channel name indicate whether a client - * is a channel operator or has been granted permission to speak on a moderated - * channel. The RPL_ENDOFWHOIS reply is used to mark the end of processing a - * WHOIS message. - */ - const RPL_WHOISCHANNELS = '319'; - - /** - * * - */ - const RPL_WHOWASUSER = '314'; - - /** - * End of WHOWAS - * - * When replying to a WHOWAS message, a server must use the replies - * RPL_WHOWASUSER, RPL_WHOISSERVER or ERR_WASNOSUCHNICK for each nickname in the - * presented list. At the end of all reply batches, there must be RPL_ENDOFWHOWAS - * (even if there was only one reply and it was an error). - */ - const RPL_ENDOFWHOWAS = '369'; - - /** - * Channel Users Name - */ - const RPL_LISTSTART = '321'; - - /** - * <# visible> - */ - const RPL_LIST = '322'; - - /** - * End of /LIST - * - * Replies RPL_LISTSTART, RPL_LIST, RPL_LISTEND mark the start, actual replies - * with data and end of the server's response to a LIST command. If there are no - * channels available to return, only the start and end reply must be sent. - */ - const RPL_LISTEND = '323'; - - /** - * - */ - const RPL_CHANNELMODEIS = '324'; - - /** - * No topic is set - */ - const RPL_NOTOPIC = '331'; - - /** - * - * - * When sending a TOPIC message to determine the channel topic, one of two - * replies is sent. If the topic is set, RPL_TOPIC is sent back else RPL_NOTOPIC. - */ - const RPL_TOPIC = '332'; - - /** - * - * - * Returned by the server to indicate that the attempted INVITE message was - * successful and is being passed onto the end client. - */ - const RPL_INVITING = '341'; - - /** - * Summoning user to IRC - * - * Returned by a server answering a SUMMON message to indicate that it is - * summoning that user. - */ - const RPL_SUMMONING = '342'; - - /** - * . - * - * Reply by the server showing its version details. The is the version - * of the software being used (including any patchlevel revisions) and the - * is used to indicate if the server is running in "debug mode". The - * "comments" field may contain any comments about the version or further version - * details. - */ - const RPL_VERSION = '351'; - - /** - * [*][@|+] - */ - const RPL_WHOREPLY = '352'; - - /** - * End of /WHO list - * - * The RPL_WHOREPLY and RPL_ENDOFWHO pair are used to answer a WHO message. The - * RPL_WHOREPLY is only sent if there is an appropriate match to the WHO query. - * If there is a list of parameters supplied with a WHO message, a RPL_ENDOFWHO - * must be sent after processing each list item with being the item. - */ - const RPL_ENDOFWHO = '315'; - - /** - * [[@|+] [[@|+] [...]]] - */ - const RPL_NAMREPLY = '353'; - - /** - * End of /NAMES list - * - * To reply to a NAMES message, a reply pair consisting of RPL_NAMREPLY and - * RPL_ENDOFNAMES is sent by the server back to the client. If there is no - * channel found as in the query, then only RPL_ENDOFNAMES is returned. The - * exception to this is when a NAMES message is sent with no parameters and all - * visible channels and contents are sent back in a series of RPL_NAMEREPLY - * messages with a RPL_ENDOFNAMES to mark the end. - */ - const RPL_ENDOFNAMES = '366'; - - /** - * - */ - const RPL_LINKS = '364'; - - /** - * End of /LINKS list - * - * In replying to the LINKS message, a server must send replies back using the - * RPL_LINKS numeric and mark the end of the list using an RPL_ENDOFLINKS reply.v - */ - const RPL_ENDOFLINKS = '365'; - - /** - * - */ - const RPL_BANLIST = '367'; - - /** - * End of channel ban list - * - * When listing the active 'bans' for a given channel, a server is required to - * send the list back using the RPL_BANLIST and RPL_ENDOFBANLIST messages. A - * separate RPL_BANLIST is sent for each active banid. After the banids have been - * listed (or if none present) a RPL_ENDOFBANLIST must be sent. - */ - const RPL_ENDOFBANLIST = '368'; - - /** - * - */ - const RPL_INFO = '371'; - - /** - * End of /INFO list - * - * A server responding to an INFO message is required to send all its 'info' in a - * series of RPL_INFO messages with a RPL_ENDOFINFO reply to indicate the end of - * the replies. - */ - const RPL_ENDOFINFO = '374'; - - /** - * - Message of the day - - */ - const RPL_MOTDSTART = '375'; - - /** - * - - */ - const RPL_MOTD = '372'; - - /** - * End of /MOTD command - * - * When responding to the MOTD message and the MOTD file is found, the file is - * displayed line by line, with each line no longer than 80 characters, using - * RPL_MOTD format replies. These should be surrounded by a RPL_MOTDSTART (before - * the RPL_MOTDs) and an RPL_ENDOFMOTD (after). - */ - const RPL_ENDOFMOTD = '376'; - - /** - * You are now an IRC operator - * - * RPL_YOUREOPER is sent back to a client which has just successfully issued an - * OPER message and gained operator status. - */ - const RPL_YOUREOPER = '381'; - - /** - * Rehashing - * - * If the REHASH option is used and an operator sends a REHASH message, an - * RPL_REHASHING is sent back to the operator. - */ - const RPL_REHASHING = '382'; - - /** - * - * - * When replying to the TIME message, a server must send the reply using the - * RPL_TIME format above. The string showing the time need only contain the - * correct day and time there. There is no further requirement for the time - * string. - */ - const RPL_TIME = '391'; - - /** - * UserID Terminal Host - */ - const RPL_USERSSTART = '392'; - - /** - * %-8s %-9s %-8s - */ - const RPL_USERS = '393'; - - /** - * End of users - */ - const RPL_ENDOFUSERS = '394'; - - /** - * Nobody logged in - * - * If the USERS message is handled by a server, the replies RPL_USERSTART, - * RPL_USERS, RPL_ENDOFUSERS and RPL_NOUSERS are used. RPL_USERSSTART must be - * sent first, following by either a sequence of RPL_USERS or a single - * RPL_NOUSER. Following this is RPL_ENDOFUSERS. - */ - const RPL_NOUSERS = '395'; - - /** - * Link - */ - const RPL_TRACELINK = '200'; - - /** - * Try. - */ - const RPL_TRACECONNECTING = '201'; - - /** - * H.S. - */ - const RPL_TRACEHANDSHAKE = '202'; - - /** - * ???? [] - */ - const RPL_TRACEUNKNOWN = '203'; - - /** - * Oper - */ - const RPL_TRACEOPERATOR = '204'; - - /** - * User - */ - const RPL_TRACEUSER = '205'; - - /** - * Serv S C @ - */ - const RPL_TRACESERVER = '206'; - - /** - * 0 - */ - const RPL_TRACENEWTYPE = '208'; - - /** - * File - * - * The RPL_TRACE* are all returned by the server in response to the TRACE - * message. How many are returned is dependent on the the TRACE message and - * whether it was sent by an operator or not. There is no predefined order for - * which occurs first. Replies RPL_TRACEUNKNOWN, RPL_TRACECONNECTING and - * RPL_TRACEHANDSHAKE are all used for connections which have not been fully - * established and are either unknown, still attempting to connect or in the - * process of completing the 'server handshake'. RPL_TRACELINK is sent by any - * server which handles a TRACE message and has to pass it on to another server. - * The list of RPL_TRACELINKs sent in response to a TRACE command traversing the - * IRC network should reflect the actual connectivity of the servers themselves - * along that path. RPL_TRACENEWTYPE is to be used for any connection which does - * not fit in the other categories but is being displayed anyway. - */ - const RPL_TRACELOG = '261'; - - /** - *