0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
Commit graph

2222 commits

Author SHA1 Message Date
Andrey Antukh
9eb902c682 🐛 Fix broken grids defaults on comp-v2 migration 2024-02-02 10:54:34 +01:00
Andrey Antukh
dba10ffd9b 🐛 Fix broken circle shapes geometry on comp-v2 migration 2024-02-02 10:54:34 +01:00
Andrey Antukh
3a401f69fd Simplify srepl helper for shape deletion 2024-02-02 10:54:34 +01:00
Andrey Antukh
e8c35c2de6 🐛 Fix invalid shape type :icon on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
a8cf072bda Add proper error report on binfile/v1 exportation 2024-02-02 10:54:33 +01:00
Andrey Antukh
3d462e3821 Split geometry fixes form fix-misc fn on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrés Moya
fb7d3676d2 🐛 Fix components without id 2024-02-02 10:54:33 +01:00
Andrey Antukh
d4c91ae44b 💄 Print file name on process-file! helper progress report 2024-02-02 10:54:33 +01:00
Andrey Antukh
e216b10716 🐛 Fix raw data export import on debug interface 2024-02-02 10:54:33 +01:00
Andrey Antukh
5e4e706033 Use proper executor for cache on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
893a8992c3 Add progress reporting on process-files! srepl helper 2024-02-02 10:54:33 +01:00
Andrey Antukh
f97931647c Add helper for mark for deletion invalid files 2024-02-02 10:54:33 +01:00
Andrey Antukh
13ca5d1f1a Add minor improvements to process-files! srepl helper 2024-02-02 10:54:33 +01:00
Andrey Antukh
db5946d1ab 🐛 Fix broken points on image shapes in comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
b6d53c9ded 📎 Update devenv logging config 2024-02-02 10:54:33 +01:00
Alejandro Alonso
8cc3669aac Improve validator syntax 2024-02-02 10:54:33 +01:00
Alejandro Alonso
2924791cb0 🐛 Fix non-root copy only allowed inside a copy migration error 2024-02-02 10:54:33 +01:00
Andrey Antukh
7c0a63c7da Add minor improvements to comp-v2 migration srepl helper 2024-02-02 10:54:33 +01:00
Andrey Antukh
26f4082b5f 📎 Add debug helpers for jvm/tap 2024-02-02 10:54:33 +01:00
Andrey Antukh
036bf84ecd 🐛 Set proper order on comp-v2 migration fixes 2024-02-02 10:54:33 +01:00
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