Commit graph

444 commits

Author SHA1 Message Date
Matej Bačo
c42a2bc5b7 PR review changes 2024-07-24 07:11:48 +00:00
Matej Bačo
ab55e6f511 Linter fix 2024-07-24 07:00:20 +00:00
Matej Bačo
51c163a42f Apply migrations properly 2024-07-24 06:55:36 +00:00
Matej Bačo
c6ab0d8523
Merge branch '1.6.x' into feat-expose-execution-schedule-date 2024-07-24 08:38:09 +02:00
Bradley Schofield
9e3c5b9368 Add variable runtimes sizes migrations 2024-07-22 19:40:05 +09:00
Matej Bačo
304910e303 Add schedule date to response format 2024-07-22 10:36:18 +00:00
Bradley Schofield
3a6df3c973 Merge branch '1.6.x' into feat-1.6.x-migrations-and-filters 2024-07-22 11:38:17 +09:00
Torsten Dittmann
8ad15b2df1 feat: base migration for 1.6.x 2024-07-19 13:53:42 +02:00
Bradley Schofield
83c4350395 Make scopes optional on functions 2024-07-17 17:58:25 +09:00
Bradley Schofield
7dec5f68be Update V21.php 2024-07-17 15:20:42 +09:00
Bradley Schofield
d78c880bf0 Update V21.php 2024-07-17 15:20:34 +09:00
Bradley Schofield
35375c42ad Fix typos 2024-07-17 14:54:37 +09:00
Bradley Schofield
5d6b74e447 Add migrations and filters for 1.6.x 2024-07-17 14:52:17 +09:00
ItzNotABug
eb36ae5c61 add: default to V20 migration. 2024-06-20 14:14:21 +05:30
ItzNotABug
4fd94fd7b1 fix: add defaults to collection attributes. 2024-06-14 15:37:30 +05:30
Christy Jacob
75de5b0332 chore: update specs 2024-05-24 09:35:57 +00:00
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