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
loks0n
3020c0beea
fix: missing dep
2024-10-29 11:01:29 +00:00
loks0n
d16251d261
fix: remove old create user events
2024-10-29 10:58:57 +00:00
Jake Barnby
8ab1600417
Update users API
2024-10-22 14:35:04 +13:00
Jake Barnby
a7f1cc128a
Validate cursor queries to avoid getDocument type error
2024-10-17 18:41:24 +13:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines"
2024-10-08 20:54:40 +13:00
Binyamin Yawitz
c34f8afa81
fix: wrong document check
2024-10-07 20:34:27 -04:00
Bradley Schofield
4c5b202f8d
Merge branch '1.6.x' into chore-update-databases-findone
...
# Conflicts:
# composer.json
# composer.lock
2024-10-07 11:42:43 +09:00
Bradley Schofield
91b78a70ae
Remove redundancy
2024-10-07 11:40:01 +09:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head
2024-10-01 10:30:47 -04:00
Steven Nguyen
52e5947822
Merge branch 'main' into docs-fix-endpoints
2024-09-25 14:05:59 -07:00
Bradley Schofield
e88cfed03a
Normalize algorithm being used
2024-09-18 16:30:02 +09:00
Bradley Schofield
be3e3790c9
Update Database lib, update instances where findOne is used to ensure we check document is empty.
2024-09-18 14:47:36 +09:00
Jake Barnby
c58fa78962
Remove tenant in filter
2024-09-05 14:25:11 +12:00
Binyamin Yawitz
feb775d2c4
chore: merge, lint, stan
2024-09-04 14:52:01 -04:00
Richard Choi
4e780c0f75
Change API reference endpoints to sentence casing
2024-09-03 16:22:30 +00:00
Binyamin Yawitz
9ed43ebbc2
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
...
# Conflicts:
# app/controllers/api/functions.php
# app/controllers/general.php
# app/init.php
# composer.lock
# dev/xdebug.ini
# src/Appwrite/Utopia/Response.php
2024-08-06 14:57:05 -04:00
Matej Bačo
2065468708
Make session not required in users JWT generation
2024-07-21 13:00:12 +00:00
Binyamin Yawitz
19119b573d
chore: Merge and lint
2024-07-17 15:06:06 -04:00
Binyamin Yawitz
927dbc7e11
Merge branch 'refs/heads/1.6.x' into feat-eldad4-coroutines
...
# Conflicts:
# app/console
# app/controllers/api/account.php
# app/controllers/api/functions.php
# app/controllers/api/projects.php
# app/controllers/api/users.php
# app/controllers/api/vcs.php
# app/controllers/general.php
# app/controllers/mock.php
# app/controllers/shared/api.php
# app/init.php
# composer.json
# composer.lock
# src/Appwrite/Platform/Tasks/Doctor.php
# src/Appwrite/Platform/Tasks/ScheduleMessages.php
# src/Appwrite/Platform/Workers/Builds.php
# src/Appwrite/Utopia/Response.php
2024-07-17 14:31:13 -04:00
Jake Barnby
b343158d19
Merge remote-tracking branch 'origin/main' into 1.6.x
...
# Conflicts:
# .gitmodules
# app/console
# composer.lock
# tests/e2e/Services/Health/HealthCustomServerTest.php
2024-07-10 19:11:04 +12:00
Binyamin Yawitz
a3682b72e1
Merge remote-tracking branch 'refs/remotes/origin/main' into feat-eldad4-coroutines
...
# Conflicts:
# app/cli.php
# app/console
# app/controllers/api/projects.php
# app/controllers/general.php
# app/init.php
# app/realtime.php
# app/worker.php
# composer.json
# composer.lock
2024-07-03 17:03:24 -04:00
Steven Nguyen
13027fac5b
fix(users): update session secret to be longer
...
The create session endpoint created a 6 character secret which is too
short. This changes the secret to be 256 characters which is in line
with the secret for `account.createEmailPasswordSession()`.
2024-06-24 23:21:45 +00:00
Steven Nguyen
34b2e15243
fix(users): fix expire error when creating user session
...
Before this, the Create session API call would throw:
> Invalid document structure: Missing required attribute "expire"
This is because the `expire` attribute is required, but it was omitted
from the document. This PR ensures the `expire` attribute is set when
creating the session document.
2024-06-24 23:21:44 +00:00
Binyamin Yawitz
6c26e2eb51
Merge branch 'refs/heads/main' into feat-eldad4-coroutines
...
# Conflicts:
# app/cli.php
# composer.json
# composer.lock
2024-06-20 17:23:15 -04:00
Christy Jacob
fdf44c7bab
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main
2024-06-20 15:26:17 +00:00
Bishwajeet Parhi
190560b8ef
chore: append attributes instead of replace
2024-06-11 21:17:25 +05:30
Bishwajeet Parhi
cccda2a46c
fix: Don't set target attribute if no existing Target found
2024-06-05 23:34:01 +05:30
Matej Bačo
3b8799353d
PR review changes
2024-05-29 07:51:51 +00:00
Matej Bačo
2dac8bc7ed
Update app/controllers/api/users.php
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-05-29 09:31:08 +02:00
Matej Bačo
711e26c605
Relay on lib to verify JWT expiry
2024-05-28 10:59:53 +00:00
Matej Bačo
b1ff989c3f
Implement tests, fix JWT maxAge
2024-05-28 09:25:54 +00:00
Matej Bačo
613677e9f7
Implement users.createJWT
2024-05-27 20:04:50 +00:00
Eldad Fux
d67df5feb1
Fixed formatting
2024-04-22 22:45:55 +02:00
Eldad Fux
766b2ba13e
Avatars tests are green!
2024-04-14 22:17:07 +02:00
Eldad Fux
5ce3de4933
Merge remote-tracking branch 'origin/main' into feat-eldad2-coroutines
2024-04-02 02:13:15 +02:00
Eldad Fux
b570368f10
Fixed auth error in users usage
2024-04-01 23:57:20 +02:00
Damodar Lohani
62b2dc0801
use internal ids
2024-03-18 09:22:15 +00:00
Matej Bačo
db1674811f
Finish fixing code QL warnings
2024-03-08 13:57:20 +01:00
Jake Barnby
6a795f4d7a
Fix tests
2024-03-08 12:42:15 +01:00
Matej Bačo
005a239932
Auth fixes
2024-03-07 18:24:01 +01:00
Torsten Dittmann
dfef0e732c
sync: main -> 1.5.x
2024-03-07 17:16:39 +01:00
Matej Bačo
efeb898be1
Import fixes
2024-03-07 15:29:42 +01:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
Torsten Dittmann
4d873eb5a2
fix: stats collection name
2024-03-05 10:36:23 +01:00
Torsten Dittmann
a53e630536
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x-2
2024-03-05 10:31:51 +01:00
Matej Bačo
d4e4337c57
PR review changes
2024-03-04 08:50:50 +00:00
Matej Bačo
c4bd61cdc8
QA changes
2024-03-03 18:11:55 +00:00
Matej Bačo
9bcad451f2
Add recovery codes to users API
2024-03-03 15:17:38 +00:00
Matej Bačo
7a29c79fb1
Fix bugs during QA
2024-03-01 17:04:09 +00:00
Matej Bačo
5cefca1c22
Fix MFA flows and docs
2024-03-01 16:22:51 +00:00
Torsten Dittmann
dd13d17377
feat: const for totp values
2024-03-01 03:07:58 +01:00
Torsten Dittmann
b7d3996960
feat: mfa collection restructure
2024-02-29 21:59:49 +01:00
Jake Barnby
d7a16ae7b0
Merge branch '1.5.x' into fix-password-validation
2024-02-26 17:52:41 +13:00
Jake Barnby
d3cf892001
Named params
2024-02-26 17:50:52 +13:00
Jake Barnby
19d7e533fa
Usage desc updates
2024-02-26 15:44:20 +13:00
Torsten Dittmann
3963b65f68
fix: mfa delete
2024-02-25 11:21:56 +01:00
Matej Bačo
cb7da26d53
Fix empty pass with personal data check
2024-02-25 09:19:30 +00:00
Christy Jacob
7ae09ba795
Revert "Revert "usage/usage-dump queue health endpoints""
2024-02-25 13:42:28 +05:30
Jake Barnby
0d62ecf90f
Merge pull request #7625 from appwrite/provider-null
...
Provider null
2024-02-24 01:17:58 +13:00
Christy Jacob
a8098831a3
Revert "usage/usage-dump queue health endpoints"
2024-02-22 12:21:48 +05:30
Jake Barnby
942847cf3a
Merge remote-tracking branch 'origin/main' into 1.5.x
...
# Conflicts:
# app/config/collections.php
# app/config/errors.php
# app/config/specs/open-api3-latest-client.json
# app/config/specs/open-api3-latest-console.json
# app/config/specs/open-api3-latest-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# app/controllers/api/account.php
# app/controllers/api/teams.php
# app/controllers/api/users.php
# app/controllers/shared/api.php
# app/init.php
# app/worker.php
# composer.json
# composer.lock
# docker-compose.yml
# src/Appwrite/Extend/Exception.php
# src/Appwrite/Platform/Services/Tasks.php
# src/Appwrite/Platform/Tasks/Maintenance.php
# src/Appwrite/Platform/Workers/Certificates.php
# src/Appwrite/Platform/Workers/Deletes.php
# src/Appwrite/Platform/Workers/Messaging.php
# src/Appwrite/Platform/Workers/Usage.php
# src/Appwrite/Platform/Workers/UsageHook.php
# src/Appwrite/Specification/Format/OpenAPI3.php
# src/Appwrite/Specification/Format/Swagger2.php
# tests/e2e/Services/Account/AccountConsoleClientTest.php
2024-02-22 01:29:28 +13:00
fogelito
b762a9cedd
Check user false
2024-02-21 11:48:16 +02:00
fogelito
a851a5f244
providerInternalId nulls
2024-02-21 11:43:04 +02:00
Jake Barnby
14a243cc37
Merge pull request #7457 from appwrite/1.5.x-response-request-models
...
Update Response and Request filters aswell as Migrations for 1.5.x
2024-02-16 20:58:08 +13:00
Jake Barnby
3c727861bb
Fix target permissions
2024-02-16 17:07:16 +13:00
Torsten Dittmann
14ecbd6658
fix: 2fa endpoint params
2024-02-15 11:26:34 +00:00
shimon
dac0e2a543
Merge branch 'main' of github.com:appwrite/appwrite into refactor-cache-poc
...
Conflicts:
src/Appwrite/Platform/Workers/UsageHook.php
2024-02-13 10:48:47 +02:00
Jake Barnby
66e51c0f18
Merge remote-tracking branch 'origin/1.5.x' into 1.5.x-response-request-models
...
# Conflicts:
# src/Appwrite/Platform/Workers/Usage.php
# src/Appwrite/Platform/Workers/UsageHook.php
2024-02-13 15:07:16 +13:00
Jake Barnby
06b15c79ff
Merge pull request #7572 from appwrite/attributes-query-fix
...
fix Indexes
2024-02-13 12:37:59 +13:00
Christy Jacob
c076dfe6f1
Merge pull request #7576 from appwrite/refactor-usage-sn
...
Refactor usage sn
2024-02-12 23:05:56 +05:30
fogelito
ace75b0786
parseQueries
2024-02-12 18:02:04 +02:00
fogelito
e5bada0493
typo
2024-02-12 12:03:31 +02:00
fogelito
adbe11fd50
fix Indexes
2024-02-12 11:55:45 +02:00
shimon
e7ace61273
Sync against main
2024-02-12 11:10:52 +02:00
Souptik Datta
8d7be399d3
fix: Fix project user activity log's missing fields and total count
...
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com>
2024-02-09 00:15:48 +05:30
shimon
790cdc297b
composer update
2024-02-08 10:26:45 +02:00
Jake Barnby
7014b2c2cd
Fix user API mfa route auth
2024-02-07 18:08:51 +13:00
Bradley Schofield
559fa924c0
Merge branch '1.5.x' into 1.5.x-response-request-models
2024-02-06 17:10:43 +00:00
Matej Bačo
25f8702429
Fix formatting
2024-02-05 10:40:53 +00:00
Matej Bačo
7beb9080fa
Merge remote-tracking branch 'origin/1.5.x' into fix-empty-user-updates
2024-02-05 10:38:48 +00:00
shimon
6a6c3445fa
updates
2024-02-04 20:02:01 +02:00
shimon
a63977455f
Merge branch '1.5.x' of github.com:appwrite/appwrite into 1.5.x-response-request-models
...
Conflicts:
.gitmodules
2024-02-04 09:27:08 +02:00
Torsten Dittmann
75fc59931a
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa
2024-02-02 13:30:11 +01:00
Jake Barnby
d1bad7c3cd
Remove redundant usage labels
2024-02-02 17:16:31 +13:00
shimon
a254bb7edb
Merge branch '1.5.x' of github.com:appwrite/appwrite into 1.5.x-response-request-models
2024-02-01 17:13:38 +02:00
Torsten Dittmann
ceb868c9d7
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa
2024-02-01 11:57:32 +01:00
shimon
350d72eb1f
updates
2024-02-01 12:21:50 +02:00
loks0n
d84cfab244
feat: remove users.createSession
2024-02-01 10:21:38 +00:00
shimon
5518ca165e
remarks
2024-01-30 13:24:57 +02:00
Jake Barnby
ee4b50ce51
Merge pull request #7504 from appwrite/labels-limit
...
Labels limit
2024-01-30 19:43:32 +13:00
shimon
44ed6826a9
refactor usage poc
2024-01-28 15:33:04 +02:00
fogelito
974783f54a
Increase labels max value
2024-01-28 12:51:05 +02:00
shimon
7a2ee683e3
refactor usage poc
2024-01-28 11:28:59 +02:00
fogelito
789e19d26a
Merge branch '1.5.x' of github.com:appwrite/appwrite into json-parsing
2024-01-25 19:06:18 +02:00
fogelito
998c4d282d
Fix failing tests
2024-01-25 18:53:51 +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
Jake Barnby
52a9b31521
Trigger deletes worker when target is deleted
2024-01-25 20:01:15 +13:00
Torsten Dittmann
9070dce6ac
Merge branch 'main' of https://github.com/appwrite/appwrite into 1.5.x
2024-01-24 16:32:12 +01:00
Torsten Dittmann
88cf7ea9e8
fix: race condition with creating a user with targets
2024-01-24 15:31:58 +01: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
Matej Bačo
eb597b2bd2
Try to fix targets bug
2024-01-20 13:07:53 +00:00
Matej Bačo
42eb051368
QA bug fixes
2024-01-20 10:06:30 +00:00
Matej Bačo
311e9a75dd
Allow empty values in PATH user service
2024-01-20 09:43:31 +00:00
Torsten Dittmann
057496dbaa
feat: mfa users endpoints
2024-01-18 14:56:58 +01:00
shimon
a0b38a5a7c
Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn
2024-01-18 14:19:19 +02:00
loks0n
bc1858c516
chore: do not auto create accounts in users endpoints
2024-01-17 11:03:04 +00:00
loks0n
a8adfe8f8a
fix: users create session event
2024-01-16 11:13:42 +00:00
loks0n
77b1762514
chore: fix token event
2024-01-16 10:40:49 +00:00
loks0n
07da41bd69
docs: better descriptions for create token params
2024-01-12 17:35:16 +00:00
loks0n
c8ce360ce9
chore: remove 'universal' references
2024-01-12 17:30:36 +00:00
loks0n
02b83bf26e
chore: changes to expire param create token
2024-01-12 17:28:56 +00:00
loks0n
ca511bd459
chore: use customId validators
2024-01-12 17:26:01 +00:00
loks0n
90c5d6413c
feat: create new user if none create session
2024-01-12 17:14:11 +00:00
loks0n
ee96b220c3
docs: create session
2024-01-12 17:10:23 +00:00
loks0n
9068941772
feat: create user with create token if not exists
2024-01-11 14:55:37 +00:00
loks0n
332bd532e1
fix: specs
2024-01-09 19:04:47 +00:00
loks0n
9a34c92fac
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-09 16:42:00 +00:00
Jake Barnby
af019369e9
Merge branch 'main' into 1.5.x
2024-01-09 22:03:35 +13:00
Torsten Dittmann
9ba2eafa83
fix: escape html in email params ( #7409 )
...
* fix: escape html in email params
* revert: phpunit stop on failure
* chore: fix linter
2024-01-08 18:08:17 +01:00
loks0n
5c803f6eff
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-08 11:41:55 +00:00
Matej Bačo
fae28b468c
Fix password hashing bug
2024-01-07 13:40:45 +01:00
Matej Bačo
e5f0e00742
Apply password validation to all places
2024-01-05 12:31:38 +01:00
Matej Bačo
0a2be34ceb
Fix PHP refference bug
2024-01-05 12:07:41 +01:00
Matej Bačo
ba32170f72
Improve password validator hook
2024-01-04 16:26:15 +01:00
Steven Nguyen
f1ba7b08ab
Update the delete identity endpoints to set the params and payload
...
Because no payload was set, the event params (userId and identityId)
wasn't picked up automatically. This updates the endpoints so that the
payload is set, but also makes sure to set the userId and identityId
params since the identityId param's key doesn't match the key in the
payload.
2023-12-27 23:35:32 +00:00
Damodar Lohani
5e59d73f78
rename stats collection
2023-12-18 10:11:10 +00:00
fogelito
cc5ae73f57
purgeCached changes
2023-12-14 15:32:06 +02:00
loks0n
fe695314a9
fix: tests
2023-12-11 19:41:58 +00:00
loks0n
cb788b13bf
chore: remove unused imports
2023-12-11 18:36:17 +00:00
loks0n
1e8a931751
chore: format
2023-12-11 17:13:19 +00:00
loks0n
f0d7312bd3
feat: create session method
2023-12-11 16:24:24 +00:00
fogelito
2fe50717d1
TYPE_CURSOR_AFTER TYPE_CURSOR_BEFORE
2023-12-06 15:10:40 +01:00
prateek banga
6ead6f8094
misc changes
...
allow filtering by providerType, userId in subscribers. Adds cancelled status for message status. Validate targets when creating message. delete all targets when user is deleted. fix twilio bug. add db env vars in messaging worker compose.phtml
2023-12-01 03:39:43 +05:30
loks0n
8ea9706174
feat: Matej renaming plan
2023-11-30 11:35:52 +00:00