Commit Graph

14447 Commits

Author SHA1 Message Date
Prem Palanisamy c547bc5c16 Add AuthMethods migration wizard support
- MigrationResource union + MigrationResources enum gain 'auth-methods'
- New top-level form group 'authMethods' (root-only, like backups)
- providerResources.appwrite includes AuthMethods
- migrationFormToResources / resourcesToMigrationForm round-trip
- resource-form.svelte shouldRenderGroup + getReportKey
- importReport.svelte labelMap + descriptionMap
2026-05-18 13:37:25 +01:00
Prem Palanisamy 09c4fc0b35 Add webhook migration wizard support
Adds webhook as a child toggle under the existing settings group,
joining project variables as the second project-level setting that
can be migrated.
2026-05-14 20:34:02 +01:00
Prem Palanisamy e53bbaca86 Add project variable migration wizard support
Adds new 'settings' form group (parent for project-level configuration
like variables and webhooks). Project variables become settings.root.
The backend migration library exposes them via the new GROUP_SETTINGS.
2026-05-14 20:15:52 +01:00
Prem Palanisamy 1116c5736d Add API key migration wizard support
Adds api-key as a child toggle under the existing integrations group,
matching the parent-child pattern used by users/teams, databases/rows,
and messaging/messages. The backend uses the kebab-case 'api-key'
resource id; the form field stays camelCase as a local property.
2026-05-14 19:13:35 +01:00
Prem Palanisamy 385512cc59 feat: support platform resource in migration wizard 2026-05-13 19:42:28 +01:00
Aditya Oberai 4e28b37292 Merge pull request #3042 from appwrite/relationships-ga
Remove experimental tag from relationships
8.2.5
2026-05-13 20:13:49 +05:30
adityaoberai 4f0689f14d Remove experimental tag from relationships 2026-05-13 00:08:08 +05:30
Harsh Mahajan 9b679204a6 Merge pull request #3041 from appwrite/fix-variable-backend-pagination
Fix variable settings pagination
8.2.3 8.2.4
2026-05-12 11:51:06 +05:30
harsh mahajan 8785d17eb2 Merge main into variable pagination branch 2026-05-12 11:40:44 +05:30
harsh mahajan e8cba9af73 Fix variable settings pagination 2026-05-12 11:36:36 +05:30
Harsh Mahajan f07b9fde76 Merge pull request #3040 from appwrite/codex/fix-variable-count-from-response-items
Patch: variable count display
8.2.2
2026-05-12 10:07:47 +05:30
harsh mahajan af8dae49ba fix lint 2026-05-12 01:36:22 +05:30
harsh mahajan 31efb78e32 Fix variable count display 2026-05-12 01:33:14 +05:30
premtsd-code 28c3992444 Merge pull request #2964 from appwrite/csv-import-upsert
feat(migrations): Fail/Skip/Overwrite import options across migration wizard, CSV & JSON import
8.2.1
2026-05-11 11:59:22 +01:00
Harsh Mahajan 736972cf95 Merge pull request #3026 from appwrite/perf-console-optimizations
perf: eliminate wasted API call, afterUpdate overhead, and sequential billing checks
2026-05-11 16:17:56 +05:30
Harsh Mahajan 4a1cc476de Merge branch 'main' into perf-console-optimizations 2026-05-11 16:12:48 +05:30
Jake Barnby 8b4028d665 fix(backups): show 'Skipped' label for skipped scheduled archives (#3033)
* fix(backups): surface skipped scheduled backups with a Skipped label

Cloud now writes a terminal archive doc with status='skipped' for cron
ticks that were dropped because the previous run hadn't finished yet.
Map that to the neutral 'waiting' Status visual and override the label
so the user sees "Skipped" instead of the auto-capitalized "Waiting".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* docs(backups): comment why 'skipped' maps to the 'waiting' visual

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 22:15:17 +12:00
Prem Palanisamy 0b65897358 Merge remote-tracking branch 'origin/main' into csv-import-upsert
# Conflicts:
#	bun.lock
#	package.json
2026-05-11 10:39:40 +01:00
Chirag Aggarwal 6eb14b60c9 Merge pull request #3037 from appwrite/simplify-support-triage-form
Remove manual support triage fields
2026-05-11 12:19:26 +05:30
Chirag Aggarwal 1c8bd52eef Merge origin/main into simplify-support-triage-form 2026-05-11 12:05:27 +05:30
ArnabChatterjee20k e2dcc50c3c Merge pull request #3038 from appwrite/fix-remove-redundant
removed redundant
2026-05-11 11:12:07 +05:30
ArnabChatterjee20k 8c8d2c2a7a linting 2026-05-11 11:07:39 +05:30
ArnabChatterjee20k bd50bb8a89 removed redundant 2026-05-11 11:03:54 +05:30
Harsh Mahajan 43b7f5612d Merge pull request #3036 from appwrite/fix/remove-support-severity
Remove severity from support form
2026-05-11 10:22:04 +05:30
Damodar Lohani c12d968d49 Merge pull request #3028 from appwrite/feat/live-payment-create-upgrade
Confirm create-org and upgrade-plan payments on-session
8.2.0
2026-05-11 09:04:28 +05:45
Chirag Aggarwal 2f013bb413 Align support store initial state 2026-05-10 19:25:59 +05:30
Chirag Aggarwal e4196b0fb8 Remove manual support triage fields 2026-05-10 19:18:14 +05:30
Damodar Lohani 848595faed Merge remote-tracking branch 'origin/main' into feat/live-payment-create-upgrade 8.2.0-rc1 2026-05-10 11:00:43 +00:00
ArnabChatterjee20k 264e2de9e6 Merge pull request #2950 from appwrite/big-int
feat: add bigint column type support and update dependencies
8.1.12
2026-05-08 20:13:28 +05:30
ArnabChatterjee20k 91d3463e36 updated 2026-05-08 20:08:51 +05:30
ArnabChatterjee20k 30c1ca97fe updated 2026-05-08 20:07:34 +05:30
ArnabChatterjee20k e608d82ddc updated 2026-05-08 20:04:25 +05:30
ArnabChatterjee20k 03ba899c56 Merge remote-tracking branch 'origin' into big-int 2026-05-08 19:59:43 +05:30
harsh mahajan 50d35a944f Remove severity from support form 2026-05-08 19:25:54 +05:30
Harsh Mahajan 5ebd8c816f Merge pull request #3035 from appwrite/fix-deprecated-scopes-selection
fix: treat deprecated scopes as selectable and fix badge count
2026-05-08 17:10:27 +05:30
harsh mahajan b4798736aa fix: treat deprecated scopes as selectable and fix badge count 2026-05-08 16:56:03 +05:30
Jake Barnby e1d3606a9a chore: pin github actions to sha and bump to latest (#3034)
Pin every third-party action in .github/workflows/ to a full commit SHA
with a trailing version comment, and bump to the latest stable release.
Defends against tag-rewrite supply-chain attacks while keeping versions
legible.
2026-05-08 13:41:32 +12:00
ArnabChatterjee20k ff360a686a updated proxy status 2026-05-07 12:37:17 +01:00
ArnabChatterjee20k c7687220d7 fix: update proxy rule status handling and improve variable ID generation in function and site creation 2026-05-07 12:37:17 +01:00
Prem Palanisamy b0d92f58b1 fix(migrations): gate onDuplicate to Fail when databases not selected
The Fail/Skip/Overwrite radios are only rendered when the Databases
resource is checked. The local importOnDuplicate value, however,
persists across toggles — so unticking Databases after picking
Overwrite or Skip would silently apply that mode to the entire
migration payload (users, teams, functions, etc.) on submit.

Gate the value at submit time: only forward importOnDuplicate when
$formData.databases.root is true; otherwise always send Fail.

Addresses greptile P1 review on PR #2964.
2026-05-07 12:36:09 +01:00
Prem Palanisamy 8dfd91b7d3 feat(migrations): expose Fail/Skip/Overwrite radios for import flows
Reworks the import-options UI in three places to match the new
OnDuplicate enum (Fail / Skip / Overwrite) shipped by the cloud worker
and migration package:

- Settings → Migrations wizard (Appwrite source): three-option radio
  group with Fail pre-selected. Wording reflects that overwrite/skip
  apply to the entire resource tree (databases, tables, columns,
  indexes, rows), not just rows.
- Tables (TablesDB) CSV import: same three-option radio replacing
  the prior two checkboxes. Wording stays document-centric since CSV
  import is row-only.
- Collections (DocumentsDB) JSON import: previously imported with no
  onDuplicate (silent default to fail). Now opens the same Import
  options dialog with Fail/Skip/Overwrite radios.

Also bumps @appwrite.io/console SDK to https://pkg.vc/-/@appwrite/
@appwrite.io/console@341620a so the OnDuplicate enum exports match
the merged backend (post 1.9.x).

Renamed OnDuplicate.Upsert -> OnDuplicate.Overwrite throughout the
console (the enum was renamed in upstream PR #11910 / migration 1.9.7;
the prior reference compiled to undefined and silently defaulted the
backend to Fail).
2026-05-07 12:15:03 +01:00
Damodar Lohani eeb28a4ce8 fix(billing): surface real confirmPayment error and clean up draft on failure
Two issues surfaced during user testing of the live-payment flow on
create-organization and change-plan.

1. confirmPayment() in src/lib/stores/stripe.ts always called
   resolve('/(console)/organization-[organization]/billing', {organization: orgId})
   eagerly at the top of the try block. The create-organization callsite
   passes only `route` (no orgId, since the team doesn't yet exist), so
   resolve() threw on the missing required `organization` param, the
   outer catch fired, and the user saw the generic
   "There was an error processing your payment..." message instead of
   the actual Stripe error. The URL is now built lazily — resolve() is
   only invoked when no `route` is supplied. The outer catch now
   surfaces the underlying error message (Stripe / SDK error) and falls
   back to the generic copy only when no message is available.

2. When the frontend Stripe confirmation failed, the backend was never
   notified, leaving draft teams (status='draft') and partial upgrades
   stranded. handleTeamCreateUpgradeFailure already deletes drafts and
   rolls back upgrades — but only when the backend recognises failure.
   The create-organization and change-plan error branches now make a
   best-effort call to organizations.validatePayment after a failed
   confirmation. validatePayment inspects the actual Stripe intent and
   routes to handleTeamCreateUpgradeFailure when it isn't
   succeeded/processing. validatePayment is expected to throw
   BILLING_PAYMENT_FAILED in this path; the throw is swallowed because
   the user has already seen the underlying Stripe error and the
   backend cleanup is the desired side-effect.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 10:32:59 +00:00
Prem Palanisamy 6c154449b1 Merge remote-tracking branch 'origin/main' into csv-import-upsert 2026-05-07 11:17:43 +01:00
ArnabChatterjee20k 6a0681762c updated proxy status 2026-05-07 13:50:54 +05:30
premtsd-code 384d3e2998 Merge pull request #3027 from appwrite/feat-add-backup-policy-migration
feat: add backup policy migration support
2026-05-07 13:26:53 +05:30
Jake Barnby 2456ac7b6c Merge pull request #3030 from appwrite/diagnostic-fixes
fix: update proxy rule status handling and improve variable ID genera…
2026-05-07 19:51:06 +12:00
ArnabChatterjee20k 6dac6d0a2d updated 2026-05-07 13:07:54 +05:30
ArnabChatterjee20k fb0138e690 fix: update proxy rule status handling and improve variable ID generation in function and site creation 2026-05-07 13:02:36 +05:30
ArnabChatterjee20k 33a77b4c08 linting 2026-05-07 12:57:28 +05:30
ArnabChatterjee20k ec7e8f26eb linting 2026-05-07 12:54:31 +05:30