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
b12e006014
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/init/resources.php
# composer.lock
2025-10-21 18:43:41 +13: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
Jake Barnby
f9b0455794
Revert "Fix optionality"
...
This reverts commit 994de06457 .
# Conflicts:
# app/controllers/api/messaging.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Attributes/Boolean/Create.php
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Transactions/Update.php
# src/Appwrite/Platform/Modules/Databases/Http/TablesDB/Transactions/Update.php
2025-10-21 13:05:54 +13:00
Jake Barnby
994de06457
Fix optionality
2025-10-21 12:36:13 +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
Jake Barnby
3a8e2b080d
Merge remote-tracking branch 'origin/1.8.x' into feat-mongodb
...
# Conflicts:
# app/init/resources.php
# composer.json
# composer.lock
# src/Appwrite/Platform/Modules/Databases/Http/Databases/Collections/Indexes/Create.php
# tests/e2e/Services/Databases/Legacy/DatabasesBase.php
# tests/e2e/Services/Databases/TablesDB/DatabasesBase.php
2025-10-21 03:16:21 +13: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
Jake Barnby
143be8239f
Fix inject
2025-10-09 00:41:25 +13:00
Jake Barnby
28392647e0
Pass adapter max ID length to validator
2025-10-07 18:52:05 +13: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
Damodar Lohani
d42841d80a
fix: remove hardcode, reuse hasher
2025-09-14 05:02:50 +00:00
Damodar Lohani
41dbe1a384
Fix internal ID refactor
2025-09-10 07:03:11 +00:00
Damodar Lohani
2be8895dfd
Merge remote-tracking branch 'origin/1.8.x' into feat-apps-module-dl
2025-09-10 03:56:34 +00:00
shimon
4fb680350a
Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
...
# Conflicts:
# Dockerfile
# composer.json
# composer.lock
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomClientTest.php
# tests/e2e/Services/Databases/TablesDB/DatabasesCustomServerTest.php
2025-08-26 14:20:47 +03:00
Jake Barnby
3fbda66e6c
Fix deprecation messages
2025-08-23 21:36:02 +12:00
Jake Barnby
1b4f2f2275
Fix acronym methods, deprecate old versions
2025-08-21 02:08:27 +12:00
shimon
e151425b95
Merge branch '1.8.x' of github.com:appwrite/appwrite into feat-mongodb-pulls
2025-08-12 17:54:55 +03:00
Jake Barnby
38204a2c23
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# composer.lock
# docker-compose.yml
# tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-12 17:38:02 +12:00
Jake Barnby
7a0b34474f
Skip redundant subqueries in users list route
2025-08-11 21:26:10 +12:00
shimon
779fb7bd20
Update composer dependencies and Docker Compose configuration for MongoDB integration. Change database alias in composer.json, update package versions in composer.lock, and adjust volume mappings in Docker Compose to include MongoDB source directories. Refactor application code to set tenant to null for database connections.
2025-08-06 15:07:04 +03:00
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# .github/workflows/benchmark.yml
# composer.lock
# src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Jake Barnby
609e1adcf0
Catch
2025-06-30 22:27:18 -04:00
Christy Jacob
b5c5f76acc
Merge branch '1.7.x' of github.com:appwrite/appwrite into feat-apps-module
2025-06-20 17:39:28 +04:00
ArnabChatterjee20k
7a0ba95231
updated onPasswordChange to invalidate session
2025-06-16 23:05:52 +05:30
ArnabChatterjee20k
fde2f278e8
added invalidating sessions for the project users
2025-06-14 18:07:42 +05:30
Jake Barnby
b7702340ba
Fix allowed attributes list for user target list queries
2025-05-28 01:13:29 +12:00
Jake Barnby
3158c15111
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
...
# Conflicts:
# app/controllers/api/functions.php
# app/controllers/api/project.php
# app/controllers/api/proxy.php
# app/controllers/api/storage.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/init/database/filters.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Migration/Version/V15.php
# src/Appwrite/Migration/Version/V16.php
# src/Appwrite/Migration/Version/V17.php
# src/Appwrite/Migration/Version/V18.php
# src/Appwrite/Migration/Version/V19.php
# src/Appwrite/Migration/Version/V20.php
# src/Appwrite/Migration/Version/V21.php
# src/Appwrite/Platform/Tasks/Migrate.php
# src/Appwrite/Platform/Workers/Builds.php
# src/Appwrite/Platform/Workers/Deletes.php
# src/Appwrite/Platform/Workers/Functions.php
# src/Appwrite/Platform/Workers/StatsResources.php
# src/Appwrite/Platform/Workers/StatsUsage.php
2025-05-27 13:36:23 +12:00
Jake Barnby
86f7489640
Internal ID -> sequence
2025-05-26 17:42:11 +12:00
Christy Jacob
28d2ed1baa
Revert "Feat sequence"
2025-05-23 21:39:56 +04:00
Jake Barnby
71e3446498
Change internal ID to sequence
2025-05-23 02:55:29 +12:00
Matej Bačo
af0c872999
Merge branch '1.6.x' into 1.7.x
2025-05-13 10:11:39 +02:00
Eldad Fux
fb29fe7b3c
Merge remote-tracking branch 'origin/1.7.x' into feat-apps-module
2025-04-29 20:12:31 +02:00
Fabian Gruber
270250a563
review feedback
2025-04-25 16:25:26 +02:00
Fabian Gruber
9601860247
feat(users): synchronously delete identities and targets in controller
2025-04-25 15:55:10 +02:00
Matej Bačo
d8103cb57e
Merge branch '1.7.x' into 1.6.x
2025-04-25 12:18:04 +02:00
Christy Jacob
f4e8d72593
Merge branch '1.6.x' into feat-group
2025-04-17 18:25:47 +04:00
ArnabChatterjee20k
b2f7ed48dd
Simplify constructor usage by inlining message; limit try/catch to DB operations
2025-04-17 10:16:26 +05:30
arnab
6e422ebe3c
added teams and users order exception
2025-04-16 17:16:39 +05:30
Chirag Aggarwal
3ed87a8ab9
chore: update endpoint descriptions to follow CRUD naming
2025-04-14 18:40:48 +00:00
Chirag Aggarwal
b1685a5ca1
chore: update users auth group to sessions
2025-04-12 13:38:00 +00:00
Chirag Aggarwal
04733e25c8
chore: make group nullable and remove it from endpoints where its not required
2025-04-12 06:41:57 +00:00
Chirag Aggarwal
abcaf6cd73
feat: sdk group attribute
2025-03-31 05:48:17 +00:00
Eldad Fux
d6bd72cfd3
formatting
2025-03-19 14:10:56 +01:00
Eldad Fux
8c9123beaa
Fixed tests
2025-03-19 13:54:32 +01:00
Eldad Fux
4d5961c3ab
Fixed test
2025-03-18 16:20:37 +01:00
Eldad Fux
84cec0e32c
format
2025-03-18 10:18:29 +01:00
Eldad Fux
7bae15d4fe
Merge remote-tracking branch 'origin/feat-sites' into feat-apps-module
2025-03-18 10:15:06 +01:00
Eldad Fux
8aa5714173
cleanups
2025-03-17 21:44:31 +01:00
Eldad Fux
9346efc24a
Fixed some tests
2025-03-16 19:35:42 +01:00
Eldad Fux
706ce4b3b6
WIP - cleaning up auth managment
2025-03-16 18:30:48 +01:00
Chirag Aggarwal
d422f693f7
feat: add query by role to memberships
2025-03-13 09:48:39 +00:00
Eldad Fux
91921859a2
Merge remote-tracking branch 'origin/1.6.x' into feat-apps-module
2025-03-10 02:14:35 +01:00
Eldad Fux
a058925252
Code formatting
2025-03-10 00:23:22 +01:00
Eldad Fux
cb05b87dda
Upgraded users to use utopia/auth
2025-03-10 00:08:04 +01:00
Jake Barnby
6e82bfe8e7
Update date
2025-02-26 14:00:16 +13:00
Jake Barnby
3a2babc906
Update date
2025-02-25 21:34:46 +13:00
Jake Barnby
03f0e382f4
Fix dates
2025-02-25 21:03:37 +13:00
Jake Barnby
b272a8b1e7
Pass queries
2025-02-25 20:26:00 +13:00
Jake Barnby
2924f408b3
Reapply "Remove blocks"
...
This reverts commit f49346485a .
2025-02-25 19:21:35 +13:00
Jake Barnby
b0547015a9
Add temp log date skip
2025-02-25 18:51:11 +13:00
Jake Barnby
f49346485a
Revert "Remove blocks"
...
This reverts commit 6f854b5eb6 .
2025-02-25 18:39:12 +13:00
Jake Barnby
6f854b5eb6
Remove blocks
2025-02-25 18:18:25 +13:00
shimon
06d22f910c
disable logs display
2025-02-23 20:51:38 +02:00
Bradley Schofield
02e7f91e59
Address all missing descriptions apart from ones in projects.php
2025-01-17 16:44:25 +09:00
Bradley Schofield
20e87cb82f
Run Linter
2025-01-17 13:39:16 +09:00
Bradley Schofield
95dcb67747
Implement new SDK Class on 1.6.x
2025-01-17 13:31:39 +09:00
Steven Nguyen
f48c843bea
fix(users): ensure user can delete session
...
The session document created by users.createSession() was missing
delete permissions for the user so when the user tried to delete it,
they got a 401 error.
This PR ensure the permissions are added just like if the document was
created from the Account API so that the user has access to delete the
document.
2025-01-11 17:56:36 +00:00
Steven Nguyen
014c613c93
fix: update secret returned from users.createSession()
...
1. Include at least 1 factor because the minumum number of factors
required when mfa is disabled is 1.
2. Purge the cached user document to ensure the new session is included
in subsequent requests for the user.
3. Fix the encoding of the secret to match other parts of the codebase.
2024-11-22 21:52:27 +00:00
Luke B. Silver
ab3b7d3028
Merge branch '1.6.x' into fix-oauth-trigger-create-user-event
2024-10-31 10:39:42 +00:00
Bradley Schofield
40b8af0671
Further cleanup code now findOne returns empty doc
2024-10-31 17:13:23 +09:00
Bradley Schofield
e15ac03c59
Merge branch '1.6.x' into chore-update-databases-findone
...
# Conflicts:
# composer.json
# composer.lock
2024-10-31 16:57:45 +09:00
loks0n
0b35d51547
Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-oauth-trigger-create-user-event
2024-10-29 12:16:47 +00:00