Commit Graph

2444 Commits

Author SHA1 Message Date
Jean-Yves Gaulier
5146881076 PHRAS-716 #time 3d
fix : admin/base progress bar (indexation)
fix : reindex button
fix : indexation does not skip records between fetches
2015-09-17 11:03:42 +02:00
Benoît Burnichon
9bc17af16b Merge pull request #1481 from jygaulier/PHRAS-527_user_model_filter
PHRAS-527
2015-08-27 12:12:45 +02:00
Jean-Yves Gaulier
c359721235 #PHRAS-527 #time 3h
fix : in admin/users, applying a filter on "Applied user template" is ok
2015-08-27 11:45:00 +02:00
Mathieu Darse
7e8a4a53a3 Simpler facet handling in ES structure
- Single property for facet settings in Field, we can’t have a limit
with disabled faceting.
- Fixes bug when fields having incompatible limit but are still merged together.
- Use constants for special limit values (i.e. no limit)
2015-08-24 16:07:53 +02:00
Benoît Burnichon
453cb0453d Merge pull request #1472 from jygaulier/PHRAS-668_NBR-FACETS
PHRAS-668
2015-08-20 11:24:10 +02:00
Jean-Yves Gaulier
72bb1877a7 #PHRAS-668 #time 1d
- fix: facets number (admin/field) is now used by prod.
- add: query/es : removed useless & pack clauses on status masks -> shortest (fastest ?) query
2015-08-20 11:08:55 +02:00
Jean-Yves Gaulier
8bbce8c0cc #PHRAS-610 #time 1h
cleanup
2015-08-18 17:13:19 +02:00
Jean-Yves Gaulier
3ac83408fc #PHRAS-610 #time 2d
WIP
2015-08-17 15:18:33 +02:00
Benoît Burnichon
e0573fc4f6 Merge pull request #1423 from mdarse/private-fields-ast
Restrict search on visible private fields
2015-07-17 17:36:30 +02:00
Benoît Burnichon
4e1e0bdfaf Merge pull request #1438 from jygaulier/PHRAS-603_del-records-from-story
#PHRAS-602
2015-07-17 10:41:25 +02:00
Jean-Yves Gaulier
c751605554 #PHRAS-602 #time 6h
new : api to delete records from story
2015-07-16 15:52:05 +02:00
Benoît Burnichon
a986d20383 Merge pull request #1432 from jygaulier/PHRAS-504_CRLF-in-proposals
PHRAS-504
2015-07-16 11:11:10 +02:00
Jean-Yves Gaulier
0dd2bbfb3c bb changes 2015-07-15 17:08:16 +02:00
Benoît Burnichon
e8d4d5f38d Record_adapter now uses a specific repository from databox 2015-07-15 11:26:13 +02:00
Jean-Yves Gaulier
d012978508 PHRAS-504 #time 8h
fix: prod / cr-lf in metadata is ok for aggregate  filter
cr,lf,crlf are normalized
- getting field values from recordadapter
- during es indexation (direct sql read in metadata...)
- before querying
2015-07-15 11:10:38 +02:00
Benoît Burnichon
fd530d8795 Deprecate get_databox in favor of getDatabox 2015-07-13 18:47:10 +02:00
Benoît Burnichon
0b36d706a0 Deprecate {set,get}_type in favor of {set,get}Type 2015-07-13 18:43:28 +02:00
Benoît Burnichon
d5d9699397 Deprecated {set,get}_mime in favor of {set,get}MimeType 2015-07-13 18:35:20 +02:00
Benoît Burnichon
a4637c2e72 Deprecate get_record_id in favor of getRecordId 2015-07-13 18:24:06 +02:00
Benoît Burnichon
ff7801132d Deprecate get_collection_id instead of getCollectionId 2015-07-13 18:22:21 +02:00
Benoît Burnichon
8d4cf71d6d Deprecate get_base_id in favor of getBaseId 2015-07-13 18:19:42 +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
620425cbf9 PHPCS fixes 2015-07-13 12:34:19 +02:00
Benoît Burnichon
f5949cd9f4 Fix story set metadata collection. 2015-07-13 11:18:12 +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
c0ceb65ba2 Prepared statements does not handle string to int conversion.
Convert it from PHP.
2015-07-10 17:19:00 +02:00
Benoît Burnichon
277808c441 Reduce code complexity using Dbal methods. 2015-07-10 16:34:04 +02:00
Benoît Burnichon
5d8e89363e Some PHPCS 2015-07-10 16:32:39 +02:00
Benoît Burnichon
de8657aabf Restore previous behaviour of get_duration. PHPCS 2015-07-10 11:56:18 +02:00
Benoît Burnichon
4c1fcff4e6 Better checking TechnicalDataSet return type. 2015-07-10 11:56:17 +02:00
Benoît Burnichon
02cd830491 Fixup typo that leads to Fatal Error. 2015-07-10 11:56:17 +02:00
Benoît Burnichon
3b3f3f4011 Use TechnicalDataSet in record_adapter 2015-07-10 11:56:17 +02:00
Benoît Burnichon
a425043b9a Fix typo in Technical data const 2015-07-10 11:56:16 +02:00
Benoît Burnichon
3d16c624b4 Change some properties from protected to private 2015-07-10 11:56:16 +02:00
Benoît Burnichon
2e4d659045 Refactor record_adapter constructor 2015-07-10 11:56:16 +02:00
Benoît Burnichon
408e350b2e PHPCS and add blackfire bash aliases 2015-07-10 11:56:16 +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
dd73d6dae2 Renaming of Databox{,Field}Repository 2015-07-08 14:58:41 +02:00
Thibaud Fabre
e28b080c5a Extract thumbnail manager classes from appbox 2015-07-08 13:46:17 +02:00
Aztech
c65fc6abec Fix incorrect call to read/save version 2015-07-08 13:46:17 +02:00
Aztech
5aad5e933e Extract repository classes to read/update box versions 2015-07-08 13:46:17 +02:00
Aztech
2a134d4bca Fix incorrect argument 2015-07-08 13:45:24 +02:00
Aztech
35989c7c7c Extract database maintenance service from base box + cleanup 2015-07-08 13:45:24 +02:00
Aztech
2605729137 Extract VO class for database connection settings 2015-07-08 13:45:24 +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
82f19ee55d Begin databox_field refactor 2015-07-08 11:08:07 +02:00