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
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