Andrey Antukh
03eca0d9a2
🐛 Repair shape points if it is possible on comp-v2 migration
2024-02-02 10:54:33 +01:00
Andrey Antukh
3ea737deb1
🐛 Remove paths that can't be repaired on comp-v2 migration
2024-02-02 10:54:33 +01:00
Alejandro Alonso
5baa9e8fb6
🐛 Fix shape should not be component root migration error
2024-02-02 10:53:29 +01:00
Andrey Antukh
e43380ad61
🐛 Properly remove invalid text shapes on comp-v2 migration
2024-02-02 10:53:29 +01:00
Andrey Antukh
9ca7c4280c
💄 Fix minor cosmetic issues on components-v2 feature ns
2024-02-02 10:53:29 +01:00
Andrey Antukh
04be6b13be
🐛 Fix invalid colors on file library on comp-v2 migration
2024-02-02 10:53:29 +01:00
Andrés Moya
e4e566240f
🐛 Add fix for removing v2 remains in v1 files
2024-02-02 10:53:29 +01:00
Andrés Moya
daf77ecc5f
🐛 Enhande handling of detached shapes during migration fixes
2024-02-02 10:53:29 +01:00
Alejandro Alonso
0fd6cacd17
🐛 Fix parent not found, adding migration
2024-02-02 10:53:29 +01:00
Andrey Antukh
a5c6d78ee5
♻️ Fix some fundamental bugs on climit module
...
The climit previously of this commit is heavily used inside a
transactions, so in heavy contention operation such that file thumbnail
creation can cause a db pool exhaust.
This commit fixes this issue setting up a better resource limiting
mechanism that works outside the transactions so, contention will
no longer hold an open connection/transaction.
It also adds general improvement to the traceability to the climit
mechanism: it now properly logs the profile-id that is currently
cause some contention on specific resources.
It also add a general/root climit that is applied to all requests
so if someone start making abussive requests, we can clearly detect
it.
2024-02-01 17:37:49 +01:00
Andrey Antukh
658c26014b
💄 Define a RPC schema as standalone var for create-file-thumbnail
2024-02-01 17:24:42 +01:00
Andrey Antukh
dabb9d0a82
✨ Improve internal API of retry mechanism
2024-02-01 17:24:42 +01:00
Andrey Antukh
16a051d7e0
✨ Improve efficiency of thumbnails creation RPC methods
...
Moving the retry mechanism out of the transaction
2024-02-01 17:24:42 +01:00
Andrey Antukh
82b10ecb87
✨ Refactor comments RPC methods to use schema instead of spec
2024-02-01 17:24:42 +01:00
Andrey Antukh
5accbd511f
✨ Improve quote data structure validation
2024-02-01 17:24:42 +01:00
Andrey Antukh
3001476dbc
✨ Do not wrap in sm/define on rpc methods
...
Because is redundant operation
2024-02-01 17:24:42 +01:00
Andrey Antukh
a9e7ed57d9
✨ Use proper exceptions on internal db functions
2024-02-01 17:24:41 +01:00
Andrey Antukh
2661d6c122
🐛 Fix team photo handling on binfile/v2 export-import operation
2024-01-31 12:27:31 +01:00
Andrey Antukh
4e9b92b857
📎 Add helper for check not referenced media
2024-01-30 19:30:05 +01:00
Andrey Antukh
cdf312fdd9
✨ Add better progress reporting
...
For components migration and for binfile import process
2024-01-30 16:27:16 +01:00
Andrey Antukh
7f60946204
♻️ Refactor exportation and duplicate mechanism
...
Previously the file processing was implemented 3 times using similar
approaches bug each own with its own bugs. This PR unifies the
loging to a single implementation used by the 3 operations.
2024-01-30 16:27:16 +01:00
alonso.torres
c8593b1c18
🐛 Fix get name from file when importing
2024-01-26 09:26:32 +01:00
Andrey Antukh
a0a7b0dc7d
Merge pull request #4055 from penpot/staging-migration
...
🐛 Migration bugfixes
2024-01-25 20:59:28 +01:00
Andrey Antukh
623b4a9858
🐛 Remove empty text shapes on comp-v2 migration
2024-01-25 18:05:57 +01:00
Andrey Antukh
b1d33d4c15
🐛 Add missing shape name on comp-v2 migration
2024-01-25 17:58:55 +01:00
Andrey Antukh
1a3c07abdb
🐛 Remove completely broken shapes on comp-v2 migration
2024-01-25 17:31:27 +01:00
Andrey Antukh
a2a61e99a7
🐛 Fix invalid values on colors and typografies on fdata
2024-01-25 16:33:53 +01:00
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
7ae308c8c9
🐛 Remove page background color it it has an invalid rgb color string
2024-01-25 16:03:31 +01:00
Alejandro Alonso
f864424d14
🐛 Fix parent not found
2024-01-25 16:03:31 +01:00
Andrey Antukh
75576c341d
🐛 Fix broken bool shapes on comp-v2 migration
2024-01-25 16:03:31 +01:00
Andrey Antukh
70b57f92b4
🐛 Fix broken path content on comp-v2 migration
2024-01-25 16:03:31 +01:00
Andrey Antukh
df4be5106b
🐛 Fix text shapes wrongly converted to path in comp-v2 migration
2024-01-25 16:03:31 +01:00
Andrey Antukh
66c07e1336
✨ Reapply again all file migrations on comp-v2 migration
2024-01-25 16:03:31 +01:00
Andrey Antukh
e6766bac8f
✨ Set correct order of filtering teams on migration function
2024-01-25 16:03:31 +01:00
Andrey Antukh
1b3e68f430
✨ Improve partitioning and graphics error skiping mechanism
...
On the migration functions
2024-01-25 16:03:31 +01:00
Andrey Antukh
3f97b3a112
🐛 Fix minor issues on migration code
2024-01-25 16:03:30 +01:00
Andrey Antukh
8d0afd8c96
🐛 Add migration for fix invalid shadows
2024-01-25 16:03:30 +01:00
Andrés Moya
17a208d67b
🐛 Add validation fix for false non root copies
2024-01-25 16:03:30 +01:00
Andrés Moya
cceb35b053
🐛 Ensure detach in migration fixes always works
2024-01-25 16:03:30 +01:00
Andrés Moya
3b0d654b6d
💄 Review naming and comments
2024-01-25 16:03:30 +01:00
Andrey Antukh
2950259f97
🐛 Fix invalid text shapes with invalid nodes
2024-01-25 16:03:30 +01:00
Andrey Antukh
e4f4ab9221
🐛 Fix invalid page flows on comp-v2 migration
2024-01-25 16:03:30 +01:00
Andrey Antukh
aaeb8c8868
🐛 Fix components with bool shape as root on comp-v2 migration
2024-01-25 16:03:30 +01:00
Andrey Antukh
4ab4ad96f0
🐛 Resolve objects-map on srepl/get-file helpers
2024-01-25 16:03:30 +01:00
Andrey Antukh
0d33779c95
✨ Add support for reporting and partitions on comp-v2 migration code
2024-01-25 16:03:30 +01:00
Andrés Moya
00e894d801
🐛 Add validation fix for duplicated children
2024-01-25 16:03:30 +01:00
Andrés Moya
d69db0b337
🐛 Add one more validation fix in migration
2024-01-25 16:03:30 +01:00
Andrés Moya
02cb75209c
💄 Unify source code style of repair functions
2024-01-25 16:03:30 +01:00
Andrés Moya
c679b04ad5
🐛 Avoid adding empty attributes on update if they doesn't exist
2024-01-25 16:03:30 +01:00