Commit Graph

21429 Commits

Author SHA1 Message Date
Steven Nguyen 66bf7086e6 Add 1.5.8 to CHANGES.md 2024-06-25 04:06:28 +00:00
Steven Nguyen 556d30a9fb Bump appwrite version to 1.5.8 2024-06-25 04:04:14 +00:00
Jake Barnby c63b1785ed Merge pull request #8321 from appwrite/chore-bump-console-4.3.14
Bump console to version 4.3.14
2024-06-25 15:23:54 +12:00
Steven Nguyen 827ad1446b Bump console to version 4.3.14 2024-06-25 02:37:55 +00:00
Jake Barnby 4ad987e4ef Merge pull request #8308 from appwrite/fix-8280-expire-error-when-creating-session
Fix 'Missing required attribute "expire"' on `users.createSession()`
2024-06-25 13:43:03 +12:00
Jake Barnby ef203dc075 Merge pull request #8297 from appwrite/fix-subscribers
Disable validation for subquery to prevent error
2024-06-25 13:38:47 +12:00
Jake Barnby 83cb303f03 Merge pull request #8317 from appwrite/fix-flaky-function-test
Fix flaky function test
2024-06-25 13:35:00 +12:00
Jake Barnby dc9f06976c Merge pull request #8316 from appwrite/fix-flaky-cert-test
Fix flaky certificate test
2024-06-25 13:33:50 +12:00
Steven Nguyen 3a3a0594dc fix(messaging): disable validation for subquery to prevent error
If there are more than 100 targets, the validation throws an error. This
change skips the validation so no error is thrown.
2024-06-24 23:38:41 +00:00
Steven Nguyen c6489d172f chore: bump utopia-php/database and related packages
utopia-php/database version 0.50.0 includes a new skipValidation()
function we can use to skip validation when making queries.
2024-06-24 23:38:40 +00:00
Steven Nguyen 13027fac5b fix(users): update session secret to be longer
The create session endpoint created a 6 character secret which is too
short. This changes the secret to be 256 characters which is in line
with the secret for `account.createEmailPasswordSession()`.
2024-06-24 23:21:45 +00:00
Steven Nguyen 34b2e15243 fix(users): fix expire error when creating user session
Before this, the Create session API call would throw:

> Invalid document structure: Missing required attribute "expire"

This is because the `expire` attribute is required, but it was omitted
from the document. This PR ensures the `expire` attribute is set when
creating the session document.
2024-06-24 23:21:44 +00:00
Steven Nguyen 9ccf4991e3 fix(functions): fix flaky function test
The execution is async so give the function a bit more time to execute.
2024-06-24 19:15:41 +00:00
Steven Nguyen 01fc6a699a fix(health): fix flaky certificate test
There seems to be a load balancer in front of www.google.com that has
either a certificate issuer of "Google Trust Services LLC" or
"Google Trust Services". This causes the test to fail intermittently.

This PR updates the test to check for the substring
"Google Trust Services" instead of the exact string
"Google Trust Services LLC".
2024-06-24 19:02:44 +00:00
Steven Nguyen ae3bcb2efe Merge pull request #8271 from ItzNotABug/fix-7892-add-defaults-to-migrations
Add `default` to Collection Attributes in Migration
2024-06-21 08:46:46 -07:00
Christy Jacob 8764a7491a Merge pull request #8296 from appwrite/refactor-usage-sn
Sync refactor-usage-sn into 1.5.x
2024-06-21 12:09:16 +05:30
Jake Barnby ba43358ac4 Merge pull request #8298 from appwrite/fix-migrate-validation
Disable validation for project DBs during migration
2024-06-21 13:46:55 +12:00
Steven Nguyen 72f8b2001f fix: Disable validation for project DBs during migration
Skip the validation so that queries that typically fail can pass. This
is fine because the validation is failing on internal attributes such
as an $id for cache key with * and $id for attributes that are too long
because we prefix the $id with the internal database and collection id.
2024-06-20 23:00:49 +00:00
Christy Jacob 991a22f642 Merge pull request #8290 from appwrite/1.5.x
Sync 1.5.x into refactor-usage-sn
2024-06-21 00:38:21 +05:30
ItzNotABug 95e463a7ae Merge branch 'fix-7892-add-defaults-to-migrations' of https://github.com/ItzNotABug/appwrite.source into fix-7892-add-defaults-to-migrations 2024-06-20 14:15:17 +05:30
Darshan 441811e808 Merge branch '1.5.x' into fix-7892-add-defaults-to-migrations 2024-06-20 14:15:09 +05:30
ItzNotABug ee6137db3d Merge branch 'fix-7892-add-defaults-to-migrations' of https://github.com/ItzNotABug/appwrite.source into fix-7892-add-defaults-to-migrations 2024-06-20 14:14:48 +05:30
ItzNotABug eb36ae5c61 add: default to V20 migration. 2024-06-20 14:14:21 +05:30
Christy Jacob 65a4a3bbfa Merge pull request #8275 from appwrite/fix-tests-for-cl
Fix for Tests, also fix Create bucket endpoint validator for maximum file size
2024-06-19 12:21:26 +05:30
Christy Jacob 868e57a9a3 Merge pull request #8281 from appwrite/main
Sync main into 1.5.x
2024-06-19 12:18:12 +05:30
Darshan e0779013d0 Merge branch 'main' into fix-7892-add-defaults-to-migrations 2024-06-19 12:10:24 +05:30
Shimon Newman 1febae5e03 Merge pull request #8285 from appwrite/chore-bump-lib-ver
Chore:update cache & database
2024-06-18 19:04:04 +03:00
shimon 12813a2f29 update cache and database lib cl-1.5.7-7 2024-06-18 18:51:00 +03:00
Damodar Lohani 076f718203 Update tests/e2e/Services/Storage/StorageBase.php 2024-06-18 12:14:47 +05:45
Damodar Lohani a93dcfa1b3 Update storage.php 2024-06-18 11:46:31 +05:45
Steven Nguyen 4b24848f22 Merge pull request #8236 from 2002Bishwajeet/fix-user-model
Fix: Don't set the target field if the existing target document is false
2024-06-17 17:11:27 -07:00
Steven Nguyen 2e187107da Merge pull request #8269 from appwrite/docs-fix-storage-hyperlink
docs: fix hyperlink in storage docs
2024-06-17 16:58:51 -07:00
Steven Nguyen 120b5aee47 Merge pull request #8228 from ItzNotABug/add-test-for-user-id
Add Test to Validate Headers aren't Overridden
2024-06-17 16:09:50 -07:00
Damodar Lohani 349b78d5e5 fix assertion 2024-06-17 04:55:06 +00:00
Damodar Lohani 3dcd1314f5 fix file size multiplier 2024-06-17 04:50:22 +00:00
Damodar Lohani 4c8d5d2c89 increase file size 2024-06-16 09:49:19 +00:00
ItzNotABug 4fd94fd7b1 fix: add defaults to collection attributes. 2024-06-14 15:37:30 +05:30
choir27 84d9b4befe docs: fix hyperlink in storage code snippet 2024-06-13 09:59:20 -04:00
Bishwajeet Parhi eca2bbdb5d Merge branch 'main' into fix-user-model 2024-06-11 21:18:11 +05:30
Bishwajeet Parhi 190560b8ef chore: append attributes instead of replace 2024-06-11 21:17:25 +05:30
Steven Nguyen f91a8a9135 Merge pull request #8179 from navjotNSK/bug-7880-location_hk_issue
Adding hk in translations
2024-06-11 11:00:00 -04:00
Steven Nguyen 0376189dbc Merge pull request #8239 from ItzNotABug/8159-delete-expired-targets-per-project
Delete Expired Targets Per Project
2024-06-11 10:24:14 -04:00
Jake Barnby e195018abd Merge pull request #8255 from appwrite/feat-update-pwd-abuse
Feat update pwd abuse
2024-06-11 16:56:21 +12:00
Jake Barnby a4c1275764 Add abuse limit for update password 2024-06-10 18:09:30 +12:00
Jake Barnby 3c123d372a Merge pull request #8244 from appwrite/1.5.x
Sync 1.5.x into refactor-usage-sn
2024-06-10 12:22:16 +12:00
Damodar Lohani 00a633759e Merge pull request #7936 from appwrite/feat-upgrade-platform-with-module
Use latest Platform and add Core module
2024-06-09 06:40:13 +05:45
Steven Nguyen 4a168f6948 Merge pull request #8245 from appwrite/fix-oauth2-mfa
Fix MFA for OAuth2 only accounts
2024-06-07 18:11:24 -07:00
Steven Nguyen a09a09a7a9 fix(auth): fix MFA verification for OAuth2 sessions
Before this, users who only signed in with OAuth2 were not able to
verify their sessions with MFA because their session already used an
email factor and they couldn't use an additional email factor.

This commit changes the OAuth2 session to include 2 factors: email and
oauth2. This second special factor is used to bypass MFA checks. It is
fine to bypass MFA checks because OAuth2 is supposed to handle the
entire authentication process, verifying who the user is and we, as the
resource provider, only need to trust the OAuth2 provider.
2024-06-07 16:45:14 -07:00
Jake Barnby 7e3070a4b2 Merge pull request #8240 from appwrite/revert-8237-revert-8193-feat-remove-random-shared-tables
Revert "Merge pull request #8237 from appwrite/revert-8193-feat-remov…
cl-1.5.7-6
2024-06-07 17:34:14 +12:00
Jake Barnby e58e849504 Fix function test 2024-06-06 21:29:34 +12:00