Alejandro Alonso
667598a0eb
✨ Add project ids to create-file mutation for audit log
2022-06-15 07:49:05 +02:00
Alejandro Alonso
6b5ee24010
✨ Add team and project ids to update-file mutation for audit log
2022-06-14 09:08:06 +02:00
alonso.torres
8cd7f61150
🐛 Fix problem with duplicated ids for thumbnails
2022-05-09 15:37:47 +02:00
Andrey Antukh
20d3251a93
🎉 Add generic file object thumbnail abstraction
...
As replacement to the file frame thumbnail mechanism
2022-04-05 13:23:39 +02:00
Andrey Antukh
2832736826
🎉 Add garbage collection task for file thumbnails
...
And additionally, rename the current task to file-gc
to match the real purpose of the task.
2022-03-28 17:24:52 +02:00
Andrey Antukh
c876534c85
✨ Move the dashboard grid thumbnails to backend cache
2022-03-28 17:24:52 +02:00
Andrey Antukh
b91c42e186
⚡ Add performance improvements to file thumbnails
...
Mainly addresing unnecesary object transmission. The new code strips
unnecesary data to be transferred from back to front.
Additionally it removes some legacy code and simplifies other
parts of code.
2022-03-28 17:24:52 +02:00
Andrey Antukh
f60d8c6c96
♻️ Refactor websockets subsystem (on backend)
...
- Refactor msgbus subsystem, simplifying many parts.
- Enable persistent websocket connection for the all session duration.
2022-03-22 11:34:32 +01:00
Andrey Antukh
741ad29d82
🎉 Add missing rlimit metadata and configuration
2022-03-18 17:12:12 +01:00
Andrey Antukh
9e4a50fb15
♻️ Refactor backend to be more async friendly
2022-03-03 16:05:52 +01:00
Andrey Antukh
7cf27ac86d
♻️ Refactor general resource and concurrency model on backend
2022-02-22 13:05:41 +01:00
Pablo Alba
34df52be5f
🎉 Add frame thumbnail API
2022-02-12 16:08:46 +01:00
Andrey Antukh
0f04b86316
⚡ Improve performance on import .penpot files.
2022-01-20 11:47:17 +01:00
Andrey Antukh
36016ad9ef
✨ Store changes on file_change table as vector.
2021-12-30 16:02:06 +01:00
Andrey Antukh
bf66b81702
✨ Move dbg error http entrypoint handler to debug ns.
2021-12-30 16:01:36 +01:00
Andrey Antukh
f24563503a
✨ Parametrice file change snapshoting.
2021-12-30 13:03:49 +01:00
Andrey Antukh
219f9c478d
🎉 Add version 4 of blob encoding.
...
The version 4 starts using the hight performance fressian
binary encoding with very lightweight compression layer.
2021-12-21 16:19:25 +01:00
Josh Soref
cd2d3d5fa3
🐛 Fix typos in backend
2021-11-15 09:53:10 -05:00
Andrey Antukh
f6e18de6af
✨ Add more metrics to update-file.
2021-09-03 10:36:34 +02:00
Andrey Antukh
efa5120fac
✨ Fix inconsistencies on storage backend usage.
2021-07-29 12:59:24 +02:00
Andrey Antukh
047791413e
✨ Fix linter issues on backend.
2021-06-18 11:20:26 +02:00
Andrey Antukh
2728fa2b8d
✨ Add proper fdata objects deletion.
2021-06-15 09:25:37 +02:00
Andrey Antukh
0c97a44a2a
🎉 Add file offloading to external storage mechanism.
2021-06-14 15:41:27 +02:00
alonso.torres
3aa5fda695
✨ Import pages with imported svgs
2021-06-11 15:48:23 +02:00
alonso.torres
0647fa832a
✨ Read files info from manifest
2021-06-11 15:48:22 +02:00
Andrey Antukh
4928f875b3
✨ Strip incoming changes from update-file response.
...
Until now, `update-file` always returned a ordered set of change-groups
plus the one created by the ongoing request.
A change-group corresponds to a list of changes commited in a single
update-file (file_change table row).
Including the ongoing request change-group on response with increase
load stated causing considerable amount of memmory pressure.
Since this changes are no longer necessary on frontend side, with this
commit we strip the changes list from the ongoing request change-group,
sending back an empty entry with the increased `revn` number.
2021-06-11 12:36:21 +02:00
Andrey Antukh
024cc88738
✨ Reduce the file-change snapshot taking ratio.
...
Until now, a file `data` snapshot was persisted on every file_change
row. That causes a lot of IO load and increase disk usage without
a real benefit.
This commit reduces the snapshot generation; now the snapshot
is persisted every 20 update-file or when a file is not touched
in 3 hours or more.
2021-06-11 12:36:21 +02:00
Andrey Antukh
55b0f6e950
📎 Minor change on locking order on update-file.
2021-06-09 15:53:38 +02:00
Andrey Antukh
144127224c
✨ Reduce contention on file-update using advisory locks and weaker row locking.
2021-06-09 15:49:45 +02:00
Andrey Antukh
860e0227af
♻️ Reimplement GC mechanism for penpot database objects.
2021-06-09 15:27:07 +02:00
alonso.torres
b76fef1e44
✨ Change create file to send data from the frontend
2021-06-03 13:26:05 +02:00
alonso.torres
f92dc6f4b4
🐛 Fix problem with colaborative editing
2021-05-25 13:24:02 +02:00
Andrey Antukh
0f8e2a9b1b
🎉 Add experimental trazability to update-file.
2021-05-10 14:53:47 +02:00
Andrey Antukh
f545e41d10
📎 Fix license header.
2021-04-12 16:49:43 +02:00
Andrey Antukh
0926fbcbc6
♻️ Minor code reorganization.
...
Improves modularity and reusability and allows usage
of backend code as a library.
2021-03-31 09:28:15 +02:00
Andrey Antukh
6a345c4b8a
✨ Complete backend behavior when duplicate and move
2021-03-03 12:38:34 +01:00
Andrey Antukh
9b8d73ef86
🐛 Fix topic encoding on msg publication.
2021-03-01 16:37:58 +01:00
Andrey Antukh
645954bc7c
🐛 Fix issues on files and project rpc methods.
2021-02-25 17:45:39 +01:00
Andrey Antukh
de394a7d4e
♻️ Refactor LDAP auth backend.
...
And reorganize oauth backend namespaces.
2021-02-19 13:09:18 +01:00
Andrey Antukh
0f9b2923c2
🎉 Add msgbus abstraction.
...
As a replacement for the current pubsub approach.
It now uses a single connection for multiple
subscriptions (instead of conn per subscription);
has asynchronous publish and uses more efficient
blob encoding for message encoding (the same used
as page storage).
2021-02-16 11:49:47 +01:00
Andrey Antukh
2e438385f3
✨ Increase default deletion delay.
2021-02-10 17:06:09 +01:00
Andrey Antukh
9f12456456
♻️ Replace mount with integrant.
2021-01-07 11:29:57 +01:00