48772efd54
DX: fix phpstan issues
2023-03-28 22:32:08 +02:00
27dbdbcd96
Merge branch 'master' into upgrade-php82
2023-03-28 11:11:51 +02:00
2a3011d358
Fixed: force collabora to use the current locale for the UI + improve sidebar on opening
2023-03-28 10:45:29 +02:00
97a4c39941
Merge branch 'master' into upgrade-php82
2023-03-20 12:40:58 +01:00
d1bdf41c4c
Feature: Force language when converting documents
2023-03-15 13:36:41 +01:00
c35ca3dbeb
DX: fix cs
2023-02-28 22:39:33 +01:00
b1d4334c0f
DX: fix phpstan issues
2023-02-28 22:07:52 +01:00
7dc07129f8
Merge branch 'master' into upgrade-php82
2023-02-28 18:21:51 +01:00
a16244a3f5
Feature: [docgen] generate documents in an async queue
...
The documents are now generated in a queue, using symfony messenger. This queue should be configured:
```yaml
# app/config/messenger.yaml
framework:
messenger:
# reset services after consuming messages
# reset_on_message: true
failure_transport: failed
transports:
# https://symfony.com/doc/current/messenger.html#transport-configuration
async: '%env(MESSENGER_TRANSPORT_DSN)%'
priority:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
failed: 'doctrine://default?queue_name=failed'
routing:
# ... other messages
'Chill\DocGeneratorBundle\Service\Messenger\RequestGenerationMessage': priority
```
`StoredObject`s now have additionnal properties:
* status (pending, failure, ready (by default) ), which explain if the document is generated;
* a generationTrialCounter, which is incremented on each generation trial, which prevent each generation more than 5 times;
The generator computation is moved from the `DocGenTemplateController` to a `Generator` (implementing `GeneratorInterface`.
There are new methods to `Context` which allow to normalize/denormalize context data to/from a messenger's `Message`.
2023-02-28 15:25:47 +00:00
70871176fc
DX: fix cs
2023-02-06 17:47:54 +01:00
264a6ef43e
DX: fix phpstan errors
2023-02-04 01:53:40 +01:00
856eea37ee
DX: fix phpstan errors
2023-02-04 00:50:58 +01:00
9f5b11e6cc
Feature: allow to convert to PDF from Chill and group action button on document
...
BREAKING CHANGE: avoid using the macro for download button. To keep the UI clean, use always the new "group of action buttons".
2023-01-31 16:30:19 +00:00
459df26fef
DX: fix cs
2023-01-25 13:36:35 +01:00
c4eb45edcc
Feature: allow to administrate budget resources and charges from the admin
2023-01-23 20:40:01 +00:00
bd324753f3
DX: fix cs
2023-01-19 13:28:13 +01:00
4fec18f3aa
Fixed: [wopi] add a "graceful period" when removing a lock
...
This ensure that requests like putFile, which comes in the same time frame, encounter a "document is unlocked" error.
2023-01-19 13:21:11 +01:00
239a978adb
Fixed: [wopi] effectively use the ChillDocumentLockManager
2023-01-13 18:15:51 +01:00
08ddbee6af
DX: Fix CS
2023-01-13 14:39:30 +01:00
34296e7841
Feature: [wopi] Implements the new required AuthorizationManager and UserManager for wopi
2023-01-10 20:26:44 +01:00
c1c92dc296
Feature: use JWT access token for securing wopi endpoints
2023-01-09 20:55:25 +01:00
77e4b1d4ff
Fixed: use the new native implementation of putFile to handle last-modified-timestamp correctly
2023-01-07 20:53:03 +01:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
4f81bffa67
add a test for relocking an existing lock
2022-06-27 23:57:42 +02:00
5432ce2b0f
some fixes with wopi
2022-06-27 23:51:07 +02:00
03bc94178f
re-implements document lock manager for wopi
2022-06-27 22:44:10 +02:00
10095343ec
handle lastUpdateTime for Wopi implementation
...
* get the last updated time from the stored object's storage
* improve perf on loading content from stored object's storage: keep the
response in cache
2022-06-20 21:22:02 +02:00
7b0c8d21ee
sort properties alphabetically
2022-04-26 20:27:08 +02:00
faf1559770
Merge branch 'master' into feat/add-document-encrypter-service
2022-04-26 14:52:13 +02:00
Pol Dellaiera
81edaef062
Fix: Route name change.
2022-04-26 11:50:59 +02:00
Pol Dellaiera
dc48b4b9c7
Fix #581 : Collabora / wopi: le bouton "imprimer" ne fonctionne pas.
2022-04-26 11:47:46 +02:00
e72a2004d7
Merge remote-tracking branch 'origin/master' into feat/add-document-encrypter-service
2022-04-26 09:37:30 +02:00
Pol Dellaiera
7048f670ed
Fix #552 : Return AccessDeniedException
when trying to access a document and user is not logged in.
2022-04-19 15:45:47 +02:00
bfd51c6615
allow downloads in LO editor
2022-03-18 13:55:33 +01:00
Pol Dellaiera
22755de1dd
fix: Remove PrependExtensionInterface
.
...
It is now handled by `chill_main` bundle.
2022-03-15 13:45:07 +01:00
Pol Dellaiera
3d7fcd99a8
fix: Remove console.log
.
2022-03-15 13:45:07 +01:00
Pol Dellaiera
35d723e5fb
refactor: Use StoredObjectManager
.
2022-03-15 13:45:07 +01:00
Pol Dellaiera
11c6f6d84a
Fix code-style.
2021-12-21 15:02:43 +01:00
Pol Dellaiera
d692793714
fix: Add missing UUID doctrine type.
2021-12-21 14:31:31 +01:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS).
2021-12-21 10:59:23 +01:00
Pol Dellaiera
c84ba5371d
test: Do not use PHP 8 keywords yet.
...
It's much too early ! :)
2021-12-21 10:06:18 +01:00
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
Pol Dellaiera
f1f13996f9
fix: Fix missing parameter.
2021-09-30 12:07:58 +02:00
Pol Dellaiera
f8f019cfe6
fix: Fix bug in getSize()
method.
2021-09-30 11:09:55 +02:00
Pol Dellaiera
7f721da08a
fix: Remove obsolete code.
2021-09-29 22:38:48 +02:00
Pol Dellaiera
9a34aa59bb
fix: Add missing dependency.
2021-09-29 21:50:44 +02:00
Pol Dellaiera
00259dae20
fix: Update ChillDocumentManager::getSize()
.
2021-09-29 21:46:47 +02:00
Pol Dellaiera
fb8b8b354f
refactor: Update Wopi::checkFileInfo()
so it can authenticate users from access token.
2021-09-29 20:25:32 +02:00