0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 12:59:12 -05:00
Commit graph

11929 commits

Author SHA1 Message Date
Andrey Antukh
addb392ecc Add safety mechanism for direct object deletion
The main objective is prevent deletion of objects that can leave
unreachable orphan objects which we are unable to correctly track.

Additionally, this commit includes:

1. Properly implement safe cascade deletion of all participating
   tables on soft deletion in the objects-gc task;

2. Make the file thumbnail related tables also participate in the
   touch/refcount mechanism applyign to the same safety checks;

3. Add helper for db query lazy iteration using PostgreSQL support
   for server side cursors;

4. Fix efficiency issues on gc related task using server side
   cursors instead of custom chunked iteration for processing data.

   The problem resided when a large chunk of rows that has identical
   value on the deleted_at column and the chunk size is small (the
   default); when the custom chunked iteration only reads a first N
   items and skip the rest of the set to the next run.

   This has caused many objects to remain pending to be eliminated,
   taking up space for longer than expected. The server side cursor
   based iteration does not has this problem and iterates correctly
   over all objects.

5. Fix refcount issues on font variant deletion RPC methods
2024-01-03 10:56:57 +01:00
Andrey Antukh
e6fb96c4c2 📎 Update .gitignore file 2024-01-03 09:40:53 +01:00
Eva
7da949610d ♻️ Remove new-css-system from interaction tab 2024-01-03 09:36:45 +01:00
Eva
452289b726 ♻️ Remove new-css-system from colorpicker 2024-01-03 09:36:45 +01:00
Eva
67c692fdbd ♻️ Remove new-css-system from design tab 2024-01-03 09:36:45 +01:00
Eva
0a123a3917 ♻️ Remove refer css from files 2024-01-03 09:36:45 +01:00
Eva
dc4bf82684 ♻️ Remove new-css-system on assets tab 2024-01-03 09:36:45 +01:00
alonso.torres
c9200f235e ♻️ Changes to update-shape parameters 2024-01-02 18:09:55 +01:00
alonso.torres
48e283812e 🐛 Fix some styles 2024-01-02 18:09:55 +01:00
alonso.torres
40d4a917e1 Context menu for cells 2024-01-02 18:09:55 +01:00
alonso.torres
9ed3ad2f3c Right click options on grid editor 2024-01-02 18:09:55 +01:00
alonso.torres
da358d635b Reorder tracks from grid editor 2024-01-02 18:09:55 +01:00
alonso.torres
7508627dc5 Change defaults for new grid tracks 2024-01-02 18:09:55 +01:00
Andrey Antukh
07ce435a91 Merge remote-tracking branch 'weblate/develop' into translations 2024-01-02 17:17:22 +01:00
Alejandro Alonso
802ccf1d2c
🌐 Add translations for: Hausa.
Currently translated at 97.3% (1309 of 1344 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/ha/
2024-01-02 17:16:49 +01:00
Alejandro Alonso
0872058631
🌐 Add translations for: Arabic.
Currently translated at 84.3% (1133 of 1344 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/ar/
2024-01-02 17:16:31 +01:00
Alejandro
de48ec4cbf
Merge pull request #3953 from penpot/niwinz-staging-duplicate-team
 Add internal helper for team duplication
2024-01-02 12:20:39 +01:00
Andrey Antukh
0ebf9564b2 Add internal helper for team duplication 2024-01-02 12:01:07 +01:00
Alejandro Alonso
8e3a73d0bd 🐛 Respect group name when adding layout 2024-01-02 11:57:23 +01:00
Alejandro Alonso
2adb55c67d
🌐 Added translation for: Hausa. 2024-01-02 10:25:00 +01:00
Stephan Paternotte
ae67137e0e
🌐 Add translations for: Dutch.
Currently translated at 100.0% (1344 of 1344 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/nl/
2023-12-29 22:08:58 +01:00
TheScientistPT
4dbe5c504f
🌐 Add translations for: Portuguese (Portugal).
Currently translated at 100.0% (1344 of 1344 strings)

Translation: Penpot/frontend
Translate-URL: https://hosted.weblate.org/projects/penpot/frontend/pt_PT/
2023-12-29 22:08:57 +01:00
Andrey Antukh
f5b4ea975e 🐛 Add missing configuration to shadow-cljs.edn file for release build 2023-12-29 17:22:30 +01:00
Andrey Antukh
04dbe5f741 🐛 Fix exception on manifest reading on release build 2023-12-29 17:22:04 +01:00
Andrey Antukh
22b326e2b9 🐛 Fix issue with release build introduced on beicon2 upgrade 2023-12-29 16:13:21 +01:00
Eva
74aaa710bf 🐛 Fix some text and background colors 2023-12-29 15:32:05 +01:00
Eva
7d2da6ef80 ♻️ Remove new-css-system from workspace toolbar 2023-12-29 15:32:05 +01:00
Eva
93a7a8e856 ♻️ Remove new-css-system from workspace palettes 2023-12-29 15:32:05 +01:00
Eva
412343f3de ♻️ Remove new-css-system from workspace header 2023-12-29 15:32:05 +01:00
Eva
c707539f6f ♻️ Remove new-css-system from layers 2023-12-29 15:32:05 +01:00
Eva
831f79d651 ♻️ Remove new-css-system from sitemap 2023-12-29 15:32:05 +01:00
alonso.torres
c439de49a5 ♻️ Changed gulpfile to modules 2023-12-28 12:14:06 +01:00
Andrey Antukh
3da98cbd1e 🔥 Remove unnecesary import 2023-12-28 12:14:06 +01:00
Andrey Antukh
9cba125abe Modularize js-beautify library related code 2023-12-28 12:14:06 +01:00
Andrey Antukh
1318a5c3c8 Move toggle-theme to data.users ns. 2023-12-28 12:14:06 +01:00
Andrey Antukh
caadc43d35 🎉 Add lazy-loading for penpot top-level page components 2023-12-28 12:14:06 +01:00
Andrey Antukh
37a7bb202b Add lazy loading for highlightjs on code-block component
Mainly because highlight.js is a heavy library but only used
on a very concrete situations, so it does not make sense to load
it all the time.
2023-12-28 12:14:06 +01:00
Andrey Antukh
538b8313ed Add more config to condo 2023-12-28 12:14:06 +01:00
Andrey Antukh
4d54d5c455 Extend GCL Deferred to work with promesa abstractions 2023-12-28 12:14:06 +01:00
Andrey Antukh
0b53dc627f Add minor improvements on frontend and exporter builds 2023-12-28 12:14:06 +01:00
Andrey Antukh
bc91c46a9a Improve performance and space efficiency of cursors namespace 2023-12-28 12:14:06 +01:00
Andrey Antukh
127b02922f Add initial vitest test file template 2023-12-28 12:14:06 +01:00
Andrey Antukh
9c969f8b26 Improve code organization for better integration with storybook 2023-12-28 12:14:06 +01:00
Alejandro
5621c2c394
Merge pull request #3942 from penpot/niwinz-staging-svg-parse-fill-fix
🐛 Fix several issues on svg path parsing
2023-12-28 10:41:52 +01:00
Alejandro
a506be2897
Merge pull request #3940 from penpot/eva-bugfixing-ui-1
💄 Fix some frontend bugs
2023-12-28 10:37:07 +01:00
Andrey Antukh
74447442b8 Add several improvements to svg path parser tests
And properly reorganize legacy implementations
2023-12-28 10:30:56 +01:00
Andrey Antukh
62b1dc2a4b 🐛 Fix incorrect arc to curve conversion in some cases 2023-12-28 10:30:56 +01:00
Andrey Antukh
88779dd50b 📎 Fix naming of fills react component 2023-12-28 10:30:56 +01:00
Andrey Antukh
ae4f14ece2 Reduce allocation on custom-shape-strokes react component 2023-12-28 10:30:56 +01:00
Andrey Antukh
ad185c4215 🐛 Assign correct fill to match standard svg behavior when no fils found
On parsing svg
2023-12-28 10:30:56 +01:00