Commit Graph

8603 Commits

Author SHA1 Message Date
Chirag Aggarwal a907c9df34 fixes 2026-02-21 20:21:08 +05:30
Chirag Aggarwal 4b63d3db86 fix 2026-02-21 19:57:59 +05:30
Chirag Aggarwal 47427a9c50 add function badges 2026-02-21 19:19:41 +05:30
Chirag Aggarwal 0488b9f6c0 refactor 2026-02-21 19:14:09 +05:30
Chirag Aggarwal 842a339cf2 use modules 2026-02-21 19:06:40 +05:30
Chirag Aggarwal ee223046e0 fix: invalid type error from resources endpoint 2026-02-20 11:22:23 +05:30
Hemachandar 14e79f34db Populate project-specific roles (#11209)
* Populate project-specific roles

* better comments

* simplify

* privileged user

* update permissions

* feedback

* lint

* only read + cleanup

* fix role length

* scopes

* not api-key

* cl-ignore group

* rename

* ciIgnore

* base scope

* change base scope

* fix projects

* copilot suggestion
2026-02-19 16:48:39 +05:30
Hemachandar e902d3b6ad fix: sanitize branch names for valid domain generation (#11245)
* fix: sanitize branch names for valid domain generation

Branch names containing invalid domain characters (like '/') were being
used directly when creating VCS preview domains, resulting in invalid
domains like 'branch-abc/test.appwrite.network'. This adds a Domain
helper class that sanitizes branch names by replacing invalid characters
with hyphens before generating domains.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor: use Text constants for branch name sanitization

Replace regex with explicit character validation using Utopia Text
constants for better readability and maintainability.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Move to transformation adapter

* lint

* tiny

* fix test

* ut

* use Filter

* lint

* more lint

* simplify

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-19 14:37:01 +05:30
Matej Bačo cdb6a2985f Merge pull request #11355 from appwrite/fix-rule-domains
Convert rule domains to lowercase
2026-02-19 09:42:34 +01:00
Hemachandar 702484c27b lowercase only id 2026-02-18 21:12:56 +05:30
Matej Bačo 2f32e312c8 Fix tests 2026-02-18 12:56:42 +01:00
Hemachandar 8f3472d55b Convert rule domains to lowercase 2026-02-18 15:58:24 +05:30
Matej Bačo 84eb065eb0 Screenshot after rule ready 2026-02-18 11:07:31 +01:00
Matej Bačo 7956b47aa8 Target rule for screenshot 2026-02-18 11:06:56 +01:00
Chirag Aggarwal 6728754d3f Merge pull request #11353 from appwrite/feat/specs-pr-platform-filter
feat: add getPlatformsForPR and getSdksCommand overridable methods
2026-02-18 14:15:02 +05:30
Chirag Aggarwal b2742ab932 glob changes 2026-02-18 12:58:39 +05:30
Chirag Aggarwal fe86578d3c try filtering examples 2026-02-18 12:39:37 +05:30
Prem Palanisamy 63bb69dfb1 Update docs for directory change 2026-02-18 06:23:19 +00:00
Prem Palanisamy 4940239c99 Move schedules module into projects namespace 2026-02-18 06:23:19 +00:00
Prem Palanisamy c3e80296b1 coderabbit - Fix misleading resourceUpdatedAt description 2026-02-18 06:23:19 +00:00
Prem Palanisamy d6a3fd6242 Address review comments: nest in project namespace, refactor maps, remove auth skip 2026-02-18 06:23:19 +00:00
Prem Palanisamy e1c35c743c Add data field to Schedule response model and remove unused events 2026-02-18 06:23:19 +00:00
Prem Palanisamy 2c8b1fb98a Add parentheses to validator constructors in schedule Create 2026-02-18 06:23:19 +00:00
Prem Palanisamy d8987ad975 Fix schedule Create endpoint and tests 2026-02-18 06:23:19 +00:00
Prem Palanisamy 9dbd225118 Refactor schedule Create to use protected methods for extensibility 2026-02-18 06:23:19 +00:00
Prem Palanisamy 63d2efdaac Move schedule endpoints to projects group (/v1/projects/:projectId/schedules) 2026-02-18 06:23:19 +00:00
Prem Palanisamy 3fde05e024 Add resource validation, admin scopes, and events for schedules 2026-02-18 06:23:19 +00:00
Prem Palanisamy 0314d6cc15 Add schedules API endpoints (GET, XList, Create) 2026-02-18 06:23:19 +00:00
Chirag Aggarwal 66cb7191c1 feat: add getPlatformsForPR and getSdksCommand overridable methods
Adds two overridable methods to Specs task:
- getPlatformsForPR(): controls which platforms are included when copying
  spec files to the repo and creating the PR (defaults to all platforms)
- getSdksCommand(): builds the CLI command for SDK example regeneration,
  allowing subclasses to customise flags like platform, sdk, and mode
2026-02-18 11:10:44 +05:30
Chirag Aggarwal 460639233b Merge pull request #11349 from appwrite/feat/specs-push-to-repo
feat: add git push and PR support to specs task
2026-02-18 10:45:07 +05:30
Chirag Aggarwal b9d7788d38 feat: add git push and PR support to specs task, add examples-only mode to SDKs task
- Specs task now supports --git, --message, and --branch params to push
  generated specs and SDK examples to the appwrite/specs repo and create a PR
- SDKs task now supports --mode=examples to only generate and copy examples
  without git push or releases
- Specs task invokes SDKs in examples mode to regenerate examples before
  including them in the specs PR
2026-02-17 22:01:40 +05:30
Hemachandar a1fb492292 Change CNAME for functions custom domains (#11348)
* Change CNAME for functions custom domains

* fix test
2026-02-17 22:00:26 +05:30
Hemachandar 6850ae9be6 Add array support for DNS A records (#11343)
* Add array support for DNS A records

* feedback
2026-02-17 20:36:42 +05:30
Atharva Deosthale c7c8349434 Merge pull request #11342 from appwrite/add-status-response
Add status to response model for projects
2026-02-17 14:02:15 +05:30
Chirag Aggarwal da5a669e99 Merge pull request #11340 from appwrite/bump-storage-lib-to-remove-deprecation-warnings
chore: bump storage lib to remove deprecation warnings
2026-02-17 13:26:44 +05:30
Atharva Deosthale bfecddcc9a Add status to response model 2026-02-17 11:38:03 +05:30
Jake Barnby 9b4eefc724 Allow resourceId/resourceType filtering 2026-02-17 19:00:26 +13:00
Chirag Aggarwal cc0d63bf03 chore: bump storage lib to remove deprecation warnings 2026-02-17 10:55:37 +05:30
loks0n 953c0cd4b4 fix: add missing string type models to AttributeList and Collection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 19:51:49 +00:00
Chirag Aggarwal 1a2238afaa Merge pull request #11337 from appwrite/fix/mails-worker-project-context
Set project on queueForMails for span log context
2026-02-16 19:58:36 +05:30
Luke B. Silver 89bbc42eec Merge pull request #11308 from appwrite/check-has-model
Check response has model
2026-02-16 13:29:54 +00:00
Chirag Aggarwal 79a0b33b92 Set project on queueForMails so span logs include project context
The Mails worker span logs were missing project.id, project.sequence,
project.region, and project.database because setProject was never
called on queueForMails. This adds setProject in the shared API
controller and in workers (Webhooks, Migrations) that trigger mails.
Also injects project into the Mails worker action.
2026-02-16 18:46:55 +05:30
Matej Bačo 7bcc27ed07 Fix linter 2026-02-16 13:31:36 +01:00
Matej Bačo 0eb00934f6 Fix race condition 2026-02-16 13:28:40 +01:00
copilot-swe-agent[bot] ef826ca122 Fix error messages to not use 'string' in non-string type routes
Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
2026-02-16 08:38:53 +00:00
copilot-swe-agent[bot] b58ebdbd15 Add encrypt param to varchar, text, mediumtext, longtext attribute and column create routes
- Add encrypt parameter to Varchar, Text, Mediumtext, Longtext attribute create routes
- Add encrypt parameter to Varchar, Text, Mediumtext, Longtext column create routes
- Add encrypt rule to AttributeVarchar, AttributeText, AttributeMediumtext, AttributeLongtext response models
- Add encrypt rule to ColumnVarchar, ColumnText, ColumnMediumtext, ColumnLongtext response models
- Add plan injection and validation for encrypt feature in all routes
- Add size validation for encrypt on varchar route (variable size)
- Add encrypt filter handling in all routes

Co-authored-by: abnegate <5857008+abnegate@users.noreply.github.com>
2026-02-16 08:38:00 +00:00
Damodar Lohani 53fa7992f5 Merge pull request #11318 from appwrite/fix-ping
Fix: cast redi ping response to boolean
2026-02-16 06:20:41 +05:45
loks0n 9dc000d0c5 Replace region check with project ID check for execution logging
Switch from checking _APP_REGION !== 'nyc' to checking project ID
to disable execution logging for a specific project.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:47:07 +00:00
Damodar Lohani 5d5fd370c6 fix: cast Redis ping response to boolean 2026-02-13 11:32:46 +00:00
Matej Bačo b4421e6709 Merge pull request #11313 from appwrite/chore-customizable-screenshot-router
Chore: configurable _APP_WORKER_SCREENSHOTS_ROUTER
2026-02-13 10:09:02 +01:00