Commit graph

487 commits

Author SHA1 Message Date
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
Binyamin Yawitz
b5a241db8d
merge: Main into Coroutines 2024-06-05 18:38:39 -04:00
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
Eldad Fux
c53de9fb6b Merge branch 'main' of github.com:appwrite/appwrite into feat-eldad4-coroutines 2024-05-08 18:21:55 +01: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
5ce3de4933 Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines 2024-04-02 02:13:15 +02: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
Matej Bačo
db1674811f Finish fixing code QL warnings 2024-03-08 13:57:20 +01:00
Matej Bačo
005a239932 Auth fixes 2024-03-07 18:24:01 +01:00
Torsten Dittmann
124cb721b8 sync: 1.5.x 2024-03-07 17:21:19 +01:00
Matej Bačo
efeb898be1 Import fixes 2024-03-07 15:29:42 +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
Jake Barnby
5135262b79
Merge remote-tracking branch 'origin/1.4.x' into 1.5.x
# Conflicts:
#	app/config/errors.php
#	composer.lock
2023-12-15 02:41:46 +13:00
fogelito
cc5ae73f57 purgeCached changes 2023-12-14 15:32:06 +02:00
shimon
c9a4eb0a49 tests fix 2023-11-26 22:57:57 +02:00
shimon
21895e3ac0 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	app/controllers/api/storage.php
	app/init.php
	composer.lock
	src/Appwrite/Migration/Migration.php
	src/Appwrite/Platform/Services/Tasks.php
	src/Appwrite/Usage/Calculators/TimeSeries.php
2023-11-26 10:28:17 +02:00
prateek banga
1720acb2b4 lint fix 2023-11-21 12:32:30 +05:30
Prateek Banga
aa6a1a2e31
Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2023-11-21 12:24:08 +05:30
prateek banga
022f0a663e changes array search for cursorAfter query 2023-11-21 12:23:36 +05:30
prateek banga
7e625ba653 adds queries support in documentsIterator 2023-11-21 11:48:27 +05:30
prateek banga
da3798e52f review changes 2023-11-20 23:31:34 +05:30
prateek banga
b2381798ab migrates enum attribute size to 255 2023-11-20 22:01:20 +05:30
Jake Barnby
0b01f7140f
Merge remote-tracking branch 'origin/main' into 1.5.x
# Conflicts:
#	app/config/errors.php
#	composer.lock
#	src/Appwrite/Extend/Exception.php
2023-11-21 00:19:17 +13:00
Steven Nguyen
a96e571258 Bump appwrite version to 1.4.13 2023-11-17 20:11:56 +00:00
德华 刘
37e1e25170 chore: update versions and changelog 2023-11-15 18:31:33 +00:00
Jake Barnby
458c2d1446
Merge remote-tracking branch 'origin/main' into chore-sync-main 2023-11-13 16:46:05 +13:00
Prateek Banga
3ade88897c Merge branch 'main' of https://github.com/appwrite/appwrite into chore-sync-main-1.5.x 2023-11-10 12:49:05 +05:30
Jake Barnby
97757c9984
Update readmes + migrations 2023-11-10 13:25:28 +13:00
德华 刘
c014e40c54 chore: update changelog 2023-11-09 16:05:33 +00:00
德华 刘
f70b418c5c chore: updates for appwrite 1.4.10 2023-11-09 15:57:37 +00:00
shimon
f64d0ab8a8 Merge branch '1.4.x' of github.com:appwrite/appwrite into refactor-usage-sn
 Conflicts:
	.gitmodules
	CHANGES.md
	Dockerfile
	composer.lock
	src/Appwrite/Migration/Migration.php
2023-11-05 17:03:13 +02:00
Steven Nguyen
755699de8a
Bump appwrite version to 1.4.9 2023-10-31 12:40:45 -07:00
Steven Nguyen
c1df289df7
Bump appwrite version to 1.4.8 2023-10-27 10:31:43 -07:00
prateek banga
fd4a81c4fc made review changes 2023-10-25 23:03:23 +05:30
shimon
a42577b1aa composer json 2023-10-25 17:14:10 +03:00
shimon
19fe1c3fa5 migration ver 2023-10-25 15:08:01 +03:00
shimon
8736a01814 CHANGES.md
migrations::V20
2023-10-25 11:25:31 +03:00
Jake Barnby
d5b6421285
Merge remote-tracking branch 'origin/1.4.x' into sync-1.4.x-to-1.5.x
# Conflicts:
#	composer.lock
2023-10-24 19:46:57 +13:00
Steven Nguyen
3addf76a2a Bump appwrite version to 1.4.7 2023-10-23 13:36:29 -07:00
prateek banga
161bbfb822 Merge branch '1.4.x' of https://github.com/appwrite/appwrite into sync-1.4.x-to-1.5.x 2023-10-20 14:55:17 +05:30
Steven Nguyen
435b20df77
Bump appwrite version to 1.4.6 2023-10-18 16:07:47 -07:00
Prateek Banga
1e5a2a78aa Merge branch '1.4.x' of https://github.com/appwrite/appwrite into sync-1.5.x-with-1.4.x 2023-10-10 17:46:44 +05:30
Steven Nguyen
071920fb30
Bump version to 1.4.5 2023-10-09 16:39:46 -07:00
Prateek Banga
d5cc214546 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x 2023-10-06 03:44:36 +05:30
Christy Jacob
0c2cd174a5 chore: prep for 1.4.4 2023-09-27 21:28:28 +00:00
Christy Jacob
1e6b37f980 chore: update appwrite version 2023-09-14 19:53:32 +00:00
Prateek Banga
350549db7d Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-add-messaging-response-models 2023-09-14 02:17:34 +05:30
Christy Jacob
b9675f736b
Update src/Appwrite/Migration/Version/V19.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 23:32:49 -04:00
Christy Jacob
732a2b4a98 chore: linter 2023-09-06 22:10:43 +00:00
Christy Jacob
4250a634d3 Merge branch 'fix-migration-issues' of https://github.com/appwrite/appwrite into fix-migration-issues 2023-09-06 22:08:55 +00:00
Christy Jacob
c439202d3c chore: review comments 2023-09-06 22:08:26 +00:00
Christy Jacob
d96a6d7883
Apply suggestions from code review
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2023-09-06 18:06:31 -04:00
Christy Jacob
ec9ecb6cd4 chore: linter 2023-09-06 20:08:07 +00:00