jygaulier
555646232e
PHRAS-4085_data-volumes-api ( #4529 )
...
* new route `/api/v3/monitor/data/?oauth_token=xxx&blocksize=16ko`
* add `unit` parameter for size restults ('', 'o', ''ko', 'mo', 'go'), default '' (=octets, same as 'o')
* new units "octet", "octets"
* fix round error (don't sum rounded values: round the real sum)
* add infos about downloads;
round sizes to 2 decimals
* add `...&details=1` url parameter to get values by collection and subdef name
* add column size in LazaretFiles table
add command bin/maintenance lazaret:set_sizes
* add api monitor data by databox
* fix size
2024-07-17 17:25:42 +02:00
jygaulier
ecc5398a2d
copy of https://github.com/alchemy-fr/Phraseanet/pull/4527/files ( #4528 )
2024-06-27 14:46:22 +02:00
Aina Sitraka
b8786852e0
PHRAS-4067: admin - dashboard - 500 error ( #4513 )
...
* fix error 500 on dashboard : remove unused swiftools requirement
* unused
* patch on 4.1.8
2024-06-10 18:18:34 +02:00
Aina Sitraka
f02e5b8e5f
PHRAS-4023 hcaptcha in Phraseanet ( #4473 )
...
* use hcaptcha
* add conf
* use captcha-provider key instead of captchas-enabled in configuration
* fix test
* test
* bump back version to rc9
2024-02-29 14:59:46 +01:00
Aina Sitraka
52faf4eb03
add instance_id in route api monitor ( #4472 )
2024-02-09 17:38:10 +01:00
Aina Sitraka
f0baae969f
PHRAS-3947: Prod - Editing - restrict field content to thesaurus and or suggested values ( #4426 )
...
* add property input-disabled in field
* fix
* fix
2023-12-04 09:50:01 +01:00
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
Aina Sitraka
9477c9b340
PHRAS-2948 Lazaret ( quarantine ) - disabled a checker cause a 500 error ( #4241 )
2023-02-07 10:00:37 +01:00
Aina Sitraka
9902457c42
PHRAS-1718 add google recaptcha ( #4224 )
...
* PHRAS-1718 Add google recaptcha lib - Dont merge some quick fixes remaining
* PHRAS-1718 Add error on registration form if captcha is not filled
* Update dependencies
* PHRAS-1718 Add trials-before-display var on admin setup form. Add integer constraint on this field
* fix
* test
* test
* fix
* test
* test
* fix
* test
* fix
* test
* add captcha on forgotten password
* fix
* add patch
* add locale on captcha
* bump version
Co-authored-by: Xavier Rousset <xrousset78800@gmail.com >
2023-01-25 18:30:46 +01:00
jygaulier
c8e575c1e7
PHRAS-3765_oauth-parms-in-session ( #4153 )
...
PHRAS-3765: fetch parms from session
PHRAS-3765 : fix : pass custom parameters as argument (don't try to hack request)
2022-10-25 12:27:21 +02:00
Aina Sitraka
8efdc36efa
PHRAS-3712 admin - sudefinition - property to define building rules on subdefinition ( #4104 )
...
* add building rules
* setting in first position
attribute `tobuild` on subdefinition
limit subdef name to 64 like db
taken account tobuild in tools rebuild GUI
taken account tobuild in command `bin/console records:build-subdefs`
* add check
* add tobuild in api response
* fix command `bin/console records:build-subdefs`
2022-07-27 18:25:44 +02:00
Aina Sitraka
5bd63b1c34
PHRAS-3697 printed pdf improvement ( #4063 )
...
* field with label on print
* option to hide record information in preview when print
* add column printable
* add color picker
* patch on 4 1 6 cr4
* update locale
* bump version to 4.1.6-rc4
* fix bloc info color
* font size bloc info
* some fix
* Fallback to thumbnail when chosen subdefinition is not present or not printable
2022-06-23 10:13:42 +02:00
jygaulier
fbccec009e
PHRAS-3602_shared-baskets-step1 WIP DO NOT MERGE ( #3929 )
...
* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]
* PHRAS-3602 : migrate validations code to baskets code (wip)
WIP [skip ci]
* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]
* PHRAS-3602 : migrate validations to baskets
WIP [skip ci]
* PHRAS-3602 : fake commit to run tests
* PHRAS-3602 : migrate validations to baskets
fix typo
* PHRAS-3602 : migrate validations to baskets
fixed (some) tests
* PHRAS-3602 : migrate validations to baskets
fixed (some) tests
* PHRAS-3602 : migrate validations to baskets
fixed (some) tests. need to remove method():return_type signature because of old phpunit which does not mock it
* PHRAS-3602 : migrate validations to baskets
fix
* PHRAS-3602 : migrate validations to baskets
fix err 500 when a "vote" (feedback) is deployed in wz
* PHRAS-3602 : migrate validations to baskets
fix missing votes for element+participant
fix update vote dates on basket
* PHRAS-3602 : ux
bump production-client to 34
WIP [skip ci]
* PHRAS-3602 : rebase (bump production-client to 37)
WIP [skip ci]
* PHRAS-3602 : refacto css/twig/templates/... ; replace many png's by fonts
WIP [skip ci]
* PHRAS-3602 : fix icon / css
WIP
* PHRAS-3602 : better icon align ; back button color
fix : save button after adding a user
WIP [skip ci]
* PHRAS-3602 : restore sharebasket controller
todo : implement modification right ; owner is participant ?
WIP [skip ci]
* PHRAS-3602 : set "canModifiy" ; cleanup
WIP [skip ci]
* PHRAS-3602 : respect "can_modify" on shared basket
WIP [skip ci]
* PHRAS-3602 : fix badge icon bg ; fix button css
WIP [skip ci]
* PHRAS-3602 : fix css & cleanup
WIP [skip ci]
* PHRAS-3602 : fix 500 on preview/feedback tab
WIP [skip ci]
* PHRAS-3602 : fix allow to display dlg without selection
* PHRAS-3602 : bump version to 4.1.6-rc1 ; prodclient=38
WIP [skip ci]
* PHRAS-3602 : factorize baskets menu (wip)
WIP [skip ci]
* PHRAS-3602 : modify already shared or feedback basket (general menu)
4th icon on badges (vote != modify)
quitshare option (todo back)
allow fa-icons in toolbar
WIP [skip ci]
* PHRAS-3602 : add share end-date (todo:db write)
add 4th general toggle button
fix badge selection bug
fix css badges zone (form position)
WIP [skip ci]
* PHRAS-3602 : big refacto to use "sharebasket" vocab.
fusion "feedback/sharebasket" removed "feedback"
adaptative ux: 1 "can_agree" ==> feedback display
bump production-client to v50
todo: save shr/fbk end-dates
todo: rename "pushXXX" to pushAndShare ?
WIP [skip ci]
* PHRAS-3602 : share / feedback expiration dates are saved in db
date pickers with delta menu
better adaptive ux
todo: move select general togglers
WIP [skip ci]
* PHRAS-3602 : revert validation* tables (remove "dead" rename)
drop all foreign keys from validation*
WIP [skip ci]
* PHRAS-3602 : restore deleted fields in validation, regenerate proxies
WIP [skip ci]
* PHRAS-3602 : fix initiator_id
WIP [skip ci]
* fix initiator_id-bis
* PHRAS-3602 : css for input-text with glued button
dynamic load of users-lists (left zone) = less duplicated code
fix : users-lists works after refresh
WIP [skip ci]
* PHRAS-3602 : fix users-lists manager (orange) : go flex !
* PHRAS-3602 : empty dist to ease rebase
WIP [skip ci]
* PHRAS-3602 : rebase
WIP [skip ci]
* PHRAS-3602 : new ux for "owner"
feedback mode is an independent toggle
fix "missing mandatory parameter"
WIP [skip ci]
* PHRAS-3602 : fix css of owner badge
WIP [skip ci]
* PHRAS-3602 : fix handling of feedback initiator
WIP [skip ci]
* PHRAS-3602 : better wss to follow "skins"
full roboto
removed useless class "with-button"
WIP [skip ci]
* PHRAS-3602 : fix "a token require a validation"
temporary fix 500 due to send email to (null) vote-initiator for simple share
todo: send a specific email for simple share
WIP [skip ci]
* PHRAS-3602 : different emails depending if user can vote or not
WIP [skip ci]
* PHRAS-3602 : expired shared baskets removed from wz
WIP [skip ci]
* PHRAS-3602 : fix logic error on last sql
WIP [skip ci]
* PHRAS-3602 : fix missing shared baskets on wz
WIP [skip ci]
* PHRAS-3602 : fix blinking of wz/basket detail
now only the title:hover displays detail
WIP [skip ci]
* PHRAS-3602 : rebase
WIP [skip ci]
* PHRAS-3602 : update basket proxy
WIP [skip ci]
* PHRAS-3602 : fix forever "unread" basket
WIP [skip ci]
* PHRAS-3602 : fix display of unread basket ; sync "eye" icon with css change
WIP [skip ci]
* PHRAS-3602 : "quitshare" action works
WIP [skip ci]
* PHRAS-3602 : missing dist files
WIP [skip ci]
* PHRAS-3602 : cleanup & run ci
* PHRAS-3602 : disable failing unit test ; remove blue on onread basket
* PHRAS-3602 : separate "vote" & "share" emails templates & u-tests
* PHRAS-3602 : add 2 icons "stack" to icomoon set
WIP [skip ci]
* PHRAS-3602 : fix test
* PHRAS-3602 : fix test ; add test for simple share email notification
* PHRAS-3602 : changed proxy
* PHRAS-3602 : colored basket icons
WIP [skip ci]
* PHRAS-3602 : circle basket icons
WIP [skip ci]
* PHRAS-3602 : fix wz filters, add "share" filter.
todo: fix fr writing (new string)
WIP [skip ci]
* PHRAS-3602 : fix "share" dichotomy : use "shared" for wz filter
WIP [skip ci]
* PHRAS-3602 : fix PHRAS-3624 ; PHRAS-3623 ; now adding/removing a user from user list is immediate (no more save button)
WIP [skip ci]
* PHRAS-3602 : fix PHRAS-3647 ; shared basket are listed in api (for list and related record)
* PHRAS-3602 : fix due to failing test
* PHRAS-3602 : fix: can load a 1000 users list
todo : move slow code to worker
* PHRAS-3602 : fix due to failing test
* PHRAS-3468 : (fixed in 3602) fix basket content still visible when baskets are hidden (wz-filter)
* PHRAS-3602 : add "wip" baskets with notification & lock
todo : move slow code from message to worker
* PHRAS-3602 : fix tests due to accidental rename
* PHRAS-3602 : fix : menu closes when mouse out : bump to 4.1.6-rc3
todo : fast move to another basket makes the menu appear on top ?
* add shareBasket worker
* fix test
* PHRAS-3602 : fix : rights buttons on badges now works for users added from search (did work only from loading list)
* PHRAS-3590
Co-authored-by: aynsix <asr@esokia-webagency.com >
Co-authored-by: Nicolas Maillat <maillat@alchemy.fr >
2022-04-07 17:07:43 +02:00
Nicolas Maillat
bdcbd7c0e0
Revert " "PHRAS-3215 : Revert add ThumbnailOrientation facet ; add strings""
2022-03-08 11:49:36 +01:00
Nicolas Maillat
ccd460be27
Revert "PHRAS-3215 : add ThumbnailOrientation facet ; add strings"
2022-02-25 23:10:23 +01:00
Nicolas Maillat
a11d11b5b5
Merge branch 'master' into PHRAS-3215_orientation-facet-of-thumbnail
2022-02-25 17:43:57 +01:00
jygaulier
406a0ce953
PHRAS-3602 : add ThumbnailOrientation facet ; add strings
2022-02-25 10:11:49 +01:00
aynsix
e882021019
PHRAS-3642 api return subdefs
2022-02-24 16:07:54 +03:00
aynsix
518d2d94ff
use the guzzle 6 version
2022-02-07 17:29:30 +03:00
aynsix
cb206c79bf
PHRAS-3555 add description in record.edit webhook
2021-12-07 15:24:58 +03: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
038bdf20bd
PHRAS-3584
...
return "cover_record_id" into api/v1/stories/{{sbid}}/{{rid}}
2021-12-01 12:17:10 +01:00
jygaulier
ac78153f46
Merge branch 'PHRAS-3584_story-cover-link' of github.com:alchemy-fr/Phraseanet into PHRAS-3584_story-cover-link
2021-11-30 17:06:15 +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
jygaulier
623d087a44
Merge branch 'master' into PHRAS-3584_story-cover-link
2021-11-26 12:08:35 +01:00
jygaulier
fba12a64aa
PHRAS-3564
...
fix: wmark is applied
better internal callback
2021-11-25 19:23:30 +01:00
jygaulier
a6f1d40517
PHRAS-3564
...
WIP fix
2021-11-25 17:24:15 +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
Arthur de Moulins
8bbdfe07ee
PHRAS-3564 fail fast, turn off ssl verification
2021-11-17 15:16:24 +01:00
jygaulier
ac3aa6e1ba
PHRAS-3564
...
fix video work location
subdefs posted
result set with sent/failed & durations
add test callback route
2021-11-17 15:16:24 +01:00
jygaulier
10127a21b1
PHRAS-3564 WIP
...
wip
2021-11-17 15:16:24 +01:00
jygaulier
0553f6152c
PHRAS-3564 WIP
...
create subdefs (on tmp) from file passed as upload or reference
route /api/v3/subdefs_service/{{base_id}}
subdef setttings comes from base_id
todo : pass settings in json ; remove base_id from route
todo : return files by upload
2021-11-17 15:16:24 +01:00
jygaulier
fff3f284bb
PHRAS-3425_fix-translation-dump_MASTER
...
fix : bump patched jms/translation-bundle (forked)
fix : all errors ; most warnings
2021-04-21 15:02:39 +02:00
jygaulier
1d5769e002
PHRAS-3393_apiv3-patch-use-recordadapter_MASTER
...
change : api v3 record metadata post/patch. Use the code that was moved to record adapter
2021-03-29 17:16:10 +02:00
aina esokia
427216ec43
PHRAS-3277 validation reminder in percent
2020-12-02 17:31:05 +03:00
aina esokia
e23b9dd294
PHRAS-3277 create event recordsWitemeta
2020-11-20 17:10:58 +03:00
jygaulier
5ae105d9c2
- fix : error during populate
...
- add : clear structure cache when structure (field or sb) is changed
2020-11-05 11:27:39 +01:00
jygaulier
5cf7818187
- add timers again
2020-10-27 18:27:12 +01:00
jygaulier
919211d219
- add timers
2020-10-27 18:07:12 +01:00
jygaulier
7c01c34dfc
- add timing debug, disable permalinks injection to es
2020-10-27 17:18:37 +01:00
jygaulier
ff44cc379e
WIP / DEBUG
...
- add every subdef in es document, including permalink
2020-10-21 20:07:11 +02:00
jygaulier
d0283913de
WIP / DEBUG
...
- add stopwatches to find slow parts.
- to test : add api-v3/searchraw ; same as "search", but returns raw es docs (shortest way). No objects, no fractal.
2020-10-21 20:07:11 +02:00
jygaulier
4da47a7908
- fix : include=facets now works also in extended mode
2020-09-29 20:00:14 +02: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
236a4a20ac
- add : route GET:stories/.../.../children (wip)
...
- change : now GET record can return a story (return r.is_story = true); GET story will only return a story.
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