Commit Graph

299 Commits

Author SHA1 Message Date
Benoît Burnichon
e8d4d5f38d Record_adapter now uses a specific repository from databox 2015-07-15 11:26:13 +02:00
Benoît Burnichon
c97eedd40f Deprecate is_grouping in favor of isStory 2015-07-13 18:14:51 +02:00
Benoît Burnichon
2107cd28df Deprecated get_uuid in favor of getUuid 2015-07-13 18:08:04 +02:00
Benoît Burnichon
38ae7bc2ac Rename get_number/set_number to getNumber/setNumber 2015-07-13 17:50:20 +02:00
Benoît Burnichon
e14b2155aa Deprecated get_modification_date 2015-07-13 17:08:22 +02:00
Benoît Burnichon
9fea438079 Deprecated old underscore get_creation_date. Use getCreated instead. 2015-07-13 17:08:22 +02:00
Benoît Burnichon
e0a71a84fc Save original name before set_original_name tests.
Also make tests pass whether locale is fr or en.
2015-07-13 14:02:26 +02:00
Benoît Burnichon
5fbc4451b1 Reenable get Title test 2015-07-13 12:41:05 +02:00
Benoît Burnichon
afbacaa640 set_original_name wasn't working as expected. Added test. 2015-07-10 19:06:10 +02:00
Benoît Burnichon
2a82477c89 Change record_adapterTest to use method instead of static DI. 2015-07-10 11:59:59 +02:00
Benoît Burnichon
de8657aabf Restore previous behaviour of get_duration. PHPCS 2015-07-10 11:56:18 +02:00
Benoît Burnichon
3b3f3f4011 Use TechnicalDataSet in record_adapter 2015-07-10 11:56:17 +02:00
Benoît Burnichon
c9cd428acc Use of old PDO singleton.
Also fixup test suite to check behaviour of set_mime (only setter)
2015-07-10 11:43:51 +02:00
Benoît Burnichon
f3834eb083 Add getFirstDatabox and getClient to PhraseanetTestCase 2015-07-08 11:08:07 +02:00
Benoît Burnichon
8ee5279d58 Remove all uses of databox_field::get_instance 2015-07-08 11:08:07 +02:00
Benoît Burnichon
ff67120388 Fixup some tests that fails with Elasticsearch. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
4cdca486d8 Add getApplication() method PhraseanetTestCase. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
a9160d62f6 Authentication linked test issues fixup 2015-07-02 12:33:19 +02:00
Benoît Burnichon
78187f7103 PHPCS fixup 2015-07-02 12:33:19 +02:00
Benoît Burnichon
d62a4eb4e7 Refactor setAdmin method to properly handle special cases. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
f920e8354a Replace phraseanet.appbox by getApplicationBox() method calls. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
19b8d41dcd Mock AclProvider in pimple AND Application.
fix CamelCase in `stubbedACL` name.
2015-07-02 12:33:18 +02:00
Benoît Burnichon
d645b92afa Add AclAware Trait 2015-07-02 12:33:18 +02:00
Benoît Burnichon
4880f2bf5a Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser()
replace twig app['authentication'].getUser() with corresponding method
2015-07-02 12:33:18 +02:00
Benoît Burnichon
6e651f3b07 Replace app['phraseanet.appbox']->get_databox using trait 2015-07-02 12:27:26 +02:00
Benoît Burnichon
28fee99fc4 Add Form for ElasticSearch Configuration.
Also changed type from array to Options object.
2015-06-29 17:10:32 +02:00
Benoît Burnichon
b272ce5aac Add some groups legacy, functional, web, authenticated 2015-06-15 19:30:51 +02:00
Benoît Burnichon
d473a6f69c Fixup tests with proper clearing of cache. 2015-06-10 14:50:29 +02:00
Benoît Burnichon
cd7d8b5d3b Properly clear cache at end of tests. Avoid side-effects on others tests.
Also prevent flushing empty queues as it load mocked configuration
2015-06-09 11:12:01 +02:00
Benoît Burnichon
d2a2214624 Travis config to check 5.6 compatibility and build against PHP 7 2015-03-19 15:15:59 +01:00
Benoît Burnichon
cdc7f743d5 Remove staticExpects to work with PHPUnit ~4.5 2015-03-17 13:08:27 +01:00
Benoît Burnichon
135b2fcaff Remove now useless dependency 2015-03-12 15:08:25 +01:00
Benoît Burnichon
3dfed100ea Double binary to decimal conversion 2015-03-11 17:48:14 +01:00
Benoît Burnichon
118bb2f03c Some fixup for ES instance 2015-03-11 15:22:20 +01:00
Nicolas Le Goff
9a3e92ed9c Multiple ORMs for all database 2015-02-12 17:58:45 +01:00
Nicolas Le Goff
0c18434eb4 Fix latest merge 2014-12-10 17:31:07 +01:00
Nicolas Le Goff
9f38823f27 Merge branch '3.8'
Conflicts:
	composer.lock
	lib/Alchemy/Phrasea/Application.php
	lib/Alchemy/Phrasea/Command/Setup/H264MappingGenerator.php
	lib/Alchemy/Phrasea/Controller/AbstractDelivery.php
	lib/Alchemy/Phrasea/Controller/Prod/DoDownload.php
	lib/Alchemy/Phrasea/Controller/Prod/Edit.php
	lib/Alchemy/Phrasea/Controller/Prod/Story.php
	lib/Alchemy/Phrasea/Controller/Prod/Upload.php
	lib/Alchemy/Phrasea/Controller/Report/Activity.php
	lib/Alchemy/Phrasea/Controller/Report/Root.php
	lib/Alchemy/Phrasea/Controller/Root/Account.php
	lib/Alchemy/Phrasea/Core/PhraseaEvents.php
	lib/Alchemy/Phrasea/Core/Version.php
	lib/classes/API/V1/adapter.php
	lib/classes/User/Adapter.php
	lib/classes/databox.php
	lib/classes/media/subdef.php
	lib/classes/module/report.php
	lib/classes/module/report/activity.php
	lib/classes/module/report/connexion.php
	lib/classes/module/report/download.php
	lib/classes/module/report/nav.php
	lib/classes/module/report/question.php
	lib/classes/module/report/sqlaction.php
	lib/classes/module/report/sqlconnexion.php
	lib/classes/module/report/sqldownload.php
	lib/classes/module/report/sqlfilter.php
	lib/classes/task/abstract.php
	locale/de_DE/LC_MESSAGES/phraseanet.mo
	locale/de_DE/LC_MESSAGES/phraseanet.po
	locale/en_GB/LC_MESSAGES/phraseanet.mo
	locale/en_GB/LC_MESSAGES/phraseanet.po
	locale/fr_FR/LC_MESSAGES/phraseanet.mo
	locale/fr_FR/LC_MESSAGES/phraseanet.po
	locale/nl_NL/LC_MESSAGES/phraseanet.mo
	locale/nl_NL/LC_MESSAGES/phraseanet.po
	locale/phraseanet.pot
	templates/web/prod/index.html.twig
	tests/Alchemy/Tests/Phrasea/Application/ApiAbstract.php
	tests/classes/api/v1/api_v1_adapterTest.php
	tests/classes/report/activityTest.php
	tests/classes/report/editTest.php
2014-12-09 13:59:29 +01:00
Nicolas Le Goff
2000f4116f Fix tests 2014-11-19 14:50:08 +01:00
Nicolas Le Goff
701a91e5c2 fix tests 2014-11-13 12:22:49 +01:00
Jean-Yves Gaulier
a353dc4de6 Report-VU : fix tests 2014-11-03 12:24:38 +01:00
Nicolas Le Goff
2ad315cfb2 Set User_Query object as a service 2014-09-09 21:21:38 +02:00
Nicolas Le Goff
ec4d2c364f Add webhook event && fix tests 2014-09-09 21:21:38 +02:00
Nicolas Le Goff
7c62038b7d Fix unit tests 2014-09-09 21:21:38 +02:00
Nicolas Le Goff
ab73febefd Fix users right 2014-09-09 20:05:57 +02:00
Nicolas Le Goff
de7988689e Update directory structure & allow to configure paths (tmp, log, cache) 2014-09-05 15:57:00 +02:00
Nicolas Le Goff
6f66f1de19 Add reconnectable statement 2014-08-26 16:42:56 +02:00
Nicolas Le Goff
1505cfb2f5 Fix tests 2014-07-30 16:47:49 +02:00
Nicolas Le Goff
45e53518ed Add content negociation provider 2014-07-30 16:47:49 +02:00
Nicolas Le Goff
66fa05f4ee Fix CS 2014-07-17 15:17:04 +02:00
Nicolas Le Goff
fcdc10c554 Fix latest merge 2014-07-17 15:11:26 +02:00