Commit Graph

140 Commits

Author SHA1 Message Date
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
0d970a2a4e ignore metadata-reader exception (#4532) 2024-07-17 16:52:25 +02:00
aynsix
c12cefa028 PHRAS-3468 remove logs trace 2021-11-09 10:51:49 +03:00
aynsix
582b636e66 taken account heic file, bump mediavorus 2021-09-29 15:26:02 +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
ab0da6cff2 PHRAS-3476_subdefs-corrupted
fix : removed globals[app] for circleci
2021-07-12 21:29:26 +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
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
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
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
aina-esokia
cf41426095 add to 4.1 XmpMM:DocumentID source 2018-05-10 10:16:59 +04:00
Sandeep
7f8251d4e2 PHRAS-1819: add quarantine rule based on media type 2018-05-07 14:31:12 +04:00
Sandeep
9db8aff7b8 PHRAS-1819: Lazaret checker colorspace add rga
Add support for rgba in colorspace checker
Add allow bypass colorspace checker for document type files
Updated Mediavorus version
2018-02-22 15:31:20 +04: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
27ee4334c2 PHRAS-1161_Backport-PHRAS_1100
#time 30m
2016-06-15 15:53:14 +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
Benoît Burnichon
3563393e41 Remove useless variable clear 2016-03-15 12:21:56 +01:00
Benoît Burnichon
6ceed60efc Fix loadFromString of MetaField
Remove useless destructor
2016-03-15 12:21:56 +01:00
Benoît Burnichon
807c6d62dd Fix switch statement 2016-03-15 12:21:56 +01:00
Benoît Burnichon
f2e62abd8b Remove !count() calls 2016-03-11 18:03:53 +01:00
Scrutinizer Auto-Fixer
d8d4d79309 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-03-11 16:13:39 +00:00
Benoît Burnichon
6d2df0f9bd fixup Nosource to be properly initialized. Tag should be Value Objects 2016-03-09 13:50:44 +01:00
Benoît Burnichon
9b89c0f6db Border Manager can accepts several checkers with same type 2016-02-10 19:37:45 +01:00
Benoît Burnichon
290cbf3f68 Merge branch 'master' into bug/invalid-checker-configuration-PHRAS-927 2016-02-08 11:19:45 +01:00
Benoît Burnichon
181acbe720 Non restricted checkers should always be applicable 2016-02-06 00:37:34 +01:00
Benoît Burnichon
ea13ca7896 Add missing applicability test in BorderManager 2016-02-05 18:29:33 +01:00
Benoît Burnichon
09ce98e21a Remove reference to filesystem in Border/Manager 2016-02-05 15:36:19 +01:00
Benoît Burnichon
401ed4f431 Group exiftool.writer calls into methods/variables 2016-01-22 17:17:31 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +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
Benoît Burnichon
8aca5f6126 Use Uuid with its new namespace 2015-10-27 20:14:01 +01: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
c97eedd40f Deprecate is_grouping in favor of isStory 2015-07-13 18:14:51 +02:00
Benoît Burnichon
a3649aae88 Add Some TagMetadata to TagFactory 2015-07-08 11:08:06 +02:00
Benoît Burnichon
6e651f3b07 Replace app['phraseanet.appbox']->get_databox using trait 2015-07-02 12:27:26 +02:00
Benoît Burnichon
4eea27d9be Refactor UploadController 2015-06-02 13:59:16 +02:00
Benoît Burnichon
61206fd517 Replace calls to mediavorus to getMediaFromUri 2015-05-12 18:12:02 +02:00
Benoît Burnichon
b268b2d07b Some PHPCS issues 2015-04-28 10:24:58 +02:00
Benoît Burnichon
62b8e5a6e4 Refactoring of API V1 Controller 2015-04-27 20:35:36 +02:00
Benoît Burnichon
36a8d555e8 Add enabling capability to border manager.
This is needed to register checkers without actually applying them to Visa checks.
2015-03-18 23:09:05 +01:00
Benoît Burnichon
dd137c27ee Change unregistration process of BorderManager Checkers. 2015-03-18 21:57:07 +01:00
Benoît Burnichon
0ce4fd3192 Change to use border-manager as checker registry. 2015-03-17 16:55:55 +01:00
Benoît Burnichon
cdc7f743d5 Remove staticExpects to work with PHPUnit ~4.5 2015-03-17 13:08:27 +01:00
Benoît Burnichon
135b2fcaff Remove now useless dependency 2015-03-12 15:08:25 +01:00
Nicolas Le Goff
ed3ffb59a6 Merge remote-tracking branch 'upstream/master' into 20150306-elastic-indexer
Conflicts:
	bin/console
	bower.json
	composer.json
	composer.lock
	lib/Alchemy/Phrasea/Application.php
	lib/Alchemy/Phrasea/Border/Manager.php
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/Alchemy/Phrasea/Core/PhraseaEvents.php
	lib/Alchemy/Phrasea/SearchEngine/SearchEngineOptions.php
	lib/classes/caption/field.php
	lib/classes/record/Interface.php
	templates/web/prod/index.html.twig
	www/skins/prod/000000/prodcolor.css
2015-03-10 14:36:31 +01:00