Jake Barnby
dc85d44647
Revert "Refactor auth single instance"
2025-12-20 02:54:50 +13:00
Jake Barnby
13f4aa9a80
Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/init/resources.php
# composer.lock
# src/Appwrite/Platform/Modules/Console/Http/Resources/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
# src/Appwrite/Platform/Workers/Migrations.php
2025-12-18 18:17:41 +13:00
Chirag Aggarwal
5daacb7161
Refactor Specs task for better code organization
...
- Extract platform, auth counts, and keys into separate methods
- Add getPlatforms(), getAuthCounts(), and getKeys() methods
- Extract SDK platform logic into getSDKPlatformsForRouteSecurity()
- Add PHPDoc comments with proper type hints
- Move constructor to top of class for better readability
2025-12-14 11:21:44 +05:30
Chirag Aggarwal
aa12ef6569
Add public visibility control for deprecated methods
...
- Add 'public' parameter to SDK Method class to control documentation visibility
- Mark deprecated methods as non-public (public: false) to hide them from docs
- Update OpenAPI and Swagger specs to reflect visibility changes
- Affected endpoints: account verification, messaging providers, and MFA authenticators
2025-12-11 13:53:34 +05:30
Damodar Lohani
61067bd8d3
Fix: remove temp queries
2025-12-10 10:32:51 +00:00
shimon
7392f6aeff
Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/vcs.php
2025-12-02 12:49:15 +02:00
Damodar Lohani
e114d49789
Fix: add test
2025-12-02 01:04:51 +00:00
Damodar Lohani
1df5b71e32
Simplify
2025-12-02 00:59:39 +00:00
Damodar Lohani
a166ae5a03
Fix: error setting user password
...
Fixes Update Password Bug
Fixes #10878
2025-12-02 00:59:19 +00:00
shimon
f216ea5d65
Merge branch '1.8.x' of github.com:appwrite/appwrite into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/account.php
# app/controllers/api/graphql.php
# app/controllers/api/storage.php
# app/controllers/api/teams.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/controllers/shared/api/auth.php
# app/init/resources.php
# app/realtime.php
# app/worker.php
# composer.lock
# src/Appwrite/Auth/Auth.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Decrement.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Attribute/Increment.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Delete.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Get.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/Upsert.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Documents/XList.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Operations/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Create.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/Get.php
# src/Appwrite/Platform/Modules/Functions/Http/Executions/XList.php
# src/Appwrite/Platform/Modules/Tokens/Http/Tokens/Buckets/Files/Action.php
# src/Appwrite/Utopia/Request.php
# src/Appwrite/Utopia/Response.php
# tests/unit/Auth/AuthTest.php
# tests/unit/Messaging/MessagingChannelsTest.php
2025-11-27 15:50:37 +02:00
Damodar Lohani
5dd3f9c574
Format
2025-11-26 11:08:13 +00:00
Damodar Lohani
cbc8b2ca0d
Fix: validator not working
2025-11-26 11:02:00 +00:00
shimon
4ad249f918
Revert "Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance""
...
This reverts commit 8765d5650a .
2025-11-26 12:05:12 +02:00
Damodar Lohani
149fee503f
Format
2025-11-23 07:01:11 +00:00
Damodar Lohani
94ba8ee5f2
Merge remote-tracking branch 'origin/1.8.x' into feat-appwrite-auth
2025-11-23 06:43:52 +00:00
Jake Barnby
8765d5650a
Revert "Merge pull request #10682 from appwrite/refactor-auth-single-instance"
...
This reverts commit 919b01a1b1 , reversing
changes made to deb5039352 .
2025-11-19 16:21:06 +13:00
Jake Barnby
83b9815644
Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
2025-11-14 16:45:57 +13:00
Chirag Aggarwal
b695ddc7e3
Merge branch '1.8.x' into fix-nullable-validation
2025-11-13 16:06:33 +05:30
Jake Barnby
0c7551b0c1
Merge remote-tracking branch 'origin/1.8.x' into refactor-auth-single-instance
...
# Conflicts:
# app/controllers/api/teams.php
# composer.lock
2025-11-12 16:51:21 +13:00
fogelito
97454c0768
EmailValidator chnage to email
2025-11-11 15:33:16 +02:00
fogelito
8b4a56cd9b
$emailCanonical
2025-11-11 15:25:10 +02:00
fogelito
da0a6b167f
EmailValidator
2025-11-11 15:00:09 +02:00
fogelito
27d0c511ac
patch users email
2025-11-11 12:09:40 +02:00
fogelito
cc97d78b5a
Add try catch
2025-11-11 11:35:18 +02:00
fogelito
98255fe628
Merge branch '1.8.x' of https://github.com/appwrite/appwrite into users-add-attributes
...
# Conflicts:
# composer.lock
2025-11-10 14:52:25 +02:00
Chirag Aggarwal
eb17ffd5d2
wrap all optional values with default null with nullable
2025-11-10 10:15:49 +05:30
Damodar Lohani
0f9b13e251
use argon default
2025-11-05 05:09:36 +00:00
Damodar Lohani
965c4738e7
fix user's attributes
2025-11-05 05:06:40 +00:00
Damodar Lohani
4679eff4b8
use argon 2 default
2025-11-05 03:34:52 +00:00
Damodar Lohani
437d914e90
More refactor and fixes
2025-11-04 06:08:35 +00:00
shimon
cd1b2b6c05
Refactor authorization handling by replacing method calls with direct class references, ensuring consistent usage of the Authorization class across various modules. Update method signatures to include Authorization as a parameter where necessary, and remove unnecessary injections. Additionally, correct the documentation in CHANGES.md for clarity.
2025-11-03 09:07:44 +02:00
fogelito
6a41f8b2b9
Remove todos
2025-11-02 11:16:12 +02:00
fogelito
371cab0658
try catch EmailCanonical
2025-11-02 10:59:28 +02:00
Shimon Newman
d38399dcc0
Merge branch '1.8.x' into refactor-auth-single-instance
2025-10-29 20:38:04 +02:00
shimon
5c2828bc78
Refactor authorization handling across multiple modules to use a single instance of the Authorization class.
2025-10-29 20:21:41 +02:00
shimon
a7dbb3daea
Refactor API parameters to replace 'includeTotal' with 'total' across multiple endpoints for consistency in response handling.
2025-10-29 11:08:08 +02:00
shimon
33000134df
addrising comments + composer.lock
2025-10-29 09:17:10 +02:00
shimon
8b3b07a710
linter
2025-10-22 16:40:00 +03:00
shimon
33f88fa5e0
Refactor authorization handling across multiple modules to use the new getAuthorization() method. Update CHANGES.md to reflect the change in usage worker authorization. Adjust composer.json to specify the correct version for utopia-php/database. Update plugin-api-version in composer.lock.
2025-10-22 16:35:48 +03:00
shimon
1606141a5a
Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-disable-count
...
# Conflicts:
# app/controllers/api/account.php
2025-10-21 11:14:05 +03:00
Jake Barnby
ddde13a78f
Revert "Merge pull request #10468 from appwrite/feat-apps-module-dl"
...
This reverts commit 9dd1939d1f , reversing
changes made to 8dfdfcb522 .
# Conflicts:
# app/config/collections/common.php
# app/controllers/api/users.php
# app/init/resources.php
# composer.lock
2025-10-21 14:59:30 +13:00
shimon
a643cde26d
Update 'includeTotal' parameter to use Boolean(true) for consistent behavior across API endpoints, enhancing response handling for sessions, logs, memberships, and more.
2025-10-20 22:00:57 +03:00
shimon
fb4e3e1b9d
Implement 'includeTotal' parameter across multiple API endpoints to control total count in responses, ensuring consistent behavior in session, log, and membership retrievals.
2025-10-20 18:18:17 +03:00
shimon
09075a05db
typo fix
2025-10-19 16:22:13 +03:00
shimon
d0e0f67fee
Implement 'includeTotal' parameter across various API endpoints to control total count in responses
2025-10-19 15:45:16 +03:00
Damodar Lohani
248d3aea7a
Fix: reset argon 2 options to previous default
2025-10-19 05:44:44 +00:00
Damodar Lohani
e06349e803
update argon2 instances
2025-10-16 03:34:45 +00:00
Damodar Lohani
431dd96b98
chaining
2025-10-16 02:17:59 +00:00
Damodar Lohani
4540362f42
Fix: token hash magic url session
2025-09-18 01:37:19 +00:00
Damodar Lohani
73e7c98131
Fix token length update
2025-09-16 04:36:30 +00:00