Commit graph

428 commits

Author SHA1 Message Date
Steven Nguyen
1269294ff5
Bump appwrite version to 1.5.6 2024-05-20 15:27:52 -07:00
Steven Nguyen
eb6eb98a4a
Bump appwrite version to 1.5.5 2024-04-25 17:44:04 +00:00
Steven Nguyen
b75f5263a2
Merge branch 'main' into chore-sync-main-into-1.5.x 2024-04-23 23:43:53 +00:00
Steven Nguyen
cd16542703
fix(migration): add missing 'apis' attribute to projects collection
This change updates the V20 (1.5.x) migration script to create the
`apis` attribute in the `projects` collection since it was added to the
collections config.
2024-04-19 00:09:48 +00:00
Eldad Fux
8ed1da4ea8 Updated getEnv to use system lib 2024-04-01 13:02:47 +02:00
Jake Barnby
c6ce585fcc
Update version 2024-03-13 11:08:50 +01:00
Steven Nguyen
d167fb3650
Bump appwrite version to 1.5.3 2024-03-11 17:59:12 +01:00
Steven Nguyen
77e309af50
fix(migration): fix Attribute not found when migrating users collection
This throws because Appwrite tries to migrate attributes that don't exist
yet like mfaRecoveryCodes. Since the attribute doesn't exist yet, just
log a warning and continue.
2024-03-11 01:14:55 +01:00
Jake Barnby
40a8bd45fe
Merge pull request #7761 from appwrite/release-1-5-2
release: 1.5.2
2024-03-09 19:09:29 +01:00
Jake Barnby
175a117db1
Fix index migrations 2024-03-09 15:34:22 +01:00
Torsten Dittmann
e75ba0600e release: 1.5.2 2024-03-08 21:55:25 +01:00
Jake Barnby
cfed14a378
Fix stats migration 2024-03-08 21:40:52 +01:00
Torsten Dittmann
150681246e bump: version number 2024-03-08 17:25:10 +01:00
Torsten Dittmann
124cb721b8 sync: 1.5.x 2024-03-07 17:21:19 +01:00
Torsten Dittmann
740a6a1e2d fix: migration for 1.5.x 2024-03-06 21:45:46 +01:00
Torsten Dittmann
3d059e470a fix: migration 1.5.x 2024-03-06 21:45:46 +01:00
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Torsten Dittmann
12f681dd3d fix: migrate authenticators collection 2024-03-01 03:09:32 +01:00
Torsten Dittmann
dd13d17377 feat: const for totp values 2024-03-01 03:07:58 +01:00
Bradley Schofield
f4b8ae8b88 Change factors code and update Response model tests 2024-02-26 11:50:25 +00:00
Bradley Schofield
7ad4af8d91 Fix misssed items in Migrations and Response filters 2024-02-25 17:30:26 +00:00
Bradley Schofield
bdf044ed8c Update 'email' to 'password' in factors 2024-02-22 10:21:25 +00:00
Bradley Schofield
d020730a74 Address Shimon's comments 2024-02-21 10:20:55 +00:00
Bradley Schofield
a2b9dbc208 Update V20.php 2024-02-21 09:42:04 +00:00
Bradley Schofield
370e814b8c Update Factors Session Migration 2024-02-21 09:31:52 +00:00
Bradley Schofield
a5d6af9ded Add 'factors' migration 2024-02-20 15:47:55 +00:00
Bradley Schofield
bfe861f846 Run Linter 2024-02-20 15:05:42 +00:00
Bradley Schofield
f6f8816e2b Migration Fixes 2024-02-17 11:29:49 +00:00
Jake Barnby
4d7becc459
Apply suggestions from code review 2024-02-16 20:23:31 +13:00
Bradley Schofield
b60c591f8f Merge branch '1.5.x' into 1.5.x-response-request-models 2024-02-13 09:45:59 +00:00
Bradley Schofield
e2c6a2067a Address comments 2024-02-13 09:39:09 +00:00
shimon
8256c8b294 cache collection attr migration 2024-02-12 17:22:33 +02:00
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:

} catch (\Exception $e) {
    $deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {

As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Bradley Schofield
70ea6734e7 Add expire defaults 2024-02-06 19:22:54 +00:00
shimon
af2b640948 updates 2024-02-04 10:33:04 +02:00
shimon
036fa93295 updates 2024-02-04 09:34:42 +02:00
shimon
883cfedc46 updates 2024-02-01 22:14:09 +02:00
shimon
030cdf3cc8 updates 2024-02-01 17:12:27 +02:00
shimon
350d72eb1f updates 2024-02-01 12:21:50 +02:00
shimon
264542b01d migration updates 2024-02-01 10:30:27 +02:00
shimon
ed7b3faeb3 sync against main 2024-01-31 21:22:06 +02:00
shimon
f477be7521 Merge branch '1.5.x' of github.com:appwrite/appwrite into 1.5.x-response-request-models
 Conflicts:
	composer.json
2024-01-31 20:28:03 +02:00
fogelito
a782e20315 Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
 Conflicts:
	app/controllers/api/account.php
	composer.json
	composer.lock
	src/Appwrite/Platform/Tasks/CalcTierStats.php
	tests/e2e/Services/Account/AccountBase.php
2024-01-25 17:44:05 +02:00
Bradley Schofield
3226182ec8 Create the targets in the target collection instead of on the user 2024-01-24 18:13:36 +00:00
Torsten Dittmann
9f5a0312cf Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x 2024-01-24 11:24:59 +01:00
Bradley Schofield
5d49ac80b4 Add create targets migrations 2024-01-23 10:21:55 +00:00
Bradley Schofield
a63246c2cf Update V20.php 2024-01-22 11:21:25 +00:00
Bradley Schofield
5faf7899f8 Add Webhooks and schedules DB migrations 2024-01-22 11:18:43 +00:00
Bradley Schofield
198f68b807 Implement Response and Request filters as well as migrations 2024-01-16 11:10:07 +00:00
Jake Barnby
121521d7c5
Merge remote-tracking branch 'origin/1.5.x' into json-parsing
# Conflicts:
#	composer.lock
#	src/Appwrite/Platform/Tasks/DeleteOrphanedProjects.php
#	src/Appwrite/Platform/Tasks/Hamster.php
2023-12-15 18:22:08 +13:00