Commit Graph

433 Commits

Author SHA1 Message Date
jygaulier
45e8f29fc9 add : allow to set multiple --source, the first not-empty meta is copied to destination (#4516) 2024-06-06 15:19:01 +02:00
Aina Sitraka
747c8a0832 webhook record.created add some data (#4485) 2024-03-15 19:14:13 +01:00
Aina Sitraka
7768ebfb4b PHRAS-3722 : bin/console records:build-subdef (#4450)
* fix

* PHRAS-4001

* - allow to prune without building
- require --confirm to prune and build in the same time

---------
Co-authored-by: jygaulier <gaulier@alchemy.fr>
2023-12-29 15:55:31 +01:00
jygaulier
8df3cf55b7 add stamp / no-stamp to export-by-email and export-by-ftp (#4437)
add default (disabled) stamp settings on new collections
add "record_edit" & "image_tools" to conf / export-stamp-choice privilege
2023-12-14 17:20:53 +01:00
Aina Sitraka
7bfd9569d8 PHRAS-2069 rescan file metadata command (#4420) 2023-11-29 14:09:43 +01:00
Aina Sitraka
8d67bf6653 fix export mail caption (#4363) 2023-08-09 09:42:13 +02:00
jygaulier
77c5521243 apply actions (translations, coll, sb) ; enhance setMetadatasByActions():"add" action to act on mono-fields 2023-05-11 20:17:40 +02: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
Aina Sitraka
b4c6712ec3 PHRAS-3664 always send event even if in the same collection (#4024) 2023-01-12 09:41:34 +01:00
Aina Sitraka
2b4c064f62 PHRAS-3674 Prod - Record Information - Add Databox name in information (#4020)
* add databox name in record information

* fix databox name info
2022-05-17 17:35:51 +02:00
jygaulier
60ae82272a PHRAS-3628 : 500 on API.create record
fix error 500 on api_v3 / records / POST with no file
(dbox.records.type should be "unknown", not null)
2022-01-13 10:59:22 +01:00
aynsix
7db4ce2bdb clean the record subdefs cache 2022-01-10 12:19:41 +03:00
aynsix
06ece84fda fix cache when delete record 2022-01-10 11:57:34 +03:00
aynsix
bc17030f9d PHRAS-3604 remove deleted record from a publication 2021-12-08 15:51:49 +03:00
aynsix
cb206c79bf PHRAS-3555 add description in record.edit webhook 2021-12-07 15:24:58 +03:00
jygaulier
ab43c083ed PHRAS-3584 : clear record cache 2021-12-06 11:22:09 +01:00
Nicolas Maillat
8a32f16884 Merge branch 'master' into PHRAS-3584_story-cover-link 2021-12-03 16:11:22 +01:00
aynsix
f51bbca169 add statusbefore and newstatus data 2021-12-02 18:10:35 +03:00
aynsix
dbca0718b5 add some element in message 2021-12-02 16:50:09 +03:00
jygaulier
6c21b9f495 Merge branch 'master' into PHRAS-3584_story-cover-link 2021-12-01 12:18:07 +01:00
jygaulier
37e42d049c PHRAS-3584
fix api/v1/.../setcover ("Sub definition substituer locator was not set")
original ticket #PHRAS-3592
2021-11-30 17:04:13 +01:00
aynsix
f82597a45a fix duplicate subdef message 2021-11-30 15:01:59 +03: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
aynsix
c12cefa028 PHRAS-3468 remove logs trace 2021-11-09 10:51:49 +03:00
jygaulier
d225b381e4 PHRAS-3519_upload-tmp-then-move
implement atomic (?) "tmp+move" method on uploaded file
add traces of document filesize
2021-09-07 15:51:11 +02:00
jygaulier
fdc938c988 fix : no writemeta on doc while building subdef
add traces
2021-07-12 21:32:12 +02:00
jygaulier
f831bb282d PHRAS-3476_subdefs-corrupted
fix : q-message "writemeta/document" is now sent after all synchronous exiftools.
added lot of traces, to be removed asap
2021-07-12 21:29:26 +02:00
aynsix
8ab3214808 PHRAS-3460 timeline tab 2021-06-24 17:46:40 +03:00
jygaulier
374e617d2e PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : fixed preview was not displayed (caused by missing di)
2021-04-14 09:56:16 +02:00
jygaulier
00845c58a1 PHRAS-3397_doubles-in-multi-values_MASTER
fix : adding/replacing values set_metadata() cannot create doubles in multi-v fields
2021-03-18 18:16:39 +01:00
jygaulier
b876d97ca1 [skip ci]
PHRAS-3381_tx-as-classification-plan_MASTER
fix : "replace_all" ok
back : ok is handled
WIP
2021-03-16 13:44:44 +01:00
jygaulier
a76f64e892 [skip ci]
PHRAS-3381_tx-as-classification-plan_MASTER
back controller for ok button
fix : PHRAS-3383
WIP
2021-03-15 10:05:32 +01:00
aynsix
442cb5f08d PHRAS-3378 format number 2021-02-24 10:35:20 +03:00
aynsix
4fbfc4f54f PHRAS-3371 fix key navigation 2021-02-23 10:26:19 +03:00
aina esokia
f7ee9711ad PHRAS-3341 change title color 2021-02-11 18:00:43 +03:00
aina esokia
81aa75c600 add space 2021-02-10 17:26:46 +03:00
aina esokia
e48186e98e different fix in screen 2021-02-10 16:09:06 +03:00
aina esokia
b069737507 PHRAS-3341 title bar base/collection other place 2021-02-09 18:14:07 +03:00
aina esokia
c99f645fb8 PHRAS-3340 story title bar fix 2021-01-18 17:05:50 +03:00
aina esokia
ed1cdc6315 PHRAS-3338 detail view add icon in title bar 2021-01-15 12:08:18 +03:00
jygaulier
9e63fb0195 faster sql (removed sub-select) 2020-12-10 18:46:04 +01:00
aina esokia
e23b9dd294 PHRAS-3277 create event recordsWitemeta 2020-11-20 17:10:58 +03: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
b22b3bb8d2 - fix : forgotten type, uuid, sha etc 2020-09-17 18:57:13 +02:00
jygaulier
99be4ea1d3 WIP DO NOT MERGE
- add : route GET:records
- add : route POST:records (can create a record without document)
- add : json can be passed in body OR in a multiparm parm named "body" (to allow upload of file along with json)
- change : story content (children) is now a list of urls (=get action on each child)
2020-09-17 18:57:13 +02:00
jygaulier
18f7a658ed change : removed "/setmetadatas" from route, the http verb "PATCH" on "record" entity is ok
fix : unknown field now throws exception (no more erase all...)
add : set "base_id":x to change collection
cleanup : removed unused parm to recordadapter::move_to_collection()
2020-06-22 14:40:27 +02:00
jygaulier
0b099878f5 OK to test 2020-06-04 20:54:21 +02:00
Nicolas Maillat
a89f170241 Merge branch 'master' into PHRAS-2979-41-fix-right-access 2020-03-18 10:27:58 +01:00
aynsix
597216429a fix right access and right on story elements per user 2020-03-12 16:16:41 +03:00
aynsix
db0489c05e Revert "start subdef creation after first write meta"
This reverts commit cfa854f307.
2020-02-20 11:11:18 +03:00