Thibaud Fabre
97f2e66698
Merge 4.0 branch
2016-12-05 17:04:54 +01:00
Thibaud Fabre
b5bbb1851f
Merge branch 4.0
2016-12-05 15:26:48 +01:00
Jean-Yves Gaulier
229c80fe74
PHRAS-1260_INDEX-WIDTH-HEIGHT
...
- new : added size (filesize) of document to es
- new : methods getWidth(),... to record_adapter
- fix : template
2016-11-03 15:27:57 +01:00
Thibaud Fabre
f2b956b015
Merge pull request #1968 from jygaulier/PHRAS-946_delete-record-api
...
PHRAS-946_delete-record-api
2016-09-29 17:41:24 +02:00
Jean-Yves Gaulier
c6186abe56
PHRAS-946_delete-record-api
...
- add : api route to delete record : verb DELETE ; /api/v1/records/{{databox_id}}/{{record_id}}
2016-09-29 15:54:04 +02:00
Thibaud Fabre
cdc410191c
Merge pull request #1960 from jygaulier/PHRAS-1192_quarantaine-by-filenames_4.0
...
PHRAS-1192_quarantaine-by-filenames_4.0
2016-09-29 14:11:08 +02:00
Jean-Yves Gaulier
877beaa40d
PHRAS-1178_edit-story-and-records_4.0
...
- change : if a record is updated, every "parent" story is considered as updated too (editDateField(s) set)
- fix : cache is now invalidated after editing records
- fix : recordeditsuscriber can't run into recursion anymore
2016-09-28 17:43:37 +02:00
Jean-Yves Gaulier
837a294827
PHRAS-1192_quarantaine-by-filenames_4.0
...
- add : quarantine thumbnails looks like result thb (zoom, caption, infos, ...) by using the same template
- removed : some code about highlighting titles
- fix : double extension on exported files
2016-09-28 13:16:10 +02:00
Jean-Yves Gaulier
9e891d4ae9
PHRAS-1164_Backport-PHRAS-1158-to-4.0
...
#time 20m
2016-06-16 16:02:26 +02:00
Benoît Burnichon
8e693964df
Refactor getChildren() and get_grouping_parents()
2016-05-11 17:50:57 +02:00
Benoît Burnichon
ea9458da77
Avoid calling cache when data is already present
2016-05-11 17:50:57 +02:00
Benoît Burnichon
1e18b3e69f
This is a combination of 33 commits.
...
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Jean-Yves Gaulier
e6b1ad4f2f
PHRAS-1055 #time 1h
...
- no bug concerning --max_record
- add try/catch so the job don't stop on errors
PHRAS-1055 #time 5h
- add option --dry
- add verbose print (-v)
- add "ALL" for type and subdef arguments
- fix "substitute" options
- fix show sql with arguments
PHRAS-1055 #time 5h
- better error handling
- argument "databox" can be specified as id, dbname or viewname
- add option "--partition=n/N"
- argument "type" changed to option "--record_type=a,b,c" (can also be set as "--record_type=a,b --record_type=c")
- argument "subdefs" changed to option "--name=x,y,z" (can also be set as "--name=x,y --name=z")
- option "--with-substitution" changed to "--with_substituted"
- option "--substitution-only" changed to "--substituted-only"
PHRAS-1055 #time 2h
- change lone argument (databox) to option "--databox" (mandatory)
- add option "--missing_only" to create missing subdefs after structure change.
- add option "--garbage_collect" to remove orphan subdefs left by structure change.
PHRAS-1055 #time 1m
- cleanup
PHRAS-1055 #time 2h
- cleanup
- add option "--reset_subdef_flag"
- add option "--set_writemeta_flag"
PHRAS-1055 #time 1m
- fix vocabulary (flag)
2016-04-06 11:36:00 +02:00
Benoît Burnichon
5ee7f3689a
Use recently added getDataboxConnection method
2016-03-07 12:29:05 +01:00
Benoît Burnichon
e01088d38d
Add RecordReference into record_adapter
2016-03-07 12:28:40 +01:00
Benoît Burnichon
6e1be6099f
Avoid cache requests on subdef already in cache.
2016-02-26 16:18:11 +01:00
Benoît Burnichon
8a907e9bb0
Add touch capability to record_adapter.
2016-02-23 10:40:01 +01:00
Benoît Burnichon
afde09645a
WIP
2016-02-05 15:36:19 +01:00
Benoît Burnichon
3544f70130
PHPCS record_adapter
2016-01-27 11:00:54 +01:00
Benoît Burnichon
14cd8a1903
Use existing SubdefSubstituer service i/o record_adapter
2016-01-26 19:17:41 +01:00
Benoît Burnichon
614394edc7
Method renaming
2016-01-26 14:25:08 +01:00
Benoît Burnichon
f501cba16b
Extract whether subdef metadata updates are required
2016-01-22 17:39:33 +01:00
Benoît Burnichon
85c5311281
Move removal in symlink in symlinker
2016-01-14 11:07:17 +01:00
Thibaud Fabre
c92d5da9fe
Merge branch 'clean-boxes' into merge-clean-boxes
2016-01-06 19:53:43 +01:00
Benoît Burnichon
51023c5533
bump copyright year
2016-01-05 13:38:14 +01:00
Benoît Burnichon
af25e6bfd8
Remove status table
2015-12-23 14:13:07 +01:00
Benoît Burnichon
3b6cd117bb
Merge pull request #1607 from bburnichon/feature/PHRAS-867
...
API Basket elements add/removal
2015-12-22 19:08:42 +01:00
Benoît Burnichon
c532e01c40
fixup Change record_adapter
2015-12-22 17:44:33 +01:00
Benoît Burnichon
00d0ea66bb
Change getIsRead to isRead
2015-12-22 14:25:13 +01:00
Jean-Yves Gaulier
80f3285737
#PHRAS-874 time 2d
...
type hinting / cs
events renamed / deleted
n+1 removed for status-bits & technical meta
events added (subdef creation / created)
fix : es indexes after all subdefs are created
2015-12-17 20:07:48 +01:00
Jean-Yves Gaulier
18909462fa
#PHRAS-840 time 12h
...
add : es "technical" fields (_index, _type, _version, ...) to es-record
fix: add etag to thumbnail on es answers, based on document _version
clean : obsolete methods calls changed, cs, ...
2015-12-10 17:58:16 +01:00
Benoît Burnichon
2e1ad08383
Fixup build-missing-subdef command.
...
PHRAS-855
2015-12-03 15:00:44 +01:00
Benoît Burnichon
8aca5f6126
Use Uuid with its new namespace
2015-10-27 20:14:01 +01: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
e8d4d5f38d
Record_adapter now uses a specific repository from databox
2015-07-15 11:26:13 +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
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