Andrey Antukh
5717708b56
♻️ Refactor file storage
...
Make it more scallable and make it easily extensible
2025-10-13 12:24:05 +02:00
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
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
Pablo Alba
443cabe94e
✨ Add the ability to access libraries from file migrations
2025-05-27 13:12:34 +02:00
Andrey Antukh
3074fc9ab5
♻️ Remove deprecated with-atomic and refactor tx-run! ( #5915 )
...
* ♻️ Remove deprecated with-atomic and refactor tx-run!
* ✨ Do not hold open connection for the whole clone-template operation
2025-02-24 11:15:44 +01:00
Andrey Antukh
cb8e31e7f8
🐛 Add correct handling of features on clone-template
2025-02-19 22:47:54 +01:00
Andrey Antukh
f871f88f30
♻️ Refactor file data migrations subsystem ( #5692 )
...
* ♻️ Refactor file data migrations subsystem
* 📎 Add backend scripts/run helper script
2025-01-31 13:37:41 +01:00
Andrey Antukh
541ed6282f
✨ Normalize file retrieving and persistence on binfile, file-gc and helpers
2025-01-27 12:38:10 +01:00
Andrey Antukh
efd4a11ae2
🐛 Add support for multiple formats on clone-template
2025-01-23 08:09:23 +01:00
Andrey Antukh
066b1235a6
🐛 Pass correct default options on db/plan fn
2025-01-20 23:23:31 +01:00
Andrey Antukh
b27edb4259
🐛 Use proper schema for move-file rpc method
2024-11-06 16:29:11 +01:00
Andrey Antukh
8618cb950f
🎉 Add binfile-v3 export/import file format
2024-10-18 17:19:29 +02:00
Andrey Antukh
b882b9e283
🔥 Remove usage of public usage of sm/define funcion
2024-09-13 11:30:55 +02:00
Pablo Alba
81b7972347
🎉 Test A/B for start in workspace
2024-09-04 17:19:39 +02:00
Andrey Antukh
cacee40d11
🎉 Add proper schema encoding/decoding mechanism
...
this allows almost all api operations to success usin application/json
encoding with the exception of the update-file, which we need to
approach a bit differently;
the reason update-file is different, is because the operations vector
is right now defined without the context of shape type, so we are just
unable to properly parse the value to correct type using the schema
decoding mechanism
2024-08-21 11:27:36 +02:00
Andrey Antukh
025034cb71
Merge remote-tracking branch 'origin/staging' into develop
2024-07-25 11:23:42 +02:00
Andrey Antukh
7df9ac5e4f
🐛 Fix audit context forwarding on explicit events
2024-07-24 21:25:55 +02:00
Andrey Antukh
28c2197ba7
♻️ Add string length validation to backend RPC methods fields
2024-07-04 12:30:28 +02:00
Andrey Antukh
6a253871b0
✨ Improve internal handling of external-session-id
2024-06-19 16:15:48 +02:00
Andrey Antukh
8da153f604
✨ Emit create-file action events on clone-template
2024-06-19 14:58:04 +02: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
Andrey Antukh
0b29aaecc4
💄 Format backend code
2024-01-08 09:32:50 +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
Andrey Antukh
0ebf9564b2
✨ Add internal helper for team duplication
2024-01-02 12:01:07 +01:00
Andrey Antukh
ca50486639
✨ Simplify feature handling on duplicate-file
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
bdb1742d59
🐛 Fix incorrect feature checking on move project
2023-12-14 10:35:24 +01:00
Andrey Antukh
b19a6321de
🐛 Fix feature validation on moving projects
2023-12-14 10:35:24 +01:00
Andrey Antukh
55f7656b77
🐛 Fix incorrect internal features handling on duplicating a file
...
Mainly because of incorrect collection of new features on file migration
when a file is duplicated. The original file is not touched.
2023-12-13 14:20:07 +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
f5ec818fc7
✨ Use sm/define on management rpc comnand schemas
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
Andrey Antukh
6f93b41920
🎉 Add features assignation for teams
2023-11-07 12:48:31 +01:00
Andrey Antukh
a64cb47afb
Merge remote-tracking branch 'origin/staging' into develop
2023-07-31 11:13:40 +02:00
Andrey Antukh
1f98b168ba
🐛 Set correct modification date on projects on file move operation
2023-07-28 13:20:57 +02:00
Andrey Antukh
f174264f7f
🎉 Add flex layout playground template to the dashboard carousel
2023-07-28 13:20:57 +02:00
Andrey Antukh
405aa66357
🎉 Add new shape & rect data structures
...
Also optimizes some functions for faster shape and rect props
access (there is still a lot of work ahead optimizing the rest of
the functions)
Also normalizes shape creation and validation for ensuring
correct setup of all the mandatory properties.
2023-07-11 17:27:35 +02:00
Andrey Antukh
494c585e2f
✨ Make builtin templates download ondemand if cache is not present
2023-07-10 15:07:17 +02:00
Andrey Antukh
02b41abaf8
✨ Improve builtin template fetching management
2023-07-10 13:58:45 +02:00
Alejandro Alonso
6b4bca50ee
bug: Fix manipulate duplicated project
2023-03-22 09:47:03 +01:00
Andrey Antukh
4258a840ac
♻️ Use proper namespace qualified access to pool
2023-01-18 10:51:58 +01:00
Andrey Antukh
dba7a9d424
✨ Move projects queries and mutations to commands
2023-01-18 10:51:58 +01:00
Andrey Antukh
1718f49a90
💄 Fix code consistency issues on comments rpc methods
...
related to the ::rpc/profile-id usage.
2023-01-05 13:23:57 +01:00
Andrey Antukh
b929564fa7
♻️ Add admin facilities on the code base
...
- Fix bugs related to orphan teams on profile deletion
- Separate session based profile-id param from api user provided
2022-12-22 16:42:45 +01:00
Andrey Antukh
fa7cf70cee
✨ Add import, export and management events to webhooks
2022-12-16 09:41:32 +01:00
Andrey Antukh
7a9172560d
♻️ Move teams queries and mutations to commands
2022-12-14 16:22:13 +01:00
Andrey Antukh
76333cec26
🎉 Integrate storage/pointer-map file feature
2022-11-08 13:02:14 +01:00
Andrés Moya
b191df0351
🐛 Fix bug about decoding :features PgArray
2022-10-24 12:27:31 +02:00