Andrey Antukh
41794c5f5e
✨ Simplify fdata feature helpers
2024-02-19 09:20:47 +01:00
Andrey Antukh
757291644b
🐛 Fix incorrect warning on climit initialization when disabled
2024-02-19 09:20:47 +01:00
Andrey Antukh
a89f16e594
✨ Add better logging config for devenv
2024-02-19 09:20:47 +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
Andrey Antukh
63e74545ab
📎 Add get-raw-file srepl helper
2024-02-14 17:38:53 +01:00
Andrey Antukh
29d48f0a98
✨ Add minor code cleaning on file-update ns
2024-02-14 17:38:53 +01:00
Andrey Antukh
8981e57deb
✨ Ensure connection on persisting pointers
2024-02-14 17:36:13 +01:00
Andrey Antukh
ba55d657a4
✨ Prevent adding object map to not loaded pointer-map containers
2024-02-14 17:34:50 +01:00
Alejandro Alonso
377d9682da
🐛 Fix default constraints for migrated graphics
2024-02-14 11:00:54 +01:00
Andrey Antukh
a31be7e2ff
✨ Use a prefixed dir for storing temp files
...
And mark them for deletion on JVM exit.
2024-02-14 09:53:54 +01:00
Andrey Antukh
9649878fd8
✨ Ensure id prop on :data on components-v2 migration
2024-02-14 09:33:02 +01:00
Andrey Antukh
8ea82021f0
✨ Add better error report on importing truncated binfile
2024-02-13 19:36:15 +01:00
Andrey Antukh
afd68fa09d
🐛 Properly handle fdata features on file-gc task
...
It also adds a schema validation process after cleaning. If file
does not validates it will be skiped.
2024-02-13 19:36:10 +01:00
Andrey Antukh
bc3d268f57
✨ Add minor improvements to srepl helpers
2024-02-13 19:09:54 +01:00
Andrey Antukh
1cb6f43339
📎 Add srepl fix function for disable fdata features
2024-02-13 17:54:11 +01:00
Andrey Antukh
e8a1c58c5d
🐛 Fix incorrect change detection on srepl helper process-file
2024-02-13 17:54:11 +01:00
Andrey Antukh
39cb4a081b
🐛 Clean legacy features on binfile (v1) importation
2024-02-13 17:54:11 +01:00
alonso.torres
af7142e97b
✨ New overlay for v2 information
2024-02-12 16:29:47 +01:00
Andrey Antukh
e55d1a3b7f
⚡ Add minor optimization for d/without-qualified helper
2024-02-12 15:28:07 +01:00
Andrey Antukh
722cb6351d
💄 Add minor cosmetic changes to file-update ns
2024-02-12 14:55:42 +01:00
Andrey Antukh
4cd9237f47
🐛 Fix unexpected exception on task-gc
...
Because table was renamed but the sql on the task function
still uses the old name.
2024-02-12 14:55:42 +01:00
Andrey Antukh
f4ac607958
♻️ Refactor srepl helpers
2024-02-12 10:21:47 +01:00
Alejandro Alonso
dc67056a8c
🐛 Fix components without root shape for v2 migration
2024-02-12 10:21:47 +01:00
Andrey Antukh
f9af2a16b9
✨ Add the ability to create a file snapshot on repair
2024-02-09 12:01:09 +01:00
Andrey Antukh
c07dbc9843
📎 Move repair and validate srepl helpers to srepl.main
2024-02-09 12:01:09 +01:00
Andrey Antukh
43b8ccb52e
✨ Improve error handling on websocket code
2024-02-09 12:01:09 +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
Andrey Antukh
aaf457a792
✨ Add support for ::sql/order-by
on db/sql layer
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
Andrey Antukh
a5fc42cafa
✨ Normalize ids parsing on srepl helpers
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
Alejandro
de7c61e5ca
Merge pull request #4107 from penpot/staging-migration
...
✨ Improvements to migration process
2024-02-08 08:32:33 +01:00
Andrey Antukh
d2626ead0b
✨ Add better email cleaning mechanism
...
This commit separates the email cleaning mechanism to a separated
function, and enables a proper cleaning of `mailto:` prefix, usually
found on invitations because users just copy and paste from external
source.
2024-02-07 09:14:07 +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
2331647ec6
🐛 Add missing team-profile rels cloning on duplicate-team srepl helper
2024-02-06 19:18:22 +01:00
Andrey Antukh
7a50cb3ff9
🐛 Fix broken restore snapshot function
2024-02-06 19:17:59 +01:00
Andrey Antukh
a71e7f7906
✨ Remove partitioning from task table
...
Which causes strange random delays when some row is moved from one
partition to other. Also, there are evidences that partitioning is
not aporting real value here.
2024-02-06 17:23:18 +01:00
Andrey Antukh
267045e113
✨ Improve migration scripts
2024-02-06 17:22:20 +01:00
Andrey Antukh
0e380a97cc
💄 Add minor cosmetic improvement to worker ns
2024-02-05 20:11:20 +01:00
Andrey Antukh
275c8b5860
💄 Fix logging level on rpc climit ns
2024-02-05 20:10:57 +01:00
Andrey Antukh
8231890ee4
🔥 Remove unnecesary line on audit ns
2024-02-05 20:10:44 +01:00
Andrey Antukh
7db883e8b7
🐛 Fix incorrect metrics reporting on climit
2024-02-02 11:12:23 +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