0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00
Commit graph

1750 commits

Author SHA1 Message Date
Andrey Antukh
295d9568c8 🐛 Fix incompatibilities of old file migrations with new code 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
6d73685f3a Optimize file validation process 2024-02-02 10:53:29 +01:00
Andrey Antukh
f104cc5477 Improve performance on creating component from graphic
About 25% speed improvement on average on single file migration process
2024-02-02 10:53:29 +01:00
Alejandro
a980c102be
Merge pull request #4068 from penpot/niwinz-staging-bugfix-8
🐛 Fix incorrect behavior of climit subsystem and adapt related code
2024-02-02 07:18:56 +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
dabb9d0a82 Improve internal API of retry mechanism 2024-02-01 17:24:42 +01:00
alonso.torres
7fa47d68a8 🐛 Fix problems with text gradients 2024-02-01 17:05:12 +01:00
alonso.torres
f1768c5a07 🐛 Fix problems with inspect and texts 2024-02-01 11:32:35 +01:00
alonso.torres
b0d723282b 🐛 Fix problem when export not getting new change 2024-02-01 10:32:44 +01:00
alonso.torres
188f5c6167 🐛 Fix problem with snap points 2024-02-01 10:23:06 +01:00
Andrey Antukh
457feedec4 🐛 Fix many issues svg/attrs->props function 2024-01-31 17:41:29 +01:00
Andrey Antukh
1de9171d50 Add mask-type style parsing (react now supports it) 2024-01-31 17:32:37 +01:00
alonso.torres
ace890c809 🐛 Fix problem when changing main component with grid elements 2024-01-31 16:59:35 +01:00
alonso.torres
1f2f70fcd4 New menu entry for change theme 2024-01-31 16:59:35 +01:00
alonso.torres
f6b182a3b5 🐛 Fix problem calculating selrect for certain paths 2024-01-31 16:59:35 +01:00
alonso.torres
2b715851e1 🐛 Fix proportional scaling with grid layout 2024-01-31 16:59:35 +01:00
alonso.torres
994d08b479 🐛 Fix problem refreshing layouts 2024-01-31 16:59:35 +01:00
Pablo Alba
8bd10c3c04 🐛 Fix weird positioning of component mixing undos and cut/paste 2024-01-31 09:32:30 +01:00
Andrés Moya
a85a7c74c3 Rename "Library backup" to "Main components" 2024-01-30 13:36:25 +01:00
alonso.torres
7aeb5498a1 🐛 Fix problem with grid component synchronization 2024-01-30 11:10:36 +01:00
Pablo Alba
be31371892 🐛 Fix bad page-id on undo delete component 2024-01-30 09:34:33 +01:00
alonso.torres
440983d2b9 Add new debug panel 2024-01-29 15:26:23 +01:00
Andrey Antukh
adffd1f000 🐛 Fix text shapes content internal data type incosistency 2024-01-25 17:21:05 +01:00
Andrey Antukh
9f80ddd125 🐛 Fix path shapes that does not have :content attr 2024-01-25 17:01:08 +01:00
Andrey Antukh
0e724ac821 🐛 Add better fix for parsing svg-dimensions
That covers more corner cases
2024-01-25 16:43:49 +01:00
Andrey Antukh
0c8aba6be0 🐛 Fix incorrect parsing of svg transform attr 2024-01-25 16:03:31 +01:00
Andrey Antukh
317f83e3ec 🐛 Fix edge case on parsing svg viewbox 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
0d5c1811cf 🐛 Fix edge cases on retrieving href-id on svg to shapes conversion 2024-01-25 16:03:31 +01:00
Andrey Antukh
326be0df4f 🐛 Fix incorrect type supposition on attr inheritance on parsing svg 2024-01-25 16:03:31 +01:00
Andrey Antukh
3986543293 📎 Add missing IEquiv implementation for luxon DateTime type 2024-01-25 16:03:31 +01:00
Andrey Antukh
8d0afd8c96 🐛 Add migration for fix invalid shadows 2024-01-25 16:03:30 +01:00
Andrey Antukh
3b929041f2 🐛 Fix incorrect percent number parsing on reading svg 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
0d33779c95 Add support for reporting and partitions on comp-v2 migration code 2024-01-25 16:03:30 +01:00
Andrés Moya
db21525485 🐛 Add validation check for duplicated children 2024-01-25 16:03:30 +01:00
Andrés Moya
1f5991112d 🐛 Add two more fixes to v2 migration 2024-01-25 16:03:30 +01:00
Andrey Antukh
3bbd2023a4 🐛 Fix incorrect validation of shape geom attrs
Requied validation in a subset of supported shapes
2024-01-25 16:03:30 +01:00
Andrey Antukh
35da01bac9 🐛 Fix pages with shapes with to too big gemetry vals on comp-v2 migration 2024-01-25 16:03:30 +01:00
Andrey Antukh
5b84054eaa 🐛 Fix shape validation schema 2024-01-25 16:03:30 +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
c7fa7aa7bc 🐛 Add migrations for fix shape geometry missing props 2024-01-25 16:03:29 +01:00
Andrey Antukh
997441eff3 📎 Fix typo on validation log message 2024-01-25 16:03:29 +01:00
Andrey Antukh
c58302ffc4 🔥 Remove unnecessary do on file validation ns 2024-01-25 16:03:27 +01:00
Andrey Antukh
f9d63dba00 🐛 Fix incorrect assumption about parseFloat on fixing percent
on parsing and normalizing svg elements
2024-01-25 15:59:45 +01:00
Andrey Antukh
9b59b92464 🐛 Improve not-found error report on s3 storage backend 2024-01-25 15:59:45 +01:00
Andrey Antukh
b582998228 🐛 Add migration for fix bool shapes which does not have :bool-content attr 2024-01-25 15:59:45 +01:00
Andrey Antukh
33ad2d94fb 🐛 Add proper default to cx and cy when parsing svg circle elements 2024-01-25 15:59:45 +01:00
Andrey Antukh
161a55e166 Optimize general case of without-nils
Performance gains up to x6
2024-01-25 15:59:45 +01:00