Commit graph

401 commits

Author SHA1 Message Date
Andrey Antukh
37d0cec265 🐛 Properly report importation errors 2024-06-26 14:59:38 +02:00
Andrey Antukh
ec4260830c ♻️ Add API consistency fixes for task calling
Also adds a helper for calling tasks synchronously
2024-06-25 13:24:17 +02:00
Andrey Antukh
8e9e967f82 🐛 Remove climit setup for delete-file-object-thumbnail RPC method 2024-06-20 16:49:19 +02:00
Andrey Antukh
6a253871b0 Improve internal handling of external-session-id 2024-06-19 16:15:48 +02:00
Andrey Antukh
8da153f604 Emit create-file action events on clone-template 2024-06-19 14:58:04 +02:00
Andrey Antukh
293b460cab Fix a performance regression with file validation with some features
The feature fdata/pointer-map tracking mechanism interacts pretty bad
with possible local mutations on the validation subsystem. The fix
consist on disabling the tracking mechanism on the validation.
2024-06-17 15:56:06 +02:00
Aitor Moreno
22ede6b08e
Merge pull request #4731 from penpot/niwinz-bugfix-6
🐛 Fix many race conditions on thumbnail generation process
2024-06-14 13:15:10 +02:00
Andrey Antukh
ec7aa64c62 Disable http cache from get-file-object-thumbnails RPC method 2024-06-12 16:13:34 +02:00
Alejandro Alonso
bbd9207191 Improve email verify threshold 2024-06-12 13:56:19 +02:00
Andrey Antukh
6896a4e9f0 Add minor improvements on how logout is handled
The profile-id is now required on the body of logout request
2024-06-11 11:03:54 +02:00
Andrey Antukh
ae90d59b43 Remove spec usage o teams rpc ns 2024-06-07 10:30:14 +02:00
Pablo Alba
5b88589157 Merge remote-tracking branch 'origin/staging' into develop 2024-06-04 11:57:59 +02:00
Alejandro
622d1faffc
Merge pull request #4664 from penpot/niwinz-email-blacklist
 Add email blacklist mechanism
2024-06-04 11:18:28 +02:00
Andrey Antukh
5aa62ef1dd Add email blacklist mechanism 2024-06-04 10:45:55 +02:00
Andrey Antukh
6436ef334b ♻️ Refactor persistence layer 2024-06-04 10:15:32 +02:00
Andrey Antukh
3294058e16 Add stricter validation for audit events 2024-06-04 09:54:41 +02:00
Alejandro
c918e06859
Merge pull request #4636 from penpot/niwinz-bugfix-2
 Minor changes
2024-05-28 08:07:46 +02:00
Andrey Antukh
121bff4eac Send only necessary data on profile update 2024-05-27 16:06:27 +02:00
Andrey Antukh
574c8d1789 Move library-absorb operation to async task
And make it not mandatory in case of failure
2024-05-27 11:19:15 +02:00
Andrey Antukh
761bbb7334 Add srepl helpers for delete/restore teams, projects, and files 2024-05-27 11:17:00 +02:00
Andrey Antukh
d241f45253 🔥 Remove unnecessary async touch operation 2024-05-23 16:36:35 +02:00
Andrey Antukh
584a0fdba1 Reduce locking on objects-gc task
The main issue was the long running gc operation that
affects storage objects with deduplication. The long running
transacion ends locking some storage object rows which collaterally
made operations like import-binfile become blocked indefinitelly
because of the same rows (because of deduplication).

The solution used in this commit is split operations on small
chunks so we no longer use long running transactions that holds
too many locks. With this approach we will make a window to work
concurrently all operarate the distinct operations that requires
locks on the same rows.
2024-05-23 16:35:54 +02:00
Alejandro
013dbf1f76
Merge pull request #4499 from penpot/hiru-test-helpers
 Add helpers to build files for testing
2024-04-26 13:29:52 +02:00
Alejandro Alonso
cf62b083fe Merge remote-tracking branch 'origin/staging' into develop 2024-04-26 12:50:43 +02:00
Andrés Moya
dde89e60dd Add new helper functions for common tests 2024-04-26 11:45:37 +02:00
Alejandro Alonso
a65282c01b 🐛 Fix update-temp-file audit_log stored data 2024-04-26 06:30:00 +02:00
Andrey Antukh
fd92437f7d Show error notificaton on oidc error redirect 2024-04-18 09:52:24 +02:00
Andrey Antukh
a969550aa4 Trust oidc providers which provides email_verified claim 2024-04-18 09:52:24 +02:00
Andrey Antukh
90022041e6 Improve error handling on ldap frontend code 2024-04-18 09:52:24 +02:00
Andrey Antukh
ce790d83fd Improve internal registration flow 2024-04-18 09:52:24 +02:00
Alejandro
8bd9c0d031
Merge pull request #4444 from penpot/palba-bugfixing-008
🐛 Bugfixing
2024-04-17 06:46:57 +02:00
Andrey Antukh
16fa0b0330 Improve email clean mechanism 2024-04-16 17:24:50 +02:00
Andrey Antukh
c3a0db2431 Add the ability to schedule storage object touching as a task 2024-04-16 16:42:44 +02:00
Pablo Alba
ec8c847440 🐛 Fix wrong permissions on shared prototype for owners 2024-04-16 13:12:21 +02:00
Andrey Antukh
56ba32b66d Reduce lock contention on uploading file object thumbnail 2024-04-16 11:37:35 +02:00
Andrey Antukh
0135b477ca Add improved traceability of climit module 2024-04-15 14:27:24 +02:00
Andrey Antukh
347276fb4e 🐛 Fix incorrect team features handling on onboarding team creation 2024-04-10 15:33:18 +02:00
Andrey Antukh
5f8d66e7eb Remove unnecesarry transaction wrapping on import-binfile 2024-04-08 13:23:59 +02:00
Andrey Antukh
6904cacd0c 🐛 Fix timeout error on large binfile import 2024-04-08 09:57:36 +02:00
alonso.torres
43faa06ac0 🐛 Fix problem with uploading temp files 2024-04-05 12:34:56 +02:00
Alejandro
81a271961f
Merge pull request #4323 from penpot/niwinz-staging-bugfix-2
 Several improvements
2024-03-26 07:32:05 +01:00
Andrey Antukh
b85c3bec18 Add better timestamp control on audit handler 2024-03-25 17:58:40 +01:00
Alejandro Alonso
22fd0ae306 🐛 Update modification date on publish/unpublish file as library 2024-03-25 14:17:07 +01:00
Eva Marco
1c65df69f3 🐛 Fix pinned project on creation 2024-03-21 10:59:44 +01:00
Andrey Antukh
91118bec70 Improve internal naming of setup/props
This reverts commit a6f70c77cb.
2024-03-14 10:48:23 +01:00
alonso.torres
a6f70c77cb Revert " Improve internal naming of setup/props"
This reverts commit f525c6df5e.
2024-03-13 16:21:12 +01:00
Andrey Antukh
f525c6df5e Improve internal naming of setup/props 2024-03-13 11:39:53 +01:00
Aitor Moreno
69ab02fc45
Merge pull request #4159 from penpot/alotor-bugfix-viewer
Alotor bugfix viewer
2024-02-19 17:46:50 +01:00
alonso.torres
619b557c80 🐛 Fix anonymous access to shared prototypes 2024-02-19 09:39:12 +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