Commit graph

350 commits

Author SHA1 Message Date
Steven Nguyen
101283f345
fix: prevent update migration from clearing scopes and resetting specs 2025-04-28 09:02:06 -07:00
Steven Nguyen
8d9abd2f31
fix(vcs): add missing attributes to 1.6.x migration 2025-04-28 09:02:06 -07:00
Steven Nguyen
8d046f021c
fix: update upgrade migration to create missing attributes
Between version 1.6.0 and 1.6.1, the migrations collection was updated
to include a destination attribute and the databases collection was
updated to include an originalId attribute. However, the upgrade
migration was not updated to create these attributes.

This PR updates the migration to create the missing attributes.
2025-04-10 16:21:12 -07:00
Matej Bačo
f25143b240 Support fra-region on cloud; temporary fix 2025-03-25 21:52:02 +01:00
Matej Bačo
d89cdbcf5a Fix schedules region filtering 2025-03-25 21:34:09 +01:00
Chirag Aggarwal
c1b613e5bd chore: added migration script 2025-02-17 13:55:43 +00:00
Torsten Dittmann
90c2bb10ff Merge branch 'feat-react-native-platform' of https://github.com/appwrite/appwrite into feat-react-native-platform 2024-08-21 13:22:30 +02:00
Torsten Dittmann
04181ec9ce fix: increase platform type size and add migration 2024-08-21 13:22:24 +02:00
Bradley Schofield
f4f07860c3
Merge branch '1.6.x' into feat-sync-1.6.x-filters-migrations 2024-08-20 19:57:19 +09:00
Bradley Schofield
dc149761d8 Address Jake's Comments 2024-08-20 13:23:11 +09:00
Bradley Schofield
e37c79cf3c Update to 65534 2024-08-19 18:43:50 +09:00
Bradley Schofield
4e5a2f71cc Change self-hosted update to 75K 2024-08-19 18:34:52 +09:00
Bradley Schofield
04e7434932 Address Christy's Comments 2024-08-19 18:07:10 +09:00
Bradley Schofield
eb7f712379 Sync with 1.6.x changes
- Added migration for `files` metadata size increase
- Disabled `specification` migration until variable runtime specs are ready
- Unset `key` for runtimes in response filters
- Set the correct attribute `scopes` to be optional, reverting it for key and setting it for functions.
2024-08-19 14:52:07 +09:00
Bradley Schofield
79a757297d Update size to specification for variable runtimes 2024-08-14 11:48:40 +09:00
Christy Jacob
bfa253297b Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main 2024-08-13 15:36:13 +00:00
Binyamin Yawitz
8e7cc6ed14
fix: Moving migration to be inside coroutine completely 2024-08-08 09:25:56 -04:00
Binyamin Yawitz
821d0bee19
feat: Purging collection cache 2024-07-30 20:36:29 -04:00
Binyamin Yawitz
999c2cfac7
fix: reviews 2024-07-30 17:39:32 -04:00
Binyamin Yawitz
1559fec29a
fix: Increasing buckets metadata 2024-07-30 16:53:18 -04:00
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
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
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
175a117db1
Fix index migrations 2024-03-09 15:34:22 +01:00
Jake Barnby
cfed14a378
Fix stats migration 2024-03-08 21:40:52 +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