Commit graph

120 commits

Author SHA1 Message Date
Andrés Moya
e4e566240f 🐛 Add fix for removing v2 remains in v1 files 2024-02-02 10:53:29 +01:00
Andrés Moya
daf77ecc5f 🐛 Enhande handling of detached shapes during migration fixes 2024-02-02 10:53:29 +01:00
Alejandro Alonso
0fd6cacd17 🐛 Fix parent not found, adding migration 2024-02-02 10:53:29 +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
623b4a9858 🐛 Remove empty text shapes on comp-v2 migration 2024-01-25 18:05:57 +01:00
Andrey Antukh
b1d33d4c15 🐛 Add missing shape name on comp-v2 migration 2024-01-25 17:58:55 +01:00
Andrey Antukh
1a3c07abdb 🐛 Remove completely broken shapes on comp-v2 migration 2024-01-25 17:31:27 +01:00
Andrey Antukh
a2a61e99a7 🐛 Fix invalid values on colors and typografies on fdata 2024-01-25 16:33:53 +01:00
Andrey Antukh
7ae308c8c9 🐛 Remove page background color it it has an invalid rgb color string 2024-01-25 16:03:31 +01:00
Alejandro Alonso
f864424d14 🐛 Fix parent not found 2024-01-25 16:03:31 +01:00
Andrey Antukh
75576c341d 🐛 Fix broken bool shapes on comp-v2 migration 2024-01-25 16:03:31 +01:00
Andrey Antukh
70b57f92b4 🐛 Fix broken path content on comp-v2 migration 2024-01-25 16:03:31 +01:00
Andrey Antukh
df4be5106b 🐛 Fix text shapes wrongly converted to path in comp-v2 migration 2024-01-25 16:03:31 +01:00
Andrey Antukh
66c07e1336 Reapply again all file migrations on comp-v2 migration 2024-01-25 16:03:31 +01:00
Andrey Antukh
1b3e68f430 Improve partitioning and graphics error skiping mechanism
On the migration functions
2024-01-25 16:03:31 +01:00
Andrey Antukh
3f97b3a112 🐛 Fix minor issues on migration code 2024-01-25 16:03:30 +01:00
Andrés Moya
17a208d67b 🐛 Add validation fix for false non root copies 2024-01-25 16:03:30 +01:00
Andrés Moya
cceb35b053 🐛 Ensure detach in migration fixes always works 2024-01-25 16:03:30 +01:00
Andrés Moya
3b0d654b6d 💄 Review naming and comments 2024-01-25 16:03:30 +01:00
Andrey Antukh
2950259f97 🐛 Fix invalid text shapes with invalid nodes 2024-01-25 16:03:30 +01:00
Andrey Antukh
e4f4ab9221 🐛 Fix invalid page flows on comp-v2 migration 2024-01-25 16:03:30 +01:00
Andrey Antukh
aaeb8c8868 🐛 Fix components with bool shape as root on comp-v2 migration 2024-01-25 16:03:30 +01:00
Andrey Antukh
0d33779c95 Add support for reporting and partitions on comp-v2 migration code 2024-01-25 16:03:30 +01:00
Andrés Moya
00e894d801 🐛 Add validation fix for duplicated children 2024-01-25 16:03:30 +01:00
Andrés Moya
d69db0b337 🐛 Add one more validation fix in migration 2024-01-25 16:03:30 +01:00
Andrés Moya
02cb75209c 💄 Unify source code style of repair functions 2024-01-25 16:03:30 +01:00
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