Commit Graph

25 Commits

Author SHA1 Message Date
Aina Sitraka
a29aa3355b PHRAS-3770: generate translation (#4414)
* generate translation

* fix
2023-11-17 16:04:09 +01:00
jygaulier
179431d1b5 PHRAS-3931_phraseanet_local_id_in_api (#4400)
* add "resource_id" to record / story ; formula defined into InstanceIdAware.php

* fix tests

* fix tests

* switch to main/instance_id
2023-10-30 17:15:04 +01:00
jygaulier
e7027c7220 PHRAS-3800_xss (#4219)
* add encode option to record::get_title ; render preview.record_title in twig

* html-escape facet values
2023-03-15 11:05:34 +01:00
jygaulier
e0f5243185 PHRAS-3606 : fix bad apiv3/search story structure (story_id, cover_record_id)
remove useless debut change
2021-12-09 10:06:53 +01:00
jygaulier
e247c8b576 Merge branch 'master' into PHRAS-3582_missing-apiv3-data 2021-12-06 10:16:27 +01:00
jygaulier
9fd6c50377 PHRAS-3582
WIP
fix missing data on apiv3 stories (not implemented includes)
todo : check apiv1 "metadataS" (aka dublin core) output.
2021-12-01 20:35:27 +01:00
jygaulier
12cb9b582b PHRAS-3584
add databox.record.cover_record_id
add get/set coverRecordId() to record adapter
include cover_record_id to api results (V1 & V3)
2021-11-25 11:52:11 +01:00
jygaulier
d5fc38b459 - fix : restore "suggestions". Declarative : use "...&include[]=suggestions..." 2020-09-25 16:14:47 +02:00
jygaulier
e79f2cb4f2 add:
- multiple pagination methods
- "include" parameter in /search route :
-- facets : facets are no more returned by default
-- results.stories.children : to populate the children of stories
- "story_children_limit" parameter in /search route
  will limit the number of children populated by story
- "count" (for results) and "children_count" (for stories in results) is the number of items in the current page
- "total" (for results) and "children_total" (for stories in results) is the total number of items

todo: swagger doc (but impossible to describe related/excluded parameters (like pagination methods in /search)
2020-09-22 21:30:19 +02:00
jygaulier
cdadb3acc4 WIP
refacto common code
2020-06-04 14:08:08 +02:00
KallooaSan
00be9e51b0 PHRAS-1895_PORT_PHRAS-1401_include_json_format_return_record (#2494)
* PHRAS-1895_PORT_PHRAS-1401 include json format return record

* PHRAS-1895_rollback deleted action ref PHRAS-1688
2018-02-28 17:31:45 +01:00
Jean-Yves Gaulier
6a2285f66d PHRAS-508_acl-cache
- wip
2016-10-26 16:13:47 +02:00
Jean-Yves Gaulier
827e4fe255 PHRAS-842_search-logged-as-es_4.0
- fix : query is logged in a "user" form, before parsing
2016-09-22 15:16:36 +02:00
Thibaud Fabre
d370805b1f Rename methods for more consistency 2016-07-02 15:03:25 +02:00
Thibaud Fabre
7141d4c1d5 Rename caption metadata and use preloaded values 2016-07-02 14:53:40 +02:00
Thibaud Fabre
0bc38c9dd2 Include caption metadatas in search type 2 2016-07-02 14:35:47 +02:00
Thibaud Fabre
faf9b98b11 Fix include resolution
Incorrect use of += operator on arrays caused the story includes to
always be unset
2016-06-30 11:57:02 +02:00
Thibaud Fabre
3498b835d5 Add record count property to story responses 2016-06-28 15:30:20 +02:00
Thibaud Fabre
5648f3219c Remove records property from story search results 2016-06-28 13:12:58 +02:00
Benoît Burnichon
320c220cfe Fixup wrong variable used in check 2016-05-19 13:53:40 +02:00
Benoît Burnichon
148568080f Bump fractal version to development one. 2016-05-19 13:50:08 +02:00
Benoît Burnichon
72d4647d11 WIP progress on List Records 2016-05-19 13:44:01 +02:00
Benoît Burnichon
126b83ec7c WIP RecordTransformer 2016-05-19 13:44:01 +02:00
Benoît Burnichon
24143759a7 WIP 2016-05-19 13:44:01 +02:00
Benoît Burnichon
e2e1fb0e09 Change Api SearchController to use Fractal 2016-05-19 13:44:01 +02:00