Alejandro
d5aa4f3ee4
Merge pull request #4050 from penpot/niwinz-staging-bugfix-8
...
🐛 Fix incorrect props handling on profile registration
2024-01-25 16:14:19 +01:00
Andrey Antukh
6ad6e6f856
🐛 Fix objects-map and pointer-map issues on file crud
2024-01-25 16:03:29 +01:00
Andrey Antukh
69ffd57447
🐛 Fix incorrect props handling on profile registration
2024-01-24 17:12:41 +01:00
Andrey Antukh
0b29aaecc4
💄 Format backend code
2024-01-08 09:32:50 +01:00
Andrey Antukh
746d898245
✨ Improve the db api efficiency
...
Mainly setup proper defaults and reduce unnecesary allocations
on every db api call.
2024-01-04 12:41:16 +01:00
Andrey Antukh
addb392ecc
✨ Add safety mechanism for direct object deletion
...
The main objective is prevent deletion of objects that can leave
unreachable orphan objects which we are unable to correctly track.
Additionally, this commit includes:
1. Properly implement safe cascade deletion of all participating
tables on soft deletion in the objects-gc task;
2. Make the file thumbnail related tables also participate in the
touch/refcount mechanism applyign to the same safety checks;
3. Add helper for db query lazy iteration using PostgreSQL support
for server side cursors;
4. Fix efficiency issues on gc related task using server side
cursors instead of custom chunked iteration for processing data.
The problem resided when a large chunk of rows that has identical
value on the deleted_at column and the chunk size is small (the
default); when the custom chunked iteration only reads a first N
items and skip the rest of the set to the next run.
This has caused many objects to remain pending to be eliminated,
taking up space for longer than expected. The server side cursor
based iteration does not has this problem and iterates correctly
over all objects.
5. Fix refcount issues on font variant deletion RPC methods
2024-01-03 10:56:57 +01:00
Andrey Antukh
bdb1742d59
🐛 Fix incorrect feature checking on move project
2023-12-14 10:35:24 +01:00
Andrey Antukh
03518a8da1
✨ Add the ability to stream events on rpc methods
2023-12-13 14:20:07 +01:00
Andrey Antukh
76a6f077a6
🐛 Fix incorrect feature handling on absorb-library! fn
...
Used in shared flag assignation and library deletion
2023-12-13 11:56:20 +01:00
Andrey Antukh
87615ce221
💄 Fix format issues on backend module
2023-11-29 12:55:58 +01:00
Alejandro
7404933e99
Merge pull request #3854 from penpot/niwinz-develop-yetti-update
...
✨ Update yetti and simplify internal worker module
2023-11-29 12:01:33 +01:00
Andrey Antukh
2295d085d3
⚡ Improve performance on error formating and reporting
2023-11-27 14:25:12 +01:00
Andrey Antukh
bb5a4c0fa5
✨ Update yetti and adapt for ring-2.0
2023-11-27 14:25:12 +01:00
Andrey Antukh
d82ebdc034
✨ Add deduplication for file object thumbnails
2023-11-24 11:06:47 +01:00
Andrey Antukh
2e927d5640
🐛 Fix features handling on viewer
2023-11-20 11:21:13 +01:00
Andrey Antukh
52fbc678f3
♻️ Move app.common.pages to app.common.files
2023-11-16 11:07:36 +01:00
Alejandro Alonso
1913395c47
🎉 Support for images as fills
2023-11-14 12:39:53 +01:00
Aitor
7951350762
🐛 Fix db table tagged thumbnails
2023-11-07 16:01:00 +01:00
Andrey Antukh
6f93b41920
🎉 Add features assignation for teams
2023-11-07 12:48:31 +01:00
alonso.torres
dd8480cd87
✨ Fix problem with garbage collection
2023-11-02 11:06:30 +01:00
Aitor
c28c55bf0b
🎉 Add tag property to thumbnails
2023-11-02 11:06:30 +01:00
Andrés Moya
24efa867e7
🎉 Do file validation on each file change
2023-09-27 13:26:28 +02:00
Andrey Antukh
ef4bd8c598
🐛 Fix incorrect interaction of library-absorb mechanism and storage-pointes
2023-09-14 17:45:56 +02:00
Alejandro Alonso
69f2e7c43f
Merge remote-tracking branch 'origin/staging' into develop
2023-09-01 12:40:17 +02:00
Andrey Antukh
a0973b9ddf
✨ Improve storage-gc-deleted task reliability
2023-08-31 14:36:31 +02:00
Andrey Antukh
8eb64de062
Merge remote-tracking branch 'origin/staging' into develop
2023-07-13 12:13:06 +02:00
Andrey Antukh
405aa66357
🎉 Add new shape & rect data structures
...
Also optimizes some functions for faster shape and rect props
access (there is still a lot of work ahead optimizing the rest of
the functions)
Also normalizes shape creation and validation for ensuring
correct setup of all the mandatory properties.
2023-07-11 17:27:35 +02:00
Andrey Antukh
23c8043f34
🐛 Fix incorrect message on sending invitation to a member
2023-07-11 12:00:16 +02:00
Andrey Antukh
494c585e2f
✨ Make builtin templates download ondemand if cache is not present
2023-07-10 15:07:17 +02:00
Andrey Antukh
be652b909e
✨ Add stronger validationt to auth/register rpc methods
2023-07-04 14:36:31 +02:00
Andrey Antukh
f166fe1926
🐛 Add proper validation of registration domain whitelist on oidc
...
Fixes #3348
2023-06-26 18:14:56 +02:00
Andrey Antukh
d11b007795
⚡ Add thumbnail renderer
...
And integrate the dashboard thumbnails to use that service
2023-06-21 20:10:49 +02:00
Andrey Antukh
1d4bd34dfc
✨ Move fressian to common module
2023-05-26 08:04:01 +02:00
Aitor
48834f96d3
♻️ Refactor thumbnail rendering on workspace
2023-05-22 10:56:46 +02:00
Andrey Antukh
5ca3d01ea1
🎉 Add malli based validation and coersion subsystem
2023-05-17 16:05:29 +02:00
Andrey Antukh
0dc7f4e07e
✨ Add test for orphaned teams deletion
2023-05-17 15:47:21 +02:00
Andrey Antukh
730c26f1e2
📎 Remove worker explicitly from test initialization
2023-05-17 15:47:21 +02:00
Andrey Antukh
e8ffcbae69
🎉 Add support for multipart upload of thumbnails
...
and improve the thumbnails storage to offloading it
to the storage subsystem
2023-05-05 17:00:35 +02:00
Andrey Antukh
64cef9bb7d
📎 Add missing access-token middleware tests
2023-05-05 17:00:35 +02:00
Alejandro
5dd1fa0f98
Merge pull request #3171 from penpot/niwinz-enhancements-3
...
✨ Improve file-gc task
2023-05-05 10:55:14 +02:00
Alejandro Alonso
890583a13a
✨ Add mvp access-token support
2023-05-04 22:14:55 +02:00
Andrey Antukh
5e89aa2726
✨ Improve file-gc task
...
make it more aware of fragments referenced on changes snapshots
2023-04-26 13:28:32 +02:00
Andrey Antukh
c0ccbaebaf
🔥 Remove deprecated queries and mutations
2023-04-24 20:18:14 +02:00
Andrey Antukh
dfdc9c9fa5
♻️ Refactor storage internal concurrency model
2023-03-14 12:30:27 +01:00
Andrey Antukh
aafbf6bc15
♻️ Refactor cocurrency model on backend
...
Mainly the followin changes:
- Pass majority of code to the old and plain synchronous style
and start using virtual threads for the RPC (and partially some
HTTP server middlewares).
- Make some improvements on how CLIMIT is handled, simplifying code
- Improve considerably performance reducing the reflection and
unnecesary funcion calls on the whole stack-trace of an RPC call.
- Improve efficiency reducing considerably the total threads number.
2023-03-14 12:30:27 +01:00
Andrey Antukh
4c85e55176
📎 Improve tests performance making all tables as unlogged
2023-03-14 12:30:27 +01:00
Andrey Antukh
9b5a321a62
📎 Fix tests
2023-02-25 10:24:41 +01:00
Andrey Antukh
ab3b9cba45
♻️ Refactor storage and assets related modules
...
- improve internal error handling
- add more specs and more asserts
2023-02-07 18:16:55 +01:00
Andrey Antukh
bd2745d1fe
♻️ Clean email related namespaces
...
- Remove legacy and outdated mjml directory
- Rename namespace to a proper name
- Add more specs
2023-02-07 18:16:55 +01:00
Alejandro Alonso
2ea81c0114
Merge remote-tracking branch 'origin/staging' into develop
2023-02-02 18:06:59 +01:00