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
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
Alejandro
e1befadc18
Merge pull request #4079 from penpot/hiru-enhance-debug-tool
...
🔧 Improve debug tool
2024-01-30 18:09:41 +01:00
Andrés Moya
891dab7f06
🔧 Improve debug tool
2024-01-30 18:03:20 +01:00
Alejandro
a6e8d408b5
Merge pull request #4081 from penpot/eva-change-shortcut
...
♻️ Change shortcut for change theme
2024-01-30 17:00:46 +01:00
Alejandro
24faba67d8
Merge pull request #4080 from penpot/superalex-improve-debug-shape-info
...
❇️ Allow select text on debug shape info panel
2024-01-30 16:51:09 +01:00
Eva
8f004c0c75
♻️ Change shortcut for change theme
2024-01-30 16:47:34 +01:00
Alejandro
86f09fa028
Merge pull request #4077 from penpot/niwinz-staging-binfile-join
...
♻️ Unify binfile exportation code
2024-01-30 16:43:17 +01:00
Alejandro Alonso
208b06d9cb
❇️ Allow select text on debug shape info panel
2024-01-30 16:36:21 +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
Eva
153bb752a4
♻️ Add new exceptions for light theme
2024-01-30 16:08:08 +01:00
Eva
a882d0bf6d
♻️ Update basic color palette
2024-01-30 16:08:08 +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
Pablo Alba
3620e6b4d7
🐛 Change the naming convention of some swap things
2024-01-30 09:34:33 +01:00
alonso.torres
440983d2b9
✨ Add new debug panel
2024-01-29 15:26:23 +01:00
Belén Albeza
0a69bc03b0
🐛 Fix pin button color in dashboard/projects
2024-01-29 15:07:24 +01:00
Aitor Moreno
094d11f972
Merge pull request #4059 from penpot/superalex-fix-canvas-messages
...
🐛 Fix inspect and edit grid canvas messages
2024-01-26 14:41:11 +01:00