ChiragAgg5k
ff056fa145
chore: shifted authphone usage tracking to api calls
2025-01-08 17:01:01 +05:30
Bradley Schofield
6a782ce373
Implement SDKResponse class
2024-12-30 11:32:40 +00:00
Bradley Schofield
67a72edebf
Run Linter
2024-12-16 15:03:57 +09:00
Bradley Schofield
b4c77fbd5f
Get Initial Draft Working
2024-12-16 14:59:01 +09:00
Damodar Lohani
8a59a22c2e
update suggested changes
2024-12-04 05:25:16 +00:00
Damodar Lohani
010ace3b57
update redirect validator
2024-11-22 06:56:36 +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
d16251d261
fix: remove old create user events
2024-10-29 10:58:57 +00:00
loks0n
5afa8c6158
feat: usage db listener
2024-10-29 10:51:40 +00:00
Luke B. Silver
61627337fa
Merge branch 'main' into fix-oauth-trigger-create-user-event
2024-10-28 18:40:21 +00:00
Jake Barnby
1ed3dee135
Fix tests
2024-10-22 14:54:34 +13:00
Jake Barnby
99710e7b74
Force expired false if updating target identifier
2024-10-22 14:08:16 +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
Binyamin Yawitz
3e9a24232c
fix: introducing local variable
2024-10-07 15:26:01 -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
loks0n
3ba7d7c7de
fix: add payload
2024-09-25 10:48:39 +01:00
loks0n
ab5ef97767
fix: oauth trigger create user event
2024-09-25 10:39:11 +01: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
Binyamin Yawitz
3ca7672726
chore: merge
2024-09-09 17:59:38 +02:00
Steven Nguyen
9febb06052
fix: update abuse-key for mfa challenge endpoints
...
Because the key was not specific enough, when one user triggered the
rate limit, all users were affected.
2024-09-09 14:10:58 +00:00
Binyamin Yawitz
9e525366cb
Merge branch '1.6.x' into feat-eldad4-coroutines
...
# Conflicts:
# app/controllers/api/functions.php
# app/init.php
# composer.lock
# src/Appwrite/Specification/Format/Swagger2.php
2024-09-05 18:09:16 -04:00
Matej Bačo
9891f61610
Improve mail datetime format
2024-09-05 16:33:16 +02: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
Binyamin Yawitz
7d6eac4ddb
Merge branch '1.6.x' into feat-eldad4-coroutines
...
# Conflicts:
# app/cli.php
# app/controllers/api/account.php
# app/controllers/api/functions.php
# app/controllers/api/projects.php
# app/controllers/general.php
# app/controllers/shared/api.php
# app/http.php
# app/init.php
# app/realtime.php
# app/worker.php
# composer.json
# composer.lock
# src/Appwrite/Migration/Migration.php
# src/Appwrite/Platform/Tasks/Migrate.php
# src/Appwrite/Platform/Tasks/ScheduleExecutions.php
# src/Appwrite/Platform/Workers/Builds.php
# src/Appwrite/Platform/Workers/Deletes.php
# src/Appwrite/Specification/Format/Swagger2.php
# src/Appwrite/Utopia/Response.php
2024-09-03 19:06:48 -04:00
Richard Choi
4e780c0f75
Change API reference endpoints to sentence casing
2024-09-03 16:22:30 +00:00
Christy Jacob
044fac3d2a
chore: fix session alerts
2024-08-17 11:01:10 +00:00
Christy Jacob
bfa253297b
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6-main
2024-08-13 15:36:13 +00:00
Binyamin Yawitz
22deb883c1
refactor: console links
2024-08-12 15:59:42 -04: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
Binyamin Yawitz
834fad78e1
refactor: Variables names
2024-08-05 16:20:52 -04:00
Binyamin Yawitz
4eee8689d3
fixes: Clean URL variables
2024-07-22 09:37:28 -04:00
loks0n
2060b23379
feat: improve date
2024-07-19 22:19:52 +01:00
Binyamin Yawitz
d1af8cfbe0
feat: Extracting authentication cookie
2024-07-17 15:21:47 -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
loks0n
d765c76576
fix: typo
2024-07-16 14:42:46 +01:00
loks0n
20e77a1e9e
feat: optimise
2024-07-16 13:03:26 +01:00
loks0n
67ec4b49ed
feat: only send after first session
2024-07-16 13:01:23 +01:00
Bradley Schofield
996911e385
Update delete authenticator to remove OTP Validation
2024-07-08 10:42:27 +09: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
Richard
1539fc2b7c
Merge branch 'main' into update-acct-api-reference
2024-07-03 09:04:45 -04:00
Matej Bačo
b5fc9d5789
PR review changes
2024-07-03 09:35:56 +00:00
Matej Bačo
2262d516f1
Merge remote-tracking branch 'origin/1.6.x' into mock-numbers
2024-07-03 09:30:11 +00:00
Binyamin Yawitz
6f62f915d9
feat: Adding Authentication injection for user id and secret
2024-06-28 14:33:13 -04:00
loks0n
d0125398f1
fix: test
2024-06-26 15:46:12 +01:00
Luke B. Silver
ecf761beab
Merge branch '1.6.x' into feat-new-session-alert
2024-06-26 12:44:49 +01:00
loks0n
6353de6f10
chore: fix template
2024-06-26 09:42:01 +01:00
Christy Jacob
7cec278d27
Merge branch '1.6.x' of https://github.com/appwrite/appwrite into mock-numbers
2024-06-25 15:17:22 +00:00
loks0n
0d987045bf
chore: revert fmt
2024-06-25 08:46:51 +01:00
Binyamin Yawitz
78d321b33b
chore: rearrange account.php methods
2024-06-24 15:52:22 -04:00
loks0n
0ea2438069
fix: implementation
2024-06-24 14:12:09 +01:00
loks0n
fbeca34df8
fix: func
2024-06-24 10:34:06 +01:00
loks0n
f3f233eb14
feat: new session alert
2024-06-21 19:21:05 +01:00
choir27
6a406454ba
docs: update api reference
2024-06-21 10:41:46 -04:00
Christy Jacob
a2f27ec15f
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-main
2024-06-21 13:11:35 +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
991a22f642
Merge pull request #8290 from appwrite/1.5.x
...
Sync 1.5.x into refactor-usage-sn
2024-06-21 00:38:21 +05:30
Christy Jacob
fdf44c7bab
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-with-main
2024-06-20 15:26:17 +00:00
Christy Jacob
c5fa7eb7dc
Merge branch '1.6.x' of github.com:appwrite/appwrite into mock-numbers
2024-06-20 20:53:06 +05:30
Christy Jacob
814b59a13a
Merge branch 'main' of github.com:appwrite/appwrite into mock-numbers
2024-06-20 20:42:29 +05:30
Christy Jacob
1b1cfc38c8
fix: undefined variable
2024-06-20 20:31:20 +05:30
Christy Jacob
392aaca681
chore: fix tests
2024-06-20 20:19:56 +05:30
Christy Jacob
868e57a9a3
Merge pull request #8281 from appwrite/main
...
Sync main into 1.5.x
2024-06-19 12:18:12 +05:30
Christy Jacob
9e1541d96a
Merge branch 'main' of https://github.com/appwrite/appwrite into mock-numbers
2024-06-16 07:28:22 +00:00
Christy Jacob
a912bbe374
chore: update variable name
2024-06-16 07:19:10 +00:00
Bishwajeet Parhi
190560b8ef
chore: append attributes instead of replace
2024-06-11 21:17:25 +05:30
Jake Barnby
a4c1275764
Add abuse limit for update password
2024-06-10 18:09:30 +12:00
Steven Nguyen
a09a09a7a9
fix(auth): fix MFA verification for OAuth2 sessions
...
Before this, users who only signed in with OAuth2 were not able to
verify their sessions with MFA because their session already used an
email factor and they couldn't use an additional email factor.
This commit changes the OAuth2 session to include 2 factors: email and
oauth2. This second special factor is used to bypass MFA checks. It is
fine to bypass MFA checks because OAuth2 is supposed to handle the
entire authentication process, verifying who the user is and we, as the
resource provider, only need to trust the OAuth2 provider.
2024-06-07 16:45:14 -07:00
Binyamin Yawitz
b5a241db8d
merge: Main into Coroutines
2024-06-05 18:38:39 -04:00
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
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
Jake Barnby
9bb9f1eee7
Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-setting-secrets
...
# Conflicts:
# tests/e2e/Services/Projects/ProjectsConsoleClientTest.php
2024-05-23 15:37:13 +12:00
Christy Jacob
aa76862692
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-1.5.x
2024-05-22 19:43:31 +00:00
Jake Barnby
680cd5194d
Fix returning hashed secrets
2024-05-22 14:11:06 +12:00
Jake Barnby
c7106b9147
Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-setting-secrets
2024-05-22 12:50:58 +12:00
Steven Nguyen
03fd62cc04
Merge branch 'main' into 1.5.x
2024-05-15 11:36:15 -07:00
Steven Nguyen
c76e29077c
feat(auth): try to get user name from request param if not from oauth2
...
This is only applicable for Apple OAuth2 because this is the only
provider that does not return user name from an API call and only
returns the name in the callback URL.
Reference:
* https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/incorporating_sign_in_with_apple_into_other_platforms#3332115
2024-05-08 16:35:17 -07:00
Steven Nguyen
df064adce3
feat(auth): forward OAuth2 callback params
...
The only place Apple includes the user's name is in the params so we
need to forward the params to the redirect endpoint so they can be used
when creating the user.
2024-05-08 17:36:46 +00:00
Eldad Fux
c53de9fb6b
Merge branch 'main' of github.com:appwrite/appwrite into feat-eldad4-coroutines
2024-05-08 18:21:55 +01:00
Jake Barnby
f01922daf9
Fix syntax error
2024-05-08 21:06:30 +12:00
Matej Bačo
08bf5aace4
Mark email verified after email OTP
2024-05-07 09:01:57 +00:00
Steven Nguyen
5b5505cf97
fix(auth): ensure session factors don't contain duplicates
2024-05-06 17:48:44 -07:00
Steven Nguyen
7e07f6b958
feat(auth): ensure user isn't kicked out after enabling MFA
...
User's were kicked out and forced to verify their session after enabling
MFA if they already had factors enabled. This change ensures that they
are not kicked out of their current session after MFA is enabled by
adding all relevant factors to the session.
2024-05-06 17:48:08 -07:00
Steven Nguyen
98d18ecc47
refactor(auth): remove auth duration from Auth::sessionVerify() calls
...
The paramter was removed from the method so we don't need to pass it
in anymore.
2024-05-06 17:16:56 -07:00
Matej Bačo
9616de7576
Merge branch 'main' into refactor-usage-sn-1.5.x
2024-04-26 13:11:21 +02:00
Christy Jacob
92c41954af
Merge branch 'main' of https://github.com/appwrite/appwrite into refactor-usage-sn-1.5.x
2024-04-26 09:19:09 +00:00
Damodar Lohani
fbdaf7616c
Fix response code label
2024-04-25 07:19:02 +05:45
Steven Nguyen
b75f5263a2
Merge branch 'main' into chore-sync-main-into-1.5.x
2024-04-23 23:43:53 +00:00
Steven Nguyen
f88887abad
fix(mfa): fix delete authenticator response model
2024-04-22 22:24:20 +00:00
Eldad A. Fux
6c8b228b6c
Merge branch 'main' into feat-eldad4-coroutines
2024-04-22 22:37:10 +02:00
Eldad Fux
ab6744df3a
Fixed webhooks tests
2024-04-22 14:12:09 +02:00
Vincent (Wen Yu) Ge
c57fa3546f
Ran formatter
2024-04-18 17:22:41 -04:00
Vincent (Wen Yu) Ge
404de48cc3
Update user create error message for console to be console specific
2024-04-18 17:08:47 -04:00
Steven Nguyen
2f7aff3a44
fix(auth): fix challenge type check
...
The factor parameter is case insensitive so we need to make sure
comparing the parameter to the constant is case insensitive too.
2024-04-16 23:44:46 -07:00
Eldad A. Fux
05dd17bd55
Merge pull request #7949 from appwrite/fix-factors-recovery-code
...
Add recovery code to List factors
2024-04-15 10:48:16 +02:00
Eldad Fux
766b2ba13e
Avatars tests are green!
2024-04-14 22:17:07 +02:00
Matej Bačo
65115f876c
Improve logic for recovery code factor
2024-04-11 07:52:54 +00:00
Matej Bačo
860d292df9
Fix recovery code removal
2024-04-10 14:01:25 +00:00
Matej Bačo
b5b8aa5302
Add recovery code as factor
2024-04-10 13:57:36 +00:00
Jake Barnby
fb408636a4
Set token secrets as sensitive event params
2024-04-03 16:36:53 +13:00
Matej Bačo
d091b37a15
Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x
2024-04-02 18:42:17 +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
6ce8781af1
Fixed email escaping
2024-04-01 19:39:26 +02:00
Eldad Fux
beda5293b4
Fix format
2024-04-01 13:08:46 +02:00
Eldad Fux
8ed1da4ea8
Updated getEnv to use system lib
2024-04-01 13:02:47 +02:00
Jake Barnby
d5d45c5076
Fix not hiding tokens for clients via realtime
2024-03-26 18:59:56 +13:00
Damodar Lohani
62b2dc0801
use internal ids
2024-03-18 09:22:15 +00:00
Damodar Lohani
c849ff0b0f
use internal ids for query
2024-03-18 08:52:47 +00:00
Matej Bačo
db1674811f
Finish fixing code QL warnings
2024-03-08 13:57:20 +01:00
loks0n
07eca5bca4
Merge branches 'fix-account-endpoint-order' and '1.5.x' of https://github.com/appwrite/appwrite into fix-account-endpoint-order
2024-03-08 00:27:28 +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
Matej Bačo
ee065bc64c
Merge branch '1.5.x' into feat-database-proxy
2024-03-07 10:18:49 +01:00
loks0n
4263235463
fix: reorder account endpoints
2024-03-06 19:07:58 +01:00
Torsten Dittmann
0a1d572c72
chore: run formatter
2024-03-06 18:34:21 +01:00
Matej Bačo
a9731cd5bc
Fix account tests
2024-03-06 12:38:51 +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
Torsten Dittmann
8adf6a2b7a
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-main-1.5.x
2024-03-04 10:29:06 +01:00
Torsten Dittmann
ad39c15d99
Merge pull request #7696 from appwrite/feat-mfa-collection
...
feat: mfa collection restructure
2024-03-04 10:18:49 +01:00
Matej Bačo
d4e4337c57
PR review changes
2024-03-04 08:50:50 +00:00
Matej Bačo
ccb5636bed
fix session security
2024-03-04 07:27:26 +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
9137dc82f8
Re-implement mfa protection as hook
2024-03-03 14:18:09 +00:00
Matej Bačo
e6ad1c6830
Add more recovery code endpoints
2024-03-02 13:05:22 +00:00
Matej Bačo
a77f517882
PR review fixes
2024-03-02 09:49:56 +00:00
Matej Bačo
7a29c79fb1
Fix bugs during QA
2024-03-01 17:04:09 +00:00
Christy Jacob
e90f536bd7
Merge branch 'main' of https://github.com/appwrite/appwrite into revert-7629-revert-7614-chore-usage-queue-health
2024-03-01 16:47:24 +00:00
Matej Bačo
5cefca1c22
Fix MFA flows and docs
2024-03-01 16:22:51 +00:00
Christy Jacob
2ffcb9b07e
Merge branch 'main' of https://github.com/appwrite/appwrite into refactor-usage-sn
2024-03-01 16:08:03 +00:00
Torsten Dittmann
7fa578c901
Merge branch 'main' of https://github.com/appwrite/appwrite into sync-main-1.5.x
2024-03-01 14:20:32 +01:00
Torsten Dittmann
fa8d132402
fix: code review
2024-03-01 13:36:38 +01:00
Torsten Dittmann
e12a3edd9e
fix: mfa type class
2024-03-01 13:30:33 +01:00
Torsten Dittmann
6f24645c77
Apply suggestions from code review
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-03-01 12:19:55 +01:00
Khushboo Verma
8ee64d43ce
Update endpoint description
2024-03-01 16:35:52 +05:30
Christy Jacob
c8a3b709ee
chore: update error types for create account endpoints
2024-03-01 07:37:31 +00:00
Torsten Dittmann
dd13d17377
feat: const for totp values
2024-03-01 03:07:58 +01:00
Torsten Dittmann
3fe3cd0dec
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa-collection
2024-02-29 22:55:30 +01:00
Torsten Dittmann
13975b8b92
fix: totp backup code logic
2024-02-29 22:55:02 +01:00
Torsten Dittmann
50c2ac9cd6
Merge branch '1.5.x' into feat-rc-sdks
2024-02-29 22:14:02 +01:00
Torsten Dittmann
0815dde045
fix: cached documents
2024-02-29 22:05:19 +01:00
Torsten Dittmann
b7d3996960
feat: mfa collection restructure
2024-02-29 21:59:49 +01:00
loks0n
fff3d14cac
fix: encode secret in oauth workaround
2024-02-28 23:50:40 +00:00
Jake Barnby
6fb1e929cd
Use group hook to block recreating sessions
2024-02-27 22:08:39 +13:00
Jake Barnby
2a85c7cd96
Merge remote-tracking branch 'origin/1.5.x' into refactor-disallow-new-session-with-existing
2024-02-27 21:56:05 +13:00
Christy Jacob
03d6eb7401
Merge pull request #7669 from appwrite/main
...
Sync main
2024-02-26 17:39:33 +05:30
Jake Barnby
cd554aa17f
Merge remote-tracking branch 'origin/1.5.x' into feat-rc-sdks
...
# Conflicts:
# app/config/specs/open-api3-1.5.x-client.json
# app/config/specs/open-api3-1.5.x-console.json
# app/config/specs/open-api3-1.5.x-server.json
# 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-1.5.x-client.json
# app/config/specs/swagger2-1.5.x-console.json
# app/config/specs/swagger2-1.5.x-server.json
# app/config/specs/swagger2-latest-client.json
# app/config/specs/swagger2-latest-console.json
# app/config/specs/swagger2-latest-server.json
# composer.lock
2024-02-26 18:43:52 +13:00
Jake Barnby
44ec1502f0
Merge remote-tracking branch 'origin/main' into 1.5.x
2024-02-26 18:35:25 +13:00
Vincent (Wen Yu) Ge
b32d40f3e2
Improve messages
2024-02-26 02:25:45 +00:00
navjotNSK
cab2233816
Formatting
2024-02-25 20:24:36 +01:00
navjotNSK
3a8c5a2e65
Default value added for name
2024-02-25 20:24:36 +01:00
Jake Barnby
b1200f4cbd
Merge branch '1.5.x' into refactor-disallow-new-session-with-existing
2024-02-26 01:29:14 +13:00
Jake Barnby
91c52b28eb
Move targets to new session if upgrading to oauth session
2024-02-26 01:13:39 +13:00
Jake Barnby
86a2821a23
Merge pull request #7649 from appwrite/chore-remove-array-sdk-method
...
chore: remove array sdk method
2024-02-26 01:02:01 +13:00
Torsten Dittmann
194c61a47f
fix: mfa backup codes
2024-02-25 11:47:22 +01:00
Christy Jacob
7ae09ba795
Revert "Revert "usage/usage-dump queue health endpoints""
2024-02-25 13:42:28 +05:30
Jake Barnby
404e4258f6
Merge remote-tracking branch 'origin/1.5.x' into refactor-disallow-new-session-with-existing
2024-02-25 20:56:34 +13:00
loks0n
008f086f40
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into chore-remove-array-sdk-method
2024-02-24 14:44:50 +00:00
loks0n
b650884351
chore: fix hide in specs
2024-02-24 14:38:09 +00:00
Jake Barnby
a178dbfc4b
Allow existing session when upgrading from anonymous to oauth
2024-02-25 03:04:35 +13:00
Jake Barnby
4190a09333
Merge remote-tracking branch 'origin/1.5.x' into refactor-disallow-new-session-with-existing
2024-02-25 03:00:47 +13:00
Jake Barnby
7a24f5fb3d
Fix missing userId on update challenge
2024-02-25 02:21:33 +13:00
loks0n
5ff2121ef7
fix: sdk.hideServer & sdk.hideClient
2024-02-24 13:17:58 +00:00
loks0n
5ba50c842b
chore: remove array sdk method
2024-02-24 12:53:47 +00:00
Jake Barnby
46575b6df7
Merge remote-tracking branch 'origin/1.5.x' into feat-rc-sdks
...
# Conflicts:
# app/controllers/api/account.php
# composer.lock
2024-02-25 00:16:40 +13:00
Torsten Dittmann
076ffe8866
fix: missing team variable and added mfa templates to config
2024-02-23 14:59:12 +01:00
Torsten Dittmann
af6091e04a
fix: template name typo for mfa challenge
2024-02-23 14:59:12 +01:00
Torsten Dittmann
f577811c04
fix: formatting on emails
2024-02-23 14:59:12 +01:00
Torsten Dittmann
9ae2948d0e
fix: mfa email template
2024-02-23 14:59:12 +01:00
Jake Barnby
7ab80b9288
Fix account method
2024-02-24 02:00:31 +13:00
Jake Barnby
7c42a59c85
Merge remote-tracking branch 'origin/1.5.x' into feat-rc-sdks
...
# Conflicts:
# 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
# composer.lock
2024-02-23 18:01:59 +13:00
Luke B. Silver
f285173f4e
Merge branch '1.5.x' into feat-ssr-dx
2024-02-22 13:22:41 +00:00
Christy Jacob
a8098831a3
Revert "usage/usage-dump queue health endpoints"
2024-02-22 12:21:48 +05:30
Torsten Dittmann
e7259f0a3d
Merge branch '1.5.x' into feat-rc-sdks
2024-02-21 18:22:17 +01:00
Torsten Dittmann
18e4385ca5
fix: change emailPassword factor from email to password
2024-02-21 18:18:56 +01:00
Torsten Dittmann
6cd456a35e
fix: mfa sdk method
2024-02-21 17:54:39 +01:00
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
Jake Barnby
1c1a2eab2c
Format
2024-02-21 03:16:01 +13:00
Jake Barnby
64eaf91ee7
Merge remote-tracking branch 'origin/1.5.x' into refactor-disallow-new-session-with-existing
2024-02-21 03:15:23 +13:00
Jake Barnby
bbce53cda5
Auto trigger messaging events
2024-02-21 01:06:35 +13:00
loks0n
fa28496b32
feat: ssr dx changes
2024-02-20 11:45:11 +00: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
Christy Jacob
48e87cdc7c
Merge branch 'main' of github.com:appwrite/appwrite into mock-numbers
2024-02-14 21:24:53 +05:30
Christy Jacob
28a16173ab
feat: add tests
2024-02-14 12:10:19 +05:30
Jake Barnby
37522ea66f
Merge branch '1.5.x' into fix-catch-exception
2024-02-13 12:47:36 +13:00
Jake Barnby
06b15c79ff
Merge pull request #7572 from appwrite/attributes-query-fix
...
fix Indexes
2024-02-13 12:37:59 +13:00
fogelito
ace75b0786
parseQueries
2024-02-12 18:02:04 +02:00
Jake Barnby
f5aebe6673
Merge pull request #7559 from Souptik2001/fix-7109-user-activity-log
...
Fix missing user activity logs
2024-02-12 23:04:20 +13:00
fogelito
e5bada0493
typo
2024-02-12 12:03:31 +02:00
fogelito
2ef59134a0
Merge branch '1.5.x' of github.com:appwrite/appwrite into attributes-query-fix
2024-02-12 12:00:26 +02:00
Jake Barnby
e26230cc34
Disallow creating a session if one already exists
2024-02-12 22:59:49 +13:00
fogelito
adbe11fd50
fix Indexes
2024-02-12 11:55:45 +02:00
Jake Barnby
8ed2b1f3a5
Fix tests
2024-02-12 18:35:05 +13:00
Jake Barnby
18f7168160
Merge main
2024-02-12 14:18:19 +13:00
Christy Jacob
be92aa92e5
chore: rename files
2024-02-11 20:28:05 +05:30
Christy Jacob
89dcc34453
feat: initial commit
2024-02-11 20:21:19 +05:30
Christy Jacob
e2baefe8c6
Merge pull request #7500 from appwrite/fix-account-delete
...
PEA-233-prevent console user deletion before deleting their team
2024-02-11 14:52:24 +05:30
Damodar Lohani
681688e252
fix rename
2024-02-11 14:52:54 +05:45
Damodar Lohani
c8720805c7
Update app/controllers/api/account.php
...
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-02-11 14:41:19 +05:45
Souptik Datta
e6a97bb36a
Merge branch 'master' into fix-7109-user-activity-log
2024-02-09 00:40:36 +05:30
Souptik Datta
f42a78ef9c
fix: Fix account activity logs total count
...
Signed-off-by: Souptik Datta <souptikdatta2001@gmail.com>
2024-02-09 00:14:37 +05:30
Christy Jacob
ba4f708137
Apply suggestions from code review
...
Co-authored-by: Torsten Dittmann <torsten.dittmann@googlemail.com>
2024-02-08 23:26:43 +05:30
Steven Nguyen
4ace8ed027
Replace catching \Exception with \Throwable
...
\Exception doesn't work as a catch-all because not everything extends
\Exception. For example, there was a problem where the messaging worker
didn't catch an exception here:
} catch (\Exception $e) {
$deliveryErrors[] = 'Failed sending to targets ' . $batchIndex + 1 . '-' . \count($batch) . ' with error: ' . $e->getMessage();
} finally {
As such, $deliveryErrors stayed as an empty array. In this case, the
$adapter->send() threw a TypeError which extends Error which implements
Throwable. Updating the catch to catch \Throwable ensures the error is
caught and $deliveryErrors gets updated.
2024-02-08 01:17:54 +00:00
Jake Barnby
0a72b37b3e
Fix session response model
2024-02-06 02:17:04 +13:00
Khushboo Verma
e8523e38f7
Merge branch '1.5.x' into feat-block-countries
2024-02-05 13:26:52 +05:30
Jake Barnby
bb9947bfd3
Remove invalid injection
2024-02-04 04:15:16 +13:00
Jake Barnby
3816870e19
Fix duplicate routes
2024-02-03 03:26:04 +13:00
Jake Barnby
874e483fb5
Trigger delete of targets associated with sessions when sessions are deleted
2024-02-03 03:06:36 +13:00
Khushboo Verma
7b4f334f31
Update error message
2024-02-02 19:30:54 +05:30
Torsten Dittmann
b462eee183
chore: run formatter
2024-02-02 13:50:41 +01:00
Torsten Dittmann
a77526cab1
fix: backup codes
2024-02-02 13:50:18 +01:00
Torsten Dittmann
db321db0fb
fix: code review
2024-02-02 13:42:15 +01: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
Khushboo Verma
d96d84201e
Add auth group to create email token endpoint
2024-02-02 14:03:20 +05:30
Jake Barnby
d1bad7c3cd
Remove redundant usage labels
2024-02-02 17:16:31 +13:00
Eldad A. Fux
321a998947
Merge pull request #7533 from appwrite/feat-rename-security-phrases
...
Feat: Rename security phrases
2024-02-01 15:45:15 +01:00
Matej Bačo
ef3f7878dc
PR review changes
2024-02-01 14:13:30 +00: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
loks0n
5e26f01ecd
chore: fix account get ssr
2024-02-01 10:41:41 +00:00
Matej Bačo
a47a4240ed
Rename security phrases
2024-02-01 10:41:01 +00:00
Christy Jacob
8d7705a2e3
chore: update rate limits
2024-01-30 15:28:48 +00:00
Torsten Dittmann
3f688a2aa7
fix: remove some leftovers
2024-01-30 16:09:58 +01:00
Matej Bačo
738a696ca9
Add proejct ID abuse protection
2024-01-29 20:38:01 +00:00
Matej Bačo
7acdaa5978
PR review changes
2024-01-29 20:24:21 +00:00
Matej Bačo
bc88197e0d
Add more abuse keys
2024-01-29 20:11:44 +00:00
Matej Bačo
0a518cd47e
Fix failing tests
2024-01-29 20:03:14 +00:00
Christy Jacob
af21b44125
chore: revert abuse key
2024-01-29 17:25:56 +00:00
Christy Jacob
62246b5a2c
chore: add auth label to phone endpoint
2024-01-29 17:24:10 +00:00
Christy Jacob
d849aa1ed2
chore: add logs
2024-01-29 16:47:12 +00:00
Christy Jacob
94c423c429
chore: add project details to messaging worker
2024-01-29 13:27:03 +00:00
Damodar Lohani
9b7a5f55b7
fix linter
2024-01-28 03:01:34 +00:00
Damodar Lohani
e5dfed0aa3
fix, check only for confirmed membership
2024-01-28 02:47:23 +00:00
Damodar Lohani
215a139e87
prevent console user deletion before deleting their team
2024-01-28 02:10:14 +00: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
Torsten Dittmann
b6d85b5a24
fix: email factor for otp
2024-01-24 17:50:16 +01: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
62e459c581
fix: workers
2024-01-24 12:29:36 +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
Torsten Dittmann
f1293d2636
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa
2024-01-22 18:32:22 +01:00
Torsten Dittmann
a9f1e4d78d
feat: delete account ( #7392 )
...
* feat: delete account
* fix: new endpoint only for console sdk
* fix: hide endpoint from public sdks
* fix: account delete scope
2024-01-22 18:29:10 +01:00
Christy Jacob
cfc25288b5
Merge pull request #7422 from appwrite/feat-email-otp
...
Feat: Email OTP
2024-01-22 19:18:39 +04:00
Matej Bačo
fc3fa8f1d7
PR review changes
2024-01-22 15:02:33 +00:00
Torsten Dittmann
185e4258df
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa
2024-01-22 14:45:07 +01:00
Matej Bačo
3bf89a931d
PR review changes
2024-01-22 13:20:48 +00:00
Matej Bačo
9ad5aa79d0
Fix failing tests
2024-01-22 11:20:33 +00:00
Matej Bačo
32cc186ea6
Merge remote-tracking branch 'origin/1.5.x' into feat-session-renewal
2024-01-22 08:17:52 +00:00
Matej Bačo
fc186c69a1
PR review changes
2024-01-22 08:13:46 +00:00
Matej Bačo
df9bc6df56
Implement OTP email endpoint + tests
2024-01-19 13:42:26 +00:00
Matej Bačo
31a67a7667
Merge remote-tracking branch 'origin/1.5.x' into feat-email-otp
2024-01-19 12:12:07 +00:00
Jake Barnby
38d0185c88
Merge pull request #7461 from appwrite/fix-create-push-target
...
Fix create/update push target routes
2024-01-19 18:49:12 +13:00
Jake Barnby
a3096bc209
Merge remote-tracking branch 'origin/1.5.x' into feat-message-scheduling
...
# Conflicts:
# app/controllers/api/messaging.php
2024-01-19 15:54:21 +13:00
Torsten Dittmann
057496dbaa
feat: mfa users endpoints
2024-01-18 14:56:58 +01:00
Jake Barnby
f1c1e4b208
Merge branch 'fix-create-push-target' of github.com:appwrite/appwrite into fix-create-push-target
2024-01-19 02:06:21 +13:00
Jake Barnby
7b9bee9a2a
Fix missing scope for push target create/update
2024-01-19 02:04:54 +13:00
Torsten Dittmann
86f5bd20fb
style: run formatter
2024-01-18 13:45:48 +01:00
Torsten Dittmann
d802e86593
fix: merge conflicts
2024-01-18 13:43:49 +01:00
shimon
a0b38a5a7c
Merge branch 'main' of github.com:appwrite/appwrite into refactor-usage-sn
2024-01-18 14:19:19 +02:00
Torsten Dittmann
1ab3dc2236
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-mfa
2024-01-18 13:10:15 +01:00
Jake Barnby
3159d505ea
Update app/controllers/api/account.php
...
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-01-18 20:55:40 +13:00
Matej Bačo
240f20b2cf
PR review changes
2024-01-17 13:20:47 +00:00
loks0n
a9b42c63bf
chore: remove var dumps
2024-01-17 13:05:14 +00:00
Jake Barnby
a92d526125
Remove docs label, fix throw on no provider
2024-01-18 01:50:09 +13:00
loks0n
f1664c1cd7
fix: remove token auth.type
2024-01-17 12:09:15 +00:00
loks0n
498ddbf14c
test: add create email session test for server
2024-01-17 11:58:40 +00:00
loks0n
39a351adc1
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-17 11:22:45 +00:00
loks0n
0092af7ac6
chore: rename new scopes
2024-01-17 11:17:03 +00:00
loks0n
bc1858c516
chore: do not auto create accounts in users endpoints
2024-01-17 11:03:04 +00:00
Jake Barnby
58f87ef27f
Fix account target route not added to specs
2024-01-17 22:21:15 +13:00
loks0n
d488cadee4
docs: verb noun desc file pattern
2024-01-16 10:33:54 +00:00
Matej Bačo
12a0596c6e
Implement session renewal test
2024-01-15 20:04:36 +00:00
Matej Bačo
39997c817f
Fix failing tests
2024-01-15 14:37:47 +00:00
Matej Bačo
4f5755e7d0
Implement session renewal
2024-01-15 13:43:21 +00:00
Jake Barnby
4d9fb1d687
Merge remote-tracking branch 'origin/1.5.x' into feat-message-scheduling
...
# Conflicts:
# src/Appwrite/Platform/Workers/Messaging.php
2024-01-15 20:07:01 +13:00
loks0n
0a0479f4c5
chore: fmt
2024-01-13 10:11:25 +00:00
loks0n
521cb963a5
fix: hide oauth in specs
2024-01-13 10:09:02 +00:00
loks0n
56fe939713
Merge branch '1.5.x' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-13 09:55:44 +00:00
loks0n
d2ff3f6bb8
docs: standardise account md names
2024-01-13 09:32:03 +00:00
loks0n
642582c283
docs: fix links to create email password session
2024-01-12 17:39:44 +00:00
loks0n
ca511bd459
chore: use customId validators
2024-01-12 17:26:01 +00:00
Matej Bačo
e9de0332cc
Remove passwordAgain ( #7441 )
2024-01-12 14:33:10 +01:00
Torsten Dittmann
0a4c62085c
chore: run linter
2024-01-12 14:06:52 +01:00
Torsten Dittmann
e2a0c2d825
sync: with 1.5.x
2024-01-12 14:04:31 +01:00
loks0n
2bbcdf61dd
Merge branch 'feat-ssr' of https://github.com/appwrite/appwrite into feat-ssr
2024-01-12 12:14:28 +00:00
Matej Bačo
b8b9fe383d
Fix token param
2024-01-12 13:12:28 +01:00
loks0n
487376afd6
chore: oauth token param before scopes
2024-01-12 12:08:45 +00:00