From 1a365e77dfb8825136626202b1df462731b42060 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 16 Aug 2015 08:22:05 +0200 Subject: Update to MediaWiki 1.25.2 --- RELEASE-NOTES-1.25 | 30 +- composer.lock | 395 ------- docs/hooks.txt | 5 + extensions/ConfirmEdit/ApiFancyCaptchaReload.php | 46 - .../FancyCaptcha/ApiFancyCaptchaReload.php | 46 + extensions/ConfirmEdit/FancyCaptcha/extension.json | 4 +- extensions/ConfirmEdit/ReCaptcha/extension.json | 2 +- .../ConfirmEdit/includes/ConfirmEditHooks.php | 27 +- .../geshi/contrib/aliased.php | 122 --- .../SyntaxHighlight_GeSHi/geshi/contrib/cssgen.php | 464 -------- .../geshi/contrib/cssgen2.php | 59 - .../geshi/contrib/example.php | 217 ---- .../geshi/contrib/langcheck.php | 778 ------------- .../geshi/contrib/langwiz.php | 1153 -------------------- includes/DefaultSettings.php | 2 +- includes/GlobalFunctions.php | 2 +- includes/Setup.php | 4 +- includes/User.php | 37 +- includes/api/ApiBase.php | 2 +- includes/api/ApiOpenSearch.php | 14 +- includes/api/ApiQueryImageInfo.php | 5 +- includes/exception/MWExceptionHandler.php | 7 +- includes/filerepo/ForeignAPIRepo.php | 1 + includes/installer/DatabaseUpdater.php | 23 +- includes/registration/ExtensionProcessor.php | 1 + includes/registration/ExtensionRegistry.php | 20 +- includes/specials/SpecialDeletedContributions.php | 2 +- includes/specials/SpecialVersion.php | 4 +- languages/i18n/af.json | 2 +- languages/i18n/am.json | 2 +- languages/i18n/an.json | 2 +- languages/i18n/ar.json | 2 +- languages/i18n/arc.json | 2 +- languages/i18n/arn.json | 2 +- languages/i18n/ary.json | 2 +- languages/i18n/arz.json | 2 +- languages/i18n/as.json | 2 +- languages/i18n/ast.json | 2 +- languages/i18n/avk.json | 2 +- languages/i18n/awa.json | 2 +- languages/i18n/az.json | 2 +- languages/i18n/azb.json | 2 +- languages/i18n/ba.json | 2 +- languages/i18n/bar.json | 2 +- languages/i18n/bcc.json | 2 +- languages/i18n/bcl.json | 2 +- languages/i18n/be-tarask.json | 2 +- languages/i18n/be.json | 2 +- languages/i18n/bg.json | 2 +- languages/i18n/bgn.json | 2 +- languages/i18n/bjn.json | 2 +- languages/i18n/bn.json | 2 +- languages/i18n/br.json | 2 +- languages/i18n/bs.json | 2 +- languages/i18n/ca.json | 2 +- languages/i18n/ce.json | 2 +- languages/i18n/ckb.json | 2 +- languages/i18n/crh-cyrl.json | 2 +- languages/i18n/crh-latn.json | 2 +- languages/i18n/cs.json | 2 +- languages/i18n/cv.json | 2 +- languages/i18n/cy.json | 2 +- languages/i18n/da.json | 2 +- languages/i18n/de.json | 2 +- languages/i18n/diq.json | 2 +- languages/i18n/dsb.json | 2 +- languages/i18n/el.json | 2 +- languages/i18n/en.json | 2 +- languages/i18n/eo.json | 2 +- languages/i18n/es.json | 2 +- languages/i18n/et.json | 2 +- languages/i18n/eu.json | 2 +- languages/i18n/ext.json | 2 +- languages/i18n/fa.json | 2 +- languages/i18n/fi.json | 2 +- languages/i18n/fo.json | 2 +- languages/i18n/fr.json | 2 +- languages/i18n/frp.json | 2 +- languages/i18n/frr.json | 2 +- languages/i18n/fur.json | 2 +- languages/i18n/fy.json | 2 +- languages/i18n/ga.json | 2 +- languages/i18n/gan-hans.json | 2 +- languages/i18n/gan-hant.json | 2 +- languages/i18n/gd.json | 2 +- languages/i18n/gl.json | 2 +- languages/i18n/gn.json | 2 +- languages/i18n/grc.json | 2 +- languages/i18n/gsw.json | 2 +- languages/i18n/gu.json | 2 +- languages/i18n/hak.json | 2 +- languages/i18n/he.json | 2 +- languages/i18n/hi.json | 2 +- languages/i18n/hif-latn.json | 2 +- languages/i18n/hr.json | 2 +- languages/i18n/hrx.json | 2 +- languages/i18n/hsb.json | 2 +- languages/i18n/hu.json | 2 +- languages/i18n/hy.json | 2 +- languages/i18n/ia.json | 2 +- languages/i18n/id.json | 2 +- languages/i18n/ig.json | 2 +- languages/i18n/ilo.json | 2 +- languages/i18n/io.json | 2 +- languages/i18n/is.json | 2 +- languages/i18n/it.json | 2 +- languages/i18n/ja.json | 2 +- languages/i18n/jv.json | 2 +- languages/i18n/ka.json | 2 +- languages/i18n/kaa.json | 2 +- languages/i18n/kab.json | 2 +- languages/i18n/kiu.json | 2 +- languages/i18n/kk-arab.json | 2 +- languages/i18n/kk-cyrl.json | 2 +- languages/i18n/kk-latn.json | 2 +- languages/i18n/km.json | 2 +- languages/i18n/kn.json | 2 +- languages/i18n/ko.json | 2 +- languages/i18n/krc.json | 2 +- languages/i18n/ksh.json | 2 +- languages/i18n/ku-latn.json | 2 +- languages/i18n/la.json | 2 +- languages/i18n/lb.json | 2 +- languages/i18n/li.json | 2 +- languages/i18n/lmo.json | 2 +- languages/i18n/loz.json | 2 +- languages/i18n/lrc.json | 2 +- languages/i18n/lt.json | 2 +- languages/i18n/lus.json | 2 +- languages/i18n/lv.json | 2 +- languages/i18n/lzh.json | 2 +- languages/i18n/mai.json | 2 +- languages/i18n/map-bms.json | 2 +- languages/i18n/mdf.json | 2 +- languages/i18n/mg.json | 2 +- languages/i18n/mhr.json | 2 +- languages/i18n/min.json | 2 +- languages/i18n/mk.json | 2 +- languages/i18n/ml.json | 2 +- languages/i18n/mn.json | 2 +- languages/i18n/mr.json | 2 +- languages/i18n/ms.json | 2 +- languages/i18n/mt.json | 2 +- languages/i18n/myv.json | 2 +- languages/i18n/nap.json | 2 +- languages/i18n/nb.json | 2 +- languages/i18n/nds-nl.json | 2 +- languages/i18n/nds.json | 2 +- languages/i18n/ne.json | 2 +- languages/i18n/nl.json | 2 +- languages/i18n/nn.json | 2 +- languages/i18n/oc.json | 2 +- languages/i18n/or.json | 2 +- languages/i18n/os.json | 2 +- languages/i18n/pa.json | 2 +- languages/i18n/pam.json | 2 +- languages/i18n/pl.json | 2 +- languages/i18n/pms.json | 2 +- languages/i18n/pnb.json | 2 +- languages/i18n/prg.json | 2 +- languages/i18n/ps.json | 2 +- languages/i18n/pt-br.json | 2 +- languages/i18n/pt.json | 2 +- languages/i18n/qqq.json | 1 - languages/i18n/qu.json | 2 +- languages/i18n/rm.json | 2 +- languages/i18n/ro.json | 2 +- languages/i18n/roa-tara.json | 2 +- languages/i18n/ru.json | 2 +- languages/i18n/rue.json | 2 +- languages/i18n/sa.json | 2 +- languages/i18n/sah.json | 2 +- languages/i18n/sc.json | 2 +- languages/i18n/scn.json | 2 +- languages/i18n/sco.json | 2 +- languages/i18n/sdc.json | 2 +- languages/i18n/se.json | 2 +- languages/i18n/sei.json | 2 +- languages/i18n/ses.json | 2 +- languages/i18n/sgs.json | 2 +- languages/i18n/sh.json | 2 +- languages/i18n/shi.json | 2 +- languages/i18n/si.json | 2 +- languages/i18n/sk.json | 2 +- languages/i18n/sl.json | 2 +- languages/i18n/sli.json | 2 +- languages/i18n/sma.json | 2 +- languages/i18n/sq.json | 2 +- languages/i18n/sr-ec.json | 2 +- languages/i18n/sr-el.json | 2 +- languages/i18n/srn.json | 2 +- languages/i18n/stq.json | 2 +- languages/i18n/su.json | 2 +- languages/i18n/sv.json | 2 +- languages/i18n/sw.json | 2 +- languages/i18n/szl.json | 2 +- languages/i18n/ta.json | 2 +- languages/i18n/te.json | 2 +- languages/i18n/tg-cyrl.json | 2 +- languages/i18n/tg-latn.json | 2 +- languages/i18n/th.json | 2 +- languages/i18n/tk.json | 2 +- languages/i18n/tl.json | 2 +- languages/i18n/tr.json | 2 +- languages/i18n/tyv.json | 2 +- languages/i18n/tzm.json | 2 +- languages/i18n/ug-arab.json | 2 +- languages/i18n/uk.json | 2 +- languages/i18n/vec.json | 2 +- languages/i18n/vep.json | 2 +- languages/i18n/vi.json | 2 +- languages/i18n/vo.json | 2 +- languages/i18n/vro.json | 2 +- languages/i18n/wa.json | 2 +- languages/i18n/war.json | 2 +- languages/i18n/wo.json | 2 +- languages/i18n/yi.json | 2 +- languages/i18n/yo.json | 2 +- languages/i18n/yue.json | 2 +- languages/i18n/zh-hans.json | 2 +- languages/i18n/zh-hant.json | 2 +- languages/i18n/zh-tw.json | 1 - languages/messages/MessagesAce.php | 2 +- languages/messages/MessagesAf.php | 2 +- languages/messages/MessagesAln.php | 2 +- languages/messages/MessagesAn.php | 2 +- languages/messages/MessagesAr.php | 2 +- languages/messages/MessagesArc.php | 2 +- languages/messages/MessagesArz.php | 2 +- languages/messages/MessagesAs.php | 2 +- languages/messages/MessagesAv.php | 2 +- languages/messages/MessagesAvk.php | 2 +- languages/messages/MessagesBa.php | 2 +- languages/messages/MessagesBcc.php | 2 +- languages/messages/MessagesBe_tarask.php | 2 +- languages/messages/MessagesBg.php | 2 +- languages/messages/MessagesBjn.php | 2 +- languages/messages/MessagesBr.php | 2 +- languages/messages/MessagesBs.php | 2 +- languages/messages/MessagesBxr.php | 2 +- languages/messages/MessagesCa.php | 2 +- languages/messages/MessagesCdo.php | 2 +- languages/messages/MessagesCe.php | 2 +- languages/messages/MessagesCkb.php | 2 +- languages/messages/MessagesCs.php | 2 +- languages/messages/MessagesDa.php | 2 +- languages/messages/MessagesDe.php | 2 +- languages/messages/MessagesDiq.php | 2 +- languages/messages/MessagesDsb.php | 2 +- languages/messages/MessagesEl.php | 2 +- languages/messages/MessagesEn.php | 1 - languages/messages/MessagesEo.php | 2 +- languages/messages/MessagesEs.php | 2 +- languages/messages/MessagesEt.php | 2 +- languages/messages/MessagesFa.php | 2 +- languages/messages/MessagesFi.php | 2 +- languages/messages/MessagesFr.php | 2 +- languages/messages/MessagesFrp.php | 2 +- languages/messages/MessagesFur.php | 2 +- languages/messages/MessagesFy.php | 2 +- languages/messages/MessagesGag.php | 2 +- languages/messages/MessagesGl.php | 2 +- languages/messages/MessagesGsw.php | 2 +- languages/messages/MessagesGu.php | 2 +- languages/messages/MessagesHe.php | 2 +- languages/messages/MessagesHr.php | 2 +- languages/messages/MessagesHsb.php | 2 +- languages/messages/MessagesHt.php | 2 +- languages/messages/MessagesHu.php | 2 +- languages/messages/MessagesHy.php | 2 +- languages/messages/MessagesIa.php | 2 +- languages/messages/MessagesId.php | 2 +- languages/messages/MessagesIe.php | 2 +- languages/messages/MessagesIs.php | 2 +- languages/messages/MessagesIt.php | 2 +- languages/messages/MessagesJa.php | 2 +- languages/messages/MessagesKa.php | 2 +- languages/messages/MessagesKaa.php | 2 +- languages/messages/MessagesKk_arab.php | 2 +- languages/messages/MessagesKk_cyrl.php | 2 +- languages/messages/MessagesKk_latn.php | 2 +- languages/messages/MessagesKm.php | 2 +- languages/messages/MessagesKo.php | 2 +- languages/messages/MessagesKrc.php | 2 +- languages/messages/MessagesKsh.php | 2 +- languages/messages/MessagesKw.php | 2 +- languages/messages/MessagesLa.php | 2 +- languages/messages/MessagesLad.php | 2 +- languages/messages/MessagesLb.php | 2 +- languages/messages/MessagesLi.php | 2 +- languages/messages/MessagesLij.php | 2 +- languages/messages/MessagesLrc.php | 2 +- languages/messages/MessagesLt.php | 2 +- languages/messages/MessagesMdf.php | 2 +- languages/messages/MessagesMg.php | 2 +- languages/messages/MessagesMin.php | 2 +- languages/messages/MessagesMk.php | 2 +- languages/messages/MessagesMl.php | 2 +- languages/messages/MessagesMr.php | 2 +- languages/messages/MessagesMs.php | 2 +- languages/messages/MessagesMt.php | 2 +- languages/messages/MessagesMyv.php | 2 +- languages/messages/MessagesNb.php | 2 +- languages/messages/MessagesNds.php | 2 +- languages/messages/MessagesNds_nl.php | 2 +- languages/messages/MessagesNl.php | 2 +- languages/messages/MessagesNn.php | 2 +- languages/messages/MessagesOc.php | 2 +- languages/messages/MessagesOr.php | 2 +- languages/messages/MessagesOs.php | 2 +- languages/messages/MessagesPa.php | 2 +- languages/messages/MessagesPl.php | 2 +- languages/messages/MessagesPs.php | 2 +- languages/messages/MessagesPt.php | 2 +- languages/messages/MessagesPt_br.php | 2 +- languages/messages/MessagesQu.php | 2 +- languages/messages/MessagesRo.php | 2 +- languages/messages/MessagesRu.php | 2 +- languages/messages/MessagesRue.php | 2 +- languages/messages/MessagesSa.php | 2 +- languages/messages/MessagesScn.php | 2 +- languages/messages/MessagesSd.php | 2 +- languages/messages/MessagesSdc.php | 2 +- languages/messages/MessagesSe.php | 2 +- languages/messages/MessagesSh.php | 2 +- languages/messages/MessagesSi.php | 2 +- languages/messages/MessagesSk.php | 2 +- languages/messages/MessagesSl.php | 2 +- languages/messages/MessagesSq.php | 2 +- languages/messages/MessagesSr_ec.php | 2 +- languages/messages/MessagesSu.php | 2 +- languages/messages/MessagesSv.php | 2 +- languages/messages/MessagesSw.php | 2 +- languages/messages/MessagesTe.php | 2 +- languages/messages/MessagesTh.php | 2 +- languages/messages/MessagesTl.php | 2 +- languages/messages/MessagesTr.php | 2 +- languages/messages/MessagesTt_cyrl.php | 2 +- languages/messages/MessagesUk.php | 2 +- languages/messages/MessagesUr.php | 2 +- languages/messages/MessagesVec.php | 2 +- languages/messages/MessagesVi.php | 2 +- languages/messages/MessagesYi.php | 2 +- languages/messages/MessagesYue.php | 2 +- languages/messages/MessagesZh.php | 2 +- languages/messages/MessagesZh_hans.php | 1 - languages/messages/MessagesZh_hant.php | 1 - maintenance/Maintenance.php | 2 +- maintenance/dictionary/mediawiki.dic | 1 - resources/Resources.php | 2 + resources/assets/file-type-icons/fileicon-djvu.xcf | Bin 0 -> 83394 bytes resources/assets/file-type-icons/fileicon-ogg.xcf | Bin 0 -> 40236 bytes .../parser/preprocess/All_system_messages.expected | 14 - tests/parser/preprocess/All_system_messages.txt | 14 - tests/phpunit/data/media/80x60-2layers.xcf | Bin 0 -> 1162 bytes tests/phpunit/data/media/80x60-Greyscale.xcf | Bin 0 -> 667 bytes tests/phpunit/data/media/80x60-RGB.xcf | Bin 0 -> 677 bytes .../registration/ExtensionRegistryTest.php | 14 +- thumb.php | 26 +- vendor/README.md | 28 + vendor/autoload.php | 2 +- vendor/composer.json | 25 + vendor/composer.lock | 525 +++++++++ vendor/composer/ClassLoader.php | 8 +- vendor/composer/autoload_classmap.php | 260 ++++- vendor/composer/autoload_namespaces.php | 5 +- vendor/composer/autoload_psr4.php | 3 +- vendor/composer/autoload_real.php | 9 +- vendor/composer/installed.json | 381 ++++--- vendor/monolog/monolog/CHANGELOG.mdown | 202 ++++ vendor/monolog/monolog/LICENSE | 19 + vendor/monolog/monolog/README.mdown | 283 +++++ vendor/monolog/monolog/composer.json | 50 + vendor/monolog/monolog/doc/extending.md | 76 ++ vendor/monolog/monolog/doc/sockets.md | 37 + vendor/monolog/monolog/doc/usage.md | 162 +++ vendor/monolog/monolog/phpunit.xml.dist | 15 + .../monolog/monolog/src/Monolog/ErrorHandler.php | 208 ++++ .../src/Monolog/Formatter/ChromePHPFormatter.php | 79 ++ .../src/Monolog/Formatter/ElasticaFormatter.php | 87 ++ .../src/Monolog/Formatter/FlowdockFormatter.php | 104 ++ .../src/Monolog/Formatter/FormatterInterface.php | 36 + .../src/Monolog/Formatter/GelfMessageFormatter.php | 101 ++ .../src/Monolog/Formatter/HtmlFormatter.php | 140 +++ .../src/Monolog/Formatter/JsonFormatter.php | 116 ++ .../src/Monolog/Formatter/LineFormatter.php | 159 +++ .../src/Monolog/Formatter/LogglyFormatter.php | 47 + .../src/Monolog/Formatter/LogstashFormatter.php | 165 +++ .../src/Monolog/Formatter/MongoDBFormatter.php | 105 ++ .../src/Monolog/Formatter/NormalizerFormatter.php | 141 +++ .../src/Monolog/Formatter/ScalarFormatter.php | 48 + .../src/Monolog/Formatter/WildfireFormatter.php | 113 ++ .../src/Monolog/Handler/AbstractHandler.php | 184 ++++ .../Monolog/Handler/AbstractProcessingHandler.php | 66 ++ .../src/Monolog/Handler/AbstractSyslogHandler.php | 92 ++ .../monolog/src/Monolog/Handler/AmqpHandler.php | 98 ++ .../src/Monolog/Handler/BrowserConsoleHandler.php | 184 ++++ .../monolog/src/Monolog/Handler/BufferHandler.php | 117 ++ .../src/Monolog/Handler/ChromePHPHandler.php | 204 ++++ .../monolog/src/Monolog/Handler/CouchDBHandler.php | 72 ++ .../monolog/src/Monolog/Handler/CubeHandler.php | 145 +++ .../src/Monolog/Handler/DoctrineCouchDBHandler.php | 45 + .../src/Monolog/Handler/DynamoDbHandler.php | 89 ++ .../src/Monolog/Handler/ElasticSearchHandler.php | 128 +++ .../src/Monolog/Handler/ErrorLogHandler.php | 82 ++ .../monolog/src/Monolog/Handler/FilterHandler.php | 140 +++ .../FingersCrossed/ActivationStrategyInterface.php | 28 + .../ChannelLevelActivationStrategy.php | 59 + .../ErrorLevelActivationStrategy.php | 34 + .../src/Monolog/Handler/FingersCrossedHandler.php | 150 +++ .../monolog/src/Monolog/Handler/FirePHPHandler.php | 195 ++++ .../src/Monolog/Handler/FleepHookHandler.php | 126 +++ .../src/Monolog/Handler/FlowdockHandler.php | 103 ++ .../monolog/src/Monolog/Handler/GelfHandler.php | 72 ++ .../monolog/src/Monolog/Handler/GroupHandler.php | 80 ++ .../src/Monolog/Handler/HandlerInterface.php | 90 ++ .../monolog/src/Monolog/Handler/HipChatHandler.php | 300 +++++ .../src/Monolog/Handler/LogEntriesHandler.php | 55 + .../monolog/src/Monolog/Handler/LogglyHandler.php | 98 ++ .../monolog/src/Monolog/Handler/MailHandler.php | 55 + .../src/Monolog/Handler/MandrillHandler.php | 69 ++ .../Monolog/Handler/MissingExtensionException.php | 21 + .../monolog/src/Monolog/Handler/MongoDBHandler.php | 55 + .../src/Monolog/Handler/NativeMailerHandler.php | 155 +++ .../src/Monolog/Handler/NewRelicHandler.php | 174 +++ .../monolog/src/Monolog/Handler/NullHandler.php | 45 + .../monolog/src/Monolog/Handler/PsrHandler.php | 56 + .../src/Monolog/Handler/PushoverHandler.php | 172 +++ .../monolog/src/Monolog/Handler/RavenHandler.php | 181 +++ .../monolog/src/Monolog/Handler/RedisHandler.php | 58 + .../monolog/src/Monolog/Handler/RollbarHandler.php | 73 ++ .../src/Monolog/Handler/RotatingFileHandler.php | 153 +++ .../src/Monolog/Handler/SamplingHandler.php | 83 ++ .../monolog/src/Monolog/Handler/SlackHandler.php | 234 ++++ .../monolog/src/Monolog/Handler/SocketHandler.php | 284 +++++ .../monolog/src/Monolog/Handler/StreamHandler.php | 104 ++ .../src/Monolog/Handler/SwiftMailerHandler.php | 56 + .../monolog/src/Monolog/Handler/SyslogHandler.php | 67 ++ .../src/Monolog/Handler/SyslogUdp/UdpSocket.php | 46 + .../src/Monolog/Handler/SyslogUdpHandler.php | 80 ++ .../monolog/src/Monolog/Handler/TestHandler.php | 140 +++ .../Monolog/Handler/WhatFailureGroupHandler.php | 57 + .../src/Monolog/Handler/ZendMonitorHandler.php | 95 ++ vendor/monolog/monolog/src/Monolog/Logger.php | 615 +++++++++++ .../monolog/src/Monolog/Processor/GitProcessor.php | 64 ++ .../Monolog/Processor/IntrospectionProcessor.php | 82 ++ .../Monolog/Processor/MemoryPeakUsageProcessor.php | 40 + .../src/Monolog/Processor/MemoryProcessor.php | 63 ++ .../src/Monolog/Processor/MemoryUsageProcessor.php | 40 + .../src/Monolog/Processor/ProcessIdProcessor.php | 31 + .../Monolog/Processor/PsrLogMessageProcessor.php | 48 + .../monolog/src/Monolog/Processor/TagProcessor.php | 34 + .../monolog/src/Monolog/Processor/UidProcessor.php | 38 + .../monolog/src/Monolog/Processor/WebProcessor.php | 105 ++ vendor/monolog/monolog/src/Monolog/Registry.php | 118 ++ .../monolog/tests/Monolog/ErrorHandlerTest.php | 31 + .../Monolog/Formatter/ChromePHPFormatterTest.php | 158 +++ .../Monolog/Formatter/ElasticaFormatterTest.php | 79 ++ .../Monolog/Formatter/FlowdockFormatterTest.php | 55 + .../Monolog/Formatter/GelfMessageFormatterTest.php | 189 ++++ .../tests/Monolog/Formatter/JsonFormatterTest.php | 78 ++ .../tests/Monolog/Formatter/LineFormatterTest.php | 208 ++++ .../Monolog/Formatter/LogglyFormatterTest.php | 40 + .../Monolog/Formatter/LogstashFormatterTest.php | 289 +++++ .../Monolog/Formatter/MongoDBFormatterTest.php | 253 +++++ .../Monolog/Formatter/NormalizerFormatterTest.php | 247 +++++ .../Monolog/Formatter/ScalarFormatterTest.php | 98 ++ .../Monolog/Formatter/WildfireFormatterTest.php | 142 +++ .../Functional/Handler/FirePHPHandlerTest.php | 32 + .../tests/Monolog/Handler/AbstractHandlerTest.php | 115 ++ .../Handler/AbstractProcessingHandlerTest.php | 80 ++ .../tests/Monolog/Handler/AmqpHandlerTest.php | 137 +++ .../Monolog/Handler/BrowserConsoleHandlerTest.php | 130 +++ .../tests/Monolog/Handler/BufferHandlerTest.php | 158 +++ .../tests/Monolog/Handler/ChromePHPHandlerTest.php | 141 +++ .../tests/Monolog/Handler/CouchDBHandlerTest.php | 41 + .../Monolog/Handler/DoctrineCouchDBHandlerTest.php | 52 + .../tests/Monolog/Handler/DynamoDbHandlerTest.php | 73 ++ .../Monolog/Handler/ElasticSearchHandlerTest.php | 239 ++++ .../tests/Monolog/Handler/ErrorLogHandlerTest.php | 66 ++ .../tests/Monolog/Handler/FilterHandlerTest.php | 170 +++ .../Monolog/Handler/FingersCrossedHandlerTest.php | 240 ++++ .../tests/Monolog/Handler/FirePHPHandlerTest.php | 96 ++ .../tests/Monolog/Handler/FleepHookHandlerTest.php | 85 ++ .../tests/Monolog/Handler/FlowdockHandlerTest.php | 88 ++ .../Monolog/Handler/GelfHandlerLegacyTest.php | 93 ++ .../tests/Monolog/Handler/GelfHandlerTest.php | 117 ++ .../tests/Monolog/Handler/GroupHandlerTest.php | 89 ++ .../tests/Monolog/Handler/HipChatHandlerTest.php | 166 +++ .../Monolog/Handler/LogEntriesHandlerTest.php | 84 ++ .../tests/Monolog/Handler/MailHandlerTest.php | 75 ++ .../tests/Monolog/Handler/MockRavenClient.php | 26 + .../tests/Monolog/Handler/MongoDBHandlerTest.php | 65 ++ .../Monolog/Handler/NativeMailerHandlerTest.php | 61 ++ .../tests/Monolog/Handler/NewRelicHandlerTest.php | 192 ++++ .../tests/Monolog/Handler/NullHandlerTest.php | 33 + .../tests/Monolog/Handler/PsrHandlerTest.php | 50 + .../tests/Monolog/Handler/PushoverHandlerTest.php | 141 +++ .../tests/Monolog/Handler/RavenHandlerTest.php | 150 +++ .../tests/Monolog/Handler/RedisHandlerTest.php | 71 ++ .../Monolog/Handler/RotatingFileHandlerTest.php | 99 ++ .../tests/Monolog/Handler/SamplingHandlerTest.php | 33 + .../tests/Monolog/Handler/SlackHandlerTest.php | 133 +++ .../tests/Monolog/Handler/SocketHandlerTest.php | 282 +++++ .../tests/Monolog/Handler/StreamHandlerTest.php | 118 ++ .../tests/Monolog/Handler/SyslogHandlerTest.php | 44 + .../tests/Monolog/Handler/SyslogUdpHandlerTest.php | 49 + .../tests/Monolog/Handler/TestHandlerTest.php | 56 + .../tests/Monolog/Handler/UdpSocketTest.php | 46 + .../Handler/WhatFailureGroupHandlerTest.php | 121 ++ .../Monolog/Handler/ZendMonitorHandlerTest.php | 69 ++ .../monolog/monolog/tests/Monolog/LoggerTest.php | 409 +++++++ .../tests/Monolog/Processor/GitProcessorTest.php | 29 + .../Processor/IntrospectionProcessorTest.php | 123 +++ .../Processor/MemoryPeakUsageProcessorTest.php | 42 + .../Monolog/Processor/MemoryUsageProcessorTest.php | 42 + .../Monolog/Processor/ProcessIdProcessorTest.php | 30 + .../Processor/PsrLogMessageProcessorTest.php | 43 + .../tests/Monolog/Processor/TagProcessorTest.php | 29 + .../tests/Monolog/Processor/UidProcessorTest.php | 27 + .../tests/Monolog/Processor/WebProcessorTest.php | 98 ++ .../monolog/tests/Monolog/PsrLogCompatTest.php | 47 + vendor/monolog/monolog/tests/Monolog/TestCase.php | 58 + vendor/monolog/monolog/tests/bootstrap.php | 15 + vendor/oojs/oojs-ui/.mailmap | 18 - vendor/psr/log/Psr/Log/LoggerAwareTrait.php | 22 - vendor/psr/log/Psr/Log/LoggerTrait.php | 131 --- vendor/ruflin/elastica/LICENSE.txt | 21 + vendor/ruflin/elastica/README.markdown | 29 + vendor/ruflin/elastica/Vagrantfile | 14 + vendor/ruflin/elastica/build.xml | 232 ++++ vendor/ruflin/elastica/changes.txt | 797 ++++++++++++++ vendor/ruflin/elastica/composer.json | 40 + .../elastica/lib/Elastica/AbstractUpdateAction.php | 544 +++++++++ .../Elastica/Aggregation/AbstractAggregation.php | 88 ++ .../Aggregation/AbstractSimpleAggregation.php | 33 + .../elastica/lib/Elastica/Aggregation/Avg.php | 14 + .../lib/Elastica/Aggregation/Cardinality.php | 14 + .../lib/Elastica/Aggregation/DateHistogram.php | 82 ++ .../lib/Elastica/Aggregation/DateRange.php | 21 + .../lib/Elastica/Aggregation/ExtendedStats.php | 13 + .../elastica/lib/Elastica/Aggregation/Filter.php | 41 + .../lib/Elastica/Aggregation/GeoDistance.php | 90 ++ .../lib/Elastica/Aggregation/GeohashGrid.php | 61 ++ .../lib/Elastica/Aggregation/GlobalAggregation.php | 13 + .../lib/Elastica/Aggregation/Histogram.php | 55 + .../elastica/lib/Elastica/Aggregation/IpRange.php | 66 ++ .../elastica/lib/Elastica/Aggregation/Max.php | 13 + .../elastica/lib/Elastica/Aggregation/Min.php | 13 + .../elastica/lib/Elastica/Aggregation/Missing.php | 31 + .../elastica/lib/Elastica/Aggregation/Nested.php | 31 + .../elastica/lib/Elastica/Aggregation/Range.php | 45 + .../lib/Elastica/Aggregation/ReverseNested.php | 50 + .../elastica/lib/Elastica/Aggregation/Stats.php | 13 + .../elastica/lib/Elastica/Aggregation/Sum.php | 13 + .../elastica/lib/Elastica/Aggregation/Terms.php | 97 ++ .../lib/Elastica/Aggregation/ValueCount.php | 31 + vendor/ruflin/elastica/lib/Elastica/Bulk.php | 423 +++++++ .../ruflin/elastica/lib/Elastica/Bulk/Action.php | 219 ++++ .../lib/Elastica/Bulk/Action/AbstractDocument.php | 162 +++ .../lib/Elastica/Bulk/Action/CreateDocument.php | 11 + .../lib/Elastica/Bulk/Action/DeleteDocument.php | 33 + .../lib/Elastica/Bulk/Action/IndexDocument.php | 52 + .../lib/Elastica/Bulk/Action/UpdateDocument.php | 69 ++ .../ruflin/elastica/lib/Elastica/Bulk/Response.php | 47 + .../elastica/lib/Elastica/Bulk/ResponseSet.php | 142 +++ vendor/ruflin/elastica/lib/Elastica/Client.php | 691 ++++++++++++ vendor/ruflin/elastica/lib/Elastica/Cluster.php | 181 +++ .../elastica/lib/Elastica/Cluster/Health.php | 189 ++++ .../elastica/lib/Elastica/Cluster/Health/Index.php | 142 +++ .../elastica/lib/Elastica/Cluster/Health/Shard.php | 107 ++ .../elastica/lib/Elastica/Cluster/Settings.php | 197 ++++ vendor/ruflin/elastica/lib/Elastica/Connection.php | 274 +++++ vendor/ruflin/elastica/lib/Elastica/Document.php | 334 ++++++ .../Exception/Bulk/Response/ActionException.php | 66 ++ .../Elastica/Exception/Bulk/ResponseException.php | 103 ++ .../lib/Elastica/Exception/Bulk/UdpException.php | 9 + .../lib/Elastica/Exception/BulkException.php | 7 + .../lib/Elastica/Exception/ClientException.php | 14 + .../Exception/Connection/GuzzleException.php | 51 + .../Exception/Connection/HttpException.php | 88 ++ .../Exception/Connection/ThriftException.php | 51 + .../lib/Elastica/Exception/ConnectionException.php | 65 ++ .../Elastica/Exception/ElasticsearchException.php | 99 ++ .../lib/Elastica/Exception/ExceptionInterface.php | 14 + .../lib/Elastica/Exception/InvalidException.php | 14 + .../lib/Elastica/Exception/JSONParseException.php | 12 + .../lib/Elastica/Exception/NotFoundException.php | 14 + .../Elastica/Exception/NotImplementedException.php | 16 + .../Exception/PartialShardFailureException.php | 33 + .../lib/Elastica/Exception/ResponseException.php | 76 ++ .../lib/Elastica/Exception/RuntimeException.php | 14 + .../elastica/lib/Elastica/Facet/AbstractFacet.php | 141 +++ .../elastica/lib/Elastica/Facet/DateHistogram.php | 44 + .../ruflin/elastica/lib/Elastica/Facet/Filter.php | 27 + .../elastica/lib/Elastica/Facet/GeoCluster.php | 54 + .../elastica/lib/Elastica/Facet/GeoDistance.php | 66 ++ .../elastica/lib/Elastica/Facet/Histogram.php | 90 ++ .../ruflin/elastica/lib/Elastica/Facet/Query.php | 27 + .../ruflin/elastica/lib/Elastica/Facet/Range.php | 138 +++ .../elastica/lib/Elastica/Facet/Statistical.php | 61 ++ .../ruflin/elastica/lib/Elastica/Facet/Terms.php | 129 +++ .../elastica/lib/Elastica/Facet/TermsStats.php | 103 ++ .../lib/Elastica/Filter/AbstractFilter.php | 57 + .../lib/Elastica/Filter/AbstractGeoDistance.php | 190 ++++ .../lib/Elastica/Filter/AbstractGeoShape.php | 50 + .../elastica/lib/Elastica/Filter/AbstractMulti.php | 77 ++ .../ruflin/elastica/lib/Elastica/Filter/Bool.php | 146 +++ .../elastica/lib/Elastica/Filter/BoolAnd.php | 22 + .../elastica/lib/Elastica/Filter/BoolNot.php | 43 + .../ruflin/elastica/lib/Elastica/Filter/BoolOr.php | 22 + .../ruflin/elastica/lib/Elastica/Filter/Exists.php | 35 + .../lib/Elastica/Filter/GeoBoundingBox.php | 49 + .../elastica/lib/Elastica/Filter/GeoDistance.php | 73 ++ .../lib/Elastica/Filter/GeoDistanceRange.php | 101 ++ .../elastica/lib/Elastica/Filter/GeoPolygon.php | 59 + .../lib/Elastica/Filter/GeoShapePreIndexed.php | 85 ++ .../lib/Elastica/Filter/GeoShapeProvided.php | 74 ++ .../elastica/lib/Elastica/Filter/GeohashCell.php | 45 + .../elastica/lib/Elastica/Filter/HasChild.php | 78 ++ .../elastica/lib/Elastica/Filter/HasParent.php | 77 ++ vendor/ruflin/elastica/lib/Elastica/Filter/Ids.php | 92 ++ .../elastica/lib/Elastica/Filter/Indices.php | 51 + .../ruflin/elastica/lib/Elastica/Filter/Limit.php | 36 + .../elastica/lib/Elastica/Filter/MatchAll.php | 22 + .../elastica/lib/Elastica/Filter/Missing.php | 37 + .../ruflin/elastica/lib/Elastica/Filter/Nested.php | 60 + .../elastica/lib/Elastica/Filter/NumericRange.php | 15 + .../ruflin/elastica/lib/Elastica/Filter/Prefix.php | 79 ++ .../ruflin/elastica/lib/Elastica/Filter/Query.php | 90 ++ .../ruflin/elastica/lib/Elastica/Filter/Range.php | 61 ++ .../ruflin/elastica/lib/Elastica/Filter/Regexp.php | 80 ++ .../ruflin/elastica/lib/Elastica/Filter/Script.php | 49 + .../ruflin/elastica/lib/Elastica/Filter/Term.php | 47 + .../ruflin/elastica/lib/Elastica/Filter/Terms.php | 132 +++ .../ruflin/elastica/lib/Elastica/Filter/Type.php | 60 + vendor/ruflin/elastica/lib/Elastica/Index.php | 462 ++++++++ .../elastica/lib/Elastica/Index/Settings.php | 318 ++++++ .../ruflin/elastica/lib/Elastica/Index/Stats.php | 109 ++ .../ruflin/elastica/lib/Elastica/Index/Status.php | 144 +++ vendor/ruflin/elastica/lib/Elastica/JSON.php | 67 ++ vendor/ruflin/elastica/lib/Elastica/Log.php | 84 ++ .../elastica/lib/Elastica/Multi/ResultSet.php | 208 ++++ .../ruflin/elastica/lib/Elastica/Multi/Search.php | 198 ++++ vendor/ruflin/elastica/lib/Elastica/Node.php | 130 +++ vendor/ruflin/elastica/lib/Elastica/Node/Info.php | 196 ++++ vendor/ruflin/elastica/lib/Elastica/Node/Stats.php | 115 ++ vendor/ruflin/elastica/lib/Elastica/Param.php | 162 +++ vendor/ruflin/elastica/lib/Elastica/Percolator.php | 132 +++ vendor/ruflin/elastica/lib/Elastica/Query.php | 420 +++++++ .../elastica/lib/Elastica/Query/AbstractQuery.php | 15 + vendor/ruflin/elastica/lib/Elastica/Query/Bool.php | 92 ++ .../elastica/lib/Elastica/Query/Boosting.php | 44 + .../ruflin/elastica/lib/Elastica/Query/Builder.php | 933 ++++++++++++++++ .../ruflin/elastica/lib/Elastica/Query/Common.php | 150 +++ .../elastica/lib/Elastica/Query/ConstantScore.php | 68 ++ .../ruflin/elastica/lib/Elastica/Query/DisMax.php | 59 + .../elastica/lib/Elastica/Query/Filtered.php | 95 ++ .../elastica/lib/Elastica/Query/FunctionScore.php | 201 ++++ .../ruflin/elastica/lib/Elastica/Query/Fuzzy.php | 84 ++ .../elastica/lib/Elastica/Query/FuzzyLikeThis.php | 215 ++++ .../elastica/lib/Elastica/Query/HasChild.php | 63 ++ .../elastica/lib/Elastica/Query/HasParent.php | 62 ++ vendor/ruflin/elastica/lib/Elastica/Query/Ids.php | 117 ++ .../ruflin/elastica/lib/Elastica/Query/Match.php | 198 ++++ .../elastica/lib/Elastica/Query/MatchAll.php | 22 + .../elastica/lib/Elastica/Query/MoreLikeThis.php | 162 +++ .../elastica/lib/Elastica/Query/MultiMatch.php | 180 +++ .../ruflin/elastica/lib/Elastica/Query/Nested.php | 47 + .../ruflin/elastica/lib/Elastica/Query/Prefix.php | 48 + .../elastica/lib/Elastica/Query/QueryString.php | 267 +++++ .../ruflin/elastica/lib/Elastica/Query/Range.php | 39 + .../ruflin/elastica/lib/Elastica/Query/Simple.php | 55 + .../lib/Elastica/Query/SimpleQueryString.php | 65 ++ vendor/ruflin/elastica/lib/Elastica/Query/Term.php | 49 + .../ruflin/elastica/lib/Elastica/Query/Terms.php | 103 ++ .../elastica/lib/Elastica/Query/TopChildren.php | 52 + .../elastica/lib/Elastica/Query/Wildcard.php | 41 + vendor/ruflin/elastica/lib/Elastica/Request.php | 200 ++++ .../lib/Elastica/Rescore/AbstractRescore.php | 36 + .../ruflin/elastica/lib/Elastica/Rescore/Query.php | 90 ++ vendor/ruflin/elastica/lib/Elastica/Response.php | 299 +++++ vendor/ruflin/elastica/lib/Elastica/Result.php | 216 ++++ vendor/ruflin/elastica/lib/Elastica/ResultSet.php | 383 +++++++ .../ruflin/elastica/lib/Elastica/ScanAndScroll.php | 150 +++ vendor/ruflin/elastica/lib/Elastica/Script.php | 148 +++ .../ruflin/elastica/lib/Elastica/ScriptFields.php | 63 ++ vendor/ruflin/elastica/lib/Elastica/Search.php | 514 +++++++++ .../elastica/lib/Elastica/SearchableInterface.php | 52 + vendor/ruflin/elastica/lib/Elastica/Snapshot.php | 155 +++ vendor/ruflin/elastica/lib/Elastica/Status.php | 179 +++ vendor/ruflin/elastica/lib/Elastica/Suggest.php | 62 ++ .../lib/Elastica/Suggest/AbstractSuggest.php | 92 ++ .../AbstractCandidateGenerator.php | 11 + .../Suggest/CandidateGenerator/DirectGenerator.php | 127 +++ .../elastica/lib/Elastica/Suggest/Phrase.php | 148 +++ .../ruflin/elastica/lib/Elastica/Suggest/Term.php | 115 ++ .../lib/Elastica/Transport/AbstractTransport.php | 109 ++ .../elastica/lib/Elastica/Transport/Guzzle.php | 179 +++ .../elastica/lib/Elastica/Transport/Http.php | 188 ++++ .../elastica/lib/Elastica/Transport/Https.php | 30 + .../elastica/lib/Elastica/Transport/Memcache.php | 82 ++ .../elastica/lib/Elastica/Transport/Null.php | 44 + .../elastica/lib/Elastica/Transport/Thrift.php | 173 +++ vendor/ruflin/elastica/lib/Elastica/Type.php | 537 +++++++++ .../elastica/lib/Elastica/Type/AbstractType.php | 200 ++++ .../ruflin/elastica/lib/Elastica/Type/Mapping.php | 280 +++++ vendor/ruflin/elastica/lib/Elastica/Util.php | 171 +++ vendor/ruflin/elastica/phpdoc.dist.xml | 13 + .../test/benchmark/BulkMemoryUsageTest.php | 46 + .../ruflin/elastica/test/benchmark/ClientTest.php | 31 + .../elastica/test/benchmark/TransportTest.php | 252 +++++ .../elastica/test/benchmark/phpunit.benchmark.xml | 10 + .../elastica/test/benchmark/phpunit.xhprof.xml | 39 + .../elastica/test/bin/install_php_memcache.sh | 8 + .../ruflin/elastica/test/bin/run_elasticsearch.sh | 56 + vendor/ruflin/elastica/test/bin/run_proxy.sh | 15 + vendor/ruflin/elastica/test/bin/show_logs.sh | 3 + vendor/ruflin/elastica/test/bootstrap.php | 5 + vendor/ruflin/elastica/test/data/test.doc | Bin 0 -> 22016 bytes vendor/ruflin/elastica/test/data/test.docx | Bin 0 -> 25890 bytes vendor/ruflin/elastica/test/data/test.pdf | Bin 0 -> 16107 bytes vendor/ruflin/elastica/test/data/test.txt | 1 + .../test/lib/Elastica/Test/Aggregation/AvgTest.php | 38 + .../Test/Aggregation/BaseAggregationTest.php | 28 + .../Elastica/Test/Aggregation/CardinalityTest.php | 38 + .../Test/Aggregation/DateHistogramTest.php | 43 + .../Elastica/Test/Aggregation/DateRangeTest.php | 51 + .../Test/Aggregation/ExtendedStatsTest.php | 43 + .../lib/Elastica/Test/Aggregation/FilterTest.php | 78 ++ .../Elastica/Test/Aggregation/GeoDistanceTest.php | 45 + .../Elastica/Test/Aggregation/GeohashGridTest.php | 45 + .../Test/Aggregation/GlobalAggregationTest.php | 27 + .../Elastica/Test/Aggregation/HistogramTest.php | 45 + .../lib/Elastica/Test/Aggregation/IpRangeTest.php | 56 + .../test/lib/Elastica/Test/Aggregation/MaxTest.php | 72 ++ .../test/lib/Elastica/Test/Aggregation/MinTest.php | 38 + .../lib/Elastica/Test/Aggregation/MissingTest.php | 37 + .../lib/Elastica/Test/Aggregation/NestedTest.php | 62 ++ .../lib/Elastica/Test/Aggregation/RangeTest.php | 41 + .../Test/Aggregation/ReverseNestedTest.php | 124 +++ .../lib/Elastica/Test/Aggregation/StatsTest.php | 42 + .../test/lib/Elastica/Test/Aggregation/SumTest.php | 38 + .../lib/Elastica/Test/Aggregation/TermsTest.php | 39 + .../Elastica/Test/Aggregation/ValueCountTest.php | 38 + .../elastica/test/lib/Elastica/Test/Base.php | 31 + .../test/lib/Elastica/Test/Bulk/ActionTest.php | 69 ++ .../lib/Elastica/Test/Bulk/ResponseSetTest.php | 188 ++++ .../elastica/test/lib/Elastica/Test/BulkTest.php | 711 ++++++++++++ .../elastica/test/lib/Elastica/Test/ClientTest.php | 1008 +++++++++++++++++ .../lib/Elastica/Test/Cluster/Health/IndexTest.php | 113 ++ .../lib/Elastica/Test/Cluster/Health/ShardTest.php | 63 ++ .../test/lib/Elastica/Test/Cluster/HealthTest.php | 113 ++ .../lib/Elastica/Test/Cluster/SettingsTest.php | 110 ++ .../test/lib/Elastica/Test/ClusterTest.php | 89 ++ .../test/lib/Elastica/Test/ConnectionTest.php | 103 ++ .../test/lib/Elastica/Test/DocumentTest.php | 309 ++++++ .../test/lib/Elastica/Test/ExampleTest.php | 58 + .../Elastica/Test/Exception/NotImplementedTest.php | 23 + .../Exception/PartialShardFailureExceptionTest.php | 55 + .../Test/Exception/ResponseExceptionTest.php | 60 + .../lib/Elastica/Test/Facet/DateHistogramTest.php | 59 + .../test/lib/Elastica/Test/Facet/FilterTest.php | 40 + .../lib/Elastica/Test/Facet/GeoClusterTest.php | 49 + .../test/lib/Elastica/Test/Facet/QueryTest.php | 40 + .../lib/Elastica/Test/Facet/StatisticalTest.php | 82 ++ .../lib/Elastica/Test/Facet/TermsStatsTest.php | 105 ++ .../test/lib/Elastica/Test/Facet/TermsTest.php | 69 ++ .../test/lib/Elastica/Test/Filter/AbstractTest.php | 69 ++ .../test/lib/Elastica/Test/Filter/BoolAndTest.php | 65 ++ .../test/lib/Elastica/Test/Filter/BoolNotTest.php | 25 + .../test/lib/Elastica/Test/Filter/BoolOrTest.php | 42 + .../test/lib/Elastica/Test/Filter/BoolTest.php | 107 ++ .../test/lib/Elastica/Test/Filter/ExistsTests.php | 31 + .../Elastica/Test/Filter/GeoDistanceRangeTest.php | 218 ++++ .../lib/Elastica/Test/Filter/GeoDistanceTest.php | 129 +++ .../lib/Elastica/Test/Filter/GeoPolygonTest.php | 65 ++ .../Test/Filter/GeoShapePreIndexedTest.php | 90 ++ .../Elastica/Test/Filter/GeoShapeProvidedTest.php | 88 ++ .../lib/Elastica/Test/Filter/GeohashCellTest.php | 60 + .../test/lib/Elastica/Test/Filter/HasChildTest.php | 166 +++ .../lib/Elastica/Test/Filter/HasParentTest.php | 139 +++ .../test/lib/Elastica/Test/Filter/IdsTest.php | 201 ++++ .../test/lib/Elastica/Test/Filter/IndicesTest.php | 93 ++ .../test/lib/Elastica/Test/Filter/MatchAllTest.php | 18 + .../test/lib/Elastica/Test/Filter/MultiTest.php | 95 ++ .../Test/Filter/NestedFilterWithSetFilterTest.php | 121 ++ .../test/lib/Elastica/Test/Filter/NestedTest.php | 121 ++ .../lib/Elastica/Test/Filter/NumericRangeTest.php | 32 + .../test/lib/Elastica/Test/Filter/PrefixTest.php | 149 +++ .../test/lib/Elastica/Test/Filter/QueryTest.php | 46 + .../test/lib/Elastica/Test/Filter/RangeTest.php | 32 + .../test/lib/Elastica/Test/Filter/RegexpTest.php | 137 +++ .../test/lib/Elastica/Test/Filter/ScriptTest.php | 52 + .../test/lib/Elastica/Test/Filter/TermTest.php | 23 + .../test/lib/Elastica/Test/Filter/TermsTest.php | 54 + .../test/lib/Elastica/Test/Filter/TypeTest.php | 27 + .../test/lib/Elastica/Test/Index/SettingsTest.php | 300 +++++ .../test/lib/Elastica/Test/Index/StatsTest.php | 23 + .../test/lib/Elastica/Test/Index/StatusTest.php | 66 ++ .../elastica/test/lib/Elastica/Test/IndexTest.php | 696 ++++++++++++ .../elastica/test/lib/Elastica/Test/LogTest.php | 153 +++ .../test/lib/Elastica/Test/Multi/SearchTest.php | 549 ++++++++++ .../test/lib/Elastica/Test/Node/InfoTest.php | 42 + .../elastica/test/lib/Elastica/Test/NodeTest.php | 84 ++ .../elastica/test/lib/Elastica/Test/ParamTest.php | 97 ++ .../test/lib/Elastica/Test/PercolatorTest.php | 224 ++++ .../test/lib/Elastica/Test/Query/BoolTest.php | 114 ++ .../test/lib/Elastica/Test/Query/BoostingTest.php | 99 ++ .../test/lib/Elastica/Test/Query/BuilderTest.php | 270 +++++ .../test/lib/Elastica/Test/Query/CommonTest.php | 59 + .../lib/Elastica/Test/Query/ConstantScoreTest.php | 158 +++ .../test/lib/Elastica/Test/Query/DisMaxTest.php | 83 ++ .../test/lib/Elastica/Test/Query/FilteredTest.php | 112 ++ .../lib/Elastica/Test/Query/FunctionScoreTest.php | 210 ++++ .../lib/Elastica/Test/Query/FuzzyLikeThisTest.php | 228 ++++ .../test/lib/Elastica/Test/Query/FuzzyTest.php | 129 +++ .../test/lib/Elastica/Test/Query/HasChildTest.php | 107 ++ .../test/lib/Elastica/Test/Query/HasParentTest.php | 50 + .../test/lib/Elastica/Test/Query/HighlightTest.php | 49 + .../test/lib/Elastica/Test/Query/IdsTest.php | 165 +++ .../test/lib/Elastica/Test/Query/MatchAllTest.php | 44 + .../test/lib/Elastica/Test/Query/MatchTest.php | 187 ++++ .../lib/Elastica/Test/Query/MoreLikeThisTest.php | 176 +++ .../lib/Elastica/Test/Query/MultiMatchTest.php | 187 ++++ .../test/lib/Elastica/Test/Query/NestedTest.php | 28 + .../lib/Elastica/Test/Query/PostFilterTest.php | 83 ++ .../test/lib/Elastica/Test/Query/PrefixTest.php | 26 + .../lib/Elastica/Test/Query/QueryStringTest.php | 126 +++ .../test/lib/Elastica/Test/Query/RangeTest.php | 73 ++ .../test/lib/Elastica/Test/Query/RescoreTest.php | 165 +++ .../Elastica/Test/Query/SimpleQueryStringTest.php | 73 ++ .../test/lib/Elastica/Test/Query/SimpleTest.php | 17 + .../test/lib/Elastica/Test/Query/TermTest.php | 26 + .../test/lib/Elastica/Test/Query/TermsTest.php | 62 ++ .../test/lib/Elastica/Test/Query/WildcardTest.php | 101 ++ .../elastica/test/lib/Elastica/Test/QueryTest.php | 194 ++++ .../test/lib/Elastica/Test/RequestTest.php | 87 ++ .../test/lib/Elastica/Test/ResponseTest.php | 94 ++ .../test/lib/Elastica/Test/ResultSetTest.php | 93 ++ .../elastica/test/lib/Elastica/Test/ResultTest.php | 121 ++ .../test/lib/Elastica/Test/ScanAndScrollTest.php | 115 ++ .../test/lib/Elastica/Test/ScriptFieldsTest.php | 95 ++ .../elastica/test/lib/Elastica/Test/ScriptTest.php | 129 +++ .../elastica/test/lib/Elastica/Test/SearchTest.php | 500 +++++++++ .../test/lib/Elastica/Test/SnapshotTest.php | 112 ++ .../elastica/test/lib/Elastica/Test/StatusTest.php | 116 ++ .../test/lib/Elastica/Test/Suggest/PhraseTest.php | 85 ++ .../test/lib/Elastica/Test/Suggest/TermTest.php | 104 ++ .../Test/Transport/AbstractTransportTest.php | 77 ++ .../lib/Elastica/Test/Transport/GuzzleTest.php | 163 +++ .../test/lib/Elastica/Test/Transport/HttpTest.php | 227 ++++ .../lib/Elastica/Test/Transport/MemcacheTest.php | 51 + .../test/lib/Elastica/Test/Transport/NullTest.php | 59 + .../lib/Elastica/Test/Transport/ThriftTest.php | 132 +++ .../test/lib/Elastica/Test/Type/MappingTest.php | 304 ++++++ .../elastica/test/lib/Elastica/Test/TypeTest.php | 823 ++++++++++++++ .../elastica/test/lib/Elastica/Test/UtilTest.php | 77 ++ vendor/ruflin/elastica/test/nginx/nginx.conf | 24 + vendor/ruflin/elastica/test/phpunit.xml.dist | 32 + vendor/zordius/lightncandy/build/gen_doc | 6 - vendor/zordius/lightncandy/build/gen_test.php | 64 -- vendor/zordius/lightncandy/build/push_ghpage | 12 - vendor/zordius/lightncandy/build/runphp | 2 - vendor/zordius/lightncandy/build/travis_push | 60 - 865 files changed, 56068 insertions(+), 4102 deletions(-) delete mode 100644 composer.lock delete mode 100644 extensions/ConfirmEdit/ApiFancyCaptchaReload.php create mode 100644 extensions/ConfirmEdit/FancyCaptcha/ApiFancyCaptchaReload.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/aliased.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/cssgen.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/cssgen2.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/example.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/langcheck.php delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/contrib/langwiz.php create mode 100644 resources/assets/file-type-icons/fileicon-djvu.xcf create mode 100644 resources/assets/file-type-icons/fileicon-ogg.xcf create mode 100644 tests/phpunit/data/media/80x60-2layers.xcf create mode 100644 tests/phpunit/data/media/80x60-Greyscale.xcf create mode 100644 tests/phpunit/data/media/80x60-RGB.xcf create mode 100644 vendor/README.md create mode 100644 vendor/composer.json create mode 100644 vendor/composer.lock create mode 100644 vendor/monolog/monolog/CHANGELOG.mdown create mode 100644 vendor/monolog/monolog/LICENSE create mode 100644 vendor/monolog/monolog/README.mdown create mode 100644 vendor/monolog/monolog/composer.json create mode 100644 vendor/monolog/monolog/doc/extending.md create mode 100644 vendor/monolog/monolog/doc/sockets.md create mode 100644 vendor/monolog/monolog/doc/usage.md create mode 100644 vendor/monolog/monolog/phpunit.xml.dist create mode 100644 vendor/monolog/monolog/src/Monolog/ErrorHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/LineFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/AmqpHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/BufferHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/CubeHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FilterHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/GelfHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/GroupHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/HandlerInterface.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/HipChatHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/LogglyHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/MailHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/MandrillHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/NullHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/PsrHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/PushoverHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/RavenHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/RedisHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/RollbarHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SamplingHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SlackHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SocketHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SyslogHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/TestHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php create mode 100644 vendor/monolog/monolog/src/Monolog/Logger.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/GitProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/TagProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/UidProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Processor/WebProcessor.php create mode 100644 vendor/monolog/monolog/src/Monolog/Registry.php create mode 100644 vendor/monolog/monolog/tests/Monolog/ErrorHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/ChromePHPFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/ElasticaFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/GelfMessageFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/JsonFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/LineFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/LogglyFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/LogstashFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/MongoDBFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/NormalizerFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/ScalarFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Formatter/WildfireFormatterTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Functional/Handler/FirePHPHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/AbstractHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/AbstractProcessingHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/AmqpHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/BrowserConsoleHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/BufferHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/ChromePHPHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/CouchDBHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/DoctrineCouchDBHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/DynamoDbHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/ElasticSearchHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/ErrorLogHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/FilterHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/FingersCrossedHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/FirePHPHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/FleepHookHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/FlowdockHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/GelfHandlerLegacyTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/GelfHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/GroupHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/HipChatHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/LogEntriesHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/MailHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/MockRavenClient.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/MongoDBHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/NativeMailerHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/NullHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/PsrHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/PushoverHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/RavenHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/RedisHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/RotatingFileHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/SamplingHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/SlackHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/SocketHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/StreamHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/SyslogHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/SyslogUdpHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/TestHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/UdpSocketTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/WhatFailureGroupHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Handler/ZendMonitorHandlerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/LoggerTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/GitProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/IntrospectionProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/MemoryPeakUsageProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/MemoryUsageProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/ProcessIdProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/PsrLogMessageProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/TagProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/UidProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/Processor/WebProcessorTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/PsrLogCompatTest.php create mode 100644 vendor/monolog/monolog/tests/Monolog/TestCase.php create mode 100644 vendor/monolog/monolog/tests/bootstrap.php delete mode 100644 vendor/oojs/oojs-ui/.mailmap delete mode 100644 vendor/psr/log/Psr/Log/LoggerAwareTrait.php delete mode 100644 vendor/psr/log/Psr/Log/LoggerTrait.php create mode 100644 vendor/ruflin/elastica/LICENSE.txt create mode 100644 vendor/ruflin/elastica/README.markdown create mode 100644 vendor/ruflin/elastica/Vagrantfile create mode 100644 vendor/ruflin/elastica/build.xml create mode 100644 vendor/ruflin/elastica/changes.txt create mode 100644 vendor/ruflin/elastica/composer.json create mode 100644 vendor/ruflin/elastica/lib/Elastica/AbstractUpdateAction.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/AbstractAggregation.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/AbstractSimpleAggregation.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Avg.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Cardinality.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/DateHistogram.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/DateRange.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/ExtendedStats.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Filter.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/GeoDistance.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/GeohashGrid.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/GlobalAggregation.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Histogram.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/IpRange.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Max.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Min.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Missing.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Nested.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Range.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Stats.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Sum.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/Terms.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/ValueCount.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action/AbstractDocument.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action/CreateDocument.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action/DeleteDocument.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action/IndexDocument.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Action/UpdateDocument.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/Response.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Bulk/ResponseSet.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Client.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Cluster.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Cluster/Health.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Cluster/Health/Index.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Cluster/Health/Shard.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Cluster/Settings.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Connection.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Document.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Bulk/Response/ActionException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Bulk/ResponseException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Bulk/UdpException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/BulkException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/ClientException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Connection/GuzzleException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Connection/HttpException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/Connection/ThriftException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/ConnectionException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/ElasticsearchException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/ExceptionInterface.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/InvalidException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/JSONParseException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/NotFoundException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/NotImplementedException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/PartialShardFailureException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/ResponseException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Exception/RuntimeException.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/AbstractFacet.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/DateHistogram.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Filter.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/GeoCluster.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/GeoDistance.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Histogram.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Query.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Range.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Statistical.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/Terms.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Facet/TermsStats.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/AbstractFilter.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/AbstractGeoDistance.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/AbstractGeoShape.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/AbstractMulti.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Bool.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/BoolAnd.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/BoolNot.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/BoolOr.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Exists.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoBoundingBox.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoDistance.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoDistanceRange.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoPolygon.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoShapePreIndexed.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeoShapeProvided.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/HasChild.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/HasParent.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Ids.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Indices.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Limit.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/MatchAll.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Missing.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Nested.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/NumericRange.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Prefix.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Query.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Range.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Regexp.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Script.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Term.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Terms.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/Type.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Index.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Index/Settings.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Index/Stats.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Index/Status.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/JSON.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Log.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Multi/ResultSet.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Multi/Search.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Node.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Node/Info.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Node/Stats.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Param.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Percolator.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/AbstractQuery.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Bool.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Boosting.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Builder.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Common.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/ConstantScore.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/DisMax.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Filtered.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/FunctionScore.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Fuzzy.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/FuzzyLikeThis.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/HasChild.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/HasParent.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Ids.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Match.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/MatchAll.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/MoreLikeThis.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/MultiMatch.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Nested.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Prefix.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/QueryString.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Range.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Simple.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/SimpleQueryString.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Term.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Terms.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/TopChildren.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Query/Wildcard.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Request.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Rescore/AbstractRescore.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Rescore/Query.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Response.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Result.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/ResultSet.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/ScanAndScroll.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Script.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/ScriptFields.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Search.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/SearchableInterface.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Snapshot.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Status.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest/AbstractSuggest.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest/CandidateGenerator/AbstractCandidateGenerator.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest/CandidateGenerator/DirectGenerator.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest/Phrase.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Suggest/Term.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/AbstractTransport.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Guzzle.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Http.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Https.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Memcache.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Null.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Transport/Thrift.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Type.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Type/AbstractType.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Type/Mapping.php create mode 100644 vendor/ruflin/elastica/lib/Elastica/Util.php create mode 100644 vendor/ruflin/elastica/phpdoc.dist.xml create mode 100644 vendor/ruflin/elastica/test/benchmark/BulkMemoryUsageTest.php create mode 100644 vendor/ruflin/elastica/test/benchmark/ClientTest.php create mode 100644 vendor/ruflin/elastica/test/benchmark/TransportTest.php create mode 100644 vendor/ruflin/elastica/test/benchmark/phpunit.benchmark.xml create mode 100644 vendor/ruflin/elastica/test/benchmark/phpunit.xhprof.xml create mode 100644 vendor/ruflin/elastica/test/bin/install_php_memcache.sh create mode 100644 vendor/ruflin/elastica/test/bin/run_elasticsearch.sh create mode 100644 vendor/ruflin/elastica/test/bin/run_proxy.sh create mode 100644 vendor/ruflin/elastica/test/bin/show_logs.sh create mode 100644 vendor/ruflin/elastica/test/bootstrap.php create mode 100644 vendor/ruflin/elastica/test/data/test.doc create mode 100644 vendor/ruflin/elastica/test/data/test.docx create mode 100644 vendor/ruflin/elastica/test/data/test.pdf create mode 100644 vendor/ruflin/elastica/test/data/test.txt create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/AvgTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/BaseAggregationTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/CardinalityTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/DateHistogramTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/DateRangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/ExtendedStatsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/FilterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/GeoDistanceTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/GeohashGridTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/GlobalAggregationTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/HistogramTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/IpRangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/MaxTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/MinTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/MissingTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/NestedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/RangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/ReverseNestedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/StatsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/SumTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/TermsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Aggregation/ValueCountTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Base.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Bulk/ActionTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Bulk/ResponseSetTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/BulkTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ClientTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Cluster/Health/IndexTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Cluster/Health/ShardTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Cluster/HealthTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Cluster/SettingsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ClusterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ConnectionTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/DocumentTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ExampleTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Exception/NotImplementedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Exception/PartialShardFailureExceptionTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Exception/ResponseExceptionTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/DateHistogramTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/FilterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/GeoClusterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/QueryTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/StatisticalTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/TermsStatsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Facet/TermsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/AbstractTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/BoolAndTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/BoolNotTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/BoolOrTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/BoolTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/ExistsTests.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeoDistanceRangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeoDistanceTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeoPolygonTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeoShapePreIndexedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeoShapeProvidedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/GeohashCellTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/HasChildTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/HasParentTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/IdsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/IndicesTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/MatchAllTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/MultiTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/NestedFilterWithSetFilterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/NestedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/NumericRangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/PrefixTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/QueryTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/RangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/RegexpTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/ScriptTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/TermTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/TermsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Filter/TypeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Index/SettingsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Index/StatsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Index/StatusTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/IndexTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/LogTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Multi/SearchTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Node/InfoTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/NodeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ParamTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/PercolatorTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/BoolTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/BoostingTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/BuilderTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/CommonTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/ConstantScoreTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/DisMaxTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/FilteredTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/FunctionScoreTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/FuzzyLikeThisTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/FuzzyTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/HasChildTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/HasParentTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/HighlightTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/IdsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/MatchAllTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/MatchTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/MoreLikeThisTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/MultiMatchTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/NestedTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/PostFilterTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/PrefixTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/QueryStringTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/RangeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/RescoreTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/SimpleQueryStringTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/SimpleTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/TermTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/TermsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Query/WildcardTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/QueryTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/RequestTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ResponseTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ResultSetTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ResultTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ScanAndScrollTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ScriptFieldsTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/ScriptTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/SearchTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/SnapshotTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/StatusTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Suggest/PhraseTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Suggest/TermTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/AbstractTransportTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/GuzzleTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/HttpTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/MemcacheTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/NullTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Transport/ThriftTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/Type/MappingTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/TypeTest.php create mode 100644 vendor/ruflin/elastica/test/lib/Elastica/Test/UtilTest.php create mode 100644 vendor/ruflin/elastica/test/nginx/nginx.conf create mode 100644 vendor/ruflin/elastica/test/phpunit.xml.dist delete mode 100644 vendor/zordius/lightncandy/build/gen_doc delete mode 100644 vendor/zordius/lightncandy/build/gen_test.php delete mode 100644 vendor/zordius/lightncandy/build/push_ghpage delete mode 100644 vendor/zordius/lightncandy/build/runphp delete mode 100644 vendor/zordius/lightncandy/build/travis_push diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index 223cf97c..6d32a445 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -1,16 +1,41 @@ Security reminder: If you have PHP's register_globals option set, you must turn it off. MediaWiki will not work with it enabled. +== MediaWiki 1.25.2 == + +This is a security and maintenance release of the MediaWiki 1.25 branch. + +=== Changes since 1.25.1 === + +* (T94116) SECURITY: Compare API watchlist token in constant time +* (T97391) SECURITY: Escape error message strings in thumb.php +* (T106893) SECURITY: Don't leak autoblocked IP addresses on + Special:DeletedContributions +* (T102562) Fix InstantCommons parameters to handle the new HTTPS-only + policy of Wikimedia Commons. +* (T100767) Setting a configuration setting for skin or extension to + false in LocalSettings.php was not working. +* (T100635) API action=opensearch json output no longer breaks when + $wgDebugToolbar is enabled. +* (T102522) Using an extension.json or skin.json file which has + a "manifest_version" property for 1.26 compatability will no longer + trigger warnings. +* (T86156) Running updateSearchIndex.php will not throw an error as + page_restrictions has been added to the locked table list. +* Special:Version would throw notices if using SVN due to an incorrectly + named variable. Add an additional check that an index is defined. + == MediaWiki 1.25.1 == This is a bug fix release of the MediaWiki 1.25 branch. -== Changes since 1.25.1 == - +=== Changes since 1.25 === * (T100351) Fix syntax errors in extension.json of ConfirmEdit extension == MediaWiki 1.25 == +MediaWiki 1.25.x is the stable branch and is recommended for use in production. + === Configuration changes in 1.25 === * $wgPageShowWatchingUsers was removed. * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts. @@ -513,7 +538,6 @@ changes to languages because of Bugzilla reports. loadedScripts object, from wikibits.js (deprecated since 1.17) now emit warnings through mw.log.warn when accessed. - == Compatibility == MediaWiki 1.25 requires PHP 5.3.3 or later. There is experimental support for diff --git a/composer.lock b/composer.lock deleted file mode 100644 index be756552..00000000 --- a/composer.lock +++ /dev/null @@ -1,395 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", - "This file is @generated automatically" - ], - "hash": "0a4e1a6fe7b47b5659f5ebe278ab2f42", - "packages": [ - { - "name": "cssjanus/cssjanus", - "version": "v1.1.1", - "source": { - "type": "git", - "url": "https://github.com/cssjanus/php-cssjanus.git", - "reference": "62a9c32e6e140de09082b40a6e99d868ad14d4e0" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cssjanus/php-cssjanus/zipball/62a9c32e6e140de09082b40a6e99d868ad14d4e0", - "reference": "62a9c32e6e140de09082b40a6e99d868ad14d4e0", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "jakub-onderka/php-parallel-lint": "0.8.*", - "phpunit/phpunit": "3.7.*", - "squizlabs/php_codesniffer": "1.*" - }, - "type": "library", - "autoload": { - "psr-0": { - "": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "Apache-2.0" - ], - "description": "Convert CSS stylesheets between left-to-right and right-to-left.", - "time": "2014-11-14 20:00:50" - }, - { - "name": "leafo/lessphp", - "version": "v0.5.0", - "source": { - "type": "git", - "url": "https://github.com/leafo/lessphp.git", - "reference": "0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/leafo/lessphp/zipball/0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283", - "reference": "0f5a7f5545d2bcf4e9fad9a228c8ad89cc9aa283", - "shasum": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.4.x-dev" - } - }, - "autoload": { - "classmap": [ - "lessc.inc.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT", - "GPL-3.0" - ], - "authors": [ - { - "name": "Leaf Corcoran", - "email": "leafot@gmail.com", - "homepage": "http://leafo.net" - } - ], - "description": "lessphp is a compiler for LESS written in PHP.", - "homepage": "http://leafo.net/lessphp/", - "time": "2014-11-24 18:39:20" - }, - { - "name": "liuggio/statsd-php-client", - "version": "v1.0.12", - "source": { - "type": "git", - "url": "https://github.com/liuggio/statsd-php-client.git", - "reference": "a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/liuggio/statsd-php-client/zipball/a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7", - "reference": "a8c9ccd2a3af6cc49c7fc4f5f689d7b148ab19d7", - "shasum": "" - }, - "require": { - "php": ">=5.2" - }, - "require-dev": { - "monolog/monolog": ">=1.2.0" - }, - "suggest": { - "monolog/monolog": "Monolog, in order to do generate statistic from log >=1.2.0)" - }, - "type": "library", - "autoload": { - "psr-0": { - "Liuggio": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Giulio De Donato", - "email": "liuggio@gmail.com" - } - ], - "description": "Statsd (Object Oriented) client library for PHP", - "homepage": "https://github.com/liuggio/statsd-php-client/", - "keywords": [ - "etsy", - "monitoring", - "php", - "statsd" - ], - "time": "2014-09-17 21:37:49" - }, - { - "name": "oojs/oojs-ui", - "version": "v0.11.3", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/oojs-ui.git", - "reference": "a03de5681e28e4fad1e27f8cccab32a2c5b484e5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/oojs-ui/zipball/a03de5681e28e4fad1e27f8cccab32a2c5b484e5", - "reference": "a03de5681e28e4fad1e27f8cccab32a2c5b484e5", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "jakub-onderka/php-parallel-lint": "0.8.*", - "mediawiki/mediawiki-codesniffer": "0.1.0", - "squizlabs/php_codesniffer": "2.1.*" - }, - "type": "library", - "autoload": { - "classmap": [ - "php/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Provides library of common widgets, layouts, and windows.", - "homepage": "https://www.mediawiki.org/wiki/OOjs_UI", - "time": "2015-05-12 11:58:55" - }, - { - "name": "psr/log", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b", - "reference": "fe0936ee26643249e916849d48e3a51d5f5e278b", - "shasum": "" - }, - "type": "library", - "autoload": { - "psr-0": { - "Psr\\Log\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "time": "2012-12-21 11:40:51" - }, - { - "name": "wikimedia/cdb", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/cdb.git", - "reference": "3b7d5366c88eccf2517ebac57c59eb557c82f46c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/cdb/zipball/3b7d5366c88eccf2517ebac57c59eb557c82f46c", - "reference": "3b7d5366c88eccf2517ebac57c59eb557c82f46c", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "*" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0" - ], - "authors": [ - { - "name": "Tim Starling", - "email": "tstarling@wikimedia.org" - }, - { - "name": "Chad Horohoe", - "email": "chad@wikimedia.org" - } - ], - "description": "Constant Database (CDB) wrapper library for PHP. Provides pure-PHP fallback when dba_* functions are absent.", - "homepage": "https://www.mediawiki.org/wiki/CDB", - "time": "2014-12-08 19:26:44" - }, - { - "name": "wikimedia/composer-merge-plugin", - "version": "v1.0.0", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/composer-merge-plugin.git", - "reference": "ed426b785f9f786b33be4fd78584e43f4e962356" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/composer-merge-plugin/zipball/ed426b785f9f786b33be4fd78584e43f4e962356", - "reference": "ed426b785f9f786b33be4fd78584e43f4e962356", - "shasum": "" - }, - "require": { - "composer-plugin-api": "1.0.0", - "php": ">=5.3.2" - }, - "require-dev": { - "composer/composer": "1.0.*@dev", - "jakub-onderka/php-parallel-lint": "~0.8", - "phpspec/prophecy-phpunit": "~1.0", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.1.0" - }, - "type": "composer-plugin", - "extra": { - "class": "Wikimedia\\Composer\\MergePlugin" - }, - "autoload": { - "psr-4": { - "Wikimedia\\Composer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Composer plugin to merge multiple composer.json files", - "time": "2015-02-21 00:57:13" - }, - { - "name": "wikimedia/utfnormal", - "version": "v1.0.2", - "source": { - "type": "git", - "url": "https://github.com/wikimedia/utfnormal.git", - "reference": "bb892a53a76116ad0982445a849043687cb6e778" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/wikimedia/utfnormal/zipball/bb892a53a76116ad0982445a849043687cb6e778", - "reference": "bb892a53a76116ad0982445a849043687cb6e778", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "require-dev": { - "ext-mbstring": "*", - "jakub-onderka/php-parallel-lint": "0.8.*", - "mediawiki/mediawiki-codesniffer": "0.1.0", - "phpunit/phpunit": "4.4.*", - "squizlabs/php_codesniffer": "2.1.*" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "GPL-2.0+" - ], - "authors": [ - { - "name": "Brion Vibber", - "email": "bvibber@wikimedia.org" - } - ], - "homepage": "https://www.mediawiki.org/wiki/utfnormal", - "time": "2015-03-12 01:54:47" - }, - { - "name": "zordius/lightncandy", - "version": "v0.18", - "source": { - "type": "git", - "url": "https://github.com/zordius/lightncandy.git", - "reference": "24be6909c37391f4648ce1fdf19036b11bd56d05" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zordius/lightncandy/zipball/24be6909c37391f4648ce1fdf19036b11bd56d05", - "reference": "24be6909c37391f4648ce1fdf19036b11bd56d05", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "4.0.17" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/lightncandy.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Zordius Chen", - "email": "zordius@yahoo-inc.com" - } - ], - "description": "An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ).", - "homepage": "https://github.com/zordius/lightncandy", - "keywords": [ - "handlebars", - "logicless", - "mustache", - "php", - "template" - ], - "time": "2015-01-01 04:37:19" - } - ], - "packages-dev": null, - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": false, - "prefer-lowest": false, - "platform": { - "ext-iconv": "*", - "php": ">=5.3.3" - }, - "platform-dev": [] -} diff --git a/docs/hooks.txt b/docs/hooks.txt index 6f2050cc..e9c0e205 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1840,6 +1840,11 @@ $param: Associative Array with the following additional options: "<div ...>$1</div>"). - flags Integer display flags (NO_ACTION_LINK,NO_EXTRA_USER_LINKS) +'LogException': Called before an exception (or PHP error) is logged. This is meant for integration +with external error aggregation services; returning false will NOT prevent logging. +$e: The exception (in case of a plain old PHP error, a wrapping ErrorException) +$suppressed: true if the error was suppressed via error_reporting()/wfSuppressWarnings() + 'LoginAuthenticateAudit': A login attempt for a valid user account either succeeded or failed. No return data is accepted; this hook is for auditing only. $user: the User object being authenticated against diff --git a/extensions/ConfirmEdit/ApiFancyCaptchaReload.php b/extensions/ConfirmEdit/ApiFancyCaptchaReload.php deleted file mode 100644 index 8cd28631..00000000 --- a/extensions/ConfirmEdit/ApiFancyCaptchaReload.php +++ /dev/null @@ -1,46 +0,0 @@ -getCaptchaIndex(); - - $result = $this->getResult(); - $result->addValue( null, $this->getModuleName(), array ( 'index' => $captchaIndex ) ); - return true; - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getDescription() { - return 'Get a new FancyCaptcha.'; - } - - public function getAllowedParams() { - return array(); - } - - /** - * @deprecated since MediaWiki core 1.25 - */ - public function getExamples() { - return array( 'api.php?action=fancycaptchareload&format=xml' ); - } - - /** - * @see ApiBase::getExamplesMessages() - */ - protected function getExamplesMessages() { - return array( - 'action=fancycaptchareload' - => 'apihelp-fancycaptchareload-example-1', - ); - } -} diff --git a/extensions/ConfirmEdit/FancyCaptcha/ApiFancyCaptchaReload.php b/extensions/ConfirmEdit/FancyCaptcha/ApiFancyCaptchaReload.php new file mode 100644 index 00000000..8cd28631 --- /dev/null +++ b/extensions/ConfirmEdit/FancyCaptcha/ApiFancyCaptchaReload.php @@ -0,0 +1,46 @@ +getCaptchaIndex(); + + $result = $this->getResult(); + $result->addValue( null, $this->getModuleName(), array ( 'index' => $captchaIndex ) ); + return true; + } + + /** + * @deprecated since MediaWiki core 1.25 + */ + public function getDescription() { + return 'Get a new FancyCaptcha.'; + } + + public function getAllowedParams() { + return array(); + } + + /** + * @deprecated since MediaWiki core 1.25 + */ + public function getExamples() { + return array( 'api.php?action=fancycaptchareload&format=xml' ); + } + + /** + * @see ApiBase::getExamplesMessages() + */ + protected function getExamplesMessages() { + return array( + 'action=fancycaptchareload' + => 'apihelp-fancycaptchareload-example-1', + ); + } +} diff --git a/extensions/ConfirmEdit/FancyCaptcha/extension.json b/extensions/ConfirmEdit/FancyCaptcha/extension.json index 11b877be..dba07d9b 100644 --- a/extensions/ConfirmEdit/FancyCaptcha/extension.json +++ b/extensions/ConfirmEdit/FancyCaptcha/extension.json @@ -38,9 +38,7 @@ "localBasePath": "resources", "remoteExtPath": "ConfirmEdit/FancyCaptcha/resources" }, - "callback": [ - "ConfirmEditHooks::onFancyCaptchaSetup" - ], + "callback": "ConfirmEditHooks::onFancyCaptchaSetup", "config": { "CaptchaClass": "FancyCaptcha", "CaptchaFileBackend": "", diff --git a/extensions/ConfirmEdit/ReCaptcha/extension.json b/extensions/ConfirmEdit/ReCaptcha/extension.json index 5f97810a..79c90491 100644 --- a/extensions/ConfirmEdit/ReCaptcha/extension.json +++ b/extensions/ConfirmEdit/ReCaptcha/extension.json @@ -1,7 +1,7 @@ { "name": "ReCaptcha", "ExtensionFunctions": [ - "efReCaptcha" + "ConfirmEditHooks::efReCaptcha" ], "MessagesDirs": { "ReCaptcha": [ diff --git a/extensions/ConfirmEdit/includes/ConfirmEditHooks.php b/extensions/ConfirmEdit/includes/ConfirmEditHooks.php index 5f9c3384..41c990f1 100644 --- a/extensions/ConfirmEdit/includes/ConfirmEditHooks.php +++ b/extensions/ConfirmEdit/includes/ConfirmEditHooks.php @@ -139,11 +139,36 @@ class ConfirmEditHooks { $wgCaptchaDirectory = "$wgUploadDirectory/captcha"; } } + /** * Callback for extension.json of ReCaptcha to require the recaptcha library php file. * FIXME: This should be done in a better way, e.g. only load the libraray, if really needed. */ public static function onReCaptchaSetup() { - require_once( "ReCaptcha/recaptchalib.php" ); + require_once( __DIR__ . '/../ReCaptcha/recaptchalib.php' ); + } + + /** + * Extension function, moved from ReCaptcha.php when that was decimated. + * Make sure the keys are defined. + */ + public static function efReCaptcha() { + global $wgReCaptchaPublicKey, $wgReCaptchaPrivateKey; + global $recaptcha_public_key, $recaptcha_private_key; + global $wgServerName; + + // Backwards compatibility + if ( $wgReCaptchaPublicKey == '' ) { + $wgReCaptchaPublicKey = $recaptcha_public_key; + } + if ( $wgReCaptchaPrivateKey == '' ) { + $wgReCaptchaPrivateKey = $recaptcha_private_key; + } + + if ( $wgReCaptchaPublicKey == '' || $wgReCaptchaPrivateKey == '' ) { + die ( 'You need to set $wgReCaptchaPrivateKey and $wgReCaptchaPublicKey in LocalSettings.php to ' . + "use the reCAPTCHA plugin. You can sign up for a key here." ); + } } } diff --git a/extensions/SyntaxHighlight_GeSHi/geshi/contrib/aliased.php b/extensions/SyntaxHighlight_GeSHi/geshi/contrib/aliased.php deleted file mode 100644 index 0d4b2838..00000000 --- a/extensions/SyntaxHighlight_GeSHi/geshi/contrib/aliased.php +++ /dev/null @@ -1,122 +0,0 @@ - - * @version $Id$ - */ - -// Your config here -define("SOURCE_ROOT", "/var/www/your/source/root/"); - -// Assume you've put geshi in the include_path already -require_once("geshi.php"); - -// Get path info -$path = SOURCE_ROOT.$_SERVER['PATH_INFO']; - -// Check for dickheads trying to use '../' to get to sensitive areas -$base_path_len = strlen(SOURCE_ROOT); -$real_path = realpath($path); -if(strncmp($real_path, SOURCE_ROOT, $base_path_len)) { - exit("Access outside acceptable path."); -} - -// Check file exists -if(!file_exists($path)) { - exit("File not found ($path)."); -} - -// Prepare GeSHi instance -$geshi = new GeSHi(); -$geshi->set_language('text'); -$geshi->load_from_file($path); -$geshi->set_header_type(GESHI_HEADER_PRE); -$geshi->enable_classes(); -$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS, 10); -$geshi->set_overall_style('color: #000066; border: 1px solid #d0d0d0; background-color: #f0f0f0;', true); -$geshi->set_line_style('font: normal normal 95% \'Courier New\', Courier, monospace; color: #003030;', 'font-weight: bold; color: #006060;', true); -$geshi->set_code_style('color: #000020;', 'color: #000020;'); -$geshi->set_link_styles(GESHI_LINK, 'color: #000060;'); -$geshi->set_link_styles(GESHI_HOVER, 'background-color: #f0f000;'); -$geshi->set_header_content('Source code viewer - ' . $path . ' - ' . $geshi->get_language_name()); -$geshi->set_header_content_style('font-family: Verdana, Arial, sans-serif; color: #808080; font-size: 70%; font-weight: bold; background-color: #f0f0ff; border-bottom: 1px solid #d0d0d0; padding: 2px;'); -$geshi->set_footer_content('Parsed in