Commit Graph

421 Commits

Author SHA1 Message Date
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
aynsix
12d01afeb0 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-2741-worker-service-part1 2019-12-19 16:09:47 +04:00
aynsix
cfa854f307 start subdef creation after first write meta 2019-12-19 16:09:35 +04:00
Nicolas Maillat
6afc40ef3b Merge branch 'master' into PHRAS-2196-api-stories-pagination 2019-12-12 12:56:48 +01:00
aynsix
8eb6ae5dfa change variable name 2019-12-11 18:18:30 +04:00
aynsix
1c0b1db9c7 exlu collection in quarantaine when upload 2019-12-11 11:48:23 +04:00
aynsix
e4b29d70c5 route search and storie on api/v3 2019-12-05 12:30:23 +04:00
Nicolas Maillat
77d3405149 Merge branch 'master' into PHRAS-2196-api-stories-pagination 2019-11-21 17:54:23 +01:00
aynsix
e50b60306c revert: 4cac08c48f do not use this approach 2019-09-25 14:45:48 +04:00
aynsix
4cac08c48f ask to write metadata only if record has subdefs 2019-09-25 11:29:07 +04:00
aynsix
e6fe8f98b6 change event name 2019-09-24 11:28:31 +04:00
aynsix
7541885637 buildsubdef with worker 2019-09-20 16:01:48 +04:00
aynsix
c20d385292 PHRAS-2329 Port to master : log_doc error when move a record between collections (#2867)
* port PHRAS-2317 fix: wrong coll_id in log_docs when move collection

* update
2018-12-26 09:41:08 +01:00