Commit graph

44 commits

Author SHA1 Message Date
Andrés Moya
c679b04ad5 🐛 Avoid adding empty attributes on update if they doesn't exist 2024-01-25 16:03:30 +01:00
Andrés Moya
1d21bd34f6 🐛 Check orphan copies before affecting later checks 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
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
166d2b7b68 🐛 Fix broken fills and strokes on comp-v2 migration 2024-01-25 16:03:29 +01:00
Andrey Antukh
3e89a22600 🐛 Remove broken and unfixable image shapes on comp-v2 migration 2024-01-25 16:03:29 +01:00
Andrey Antukh
ba3c42e62c 🐛 Fix broken layout and layout-gap props on migrating to comp-v2 2024-01-25 16:03:29 +01:00
Andrey Antukh
3d84270f50 🐛 Fix invalid ##Inf value on layout-gap on migrating to comp-v2 2024-01-25 16:03:29 +01:00
Andrey Antukh
ec1bcada86 🐛 Fix recent colors on components migration 2024-01-25 16:03:29 +01:00
Andrey Antukh
0a5e15b916 ♻️ Simplify components-v2 migration functions impl 2024-01-25 16:03:29 +01:00
Andrey Antukh
944d167bbb Simplify SVGO module API 2024-01-25 15:59:45 +01:00
Andrés Moya
ea71bfe6d6 🐛 Fix some possible validation error on migration 2024-01-16 17:20:04 +01:00
Andrés Moya
9d8628b4cc 🐛 Fix groups without :shapes when converting to frames in migration 2024-01-09 18:28:32 +01:00
Andrés Moya
790ce27316 🐛 Enable preprocess always when migrating files 2024-01-08 13:23:30 +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
Andrey Antukh
eee28a5793 Simplify feature handling on components-v2 migration functions 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
2dbe7bca07 Add general improvements to file validation and repair api 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
2e4a5aee61 🔥 Remove unnecesary call to px/wrap-bindings 2023-12-13 14:20:07 +01:00
Andrey Antukh
1d9481ceb7 💄 Fix formatting issues on backend features components ns 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
Alejandro Alonso
20d4c67bf3 🐛 Fix importing frame components with fills from V1 to V2 2023-12-12 14:10:51 +01:00
Andrés Moya
204a253635 Group assets inside frames in Library backup page 2023-11-29 13:56:20 +01:00
Andrés Moya
391b859948 🐛 Preserve path when migrating graphics and add them in a specific group 2023-11-21 12:46:43 +01:00
Andrey Antukh
3eb987897a Parametrize exception handling behavior of components migration 2023-11-20 16:57:05 +01:00
Andrey Antukh
6de55ab444 🐛 Fix incorrect changes handling on graphics migration 2023-11-20 11:21:13 +01:00
Andrey Antukh
80bb689554 🐛 Fix unexpected value found on changes processing on components migration 2023-11-20 11:21:13 +01:00
Andrés Moya
dcd347ab4f Add a few small enhancements 2023-11-17 15:56:16 +01:00
Pablo Alba
6c1c780758 🐛 Add validation and repair for files with nil in component :objects 2023-11-17 15:56:16 +01:00
Andrey Antukh
52fbc678f3 ♻️ Move app.common.pages to app.common.files 2023-11-16 11:07:36 +01:00
Andrey Antukh
1457b7cf38 Add performance and reporting improvements to migration script 2023-11-15 14:01:34 +01:00
Andrés Moya
02612ab4ca 🐛 Avoid creating backup page if no components and no graphics 2023-11-14 14:15:29 +01:00
Andrés Moya
c7fdbe37f1 Report validation errors via log in migration 2023-11-14 14:15:29 +01:00
Andrés Moya
451d6c1d7b Add optional validation when migrating files to components-v2 2023-11-14 14:15:29 +01:00
Andrey Antukh
9d05e2260c 🐛 Fix incorrect local library indexing on components-v2 migration 2023-11-13 18:33:28 +01:00
Andrés Moya
f1349facc1 🐛 Fix graphics conversion in migration to components-v2 2023-11-10 10:40:51 +01:00
Andrés Moya
9059663a87 🐛 Fix frame-id on migration to components-v2 2023-11-10 10:40:51 +01:00
Andrey Antukh
b0418ff5f2 Add file snapshoting on migration 2023-11-08 10:45:08 +01:00
Andrés Moya
8b5b37fe1a 🐛 Fix bad frame-ids on converting components to v2 2023-11-07 17:06:39 +01:00
Andrey Antukh
00afb841ac Add svg optimization on components migration process 2023-11-07 12:48:31 +01:00
Andrey Antukh
bb6fd4107b 🎉 Add migration scripts 2023-11-07 12:48:31 +01:00
Andrey Antukh
6f93b41920 🎉 Add features assignation for teams 2023-11-07 12:48:31 +01:00