0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00
Commit graph

2052 commits

Author SHA1 Message Date
Alejandro
70c9314f7f
Merge pull request #4685 from penpot/palba-fix-validation-error-coping-main-frame
🐛 Fix verification error on coping main component with frame over a copy
2024-06-07 09:59:39 +02:00
Andrés Moya
41024728ae 🐛 Fix importing a component from a zip file in v2 2024-06-06 10:29:11 +02:00
Pablo Alba
91fd8c4f81 🐛 Fix verror on coping main component with frame over a copy 2024-06-06 10:24:39 +02:00
alonso.torres
55c27f140a Create paths, booleans and ellipses through plugins api 2024-06-04 16:44:24 +02:00
Pablo Alba
5872bf024c Add test for remove swap slot on detach parent 2024-06-04 12:24:31 +02:00
Pablo Alba
5b88589157 Merge remote-tracking branch 'origin/staging' into develop 2024-06-04 11:57:59 +02:00
Alejandro
38353f3728
Merge pull request #4660 from penpot/niwinz-update-deps
⬆️ Update dependencies
2024-06-04 09:37:00 +02:00
Andrés Moya
5e8c164a44 🐛 Add migration to remove all misplaced slots 2024-06-03 17:17:14 +02:00
Andrés Moya
3472359168 🐛 Add validate and repair for :misplaced-slot 2024-06-03 17:17:02 +02:00
Pablo Alba
928fec0903
Merge pull request #4661 from penpot/hiru-improve-slot-validation
🐛 Add validate and repair for :misplaced-slot
2024-06-03 16:08:54 +02:00
Andrés Moya
21052c661c 🐛 Add migration to remove all misplaced slots 2024-06-03 11:37:13 +02:00
Andrés Moya
b700a926c2 🐛 Add validate and repair for :misplaced-slot 2024-06-03 10:55:29 +02:00
Andrey Antukh
87e3dc1c7c ⬆️ Update dependencies across all modules 2024-05-31 13:28:32 +02:00
Andrés Moya
81ea392da6 Merge branch 'staging' into develop 2024-05-29 15:10:44 +02:00
Andrés Moya
e83c90203e 🐛 Migration to remove bad swap-slots 2024-05-29 15:09:04 +02:00
Pablo Alba
b4a7a15045 Revert "🐛 swap slot is not copied on copy-paste of a main"
This reverts commit 2a752e3625.
2024-05-29 15:09:04 +02:00
Andrés Moya
3e8c665b7f 🔧 Add optional validation to check missing swap slots 2024-05-28 16:19:30 +02:00
Alejandro
c3c6879a2f
Merge pull request #4616 from penpot/hiru-prepare-builder-for-figma-exporter
Prepare builder for figma exporter
2024-05-24 14:57:15 +02:00
Andrés Moya
7bcb2b928d 🔧 Remove trace 2024-05-24 13:09:27 +02:00
Andrés Moya
3bf76e8d0f 🐛 Better handling of components v2 in file builder 2024-05-24 13:09:27 +02:00
Pablo Alba
260c0e0678 Add copying and duplicating component frontend tests 2024-05-24 12:58:18 +02:00
Andrey Antukh
7158c4fd43 Improve yarn setup on devenv
And update yarn version to 4.2.2
2024-05-23 12:21:07 +02:00
Alejandro Alonso
47d7d24910 Add copying and duplicating component tests 2024-05-22 14:26:03 +02:00
Alejandro Alonso
eb168a6f9f Merge remote-tracking branch 'origin/staging' into develop 2024-05-22 13:02:44 +02:00
Aitor Moreno
a3d4d62269
Merge pull request #4585 from penpot/alotor-plugins-api
Updates to Plugin API and menu
2024-05-16 15:26:28 +02:00
Alejandro Alonso
614af9edc4 Add swap as override component tests 2024-05-16 13:27:06 +02:00
Andrés Moya
9c8a5484e1 🔥 Remove traces 2024-05-16 13:24:17 +02:00
Pablo Alba
385e8d837a Components refactor: Add tests for remove or keep swap slot 2024-05-16 13:23:02 +02:00
Alejandro Alonso
f27cdee5ca 🐛 Remove TODO on multiple nesting levels component tests 2024-05-16 13:22:42 +02:00
Alejandro Alonso
4b8322dc82 Refactor common tests 2024-05-16 13:22:42 +02:00
alonso.torres
236ff06763 Expand api for plugins 2024-05-16 11:05:01 +02:00
Alejandro Alonso
39c8b2ea3c Add multiple nesting levels component tests 2024-05-14 13:48:34 +02:00
Alejandro Alonso
fcf14b5cab Add duplicate page component tests 2024-05-14 13:48:34 +02:00
Alejandro Alonso
3e4aaa7935 Add new composition functions for common tests 2024-05-14 13:48:34 +02:00
Andrés Moya
c16ef39abf ♻️ Make test helpers globally usable 2024-05-13 13:10:01 +02:00
Alejandro
ea20f693cb
Merge pull request #4562 from penpot/hiru-move-frontend-tests
Move more frontend tests
2024-05-10 11:04:31 +02:00
Andrés Moya
cb73ddc353 💄 Small refactor 2024-05-10 10:28:23 +02:00
Alejandro Alonso
a3e750ed0a Tests for chained components changes propagation 2024-05-10 10:25:08 +02:00
Andrés Moya
cf4ef426d7 Add tests for component sync 2024-05-10 10:17:09 +02:00
Andrés Moya
b6e633865e Add tests for component creation and modification 2024-05-09 14:49:10 +02:00
Andrés Moya
8b4e52a2be 💄 Improve copy child selection and test robustness 2024-05-09 13:33:52 +02:00
Andrés Moya
caefaf6016 Add tests for reset components 2024-05-09 13:33:52 +02:00
Pablo Alba
8deb799c3d 🐛 Fix tests for remove swap slots 2024-05-09 13:11:50 +02:00
Pablo Alba
6f93db034f 🎉 Components refactor: Add tests for remove swap slot on duplicate 2024-05-09 11:20:19 +02:00
Pablo Alba
bfe9caba15 ♻️ Components refactor: move generators for duplicate 2024-05-09 11:20:19 +02:00
Andrés Moya
ea6a9c87ec 🔧 Enhance debug trace helpers for common tests 2024-05-07 18:45:10 +02:00
Andrés Moya
b4ea749388 🐛 Fix linter error 2024-05-07 16:00:32 +02:00
Andrés Moya
86e524638c 🔥 Do a small cleanup 2024-05-07 15:51:56 +02:00
Andrés Moya
c937d49ce9 💄 Split helpers in separated files 2024-05-07 12:51:07 +02:00
Andrés Moya
97e34d6e28 💄 Unify comments 2024-05-07 12:51:07 +02:00
Andrés Moya
b68bc9a08c Move more touched tests to common 2024-05-07 12:51:07 +02:00
Andrés Moya
0b4fbc184d ♻️ Move generate-xx methods to logic module 2024-05-06 16:48:18 +02:00
Pablo Alba
7280dfd3f7 Tests for remove swap slot on move shapes to frame 2024-05-06 16:18:43 +02:00
alonso.torres
ca7f17efd1 Add items to grid cells 2024-05-06 12:02:29 +02:00
alonso.torres
67d48435e7 Plugins create svg shapes 2024-05-03 11:36:59 +02:00
Pablo Alba
5e396010b3
Merge pull request #4535 from penpot/hiru-move-front-tests
Move frontend tests to common
2024-04-30 19:31:50 +02:00
Pablo Alba
de6d8ccbf9 Small fix on components touched test 2024-04-30 19:23:58 +02:00
Alejandro Alonso
bca8180aeb 🐛 Fix duplicate component 2024-04-30 16:46:36 +02:00
Andrés Moya
77d4901db1 Add more tests for touched 2024-04-30 14:18:55 +02:00
Andrés Moya
a40afd5b63 Add test for touched shapes 2024-04-30 13:47:40 +02:00
Andrés Moya
5611fcfc2c 🔧 Add generator function for update-shapes 2024-04-30 13:47:40 +02:00
Pablo Alba
f354942487 ♻️ Components refactor: generator for relocate shapes (and tests) 2024-04-30 13:37:32 +02:00
Alejandro Alonso
f84cd933a8 Swap and reset generate changes tests 2024-04-30 12:49:43 +02:00
AzazelN28
a8fae53564 🐛 color palette sorting 2024-04-30 10:03:53 +02:00
Andrés Moya
40e43fd501 ♻️ Reorganize tests by level 2024-04-26 12:44:49 +02:00
Andrés Moya
ff4e27a1d5 Add composition helpers 2024-04-26 12:44:49 +02:00
Andrés Moya
dde89e60dd Add new helper functions for common tests 2024-04-26 11:45:37 +02:00
Andrés Moya
1026f5b972 🔧 Change common tests runner to kaocha 2024-04-26 11:42:41 +02:00
Pablo Alba
a7bfa7c7c8 ♻️ Components refactor: generator for sync-file 2024-04-25 14:22:37 +02:00
Alejandro Alonso
c73eb77125 ♻️ Components refactor: generator for reset component 2024-04-25 14:22:37 +02:00
Alejandro Alonso
f3220fa985 ♻️ Components refactor: generator for sync head 2024-04-25 14:22:37 +02:00
Pablo Alba
37e68249aa ♻️ Components refactor: remove it usage on libraries_helpers 2024-04-25 14:22:37 +02:00
Alejandro Alonso
05f4459fb7 ♻️ Components refactor: generator for generate component for swap 2024-04-25 14:22:37 +02:00
Alejandro Alonso
c001710676 ♻️ Components refactor: generator for delete shapes 2024-04-25 14:22:37 +02:00
Pablo Alba
0ed582ebc5 ♻️ Components refactor: generator for detach-component 2024-04-25 14:22:37 +02:00
Pablo Alba
7d44eef4ab ♻️ Components refactor: generator for restore-component 2024-04-25 14:22:37 +02:00
Pablo Alba
f91d60eeb6 ♻️ Components refactor: generator for rename-component 2024-04-25 14:22:37 +02:00
Pablo Alba
02c455dcba ♻️ Components refactor: generator for duplicate component 2024-04-25 14:22:37 +02:00
AzazelN28
47804429c0 Merge branch 'staging' into develop 2024-04-25 11:32:28 +02:00
alonso.torres
00de89197e Add write apis to the plugins 2024-04-22 17:08:18 +02:00
Pablo Alba
2a752e3625 🐛 swap slot is not copied on copy-paste of a main 2024-04-22 11:32:31 +02:00
Pablo Alba
a8738b44a1 ♻️ Merge libraries_common_helpers into libraries_helpers 2024-04-19 16:00:38 +02:00
Pablo Alba
2e18ce9323 ♻️ Move libraries_helpers to common 2024-04-19 15:37:29 +02:00
Pablo Alba
e1cd6d04d9 ♻️ Move common libraries_helpers to libraries_common_helpers 2024-04-19 14:02:27 +02:00
alonso.torres
0ffd82299f Refactor to the context api 2024-04-19 01:29:13 +02:00
alonso.torres
7b508f2803 Create feature for plugins 2024-04-19 01:29:13 +02:00
alonso.torres
127b481c38 Refactor of the plugins context 2024-04-19 01:29:13 +02:00
Andrey Antukh
3f473ca765 Plugins proof of concept 2024-04-19 01:29:13 +02:00
Andrey Antukh
7e20cf10c5 ⬆️ Update dependencies 2024-04-18 09:52:24 +02:00
Alejandro
ac835bb655
Merge pull request #4389 from penpot/test
 Several improvements
2024-04-11 12:35:04 +02:00
Pablo Alba
9cbbe1565d 🐛 Fix crash on copy paste a orphan copy inside a copy 2024-04-11 09:51:39 +02:00
Andrey Antukh
b3456d0f7f 🐛 Fix incorrect feature handling 2024-04-10 15:31:49 +02:00
Andrey Antukh
fd0a760b77 📎 Fix log levels on common file migrations 2024-04-10 15:31:49 +02:00
Andrey Antukh
c6d92a2517 🐛 Fix incorrect feature handling on importing binfile on v1 2024-04-10 15:31:49 +02:00
alonso.torres
389c394f39 🐛 Fix import zip text with gradients 2024-04-10 14:47:54 +02:00
alonso.torres
0935390761 🐛 Fix problem with paste order 2024-04-10 14:47:54 +02:00
Pablo Alba
c8b2db8145 🐛 Fix crash on moving a copy in a copy (for a migrated file) (2) 2024-04-09 19:11:15 +02:00
Pablo Alba
a4c7cc51bb 🐛 Fix crash on moving a copy in a copy (for a migrated file) 2024-04-09 12:49:30 +02:00
Andrey Antukh
e8b29c3cfc 🐛 Fix incorrect grid calcultation condition on compv2 migration script 2024-04-08 17:29:58 +02:00
alonso.torres
aed6a045b3 🐛 Fix problem with sort indexed shapes 2024-04-08 16:32:34 +02:00
Andrey Antukh
fd5b1c0341 Enable by default components v2 feature 2024-04-08 11:05:16 +02:00
Andrey Antukh
29332b67f9 Add optimizations to order-by-indexed-shapes fn 2024-04-07 14:07:40 +02:00
Andrés Moya
c2737f2378 🐛 Avoid datatype problem calculating proportions 2024-04-05 10:15:17 +02:00
alonso.torres
02ea0374a3 🐛 Fix problem moving shapes into grid 2024-04-04 17:45:31 +02:00
alonso.torres
e420be5e51 🐛 Fix problem ordering layers in html markup 2024-04-04 16:48:56 +02:00
Pablo Alba
065d481cb5 🐛 Remove the swap slot on some operations with copies 2024-04-04 13:50:57 +02:00
alonso.torres
5fd72cf9d9 🐛 Fix problem with flip properties 2024-04-04 09:59:24 +02:00
alonso.torres
4dac2221e7 🐛 Fix problem with proportional scaling 2024-03-26 16:06:44 +01:00
alonso.torres
5315dc18af 🐛 Fix problems with bool shapes 2024-03-26 16:06:44 +01:00
Alejandro Alonso
f66f168a99 🐛 Relax file validation for anidated components from other files 2024-03-25 13:15:22 +01:00
alonso.torres
9c2cbb2a48 🐛 Fix problem with scaling constraints 2024-03-22 12:09:49 +01:00
alonso.torres
bf5d95e069 🐛 Fix problem with fit-content on coponent copies 2024-03-22 12:09:49 +01:00
Alejandro
1beb39ff60
Merge pull request #4297 from penpot/hiru-fix-advance-shape-ref
Fix references when duplicating nested copies
2024-03-22 08:22:20 +01:00
Andrés Moya
9a7a99e67a 🐛 Advance nested copies when duplicated 2024-03-22 07:51:11 +01:00
Alejandro Alonso
b9743891bb 🐛 Fix is-main-of? calculation for v2 components 2024-03-21 15:49:08 +01:00
Andrey Antukh
64dc58c259 🐛 Set correctly the default features 2024-03-21 10:35:18 +01:00
Andrey Antukh
f8bfe249aa 🔥 Remove login illustration flag
It is now a permament configuration
2024-03-21 10:34:10 +01:00
Alejandro
8148151ee5
Merge pull request #4291 from penpot/migration
🐛 Several bugfixes
2024-03-20 14:36:15 +01:00
Andrey Antukh
5c6e8366c1 🐛 Fix unexpected exception on fix-percent functions 2024-03-20 09:33:53 +01:00
AzazelN28
4378f132b4 🐛 Fix dashboard thumbnails with strokes 2024-03-20 06:44:23 +01:00
alonso.torres
e3f508d8d4 🐛 Fix problem with rendering SVG fills 2024-03-19 11:27:06 +01:00
Andrey Antukh
cfe6fae77d 🐛 Fix incorrect version handling on file migration 2024-03-19 09:03:08 +01:00
Alejandro Alonso
8363b86cfa 🐛 Fix shadows lost on import export 2024-03-18 15:57:55 +01:00
Pablo Alba
a5b156e0d6 🐛 Fix change structure of comp doesn't update copies on another file 2024-03-18 15:31:30 +01:00
alonso.torres
db7ed75a91 🐛 Add mime-type otf to color picker 2024-03-15 15:34:16 +01:00
alonso.torres
55b6df0ae4 🐛 Make opacity override same color recent-color 2024-03-14 16:16:33 +01:00
Andrés Moya
2247f0ecac ♻️ Add a tool to generate swap-slots 2024-03-13 17:01:43 +01:00
Alejandro
ecb8ed8b8b
Merge pull request #4254 from penpot/palba-fix-crash-copy
🐛 Fix crash copy paste a Copy from a library
2024-03-13 10:01:58 +01:00
Pablo Alba
76b75192e7 🐛 Fix crash copy paste a Copy 2024-03-12 20:57:33 +01:00
alonso.torres
786513863b 🐛 Fix problem with duplicate in main component 2024-03-12 18:05:36 +01:00
Alejandro
3e9b2ec5c8
Merge pull request #4214 from penpot/hiru-review-override-status-of-swapped-copies
🎉 Improve sync algorithm when swapped copies
2024-03-08 12:10:13 +01:00
Alejandro Alonso
8529927173 ♻️ Avoid unnecessary logs 2024-03-08 12:03:09 +01:00
Andrés Moya
2c740df767 🐛 Do recursive swap-slot finding 2024-03-08 11:31:46 +01:00
Pablo Alba
c214d8b044 🎉 Simplify and fix compare children 2024-03-08 11:30:41 +01:00
Alejandro Alonso
895fb3b480 🎉 Remove shapes-group 2024-03-08 11:30:41 +01:00
alonso.torres
9a976a8f6e 🐛 Fix problem with fix scrolling on nested elements 2024-03-07 17:54:49 +01:00
Aitor Moreno
9012987f7e
Merge pull request #4223 from penpot/niwinz-staging-bugfix-4
🐛 Several bugfixes and optimizations
2024-03-07 15:40:32 +01:00
Andrés Moya
4dfbfcf2ac ♻️ Avoid duplicating helpers 2024-03-07 14:41:08 +01:00
Andrés Moya
07939d11dc 🎉 Improve sync algorithm when swapped copies 2024-03-07 14:41:08 +01:00
Pablo Alba
0d1af260a4 🐛 Remove incorrect find-component function 2024-03-07 14:39:57 +01:00
Pablo Alba
5157928cdb 🐛 Fix copy and paste a main on another main doesn't work 2024-03-07 14:37:32 +01:00
Alejandro Alonso
b3f97fe456 🐛 Fix concat changes 2024-03-07 10:54:03 +01:00
Andrey Antukh
afd373ffee Simplify implementation of d/name 2024-03-05 19:47:29 +01:00
Andrey Antukh
d2059475f0 Add minor performance enhancement for inside-layout? helper 2024-03-05 19:47:29 +01:00
Andrey Antukh
6fe85465a1 Add minor performance enhacement on shape layout functions 2024-03-05 19:47:29 +01:00
Andrey Antukh
3412658286 Move some functions from file helpers to types.shape.layout 2024-03-05 19:47:29 +01:00
alonso.torres
7dec194b1f 🐛 Make no-clip default for new frames from shapes 2024-03-05 18:13:22 +01:00
alonso.torres
ff22208ec2 🐛 Fix problem with grid multiple selection 2024-03-05 18:13:22 +01:00
alonso.torres
fb2c4c9c3a 🐛 Fix problem with grid layout paddings 2024-03-04 20:31:28 +01:00
Pablo Alba
74d2273d24 🐛 Fix problems on sync with components chain with deleted components 2024-02-29 10:18:00 +01:00
Eva Marco
697a542754 💄 Add final design to alert messages 2024-02-29 09:58:35 +01:00
alonso.torres
ab2265d505 🐛 Fix problem when components are inside a boolean 2024-02-29 09:36:47 +01:00
alonso.torres
f57c5b4da2 🐛 Fix align options on rotated frames 2024-02-29 09:36:47 +01:00
Andrés Moya
c5f24331a3 🐛 Improve selection of near copies to sync 2024-02-27 12:45:32 +01:00
Alejandro
49c750bdaf
Merge pull request #4193 from penpot/niwinz-staging-update-deps
⬆️ Update frontend dependencies
2024-02-27 09:26:09 +01:00
Andrey Antukh
c80da1bbac ⬆️ Update rumext and shadow-cljs 2024-02-27 01:04:07 +01:00
Pablo Alba
0a09ff8e36 🐛 Fix impossible to move an element when it's in a main component 2024-02-26 12:55:49 +01:00
alonso.torres
d51338e754 🐛 Remove after delay event for not-frame shapes 2024-02-23 09:07:34 +01:00
Alejandro
5e6ce26742
Merge pull request #4174 from penpot/palba-bugfixes-001
Bugfixes
2024-02-23 08:51:38 +01:00
Pablo Alba
418ec34880 🐛 Fix detaching a copy that has another copy inside produce a validation error 2024-02-23 08:40:31 +01:00
Andrey Antukh
0999ecb2a9 🐛 Fix idempotency problem on fdata migration 25 2024-02-22 14:55:35 +01:00
Andrey Antukh
dec622600d 🐛 Fix incorrect selrect calcultation from shape path 2024-02-22 14:55:35 +01:00
alonso.torres
2942f28880 🐛 Fix problem with layout child properties 2024-02-22 12:26:03 +01:00
alonso.torres
4fb1247045 🐛 Fix proportions for new layouts 2024-02-22 12:26:03 +01:00
alonso.torres
74cc8079bb 🐛 Fix a problem with input rotation for shapes 2024-02-22 12:26:03 +01:00
alonso.torres
9e6db257cc 🐛 Fix problem with strokes and rects 2024-02-22 12:26:03 +01:00
Andrés Moya
c64464b1b5 🐛 Detect correctly swapped subinstances with nested components 2024-02-20 17:43:27 +01:00
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
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