0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00
Commit graph

1685 commits

Author SHA1 Message Date
Aitor Moreno
69ab02fc45
Merge pull request #4159 from penpot/alotor-bugfix-viewer
Alotor bugfix viewer
2024-02-19 17:46:50 +01:00
alonso.torres
330c0ac9f9 🐛 Fix problem with text proportion lock 2024-02-19 09:39:12 +01:00
alonso.torres
4c81ac4386 🐛 Fix problem with strokes exporting images 2024-02-19 09:39:12 +01:00
Andrey Antukh
b718a282e0 ♻️ Add minor refactor to file migrations
Relevant changes:

- Add the ability to create migration in both directions, defaulting
  to identity if not provided
- Move the version attribute to file table column for to make it more
  accessible (previously it was on data blob)
- Reduce db update operations on file-update rpc method
2024-02-19 09:20:47 +01:00
Alejandro
7ac4b89a0e
Merge pull request #4145 from penpot/niwinz-staging-tmp
 Minor improvements on TMP storage API
2024-02-19 07:16:36 +01:00
alonso.torres
4ece2ba148 🐛 Fix problem with calculated margins in flex layout 2024-02-15 15:46:40 +01:00
alonso.torres
ea2173bd30 Add keep aspect ratio flag to image fills 2024-02-15 09:27:51 +01:00
Andrey Antukh
ba55d657a4 Prevent adding object map to not loaded pointer-map containers 2024-02-14 17:34:50 +01:00
Andrey Antukh
a31be7e2ff Use a prefixed dir for storing temp files
And mark them for deletion on JVM exit.
2024-02-14 09:53:54 +01:00
Andrés Moya
d654a4faed 🐛 Avoid setting touched in parent when swapping components 2024-02-13 19:38:00 +01:00
Andrés Moya
39b5f10529 🐛 Fix update main when there are swapped copies 2024-02-12 17:40:44 +01:00
Alejandro
dd3040c56f
Merge pull request #4129 from penpot/niwinz-stagoing-debug-on-error
 Add the ability to download a report on internal error
2024-02-12 16:02:05 +01:00
Alejandro Alonso
90d6d38b47 🐛 Fix duplicate component 2024-02-12 15:49:40 +01:00
Andrey Antukh
e55d1a3b7f Add minor optimization for d/without-qualified helper 2024-02-12 15:28:07 +01:00
alonso.torres
9f6b82dfc0 🐛 Fix problem with changes files 2024-02-11 17:55:34 +01:00
alonso.torres
c17d2c1aba 🐛 Fix problems when moving shapes in layouts 2024-02-11 17:55:34 +01:00
alonso.torres
4e1353caf1 🐛 Fix problems with grid layout and flex children absolute 2024-02-11 17:55:34 +01:00
alonso.torres
c8d19c846a 🐛 Fix problems with flex child properties in components 2024-02-11 17:55:34 +01:00
Andrés Moya
80feaaeed3 🐛 Improve the smartness of the ref-shape-not-found repair script 2024-02-09 12:07:24 +01:00
Andrés Moya
206f9acfd9 Make shape ref smarter to find some subtle validation error 2024-02-09 12:07:24 +01:00
alonso.torres
8032a22f14 🐛 Fix problem when moving absolute positioned shapes 2024-02-07 09:49:01 +01:00
Andrés Moya
836781be42 🐛 Fix detection of root in a particular case (affects many places) 2024-02-06 14:08:27 +01:00
alonso.torres
b8b40fc7ef 🐛 Fix problem with flex propagation 2024-02-05 20:14:52 +01:00
alonso.torres
7ca30a313d 🐛 Make default border inside 2024-02-05 20:14:52 +01:00
Eva
ced1f60940 ♻️ Fix swap component 2024-02-02 12:03:35 +01:00
Andrey Antukh
8528de642f 🐛 Remove :thumbnail prop from all shapes on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
09ba1c262b 🐛 Add minor adjustment to migration 33 to accept and fix invalid root frames 2024-02-02 10:54:33 +01:00
Andrey Antukh
7968bffc38 💄 Minor cosmetic change on pages-seq helper 2024-02-02 10:54:33 +01:00
Andrey Antukh
733825edfa Optimize d/mapm helper using reduce-kv 2024-02-02 10:54:33 +01:00
Andrey Antukh
43c13ed432 🐛 Add additional fix to fix-percents function on svg parse 2024-02-02 10:54:33 +01:00
Andrey Antukh
a8ab883c07 🐛 Use correct default for r on parsing svg circle 2024-02-02 10:54:33 +01:00
Andrey Antukh
fc0a4fa5b7 🐛 Ignore style attr on fix-percents function 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
c4ee88dc66 🐛 Add fix for percent number on style attrs on parsing svg 2024-02-02 10:54:33 +01:00
Andrey Antukh
0ea623487c Add better validation for point, matrix and rect types 2024-02-02 10:53:29 +01:00
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