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
0e92bcc0de
🎉 Add file-data offload mechanism
2024-08-09 14:28:18 +02:00
Andrés Moya
0b4fbc184d
♻️ Move generate-xx methods to logic module
2024-05-06 16:48:18 +02:00
Pablo Alba
37e68249aa
♻️ Components refactor: remove it usage on libraries_helpers
2024-04-25 14:22:37 +02:00
Andrey Antukh
5924f3bc41
✨ Simplify v2 migration helpers on srepl ns
2024-04-10 15:31:49 +02:00
Andrey Antukh
e8b29c3cfc
🐛 Fix incorrect grid calcultation condition on compv2 migration script
2024-04-08 17:29:58 +02:00
Andrey Antukh
e01f8d6fdf
📎 Update migration scripts
2024-04-07 14:07:40 +02:00
Andrey Antukh
da5f452db5
🐛 Fix issue on migration script related to version
2024-04-07 14:07:40 +02:00
Andrés Moya
c2737f2378
🐛 Avoid datatype problem calculating proportions
2024-04-05 10:15:17 +02:00
Andrés Moya
3127a020a0
🐛 Remove fill from group heads when migrating to v2
2024-04-04 17:45:45 +02:00
Andrés Moya
dbe32fa980
💄 Fix small typo.
2024-04-04 09:55:50 +02:00
Andrés Moya
bd8fcfde28
🐛 Fix sizes of migrated graphics
2024-04-03 17:26:53 +02:00
Pablo Alba
cfb5e9aa66
✨ On migration to v2, add the component path to the copy name
2024-04-03 16:04:23 +02:00
Andrey Antukh
126bab3ce4
🐛 Fix invalid page name on compv2 migration
2024-03-19 09:15:04 +01:00
Alejandro Alonso
ab0b3c71a8
🐛 Improve fixing root shapes for v1 components on migration to v2
2024-03-19 09:05:35 +01:00
Alejandro Alonso
d6b60ce43a
🐛 Fix rmap shape refs on components v2 migration
2024-03-18 14:19:40 +01:00
Alejandro Alonso
ca5e2c345b
🎉 Improve naming of components for Main components page on v1 to v2 migration
2024-03-18 09:13:15 +01:00
alonso.torres
3bc6d2b0a7
🐛 Fix migrating old components should not clip the content
2024-03-14 13:35:56 +01:00
Andrey Antukh
b718a282e0
♻️ Add minor refactor to file migrations
...
Relevant changes:
- Add the ability to create migration in both directions, defaulting
to identity if not provided
- Move the version attribute to file table column for to make it more
accessible (previously it was on data blob)
- Reduce db update operations on file-update rpc method
2024-02-19 09:20:47 +01:00
Alejandro
7ac4b89a0e
Merge pull request #4145 from penpot/niwinz-staging-tmp
...
✨ Minor improvements on TMP storage API
2024-02-19 07:16:36 +01:00
Alejandro Alonso
377d9682da
🐛 Fix default constraints for migrated graphics
2024-02-14 11:00:54 +01:00
Andrey Antukh
9649878fd8
✨ Ensure id prop on :data on components-v2 migration
2024-02-14 09:33:02 +01:00
Alejandro Alonso
dc67056a8c
🐛 Fix components without root shape for v2 migration
2024-02-12 10:21:47 +01:00
Andrey Antukh
ec2eb3d406
🐛 Fix broken text shapes without position-data on comp-v2 migration
2024-02-09 12:01:09 +01:00
Andrey Antukh
6d35cb2eb4
✨ Improve snapshot related internal API
...
This commit also adds the ability to take snapshot of all files
of the team in a single run/transaction.
2024-02-09 12:01:09 +01:00
Alejandro Alonso
8d65998cc3
🐛 Fix remove nested roots on components v2 migration
2024-02-09 12:01:09 +01:00
Alejandro Alonso
66eca9ba4a
🐛 Fix conflict on components path for v2 migration
2024-02-09 12:01:09 +01:00
Alejandro Alonso
6fa22c3a04
🐛 Fix components with non existing component-ids for v2 migration
2024-02-09 12:01:09 +01:00
Alejandro Alonso
0c682ea75d
🐛 Fix components with compont-root on library for v2 migration
2024-02-09 12:01:09 +01:00
Alejandro Alonso
bdb16109d5
🐛 Fix empty components on v2 migration
2024-02-09 12:01:09 +01:00
Andrey Antukh
040b336ef9
✨ Add helper for restoring team after migration to comp-v2
2024-02-06 19:20:25 +01:00
Andrey Antukh
267045e113
✨ Improve migration scripts
2024-02-06 17:22:20 +01:00
Alejandro Alonso
c6fb211874
🐛 Fix copies of detached elements migration
2024-02-02 10:54:34 +01:00
Andrés Moya
750ea4fe3f
🐛 Add a fix for component heads that are not groups or frames
2024-02-02 10:54:34 +01:00
Andrey Antukh
04fd4e12d7
🐛 Fix invalid transforms on comp-v2 migration
2024-02-02 10:54:34 +01:00
Andrey Antukh
9eb902c682
🐛 Fix broken grids defaults on comp-v2 migration
2024-02-02 10:54:34 +01:00
Andrey Antukh
dba10ffd9b
🐛 Fix broken circle shapes geometry on comp-v2 migration
2024-02-02 10:54:34 +01:00
Andrey Antukh
e8c35c2de6
🐛 Fix invalid shape type :icon
on comp-v2 migration
2024-02-02 10:54:33 +01:00
Andrey Antukh
3d462e3821
✨ Split geometry fixes form fix-misc fn on comp-v2 migration
2024-02-02 10:54:33 +01:00
Andrés Moya
fb7d3676d2
🐛 Fix components without id
2024-02-02 10:54:33 +01:00
Andrey Antukh
db5946d1ab
🐛 Fix broken points on image shapes in comp-v2 migration
2024-02-02 10:54:33 +01:00
Alejandro Alonso
8cc3669aac
✨ Improve validator syntax
2024-02-02 10:54:33 +01:00
Alejandro Alonso
2924791cb0
🐛 Fix non-root copy only allowed inside a copy migration error
2024-02-02 10:54:33 +01:00
Andrey Antukh
036bf84ecd
🐛 Set proper order on comp-v2 migration fixes
2024-02-02 10:54:33 +01:00
Andrey Antukh
03eca0d9a2
🐛 Repair shape points if it is possible on comp-v2 migration
2024-02-02 10:54:33 +01:00
Andrey Antukh
3ea737deb1
🐛 Remove paths that can't be repaired on comp-v2 migration
2024-02-02 10:54:33 +01:00
Alejandro Alonso
5baa9e8fb6
🐛 Fix shape should not be component root migration error
2024-02-02 10:53:29 +01:00
Andrey Antukh
e43380ad61
🐛 Properly remove invalid text shapes on comp-v2 migration
2024-02-02 10:53:29 +01:00
Andrey Antukh
9ca7c4280c
💄 Fix minor cosmetic issues on components-v2 feature ns
2024-02-02 10:53:29 +01:00
Andrey Antukh
04be6b13be
🐛 Fix invalid colors on file library on comp-v2 migration
2024-02-02 10:53:29 +01:00