0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00
Commit graph

12332 commits

Author SHA1 Message Date
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
c70acb1570
Merge pull request #4090 from penpot/alotor-drag-component-instance
 Change drag component to instantiate on enter the viewport
2024-02-02 09:42:48 +01:00
Andrey Antukh
60fbcc3e4b
Merge pull request #4094 from penpot/ladybenko-6828-fix-text-selection
🐛 Fix text options & font selector in design tab
2024-02-02 08:34:31 +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
a005bf63a2
Merge pull request #4095 from penpot/alotor-bufixes-14
Bug fixing
2024-02-01 19:16:01 +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
e7a27759e6 🐛 Fix react warning on isPinned unrecognized prop 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
alonso.torres
3a260825b9 🐛 Fix problem with multiplayer cursors 2024-02-01 17:05:12 +01:00
alonso.torres
7fa47d68a8 🐛 Fix problems with text gradients 2024-02-01 17:05:12 +01:00
Belén Albeza
a5239c1cb6 🐛 Fix bad background for new team button in light theme 2024-02-01 16:21:00 +01:00
Belén Albeza
2298252379 🐛 Fix font-selector current font tick being misaligned in full size dropdown 2024-02-01 16:21:00 +01:00
Belén Albeza
669d928bbf 🐛 Fix font-selector not autofocusing and remove its inner drop shadow 2024-02-01 15:09:04 +01:00
Belén Albeza
0b3cff1a9f 🐛 Fix spacing in Design tab / Text options 2024-02-01 14:29:08 +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
497b581576 Change drag component to instantiate on enter the viewport 2024-02-01 10:23:34 +01:00
alonso.torres
334d1fd9b3 🐛 Change order of contraints options panel 2024-02-01 10:23:06 +01:00
alonso.torres
188f5c6167 🐛 Fix problem with snap points 2024-02-01 10:23:06 +01:00
alonso.torres
e474accb61 🐛 Fix problem with components thumbnails single column 2024-02-01 10:23:06 +01:00
Alejandro
f75da999dc
Merge pull request #4089 from penpot/niwinz-staging-bugfix-10
🐛 Fix issues with attrs->props function
2024-01-31 17:51:41 +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
Andrey Antukh
4a4aabd230
Merge pull request #4088 from penpot/alotor-bugfixes-13
Alotor bugfixes 13
2024-01-31 17:26:20 +01:00
alonso.torres
ace890c809 🐛 Fix problem when changing main component with grid elements 2024-01-31 16:59:35 +01:00
alonso.torres
cea096f06c Add debug renderer for grid-layout cells 2024-01-31 16:59:35 +01:00
alonso.torres
a853314e3f 🐛 Fix problem with text editor alignment 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
14584ef920 🐛 Fix problem with debug panel and light 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
02ab545cda 🐛 Fix problem with flex layout controls for padding, gap and margin 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
alonso.torres
051859969c 🐛 Fix problem when creating frames contining paths 2024-01-31 16:59:35 +01:00
Belén Albeza
f7ad3e37a4 🐛 Fix selected text not being visible 2024-01-31 16:59:12 +01:00
Alejandro Alonso
41d6261ef3 🐛 Fix duplicate component 2024-01-31 16:40:17 +01:00
Alejandro
712130495e
Merge pull request #4085 from penpot/niwinz-staging-bugfix-9
🐛 Fix team photo handling on binfile/v2 export-import operation
2024-01-31 13:03:05 +01:00
Andrey Antukh
2661d6c122 🐛 Fix team photo handling on binfile/v2 export-import operation 2024-01-31 12:27:31 +01:00
Belén Albeza
d70fc33689 Show loading message in Libraries modal 2024-01-31 11:19:49 +01:00
Pablo Alba
8bd10c3c04 🐛 Fix weird positioning of component mixing undos and cut/paste 2024-01-31 09:32:30 +01:00
Alejandro
4c815998f8
Merge pull request #4082 from penpot/niwinz-staging-binfile-join
📎 Add helper for check not referenced media
2024-01-31 07:27:05 +01:00
Alejandro Alonso
36dce3ddbc 🐛 Fix dotted strokes 2024-01-30 20:32:23 +01:00
Andrey Antukh
4e9b92b857 📎 Add helper for check not referenced media 2024-01-30 19:30:05 +01:00