From 2069d40544fed19e02ebfe5cb975c47be7b519ed Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Fri, 18 Jan 2013 17:47:25 +0100 Subject: [PATCH] Use composer as application autoloader --- bin/console | 2 +- bin/doctrine | 2 +- bin/setup | 2 +- builder.php | 10 +- cleaner.php | 6 +- composer.json | 12 +- functionnal-tests/api/dailymotion.php | 25 +-- .../Controller/Utils/ConnectionTest.php | 3 +- lib/Alchemy/Phrasea/Loader/ApcAutoloader.php | 37 ---- lib/Alchemy/Phrasea/Loader/Autoloader.php | 104 ---------- .../Phrasea/Loader/CacheAutoloader.php | 128 ------------ lib/Alchemy/Phrasea/Loader/LoaderStrategy.php | 27 --- .../Phrasea/Loader/XcacheAutoloader.php | 37 ---- lib/Doctrine/Entities/Basket.php | 4 - lib/Doctrine/Entities/BasketElement.php | 3 - lib/Doctrine/Entities/StoryWZ.php | 6 - lib/bootstrap.php | 20 -- lib/classes/{ACL.class.php => ACL.php} | 0 .../OAuth2/{Account.class.php => Account.php} | 0 .../OAuth2/{Adapter.class.php => Adapter.php} | 0 ...{Application.class.php => Application.php} | 0 .../{Navigator.class.php => Navigator.php} | 0 .../{AuthCode.class.php => AuthCode.php} | 0 .../{Exception.class.php => Exception.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../{Redirect.class.php => Redirect.php} | 0 ...ccessDenied.class.php => AccessDenied.php} | 0 ...alidClient.class.php => InvalidClient.php} | 0 ...idRequest.class.php => InvalidRequest.php} | 0 ...nvalidScope.class.php => InvalidScope.php} | 0 ...{ServerError.class.php => ServerError.php} | 0 ...ble.class.php => TemporaryUnavailable.php} | 0 ...lient.class.php => UnauthorizedClient.php} | 0 ....class.php => UnsupportedResponseType.php} | 0 ...enticate.class.php => WWWAuthenticate.php} | 0 ...alidClient.class.php => InvalidClient.php} | 0 ...idRequest.class.php => InvalidRequest.php} | 0 ...nvalidToken.class.php => InvalidToken.php} | 0 .../{BadRequest.class.php => BadRequest.php} | 0 .../{Forbidden.class.php => Forbidden.php} | 0 ...AppDesktop.class.php => DevAppDesktop.php} | 0 ...pInternet.class.php => DevAppInternet.php} | 0 ...efreshToken.class.php => RefreshToken.php} | 0 .../API/OAuth2/{Token.class.php => Token.php} | 0 .../V1/{Abstract.class.php => Abstract.php} | 0 .../V1/{Interface.class.php => Interface.php} | 0 lib/classes/API/V1/{Log.class.php => Log.php} | 0 .../API/V1/{adapter.class.php => adapter.php} | 0 .../{abstract.class.php => abstract.php} | 0 .../{badrequest.class.php => badrequest.php} | 0 .../{forbidden.class.php => forbidden.php} | 0 ...rror.class.php => internalservererror.php} | 0 ...allowed.class.php => methodnotallowed.php} | 0 .../{notfound.class.php => notfound.php} | 0 ...nauthorized.class.php => unauthorized.php} | 0 .../API/V1/{result.class.php => result.php} | 0 .../Bridge/{Account.class.php => Account.php} | 0 ...Settings.class.php => AccountSettings.php} | 0 lib/classes/Bridge/{Api.class.php => Api.php} | 0 .../Api/{Abstract.class.php => Abstract.php} | 0 ...ction.class.php => AbstractCollection.php} | 0 .../Auth/{Abstract.class.php => Abstract.php} | 0 .../Api/Auth/{Flickr.class.php => Flickr.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../Api/Auth/{OAuth2.class.php => OAuth2.php} | 0 .../Auth/{Youtube.class.php => Youtube.php} | 0 ...tion.class.php => ContainerCollection.php} | 0 ...rface.class.php => ContainerInterface.php} | 0 ...{Dailymotion.class.php => Dailymotion.php} | 0 .../{Container.class.php => Container.php} | 0 .../{Element.class.php => Element.php} | 0 ...ection.class.php => ElementCollection.php} | 0 ...terface.class.php => ElementInterface.php} | 0 .../Api/{Flickr.class.php => Flickr.php} | 0 .../{Container.class.php => Container.php} | 0 .../Flickr/{Element.class.php => Element.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../Api/{Youtube.class.php => Youtube.php} | 0 .../{Container.class.php => Container.php} | 0 .../{Element.class.php => Element.php} | 0 .../Bridge/{Element.class.php => Element.php} | 0 .../{Exception.class.php => Exception.php} | 0 ...NotFound.class.php => AccountNotFound.php} | 0 ....class.php => ActionAuthBadConnection.php} | 0 ....class.php => ActionAuthNeedReconnect.php} | 0 ...orbidden.class.php => ActionForbidden.php} | 0 ...Id.class.php => ActionInvalidObjectId.php} | 0 ...eld.class.php => ActionMandatoryField.php} | 0 ....php => ApiConnectorAccessTokenFailed.php} | 0 ...lass.php => ApiConnectorNotConfigured.php} | 0 ...class.php => ApiConnectorNotConnected.php} | 0 ...und.class.php => ApiConnectorNotFound.php} | 0 ...lass.php => ApiConnectorRequestFailed.php} | 0 ...{ApiDisabled.class.php => ApiDisabled.php} | 0 ...{ApiNotFound.class.php => ApiNotFound.php} | 0 ...Unknown.class.php => ContainerUnknown.php} | 0 ...NotFound.class.php => ElementNotFound.php} | 0 ...ntUnknown.class.php => ElementUnknown.php} | 0 ...rdType.class.php => InvalidRecordType.php} | 0 ...ectUnknown.class.php => ObjectUnknown.php} | 0 ...enNotFound.class.php => TokenNotFound.php} | 0 .../{Browser.class.php => Browser.php} | 0 .../{Abstract.class.php => Abstract.php} | 0 .../{BadRequest.class.php => BadRequest.php} | 0 ...Found.class.php => CollectionNotFound.php} | 0 ...ldNotFound.class.php => FieldNotFound.php} | 0 ...fNotFound.class.php => SubdefNotFound.php} | 0 ...ss.php => metadataDescriptionNotFound.php} | 0 ...NotFound.class.php => DataboxNotFound.php} | 0 ...ryNotFound.class.php => EntryNotFound.php} | 0 ...temNotFound.class.php => ItemNotFound.php} | 0 ...tFound.class.php => PublisherNotFound.php} | 0 ...eedNotFound.class.php => FeedNotFound.php} | 0 .../{Forbidden.class.php => Forbidden.php} | 0 ...rror.class.php => InternalServerError.php} | 0 ...Argument.class.php => InvalidArgument.php} | 0 ...tFound.class.php => PermalinkNotFound.php} | 0 ...fNotFound.class.php => SubdefNotFound.php} | 0 .../{NotAllowed.class.php => NotAllowed.php} | 0 .../{NotFound.class.php => NotFound.php} | 0 ...NotFound.class.php => AdapterNotFound.php} | 0 ...lable.class.php => ServiceUnavailable.php} | 0 ...dyCreated.class.php => AlreadyCreated.php} | 0 ...{BadSalinity.class.php => BadSalinity.php} | 0 .../Session/{Closed.class.php => Closed.php} | 0 ...rNotFound.class.php => LoggerNotFound.php} | 0 .../{MailLocked.class.php => MailLocked.php} | 0 ...ticated.class.php => NotAuthenticated.php} | 0 ...reCaptcha.class.php => RequireCaptcha.php} | 0 ...rageClosed.class.php => StorageClosed.php} | 0 .../{WrongToken.class.php => WrongToken.php} | 0 ...File.class.php => CannotWriteLockFile.php} | 0 ...ses.class.php => FixBadEmailAddresses.php} | 0 ....class.php => PhraseaAlreadyInstalled.php} | 0 ...ed.class.php => UpgradeAlreadyStarted.php} | 0 ...nauthorized.class.php => Unauthorized.php} | 0 ...ction.class.php => UnauthorizedAction.php} | 0 ...riteFile.class.php => CannotWriteFile.php} | 0 .../Upload/{Error.class.php => Error.php} | 0 .../{FileTooBig.class.php => FileTooBig.php} | 0 .../Feed/{Abstract.class.php => Abstract.php} | 0 .../Feed/{Adapter.class.php => Adapter.php} | 0 .../{Aggregate.class.php => Aggregate.php} | 0 .../{Collection.class.php => Collection.php} | 0 ...face.class.php => CollectionInterface.php} | 0 .../Entry/{Adapter.class.php => Adapter.php} | 0 .../{Collection.class.php => Collection.php} | 0 ...face.class.php => CollectionInterface.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../Feed/Entry/{Item.class.php => Item.php} | 0 ...mInterface.class.php => ItemInterface.php} | 0 .../{Interface.class.php => Interface.php} | 0 lib/classes/Feed/{Link.class.php => Link.php} | 0 ...kInterface.class.php => LinkInterface.php} | 0 .../{Adapter.class.php => Adapter.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../Feed/{Token.class.php => Token.php} | 0 ...Aggregate.class.php => TokenAggregate.php} | 0 .../XML/{Abstract.class.php => Abstract.php} | 0 .../Feed/XML/{Atom.class.php => Atom.php} | 0 .../XML/{Cooliris.class.php => Cooliris.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../Feed/XML/{RSS.class.php => RSS.php} | 0 .../XML/RSS/{Image.class.php => Image.php} | 0 ...Interface.class.php => ImageInterface.php} | 0 .../{Guest.class.php => Guest.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../{Native.class.php => Native.php} | 0 .../{None.class.php => None.php} | 0 ...tCookie.class.php => PersistentCookie.php} | 0 .../{Token.class.php => Token.php} | 0 .../Session/{Logger.class.php => Logger.php} | 0 .../{Constraint.class.php => Constraint.php} | 0 ...ator.class.php => ConstraintsIterator.php} | 0 .../{Registry.class.php => Registry.php} | 0 .../Setup/{Upgrade.class.php => Upgrade.php} | 0 .../User/{Adapter.class.php => Adapter.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../User/{Query.class.php => Query.php} | 0 ...Interface.class.php => QueryInterface.php} | 0 ...roved.class.php => ZipArchiveImproved.php} | 0 lib/classes/{appbox.class.php => appbox.php} | 0 .../{register.class.php => register.php} | 0 lib/classes/{base.class.php => base.php} | 0 lib/classes/bootstrap.class.php | 80 -------- ...rface.class.php => cacheableInterface.php} | 0 .../cache/{databox.class.php => databox.php} | 0 .../Field/{Value.class.php => Value.php} | 0 .../caption/{field.class.php => field.php} | 0 .../{interface.class.php => interface.php} | 0 .../caption/{record.class.php => record.php} | 0 .../{collection.class.php => collection.php} | 0 .../{connection.class.php => connection.php} | 0 .../{abstract.class.php => abstract.php} | 0 .../{interface.class.php => interface.php} | 0 .../connection/{pdo.class.php => pdo.php} | 0 ...ger.class.php => pdoStatementDebugger.php} | 0 .../{databox.class.php => databox.php} | 0 ...{Contributor.class.php => Contributor.php} | 0 .../DCES/{Coverage.class.php => Coverage.php} | 0 .../DCES/{Creator.class.php => Creator.php} | 0 .../Field/DCES/{Date.class.php => Date.php} | 0 ...{Description.class.php => Description.php} | 0 .../DCES/{Format.class.php => Format.php} | 0 .../{Identifier.class.php => Identifier.php} | 0 .../DCES/{Language.class.php => Language.php} | 0 .../{Publisher.class.php => Publisher.php} | 0 .../DCES/{Relation.class.php => Relation.php} | 0 .../DCES/{Rights.class.php => Rights.php} | 0 .../DCES/{Source.class.php => Source.php} | 0 .../DCES/{Subject.class.php => Subject.php} | 0 .../Field/DCES/{Title.class.php => Title.php} | 0 .../Field/DCES/{Type.class.php => Type.php} | 0 ...CESAbstract.class.php => DCESAbstract.php} | 0 .../databox/{cgu.class.php => cgu.php} | 0 ...ure.class.php => descriptionStructure.php} | 0 .../databox/{field.class.php => field.php} | 0 .../databox/{status.class.php => status.php} | 0 .../databox/{subdef.class.php => subdef.php} | 0 ...ructure.class.php => subdefsStructure.php} | 0 .../{broker.class.php => broker.php} | 0 .../event/{test.class.php => test.php} | 0 ...ntAbstract.class.php => eventAbstract.php} | 0 ...utoregister.class.php => autoregister.php} | 0 ...oadfail.class.php => bridgeuploadfail.php} | 0 ...ailfail.class.php => downloadmailfail.php} | 0 .../notify/{feed.class.php => feed.php} | 0 .../notify/{order.class.php => order.php} | 0 ...rderdeliver.class.php => orderdeliver.php} | 0 ...ivered.class.php => ordernotdelivered.php} | 0 .../notify/{push.class.php => push.php} | 0 .../{register.class.php => register.php} | 0 ...rantine.class.php => uploadquarantine.php} | 0 .../{validate.class.php => validate.php} | 0 ...ationdone.class.php => validationdone.php} | 0 ...inder.class.php => validationreminder.php} | 0 ...yAbstract.class.php => notifyAbstract.php} | 0 lib/classes/{format.class.php => format.php} | 0 .../{ftpclient.class.php => ftpclient.php} | 0 .../{gatekeeper.class.php => gatekeeper.php} | 0 .../{geonames.class.php => geonames.php} | 0 .../http/{query.class.php => query.php} | 0 .../http/{request.class.php => request.php} | 0 lib/classes/{liste.class.php => liste.php} | 0 lib/classes/{login.class.php => login.php} | 0 lib/classes/{mail.class.php => mail.php} | 0 .../{Adapter.class.php => Adapter.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../{abstract.class.php => abstract.php} | 0 .../media/{adapter.class.php => adapter.php} | 0 .../media/{subdef.class.php => subdef.php} | 0 .../module/{client.class.php => client.php} | 0 ...boutAuthors.class.php => aboutAuthors.php} | 0 ...boutLicense.class.php => aboutLicense.php} | 0 ...Extension.class.php => checkExtension.php} | 0 ...ieldsDelete.class.php => fieldsDelete.php} | 0 .../{fieldsList.class.php => fieldsList.php} | 0 ...{fieldsMerge.class.php => fieldsMerge.php} | 0 ...ieldsRename.class.php => fieldsRename.php} | 0 ...ing.class.php => fileEnsureDevSetting.php} | 0 ...ss.php => fileEnsureProductionSetting.php} | 0 ...ulerStart.class.php => schedulerStart.php} | 0 ...ulerState.class.php => schedulerState.php} | 0 ...edulerStop.class.php => schedulerStop.php} | 0 ...class.php => sphinxGenerateSuggestion.php} | 0 ...mBackupDB.class.php => systemBackupDB.php} | 0 ...arCache.class.php => systemClearCache.php} | 0 ...gCheck.class.php => systemConfigCheck.php} | 0 ...ystemExport.class.php => systemExport.php} | 0 ...ailCheck.class.php => systemMailCheck.php} | 0 ....class.php => systemTemplateGenerator.php} | 0 ...temUpgrade.class.php => systemUpgrade.php} | 2 +- .../{taskState.class.php => taskState.php} | 0 .../{tasklist.class.php => tasklist.php} | 0 .../{taskrun.class.php => taskrun.php} | 0 .../module/{report.class.php => report.php} | 0 .../{activity.class.php => activity.php} | 0 .../module/report/{add.class.php => add.php} | 0 .../{connexion.class.php => connexion.php} | 0 .../{dashboard.class.php => dashboard.php} | 0 ...rface.class.php => componentInterface.php} | 0 .../dashboard/{feed.class.php => feed.php} | 0 .../dashboard/{group.class.php => group.php} | 0 .../dashboard/{merge.class.php => merge.php} | 0 .../dashboard/{sort.class.php => sort.php} | 0 .../{download.class.php => download.php} | 0 .../report/{edit.class.php => edit.php} | 0 .../report/{filter.class.php => filter.php} | 0 .../module/report/{nav.class.php => nav.php} | 0 .../report/{push.class.php => push.php} | 0 .../{question.class.php => question.php} | 0 .../module/report/{sql.class.php => sql.php} | 0 ...rface.class.php => sqlReportInterface.php} | 0 .../{sqlaction.class.php => sqlaction.php} | 0 ...qlconnexion.class.php => sqlconnexion.php} | 0 ...{sqldownload.class.php => sqldownload.php} | 0 .../{sqlfilter.class.php => sqlfilter.php} | 0 ...{sqlquestion.class.php => sqlquestion.php} | 0 .../{validate.class.php => validate.php} | 0 .../{p4field.class.php => p4field.php} | 0 lib/classes/{p4file.class.php => p4file.php} | 0 .../{p4string.class.php => p4string.php} | 0 lib/classes/patch/{320.class.php => 320.php} | 0 .../patch/{320a.class.php => 320a.php} | 0 .../patch/{320ab.class.php => 320ab.php} | 0 .../patch/{320b.class.php => 320b.php} | 0 .../patch/{320c.class.php => 320c.php} | 0 .../patch/{320d.class.php => 320d.php} | 0 .../patch/{320e.class.php => 320e.php} | 0 .../patch/{320f.class.php => 320f.php} | 0 .../patch/{320h.class.php => 320h.php} | 0 lib/classes/patch/{360.class.php => 360.php} | 0 .../patch/{3602.class.php => 3602.php} | 0 .../patch/{3603.class.php => 3603.php} | 0 .../patch/{3604.class.php => 3604.php} | 0 lib/classes/patch/{361.class.php => 361.php} | 0 lib/classes/patch/{370.class.php => 370.php} | 0 .../patch/{370a3.class.php => 370a3.php} | 0 .../patch/{370a4.class.php => 370a4.php} | 0 .../patch/{370a5.class.php => 370a5.php} | 0 .../patch/{370a6.class.php => 370a6.php} | 0 .../patch/{370a7.class.php => 370a7.php} | 0 .../patch/{370a8.class.php => 370a8.php} | 0 .../patch/{370a9.class.php => 370a9.php} | 0 lib/classes/patch/{371.class.php => 371.php} | 0 lib/classes/patch/{373.class.php => 373.php} | 0 lib/classes/patch/{380.class.php => 380.php} | 0 .../patch/{3802.class.php => 3802.php} | 0 .../patch/{3803.class.php => 3803.php} | 0 ...Interface.class.php => patchInterface.php} | 0 .../{phrasea.class.php => phrasea.php} | 25 --- ...{phraseadate.class.php => phraseadate.php} | 0 .../{queries.class.php => queries.php} | 0 lib/classes/{random.class.php => random.php} | 0 .../{Interface.class.php => Interface.php} | 0 .../record/{adapter.class.php => adapter.php} | 0 ...ortElement.class.php => exportElement.php} | 0 ...rderElement.class.php => orderElement.php} | 0 .../record/{preview.class.php => preview.php} | 0 ...{recordutils.class.php => recordutils.php} | 0 .../{audio.class.php => audio.php} | 0 .../{document.class.php => document.php} | 0 .../{image.class.php => image.php} | 0 .../recordutils/{map.class.php => map.php} | 0 .../{video.class.php => video.php} | 0 .../{registry.class.php => registry.php} | 0 ...erface.class.php => registryInterface.php} | 0 .../set/{abstract.class.php => abstract.php} | 0 .../set/{export.class.php => export.php} | 0 .../{exportftp.class.php => exportftp.php} | 0 .../set/{order.class.php => order.php} | 0 .../{selection.class.php => selection.php} | 0 lib/classes/{setup.class.php => setup.php} | 0 lib/classes/{sso.class.php => sso.php} | 0 .../system/{server.class.php => server.php} | 0 lib/classes/system/{url.class.php => url.php} | 0 .../{Scheduler.class.php => Scheduler.php} | 0 .../task/{abstract.class.php => abstract.php} | 0 ...xAbstract.class.php => appboxAbstract.php} | 0 ...Abstract.class.php => databoxAbstract.php} | 0 .../task/{manager.class.php => manager.php} | 2 +- ...{RecordMover.class.php => RecordMover.php} | 0 .../{apibridge.class.php => apibridge.php} | 0 .../period/{archive.class.php => archive.php} | 0 .../{cindexer.class.php => cindexer.php} | 0 .../{emptyColl.class.php => emptyColl.php} | 0 .../task/period/{ftp.class.php => ftp.php} | 0 .../period/{ftpPull.class.php => ftpPull.php} | 0 .../{outofdate.class.php => outofdate.php} | 0 .../period/{subdef.class.php => subdef.php} | 0 .../task/period/{test.class.php => test.php} | 0 .../{workflow01.class.php => workflow01.php} | 0 .../{writemeta.class.php => writemeta.php} | 0 .../{thesaurus.class.php => thesaurus.php} | 0 .../thesaurus/{xpath.class.php => xpath.php} | 0 .../{unicode.class.php => unicode.php} | 0 lib/classes/{uuid.class.php => uuid.php} | 0 phpunit.xml.dist | 4 +- .../Phrasea/Controller/BoilerPlate.php | 34 ---- .../Controller/Setup/FakeSetupApplication.inc | 28 --- .../Alchemy/Phrasea/Loader/AutoloaderTest.php | 43 ---- .../Phrasea/Loader/CacheAutoloaderTest.php | 87 -------- .../Loader/Fixtures/Test/Hello.class.php | 6 - .../Loader/Fixtures/Test/HelloCache.class.php | 6 - .../Loader/Fixtures/Test/test.class.php | 6 - .../Phrasea/Setup/AbstractSetupTester.inc | 79 -------- .../Phrasea/Application/ApiAbstract.php} | 20 +- .../Phrasea/Application/ApiJSONPTest.php | 6 +- .../Phrasea/Application/ApiJsonTest.php | 8 +- .../Phrasea/Application/ApiYamlTest.php | 8 +- .../Phrasea/Application/LightboxTest.php | 20 +- .../Phrasea/Application/OAuth2Test.php | 20 +- .../Phrasea/Application/OverviewTest.php | 10 +- .../Phrasea/Application/RootTest.php | 6 +- .../Phrasea/Application/SetupTest.php | 6 +- .../{ => Tests}/Phrasea/ApplicationTest.php | 5 +- .../Phrasea/Border/Attribute/FactoryTest.php | 7 +- .../Border/Attribute/MetaFieldTest.php | 5 +- .../Phrasea/Border/Attribute/MetadataTest.php | 6 +- .../Phrasea/Border/Attribute/StatusTest.php | 5 +- .../Phrasea/Border/Attribute/StoryTest.php | 5 +- .../Border/Checker/AbstractCheckerTest.php | 5 +- .../Phrasea/Border/Checker/ColorspaceTest.php | 5 +- .../Phrasea/Border/Checker/DimensionTest.php | 5 +- .../Phrasea/Border/Checker/ExtensionTest.php | 9 +- .../Phrasea/Border/Checker/FilenameTest.php | 9 +- .../Phrasea/Border/Checker/MediaTypeTest.php | 9 +- .../Phrasea/Border/Checker/ResponseTest.php | 4 +- .../Phrasea/Border/Checker/Sha256Test.php | 11 +- .../Phrasea/Border/Checker/UUIDTest.php | 9 +- .../{ => Tests}/Phrasea/Border/FileTest.php | 15 +- .../Phrasea/Border/ManagerTest.php | 70 ++++--- .../Phrasea/Border/MetaFieldsBagTest.php | 5 +- .../Phrasea/Border/MetadataBagTest.php | 5 +- .../{ => Tests}/Phrasea/Border/VisaTest.php | 14 +- .../Phrasea/Cache/ApcCacheTest.php | 6 +- .../Phrasea/Cache/ArrayCacheTest.php | 6 +- .../Phrasea/Cache/MemcacheCacheTest.php | 8 +- .../Phrasea/Cache/RedisCacheTest.php | 8 +- .../Phrasea/Cache/XcacheCacheTest.php | 6 +- .../Phrasea/Command/CommandTest.php | 4 +- .../Phrasea/Command/UpgradeDBDatasTest.php | 3 +- .../Controller/Admin/AdminCollectionTest.php | 16 +- .../Controller/Admin/AdminDashboardTest.php | 2 +- .../Controller/Admin/ConnectedUserTest.php | 2 +- .../Phrasea/Controller/Admin/DataboxTest.php | 16 +- .../Controller/Admin/DataboxesTest.php | 2 +- .../Controller/Admin/DescriptionTest.php | 4 +- .../Phrasea/Controller/Admin/FieldsTest.php | 8 +- .../Controller/Admin/PublicationTest.php | 56 +++--- .../Phrasea/Controller/Admin/RootTest.php | 4 +- .../Controller/Admin/SearchEngineTest.php | 8 +- .../Phrasea/Controller/Admin/SetupTest.php | 6 +- .../Phrasea/Controller/Admin/SubdefsTest.php | 16 +- .../Controller/Admin/TaskManagerTest.php | 2 +- .../Phrasea/Controller/Admin/UsersTest.php | 24 +-- .../Phrasea/Controller/Prod/BasketTest.php | 4 +- .../Phrasea/Controller/Prod/BridgeTest.php | 63 +++--- .../Controller/Prod/DoDownloadTest.php | 6 +- .../Phrasea/Controller/Prod/DownloadTest.php | 2 +- .../Phrasea/Controller/Prod/EditTest.php | 2 +- .../Phrasea/Controller/Prod/ExportTest.php | 5 +- .../Phrasea/Controller/Prod/FeedTest.php | 70 +++---- .../Phrasea/Controller/Prod/LanguageTest.php | 4 +- .../Phrasea/Controller/Prod/LazaretTest.php | 14 +- .../Controller/Prod/MoveCollectionTest.php | 2 +- .../Controller/Prod/MustacheLoaderTest.php | 2 +- .../Phrasea/Controller/Prod/OrderTest.php | 3 +- .../Phrasea/Controller/Prod/PrinterTest.php | 2 +- .../Phrasea/Controller/Prod/PropertyTest.php | 8 +- .../Phrasea/Controller/Prod/PushTest.php | 2 +- .../Phrasea/Controller/Prod/QueryTest.php | 6 +- .../Phrasea/Controller/Prod/RecordsTest.php | 17 +- .../Phrasea/Controller/Prod/RootTest.php | 4 +- .../Phrasea/Controller/Prod/ShareTest.php | 2 +- .../Phrasea/Controller/Prod/StoryTest.php | 5 +- .../Phrasea/Controller/Prod/TOUTest.php | 2 +- .../Phrasea/Controller/Prod/TooltipTest.php | 14 +- .../Phrasea/Controller/Prod/UploadTest.php | 6 +- .../Phrasea/Controller/Prod/UsrListsTest.php | 2 +- .../Phrasea/Controller/Prod/WorkZoneTest.php | 2 +- .../Phrasea/Controller/RecordsRequestTest.php | 7 +- .../Phrasea/Controller/Root/AccountTest.php | 4 +- .../Controller/Root/DevelopersTest.php | 6 +- .../Phrasea/Controller/Root/LoginTest.php | 4 +- .../Phrasea/Controller/Root/RSSFeedTest.php | 190 +++++++++--------- .../Phrasea/Controller/Root/SessionTest.php | 2 +- .../Controller/Setup/FakeSetupApplication.inc | 28 +++ .../Controller/Setup/InstallerTest.php | 4 +- .../Controller/User/NotificationsTest.php | 5 +- .../Controller/User/PreferencesTest.php | 5 +- .../Controller/Utils/ConnectionTestTest.php | 2 +- .../Controller/Utils/PathFileTestTest.php | 4 +- .../Core/Configuration/ConfigurationTest.php | 2 +- .../Configuration/confTestFiles/config.yml | 0 .../Configuration/confTestFiles/test.json | 0 .../BorderManagerServiceProviderTest.php | 4 +- .../Provider/BrowserServiceProviderTest.php | 4 +- .../Provider/CacheServiceProviderTest.php | 4 +- .../ConfigurationServiceProviderTest.php | 4 +- ...ConfigurationTesterServiceProviderTest.php | 4 +- .../Provider/GeonamesServiceProviderTest.php | 4 +- .../Core/Provider/ORMServiceProviderTest.php | 4 +- .../SearchEngineServiceProviderTest.php | 4 +- .../TaskManagerServiceProviderTest.php | 4 +- .../Provider/UnicodeServiceProviderTest.php | 4 +- .../Core/Service/Border/BorderManagerTest.php | 5 +- .../Core/Service/Cache/ApcCacheTest.php | 6 +- .../Core/Service/Cache/ArrayCacheTest.php | 6 +- .../Core/Service/Cache/MemcacheCacheTest.php | 6 +- .../Core/Service/Cache/XcacheCacheTest.php | 6 +- .../Core/Service/Log/Doctrine/MonologTest.php | 6 +- .../Core/Service/Log/Doctrine/PhpechoTest.php | 6 +- .../Phrasea/Core/Service/Log/MonologTest.php | 6 +- .../Phrasea/Core/Service/Orm/DoctrineTest.php | 6 +- .../Core/Service/ServiceAbtractTest.php | 6 +- .../ServiceBuilder/AbstractBuilderTest.php | 6 +- .../Core/ServiceBuilder/CacheBuilderTest.php | 7 +- .../Core/ServiceBuilder/LogBuilderTest.php | 6 +- .../Core/ServiceBuilder/OrmBuilderTest.php | 7 +- .../{ => Tests}/Phrasea/Core/VersionTest.php | 2 +- .../Phrasea/Media/Subdef/AudioTest.php | 5 +- .../Phrasea/Media/Subdef/FlexPaperTest.php | 5 +- .../Phrasea/Media/Subdef/GifTest.php | 5 +- .../Phrasea/Media/Subdef/ImageTest.php | 5 +- .../Media/Subdef/OptionType/BooleanTest.php | 5 +- .../Media/Subdef/OptionType/EnumTest.php | 5 +- .../Media/Subdef/OptionType/MultiTest.php | 5 +- .../Media/Subdef/OptionType/RangeTest.php | 5 +- .../Phrasea/Media/Subdef/ProviderTest.php | 5 +- .../Phrasea/Media/Subdef/VideoTest.php | 5 +- .../Phrasea/Media/Type/AudioTest.php | 5 +- .../Phrasea/Media/Type/DocumentTest.php | 5 +- .../Phrasea/Media/Type/FlashTest.php | 5 +- .../Phrasea/Media/Type/ImageTest.php | 5 +- .../Phrasea/Media/Type/VideoTest.php | 5 +- .../Phrasea/Metadata/Tag/NosourceTest.php | 4 +- .../Phrasea/Metadata/Tag/PdfTextTest.php | 4 +- .../Metadata/Tag/TfArchivedateTest.php | 4 +- .../Phrasea/Metadata/Tag/TfAtimeTest.php | 4 +- .../Phrasea/Metadata/Tag/TfBasenameTest.php | 4 +- .../Phrasea/Metadata/Tag/TfBitsTest.php | 4 +- .../Phrasea/Metadata/Tag/TfChannelsTest.php | 4 +- .../Phrasea/Metadata/Tag/TfCtimeTest.php | 4 +- .../Phrasea/Metadata/Tag/TfDirnameTest.php | 4 +- .../Phrasea/Metadata/Tag/TfDurationTest.php | 4 +- .../Phrasea/Metadata/Tag/TfEditDateTest.php | 4 +- .../Phrasea/Metadata/Tag/TfExtensionTest.php | 4 +- .../Phrasea/Metadata/Tag/TfFilenameTest.php | 4 +- .../Phrasea/Metadata/Tag/TfFilepathTest.php | 4 +- .../Phrasea/Metadata/Tag/TfHeightTest.php | 4 +- .../Phrasea/Metadata/Tag/TfMimeTypeTest.php | 4 +- .../Phrasea/Metadata/Tag/TfMtimeTest.php | 4 +- .../Phrasea/Metadata/Tag/TfQuarantineTest.php | 4 +- .../Phrasea/Metadata/Tag/TfRecordidTest.php | 4 +- .../Phrasea/Metadata/Tag/TfSizeTest.php | 4 +- .../Phrasea/Metadata/Tag/TfWidthTest.php | 4 +- .../ConfigurationPanelAbstractTest.php | 4 +- .../PhraseaConfigurationPanelTest.php | 7 +- .../SearchEngine/PhraseaEngineTest.php | 7 +- .../SearchEngine/SearchEngineAbstractTest.php | 29 +-- .../SearchEngine/SearchEngineLoggerTest.php | 4 +- .../SearchEngine/SearchEngineOptionsTest.php | 4 +- .../SearchEngine/SearchEngineResultTest.php | 8 +- .../SearchEngineSuggestionTest.php | 6 +- .../SphinxSearchConfigurationPanelTest.php | 9 +- .../SearchEngine/SphinxSearchEngineTest.php | 5 +- .../Phrasea/Security/FirewallTest.php | 4 +- .../Phrasea/Setup/AbstractSetupTester.php | 79 ++++++++ .../Phrasea/Setup/ConfigurationTesterTest.php | 11 +- .../Phrasea/Setup/InstallerTest.php | 12 +- .../Phrasea/Setup/TestSpecifications.php} | 2 +- .../Version/Migration/Migration31Test.php | 13 +- .../Version/Migration/Migration35Test.php | 10 +- .../Setup/Version/Probe/Probe31Test.php | 7 +- .../Setup/Version/Probe/Probe35Test.php | 7 +- .../ControlProvider/UserProviderTest.php | 4 +- .../Phrasea/Vocabulary/ControllerTest.php | 4 +- .../Phrasea/Vocabulary/TermTest.php | 5 +- tests/bootstrap.inc | 3 - tests/bootstrap.php | 5 + tests/{ => classes}/ACLTest.php | 2 - .../Api/Auth/Bridge_Api_Auth_AbstractTest.php | 1 - .../Api/Auth/Bridge_Api_Auth_FlickrTest.php | 1 - .../Api/Auth/Bridge_Api_Auth_OAuth2Test.php | 1 - .../Api/Bridge_Api_AbstractCollectionTest.php | 1 - .../Bridge/Api/Bridge_Api_AbstractTest.php | 1 - .../Bridge_Api_ContainerCollectionTest.php | 1 - .../Api/Bridge_Api_ElementCollectionTest.php | 1 - .../Bridge_Api_Dailymotion_ContainerTest.php | 2 - .../Bridge_Api_Dailymotion_ElementTest.php | 2 - .../Bridge_Api_Flickr_ContainerTest.php | 1 - .../Flickr/Bridge_Api_Flickr_ElementTest.php | 1 - .../Bridge_Api_Youtube_ContainerTest.php | 1 - .../Bridge_Api_Youtube_ElementTest.php | 1 - .../Bridge/Bridge_AccountSettingsTest.php | 1 - .../Bridge/Bridge_AccountTest.php | 1 - tests/{ => classes}/Bridge/Bridge_ApiTest.php | 1 - .../Bridge/Bridge_ElementTest.php | 1 - tests/{ => classes}/Bridge/Bridge_datas.inc | 0 .../Doctrine/Entities/BasketTest.php | 2 - .../ValidationParticipantRepositoryTest.php | 2 - .../Feed/Entry/Feed_Entry_AdapterTest.php | 2 - .../Feed/Entry/Feed_Entry_CollectionTest.php | 2 - .../Feed/Entry/Feed_Entry_ItemTest.php | 2 - tests/{ => classes}/Feed/Feed_AdapterTest.php | 6 +- .../{ => classes}/Feed/Feed_AggregateTest.php | 2 - .../Feed/Feed_CollectionTest.php | 2 - tests/{ => classes}/Feed/Feed_LinkTest.php | 2 - .../Publisher/Feed_Publisher_AdapterTest.php | 4 +- .../Feed/XML/Feed_XML_AtomTest.php | 2 - .../Feed/XML/Feed_XML_RSSTest.php | 2 - .../Feed/XML/RSS/Feed_XML_RSS_ImageTest.php | 2 - tests/{ => classes}/FeedValidator.inc | 0 .../PhraseanetPHPUnitAbstract.php} | 14 +- ...hraseanetPHPUnitAuthenticatedAbstract.php} | 2 - .../PhraseanetPHPUnitListener.php} | 0 .../PhraseanetWebTestCaseAbstract.php} | 2 - ...eanetWebTestCaseAuthenticatedAbstract.php} | 2 - .../Session_Authentication_GuestTest.php | 2 - .../Session_Authentication_NativeTest.php | 2 - .../Session/Session_LoggerTest.php | 2 - .../Setup/Setup_ConstraintTest.php | 2 - .../{ => classes}/Setup/Setup_UpgradeTest.php | 2 - .../api/oauthv2/API_OAuth2_AuthCodeTest.php | 2 - .../oauthv2/API_OAuth2_RefreshTokenTest.php | 2 - .../api/oauthv2/api_oauthv2_AccountTest.php | 2 - .../oauthv2/api_oauthv2_ApplicationTest.php | 2 - .../api/oauthv2/api_oauthv2_TokenTest.php | 2 - .../api/v1/api_v1_adapterTest.php | 6 +- .../api/v1/api_v1_resultTest.php | 3 +- .../caption/caption_fieldTest.php | 2 - .../caption/caption_recordTest.php | 2 - tests/{ => classes}/collectionTest.php | 8 +- .../databox_Field_DCES_ContributorTest.php | 2 - .../DCES/databox_Field_DCES_CoverageTest.php | 2 - .../DCES/databox_Field_DCES_CreatorTest.php | 2 - .../DCES/databox_Field_DCES_DateTest.php | 2 - .../databox_Field_DCES_DescriptionTest.php | 2 - .../DCES/databox_Field_DCES_FormatTest.php | 2 - .../databox_Field_DCES_IdentifierTest.php | 2 - .../DCES/databox_Field_DCES_LanguageTest.php | 2 - .../DCES/databox_Field_DCES_PublisherTest.php | 2 - .../DCES/databox_Field_DCES_RelationTest.php | 2 - .../DCES/databox_Field_DCES_RightsTest.php | 2 - .../DCES/databox_Field_DCES_SourceTest.php | 2 - .../DCES/databox_Field_DCES_SubjectTest.php | 2 - .../DCES/databox_Field_DCES_TitleTest.php | 2 - .../DCES/databox_Field_DCES_TypeTest.php | 2 - .../databox/databox_fieldTest.php | 2 - .../databox/databox_statusTest.php | 2 - .../databox/databox_subdefTest.php | 0 tests/{ => classes}/databoxTest.php | 8 +- tests/{ => classes}/geonamesTest.php | 2 - tests/{ => classes}/http/http_requestTest.php | 2 - .../Permalink/media_Permalink_AdapterTest.php | 2 - .../{ => classes}/media/media_subdefTest.php | 4 +- .../module_console_aboutAuthorsTest.php | 4 +- .../module_console_aboutLicenseTest.php | 4 +- .../module_console_schedulerStateTest.php | 2 - ...le_console_systemTemplateGeneratorTest.php | 2 - .../console/module_console_taskStateTest.php | 2 - .../console/module_console_tasklistTest.php | 2 - tests/{ => classes}/p4stringTest.php | 2 - tests/{ => classes}/randomTest.php | 2 - tests/{ => classes}/record/adapterTest.php | 2 - tests/{ => classes}/registryTest.php | 2 - tests/{ => classes}/report/activityTest.php | 2 - tests/{ => classes}/report/addTest.php | 2 - .../report/connexionReportTest.php | 7 +- tests/{ => classes}/report/dashboardTest.php | 2 - .../report/downloadReportTest.php | 2 - tests/{ => classes}/report/editTest.php | 2 - tests/{ => classes}/report/filterTest.php | 2 - tests/{ => classes}/report/pushTest.php | 2 - .../report/questionReportTest.php | 2 - tests/{ => classes}/report/reportTest.php | 2 - tests/{ => classes}/report/sqlActionTest.php | 2 - tests/{ => classes}/report/sqlFilterTest.php | 2 - tests/{ => classes}/report/sqlTest.php | 2 - tests/{ => classes}/set/set_exportTest.php | 6 +- .../system/system_serverTest.php | 2 - tests/{ => classes}/system/system_urlTest.php | 2 - .../task/period/task_period_archiveTest.php | 9 +- .../{ => classes}/task/task_abstractTest.php | 2 - tests/{ => classes}/thesaurusTest.php | 2 - tests/{ => classes}/unicodeTest.php | 16 +- tests/{ => classes}/unitTestsTest.php | 15 +- tests/{ => classes}/userTest.php | 2 - tests/{ => classes}/uuidTest.php | 2 - tests/{testfiles => files}/14082008057.mp4 | Bin tests/{testfiles => files}/HelloWorld.pdf | Bin tests/{testfiles => files}/ISOLatin1.txt | 0 tests/{testfiles => files}/ISOLatin2.txt | 0 tests/{testfiles => files}/Latin5.txt | 0 tests/{testfiles => files}/MacOSRoman.txt | 0 tests/{testfiles => files}/UTF-8.txt | 0 tests/{testfiles => files}/WindowsLatin1.txt | 0 tests/{testfiles => files}/WindowsLatin2.txt | 0 tests/{testfiles => files}/cestlafete.jpg | Bin tests/{testfiles => files}/extractfile.jpg | Bin tests/{testfiles => files}/extractfile.xml | 0 tests/{testfiles => files}/heavy500.jpg | Bin tests/{testfiles => files}/iphone_pic.jpg | Bin tests/{testfiles => files}/logocoll.gif | Bin tests/{testfiles => files}/p4logo.jpg | Bin tests/{testfiles => files}/recta_logo.gif | Bin tests/{testfiles => files}/rectb_logo.gif | Bin tests/{testfiles => files}/test001.CR2 | Bin tests/{testfiles => files}/test002.CR2 | Bin tests/{testfiles => files}/test003.CR2 | Bin tests/{testfiles => files}/test004.CR2 | Bin tests/{testfiles => files}/test005.CR2 | Bin tests/{testfiles => files}/test006.wav | Bin tests/{testfiles => files}/test007.ppt | Bin tests/{testfiles => files}/test008.ai | 0 tests/{testfiles => files}/test009.TIFF | Bin tests/{testfiles => files}/test010.fla | Bin tests/{testfiles => files}/test011.swf | Bin tests/{testfiles => files}/test012.wav | Bin tests/{testfiles => files}/test013.ai | 0 tests/{testfiles => files}/test013.fla | Bin tests/{testfiles => files}/test014.swf | Bin tests/{testfiles => files}/test015.eps | Bin tests/{testfiles => files}/test016.ai | 0 tests/{testfiles => files}/test017.wav | Bin tests/{testfiles => files}/test018.TIFF | Bin tests/{testfiles => files}/test019.mp3 | Bin tests/{testfiles => files}/test020.mp3 | Bin tests/{testfiles => files}/test021.fla | Bin tests/{testfiles => files}/test022.swf | Bin tests/{testfiles => files}/test023.mp4 | Bin tests/{testfiles => files}/test024.jpg | Bin vendors.php | 8 +- www/api/index.php | 2 +- www/api/oauthv2/index.php | 2 +- www/api/v1/index.php | 2 +- www/client/answer.php | 2 +- www/client/baskets.php | 2 +- www/client/clientFeedBack.php | 2 +- www/client/index.php | 2 +- www/include/geonames.feedback.php | 8 +- www/index.php | 2 +- www/report/ajax_chart.php | 2 +- www/report/ajax_info_dashboard.php | 2 +- www/report/ajax_liste_base.php | 2 +- www/report/ajax_table_content.php | 2 +- www/report/charts/drawLinePlotWithLegend.php | 6 +- www/report/charts/draw_pie.php | 6 +- www/report/export_csv.php | 2 +- www/report/index.php | 2 +- www/report/report.php | 2 +- www/report/tab.php | 2 +- www/setup/installer.php | 2 +- www/thesaurus2/accept.php | 2 +- www/thesaurus2/export_text.php | 2 +- www/thesaurus2/export_text_dlg.php | 2 +- www/thesaurus2/export_topics.php | 2 +- www/thesaurus2/export_topics_dlg.php | 2 +- www/thesaurus2/import.php | 2 +- www/thesaurus2/import_dlg.php | 2 +- www/thesaurus2/index.php | 2 +- www/thesaurus2/linkfield.php | 2 +- www/thesaurus2/linkfield2.php | 2 +- www/thesaurus2/linkfield3.php | 2 +- www/thesaurus2/loadth.php | 2 +- www/thesaurus2/newsy_dlg.php | 2 +- www/thesaurus2/newterm.php | 2 +- www/thesaurus2/properties.php | 2 +- www/thesaurus2/replace.php | 2 +- www/thesaurus2/replace2.php | 2 +- www/thesaurus2/replace3.php | 2 +- www/thesaurus2/rescan.php | 2 +- www/thesaurus2/rescan_dlg.php | 2 +- www/thesaurus2/search.php | 2 +- www/thesaurus2/thesaurus.php | 2 +- www/thesaurus2/xmlhttp/accept.x.php | 2 +- www/thesaurus2/xmlhttp/acceptcandidates.x.php | 2 +- www/thesaurus2/xmlhttp/changesylng.x.php | 2 +- www/thesaurus2/xmlhttp/changesypos.x.php | 2 +- www/thesaurus2/xmlhttp/deletenohits.x.php | 2 +- www/thesaurus2/xmlhttp/delsy.x.php | 2 +- www/thesaurus2/xmlhttp/delts.x.php | 2 +- www/thesaurus2/xmlhttp/gethtmlbranch.x.php | 2 +- www/thesaurus2/xmlhttp/getsy.x.php | 2 +- www/thesaurus2/xmlhttp/getterm.x.php | 2 +- www/thesaurus2/xmlhttp/killterm.x.php | 2 +- www/thesaurus2/xmlhttp/newsy.x.php | 2 +- www/thesaurus2/xmlhttp/newts.x.php | 2 +- www/thesaurus2/xmlhttp/openbranches.x.php | 2 +- www/thesaurus2/xmlhttp/reject.x.php | 2 +- www/thesaurus2/xmlhttp/searchcandidate.x.php | 2 +- www/thesaurus2/xmlhttp/searchnohits.x.php | 2 +- www/xmlhttp/acceptcandidates.j.php | 2 +- www/xmlhttp/checkcandidatetarget.j.php | 2 +- www/xmlhttp/editing_presets.j.php | 2 +- www/xmlhttp/getsy_prod.x.php | 2 +- www/xmlhttp/getterm_prod.h.php | 2 +- www/xmlhttp/getterm_prod.x.php | 2 +- www/xmlhttp/openbranch_prod.j.php | 2 +- www/xmlhttp/openbranches_prod.h.php | 2 +- www/xmlhttp/openbranches_prod.x.php | 2 +- www/xmlhttp/replacecandidate.j.php | 2 +- www/xmlhttp/search_th_term_prod.j.php | 2 +- 784 files changed, 1031 insertions(+), 1806 deletions(-) delete mode 100644 lib/Alchemy/Phrasea/Loader/ApcAutoloader.php delete mode 100644 lib/Alchemy/Phrasea/Loader/Autoloader.php delete mode 100644 lib/Alchemy/Phrasea/Loader/CacheAutoloader.php delete mode 100644 lib/Alchemy/Phrasea/Loader/LoaderStrategy.php delete mode 100644 lib/Alchemy/Phrasea/Loader/XcacheAutoloader.php delete mode 100644 lib/bootstrap.php rename lib/classes/{ACL.class.php => ACL.php} (100%) rename lib/classes/API/OAuth2/{Account.class.php => Account.php} (100%) rename lib/classes/API/OAuth2/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/API/OAuth2/{Application.class.php => Application.php} (100%) rename lib/classes/API/OAuth2/Application/{Navigator.class.php => Navigator.php} (100%) rename lib/classes/API/OAuth2/{AuthCode.class.php => AuthCode.php} (100%) rename lib/classes/API/OAuth2/Exception/{Exception.class.php => Exception.php} (100%) rename lib/classes/API/OAuth2/Exception/{Interface.class.php => Interface.php} (100%) rename lib/classes/API/OAuth2/Exception/{Redirect.class.php => Redirect.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{AccessDenied.class.php => AccessDenied.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{InvalidClient.class.php => InvalidClient.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{InvalidRequest.class.php => InvalidRequest.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{InvalidScope.class.php => InvalidScope.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{ServerError.class.php => ServerError.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{TemporaryUnavailable.class.php => TemporaryUnavailable.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{UnauthorizedClient.class.php => UnauthorizedClient.php} (100%) rename lib/classes/API/OAuth2/Exception/Redirect/{UnsupportedResponseType.class.php => UnsupportedResponseType.php} (100%) rename lib/classes/API/OAuth2/Exception/{WWWAuthenticate.class.php => WWWAuthenticate.php} (100%) rename lib/classes/API/OAuth2/Exception/WWWAuthenticate/{InvalidClient.class.php => InvalidClient.php} (100%) rename lib/classes/API/OAuth2/Exception/WWWAuthenticate/{InvalidRequest.class.php => InvalidRequest.php} (100%) rename lib/classes/API/OAuth2/Exception/WWWAuthenticate/{InvalidToken.class.php => InvalidToken.php} (100%) rename lib/classes/API/OAuth2/Exception/WWWAuthenticate/Type/{BadRequest.class.php => BadRequest.php} (100%) rename lib/classes/API/OAuth2/Exception/WWWAuthenticate/Type/{Forbidden.class.php => Forbidden.php} (100%) rename lib/classes/API/OAuth2/Form/{DevAppDesktop.class.php => DevAppDesktop.php} (100%) rename lib/classes/API/OAuth2/Form/{DevAppInternet.class.php => DevAppInternet.php} (100%) rename lib/classes/API/OAuth2/{RefreshToken.class.php => RefreshToken.php} (100%) rename lib/classes/API/OAuth2/{Token.class.php => Token.php} (100%) rename lib/classes/API/V1/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/API/V1/{Interface.class.php => Interface.php} (100%) rename lib/classes/API/V1/{Log.class.php => Log.php} (100%) rename lib/classes/API/V1/{adapter.class.php => adapter.php} (100%) rename lib/classes/API/V1/exception/{abstract.class.php => abstract.php} (100%) rename lib/classes/API/V1/exception/{badrequest.class.php => badrequest.php} (100%) rename lib/classes/API/V1/exception/{forbidden.class.php => forbidden.php} (100%) rename lib/classes/API/V1/exception/{internalservererror.class.php => internalservererror.php} (100%) rename lib/classes/API/V1/exception/{methodnotallowed.class.php => methodnotallowed.php} (100%) rename lib/classes/API/V1/exception/{notfound.class.php => notfound.php} (100%) rename lib/classes/API/V1/exception/{unauthorized.class.php => unauthorized.php} (100%) rename lib/classes/API/V1/{result.class.php => result.php} (100%) rename lib/classes/Bridge/{Account.class.php => Account.php} (100%) rename lib/classes/Bridge/{AccountSettings.class.php => AccountSettings.php} (100%) rename lib/classes/Bridge/{Api.class.php => Api.php} (100%) rename lib/classes/Bridge/Api/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/Bridge/Api/{AbstractCollection.class.php => AbstractCollection.php} (100%) rename lib/classes/Bridge/Api/Auth/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/Bridge/Api/Auth/{Flickr.class.php => Flickr.php} (100%) rename lib/classes/Bridge/Api/Auth/{Interface.class.php => Interface.php} (100%) rename lib/classes/Bridge/Api/Auth/{OAuth2.class.php => OAuth2.php} (100%) rename lib/classes/Bridge/Api/Auth/{Youtube.class.php => Youtube.php} (100%) rename lib/classes/Bridge/Api/{ContainerCollection.class.php => ContainerCollection.php} (100%) rename lib/classes/Bridge/Api/{ContainerInterface.class.php => ContainerInterface.php} (100%) rename lib/classes/Bridge/Api/{Dailymotion.class.php => Dailymotion.php} (100%) rename lib/classes/Bridge/Api/Dailymotion/{Container.class.php => Container.php} (100%) rename lib/classes/Bridge/Api/Dailymotion/{Element.class.php => Element.php} (100%) rename lib/classes/Bridge/Api/{ElementCollection.class.php => ElementCollection.php} (100%) rename lib/classes/Bridge/Api/{ElementInterface.class.php => ElementInterface.php} (100%) rename lib/classes/Bridge/Api/{Flickr.class.php => Flickr.php} (100%) rename lib/classes/Bridge/Api/Flickr/{Container.class.php => Container.php} (100%) rename lib/classes/Bridge/Api/Flickr/{Element.class.php => Element.php} (100%) rename lib/classes/Bridge/Api/{Interface.class.php => Interface.php} (100%) rename lib/classes/Bridge/Api/{Youtube.class.php => Youtube.php} (100%) rename lib/classes/Bridge/Api/Youtube/{Container.class.php => Container.php} (100%) rename lib/classes/Bridge/Api/Youtube/{Element.class.php => Element.php} (100%) rename lib/classes/Bridge/{Element.class.php => Element.php} (100%) rename lib/classes/Bridge/{Exception.class.php => Exception.php} (100%) rename lib/classes/Bridge/Exception/{AccountNotFound.class.php => AccountNotFound.php} (100%) rename lib/classes/Bridge/Exception/{ActionAuthBadConnection.class.php => ActionAuthBadConnection.php} (100%) rename lib/classes/Bridge/Exception/{ActionAuthNeedReconnect.class.php => ActionAuthNeedReconnect.php} (100%) rename lib/classes/Bridge/Exception/{ActionForbidden.class.php => ActionForbidden.php} (100%) rename lib/classes/Bridge/Exception/{ActionInvalidObjectId.class.php => ActionInvalidObjectId.php} (100%) rename lib/classes/Bridge/Exception/{ActionMandatoryField.class.php => ActionMandatoryField.php} (100%) rename lib/classes/Bridge/Exception/{ApiConnectorAccessTokenFailed.class.php => ApiConnectorAccessTokenFailed.php} (100%) rename lib/classes/Bridge/Exception/{ApiConnectorNotConfigured.class.php => ApiConnectorNotConfigured.php} (100%) rename lib/classes/Bridge/Exception/{ApiConnectorNotConnected.class.php => ApiConnectorNotConnected.php} (100%) rename lib/classes/Bridge/Exception/{ApiConnectorNotFound.class.php => ApiConnectorNotFound.php} (100%) rename lib/classes/Bridge/Exception/{ApiConnectorRequestFailed.class.php => ApiConnectorRequestFailed.php} (100%) rename lib/classes/Bridge/Exception/{ApiDisabled.class.php => ApiDisabled.php} (100%) rename lib/classes/Bridge/Exception/{ApiNotFound.class.php => ApiNotFound.php} (100%) rename lib/classes/Bridge/Exception/{ContainerUnknown.class.php => ContainerUnknown.php} (100%) rename lib/classes/Bridge/Exception/{ElementNotFound.class.php => ElementNotFound.php} (100%) rename lib/classes/Bridge/Exception/{ElementUnknown.class.php => ElementUnknown.php} (100%) rename lib/classes/Bridge/Exception/{InvalidRecordType.class.php => InvalidRecordType.php} (100%) rename lib/classes/Bridge/Exception/{ObjectUnknown.class.php => ObjectUnknown.php} (100%) rename lib/classes/Bridge/Exception/{TokenNotFound.class.php => TokenNotFound.php} (100%) rename lib/classes/{Browser.class.php => Browser.php} (100%) rename lib/classes/Exception/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/Exception/{BadRequest.class.php => BadRequest.php} (100%) rename lib/classes/Exception/Databox/{CollectionNotFound.class.php => CollectionNotFound.php} (100%) rename lib/classes/Exception/Databox/{FieldNotFound.class.php => FieldNotFound.php} (100%) rename lib/classes/Exception/Databox/{SubdefNotFound.class.php => SubdefNotFound.php} (100%) rename lib/classes/Exception/Databox/{metadataDescriptionNotFound.class.php => metadataDescriptionNotFound.php} (100%) rename lib/classes/Exception/{DataboxNotFound.class.php => DataboxNotFound.php} (100%) rename lib/classes/Exception/Feed/{EntryNotFound.class.php => EntryNotFound.php} (100%) rename lib/classes/Exception/Feed/{ItemNotFound.class.php => ItemNotFound.php} (100%) rename lib/classes/Exception/Feed/{PublisherNotFound.class.php => PublisherNotFound.php} (100%) rename lib/classes/Exception/{FeedNotFound.class.php => FeedNotFound.php} (100%) rename lib/classes/Exception/{Forbidden.class.php => Forbidden.php} (100%) rename lib/classes/Exception/{InternalServerError.class.php => InternalServerError.php} (100%) rename lib/classes/Exception/{InvalidArgument.class.php => InvalidArgument.php} (100%) rename lib/classes/Exception/Media/Subdef/{PermalinkNotFound.class.php => PermalinkNotFound.php} (100%) rename lib/classes/Exception/Media/{SubdefNotFound.class.php => SubdefNotFound.php} (100%) rename lib/classes/Exception/{NotAllowed.class.php => NotAllowed.php} (100%) rename lib/classes/Exception/{NotFound.class.php => NotFound.php} (100%) rename lib/classes/Exception/Record/{AdapterNotFound.class.php => AdapterNotFound.php} (100%) rename lib/classes/Exception/{ServiceUnavailable.class.php => ServiceUnavailable.php} (100%) rename lib/classes/Exception/Session/{AlreadyCreated.class.php => AlreadyCreated.php} (100%) rename lib/classes/Exception/Session/{BadSalinity.class.php => BadSalinity.php} (100%) rename lib/classes/Exception/Session/{Closed.class.php => Closed.php} (100%) rename lib/classes/Exception/Session/{LoggerNotFound.class.php => LoggerNotFound.php} (100%) rename lib/classes/Exception/Session/{MailLocked.class.php => MailLocked.php} (100%) rename lib/classes/Exception/Session/{NotAuthenticated.class.php => NotAuthenticated.php} (100%) rename lib/classes/Exception/Session/{RequireCaptcha.class.php => RequireCaptcha.php} (100%) rename lib/classes/Exception/Session/{StorageClosed.class.php => StorageClosed.php} (100%) rename lib/classes/Exception/Session/{WrongToken.class.php => WrongToken.php} (100%) rename lib/classes/Exception/Setup/{CannotWriteLockFile.class.php => CannotWriteLockFile.php} (100%) rename lib/classes/Exception/Setup/{FixBadEmailAddresses.class.php => FixBadEmailAddresses.php} (100%) rename lib/classes/Exception/Setup/{PhraseaAlreadyInstalled.class.php => PhraseaAlreadyInstalled.php} (100%) rename lib/classes/Exception/Setup/{UpgradeAlreadyStarted.class.php => UpgradeAlreadyStarted.php} (100%) rename lib/classes/Exception/{Unauthorized.class.php => Unauthorized.php} (100%) rename lib/classes/Exception/{UnauthorizedAction.class.php => UnauthorizedAction.php} (100%) rename lib/classes/Exception/Upload/{CannotWriteFile.class.php => CannotWriteFile.php} (100%) rename lib/classes/Exception/Upload/{Error.class.php => Error.php} (100%) rename lib/classes/Exception/Upload/{FileTooBig.class.php => FileTooBig.php} (100%) rename lib/classes/Feed/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/Feed/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/Feed/{Aggregate.class.php => Aggregate.php} (100%) rename lib/classes/Feed/{Collection.class.php => Collection.php} (100%) rename lib/classes/Feed/{CollectionInterface.class.php => CollectionInterface.php} (100%) rename lib/classes/Feed/Entry/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/Feed/Entry/{Collection.class.php => Collection.php} (100%) rename lib/classes/Feed/Entry/{CollectionInterface.class.php => CollectionInterface.php} (100%) rename lib/classes/Feed/Entry/{Interface.class.php => Interface.php} (100%) rename lib/classes/Feed/Entry/{Item.class.php => Item.php} (100%) rename lib/classes/Feed/Entry/{ItemInterface.class.php => ItemInterface.php} (100%) rename lib/classes/Feed/{Interface.class.php => Interface.php} (100%) rename lib/classes/Feed/{Link.class.php => Link.php} (100%) rename lib/classes/Feed/{LinkInterface.class.php => LinkInterface.php} (100%) rename lib/classes/Feed/Publisher/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/Feed/Publisher/{Interface.class.php => Interface.php} (100%) rename lib/classes/Feed/{Token.class.php => Token.php} (100%) rename lib/classes/Feed/{TokenAggregate.class.php => TokenAggregate.php} (100%) rename lib/classes/Feed/XML/{Abstract.class.php => Abstract.php} (100%) rename lib/classes/Feed/XML/{Atom.class.php => Atom.php} (100%) rename lib/classes/Feed/XML/{Cooliris.class.php => Cooliris.php} (100%) rename lib/classes/Feed/XML/{Interface.class.php => Interface.php} (100%) rename lib/classes/Feed/XML/{RSS.class.php => RSS.php} (100%) rename lib/classes/Feed/XML/RSS/{Image.class.php => Image.php} (100%) rename lib/classes/Feed/XML/RSS/{ImageInterface.class.php => ImageInterface.php} (100%) rename lib/classes/Session/Authentication/{Guest.class.php => Guest.php} (100%) rename lib/classes/Session/Authentication/{Interface.class.php => Interface.php} (100%) rename lib/classes/Session/Authentication/{Native.class.php => Native.php} (100%) rename lib/classes/Session/Authentication/{None.class.php => None.php} (100%) rename lib/classes/Session/Authentication/{PersistentCookie.class.php => PersistentCookie.php} (100%) rename lib/classes/Session/Authentication/{Token.class.php => Token.php} (100%) rename lib/classes/Session/{Logger.class.php => Logger.php} (100%) rename lib/classes/Setup/{Constraint.class.php => Constraint.php} (100%) rename lib/classes/Setup/{ConstraintsIterator.class.php => ConstraintsIterator.php} (100%) rename lib/classes/Setup/{Registry.class.php => Registry.php} (100%) rename lib/classes/Setup/{Upgrade.class.php => Upgrade.php} (100%) rename lib/classes/User/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/User/{Interface.class.php => Interface.php} (100%) rename lib/classes/User/{Query.class.php => Query.php} (100%) rename lib/classes/User/{QueryInterface.class.php => QueryInterface.php} (100%) rename lib/classes/{ZipArchiveImproved.class.php => ZipArchiveImproved.php} (100%) rename lib/classes/{appbox.class.php => appbox.php} (100%) rename lib/classes/appbox/{register.class.php => register.php} (100%) rename lib/classes/{base.class.php => base.php} (100%) delete mode 100644 lib/classes/bootstrap.class.php rename lib/classes/cache/{cacheableInterface.class.php => cacheableInterface.php} (100%) rename lib/classes/cache/{databox.class.php => databox.php} (100%) rename lib/classes/caption/Field/{Value.class.php => Value.php} (100%) rename lib/classes/caption/{field.class.php => field.php} (100%) rename lib/classes/caption/{interface.class.php => interface.php} (100%) rename lib/classes/caption/{record.class.php => record.php} (100%) rename lib/classes/{collection.class.php => collection.php} (100%) rename lib/classes/{connection.class.php => connection.php} (100%) rename lib/classes/connection/{abstract.class.php => abstract.php} (100%) rename lib/classes/connection/{interface.class.php => interface.php} (100%) rename lib/classes/connection/{pdo.class.php => pdo.php} (100%) rename lib/classes/connection/{pdoStatementDebugger.class.php => pdoStatementDebugger.php} (100%) rename lib/classes/{databox.class.php => databox.php} (100%) rename lib/classes/databox/Field/DCES/{Contributor.class.php => Contributor.php} (100%) rename lib/classes/databox/Field/DCES/{Coverage.class.php => Coverage.php} (100%) rename lib/classes/databox/Field/DCES/{Creator.class.php => Creator.php} (100%) rename lib/classes/databox/Field/DCES/{Date.class.php => Date.php} (100%) rename lib/classes/databox/Field/DCES/{Description.class.php => Description.php} (100%) rename lib/classes/databox/Field/DCES/{Format.class.php => Format.php} (100%) rename lib/classes/databox/Field/DCES/{Identifier.class.php => Identifier.php} (100%) rename lib/classes/databox/Field/DCES/{Language.class.php => Language.php} (100%) rename lib/classes/databox/Field/DCES/{Publisher.class.php => Publisher.php} (100%) rename lib/classes/databox/Field/DCES/{Relation.class.php => Relation.php} (100%) rename lib/classes/databox/Field/DCES/{Rights.class.php => Rights.php} (100%) rename lib/classes/databox/Field/DCES/{Source.class.php => Source.php} (100%) rename lib/classes/databox/Field/DCES/{Subject.class.php => Subject.php} (100%) rename lib/classes/databox/Field/DCES/{Title.class.php => Title.php} (100%) rename lib/classes/databox/Field/DCES/{Type.class.php => Type.php} (100%) rename lib/classes/databox/Field/{DCESAbstract.class.php => DCESAbstract.php} (100%) rename lib/classes/databox/{cgu.class.php => cgu.php} (100%) rename lib/classes/databox/{descriptionStructure.class.php => descriptionStructure.php} (100%) rename lib/classes/databox/{field.class.php => field.php} (100%) rename lib/classes/databox/{status.class.php => status.php} (100%) rename lib/classes/databox/{subdef.class.php => subdef.php} (100%) rename lib/classes/databox/{subdefsStructure.class.php => subdefsStructure.php} (100%) rename lib/classes/eventsmanager/{broker.class.php => broker.php} (100%) rename lib/classes/eventsmanager/event/{test.class.php => test.php} (100%) rename lib/classes/eventsmanager/{eventAbstract.class.php => eventAbstract.php} (100%) rename lib/classes/eventsmanager/notify/{autoregister.class.php => autoregister.php} (100%) rename lib/classes/eventsmanager/notify/{bridgeuploadfail.class.php => bridgeuploadfail.php} (100%) rename lib/classes/eventsmanager/notify/{downloadmailfail.class.php => downloadmailfail.php} (100%) rename lib/classes/eventsmanager/notify/{feed.class.php => feed.php} (100%) rename lib/classes/eventsmanager/notify/{order.class.php => order.php} (100%) rename lib/classes/eventsmanager/notify/{orderdeliver.class.php => orderdeliver.php} (100%) rename lib/classes/eventsmanager/notify/{ordernotdelivered.class.php => ordernotdelivered.php} (100%) rename lib/classes/eventsmanager/notify/{push.class.php => push.php} (100%) rename lib/classes/eventsmanager/notify/{register.class.php => register.php} (100%) rename lib/classes/eventsmanager/notify/{uploadquarantine.class.php => uploadquarantine.php} (100%) rename lib/classes/eventsmanager/notify/{validate.class.php => validate.php} (100%) rename lib/classes/eventsmanager/notify/{validationdone.class.php => validationdone.php} (100%) rename lib/classes/eventsmanager/notify/{validationreminder.class.php => validationreminder.php} (100%) rename lib/classes/eventsmanager/{notifyAbstract.class.php => notifyAbstract.php} (100%) rename lib/classes/{format.class.php => format.php} (100%) rename lib/classes/{ftpclient.class.php => ftpclient.php} (100%) rename lib/classes/{gatekeeper.class.php => gatekeeper.php} (100%) rename lib/classes/{geonames.class.php => geonames.php} (100%) rename lib/classes/http/{query.class.php => query.php} (100%) rename lib/classes/http/{request.class.php => request.php} (100%) rename lib/classes/{liste.class.php => liste.php} (100%) rename lib/classes/{login.class.php => login.php} (100%) rename lib/classes/{mail.class.php => mail.php} (100%) rename lib/classes/media/Permalink/{Adapter.class.php => Adapter.php} (100%) rename lib/classes/media/Permalink/{Interface.class.php => Interface.php} (100%) rename lib/classes/media/{abstract.class.php => abstract.php} (100%) rename lib/classes/media/{adapter.class.php => adapter.php} (100%) rename lib/classes/media/{subdef.class.php => subdef.php} (100%) rename lib/classes/module/{client.class.php => client.php} (100%) rename lib/classes/module/console/{aboutAuthors.class.php => aboutAuthors.php} (100%) rename lib/classes/module/console/{aboutLicense.class.php => aboutLicense.php} (100%) rename lib/classes/module/console/{checkExtension.class.php => checkExtension.php} (100%) rename lib/classes/module/console/{fieldsDelete.class.php => fieldsDelete.php} (100%) rename lib/classes/module/console/{fieldsList.class.php => fieldsList.php} (100%) rename lib/classes/module/console/{fieldsMerge.class.php => fieldsMerge.php} (100%) rename lib/classes/module/console/{fieldsRename.class.php => fieldsRename.php} (100%) rename lib/classes/module/console/{fileEnsureDevSetting.class.php => fileEnsureDevSetting.php} (100%) rename lib/classes/module/console/{fileEnsureProductionSetting.class.php => fileEnsureProductionSetting.php} (100%) rename lib/classes/module/console/{schedulerStart.class.php => schedulerStart.php} (100%) rename lib/classes/module/console/{schedulerState.class.php => schedulerState.php} (100%) rename lib/classes/module/console/{schedulerStop.class.php => schedulerStop.php} (100%) rename lib/classes/module/console/{sphinxGenerateSuggestion.class.php => sphinxGenerateSuggestion.php} (100%) rename lib/classes/module/console/{systemBackupDB.class.php => systemBackupDB.php} (100%) rename lib/classes/module/console/{systemClearCache.class.php => systemClearCache.php} (100%) rename lib/classes/module/console/{systemConfigCheck.class.php => systemConfigCheck.php} (100%) rename lib/classes/module/console/{systemExport.class.php => systemExport.php} (100%) rename lib/classes/module/console/{systemMailCheck.class.php => systemMailCheck.php} (100%) rename lib/classes/module/console/{systemTemplateGenerator.class.php => systemTemplateGenerator.php} (100%) rename lib/classes/module/console/{systemUpgrade.class.php => systemUpgrade.php} (97%) rename lib/classes/module/console/{taskState.class.php => taskState.php} (100%) rename lib/classes/module/console/{tasklist.class.php => tasklist.php} (100%) rename lib/classes/module/console/{taskrun.class.php => taskrun.php} (100%) rename lib/classes/module/{report.class.php => report.php} (100%) rename lib/classes/module/report/{activity.class.php => activity.php} (100%) rename lib/classes/module/report/{add.class.php => add.php} (100%) rename lib/classes/module/report/{connexion.class.php => connexion.php} (100%) rename lib/classes/module/report/{dashboard.class.php => dashboard.php} (100%) rename lib/classes/module/report/dashboard/{componentInterface.class.php => componentInterface.php} (100%) rename lib/classes/module/report/dashboard/{feed.class.php => feed.php} (100%) rename lib/classes/module/report/dashboard/{group.class.php => group.php} (100%) rename lib/classes/module/report/dashboard/{merge.class.php => merge.php} (100%) rename lib/classes/module/report/dashboard/{sort.class.php => sort.php} (100%) rename lib/classes/module/report/{download.class.php => download.php} (100%) rename lib/classes/module/report/{edit.class.php => edit.php} (100%) rename lib/classes/module/report/{filter.class.php => filter.php} (100%) rename lib/classes/module/report/{nav.class.php => nav.php} (100%) rename lib/classes/module/report/{push.class.php => push.php} (100%) rename lib/classes/module/report/{question.class.php => question.php} (100%) rename lib/classes/module/report/{sql.class.php => sql.php} (100%) rename lib/classes/module/report/{sqlReportInterface.class.php => sqlReportInterface.php} (100%) rename lib/classes/module/report/{sqlaction.class.php => sqlaction.php} (100%) rename lib/classes/module/report/{sqlconnexion.class.php => sqlconnexion.php} (100%) rename lib/classes/module/report/{sqldownload.class.php => sqldownload.php} (100%) rename lib/classes/module/report/{sqlfilter.class.php => sqlfilter.php} (100%) rename lib/classes/module/report/{sqlquestion.class.php => sqlquestion.php} (100%) rename lib/classes/module/report/{validate.class.php => validate.php} (100%) rename lib/classes/{p4field.class.php => p4field.php} (100%) rename lib/classes/{p4file.class.php => p4file.php} (100%) rename lib/classes/{p4string.class.php => p4string.php} (100%) rename lib/classes/patch/{320.class.php => 320.php} (100%) rename lib/classes/patch/{320a.class.php => 320a.php} (100%) rename lib/classes/patch/{320ab.class.php => 320ab.php} (100%) rename lib/classes/patch/{320b.class.php => 320b.php} (100%) rename lib/classes/patch/{320c.class.php => 320c.php} (100%) rename lib/classes/patch/{320d.class.php => 320d.php} (100%) rename lib/classes/patch/{320e.class.php => 320e.php} (100%) rename lib/classes/patch/{320f.class.php => 320f.php} (100%) rename lib/classes/patch/{320h.class.php => 320h.php} (100%) rename lib/classes/patch/{360.class.php => 360.php} (100%) rename lib/classes/patch/{3602.class.php => 3602.php} (100%) rename lib/classes/patch/{3603.class.php => 3603.php} (100%) rename lib/classes/patch/{3604.class.php => 3604.php} (100%) rename lib/classes/patch/{361.class.php => 361.php} (100%) rename lib/classes/patch/{370.class.php => 370.php} (100%) rename lib/classes/patch/{370a3.class.php => 370a3.php} (100%) rename lib/classes/patch/{370a4.class.php => 370a4.php} (100%) rename lib/classes/patch/{370a5.class.php => 370a5.php} (100%) rename lib/classes/patch/{370a6.class.php => 370a6.php} (100%) rename lib/classes/patch/{370a7.class.php => 370a7.php} (100%) rename lib/classes/patch/{370a8.class.php => 370a8.php} (100%) rename lib/classes/patch/{370a9.class.php => 370a9.php} (100%) rename lib/classes/patch/{371.class.php => 371.php} (100%) rename lib/classes/patch/{373.class.php => 373.php} (100%) rename lib/classes/patch/{380.class.php => 380.php} (100%) rename lib/classes/patch/{3802.class.php => 3802.php} (100%) rename lib/classes/patch/{3803.class.php => 3803.php} (100%) rename lib/classes/{patchInterface.class.php => patchInterface.php} (100%) rename lib/classes/{phrasea.class.php => phrasea.php} (94%) rename lib/classes/{phraseadate.class.php => phraseadate.php} (100%) rename lib/classes/{queries.class.php => queries.php} (100%) rename lib/classes/{random.class.php => random.php} (100%) rename lib/classes/record/{Interface.class.php => Interface.php} (100%) rename lib/classes/record/{adapter.class.php => adapter.php} (100%) rename lib/classes/record/{exportElement.class.php => exportElement.php} (100%) rename lib/classes/record/{orderElement.class.php => orderElement.php} (100%) rename lib/classes/record/{preview.class.php => preview.php} (100%) rename lib/classes/{recordutils.class.php => recordutils.php} (100%) rename lib/classes/recordutils/{audio.class.php => audio.php} (100%) rename lib/classes/recordutils/{document.class.php => document.php} (100%) rename lib/classes/recordutils/{image.class.php => image.php} (100%) rename lib/classes/recordutils/{map.class.php => map.php} (100%) rename lib/classes/recordutils/{video.class.php => video.php} (100%) rename lib/classes/{registry.class.php => registry.php} (100%) rename lib/classes/{registryInterface.class.php => registryInterface.php} (100%) rename lib/classes/set/{abstract.class.php => abstract.php} (100%) rename lib/classes/set/{export.class.php => export.php} (100%) rename lib/classes/set/{exportftp.class.php => exportftp.php} (100%) rename lib/classes/set/{order.class.php => order.php} (100%) rename lib/classes/set/{selection.class.php => selection.php} (100%) rename lib/classes/{setup.class.php => setup.php} (100%) rename lib/classes/{sso.class.php => sso.php} (100%) rename lib/classes/system/{server.class.php => server.php} (100%) rename lib/classes/system/{url.class.php => url.php} (100%) rename lib/classes/task/{Scheduler.class.php => Scheduler.php} (100%) rename lib/classes/task/{abstract.class.php => abstract.php} (100%) rename lib/classes/task/{appboxAbstract.class.php => appboxAbstract.php} (100%) rename lib/classes/task/{databoxAbstract.class.php => databoxAbstract.php} (100%) rename lib/classes/task/{manager.class.php => manager.php} (99%) rename lib/classes/task/period/{RecordMover.class.php => RecordMover.php} (100%) rename lib/classes/task/period/{apibridge.class.php => apibridge.php} (100%) rename lib/classes/task/period/{archive.class.php => archive.php} (100%) rename lib/classes/task/period/{cindexer.class.php => cindexer.php} (100%) rename lib/classes/task/period/{emptyColl.class.php => emptyColl.php} (100%) rename lib/classes/task/period/{ftp.class.php => ftp.php} (100%) rename lib/classes/task/period/{ftpPull.class.php => ftpPull.php} (100%) rename lib/classes/task/period/{outofdate.class.php => outofdate.php} (100%) rename lib/classes/task/period/{subdef.class.php => subdef.php} (100%) rename lib/classes/task/period/{test.class.php => test.php} (100%) rename lib/classes/task/period/{workflow01.class.php => workflow01.php} (100%) rename lib/classes/task/period/{writemeta.class.php => writemeta.php} (100%) rename lib/classes/{thesaurus.class.php => thesaurus.php} (100%) rename lib/classes/thesaurus/{xpath.class.php => xpath.php} (100%) rename lib/classes/{unicode.class.php => unicode.php} (100%) rename lib/classes/{uuid.class.php => uuid.php} (100%) delete mode 100644 tests/Alchemy/Phrasea/Controller/BoilerPlate.php delete mode 100644 tests/Alchemy/Phrasea/Controller/Setup/FakeSetupApplication.inc delete mode 100644 tests/Alchemy/Phrasea/Loader/AutoloaderTest.php delete mode 100644 tests/Alchemy/Phrasea/Loader/CacheAutoloaderTest.php delete mode 100644 tests/Alchemy/Phrasea/Loader/Fixtures/Test/Hello.class.php delete mode 100644 tests/Alchemy/Phrasea/Loader/Fixtures/Test/HelloCache.class.php delete mode 100644 tests/Alchemy/Phrasea/Loader/Fixtures/Test/test.class.php delete mode 100644 tests/Alchemy/Phrasea/Setup/AbstractSetupTester.inc rename tests/Alchemy/{Phrasea/Application/ApiAbstract.inc => Tests/Phrasea/Application/ApiAbstract.php} (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/ApiJSONPTest.php (90%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/ApiJsonTest.php (59%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/ApiYamlTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/LightboxTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/OAuth2Test.php (84%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/OverviewTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/RootTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Application/SetupTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/ApplicationTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Attribute/FactoryTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Attribute/MetaFieldTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Attribute/MetadataTest.php (93%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Attribute/StatusTest.php (93%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Attribute/StoryTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/AbstractCheckerTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/ColorspaceTest.php (93%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/DimensionTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/ExtensionTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/FilenameTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/MediaTypeTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/ResponseTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/Sha256Test.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/Checker/UUIDTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/FileTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/ManagerTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/MetaFieldsBagTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/MetadataBagTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Border/VisaTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Cache/ApcCacheTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Cache/ArrayCacheTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Cache/MemcacheCacheTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Cache/RedisCacheTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Cache/XcacheCacheTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Command/CommandTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Command/UpgradeDBDatasTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/AdminCollectionTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/AdminDashboardTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/ConnectedUserTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/DataboxTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/DataboxesTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/DescriptionTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/FieldsTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/PublicationTest.php (80%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/RootTest.php (76%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/SearchEngineTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/SetupTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/SubdefsTest.php (80%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/TaskManagerTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Admin/UsersTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/BasketTest.php (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/BridgeTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/DoDownloadTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/DownloadTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/EditTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/ExportTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/FeedTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/LanguageTest.php (77%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/LazaretTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/MoveCollectionTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/MustacheLoaderTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/OrderTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/PrinterTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/PropertyTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/PushTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/QueryTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/RecordsTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/RootTest.php (78%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/ShareTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/StoryTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/TOUTest.php (96%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/TooltipTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/UploadTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/UsrListsTest.php (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Prod/WorkZoneTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/RecordsRequestTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Root/AccountTest.php (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Root/DevelopersTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Root/LoginTest.php (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Root/RSSFeedTest.php (76%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Root/SessionTest.php (97%) create mode 100644 tests/Alchemy/Tests/Phrasea/Controller/Setup/FakeSetupApplication.inc rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Setup/InstallerTest.php (90%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/User/NotificationsTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/User/PreferencesTest.php (93%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Utils/ConnectionTestTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Controller/Utils/PathFileTestTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Configuration/ConfigurationTest.php (99%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Configuration/confTestFiles/config.yml (100%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Configuration/confTestFiles/test.json (100%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/BorderManagerServiceProviderTest.php (73%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/BrowserServiceProviderTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/CacheServiceProviderTest.php (81%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/ConfigurationServiceProviderTest.php (74%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/ConfigurationTesterServiceProviderTest.php (75%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/GeonamesServiceProviderTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/ORMServiceProviderTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/SearchEngineServiceProviderTest.php (78%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/TaskManagerServiceProviderTest.php (76%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Provider/UnicodeServiceProviderTest.php (75%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Border/BorderManagerTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Cache/ApcCacheTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Cache/ArrayCacheTest.php (83%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Cache/MemcacheCacheTest.php (90%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Cache/XcacheCacheTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Log/Doctrine/MonologTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Log/Doctrine/PhpechoTest.php (74%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Log/MonologTest.php (94%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/Orm/DoctrineTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/Service/ServiceAbtractTest.php (79%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/ServiceBuilder/AbstractBuilderTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/ServiceBuilder/CacheBuilderTest.php (82%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/ServiceBuilder/LogBuilderTest.php (92%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/ServiceBuilder/OrmBuilderTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Core/VersionTest.php (86%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/AudioTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/FlexPaperTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/GifTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/ImageTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/OptionType/BooleanTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/OptionType/EnumTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/OptionType/MultiTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/OptionType/RangeTest.php (93%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/ProviderTest.php (90%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Subdef/VideoTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Type/AudioTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Type/DocumentTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Type/FlashTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Type/ImageTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Media/Type/VideoTest.php (70%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/NosourceTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/PdfTextTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfArchivedateTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfAtimeTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfBasenameTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfBitsTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfChannelsTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfCtimeTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfDirnameTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfDurationTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfEditDateTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfExtensionTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfFilenameTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfFilepathTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfHeightTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfMimeTypeTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfMtimeTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfQuarantineTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfRecordidTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfSizeTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/Metadata/Tag/TfWidthTest.php (87%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/ConfigurationPanelAbstractTest.php (89%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/PhraseaConfigurationPanelTest.php (81%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/PhraseaEngineTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SearchEngineAbstractTest.php (96%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SearchEngineLoggerTest.php (90%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SearchEngineOptionsTest.php (98%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SearchEngineResultTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SearchEngineSuggestionTest.php (82%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SphinxSearchConfigurationPanelTest.php (91%) rename tests/Alchemy/{ => Tests}/Phrasea/SearchEngine/SphinxSearchEngineTest.php (97%) rename tests/Alchemy/{ => Tests}/Phrasea/Security/FirewallTest.php (87%) create mode 100644 tests/Alchemy/Tests/Phrasea/Setup/AbstractSetupTester.php rename tests/Alchemy/{ => Tests}/Phrasea/Setup/ConfigurationTesterTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Setup/InstallerTest.php (88%) rename tests/Alchemy/{Phrasea/Setup/TestSpecifications.inc => Tests/Phrasea/Setup/TestSpecifications.php} (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Setup/Version/Migration/Migration31Test.php (63%) rename tests/Alchemy/{ => Tests}/Phrasea/Setup/Version/Migration/Migration35Test.php (84%) rename tests/Alchemy/{ => Tests}/Phrasea/Setup/Version/Probe/Probe31Test.php (79%) rename tests/Alchemy/{ => Tests}/Phrasea/Setup/Version/Probe/Probe35Test.php (79%) rename tests/Alchemy/{ => Tests}/Phrasea/Vocabulary/ControlProvider/UserProviderTest.php (95%) rename tests/Alchemy/{ => Tests}/Phrasea/Vocabulary/ControllerTest.php (88%) rename tests/Alchemy/{ => Tests}/Phrasea/Vocabulary/TermTest.php (94%) delete mode 100644 tests/bootstrap.inc create mode 100644 tests/bootstrap.php rename tests/{ => classes}/ACLTest.php (99%) rename tests/{ => classes}/Bridge/Api/Auth/Bridge_Api_Auth_AbstractTest.php (83%) rename tests/{ => classes}/Bridge/Api/Auth/Bridge_Api_Auth_FlickrTest.php (98%) rename tests/{ => classes}/Bridge/Api/Auth/Bridge_Api_Auth_OAuth2Test.php (98%) rename tests/{ => classes}/Bridge/Api/Bridge_Api_AbstractCollectionTest.php (98%) rename tests/{ => classes}/Bridge/Api/Bridge_Api_AbstractTest.php (98%) rename tests/{ => classes}/Bridge/Api/Bridge_Api_ContainerCollectionTest.php (86%) rename tests/{ => classes}/Bridge/Api/Bridge_Api_ElementCollectionTest.php (86%) rename tests/{ => classes}/Bridge/Api/Dailymotion/Bridge_Api_Dailymotion_ContainerTest.php (94%) rename tests/{ => classes}/Bridge/Api/Dailymotion/Bridge_Api_Dailymotion_ElementTest.php (97%) rename tests/{ => classes}/Bridge/Api/Flickr/Bridge_Api_Flickr_ContainerTest.php (97%) rename tests/{ => classes}/Bridge/Api/Flickr/Bridge_Api_Flickr_ElementTest.php (98%) rename tests/{ => classes}/Bridge/Api/Youtube/Bridge_Api_Youtube_ContainerTest.php (97%) rename tests/{ => classes}/Bridge/Api/Youtube/Bridge_Api_Youtube_ElementTest.php (98%) rename tests/{ => classes}/Bridge/Bridge_AccountSettingsTest.php (96%) rename tests/{ => classes}/Bridge/Bridge_AccountTest.php (98%) rename tests/{ => classes}/Bridge/Bridge_ApiTest.php (98%) rename tests/{ => classes}/Bridge/Bridge_ElementTest.php (98%) rename tests/{ => classes}/Bridge/Bridge_datas.inc (100%) rename tests/{ => classes}/Doctrine/Entities/BasketTest.php (98%) rename tests/{ => classes}/Doctrine/Repositories/ValidationParticipantRepositoryTest.php (89%) rename tests/{ => classes}/Feed/Entry/Feed_Entry_AdapterTest.php (98%) rename tests/{ => classes}/Feed/Entry/Feed_Entry_CollectionTest.php (97%) rename tests/{ => classes}/Feed/Entry/Feed_Entry_ItemTest.php (97%) rename tests/{ => classes}/Feed/Feed_AdapterTest.php (98%) rename tests/{ => classes}/Feed/Feed_AggregateTest.php (98%) rename tests/{ => classes}/Feed/Feed_CollectionTest.php (97%) rename tests/{ => classes}/Feed/Feed_LinkTest.php (91%) rename tests/{ => classes}/Feed/Publisher/Feed_Publisher_AdapterTest.php (96%) rename tests/{ => classes}/Feed/XML/Feed_XML_AtomTest.php (99%) rename tests/{ => classes}/Feed/XML/Feed_XML_RSSTest.php (98%) rename tests/{ => classes}/Feed/XML/RSS/Feed_XML_RSS_ImageTest.php (96%) rename tests/{ => classes}/FeedValidator.inc (100%) rename tests/{PhraseanetPHPUnitAbstract.class.inc => classes/PhraseanetPHPUnitAbstract.php} (98%) rename tests/{PhraseanetPHPUnitAuthenticatedAbstract.class.inc => classes/PhraseanetPHPUnitAuthenticatedAbstract.php} (87%) rename tests/{PhraseanetPHPUnitListener.class.inc => classes/PhraseanetPHPUnitListener.php} (100%) rename tests/{PhraseanetWebTestCaseAbstract.class.inc => classes/PhraseanetWebTestCaseAbstract.php} (76%) rename tests/{PhraseanetWebTestCaseAuthenticatedAbstract.class.inc => classes/PhraseanetWebTestCaseAuthenticatedAbstract.php} (98%) rename tests/{ => classes}/Session/Authentication/Session_Authentication_GuestTest.php (87%) rename tests/{ => classes}/Session/Authentication/Session_Authentication_NativeTest.php (94%) rename tests/{ => classes}/Session/Session_LoggerTest.php (97%) rename tests/{ => classes}/Setup/Setup_ConstraintTest.php (94%) rename tests/{ => classes}/Setup/Setup_UpgradeTest.php (97%) rename tests/{ => classes}/api/oauthv2/API_OAuth2_AuthCodeTest.php (97%) rename tests/{ => classes}/api/oauthv2/API_OAuth2_RefreshTokenTest.php (97%) rename tests/{ => classes}/api/oauthv2/api_oauthv2_AccountTest.php (96%) rename tests/{ => classes}/api/oauthv2/api_oauthv2_ApplicationTest.php (98%) rename tests/{ => classes}/api/oauthv2/api_oauthv2_TokenTest.php (97%) rename tests/{ => classes}/api/v1/api_v1_adapterTest.php (98%) rename tests/{ => classes}/api/v1/api_v1_resultTest.php (99%) rename tests/{ => classes}/caption/caption_fieldTest.php (94%) rename tests/{ => classes}/caption/caption_recordTest.php (98%) rename tests/{ => classes}/collectionTest.php (97%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_ContributorTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_CoverageTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_CreatorTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_DateTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_DescriptionTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_FormatTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_IdentifierTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_LanguageTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_PublisherTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_RelationTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_RightsTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_SourceTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_SubjectTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_TitleTest.php (92%) rename tests/{ => classes}/databox/Field/DCES/databox_Field_DCES_TypeTest.php (92%) rename tests/{ => classes}/databox/databox_fieldTest.php (99%) rename tests/{ => classes}/databox/databox_statusTest.php (98%) rename tests/{ => classes}/databox/databox_subdefTest.php (100%) rename tests/{ => classes}/databoxTest.php (95%) rename tests/{ => classes}/geonamesTest.php (97%) rename tests/{ => classes}/http/http_requestTest.php (98%) rename tests/{ => classes}/media/Permalink/media_Permalink_AdapterTest.php (98%) rename tests/{ => classes}/media/media_subdefTest.php (98%) rename tests/{ => classes}/module/console/module_console_aboutAuthorsTest.php (83%) rename tests/{ => classes}/module/console/module_console_aboutLicenseTest.php (83%) rename tests/{ => classes}/module/console/module_console_schedulerStateTest.php (93%) rename tests/{ => classes}/module/console/module_console_systemTemplateGeneratorTest.php (91%) rename tests/{ => classes}/module/console/module_console_taskStateTest.php (96%) rename tests/{ => classes}/module/console/module_console_tasklistTest.php (92%) rename tests/{ => classes}/p4stringTest.php (98%) rename tests/{ => classes}/randomTest.php (98%) rename tests/{ => classes}/record/adapterTest.php (99%) rename tests/{ => classes}/registryTest.php (98%) rename tests/{ => classes}/report/activityTest.php (98%) rename tests/{ => classes}/report/addTest.php (98%) rename tests/{ => classes}/report/connexionReportTest.php (97%) rename tests/{ => classes}/report/dashboardTest.php (98%) rename tests/{ => classes}/report/downloadReportTest.php (98%) rename tests/{ => classes}/report/editTest.php (98%) rename tests/{ => classes}/report/filterTest.php (97%) rename tests/{ => classes}/report/pushTest.php (98%) rename tests/{ => classes}/report/questionReportTest.php (98%) rename tests/{ => classes}/report/reportTest.php (98%) rename tests/{ => classes}/report/sqlActionTest.php (87%) rename tests/{ => classes}/report/sqlFilterTest.php (98%) rename tests/{ => classes}/report/sqlTest.php (92%) rename tests/{ => classes}/set/set_exportTest.php (77%) rename tests/{ => classes}/system/system_serverTest.php (95%) rename tests/{ => classes}/system/system_urlTest.php (86%) rename tests/{ => classes}/task/period/task_period_archiveTest.php (98%) rename tests/{ => classes}/task/task_abstractTest.php (98%) rename tests/{ => classes}/thesaurusTest.php (86%) rename tests/{ => classes}/unicodeTest.php (89%) rename tests/{ => classes}/unitTestsTest.php (64%) rename tests/{ => classes}/userTest.php (94%) rename tests/{ => classes}/uuidTest.php (97%) rename tests/{testfiles => files}/14082008057.mp4 (100%) rename tests/{testfiles => files}/HelloWorld.pdf (100%) rename tests/{testfiles => files}/ISOLatin1.txt (100%) rename tests/{testfiles => files}/ISOLatin2.txt (100%) rename tests/{testfiles => files}/Latin5.txt (100%) rename tests/{testfiles => files}/MacOSRoman.txt (100%) rename tests/{testfiles => files}/UTF-8.txt (100%) rename tests/{testfiles => files}/WindowsLatin1.txt (100%) rename tests/{testfiles => files}/WindowsLatin2.txt (100%) rename tests/{testfiles => files}/cestlafete.jpg (100%) rename tests/{testfiles => files}/extractfile.jpg (100%) rename tests/{testfiles => files}/extractfile.xml (100%) rename tests/{testfiles => files}/heavy500.jpg (100%) rename tests/{testfiles => files}/iphone_pic.jpg (100%) rename tests/{testfiles => files}/logocoll.gif (100%) rename tests/{testfiles => files}/p4logo.jpg (100%) rename tests/{testfiles => files}/recta_logo.gif (100%) rename tests/{testfiles => files}/rectb_logo.gif (100%) rename tests/{testfiles => files}/test001.CR2 (100%) rename tests/{testfiles => files}/test002.CR2 (100%) rename tests/{testfiles => files}/test003.CR2 (100%) rename tests/{testfiles => files}/test004.CR2 (100%) rename tests/{testfiles => files}/test005.CR2 (100%) rename tests/{testfiles => files}/test006.wav (100%) rename tests/{testfiles => files}/test007.ppt (100%) rename tests/{testfiles => files}/test008.ai (100%) rename tests/{testfiles => files}/test009.TIFF (100%) rename tests/{testfiles => files}/test010.fla (100%) rename tests/{testfiles => files}/test011.swf (100%) rename tests/{testfiles => files}/test012.wav (100%) rename tests/{testfiles => files}/test013.ai (100%) rename tests/{testfiles => files}/test013.fla (100%) rename tests/{testfiles => files}/test014.swf (100%) rename tests/{testfiles => files}/test015.eps (100%) rename tests/{testfiles => files}/test016.ai (100%) rename tests/{testfiles => files}/test017.wav (100%) rename tests/{testfiles => files}/test018.TIFF (100%) rename tests/{testfiles => files}/test019.mp3 (100%) rename tests/{testfiles => files}/test020.mp3 (100%) rename tests/{testfiles => files}/test021.fla (100%) rename tests/{testfiles => files}/test022.swf (100%) rename tests/{testfiles => files}/test023.mp4 (100%) rename tests/{testfiles => files}/test024.jpg (100%) diff --git a/bin/console b/bin/console index b1e49cb105..65e5b85000 100755 --- a/bin/console +++ b/bin/console @@ -24,7 +24,7 @@ use Alchemy\Phrasea\Command\RecordAdd; use Alchemy\Phrasea\Command\CreateCollection; use Alchemy\Phrasea\CLI; -require_once dirname(__FILE__) . '/../lib/bootstrap.php'; +require_once __DIR__ . '/../vendor/autoload.php'; try { $app = new CLI(" diff --git a/bin/doctrine b/bin/doctrine index dcf1664884..83f4511b84 100755 --- a/bin/doctrine +++ b/bin/doctrine @@ -31,7 +31,7 @@ use Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand; use Doctrine\ORM\Tools\Console\Command\RunDqlCommand; use Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand; -require_once dirname(__FILE__) . '/../lib/bootstrap.php'; +require_once __DIR__ . '/../vendor/autoload.php'; try { $cli = new CLI("Phraseanet Doctrine Console"); diff --git a/bin/setup b/bin/setup index e58135ad5b..b43d1fae58 100755 --- a/bin/setup +++ b/bin/setup @@ -21,7 +21,7 @@ use Alchemy\Phrasea\Command\UpgradeDBDatas; use Alchemy\Phrasea\Command\Setup\Install; use Alchemy\Phrasea\CLI; -require_once dirname(__FILE__) . '/../lib/bootstrap.php'; +require_once __DIR__ . '/../vendor/autoload.php'; try { $app = new CLI(" diff --git a/builder.php b/builder.php index 7c501862d2..2c0492df4b 100755 --- a/builder.php +++ b/builder.php @@ -5,15 +5,15 @@ * */ +use Symfony\Component\Finder\Finder; + +require __DIR__ . '/vendor/autoload.php'; + printf('Retrieve vendors ...' . PHP_EOL); system('./vendors.php --no-dev'); -require_once __DIR__ . '/lib/classes/bootstrap.class.php'; - -\bootstrap::register_autoloads(); - -use Symfony\Component\Finder\Finder; +system(__DIR__ . '/composer.phar dump-autoload'); chdir(__DIR__); diff --git a/cleaner.php b/cleaner.php index 316453070c..1941a5737c 100755 --- a/cleaner.php +++ b/cleaner.php @@ -5,12 +5,10 @@ * */ -require_once __DIR__ . '/lib/classes/bootstrap.class.php'; - -\bootstrap::register_autoloads(); - use Symfony\Component\Finder\Finder; +require __DIR__ . '/vendor/autoload.php'; + chdir(__DIR__); set_time_limit(0); diff --git a/composer.json b/composer.json index 96ee5e6f35..b8dcf6a579 100644 --- a/composer.json +++ b/composer.json @@ -55,7 +55,15 @@ ], "autoload": { "psr-0": { - "Alchemy": "lib" + "": "lib/classes", + "Alchemy": "lib", + "Doctrine": "lib", + "Entities": "lib/Doctrine", + "Types": "lib/Doctrine", + "Repositories": "lib/Doctrine", + "Proxies": "lib/Doctrine", + "PhraseaFixture": "lib/conf.d" } - } + }, + "include-path": ["vendor/zend/gdata/library"] } diff --git a/functionnal-tests/api/dailymotion.php b/functionnal-tests/api/dailymotion.php index 4a7339a745..084c46eb2d 100644 --- a/functionnal-tests/api/dailymotion.php +++ b/functionnal-tests/api/dailymotion.php @@ -1,17 +1,12 @@ writeln('could not parse configuration file'); return; } - - + + $appbox = \appbox::get_instance($core); - + $found = false; foreach ($appbox->get_databoxes() as $databox) { /* @var $databox \databox */ @@ -44,16 +39,16 @@ $console } unset($stmt); } - + if (!$found) { $output->writeln('No video found, '); return; } - + $bridge = new \Bridge_Api_Dailymotion($core['Registry'], new \Bridge_Api_Auth_OAuth2()); - + $bridge->set_oauth_token($configuration['dailymotion']['dev_token']); - + $options = array(); $samples = array( 'title' => $record->get_title(), @@ -61,11 +56,11 @@ $console 'tags' => 'phraseanet upload test dm api', 'private' => true, ); - + foreach($bridge->get_fields() as $field) { - $options[$field['name']] = isset($samples[$field['name']]) ? $samples[$field['name']] : uniqid('test_upload'); + $options[$field['name']] = isset($samples[$field['name']]) ? $samples[$field['name']] : uniqid('test_upload'); } - + try { $idVideo = $bridge->upload($record, $options); $output->writeln(sprintf('video id is %s', $idVideo)); diff --git a/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php b/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php index ea13abb98b..7378ecabe8 100644 --- a/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php +++ b/lib/Alchemy/Phrasea/Controller/Utils/ConnectionTest.php @@ -30,8 +30,7 @@ class ConnectionTest implements ControllerProviderInterface * @todo : check this as it would lead to a security issue */ $controllers->get('/mysql/', function(Application $app) { - require_once __DIR__ . '/../../../../classes/connection/pdo.class.php'; - + $request = $app['request']; $hostname = $request->query->get('hostname', '127.0.0.1'); $port = (int) $request->query->get('port', 3306); diff --git a/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php b/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php deleted file mode 100644 index e5dc838526..0000000000 --- a/lib/Alchemy/Phrasea/Loader/ApcAutoloader.php +++ /dev/null @@ -1,37 +0,0 @@ -paths['config'] = __DIR__ . '/../../../../config/classes/'; - $this->paths['library'] = __DIR__ . '/../../../classes/'; - - $getComposerClassMap = function() { - return require realpath(__DIR__ . '/../../../../vendor/composer/autoload_classmap.php'); - }; - - $this->classmap = $getComposerClassMap(); - } - - /** - * {@inheritdoc} - */ - public function findFile($class) - { - if ( ! $file = $this->checkFile($class)) { - $file = parent::findFile($class); - } - - return $file; - } - - /** - * Add a path to look for autoloading phraseanet classes - * @param string $name - * @param string $path - */ - public function addPath($name, $path) - { - $this->paths[$name] = \p4string::addEndSlash($path); - } - - /** - * Check whether a class with $class name exists - * foreach declared paths - * @param string $class - * @return mixed string|null - */ - private function checkFile($classname) - { - if (isset($this->classmap[$classname])) { - return $this->classmap[$classname]; - } - - $normalized_classname = str_replace('_', '/', $classname); - - foreach ($this->paths as $path) { - $file = $path . $normalized_classname . '.class.php'; - - if (file_exists($file)) { - return $file; - } - } - } - - /** - * Get Paths where classes are checked for autoloading - * @return Array - */ - public function getPaths() - { - return $this->paths; - } -} diff --git a/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php b/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php deleted file mode 100644 index be8d5e9172..0000000000 --- a/lib/Alchemy/Phrasea/Loader/CacheAutoloader.php +++ /dev/null @@ -1,128 +0,0 @@ -prefix = $prefix; - - foreach ($this->cacheAdapters as $className) { - $file = sprintf("%s/%sAutoloader.php", __DIR__, $className); - - if ( ! file_exists($file)) { - continue; - } - - require_once $file; - - $className = sprintf("\Alchemy\Phrasea\Loader\%sAutoloader", $className); - - if ( ! class_exists($className)) { - continue; - } - - $method = new $className(); - - if ($namespace) { - $method->setNamespace($namespace); - } - - if ($method instanceof LoaderStrategy && $method->isAvailable()) { - $this->cacheAdapter = $method; - break; - } - } - - if (null === $this->cacheAdapter) { - throw new \Exception('No Cache available'); - } - } - - /** - * {@inheritdoc} - */ - public function findFile($class) - { - $file = $this->cacheAdapter->fetch($this->prefix . $class); - - if (false === $file) { - $this->cacheAdapter->save($this->prefix . $class, $file = parent::findFile($class)); - } - - return $file; - } - - /** - * {@inheritdoc} - */ - public function register($prepend = false) - { - spl_autoload_register(array($this, 'loadClass'), true, $prepend); - } - - /** - * Get the current cache Adapter - * @return LoaderStrategy - */ - public function getAdapter() - { - return $this->cacheAdapter; - } - - /** - * Get the identifier cache key prefix - * @return string - */ - public function getPrefix() - { - return $this->prefix; - } -} diff --git a/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php b/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php deleted file mode 100644 index ed7b3d115d..0000000000 --- a/lib/Alchemy/Phrasea/Loader/LoaderStrategy.php +++ /dev/null @@ -1,27 +0,0 @@ - $path) { - if (substr($prefix, -1) === '_' || $prefix == 'Pimple') { - $loader->registerPrefix($prefix, $path); - } else { - $loader->registerNamespace($prefix, $path); - } - } - - $loader->registerNamespaces(array( - 'Entities' => realpath(__DIR__ . '/../Doctrine/'), - 'Repositories' => realpath(__DIR__ . '/../Doctrine/'), - 'Proxies' => realpath(__DIR__ . '/../Doctrine/'), - 'Doctrine\\Logger' => realpath(__DIR__ . '/../'), - 'Types' => realpath(__DIR__ . "/../Doctrine"), - 'PhraseaFixture' => realpath(__DIR__ . "/../conf.d"), - )); - - $loader->register(); - - set_include_path( - get_include_path() . PATH_SEPARATOR . realpath(__DIR__ . '/../../vendor/zend/gdata/library') - ); - - static::$autoloader_initialized = true; - - return; - } -} diff --git a/lib/classes/cache/cacheableInterface.class.php b/lib/classes/cache/cacheableInterface.php similarity index 100% rename from lib/classes/cache/cacheableInterface.class.php rename to lib/classes/cache/cacheableInterface.php diff --git a/lib/classes/cache/databox.class.php b/lib/classes/cache/databox.php similarity index 100% rename from lib/classes/cache/databox.class.php rename to lib/classes/cache/databox.php diff --git a/lib/classes/caption/Field/Value.class.php b/lib/classes/caption/Field/Value.php similarity index 100% rename from lib/classes/caption/Field/Value.class.php rename to lib/classes/caption/Field/Value.php diff --git a/lib/classes/caption/field.class.php b/lib/classes/caption/field.php similarity index 100% rename from lib/classes/caption/field.class.php rename to lib/classes/caption/field.php diff --git a/lib/classes/caption/interface.class.php b/lib/classes/caption/interface.php similarity index 100% rename from lib/classes/caption/interface.class.php rename to lib/classes/caption/interface.php diff --git a/lib/classes/caption/record.class.php b/lib/classes/caption/record.php similarity index 100% rename from lib/classes/caption/record.class.php rename to lib/classes/caption/record.php diff --git a/lib/classes/collection.class.php b/lib/classes/collection.php similarity index 100% rename from lib/classes/collection.class.php rename to lib/classes/collection.php diff --git a/lib/classes/connection.class.php b/lib/classes/connection.php similarity index 100% rename from lib/classes/connection.class.php rename to lib/classes/connection.php diff --git a/lib/classes/connection/abstract.class.php b/lib/classes/connection/abstract.php similarity index 100% rename from lib/classes/connection/abstract.class.php rename to lib/classes/connection/abstract.php diff --git a/lib/classes/connection/interface.class.php b/lib/classes/connection/interface.php similarity index 100% rename from lib/classes/connection/interface.class.php rename to lib/classes/connection/interface.php diff --git a/lib/classes/connection/pdo.class.php b/lib/classes/connection/pdo.php similarity index 100% rename from lib/classes/connection/pdo.class.php rename to lib/classes/connection/pdo.php diff --git a/lib/classes/connection/pdoStatementDebugger.class.php b/lib/classes/connection/pdoStatementDebugger.php similarity index 100% rename from lib/classes/connection/pdoStatementDebugger.class.php rename to lib/classes/connection/pdoStatementDebugger.php diff --git a/lib/classes/databox.class.php b/lib/classes/databox.php similarity index 100% rename from lib/classes/databox.class.php rename to lib/classes/databox.php diff --git a/lib/classes/databox/Field/DCES/Contributor.class.php b/lib/classes/databox/Field/DCES/Contributor.php similarity index 100% rename from lib/classes/databox/Field/DCES/Contributor.class.php rename to lib/classes/databox/Field/DCES/Contributor.php diff --git a/lib/classes/databox/Field/DCES/Coverage.class.php b/lib/classes/databox/Field/DCES/Coverage.php similarity index 100% rename from lib/classes/databox/Field/DCES/Coverage.class.php rename to lib/classes/databox/Field/DCES/Coverage.php diff --git a/lib/classes/databox/Field/DCES/Creator.class.php b/lib/classes/databox/Field/DCES/Creator.php similarity index 100% rename from lib/classes/databox/Field/DCES/Creator.class.php rename to lib/classes/databox/Field/DCES/Creator.php diff --git a/lib/classes/databox/Field/DCES/Date.class.php b/lib/classes/databox/Field/DCES/Date.php similarity index 100% rename from lib/classes/databox/Field/DCES/Date.class.php rename to lib/classes/databox/Field/DCES/Date.php diff --git a/lib/classes/databox/Field/DCES/Description.class.php b/lib/classes/databox/Field/DCES/Description.php similarity index 100% rename from lib/classes/databox/Field/DCES/Description.class.php rename to lib/classes/databox/Field/DCES/Description.php diff --git a/lib/classes/databox/Field/DCES/Format.class.php b/lib/classes/databox/Field/DCES/Format.php similarity index 100% rename from lib/classes/databox/Field/DCES/Format.class.php rename to lib/classes/databox/Field/DCES/Format.php diff --git a/lib/classes/databox/Field/DCES/Identifier.class.php b/lib/classes/databox/Field/DCES/Identifier.php similarity index 100% rename from lib/classes/databox/Field/DCES/Identifier.class.php rename to lib/classes/databox/Field/DCES/Identifier.php diff --git a/lib/classes/databox/Field/DCES/Language.class.php b/lib/classes/databox/Field/DCES/Language.php similarity index 100% rename from lib/classes/databox/Field/DCES/Language.class.php rename to lib/classes/databox/Field/DCES/Language.php diff --git a/lib/classes/databox/Field/DCES/Publisher.class.php b/lib/classes/databox/Field/DCES/Publisher.php similarity index 100% rename from lib/classes/databox/Field/DCES/Publisher.class.php rename to lib/classes/databox/Field/DCES/Publisher.php diff --git a/lib/classes/databox/Field/DCES/Relation.class.php b/lib/classes/databox/Field/DCES/Relation.php similarity index 100% rename from lib/classes/databox/Field/DCES/Relation.class.php rename to lib/classes/databox/Field/DCES/Relation.php diff --git a/lib/classes/databox/Field/DCES/Rights.class.php b/lib/classes/databox/Field/DCES/Rights.php similarity index 100% rename from lib/classes/databox/Field/DCES/Rights.class.php rename to lib/classes/databox/Field/DCES/Rights.php diff --git a/lib/classes/databox/Field/DCES/Source.class.php b/lib/classes/databox/Field/DCES/Source.php similarity index 100% rename from lib/classes/databox/Field/DCES/Source.class.php rename to lib/classes/databox/Field/DCES/Source.php diff --git a/lib/classes/databox/Field/DCES/Subject.class.php b/lib/classes/databox/Field/DCES/Subject.php similarity index 100% rename from lib/classes/databox/Field/DCES/Subject.class.php rename to lib/classes/databox/Field/DCES/Subject.php diff --git a/lib/classes/databox/Field/DCES/Title.class.php b/lib/classes/databox/Field/DCES/Title.php similarity index 100% rename from lib/classes/databox/Field/DCES/Title.class.php rename to lib/classes/databox/Field/DCES/Title.php diff --git a/lib/classes/databox/Field/DCES/Type.class.php b/lib/classes/databox/Field/DCES/Type.php similarity index 100% rename from lib/classes/databox/Field/DCES/Type.class.php rename to lib/classes/databox/Field/DCES/Type.php diff --git a/lib/classes/databox/Field/DCESAbstract.class.php b/lib/classes/databox/Field/DCESAbstract.php similarity index 100% rename from lib/classes/databox/Field/DCESAbstract.class.php rename to lib/classes/databox/Field/DCESAbstract.php diff --git a/lib/classes/databox/cgu.class.php b/lib/classes/databox/cgu.php similarity index 100% rename from lib/classes/databox/cgu.class.php rename to lib/classes/databox/cgu.php diff --git a/lib/classes/databox/descriptionStructure.class.php b/lib/classes/databox/descriptionStructure.php similarity index 100% rename from lib/classes/databox/descriptionStructure.class.php rename to lib/classes/databox/descriptionStructure.php diff --git a/lib/classes/databox/field.class.php b/lib/classes/databox/field.php similarity index 100% rename from lib/classes/databox/field.class.php rename to lib/classes/databox/field.php diff --git a/lib/classes/databox/status.class.php b/lib/classes/databox/status.php similarity index 100% rename from lib/classes/databox/status.class.php rename to lib/classes/databox/status.php diff --git a/lib/classes/databox/subdef.class.php b/lib/classes/databox/subdef.php similarity index 100% rename from lib/classes/databox/subdef.class.php rename to lib/classes/databox/subdef.php diff --git a/lib/classes/databox/subdefsStructure.class.php b/lib/classes/databox/subdefsStructure.php similarity index 100% rename from lib/classes/databox/subdefsStructure.class.php rename to lib/classes/databox/subdefsStructure.php diff --git a/lib/classes/eventsmanager/broker.class.php b/lib/classes/eventsmanager/broker.php similarity index 100% rename from lib/classes/eventsmanager/broker.class.php rename to lib/classes/eventsmanager/broker.php diff --git a/lib/classes/eventsmanager/event/test.class.php b/lib/classes/eventsmanager/event/test.php similarity index 100% rename from lib/classes/eventsmanager/event/test.class.php rename to lib/classes/eventsmanager/event/test.php diff --git a/lib/classes/eventsmanager/eventAbstract.class.php b/lib/classes/eventsmanager/eventAbstract.php similarity index 100% rename from lib/classes/eventsmanager/eventAbstract.class.php rename to lib/classes/eventsmanager/eventAbstract.php diff --git a/lib/classes/eventsmanager/notify/autoregister.class.php b/lib/classes/eventsmanager/notify/autoregister.php similarity index 100% rename from lib/classes/eventsmanager/notify/autoregister.class.php rename to lib/classes/eventsmanager/notify/autoregister.php diff --git a/lib/classes/eventsmanager/notify/bridgeuploadfail.class.php b/lib/classes/eventsmanager/notify/bridgeuploadfail.php similarity index 100% rename from lib/classes/eventsmanager/notify/bridgeuploadfail.class.php rename to lib/classes/eventsmanager/notify/bridgeuploadfail.php diff --git a/lib/classes/eventsmanager/notify/downloadmailfail.class.php b/lib/classes/eventsmanager/notify/downloadmailfail.php similarity index 100% rename from lib/classes/eventsmanager/notify/downloadmailfail.class.php rename to lib/classes/eventsmanager/notify/downloadmailfail.php diff --git a/lib/classes/eventsmanager/notify/feed.class.php b/lib/classes/eventsmanager/notify/feed.php similarity index 100% rename from lib/classes/eventsmanager/notify/feed.class.php rename to lib/classes/eventsmanager/notify/feed.php diff --git a/lib/classes/eventsmanager/notify/order.class.php b/lib/classes/eventsmanager/notify/order.php similarity index 100% rename from lib/classes/eventsmanager/notify/order.class.php rename to lib/classes/eventsmanager/notify/order.php diff --git a/lib/classes/eventsmanager/notify/orderdeliver.class.php b/lib/classes/eventsmanager/notify/orderdeliver.php similarity index 100% rename from lib/classes/eventsmanager/notify/orderdeliver.class.php rename to lib/classes/eventsmanager/notify/orderdeliver.php diff --git a/lib/classes/eventsmanager/notify/ordernotdelivered.class.php b/lib/classes/eventsmanager/notify/ordernotdelivered.php similarity index 100% rename from lib/classes/eventsmanager/notify/ordernotdelivered.class.php rename to lib/classes/eventsmanager/notify/ordernotdelivered.php diff --git a/lib/classes/eventsmanager/notify/push.class.php b/lib/classes/eventsmanager/notify/push.php similarity index 100% rename from lib/classes/eventsmanager/notify/push.class.php rename to lib/classes/eventsmanager/notify/push.php diff --git a/lib/classes/eventsmanager/notify/register.class.php b/lib/classes/eventsmanager/notify/register.php similarity index 100% rename from lib/classes/eventsmanager/notify/register.class.php rename to lib/classes/eventsmanager/notify/register.php diff --git a/lib/classes/eventsmanager/notify/uploadquarantine.class.php b/lib/classes/eventsmanager/notify/uploadquarantine.php similarity index 100% rename from lib/classes/eventsmanager/notify/uploadquarantine.class.php rename to lib/classes/eventsmanager/notify/uploadquarantine.php diff --git a/lib/classes/eventsmanager/notify/validate.class.php b/lib/classes/eventsmanager/notify/validate.php similarity index 100% rename from lib/classes/eventsmanager/notify/validate.class.php rename to lib/classes/eventsmanager/notify/validate.php diff --git a/lib/classes/eventsmanager/notify/validationdone.class.php b/lib/classes/eventsmanager/notify/validationdone.php similarity index 100% rename from lib/classes/eventsmanager/notify/validationdone.class.php rename to lib/classes/eventsmanager/notify/validationdone.php diff --git a/lib/classes/eventsmanager/notify/validationreminder.class.php b/lib/classes/eventsmanager/notify/validationreminder.php similarity index 100% rename from lib/classes/eventsmanager/notify/validationreminder.class.php rename to lib/classes/eventsmanager/notify/validationreminder.php diff --git a/lib/classes/eventsmanager/notifyAbstract.class.php b/lib/classes/eventsmanager/notifyAbstract.php similarity index 100% rename from lib/classes/eventsmanager/notifyAbstract.class.php rename to lib/classes/eventsmanager/notifyAbstract.php diff --git a/lib/classes/format.class.php b/lib/classes/format.php similarity index 100% rename from lib/classes/format.class.php rename to lib/classes/format.php diff --git a/lib/classes/ftpclient.class.php b/lib/classes/ftpclient.php similarity index 100% rename from lib/classes/ftpclient.class.php rename to lib/classes/ftpclient.php diff --git a/lib/classes/gatekeeper.class.php b/lib/classes/gatekeeper.php similarity index 100% rename from lib/classes/gatekeeper.class.php rename to lib/classes/gatekeeper.php diff --git a/lib/classes/geonames.class.php b/lib/classes/geonames.php similarity index 100% rename from lib/classes/geonames.class.php rename to lib/classes/geonames.php diff --git a/lib/classes/http/query.class.php b/lib/classes/http/query.php similarity index 100% rename from lib/classes/http/query.class.php rename to lib/classes/http/query.php diff --git a/lib/classes/http/request.class.php b/lib/classes/http/request.php similarity index 100% rename from lib/classes/http/request.class.php rename to lib/classes/http/request.php diff --git a/lib/classes/liste.class.php b/lib/classes/liste.php similarity index 100% rename from lib/classes/liste.class.php rename to lib/classes/liste.php diff --git a/lib/classes/login.class.php b/lib/classes/login.php similarity index 100% rename from lib/classes/login.class.php rename to lib/classes/login.php diff --git a/lib/classes/mail.class.php b/lib/classes/mail.php similarity index 100% rename from lib/classes/mail.class.php rename to lib/classes/mail.php diff --git a/lib/classes/media/Permalink/Adapter.class.php b/lib/classes/media/Permalink/Adapter.php similarity index 100% rename from lib/classes/media/Permalink/Adapter.class.php rename to lib/classes/media/Permalink/Adapter.php diff --git a/lib/classes/media/Permalink/Interface.class.php b/lib/classes/media/Permalink/Interface.php similarity index 100% rename from lib/classes/media/Permalink/Interface.class.php rename to lib/classes/media/Permalink/Interface.php diff --git a/lib/classes/media/abstract.class.php b/lib/classes/media/abstract.php similarity index 100% rename from lib/classes/media/abstract.class.php rename to lib/classes/media/abstract.php diff --git a/lib/classes/media/adapter.class.php b/lib/classes/media/adapter.php similarity index 100% rename from lib/classes/media/adapter.class.php rename to lib/classes/media/adapter.php diff --git a/lib/classes/media/subdef.class.php b/lib/classes/media/subdef.php similarity index 100% rename from lib/classes/media/subdef.class.php rename to lib/classes/media/subdef.php diff --git a/lib/classes/module/client.class.php b/lib/classes/module/client.php similarity index 100% rename from lib/classes/module/client.class.php rename to lib/classes/module/client.php diff --git a/lib/classes/module/console/aboutAuthors.class.php b/lib/classes/module/console/aboutAuthors.php similarity index 100% rename from lib/classes/module/console/aboutAuthors.class.php rename to lib/classes/module/console/aboutAuthors.php diff --git a/lib/classes/module/console/aboutLicense.class.php b/lib/classes/module/console/aboutLicense.php similarity index 100% rename from lib/classes/module/console/aboutLicense.class.php rename to lib/classes/module/console/aboutLicense.php diff --git a/lib/classes/module/console/checkExtension.class.php b/lib/classes/module/console/checkExtension.php similarity index 100% rename from lib/classes/module/console/checkExtension.class.php rename to lib/classes/module/console/checkExtension.php diff --git a/lib/classes/module/console/fieldsDelete.class.php b/lib/classes/module/console/fieldsDelete.php similarity index 100% rename from lib/classes/module/console/fieldsDelete.class.php rename to lib/classes/module/console/fieldsDelete.php diff --git a/lib/classes/module/console/fieldsList.class.php b/lib/classes/module/console/fieldsList.php similarity index 100% rename from lib/classes/module/console/fieldsList.class.php rename to lib/classes/module/console/fieldsList.php diff --git a/lib/classes/module/console/fieldsMerge.class.php b/lib/classes/module/console/fieldsMerge.php similarity index 100% rename from lib/classes/module/console/fieldsMerge.class.php rename to lib/classes/module/console/fieldsMerge.php diff --git a/lib/classes/module/console/fieldsRename.class.php b/lib/classes/module/console/fieldsRename.php similarity index 100% rename from lib/classes/module/console/fieldsRename.class.php rename to lib/classes/module/console/fieldsRename.php diff --git a/lib/classes/module/console/fileEnsureDevSetting.class.php b/lib/classes/module/console/fileEnsureDevSetting.php similarity index 100% rename from lib/classes/module/console/fileEnsureDevSetting.class.php rename to lib/classes/module/console/fileEnsureDevSetting.php diff --git a/lib/classes/module/console/fileEnsureProductionSetting.class.php b/lib/classes/module/console/fileEnsureProductionSetting.php similarity index 100% rename from lib/classes/module/console/fileEnsureProductionSetting.class.php rename to lib/classes/module/console/fileEnsureProductionSetting.php diff --git a/lib/classes/module/console/schedulerStart.class.php b/lib/classes/module/console/schedulerStart.php similarity index 100% rename from lib/classes/module/console/schedulerStart.class.php rename to lib/classes/module/console/schedulerStart.php diff --git a/lib/classes/module/console/schedulerState.class.php b/lib/classes/module/console/schedulerState.php similarity index 100% rename from lib/classes/module/console/schedulerState.class.php rename to lib/classes/module/console/schedulerState.php diff --git a/lib/classes/module/console/schedulerStop.class.php b/lib/classes/module/console/schedulerStop.php similarity index 100% rename from lib/classes/module/console/schedulerStop.class.php rename to lib/classes/module/console/schedulerStop.php diff --git a/lib/classes/module/console/sphinxGenerateSuggestion.class.php b/lib/classes/module/console/sphinxGenerateSuggestion.php similarity index 100% rename from lib/classes/module/console/sphinxGenerateSuggestion.class.php rename to lib/classes/module/console/sphinxGenerateSuggestion.php diff --git a/lib/classes/module/console/systemBackupDB.class.php b/lib/classes/module/console/systemBackupDB.php similarity index 100% rename from lib/classes/module/console/systemBackupDB.class.php rename to lib/classes/module/console/systemBackupDB.php diff --git a/lib/classes/module/console/systemClearCache.class.php b/lib/classes/module/console/systemClearCache.php similarity index 100% rename from lib/classes/module/console/systemClearCache.class.php rename to lib/classes/module/console/systemClearCache.php diff --git a/lib/classes/module/console/systemConfigCheck.class.php b/lib/classes/module/console/systemConfigCheck.php similarity index 100% rename from lib/classes/module/console/systemConfigCheck.class.php rename to lib/classes/module/console/systemConfigCheck.php diff --git a/lib/classes/module/console/systemExport.class.php b/lib/classes/module/console/systemExport.php similarity index 100% rename from lib/classes/module/console/systemExport.class.php rename to lib/classes/module/console/systemExport.php diff --git a/lib/classes/module/console/systemMailCheck.class.php b/lib/classes/module/console/systemMailCheck.php similarity index 100% rename from lib/classes/module/console/systemMailCheck.class.php rename to lib/classes/module/console/systemMailCheck.php diff --git a/lib/classes/module/console/systemTemplateGenerator.class.php b/lib/classes/module/console/systemTemplateGenerator.php similarity index 100% rename from lib/classes/module/console/systemTemplateGenerator.class.php rename to lib/classes/module/console/systemTemplateGenerator.php diff --git a/lib/classes/module/console/systemUpgrade.class.php b/lib/classes/module/console/systemUpgrade.php similarity index 97% rename from lib/classes/module/console/systemUpgrade.class.php rename to lib/classes/module/console/systemUpgrade.php index 27bba027a3..d4bec5127d 100644 --- a/lib/classes/module/console/systemUpgrade.class.php +++ b/lib/classes/module/console/systemUpgrade.php @@ -38,7 +38,7 @@ class module_console_systemUpgrade extends Command protected function doExecute(InputInterface $input, OutputInterface $output) { - require_once dirname(__FILE__) . '/../../../../lib/bootstrap.php'; + require_once dirname(__FILE__) . '/../../../../vendor/autoload.php'; $interactive = !$input->getOption('yes'); diff --git a/lib/classes/module/console/taskState.class.php b/lib/classes/module/console/taskState.php similarity index 100% rename from lib/classes/module/console/taskState.class.php rename to lib/classes/module/console/taskState.php diff --git a/lib/classes/module/console/tasklist.class.php b/lib/classes/module/console/tasklist.php similarity index 100% rename from lib/classes/module/console/tasklist.class.php rename to lib/classes/module/console/tasklist.php diff --git a/lib/classes/module/console/taskrun.class.php b/lib/classes/module/console/taskrun.php similarity index 100% rename from lib/classes/module/console/taskrun.class.php rename to lib/classes/module/console/taskrun.php diff --git a/lib/classes/module/report.class.php b/lib/classes/module/report.php similarity index 100% rename from lib/classes/module/report.class.php rename to lib/classes/module/report.php diff --git a/lib/classes/module/report/activity.class.php b/lib/classes/module/report/activity.php similarity index 100% rename from lib/classes/module/report/activity.class.php rename to lib/classes/module/report/activity.php diff --git a/lib/classes/module/report/add.class.php b/lib/classes/module/report/add.php similarity index 100% rename from lib/classes/module/report/add.class.php rename to lib/classes/module/report/add.php diff --git a/lib/classes/module/report/connexion.class.php b/lib/classes/module/report/connexion.php similarity index 100% rename from lib/classes/module/report/connexion.class.php rename to lib/classes/module/report/connexion.php diff --git a/lib/classes/module/report/dashboard.class.php b/lib/classes/module/report/dashboard.php similarity index 100% rename from lib/classes/module/report/dashboard.class.php rename to lib/classes/module/report/dashboard.php diff --git a/lib/classes/module/report/dashboard/componentInterface.class.php b/lib/classes/module/report/dashboard/componentInterface.php similarity index 100% rename from lib/classes/module/report/dashboard/componentInterface.class.php rename to lib/classes/module/report/dashboard/componentInterface.php diff --git a/lib/classes/module/report/dashboard/feed.class.php b/lib/classes/module/report/dashboard/feed.php similarity index 100% rename from lib/classes/module/report/dashboard/feed.class.php rename to lib/classes/module/report/dashboard/feed.php diff --git a/lib/classes/module/report/dashboard/group.class.php b/lib/classes/module/report/dashboard/group.php similarity index 100% rename from lib/classes/module/report/dashboard/group.class.php rename to lib/classes/module/report/dashboard/group.php diff --git a/lib/classes/module/report/dashboard/merge.class.php b/lib/classes/module/report/dashboard/merge.php similarity index 100% rename from lib/classes/module/report/dashboard/merge.class.php rename to lib/classes/module/report/dashboard/merge.php diff --git a/lib/classes/module/report/dashboard/sort.class.php b/lib/classes/module/report/dashboard/sort.php similarity index 100% rename from lib/classes/module/report/dashboard/sort.class.php rename to lib/classes/module/report/dashboard/sort.php diff --git a/lib/classes/module/report/download.class.php b/lib/classes/module/report/download.php similarity index 100% rename from lib/classes/module/report/download.class.php rename to lib/classes/module/report/download.php diff --git a/lib/classes/module/report/edit.class.php b/lib/classes/module/report/edit.php similarity index 100% rename from lib/classes/module/report/edit.class.php rename to lib/classes/module/report/edit.php diff --git a/lib/classes/module/report/filter.class.php b/lib/classes/module/report/filter.php similarity index 100% rename from lib/classes/module/report/filter.class.php rename to lib/classes/module/report/filter.php diff --git a/lib/classes/module/report/nav.class.php b/lib/classes/module/report/nav.php similarity index 100% rename from lib/classes/module/report/nav.class.php rename to lib/classes/module/report/nav.php diff --git a/lib/classes/module/report/push.class.php b/lib/classes/module/report/push.php similarity index 100% rename from lib/classes/module/report/push.class.php rename to lib/classes/module/report/push.php diff --git a/lib/classes/module/report/question.class.php b/lib/classes/module/report/question.php similarity index 100% rename from lib/classes/module/report/question.class.php rename to lib/classes/module/report/question.php diff --git a/lib/classes/module/report/sql.class.php b/lib/classes/module/report/sql.php similarity index 100% rename from lib/classes/module/report/sql.class.php rename to lib/classes/module/report/sql.php diff --git a/lib/classes/module/report/sqlReportInterface.class.php b/lib/classes/module/report/sqlReportInterface.php similarity index 100% rename from lib/classes/module/report/sqlReportInterface.class.php rename to lib/classes/module/report/sqlReportInterface.php diff --git a/lib/classes/module/report/sqlaction.class.php b/lib/classes/module/report/sqlaction.php similarity index 100% rename from lib/classes/module/report/sqlaction.class.php rename to lib/classes/module/report/sqlaction.php diff --git a/lib/classes/module/report/sqlconnexion.class.php b/lib/classes/module/report/sqlconnexion.php similarity index 100% rename from lib/classes/module/report/sqlconnexion.class.php rename to lib/classes/module/report/sqlconnexion.php diff --git a/lib/classes/module/report/sqldownload.class.php b/lib/classes/module/report/sqldownload.php similarity index 100% rename from lib/classes/module/report/sqldownload.class.php rename to lib/classes/module/report/sqldownload.php diff --git a/lib/classes/module/report/sqlfilter.class.php b/lib/classes/module/report/sqlfilter.php similarity index 100% rename from lib/classes/module/report/sqlfilter.class.php rename to lib/classes/module/report/sqlfilter.php diff --git a/lib/classes/module/report/sqlquestion.class.php b/lib/classes/module/report/sqlquestion.php similarity index 100% rename from lib/classes/module/report/sqlquestion.class.php rename to lib/classes/module/report/sqlquestion.php diff --git a/lib/classes/module/report/validate.class.php b/lib/classes/module/report/validate.php similarity index 100% rename from lib/classes/module/report/validate.class.php rename to lib/classes/module/report/validate.php diff --git a/lib/classes/p4field.class.php b/lib/classes/p4field.php similarity index 100% rename from lib/classes/p4field.class.php rename to lib/classes/p4field.php diff --git a/lib/classes/p4file.class.php b/lib/classes/p4file.php similarity index 100% rename from lib/classes/p4file.class.php rename to lib/classes/p4file.php diff --git a/lib/classes/p4string.class.php b/lib/classes/p4string.php similarity index 100% rename from lib/classes/p4string.class.php rename to lib/classes/p4string.php diff --git a/lib/classes/patch/320.class.php b/lib/classes/patch/320.php similarity index 100% rename from lib/classes/patch/320.class.php rename to lib/classes/patch/320.php diff --git a/lib/classes/patch/320a.class.php b/lib/classes/patch/320a.php similarity index 100% rename from lib/classes/patch/320a.class.php rename to lib/classes/patch/320a.php diff --git a/lib/classes/patch/320ab.class.php b/lib/classes/patch/320ab.php similarity index 100% rename from lib/classes/patch/320ab.class.php rename to lib/classes/patch/320ab.php diff --git a/lib/classes/patch/320b.class.php b/lib/classes/patch/320b.php similarity index 100% rename from lib/classes/patch/320b.class.php rename to lib/classes/patch/320b.php diff --git a/lib/classes/patch/320c.class.php b/lib/classes/patch/320c.php similarity index 100% rename from lib/classes/patch/320c.class.php rename to lib/classes/patch/320c.php diff --git a/lib/classes/patch/320d.class.php b/lib/classes/patch/320d.php similarity index 100% rename from lib/classes/patch/320d.class.php rename to lib/classes/patch/320d.php diff --git a/lib/classes/patch/320e.class.php b/lib/classes/patch/320e.php similarity index 100% rename from lib/classes/patch/320e.class.php rename to lib/classes/patch/320e.php diff --git a/lib/classes/patch/320f.class.php b/lib/classes/patch/320f.php similarity index 100% rename from lib/classes/patch/320f.class.php rename to lib/classes/patch/320f.php diff --git a/lib/classes/patch/320h.class.php b/lib/classes/patch/320h.php similarity index 100% rename from lib/classes/patch/320h.class.php rename to lib/classes/patch/320h.php diff --git a/lib/classes/patch/360.class.php b/lib/classes/patch/360.php similarity index 100% rename from lib/classes/patch/360.class.php rename to lib/classes/patch/360.php diff --git a/lib/classes/patch/3602.class.php b/lib/classes/patch/3602.php similarity index 100% rename from lib/classes/patch/3602.class.php rename to lib/classes/patch/3602.php diff --git a/lib/classes/patch/3603.class.php b/lib/classes/patch/3603.php similarity index 100% rename from lib/classes/patch/3603.class.php rename to lib/classes/patch/3603.php diff --git a/lib/classes/patch/3604.class.php b/lib/classes/patch/3604.php similarity index 100% rename from lib/classes/patch/3604.class.php rename to lib/classes/patch/3604.php diff --git a/lib/classes/patch/361.class.php b/lib/classes/patch/361.php similarity index 100% rename from lib/classes/patch/361.class.php rename to lib/classes/patch/361.php diff --git a/lib/classes/patch/370.class.php b/lib/classes/patch/370.php similarity index 100% rename from lib/classes/patch/370.class.php rename to lib/classes/patch/370.php diff --git a/lib/classes/patch/370a3.class.php b/lib/classes/patch/370a3.php similarity index 100% rename from lib/classes/patch/370a3.class.php rename to lib/classes/patch/370a3.php diff --git a/lib/classes/patch/370a4.class.php b/lib/classes/patch/370a4.php similarity index 100% rename from lib/classes/patch/370a4.class.php rename to lib/classes/patch/370a4.php diff --git a/lib/classes/patch/370a5.class.php b/lib/classes/patch/370a5.php similarity index 100% rename from lib/classes/patch/370a5.class.php rename to lib/classes/patch/370a5.php diff --git a/lib/classes/patch/370a6.class.php b/lib/classes/patch/370a6.php similarity index 100% rename from lib/classes/patch/370a6.class.php rename to lib/classes/patch/370a6.php diff --git a/lib/classes/patch/370a7.class.php b/lib/classes/patch/370a7.php similarity index 100% rename from lib/classes/patch/370a7.class.php rename to lib/classes/patch/370a7.php diff --git a/lib/classes/patch/370a8.class.php b/lib/classes/patch/370a8.php similarity index 100% rename from lib/classes/patch/370a8.class.php rename to lib/classes/patch/370a8.php diff --git a/lib/classes/patch/370a9.class.php b/lib/classes/patch/370a9.php similarity index 100% rename from lib/classes/patch/370a9.class.php rename to lib/classes/patch/370a9.php diff --git a/lib/classes/patch/371.class.php b/lib/classes/patch/371.php similarity index 100% rename from lib/classes/patch/371.class.php rename to lib/classes/patch/371.php diff --git a/lib/classes/patch/373.class.php b/lib/classes/patch/373.php similarity index 100% rename from lib/classes/patch/373.class.php rename to lib/classes/patch/373.php diff --git a/lib/classes/patch/380.class.php b/lib/classes/patch/380.php similarity index 100% rename from lib/classes/patch/380.class.php rename to lib/classes/patch/380.php diff --git a/lib/classes/patch/3802.class.php b/lib/classes/patch/3802.php similarity index 100% rename from lib/classes/patch/3802.class.php rename to lib/classes/patch/3802.php diff --git a/lib/classes/patch/3803.class.php b/lib/classes/patch/3803.php similarity index 100% rename from lib/classes/patch/3803.class.php rename to lib/classes/patch/3803.php diff --git a/lib/classes/patchInterface.class.php b/lib/classes/patchInterface.php similarity index 100% rename from lib/classes/patchInterface.class.php rename to lib/classes/patchInterface.php diff --git a/lib/classes/phrasea.class.php b/lib/classes/phrasea.php similarity index 94% rename from lib/classes/phrasea.class.php rename to lib/classes/phrasea.php index 8d9bb7623c..492462836e 100644 --- a/lib/classes/phrasea.class.php +++ b/lib/classes/phrasea.php @@ -48,31 +48,6 @@ class phrasea return $retval; } - public static function start(Configuration $configuration) - { - $choosenConnexion = $configuration->getPhraseanet()->get('database'); - - $connexion = $configuration->getConnexion($choosenConnexion); - - $hostname = $connexion->get('host'); - $port = (int) $connexion->get('port'); - $user = $connexion->get('user'); - $password = $connexion->get('password'); - $dbname = $connexion->get('dbname'); - - if (!extension_loaded('phrasea2')) { - throw new RuntimeException('Phrasea extension is required'); - } - - if (!function_exists('phrasea_conn')) { - throw new RuntimeException('Phrasea extension requires upgrade'); - } - - if (phrasea_conn($hostname, $port, $user, $password, $dbname) !== true) { - throw new RuntimeException('Unable to initialize Phrasea connection'); - } - } - public function getHome(Application $app, $type = 'PUBLI', $context = 'prod') { if ($type == 'HELP') { diff --git a/lib/classes/phraseadate.class.php b/lib/classes/phraseadate.php similarity index 100% rename from lib/classes/phraseadate.class.php rename to lib/classes/phraseadate.php diff --git a/lib/classes/queries.class.php b/lib/classes/queries.php similarity index 100% rename from lib/classes/queries.class.php rename to lib/classes/queries.php diff --git a/lib/classes/random.class.php b/lib/classes/random.php similarity index 100% rename from lib/classes/random.class.php rename to lib/classes/random.php diff --git a/lib/classes/record/Interface.class.php b/lib/classes/record/Interface.php similarity index 100% rename from lib/classes/record/Interface.class.php rename to lib/classes/record/Interface.php diff --git a/lib/classes/record/adapter.class.php b/lib/classes/record/adapter.php similarity index 100% rename from lib/classes/record/adapter.class.php rename to lib/classes/record/adapter.php diff --git a/lib/classes/record/exportElement.class.php b/lib/classes/record/exportElement.php similarity index 100% rename from lib/classes/record/exportElement.class.php rename to lib/classes/record/exportElement.php diff --git a/lib/classes/record/orderElement.class.php b/lib/classes/record/orderElement.php similarity index 100% rename from lib/classes/record/orderElement.class.php rename to lib/classes/record/orderElement.php diff --git a/lib/classes/record/preview.class.php b/lib/classes/record/preview.php similarity index 100% rename from lib/classes/record/preview.class.php rename to lib/classes/record/preview.php diff --git a/lib/classes/recordutils.class.php b/lib/classes/recordutils.php similarity index 100% rename from lib/classes/recordutils.class.php rename to lib/classes/recordutils.php diff --git a/lib/classes/recordutils/audio.class.php b/lib/classes/recordutils/audio.php similarity index 100% rename from lib/classes/recordutils/audio.class.php rename to lib/classes/recordutils/audio.php diff --git a/lib/classes/recordutils/document.class.php b/lib/classes/recordutils/document.php similarity index 100% rename from lib/classes/recordutils/document.class.php rename to lib/classes/recordutils/document.php diff --git a/lib/classes/recordutils/image.class.php b/lib/classes/recordutils/image.php similarity index 100% rename from lib/classes/recordutils/image.class.php rename to lib/classes/recordutils/image.php diff --git a/lib/classes/recordutils/map.class.php b/lib/classes/recordutils/map.php similarity index 100% rename from lib/classes/recordutils/map.class.php rename to lib/classes/recordutils/map.php diff --git a/lib/classes/recordutils/video.class.php b/lib/classes/recordutils/video.php similarity index 100% rename from lib/classes/recordutils/video.class.php rename to lib/classes/recordutils/video.php diff --git a/lib/classes/registry.class.php b/lib/classes/registry.php similarity index 100% rename from lib/classes/registry.class.php rename to lib/classes/registry.php diff --git a/lib/classes/registryInterface.class.php b/lib/classes/registryInterface.php similarity index 100% rename from lib/classes/registryInterface.class.php rename to lib/classes/registryInterface.php diff --git a/lib/classes/set/abstract.class.php b/lib/classes/set/abstract.php similarity index 100% rename from lib/classes/set/abstract.class.php rename to lib/classes/set/abstract.php diff --git a/lib/classes/set/export.class.php b/lib/classes/set/export.php similarity index 100% rename from lib/classes/set/export.class.php rename to lib/classes/set/export.php diff --git a/lib/classes/set/exportftp.class.php b/lib/classes/set/exportftp.php similarity index 100% rename from lib/classes/set/exportftp.class.php rename to lib/classes/set/exportftp.php diff --git a/lib/classes/set/order.class.php b/lib/classes/set/order.php similarity index 100% rename from lib/classes/set/order.class.php rename to lib/classes/set/order.php diff --git a/lib/classes/set/selection.class.php b/lib/classes/set/selection.php similarity index 100% rename from lib/classes/set/selection.class.php rename to lib/classes/set/selection.php diff --git a/lib/classes/setup.class.php b/lib/classes/setup.php similarity index 100% rename from lib/classes/setup.class.php rename to lib/classes/setup.php diff --git a/lib/classes/sso.class.php b/lib/classes/sso.php similarity index 100% rename from lib/classes/sso.class.php rename to lib/classes/sso.php diff --git a/lib/classes/system/server.class.php b/lib/classes/system/server.php similarity index 100% rename from lib/classes/system/server.class.php rename to lib/classes/system/server.php diff --git a/lib/classes/system/url.class.php b/lib/classes/system/url.php similarity index 100% rename from lib/classes/system/url.class.php rename to lib/classes/system/url.php diff --git a/lib/classes/task/Scheduler.class.php b/lib/classes/task/Scheduler.php similarity index 100% rename from lib/classes/task/Scheduler.class.php rename to lib/classes/task/Scheduler.php diff --git a/lib/classes/task/abstract.class.php b/lib/classes/task/abstract.php similarity index 100% rename from lib/classes/task/abstract.class.php rename to lib/classes/task/abstract.php diff --git a/lib/classes/task/appboxAbstract.class.php b/lib/classes/task/appboxAbstract.php similarity index 100% rename from lib/classes/task/appboxAbstract.class.php rename to lib/classes/task/appboxAbstract.php diff --git a/lib/classes/task/databoxAbstract.class.php b/lib/classes/task/databoxAbstract.php similarity index 100% rename from lib/classes/task/databoxAbstract.class.php rename to lib/classes/task/databoxAbstract.php diff --git a/lib/classes/task/manager.class.php b/lib/classes/task/manager.php similarity index 99% rename from lib/classes/task/manager.class.php rename to lib/classes/task/manager.php index 02c505bc3a..ff98cb75e3 100644 --- a/lib/classes/task/manager.class.php +++ b/lib/classes/task/manager.php @@ -215,7 +215,7 @@ class task_manager if (($hdir = @opendir($path)) != FALSE) { $max = 9999; while (($max-- > 0) && (($file = readdir($hdir)) !== false)) { - if (!is_file($path . '/' . $file) || substr($file, 0, 1) == "." || substr($file, -10) != ".class.php") { + if (!is_file($path . '/' . $file) || substr($file, 0, 1) == "." || substr($file, -10) != ".php") { continue; } diff --git a/lib/classes/task/period/RecordMover.class.php b/lib/classes/task/period/RecordMover.php similarity index 100% rename from lib/classes/task/period/RecordMover.class.php rename to lib/classes/task/period/RecordMover.php diff --git a/lib/classes/task/period/apibridge.class.php b/lib/classes/task/period/apibridge.php similarity index 100% rename from lib/classes/task/period/apibridge.class.php rename to lib/classes/task/period/apibridge.php diff --git a/lib/classes/task/period/archive.class.php b/lib/classes/task/period/archive.php similarity index 100% rename from lib/classes/task/period/archive.class.php rename to lib/classes/task/period/archive.php diff --git a/lib/classes/task/period/cindexer.class.php b/lib/classes/task/period/cindexer.php similarity index 100% rename from lib/classes/task/period/cindexer.class.php rename to lib/classes/task/period/cindexer.php diff --git a/lib/classes/task/period/emptyColl.class.php b/lib/classes/task/period/emptyColl.php similarity index 100% rename from lib/classes/task/period/emptyColl.class.php rename to lib/classes/task/period/emptyColl.php diff --git a/lib/classes/task/period/ftp.class.php b/lib/classes/task/period/ftp.php similarity index 100% rename from lib/classes/task/period/ftp.class.php rename to lib/classes/task/period/ftp.php diff --git a/lib/classes/task/period/ftpPull.class.php b/lib/classes/task/period/ftpPull.php similarity index 100% rename from lib/classes/task/period/ftpPull.class.php rename to lib/classes/task/period/ftpPull.php diff --git a/lib/classes/task/period/outofdate.class.php b/lib/classes/task/period/outofdate.php similarity index 100% rename from lib/classes/task/period/outofdate.class.php rename to lib/classes/task/period/outofdate.php diff --git a/lib/classes/task/period/subdef.class.php b/lib/classes/task/period/subdef.php similarity index 100% rename from lib/classes/task/period/subdef.class.php rename to lib/classes/task/period/subdef.php diff --git a/lib/classes/task/period/test.class.php b/lib/classes/task/period/test.php similarity index 100% rename from lib/classes/task/period/test.class.php rename to lib/classes/task/period/test.php diff --git a/lib/classes/task/period/workflow01.class.php b/lib/classes/task/period/workflow01.php similarity index 100% rename from lib/classes/task/period/workflow01.class.php rename to lib/classes/task/period/workflow01.php diff --git a/lib/classes/task/period/writemeta.class.php b/lib/classes/task/period/writemeta.php similarity index 100% rename from lib/classes/task/period/writemeta.class.php rename to lib/classes/task/period/writemeta.php diff --git a/lib/classes/thesaurus.class.php b/lib/classes/thesaurus.php similarity index 100% rename from lib/classes/thesaurus.class.php rename to lib/classes/thesaurus.php diff --git a/lib/classes/thesaurus/xpath.class.php b/lib/classes/thesaurus/xpath.php similarity index 100% rename from lib/classes/thesaurus/xpath.class.php rename to lib/classes/thesaurus/xpath.php diff --git a/lib/classes/unicode.class.php b/lib/classes/unicode.php similarity index 100% rename from lib/classes/unicode.class.php rename to lib/classes/unicode.php diff --git a/lib/classes/uuid.class.php b/lib/classes/uuid.php similarity index 100% rename from lib/classes/uuid.class.php rename to lib/classes/uuid.php diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 78296c7c70..8edf7086da 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -9,7 +9,7 @@ stopOnFailure="false" syntaxCheck="true" verbose="false" - bootstrap="tests/bootstrap.inc" + bootstrap="tests/bootstrap.php" >