Andrey Antukh
c1058c7fdb
♻️ Add minor refactor for internal concurrency model
...
Replace general usage of virtual threads with platform threads
and use virtual threads for lightweight procs such that websocket
connections. This decision is made mainly because virtual threads
does not appear on thread dumps in an easy way so debugging issues
becomes very difficult.
The threads requirement of penpot for serving http requests
is not very big so having so this decision does not really affects
the resource usage.
2025-09-26 14:35:06 +02:00
Andrey Antukh
575342b3bb
♻️ Use direct schemas instead of references
...
Only a very common use, basic types schemas should be used as
reference (with namespaced keywords)
2025-08-20 12:33:07 +02:00
Andrey Antukh
283eb0419c
♻️ Refactor time related namespaces
...
Mainly removes the custom app.util.time namespace
from frontend and backend and normalize all to use
the app.common.time namespace
2025-08-01 11:20:01 +02:00
Andrey Antukh
37cec8891f
🎉 Add inplace binfile import support
2025-07-30 12:23:40 +02:00
Andrey Antukh
77741b49a7
✨ Add tracking for referer on the import-binfile
2025-07-04 11:02:36 +02:00
Andrey Antukh
9b80f7c9b3
💄 Don't return unnecesary object from db query
...
the return value is already ignored
2025-05-18 17:30:41 +02:00
Andrey Antukh
3ec797f56e
🐛 Validate and decode params on export-binfile
2025-04-01 19:16:35 +02:00
Andrey Antukh
a391d71b60
🐛 Add correct feature handling on binfile import
2025-02-19 22:47:40 +01:00
Andrey Antukh
efd4a11ae2
🐛 Add support for multiple formats on clone-template
2025-01-23 08:09:23 +01:00
Andrey Antukh
f949649ba3
⬆️ Update backend dependencies
2024-10-22 20:23:38 +02:00
Andrey Antukh
51ecbf15a9
⬆️ Update yetti and http server dependency
2024-10-22 20:23:38 +02:00
Andrey Antukh
8618cb950f
🎉 Add binfile-v3 export/import file format
2024-10-18 17:19:29 +02:00
Pablo Alba
cf150891df
✨ Add view mode to dashboard
2024-10-15 13:32:33 +02:00
Andrey Antukh
28c2197ba7
♻️ Add string length validation to backend RPC methods fields
2024-07-04 12:30:28 +02:00
Andrey Antukh
37d0cec265
🐛 Properly report importation errors
2024-06-26 14:59:38 +02:00
Andrey Antukh
5f8d66e7eb
✨ Remove unnecesarry transaction wrapping on import-binfile
2024-04-08 13:23:59 +02:00
Andrey Antukh
6904cacd0c
🐛 Fix timeout error on large binfile import
2024-04-08 09:57:36 +02:00
Andrey Antukh
a8cf072bda
✨ Add proper error report on binfile/v1 exportation
2024-02-02 10:54:33 +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
alonso.torres
c8593b1c18
🐛 Fix get name from file when importing
2024-01-26 09:26:32 +01:00
Andrey Antukh
944d167bbb
✨ Simplify SVGO module API
2024-01-25 15:59:45 +01:00
Andrey Antukh
0b29aaecc4
💄 Format backend code
2024-01-08 09:32:50 +01:00
Andrey Antukh
41287d8fc5
⚡ Improve migration script performance and api usability
2024-01-04 14:40:22 +01:00
Andrey Antukh
746d898245
✨ Improve the db api efficiency
...
Mainly setup proper defaults and reduce unnecesary allocations
on every db api call.
2024-01-04 12:41:16 +01:00
Alejandro Alonso
9cfc00ce97
🐛 Fix remap colors on binary import
2024-01-04 11:59:00 +01:00
Andrey Antukh
15f81e557c
🐛 Fix unexpected exception on importing some binary files
2023-12-15 17:54:26 +01:00
Andrey Antukh
47baa21d53
🐛 Fix some edge cases on feature handling on binfile import process
2023-12-15 15:18:04 +01:00
Andrey Antukh
611594a392
✨ Add general features handling improvements
2023-12-14 10:35:24 +01:00
Andrey Antukh
517c913af9
✨ Improve feature handling on file importation process
2023-12-14 10:35:24 +01:00
Andrey Antukh
417366d998
✨ Reorganize fdata/pointer-map feature helpers
...
Mainly move all pointer-map related helpers from app.rpc.commands.files
to the the app.features.fdata namespace and normalizes codestile around
feature handling on all affected code.
This commit also comes with several features related bugifxes on the
components-v2 migration code:
- properly migrate legacy feature names on apply components-v2 migration
- start using new fdata feature related functions
- prevent generation of a ephimeral pointer on each graphic migration
operation; on large files this caused a very noticiable overhead of
creating a big number of completly unused pointer maps
- do persistence after validation and not before
2023-12-13 14:20:07 +01:00
Andrey Antukh
03518a8da1
✨ Add the ability to stream events on rpc methods
2023-12-13 14:20:07 +01:00
Andrey Antukh
76a6f077a6
🐛 Fix incorrect feature handling on absorb-library! fn
...
Used in shared flag assignation and library deletion
2023-12-13 11:56:20 +01:00
Andrey Antukh
0a77bae8a7
✨ Improve options handling on db module
2023-12-13 11:56:20 +01:00
Andrey Antukh
daec51bb7d
✨ Add feature naming migration on file importation
2023-12-11 17:14:20 +01:00
Andrey Antukh
87615ce221
💄 Fix format issues on backend module
2023-11-29 12:55:58 +01:00
Alejandro
7404933e99
Merge pull request #3854 from penpot/niwinz-develop-yetti-update
...
✨ Update yetti and simplify internal worker module
2023-11-29 12:01:33 +01:00
Andrey Antukh
bb5a4c0fa5
✨ Update yetti and adapt for ring-2.0
2023-11-27 14:25:12 +01:00
Andrey Antukh
d82ebdc034
✨ Add deduplication for file object thumbnails
2023-11-24 11:06:47 +01:00
Andrey Antukh
c1bd1a945d
🐛 Fix incorrect bucket assignation on binfile thumbnails import
2023-11-24 08:43:23 +01:00
Andrey Antukh
3eb1bb6487
✨ Add logging/tracing improvements to binfile rpc impl
2023-11-24 08:06:01 +01:00
Andrey Antukh
852e7472b7
🐛 Fix thumbnail saved in wrong bucket
2023-11-24 08:06:01 +01:00
Andrey Antukh
ac3d7f00d5
✨ Make file schema validation configurable using flags
2023-11-20 19:42:46 +01:00
Andrey Antukh
ec8b68721b
✨ Improve schema validation handling
...
And properly honor the file-validation flag
2023-11-20 16:57:05 +01:00
Andrey Antukh
344da75088
💄 Add cosmetic improvements on binfile rpc ns logging
2023-11-20 11:21:13 +01:00
Aitor
91f7874167
🎉 Import/export thumbnails in .penpot files
2023-11-20 10:12:33 +01:00
Andrey Antukh
d03577987e
✨ Ignore recent colors on importing a library
2023-11-15 14:01:34 +01:00
Andrey Antukh
31c46a90b4
✨ Add file structure validation on binfile import
2023-11-14 10:55:55 +01:00
Andrey Antukh
3c64955b93
✨ Add efficiency improvements to backend error reporting
2023-11-13 18:33:28 +01:00
Andrey Antukh
6f93b41920
🎉 Add features assignation for teams
2023-11-07 12:48:31 +01:00
alonso.torres
587735a901
🐛 Fix problem with migration numbers
2023-10-25 12:26:01 +02:00