Compare commits

..
Author SHA1 Message Date
Jake Barnby d18a67e6d8 Update packages 2024-09-12 23:06:47 +12:00
Jake Barnby 25d44b5b4c Update generator 2024-09-12 23:04:44 +12:00
Jake Barnby ee7de0cb41 Update database 2024-09-12 23:02:12 +12:00
Jake Barnby 28642b9f04 Shared tables array 2024-09-12 17:06:16 +12:00
Jake Barnby c18308c024 Update database 2024-08-27 17:43:29 +12:00
Jake Barnby 1eafbf2ee2 Update database 2024-08-19 21:21:20 +12:00
Jake Barnby b98bcdd4a1 Update database 2024-08-19 18:27:45 +12:00
Jake Barnby 4c8cd5b6c6 Update audit, abuse, database 2024-08-19 14:52:15 +12:00
Jake Barnby 5b37a91b46 Merge remote-tracking branch 'origin/1.5.x' into feat-migration 2024-08-13 22:11:18 +12:00
Jake Barnby 52647cef23 Merge remote-tracking branch 'origin/feat-single-shared-metadata-docs' into feat-migration
# Conflicts:
#	composer.json
#	composer.lock
2024-08-13 22:10:57 +12:00
Jake Barnby 11ec31aefb Update database 2024-08-13 21:49:25 +12:00
Jake Barnby 73ca1efbeb Catch duplicate db on project create 2024-08-13 21:49:14 +12:00
Jake Barnby 340aa48d93 Catch duplicate on console db create 2024-08-13 21:14:52 +12:00
Christy JacobandGitHub 603430a013 Merge pull request #8522 from appwrite/feat-1.5.10-release-prep
Prepare 1.5.10 release
2024-08-13 00:51:33 +04:00
Steven NguyenandGitHub 92fea47bf4 Add 1.5.10 to CHANGES.md 2024-08-12 19:58:25 +00:00
Steven NguyenandGitHub f47af1626c Bump appwrite version to 1.5.10 2024-08-12 19:55:22 +00:00
Steven NguyenandGitHub 672dfd9a26 Merge pull request #8519 from appwrite/fix-8518-migration-stuck
Fix migration stuck at "Starting Data Migration [...]"
2024-08-12 12:54:36 -07:00
Steven NguyenandGitHub e8c303e3cd Merge pull request #8520 from appwrite/chore-bump-console-4.3.30
Bump console to version 4.3.30
2024-08-12 12:50:21 -07:00
Steven NguyenandGitHub 0d451ec123 Bump console to version 4.3.30 2024-08-12 19:44:55 +00:00
Steven NguyenandGitHub a52626e5d3 fix(upgrade): fix migration stuck at "Starting Data Migration [...]"
The iterator was in the loop so it was always reset to null and the
same data set to be scanned.

For cases where this happened, the iterator was not empty, but the keys
returned from the scan was empty. According to [redis](https://redis.io/docs/latest/commands/scan/#number-of-elements-returned-at-every-scan-call),
this is expected behavior.

> SCAN family functions do not guarantee that the number of elements returned per call are in a given range. The commands are also allowed to return zero elements, and the client should not consider the iteration complete as long as the returned cursor is not zero.

As such, we must make sure we're using the new iterator returned to
continue scanning the keys.
2024-08-12 19:34:23 +00:00
Jake Barnby 8ff72b341e Don't set tenant for project collections creation 2024-08-12 23:46:34 +12:00
Jake Barnby a23402075e Update database 2024-08-12 17:45:43 +12:00
Steven NguyenandGitHub b5fad9f234 Merge pull request #8505 from appwrite/feat-1.5.9-release-prep
Prepare 1.5.9 release
2024-08-09 14:43:15 -07:00
Christy JacobandGitHub 7669f2c485 Merge pull request #8504 from appwrite/chore-bump-console-4.3.29
Bump console to version 4.3.29
2024-08-10 00:47:06 +04:00
Steven NguyenandGitHub 0a18f77e68 Add 1.5.9 to CHANGES.md 2024-08-09 16:06:02 +00:00
Steven NguyenandGitHub 2b9f3c4638 Bump appwrite version to 1.5.9 2024-08-09 16:06:02 +00:00
Steven NguyenandGitHub 8eb707be2c Bump console to version 4.3.29 2024-08-09 15:53:26 +00:00
Steven NguyenandGitHub ae7b004b26 Merge pull request #8502 from appwrite/chore-bump-executor
Bump executor version from 0.5.5 to 0.5.7
2024-08-09 07:50:39 -07:00
Steven NguyenandGitHub 6a4fa91aac chore: bump executor version from 0.5.5 to 0.5.7 2024-08-08 22:55:35 +00:00
Steven NguyenandGitHub 324d615536 Merge pull request #8495 from appwrite/fix-migrations
fix: Moving migration to be inside coroutine completely
2024-08-08 15:53:26 -07:00
Steven NguyenandGitHub 71cfdd74f1 Merge pull request #8499 from ItzNotABug/main
Merge `main` to `1.5.x`
2024-08-08 15:51:01 -07:00
Binyamin Yawitz 8e7cc6ed14 fix: Moving migration to be inside coroutine completely 2024-08-08 09:25:56 -04:00
Steven NguyenandGitHub 6410b2062c Merge pull request #8472 from ItzNotABug/fix-proxy-rules-check
Fix Domain Check
2024-08-07 22:17:45 -07:00
Jake BarnbyandGitHub 314b27493f Merge pull request #8488 from appwrite/1.5.x
Sync 1.5.x into main
2024-08-08 13:28:58 +12:00
Steven NguyenandGitHub 8f0294f9cb Merge pull request #8361 from appwrite/feat-1.5.8-release-prep
Prepare 1.5.8 release
2024-08-07 13:00:40 -07:00
Jake Barnby 6b86ed0117 Merge remote-tracking branch 'origin/1.5.x' into feat-migration
# Conflicts:
#	composer.lock
2024-08-07 22:10:04 +12:00
Christy JacobandGitHub 7ca654d35e Merge pull request #8482 from appwrite/chore-bump-console-4.3.27 2024-08-06 21:09:06 +04:00
Steven NguyenandGitHub 203b6e7b56 chore: regenerate latest and 1.5.x specs 2024-08-06 16:14:19 +00:00
Steven NguyenandGitHub 7e13e380f1 Add 1.5.8 to CHANGES.md 2024-08-06 16:14:19 +00:00
Steven NguyenandGitHub d900e88e7e Merge pull request #8416 from appwrite/fix-realtime-permission-change
Fix realtime permission change
2024-08-06 09:12:11 -07:00
Steven NguyenandGitHub ab7f0b1348 Bump console to version 4.3.27 2024-08-06 16:03:53 +00:00
Christy JacobandGitHub 085efb02c5 Merge pull request #8445 from appwrite/fix-template-tags
Fix: template tags
2024-08-05 17:04:12 +04:00
Jake Barnby e2a45cec8e Merge branch '1.5.x' into feat-migration
# Conflicts:
#	composer.json
#	composer.lock
2024-08-05 21:13:42 +12:00
Jake BarnbyandGitHub 8f608e205f Merge pull request #8463 from appwrite/fix-1.5.x-fix-domains-events
Fix queueForUsage not triggering for domain executions
2024-08-05 16:04:18 +12:00
Bradley Schofield 3a91fee41b Run Linter 2024-08-05 12:24:27 +09:00
Bradley Schofield 4801fb816a Fix Tests 2024-08-05 12:21:10 +09:00
Christy Jacob 32a1aaca24 chore: revertomposer 2024-08-03 07:49:11 +00:00
Christy Jacob 7be4196a58 chore: refactor code 2024-08-03 07:22:34 +00:00
ItzNotABug b0441e5465 fix: domain check. 2024-08-03 12:26:21 +05:30
Bradley Schofield f5571b4caa Add Metric Tests to Domain Executions 2024-08-02 16:24:54 +09:00
Bradley Schofield 906de6a802 Fix queueForUsage not triggering for domain executions 2024-08-02 15:28:39 +09:00
Steven NguyenandGitHub 5ddc705099 Merge pull request #8433 from appwrite/PR_SecurityScan_Action
Adding PR Security Scan
2024-08-01 17:07:24 -07:00
Christy JacobandGitHub 58aa2b0571 Merge pull request #8395 from appwrite/migration-clean-cache
Clean projects cache while migrating
2024-07-31 19:31:44 +04:00
shimon 00fc34a2a4 get project db key by region 2024-07-31 13:23:51 +03:00
EvanandGitHub 52c63248dd Update pr-scan.yml 2024-07-30 17:47:42 -07:00
EvanandGitHub ad2e53920f Update pr-scan.yml 2024-07-30 17:46:09 -07:00
shimon 29e169fe95 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-30 22:29:35 +03:00
Christy JacobandGitHub e31bae7644 Merge pull request #8449 from appwrite/feat-1.5.x-mbSeconds-2
Move mbSeconds into 1.5.x
2024-07-30 13:25:37 +04:00
Bradley Schofield fddfcac0ea Regenerate Specs 2024-07-30 17:57:06 +09:00
Bradley Schofield f46e210000 Move mbSeconds into 1.5.x 2024-07-30 17:53:28 +09:00
Matej Bačo 85fa7268b5 Upgrade lib version 2024-07-30 07:51:57 +00:00
Matej Bačo e33a035a81 Upgrade lib 2024-07-29 21:01:32 +02:00
Matej Bačo 35a3542a9b Merge branch '1.5.x' into fix-template-tags 2024-07-29 20:00:18 +02:00
Steven NguyenandGitHub d1fbf8f571 Merge pull request #8442 from appwrite/1.5.x-update-migrations
Update lock file with new migrations version
2024-07-29 10:58:28 -07:00
Matej Bačo cb9e5bd0ae Upgrade VCS and support 0.1.x tags 2024-07-29 19:28:15 +02:00
Christy JacobandGitHub 4809f49aeb Merge pull request #8415 from appwrite/feat-strip-mail-vars
Feat strip mail vars
2024-07-29 19:03:27 +04:00
Bradley Schofield 6590d13fca Update lock file 2024-07-29 11:14:17 +09:00
Evan 4034598b1c Adding PR Security Scan 2024-07-24 22:12:07 +00:00
Damodar LohaniandGitHub faf184f86e Merge pull request #8431 from appwrite/fix-calculations
Fix calculations
2024-07-24 18:19:09 +05:45
Damodar LohaniandGitHub e21165f216 Fix file size calculation 2024-07-24 16:21:09 +05:45
Binyamin Yawitz 4eee8689d3 fixes: Clean URL variables 2024-07-22 09:37:28 -04:00
Christy JacobandGitHub 4b1bf59091 Merge pull request #8233 from ItzNotABug/update-redirection-info-in-docs
Add API Doesn't Support Redirections to Docs.
2024-07-22 16:35:16 +04:00
Christy JacobandGitHub b98102dc46 Merge pull request #8424 from appwrite/feat-add-new-audit-events
Add new audit events
2024-07-22 13:30:56 +04:00
Bradley Schofield 3792f816ad Add new audit events 2024-07-22 17:03:53 +09:00
Matej BačoandGitHub 58ba4f391f Merge branch 'main' into update-redirection-info-in-docs 2024-07-21 16:20:08 +02:00
shimon 2ef358e8dc linter 2024-07-21 09:27:12 +03:00
shimon 088ef769a5 Merge branch '1.5.x' of github.com:appwrite/appwrite into migration-clean-cache 2024-07-21 09:23:33 +03:00
Steven NguyenandGitHub 80769a0b65 fix(realtime): unsubscribe before resubscribing on permission change
Unsubcribe to remove subscriptions related to the old permissions.
2024-07-19 00:06:14 +00:00
Steven NguyenandGitHub 5aa944ee82 fix(realtime): add userId to queueForEvents
In order for realtime to detect and process a changed permission, the
userId param must be set.
2024-07-19 00:02:43 +00:00
Binyamin Yawitz 262c9a10f7 feat: Clean mail variables 2024-07-18 18:09:39 -04:00
Christy JacobandGitHub 4ce737e914 Merge pull request #8408 from appwrite/fix-vsc-deployments-path
fix: Setting `path` for vsc function deployments
2024-07-19 01:30:26 +04:00
Binyamin Yawitz 17c708a056 fix: Setting path for vsc function deployments 2024-07-17 13:44:07 -04:00
Jake BarnbyandGitHub 497272622e Merge pull request #8258 from appwrite/feat-sn-implement-deployment-metric
Implement deploymentsStorage metric for projects API
2024-07-17 14:59:44 +12:00
Christy JacobandGitHub 483ef3c00b Merge pull request #8397 from appwrite/feat-xdebug-profiling
feat: Adding profiler for debugging
2024-07-15 22:19:08 +04:00
Binyamin Yawitz eacd965ae3 feat: Adding profiler for debugging 2024-07-15 14:13:34 -04:00
shimon ada1746466 clean migration project cache 2024-07-15 12:20:01 +03:00
shimon 278fdf5823 clean migration project cache 2024-07-15 12:17:10 +03:00
Bradley Schofield 8222aa74ca Merge branch '1.5.x' into feat-sn-implement-deployment-metric 2024-07-15 13:59:47 +09:00
Bradley Schofield a710e9bfe4 Update UsageTest.php 2024-07-15 13:57:36 +09:00
Steven NguyenandGitHub f3ad9a3f81 Merge pull request #7501 from Achraf112Ben/adding-darija-moroccan-arabic
Adding Darija (Moroccan Arabic) translation file
2024-07-14 21:39:20 -07:00
Steven NguyenandGitHub d98e04cf63 Merge pull request #8381 from appwrite/improve-event-data
improve: events data
2024-07-11 16:43:37 -07:00
Steven NguyenandGitHub 60fd178ea6 Merge pull request #8266 from appwrite/chore-deploy-dotnet
Deploy dotnet
2024-07-11 14:57:23 -07:00
Binyamin Yawitz 0988fd7581 improve: events data 2024-07-11 11:03:28 -04:00
Jake BarnbyandGitHub f17a9357fb Merge pull request #8377 from appwrite/feat-update-migrations
Update Migrations to 0.5
2024-07-10 18:23:08 +12:00
Bradley Schofield d84d227c2b Update Migrations to 0.5 2024-07-10 14:59:31 +09:00
Eldad A. FuxandGitHub 169629de9a Merge pull request #8374 from appwrite/feat-remove-detailed-trace
Remove detailed trace
2024-07-09 23:03:06 -04:00
Jake Barnby e74a5cbf6e Remove detailed trace from error logs 2024-07-09 15:15:03 +12:00
Steven NguyenandGitHub c55cab7dd9 Merge pull request #8363 from appwrite/chore-bump-console-4.3.23
Bump console to version 4.3.23
2024-07-08 19:57:13 -07:00
Steven NguyenandGitHub 555579be92 Bump console to version 4.3.23 2024-07-05 18:46:59 +00:00
Steven NguyenandGitHub f32cfa6827 Merge pull request #8346 from appwrite/update-functions-api
docs: update functions api reference
2024-07-03 21:57:58 -07:00
Steven NguyenandGitHub 343052eb90 Merge pull request #8305 from appwrite/update-acct-api-reference
Documentation: Update Account API Reference
2024-07-03 21:53:33 -07:00
Torsten DittmannandGitHub 98f0f86fa6 Merge pull request #8352 from appwrite/main
Sync main into 1.5.x
2024-07-03 18:38:41 +02:00
RichardandGitHub b2468a60f0 Merge branch 'main' into update-functions-api 2024-07-03 09:05:31 -04:00
RichardandGitHub 1539fc2b7c Merge branch 'main' into update-acct-api-reference 2024-07-03 09:04:45 -04:00
Jake BarnbyandGitHub ae87033974 Merge pull request #8327 from appwrite/chore-sync-1.5.x-into-main
Sync 1.5.x into main
2024-07-03 14:31:08 +12:00
Jake BarnbyandGitHub 04ae166e54 Merge branch '1.5.x' into chore-deploy-dotnet 2024-07-03 14:05:48 +12:00
Jake Barnby ec2eb2bfa3 Revert to utopia database instead of extension 2024-07-02 19:10:02 +12:00
Jake Barnby 10adfc5124 Add mirror override 2024-07-02 14:55:13 +12:00
choir27 dc07b5d028 docs: update functions api reference 2024-07-01 15:35:55 -04:00
DarshanandGitHub 78688a3d76 Merge branch 'main' into update-redirection-info-in-docs 2024-06-26 12:51:46 +05:30
Steven NguyenandGitHub 636497304e Merge branch '1.5.x' into chore-sync-1.5.x-into-main 2024-06-25 23:47:37 +00:00
Christy JacobandGitHub 8dbf887ab1 Merge pull request #8324 from appwrite/refactor-usage-sn
Sync refactor-usage-sn into 1.5.x
2024-06-25 22:50:42 +04:00
Christy JacobandGitHub 1a860e846f Merge pull request #8264 from appwrite/fix-cache-client-expires-header
Update Expires header via cache shared api
2024-06-25 21:02:13 +04:00
Torsten DittmannandGitHub 10444ab7c6 Merge pull request #8322 from appwrite/feat-1.5.8-release-prep
Prepare 1.5.8 release
2024-06-25 17:02:27 +02:00
RichardandGitHub e030ec6e3e Merge branch 'main' into update-acct-api-reference 2024-06-25 09:10:57 -04:00
Christy JacobandGitHub b9b48e7b91 Merge pull request #8312 from appwrite/fix-test-for-cl
increase longtext
2024-06-25 15:17:29 +04:00
Christy JacobandGitHub 8e5779c168 Merge pull request #8292 from appwrite/fix-certificate-emails
Fix certificate emails
2024-06-25 13:35:43 +04:00
Steven NguyenandGitHub 0df347d670 chore: regenerate specs 2024-06-25 04:13:38 +00:00
Steven NguyenandGitHub 66bf7086e6 Add 1.5.8 to CHANGES.md 2024-06-25 04:06:28 +00:00
Steven NguyenandGitHub 556d30a9fb Bump appwrite version to 1.5.8 2024-06-25 04:04:14 +00:00
Jake BarnbyandGitHub c63b1785ed Merge pull request #8321 from appwrite/chore-bump-console-4.3.14
Bump console to version 4.3.14
2024-06-25 15:23:54 +12:00
Steven NguyenandGitHub 827ad1446b Bump console to version 4.3.14 2024-06-25 02:37:55 +00:00
Jake BarnbyandGitHub 4ad987e4ef Merge pull request #8308 from appwrite/fix-8280-expire-error-when-creating-session
Fix 'Missing required attribute "expire"' on `users.createSession()`
2024-06-25 13:43:03 +12:00
Jake BarnbyandGitHub ef203dc075 Merge pull request #8297 from appwrite/fix-subscribers
Disable validation for subquery to prevent error
2024-06-25 13:38:47 +12:00
Jake BarnbyandGitHub 83cb303f03 Merge pull request #8317 from appwrite/fix-flaky-function-test
Fix flaky function test
2024-06-25 13:35:00 +12:00
Jake BarnbyandGitHub dc9f06976c Merge pull request #8316 from appwrite/fix-flaky-cert-test
Fix flaky certificate test
2024-06-25 13:33:50 +12:00
Steven NguyenandGitHub 3a3a0594dc fix(messaging): disable validation for subquery to prevent error
If there are more than 100 targets, the validation throws an error. This
change skips the validation so no error is thrown.
2024-06-24 23:38:41 +00:00
Steven NguyenandGitHub c6489d172f chore: bump utopia-php/database and related packages
utopia-php/database version 0.50.0 includes a new skipValidation()
function we can use to skip validation when making queries.
2024-06-24 23:38:40 +00:00
Steven NguyenandGitHub 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 NguyenandGitHub 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
Steven NguyenandGitHub 9ccf4991e3 fix(functions): fix flaky function test
The execution is async so give the function a bit more time to execute.
2024-06-24 19:15:41 +00:00
Steven NguyenandGitHub 01fc6a699a fix(health): fix flaky certificate test
There seems to be a load balancer in front of www.google.com that has
either a certificate issuer of "Google Trust Services LLC" or
"Google Trust Services". This causes the test to fail intermittently.

This PR updates the test to check for the substring
"Google Trust Services" instead of the exact string
"Google Trust Services LLC".
2024-06-24 19:02:44 +00:00
Damodar Lohani d19141fc6a sleep after password change 2024-06-24 07:49:18 +00:00
Damodar Lohani e9cfd0ac8b fix health service test 2024-06-24 06:09:39 +00:00
Damodar Lohani e5af708dbc update health certificate test 2024-06-24 06:02:54 +00:00
Damodar Lohani d33048b792 adding 10 rows 2024-06-24 05:58:29 +00:00
Damodar Lohani 92bc795d7a reset test 2024-06-24 05:07:25 +00:00
Damodar Lohani e88b7742c6 filter 2024-06-24 05:04:51 +00:00
Damodar Lohani 6cf10fa43f partial test 2024-06-24 04:47:32 +00:00
Damodar Lohani 7f8656be6f fix scheme 2024-06-24 04:46:24 +00:00
Damodar Lohani 592ada23d0 increase longtext 2024-06-24 04:45:53 +00:00
Steven NguyenandGitHub ae3bcb2efe Merge pull request #8271 from ItzNotABug/fix-7892-add-defaults-to-migrations
Add `default` to Collection Attributes in Migration
2024-06-21 08:46:46 -07:00
choir27 6a406454ba docs: update api reference 2024-06-21 10:41:46 -04:00
Christy JacobandGitHub 8764a7491a Merge pull request #8296 from appwrite/refactor-usage-sn
Sync refactor-usage-sn into 1.5.x
2024-06-21 12:09:16 +05:30
Jake BarnbyandGitHub ba43358ac4 Merge pull request #8298 from appwrite/fix-migrate-validation
Disable validation for project DBs during migration
2024-06-21 13:46:55 +12:00
Jake Barnby 5f7aae0e60 Add missing import 2024-06-21 13:43:01 +12:00
Jake Barnby 4952608b8d Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-migration 2024-06-21 13:39:51 +12:00
Steven NguyenandGitHub 72f8b2001f fix: Disable validation for project DBs during migration
Skip the validation so that queries that typically fail can pass. This
is fine because the validation is failing on internal attributes such
as an $id for cache key with * and $id for attributes that are too long
because we prefix the $id with the internal database and collection id.
2024-06-20 23:00:49 +00:00
Christy JacobandGitHub 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
Bradley Schofield ea95e80cbf Use localised subject string 2024-06-20 17:47:16 +09:00
ItzNotABug 95e463a7ae Merge branch 'fix-7892-add-defaults-to-migrations' of https://github.com/ItzNotABug/appwrite.source into fix-7892-add-defaults-to-migrations 2024-06-20 14:15:17 +05:30
DarshanandGitHub 441811e808 Merge branch '1.5.x' into fix-7892-add-defaults-to-migrations 2024-06-20 14:15:09 +05:30
ItzNotABug ee6137db3d Merge branch 'fix-7892-add-defaults-to-migrations' of https://github.com/ItzNotABug/appwrite.source into fix-7892-add-defaults-to-migrations 2024-06-20 14:14:48 +05:30
ItzNotABug eb36ae5c61 add: default to V20 migration. 2024-06-20 14:14:21 +05:30
Bradley Schofield dbfae94552 Fix certificate emails 2024-06-20 17:28:21 +09:00
Steven NguyenandGitHub e3bc1887a4 Merge pull request #8263 from appwrite/docs-clarify-optional-url
docs: update text description in request table
2024-06-19 09:45:53 -07:00
Jake Barnby 42ebefef92 Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-migration 2024-06-19 19:32:30 +12:00
Christy JacobandGitHub 65a4a3bbfa Merge pull request #8275 from appwrite/fix-tests-for-cl
Fix for Tests, also fix Create bucket endpoint validator for maximum file size
2024-06-19 12:21:26 +05:30
Christy JacobandGitHub 691ce68636 Merge pull request #8249 from appwrite/update-platform
update to use latest platform with module
2024-06-19 12:21:07 +05:30
Christy JacobandGitHub c5e788c2ef Merge pull request #7888 from appwrite/feat-security-emails
New environment for certificates and security emails
2024-06-19 12:20:55 +05:30
Christy JacobandGitHub 868e57a9a3 Merge pull request #8281 from appwrite/main
Sync main into 1.5.x
2024-06-19 12:18:12 +05:30
DarshanandGitHub e0779013d0 Merge branch 'main' into fix-7892-add-defaults-to-migrations 2024-06-19 12:10:24 +05:30
Shimon NewmanandGitHub 1febae5e03 Merge pull request #8285 from appwrite/chore-bump-lib-ver
Chore:update cache & database
2024-06-18 19:04:04 +03:00
shimon 12813a2f29 update cache and database lib 2024-06-18 18:51:00 +03:00
RichardandGitHub 0dc553f31d Merge branch 'main' into docs-clarify-optional-url 2024-06-18 09:12:32 -04:00
Damodar LohaniandGitHub 076f718203 Update tests/e2e/Services/Storage/StorageBase.php 2024-06-18 12:14:47 +05:45
Damodar LohaniandGitHub a93dcfa1b3 Update storage.php 2024-06-18 11:46:31 +05:45
Steven NguyenandGitHub 4b24848f22 Merge pull request #8236 from 2002Bishwajeet/fix-user-model
Fix: Don't set the target field if the existing target document is false
2024-06-17 17:11:27 -07:00
Steven NguyenandGitHub 2e187107da Merge pull request #8269 from appwrite/docs-fix-storage-hyperlink
docs: fix hyperlink in storage docs
2024-06-17 16:58:51 -07:00
Steven NguyenandGitHub 120b5aee47 Merge pull request #8228 from ItzNotABug/add-test-for-user-id
Add Test to Validate Headers aren't Overridden
2024-06-17 16:09:50 -07:00
Damodar Lohani 349b78d5e5 fix assertion 2024-06-17 04:55:06 +00:00
Damodar Lohani 3dcd1314f5 fix file size multiplier 2024-06-17 04:50:22 +00:00
Damodar Lohani 4c8d5d2c89 increase file size 2024-06-16 09:49:19 +00:00
ItzNotABug 4fd94fd7b1 fix: add defaults to collection attributes. 2024-06-14 15:37:30 +05:30
Jake Barnby 03d33601b0 Override find 2024-06-14 13:08:30 +12:00
choir27 84d9b4befe docs: fix hyperlink in storage code snippet 2024-06-13 09:59:20 -04:00
DarshanandGitHub cd60f3d302 Merge branch 'main' into update-redirection-info-in-docs 2024-06-13 12:40:49 +05:30
shimon 4bedb2f52a Update Expires header via cache shared api 2024-06-13 09:40:36 +03:00
shimon 3f42b03f8e Update Expires header via cache shared api 2024-06-13 09:40:03 +03:00
Jake Barnby df6b39c9d0 Deploy dotnet 2024-06-13 15:01:41 +12:00
shimon d2a2caedbd Update Expires header via cache shared api 2024-06-12 18:42:04 +03:00
choir27 897ae1c859 docs: update text description in request table 2024-06-12 10:47:48 -04:00
Bishwajeet ParhiandGitHub eca2bbdb5d Merge branch 'main' into fix-user-model 2024-06-11 21:18:11 +05:30
Bishwajeet Parhi 190560b8ef chore: append attributes instead of replace 2024-06-11 21:17:25 +05:30
Steven NguyenandGitHub f91a8a9135 Merge pull request #8179 from navjotNSK/bug-7880-location_hk_issue
Adding hk in translations
2024-06-11 11:00:00 -04:00
Steven NguyenandGitHub 0376189dbc Merge pull request #8239 from ItzNotABug/8159-delete-expired-targets-per-project
Delete Expired Targets Per Project
2024-06-11 10:24:14 -04:00
Bradley Schofield 9113f265b7 Fix Tests 2024-06-11 06:40:37 +00:00
Bradley Schofield d8b893c7c9 Small fixes 2024-06-11 14:52:21 +09:00
Bradley Schofield 94330cd539 Update Specs 2024-06-11 14:50:03 +09:00
Bradley Schofield 98ca5faef1 Add Tests 2024-06-11 14:36:32 +09:00
Bradley Schofield 83d093805f Implement deploymentsStorage metric for projects API 2024-06-11 14:14:38 +09:00
Jake BarnbyandGitHub e195018abd Merge pull request #8255 from appwrite/feat-update-pwd-abuse
Feat update pwd abuse
2024-06-11 16:56:21 +12:00
Jake Barnby a4c1275764 Add abuse limit for update password 2024-06-10 18:09:30 +12:00
Jake BarnbyandGitHub 3c123d372a Merge pull request #8244 from appwrite/1.5.x
Sync 1.5.x into refactor-usage-sn
2024-06-10 12:22:16 +12:00
Damodar Lohani 26413566dc fix format 2024-06-09 11:36:35 +00:00
Damodar Lohani c179e89fdf update to use latest platform with module 2024-06-09 01:03:40 +00:00
Damodar LohaniandGitHub 00a633759e Merge pull request #7936 from appwrite/feat-upgrade-platform-with-module
Use latest Platform and add Core module
2024-06-09 06:40:13 +05:45
Steven NguyenandGitHub 4a168f6948 Merge pull request #8245 from appwrite/fix-oauth2-mfa
Fix MFA for OAuth2 only accounts
2024-06-07 18:11:24 -07: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
Jake BarnbyandGitHub 7e3070a4b2 Merge pull request #8240 from appwrite/revert-8237-revert-8193-feat-remove-random-shared-tables
Revert "Merge pull request #8237 from appwrite/revert-8193-feat-remov…
2024-06-07 17:34:14 +12:00
Jake Barnby e58e849504 Fix function test 2024-06-06 21:29:34 +12:00
Jake Barnby c87a6a863b Increase sleep 2024-06-06 20:52:22 +12:00
Damodar Lohani f44ed18b05 remove worker index 2024-06-06 08:45:15 +00:00
Damodar Lohani 131de2ea7a refactor module 2024-06-06 08:35:50 +00:00
Damodar Lohani ec69507818 Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-upgrade-platform-with-module 2024-06-06 08:32:07 +00:00
Jake Barnby 9e487b8ccf Revert "Merge pull request #8237 from appwrite/revert-8193-feat-remove-random-shared-tables"
This reverts commit 930ae6ded0, reversing
changes made to 1f6417b156.
2024-06-06 20:11:19 +12:00
ItzNotABug a34ec72048 fix: delete expired targets per project. 2024-06-06 12:01:32 +05:30
Jake BarnbyandGitHub 035144d1ff Merge pull request #8238 from appwrite/chore-bump-base-image
Bump base image from 0.9.0 to 0.9.1
2024-06-06 13:47:01 +12:00
Steven NguyenandGitHub c7157b3692 chore: bump base image from 0.9.0 to 0.9.1 2024-06-06 00:23:00 +00:00
Christy JacobandGitHub 37a1c804b5 Merge pull request #8230 from appwrite/refactor-redis-cache
refactor redis cache
2024-06-06 01:33:48 +05:30
shimon cdf7e1a8dc composer 2024-06-05 22:29:47 +03:00
Christy JacobandGitHub 930ae6ded0 Merge pull request #8237 from appwrite/revert-8193-feat-remove-random-shared-tables
Revert "Feat remove random shared tables"
2024-06-06 00:15:12 +05:30
Christy JacobandGitHub ff6efc2855 Revert "Feat remove random shared tables" 2024-06-06 00:11:56 +05:30
Bishwajeet Parhi 485b8eeb8b chore: misc test assertions improvements 2024-06-05 23:53:31 +05:30
Bishwajeet Parhi cccda2a46c fix: Don't set target attribute if no existing Target found 2024-06-05 23:34:01 +05:30
shimon f06e19d8fa composer 2024-06-05 20:52:35 +03:00
shimon eb28841cb1 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into refactor-redis-cache
 Conflicts:
	composer.lock
2024-06-05 20:47:48 +03:00
shimon e2c6c61083 composer 2024-06-05 20:40:14 +03:00
ItzNotABug a9cee074be update: add api doesn't support redirections. 2024-06-05 13:45:41 +05:30
Jake BarnbyandGitHub 1f6417b156 Merge pull request #8193 from appwrite/feat-remove-random-shared-tables
Feat remove random shared tables
2024-06-05 17:17:58 +12:00
Jake Barnby 5b3a3d5bf9 Add flaky test retry 2024-06-04 20:10:45 +12:00
Damodar Lohani a823bca463 update platform 2024-06-04 08:04:51 +00:00
Damodar Lohani fef769271f Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-upgrade-platform-with-module 2024-06-04 08:00:19 +00:00
Jake Barnby f459a5c458 Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-remove-random-shared-tables
# Conflicts:
#	docker-compose.yml
2024-06-04 17:43:14 +12:00
Jake BarnbyandGitHub 026933ff74 Merge pull request #8218 from appwrite/chore-release-sdks
Release SDKs
2024-06-04 16:05:58 +12:00
Damodar Lohani f762d66c5e fix typo 2024-06-04 01:31:05 +00:00
Damodar LohaniandGitHub 66ac96580b Merge branch 'main' into feat-security-emails 2024-06-04 06:51:24 +05:45
ItzNotABug 37da4a0cd3 review comments. 2024-06-03 14:19:59 +05:30
ItzNotABug b54a599960 update test name for clarity. 2024-06-03 14:13:08 +05:30
ItzNotABug 52f5a5c40c update test. 2024-06-03 14:10:20 +05:30
shimon e28224976a refactor redis cache 2024-06-02 16:17:11 +03:00
ItzNotABug 1a42d118f6 add: test to validate user-id isn't overridden. 2024-06-01 19:18:35 +05:30
Navjot SinghandGitHub c07c7889d3 Merge branch 'main' into bug-7880-location_hk_issue 2024-06-01 17:29:57 +05:30
Luke B. SilverandGitHub 065dfa6663 Merge pull request #8222 from appwrite/feat-support-twilio-messaging-service-sid
feat: support twilio messaging service sid
2024-05-30 17:24:38 +01:00
loks0n 61336be50d doc: update _APP_SMS_FROM 2024-05-30 16:51:48 +01:00
loks0n 64e0c88349 Merge branch 'refactor-usage-sn' of https://github.com/appwrite/appwrite into feat-support-twilio-messaging-service-sid 2024-05-30 16:48:08 +01:00
fogelito e91a532e74 Database tag 2024-05-30 18:46:21 +03:00
loks0n ab4401992c Revert "feat: use param instead"
This reverts commit 72cca45d6d.
2024-05-30 16:36:05 +01:00
loks0n 72cca45d6d feat: use param instead 2024-05-30 16:34:43 +01:00
loks0n c6a520909e feat: support twilio messaging service sid 2024-05-30 16:23:15 +01:00
Christy JacobandGitHub fd7c6a6a71 Merge pull request #8220 from appwrite/test-main-1
test
2024-05-30 19:19:46 +04:00
fogelito 065b5f4858 test 2024-05-30 16:07:11 +03:00
Steven Nguyen 4b5e86cc05 chore(sdks): bump major version since there are breaking changes 2024-05-29 13:59:59 -07:00
Steven Nguyen 2f8380e97d fix(docs): remove extraneous word in Verify authenticator description 2024-05-29 13:59:12 -07:00
Bradley Schofield d4db55ab77 Fix failed queue param in failed jobs 2024-05-29 18:11:58 +09:00
Christy JacobandGitHub c109dcc683 Merge pull request #8205 from appwrite/sync-with-1.5.x
Sync with 1.5.x
2024-05-27 15:42:26 +04:00
Christy Jacob 1c79ccd231 Merge branch '1.5.x' of https://github.com/appwrite/appwrite into sync-with-1.5.x 2024-05-27 11:26:32 +00:00
Damodar LohaniandGitHub 2b8bf3b252 Merge pull request #8120 from appwrite/chore-error-requests-count
Chore:usage requests count on error
2024-05-26 07:04:33 +05:45
Jake Barnby bbb4b0bc12 Remove shared table headers 2024-05-24 20:29:25 +12:00
Jake Barnby 00c047d804 Run full tests on shared tables 2024-05-24 20:29:06 +12:00
Jake Barnby e19b465ce2 Move shared tables db to env var from const 2024-05-24 20:10:47 +12:00
Navjot SinghandGitHub ade0472a5f Merge branch 'main' into bug-7880-location_hk_issue 2024-05-24 12:24:08 +05:30
Jake Barnby 4ed125f7c8 Remove random shared tables assignment in preparation of setting as override instead 2024-05-24 16:53:09 +12:00
Jake Barnby a895ce4270 Remove redundant backup checks 2024-05-24 16:51:29 +12:00
shimon a2ef77f0f5 lint 2024-05-23 16:47:37 +03:00
shimon c996dbcdc9 lint 2024-05-23 16:39:23 +03:00
shimon a22d98296c lint 2024-05-23 16:33:40 +03:00
navjotNSK fcbab74f04 All translations added. 2024-05-23 15:55:57 +05:30
navjotNSK 2621d948c6 All translations added. 2024-05-23 15:53:59 +05:30
shimon 2414438ded Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into chore-error-requests-count
 Conflicts:
	app/controllers/shared/api.php
	composer.json
2024-05-23 11:01:28 +03:00
shimon 87cf7776df lint 2024-05-23 10:59:19 +03:00
navjotNSK c29fc5e72e hk added till cs.json 2024-05-22 16:43:40 +05:30
shimon 8aabb92fda adding requests count on error 2024-05-19 13:50:25 +03:00
shimon e1ac0d622e adding requests count on error 2024-05-19 10:55:14 +03:00
shimon dae9cb995c adding requests count on error 2024-05-16 21:21:21 +03:00
shimon cc3f975101 Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into chore-error-requests-count 2024-05-16 21:15:21 +03:00
shimon 12e4f49cba adding requests count on error 2024-05-15 20:25:29 +03:00
Damodar Lohani 1d9f5fa29d Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-upgrade-platform-with-module 2024-05-09 07:50:17 +00:00
Damodar Lohani 14a0dd3166 Merge remote-tracking branch 'origin/main' into feat-security-emails 2024-05-06 01:04:44 +00:00
Damodar Lohani be1c147658 update console 2024-05-06 01:00:20 +00:00
Damodar Lohani b61e0f08f6 make required 2024-05-06 00:58:23 +00:00
Damodar Lohani 70eb56a388 refactor module 2024-04-08 05:25:55 +00:00
Damodar Lohani a67c6bfacb update platform version 2024-04-08 05:16:37 +00:00
Damodar Lohani 5e12eaa2e3 fix type 2024-04-08 05:09:51 +00:00
Damodar Lohani 8c008df1a9 fix change 2024-04-08 05:08:55 +00:00
Damodar Lohani 8fe6ce64b2 create and use core module 2024-04-08 05:05:04 +00:00
Damodar Lohani 4d15e0dbd2 update platform version 2024-04-08 05:03:18 +00:00
Damodar Lohani 00c45c2507 new environment for certificates and security emails 2024-03-31 03:32:55 +00:00
achraf112ben 3a35412bf8 fix some missed values 2024-01-29 04:21:14 +01:00
achraf112ben 4f67db160b Adding Darija (Moroccan Arabic) translation file 2024-01-28 06:14:21 +01:00
159 changed files with 56303 additions and 1072 deletions
+2 -1
View File
@@ -9,7 +9,8 @@ _APP_CONSOLE_COUNTRIES_DENYLIST=AQ
_APP_CONSOLE_HOSTNAMES=localhost,appwrite.io,*.appwrite.io
_APP_SYSTEM_EMAIL_NAME=Appwrite
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=security@appwrite.io
_APP_EMAIL_SECURITY=security@appwrite.io
_APP_EMAIL_CERTIFICATES=certificates@appwrite.io
_APP_SYSTEM_RESPONSE_FORMAT=
_APP_OPTIONS_ABUSE=disabled
_APP_OPTIONS_ROUTER_PROTECTION=disabled
+87
View File
@@ -0,0 +1,87 @@
name: PR Security Scan
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Build the Docker image
uses: docker/build-push-action@v5
with:
context: .
push: false
load: true
tags: pr_image:${{ github.sha }}
- name: Run Trivy vulnerability scanner on image
uses: aquasecurity/trivy-action@0.20.0
with:
image-ref: 'pr_image:${{ github.sha }}'
format: 'json'
output: 'trivy-image-results.json'
severity: 'CRITICAL,HIGH'
- name: Run Trivy vulnerability scanner on source code
uses: aquasecurity/trivy-action@0.20.0
with:
scan-type: 'fs'
scan-ref: '.'
format: 'json'
output: 'trivy-fs-results.json'
severity: 'CRITICAL,HIGH'
- name: Process and post Trivy scan results
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const fs = require('fs');
let commentBody = '## Security Scan Results for PR\n\n';
function processResults(results, title) {
let sectionBody = `### ${title}\n\n`;
if (results.Results && results.Results.some(result => result.Vulnerabilities && result.Vulnerabilities.length > 0)) {
sectionBody += '| Package | Version | Vulnerability | Severity |\n';
sectionBody += '|---------|---------|----------------|----------|\n';
const uniqueVulns = new Set();
results.Results.forEach(result => {
if (result.Vulnerabilities) {
result.Vulnerabilities.forEach(vuln => {
const vulnKey = `${vuln.PkgName}-${vuln.InstalledVersion}-${vuln.VulnerabilityID}`;
if (!uniqueVulns.has(vulnKey)) {
uniqueVulns.add(vulnKey);
sectionBody += `| ${vuln.PkgName} | ${vuln.InstalledVersion} | [${vuln.VulnerabilityID}](https://nvd.nist.gov/vuln/detail/${vuln.VulnerabilityID}) | ${vuln.Severity} |\n`;
}
});
}
});
} else {
sectionBody += '🎉 No vulnerabilities found!\n';
}
return sectionBody;
}
try {
const imageResults = JSON.parse(fs.readFileSync('trivy-image-results.json', 'utf8'));
const fsResults = JSON.parse(fs.readFileSync('trivy-fs-results.json', 'utf8'));
commentBody += processResults(imageResults, "Docker Image Scan Results");
commentBody += '\n';
commentBody += processResults(fsResults, "Source Code Scan Results");
} catch (error) {
commentBody += `There was an error while running the security scan: ${error.message}\n`;
commentBody += 'Please contact the core team for assistance.';
}
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: commentBody
});
+3
View File
@@ -145,3 +145,6 @@ jobs:
- name: Run ${{matrix.service}} Tests
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
- name: Run ${{matrix.service}} Shared Tables Tests
run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
+1 -1
View File
@@ -1,4 +1,4 @@
[submodule "app/console"]
path = app/console
url = https://github.com/appwrite/console
branch = 4.3.5
branch = 4.3.30
+83
View File
@@ -1,3 +1,86 @@
# Version 1.5.10
## What's Changed
### Notable changes
* Bump console to version 4.3.30 in [#8520](https://github.com/appwrite/appwrite/pull/8520)
### Fixes
* Fix migration stuck at "Starting Data Migration [...]" in [#8519](https://github.com/appwrite/appwrite/pull/8519)
# Version 1.5.9
## What's Changed
### Notable changes
* Add Darija (Moroccan Arabic) translation file in [7501](https://github.com/appwrite/appwrite/pull/7501)
* Bump console to version 4.3.29 in [8504](https://github.com/appwrite/appwrite/pull/8504)
### Fixes
* Fix domain check in [8472](https://github.com/appwrite/appwrite/pull/8472)
* Fix "API must be called in the coroutine" in [8495](https://github.com/appwrite/appwrite/pull/8495)
* Bump executor version from 0.5.5 to 0.5.7 in [8502](https://github.com/appwrite/appwrite/pull/8502)
### Miscellaneous
* Add profiler for debugging in [8397](https://github.com/appwrite/appwrite/pull/8397)
* Document APIs that don't support redirects in [8233](https://github.com/appwrite/appwrite/pull/8233)
# Version 1.5.8
## What's Changed
### Notable changes
* Support Twilio messaging service SID in [8222](https://github.com/appwrite/appwrite/pull/8222)
* Improve cache performance in [8230](https://github.com/appwrite/appwrite/pull/8230)
* Add hk in translations in [8179](https://github.com/appwrite/appwrite/pull/8179)
* Update pwd abuse in [8255](https://github.com/appwrite/appwrite/pull/8255)
* Remove detailed trace in [8374](https://github.com/appwrite/appwrite/pull/8374)
* Remove relationship attributes from realtime event payloads in [8381](https://github.com/appwrite/appwrite/pull/8381)
* Sanitize URLs in emails in [8415](https://github.com/appwrite/appwrite/pull/8415)
* Bump console to version 4.3.27 in [8482](https://github.com/appwrite/appwrite/pull/8482)
### Fixes
* Ensure usage is counted for errors in [8120](https://github.com/appwrite/appwrite/pull/8120)
* Fix MFA for OAuth2 only accounts in [8245](https://github.com/appwrite/appwrite/pull/8245)
* Delete Expired Targets Per Project in [8239](https://github.com/appwrite/appwrite/pull/8239)
* Don't set the target field if the existing target document is false in [8236](https://github.com/appwrite/appwrite/pull/8236)
* Disable validation for project DBs during migration in [8298](https://github.com/appwrite/appwrite/pull/8298)
* Add `default` to Collection Attributes in Migration in [8271](https://github.com/appwrite/appwrite/pull/8271)
* Fix Create bucket endpoint validator for maximum file size in [8275](https://github.com/appwrite/appwrite/pull/8275)
* Disable validation for subquery to prevent error in [8297](https://github.com/appwrite/appwrite/pull/8297)
* Fix 'Missing required attribute "expire"' on `users.createSession()` in [8308](https://github.com/appwrite/appwrite/pull/8308)
* Fix certificate emails in [8292](https://github.com/appwrite/appwrite/pull/8292)
* Fix browser-cached deleted file in [8264](https://github.com/appwrite/appwrite/pull/8264)
* Fix migration of firebase users [8377](https://github.com/appwrite/appwrite/pull/8377)
* Fix `path` for vcs function deployments in [8408](https://github.com/appwrite/appwrite/pull/8408)
* Fix calculations in [8431](https://github.com/appwrite/appwrite/pull/8431)
* Fix bugs with migrations in [8442](https://github.com/appwrite/appwrite/pull/8442)
* Fix queueForUsage not triggering for domain executions in [8463](https://github.com/appwrite/appwrite/pull/8463)
* Fix realtime permission change in [8416](https://github.com/appwrite/appwrite/pull/8416)
### Miscellaneous
* Bump base image from 0.9.0 to 0.9.1 in [8238](https://github.com/appwrite/appwrite/pull/8238)
* Use latest Platform and add Core module in [7936](https://github.com/appwrite/appwrite/pull/7936)
* Add Test to Validate Headers aren't Overridden in [8228](https://github.com/appwrite/appwrite/pull/8228)
* Fix hyperlink in storage docs in [8269](https://github.com/appwrite/appwrite/pull/8269)
* Update cache & database in [8285](https://github.com/appwrite/appwrite/pull/8285)
* Fix flaky certificate test in [8316](https://github.com/appwrite/appwrite/pull/8316)
* Fix flaky function test in [8317](https://github.com/appwrite/appwrite/pull/8317)
* Update account API reference in [8305](https://github.com/appwrite/appwrite/pull/8305)
* Update functions API reference in [8346](https://github.com/appwrite/appwrite/pull/8346)
* Implement deploymentsStorage metric for projects API in [8258](https://github.com/appwrite/appwrite/pull/8258)
* Add new audit events in [8424](https://github.com/appwrite/appwrite/pull/8424)
* Move mbSeconds into 1.5.x in [8449](https://github.com/appwrite/appwrite/pull/8449)
* Clean projects cache while migrating in [8395](https://github.com/appwrite/appwrite/pull/8395)
* Use git tags for function template in [8445](https://github.com/appwrite/appwrite/pull/8445)
# Version 1.5.7
## What's Changed
+12
View File
@@ -497,6 +497,18 @@ If you are in PHP Storm you don't need any plugin. Below are the settings requir
2. If needed edit the **dev/xdebug.ini** file to your needs.
3. Launch your Appwrite instance while your debugger is listening for connections.
## Profiling
Appwrite uses XDebug [Profiler](https://xdebug.org/docs/profiler) for generating **CacheGrind** files. The generated file would be located in each of the `appwrite` containers inside the `/tmp/xdebug` folder.
To disable the profiler while debugging remove the `,profiler` mode from the `xdebug.ini` file
```diff
zend_extension=xdebug
[xdebug]
-xdebug.mode=develop,debug,profile
+xdebug.mode=develop,debug
```
### VS Code Launch Configuration
```json
+5 -4
View File
@@ -1,4 +1,4 @@
FROM composer:2.0 as composer
FROM composer:2.0 AS composer
ARG TESTING=false
ENV TESTING=$TESTING
@@ -12,7 +12,7 @@ RUN composer install --ignore-platform-reqs --optimize-autoloader \
--no-plugins --no-scripts --prefer-dist \
`if [ "$TESTING" != "true" ]; then echo "--no-dev"; fi`
FROM --platform=$BUILDPLATFORM node:20.11.0-alpine3.19 as node
FROM --platform=$BUILDPLATFORM node:20.11.0-alpine3.19 AS node
COPY app/console /usr/local/src/console
@@ -29,7 +29,7 @@ ENV VITE_APPWRITE_GROWTH_ENDPOINT=$VITE_APPWRITE_GROWTH_ENDPOINT
RUN npm ci
RUN npm run build
FROM appwrite/base:0.9.0 as final
FROM appwrite/base:0.9.1 AS final
LABEL maintainer="team@appwrite.io"
@@ -108,9 +108,10 @@ RUN mkdir -p /etc/letsencrypt/live/ && chmod -Rf 755 /etc/letsencrypt/live/
# Enable Extensions
RUN if [ "$DEBUG" == "true" ]; then cp /usr/src/code/dev/xdebug.ini /usr/local/etc/php/conf.d/xdebug.ini; fi
RUN if [ "$DEBUG" == "true" ]; then mkdir -p /tmp/xdebug; fi
RUN if [ "$DEBUG" = "false" ]; then rm -rf /usr/src/code/dev; fi
RUN if [ "$DEBUG" = "false" ]; then rm -f /usr/local/lib/php/extensions/no-debug-non-zts-20220829/xdebug.so; fi
EXPOSE 80
CMD [ "php", "app/http.php" ]
CMD [ "php", "app/http.php" ]
+3 -3
View File
@@ -67,7 +67,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
### Windows
@@ -79,7 +79,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
#### PowerShell
@@ -89,7 +89,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。
+3 -3
View File
@@ -75,7 +75,7 @@ docker run -it --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \
--entrypoint="install" \
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
### Windows
@@ -87,7 +87,7 @@ docker run -it --rm ^
--volume //var/run/docker.sock:/var/run/docker.sock ^
--volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^
--entrypoint="install" ^
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
#### PowerShell
@@ -97,7 +97,7 @@ docker run -it --rm `
--volume /var/run/docker.sock:/var/run/docker.sock `
--volume ${pwd}/appwrite:/usr/src/code/appwrite:rw `
--entrypoint="install" `
appwrite/appwrite:1.5.7
appwrite/appwrite:1.5.10
```
Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation.
+5 -5
View File
@@ -108,8 +108,9 @@ CLI::setResource('getProjectDB', function (Group $pools, Database $dbForConsole,
if (isset($databases[$dsn->getHost()])) {
$database = $databases[$dsn->getHost()];
$sharedTables = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', ''));
if ($dsn->getHost() === DATABASE_SHARED_TABLES) {
if (\in_array($dsn->getHost(), $sharedTables)) {
$database
->setSharedTables(true)
->setTenant($project->getInternalId())
@@ -130,10 +131,10 @@ CLI::setResource('getProjectDB', function (Group $pools, Database $dbForConsole,
->getResource();
$database = new Database($dbAdapter, $cache);
$databases[$dsn->getHost()] = $database;
$sharedTables = \explode(',', System::getEnv('_APP_DATABASE_SHARED_TABLES', ''));
if ($dsn->getHost() === DATABASE_SHARED_TABLES) {
if (\in_array($dsn->getHost(), $sharedTables)) {
$database
->setSharedTables(true)
->setTenant($project->getInternalId())
@@ -185,7 +186,6 @@ CLI::setResource('logError', function (Registry $register) {
$log->addExtra('file', $error->getFile());
$log->addExtra('line', $error->getLine());
$log->addExtra('trace', $error->getTraceAsString());
$log->addExtra('detailedTrace', $error->getTrace());
$log->setAction($action);
@@ -202,7 +202,7 @@ CLI::setResource('logError', function (Registry $register) {
}, ['register']);
$platform = new Appwrite();
$platform->init(Service::TYPE_CLI);
$platform->init(Service::TYPE_TASK);
$cli = $platform->getCli();
@@ -4,7 +4,9 @@
<table border="0" cellspacing="0" cellpadding="0" style="padding-top: 10px; padding-bottom: 10px; display: inline-block;">
<tr>
<td align="center" style="border-radius: 8px; background-color: #ffffff;">
<p style="text-align: start; font-size: 14px; font-family: Inter; color: #414146; text-decoration: none; border-radius: 8px; padding: 32px; border: 1px solid #EDEDF0; display: inline-block; word-break: break-word;">{{error}}</p>
<p style="text-align: start; font-size: 14px; font-family: Inter; color: #414146; text-decoration: none; border-radius: 8px; padding: 32px; border: 1px solid #EDEDF0; display: inline-block; word-break: break-word;">
{{error}}
</p>
</td>
</tr>
</table>
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroasië",
"countries.ht": "Haiti",
+238
View File
@@ -0,0 +1,238 @@
{
"settings.inspire": "\"الفن ديال الحكمة هو الفن ديال أنك تعرف أش تنخّل.\"",
"settings.locale": "ar-ma",
"settings.direction": "rtl",
"emails.sender": "فرقة %s",
"emails.verification.subject": "التيْقان ديال الحساب",
"emails.verification.hello": "السلام {{user}}",
"emails.verification.body": "تبّع هاد الوصلة باش تيقّن لادريسة تاع ليميل ديالك.",
"emails.verification.footer": "إلا ماشي نتا اللي طلبتي تيقّن هاد لادريسة تاع ليميل، ممكن تنخّل هاد البرية.",
"emails.verification.thanks": "شكرا",
"emails.verification.signature": "فرقة {{project}}",
"emails.magicSession.subject": "تكونيكطا",
"emails.magicSession.hello": "السلام,",
"emails.magicSession.body": "تبّع هاد الوصلة باش تتكونيكطا.",
"emails.magicSession.footer": "إلا ماشي نتا اللي طلبتي تتكونيكطا بهاد ليميل، ممكن تنخّل هاد البرية.",
"emails.magicSession.thanks": "شكرا",
"emails.magicSession.signature": "فرقة {{project}}",
"emails.recovery.subject": "تبدال كلمة السر",
"emails.recovery.hello": "السلام {{user}}",
"emails.recovery.body": "تبّع هاد الوصلة باش تبدّل كلمة السر تاع {{project}}.",
"emails.recovery.footer": "إلا ماشي نتا اللي طلبتي تبدّل كلمة السر، ممكن تنخّل هاد البرية.",
"emails.recovery.thanks": "شكرا",
"emails.recovery.signature": "فرقة {{project}}",
"emails.invitation.subject": "عراضة ل فرقة %s ف %s",
"emails.invitation.hello": "السلام",
"emails.invitation.body": "هاد البرية تصيفطات ليك حيت {{owner}} بغى يعرض عليك تولّي عضو ف فرقة {{team}} عند {{project}}.",
"emails.invitation.footer": "إلا كنتي ما مسوّقش, ممكن تنخّل هاد البرية.",
"emails.invitation.thanks": "شكرا",
"emails.invitation.signature": "فرقة {{project}}",
"emails.certificate.subject": "السرتافيكة فشلات ل %s",
"emails.certificate.hello": "السلام",
"emails.certificate.body": "السرتافيكة ديال الضومين ديالك '{{domain}}' ما قدّاتش تجينيرا. هادي هي المحاولة نمرة {{attempt}}, السبب ديال هاد الفشل هو: {{error}}",
"emails.certificate.footer": "السرتافيكة الفايتة ديالك غاتبقى مزيانة لمدة 30 يوم من عند أول فشل. كانشجعوك بزاف أنك تبقشش فهاد الموضوع, وا إلّا الضومين ديالك ما غايبقاش خدّام فيه الـ SSL.",
"emails.certificate.thanks": "شكرا",
"emails.certificate.signature": "فرقة {{project}}",
"locale.country.unknown": "ما معروفش",
"countries.af": "أفغانستان",
"countries.ao": "أنڭولا",
"countries.al": "ألبانيا",
"countries.ad": "أندورا",
"countries.ae": "الإمارات العربية المتّاحدة",
"countries.ar": "الأرجنتين",
"countries.am": "أرمينيا",
"countries.ag": "أنتيڭوا وبربودا",
"countries.au": "ؤسطراليا",
"countries.at": "النامسا",
"countries.az": "أديربيجان",
"countries.bi": "بوروندي",
"countries.be": "بلجيكا",
"countries.bj": "بينين",
"countries.bf": "بوركينا فاصو",
"countries.bd": "بنڭلاديش",
"countries.bg": "بلڭاريا",
"countries.bh": "البحرين",
"countries.bs": "دزيرات البهاما",
"countries.ba": "البوسنة ؤ الهرسك",
"countries.by": "بيلاروسيا",
"countries.bz": "بيليز",
"countries.bo": "بوليڤيا",
"countries.br": "البرازيل",
"countries.bb": "باربادوس",
"countries.bn": "بروناي",
"countries.bt": "بوتان",
"countries.bw": "بوتسوانا",
"countries.cf": "جمهورية إفريقيا الوسطانية",
"countries.ca": "كانادا",
"countries.ch": "سويسرا",
"countries.cl": "تشيلي",
"countries.cn": "الشينوا",
"countries.ci": "ساحل العاج",
"countries.cm": "الكاميرون",
"countries.cd": "جمهورية الكونڭو الديمقراطية",
"countries.cg": "جمهورية الكونڭو",
"countries.co": "كولومبيا",
"countries.km": "دزيرات القومور",
"countries.cv": "الراس الخضر",
"countries.cr": "كوسطاريكا",
"countries.cu": "كوبا",
"countries.cy": "قوبروص",
"countries.cz": "التشيك",
"countries.de": "ألمانيا",
"countries.dj": "دجيبوتي",
"countries.dm": "ضومينيكا",
"countries.dk": "الدنمارك",
"countries.do": "جمهورية الضومينيكان",
"countries.dz": "الدزاير",
"countries.ec": "إكوادور",
"countries.eg": "مصر",
"countries.er": "إريتريا",
"countries.es": "سبانيا",
"countries.ee": "إسطونيا",
"countries.et": "إتيوپيا",
"countries.fi": "فينلاندا",
"countries.fj": "فيدجي",
"countries.fr": "فرانسا",
"countries.fm": "ميكرونيزيا",
"countries.ga": "الڭابون",
"countries.gb": "المملكة المتّاحدة",
"countries.ge": "تجورجيا",
"countries.gh": "غانا",
"countries.gn": "غينيا",
"countries.gm": "ڭامبيا",
"countries.gw": "غينيا بيساو",
"countries.gq": "غينيا الستوائية",
"countries.gr": "اليونان",
"countries.gd": "ڭرينادا",
"countries.gt": "ڭواتيمالا",
"countries.gy": "ڭيانا",
"countries.hn": "هوندوراس",
"countries.hr": "كرواتيا",
"countries.ht": "هايتي",
"countries.hu": "الماجر",
"countries.id": "إندونيسيا",
"countries.in": "الهند",
"countries.ie": "إرلاندا",
"countries.ir": "إران",
"countries.iq": "العراق",
"countries.is": "إسلاندا",
"countries.il": "إسرائيل",
"countries.it": "الطاليان",
"countries.jm": "جامايكا",
"countries.jo": "الأردن",
"countries.jp": "الجاپون",
"countries.kz": "كازاخستان",
"countries.ke": "كينيا",
"countries.kg": "قيرغيزستان",
"countries.kh": "كمبوديا",
"countries.ki": "كيريباتي",
"countries.kn": "سانت كيتس ؤ نيفيس",
"countries.kr": "كوريا الجنوبية",
"countries.kw": "الكويت",
"countries.la": "لاوس",
"countries.lb": "لبنان",
"countries.lr": "ليبيريا",
"countries.ly": "ليبيا",
"countries.lc": "سانت لوسيا",
"countries.li": "ليختنشتاين",
"countries.lk": "سري لانكا",
"countries.ls": "ليسوتو",
"countries.lt": "ليتوانيا",
"countries.lu": "لوكسمبورڭ",
"countries.lv": "لاتفيا",
"countries.ma": "المغريب",
"countries.mc": "موناكو",
"countries.md": "مولضوڤا",
"countries.mg": "ماداغشقار",
"countries.mv": "دزيرات المالديڤ",
"countries.mx": "الميكسيك",
"countries.mh": "دزيرات مارشال",
"countries.mk": "مقدونيا",
"countries.ml": "مالي",
"countries.mt": "مالطا",
"countries.mm": "ميانمار",
"countries.me": "مونطينيڭرو",
"countries.mn": "منغوليا",
"countries.mz": "الموزمبيق",
"countries.mr": "موريتانيا",
"countries.mu": "موريشيوس",
"countries.mw": "مالاوي",
"countries.my": "ماليزيا",
"countries.na": "ناميبيا",
"countries.ne": "النيجر",
"countries.ng": "نيجيريا",
"countries.ni": "نيكاراڭوا",
"countries.nl": "هولاندا",
"countries.no": "النرويج",
"countries.np": "نيپال",
"countries.nr": "ناورو",
"countries.nz": "نيوزيلاندا",
"countries.om": "عمّان",
"countries.pk": "پاكيستان",
"countries.pa": "پاناما",
"countries.pe": "الپيرو",
"countries.ph": "الفيليپين",
"countries.pw": "پالاو",
"countries.pg": "پاپوا غينيا الجديدة",
"countries.pl": "پولاندا",
"countries.kp": "كوريا الشمالية",
"countries.pt": "البرطقيز",
"countries.py": "الپاراڭواي",
"countries.qa": "قطر",
"countries.ro": "رومانيا",
"countries.ru": "روسيا",
"countries.rw": "روّاندا",
"countries.sa": "المملكة العربية السعودية",
"countries.sd": "السودان",
"countries.sn": "السينيڭال",
"countries.sg": "سنغافورة",
"countries.sb": "دزيرات سليمان",
"countries.sl": "صييراليون",
"countries.sv": "السالڤاضور",
"countries.sm": "سان مارينو",
"countries.so": "الصومال",
"countries.rs": "صيربيا",
"countries.ss": "جنوب السودان",
"countries.st": "صاو طومي ؤ پرينسيپي",
"countries.sr": "سورينام",
"countries.sk": "صلوڤاكيا",
"countries.si": "صلوڤينيا",
"countries.se": "السويد",
"countries.sz": "سوازيلاند",
"countries.sc": "السيشيل",
"countries.sy": "سوريا",
"countries.td": "تشاد",
"countries.tg": "الطوڭو",
"countries.th": "الطايلوند",
"countries.tj": "طادجيكيستان",
"countries.tm": "تركمانيستان",
"countries.tl": "تيمور الشرقية",
"countries.to": "تونڭا",
"countries.tt": "ترينيداد ؤ طوباڭو",
"countries.tn": "تونس",
"countries.tr": "توركيا",
"countries.tv": "توڤالو",
"countries.tz": "طنزانيا",
"countries.ug": "ؤڭاندا",
"countries.ua": "ؤكرانيا",
"countries.uy": "ؤروڭواي",
"countries.us": "ميريكان",
"countries.uz": "ؤزباكيستان",
"countries.va": "مدينة الڤاتيكان",
"countries.vc": "سانت ڤانسون ؤ دزيرات ڭرينادين",
"countries.ve": "ڤينيزويلا",
"countries.vn": "ڤيطنام",
"countries.vu": "ڤانواتو",
"countries.ws": "ساموا",
"countries.ye": "اليمن",
"countries.za": "جنوب إفريقيا",
"countries.zm": "زامبيا",
"countries.zw": "زيمبابوي",
"continents.af": "أفريقيا",
"continents.an": "القارة القطبية الجنوبية",
"continents.as": "أسيا",
"continents.eu": "ؤروپا",
"continents.na": "ميريكان الشمالية",
"continents.oc": "ؤقيانوسيا",
"continents.sa": "ميريكان الجنوبية"
}
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "غرينادا",
"countries.gt": "غواتيمالا",
"countries.gy": "غيانا",
"countries.hk": "هونغ كونغ",
"countries.hn": "هندوراس",
"countries.hr": "كرواتيا",
"countries.ht": "هايتي",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "গ্ৰেনাডা",
"countries.gt": "গুয়াতেমালা",
"countries.gy": "গায়ানা",
"countries.hk": "হং কং",
"countries.hn": "হণ্ডুৰাছ",
"countries.hr": "ক্ৰোৱেছিয়া",
"countries.ht": "হাইতি",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Qrenada",
"countries.gt": "Qvatemala",
"countries.gy": "Guyana",
"countries.hk": "Honq Konq",
"countries.hn": "Honduras",
"countries.hr": "Xorvatiya",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Грэнада",
"countries.gt": "Гватэмала",
"countries.gy": "Гаяна",
"countries.hk": "Гонконг",
"countries.hn": "Гандурас",
"countries.hr": "Харватыя",
"countries.ht": "Гаіці",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Гренада",
"countries.gt": "Гватемала",
"countries.gy": "Гвиана",
"countries.hk": "Хонг Конг",
"countries.hn": "Хондурас",
"countries.hr": "Хърватия",
"countries.ht": "Хаити",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ग्रेनाडा",
"countries.gt": "ग्वाटेमाला",
"countries.gy": "गयाना",
"countries.hk": "हांगकांग",
"countries.hn": "होंडुरस",
"countries.hr": "क्रोएशिया",
"countries.ht": "हैती",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "গ্রেনাডা",
"countries.gt": "গুয়াতেমালা",
"countries.gy": "গায়ানা",
"countries.hk": "হংকং",
"countries.hn": "হন্ডুরাস",
"countries.hr": "ক্রোয়েশিয়া",
"countries.ht": "হাইতি",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Gvajana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Hrvatska",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Granada",
"countries.gt": "Guatemala",
"countries.gy": "Guaiana",
"countries.hk": "Hong Kong",
"countries.hn": "Hondures",
"countries.hr": "Croàcia",
"countries.ht": "Haití",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Chorvatsko",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatien",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatien",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Γρενάδα",
"countries.gt": "Γουατεμάλα",
"countries.gy": "Γουιάνα",
"countries.hk": "Χονγκ Κονγκ",
"countries.hn": "Ονδούρα",
"countries.hr": "Κροατία",
"countries.ht": "Αϊτή",
+7
View File
@@ -43,6 +43,12 @@
"emails.invitation.footer": "If you are not interested, you can ignore this message.",
"emails.invitation.thanks": "Thanks",
"emails.invitation.signature": "{{project}} team",
"emails.certificate.subject": "Certificate failure for %s",
"emails.certificate.hello": "Hello",
"emails.certificate.body": "Certificate for your domain '{{domain}}' could not be generated. This is attempt no. {{attempt}}, and the failure was caused by: {{error}}",
"emails.certificate.footer": "Your previous certificate will be valid for 30 days since the first failure. We highly recommend investigating this case, otherwise your domain will end up without a valid SSL communication.",
"emails.certificate.thanks": "Thanks",
"emails.certificate.signature": "{{project}} team",
"sms.verification.body": "{{secret}}",
"locale.country.unknown": "Unknown",
"countries.af": "Afghanistan",
@@ -117,6 +123,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
+1
View File
@@ -99,6 +99,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Granada",
"countries.gt": "Guatemala",
"countries.gy": "Guayana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croacia",
"countries.ht": "Haití",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "گرنادا",
"countries.gt": "گواتمالا",
"countries.gy": "گویان",
"countries.hk": "هنگ کنگ",
"countries.hn": "هندوراس",
"countries.hr": "کرواسی",
"countries.ht": "هائیتی",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Gujana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenade",
"countries.gt": "Guatemala",
"countries.gy": "Guyane",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatie",
"countries.ht": "Haïti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Greanáda",
"countries.gt": "Guatamala",
"countries.gy": "An Ghuáin",
"countries.hk": "Hong Kong",
"countries.hn": "Hondúras",
"countries.hr": "An Chróit",
"countries.ht": "Háítí",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ગ્રેનાડા",
"countries.gt": "ગ્વાટેમાલા",
"countries.gy": "ગુયાના",
"countries.hk": "હોંગ કોંગ",
"countries.hn": "હોન્ડુરાસ",
"countries.hr": "ક્રોએશિયા",
"countries.ht": "હૈતી",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "גרנדה",
"countries.gt": "גואטמלה",
"countries.gy": "גיאנה",
"countries.hk": "הונג קונג",
"countries.hn": "הונדורס",
"countries.hr": "קרואטיה",
"countries.ht": "האיטי",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ग्रेनाडा",
"countries.gt": "ग्वाटेमाला",
"countries.gy": "गयाना",
"countries.hk": "हांग कांग",
"countries.hn": "होंडुरस",
"countries.hr": "क्रोएशिया",
"countries.ht": "हैती",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gvatemala",
"countries.gy": "Gvajana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Hrvatska",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Horvátország",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Գրենադա",
"countries.gt": "Գվատեմալա",
"countries.gy": "Գայանա",
"countries.hk": "Հոնգ Կոնգ",
"countries.hn": "Գոնդուրաս",
"countries.hr": "Խորվաթիա",
"countries.ht": "Հաիթի",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroasia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gvatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Hondúras",
"countries.hr": "Króatía",
"countries.ht": "Haítí",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croazia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "グレナダ",
"countries.gt": "グアテマラ",
"countries.gy": "ガイアナ",
"countries.hk": "香港",
"countries.hn": "ホンジュラス",
"countries.hr": "クロアチア",
"countries.ht": "ハイチ",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ហ្គ្រេណាដា",
"countries.gt": "ហ្គាតេម៉ាឡា",
"countries.gy": "ហ្គីយ៉ាណា",
"countries.hk": "ហុងកុង",
"countries.hn": "ហុងឌូរ៉ាស",
"countries.hr": "ក្រូអាត",
"countries.ht": "ហៃទី",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ಗ್ರೆನಡಾ",
"countries.gt": "ಗ್ವಾಟೆಮಾಲಾ",
"countries.gy": "ಗಯಾನಾ",
"countries.hk": "ಹಾಂಗ್ ಕಾಂಗ್",
"countries.hn": "ಹೊಂಡುರಾಸ್",
"countries.hr": "ಕ್ರೊಯೇಷಿಯಾ",
"countries.ht": "ಹೈಟಿ",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "그레나다",
"countries.gt": "과테말라",
"countries.gy": "기아나",
"countries.hk": "홍콩",
"countries.hn": "온두라스",
"countries.hr": "크로아티아",
"countries.ht": "아이티",
+2 -1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
@@ -250,4 +251,4 @@
"emails.certificate.thanks": "Gratias",
"emails.certificate.signature": "team {{project}}",
"sms.verification.body": "{{secret}}"
}
}
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gvatemala",
"countries.gy": "Gajana",
"countries.hk": "Honkongas",
"countries.hn": "Hondūras",
"countries.hr": "Kroatija",
"countries.ht": "Haitis",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gvatemala",
"countries.gy": "Gajāna",
"countries.hk": "Honkonga",
"countries.hn": "Hondurasa",
"countries.hr": "Horvātija",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ഗ്രെനാഡ",
"countries.gt": "ഗ്വാട്ടിമാല",
"countries.gy": "ഗയാന",
"countries.hk": "ഹോങ്കോങ്",
"countries.hn": "ഹോണ്ടുറാസ്",
"countries.hr": "ക്രോയേഷ്യ",
"countries.ht": "ഹെയ്തി",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ग्रेनाडा",
"countries.gt": "ग्वाटेमाला",
"countries.gy": "गुयाना",
"countries.hk": "हाँगकांग",
"countries.hn": "होंडुरास",
"countries.hr": "क्रोएशिया",
"countries.ht": "हैती",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Granada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ग्रेनेडा",
"countries.gt": "ग्वाटेमाला",
"countries.gy": "गुयाना",
"countries.hk": "हाँगकाँग",
"countries.hn": "होन्डुरस",
"countries.hr": "क्रोएशिया",
"countries.ht": "हैती",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hongkong",
"countries.hn": "Honduras",
"countries.hr": "Croatië",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ଗ୍ରେନାଡା",
"countries.gt": "ଗୁଆଟେମାଲା",
"countries.gy": "ଗୁଇନ୍ଦା",
"countries.hk": "ହଂ କଙ୍ଗ",
"countries.hn": "ହୋଣ୍ଡୁରାସ୍",
"countries.hr": "କ୍ରୋଏସିଆ",
"countries.ht": "ହାଇତି",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ਗ੍ਰੇਨਾਡਾ",
"countries.gt": "ਗੁਆਟੇਮਾਲਾ",
"countries.gy": "ਗੇਆਨਾ",
"countries.hk": "ਹਾਂਗ ਕਾਂਗ",
"countries.hn": "ਹੌਂਡੂਰਸ",
"countries.hr": "ਕਰੋਸ਼ੀਆ",
"countries.ht": "ਹੈਤੀ",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gwatemala",
"countries.gy": "Gujana",
"countries.hk": "Hongkong",
"countries.hn": "Honduras",
"countries.hr": "Chorwacja",
"countries.ht": "Haiti",
@@ -100,6 +100,7 @@
"countries.gd": "Granada",
"countries.gt": "Guatemala",
"countries.gy": "Guiana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croácia",
"countries.ht": "Haiti",
@@ -100,6 +100,7 @@
"countries.gd": "Granada",
"countries.gt": "Guatemala",
"countries.gy": "Guiana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croácia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croația",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Гренада",
"countries.gt": "Гватемала",
"countries.gy": "Гайана",
"countries.hk": "Гонконг",
"countries.hn": "Гондурас",
"countries.hr": "Хорватия",
"countries.ht": "Гаити",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ग्रेनेडा",
"countries.gt": "ग्वाटेमाला",
"countries.gy": "गुयाना",
"countries.hk": "हांगकांग",
"countries.hn": "होंडुरस्‌",
"countries.hr": "क्रोएशिया",
"countries.ht": "हैती",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "گرينڊا",
"countries.gt": "گٽيمالا",
"countries.gy": "گيانا",
"countries.hk": "هانگ کانگ",
"countries.hn": "هونڊرس",
"countries.hr": "ڪوريٽيا",
"countries.ht": "هيٽي",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "ග්‍රෙනාඩා",
"countries.gt": "ග්වාතමාලාව",
"countries.gy": "ගයනා",
"countries.hk": "හොංකොං",
"countries.hn": "හොන්ඩුරාස්",
"countries.hr": "ක්‍රොඒෂියාව",
"countries.ht": "හයිටි",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hongkong",
"countries.hn": "Honduras",
"countries.hr": "Chorvátsko",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Gvatemala",
"countries.gy": "Gvajana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Hrvaška",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guajana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroacia",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroatien",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "கிரெனடா",
"countries.gt": "குவாத்தமாலா",
"countries.gy": "கயானா",
"countries.hk": "ஹாங்காங்",
"countries.hn": "ஹொண்டூராஸ்",
"countries.hr": "குரோவாசியா",
"countries.ht": "ஹைத்தி",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "గ్రెనడా",
"countries.gt": "గ్వాటెమాల",
"countries.gy": "గయానా",
"countries.hk": "హాంగ్ కొంగ",
"countries.hn": "హోండురాస్",
"countries.hr": "క్రొయేషియా",
"countries.ht": "హైతీ",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "เกรเนดา",
"countries.gt": "กัวเตมาลา",
"countries.gy": "กายอานา",
"countries.hk": "ฮ่องกง",
"countries.hn": "ฮอนดูรัส",
"countries.hr": "โครเอเชีย",
"countries.ht": "ไฮติ",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guwatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Kroasya",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Hırvatistan",
"countries.ht": "Haiti",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Гренада",
"countries.gt": "Гватемала",
"countries.gy": "Гайана",
"countries.hk": "Гонконг",
"countries.hn": "Гондурас",
"countries.hr": "Хорватія",
"countries.ht": "Гаїті",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "گریناڈا",
"countries.gt": "گوئٹے مالا",
"countries.gy": "گیانا",
"countries.hk": "ہانگ کانگ",
"countries.hn": "ہونڈوراس",
"countries.hr": "کروشیا",
"countries.ht": "ہیٹی",
+1
View File
@@ -100,6 +100,7 @@
"countries.gd": "Grenada",
"countries.gt": "Guatemala",
"countries.gy": "Guyana",
"countries.hk": "Hong Kong",
"countries.hn": "Honduras",
"countries.hr": "Croatia",
"countries.ht": "Haiti",
@@ -100,6 +100,7 @@
"countries.gd": "格林纳达",
"countries.gt": "危地马拉",
"countries.gy": "圭亚那",
"countries.hk": "香港",
"countries.hn": "洪都拉斯",
"countries.hr": "克罗地亚",
"countries.ht": "海地",
@@ -100,6 +100,7 @@
"countries.gd": "格瑞那達",
"countries.gt": "瓜地馬拉",
"countries.gy": "蓋亞那",
"countries.hk": "香港",
"countries.hn": "宏都拉斯",
"countries.hr": "克羅埃西亞",
"countries.ht": "海地",
+4 -4
View File
@@ -15,7 +15,7 @@ return [
[
'key' => 'web',
'name' => 'Web',
'version' => '14.0.2',
'version' => '15.0.0',
'url' => 'https://github.com/appwrite/sdk-for-web',
'package' => 'https://www.npmjs.com/package/appwrite',
'enabled' => true,
@@ -138,7 +138,7 @@ return [
[
'key' => 'react-native',
'name' => 'React Native',
'version' => '0.3.2',
'version' => '0.4.0',
'url' => 'https://github.com/appwrite/sdk-for-react-native',
'package' => 'https://npmjs.com/package/react-native-appwrite',
'enabled' => true,
@@ -267,7 +267,7 @@ return [
[
'key' => 'deno',
'name' => 'Deno',
'version' => '10.0.2',
'version' => '11.0.0',
'url' => 'https://github.com/appwrite/sdk-for-deno',
'package' => 'https://deno.land/x/appwrite',
'enabled' => true,
@@ -375,7 +375,7 @@ return [
[
'key' => 'dotnet',
'name' => '.NET',
'version' => '0.8.2',
'version' => '0.8.3',
'url' => 'https://github.com/appwrite/sdk-for-dotnet',
'package' => 'https://www.nuget.org/packages/Appwrite',
'enabled' => true,
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+20 -2
View File
@@ -162,13 +162,31 @@ return [
],
[
'name' => '_APP_SYSTEM_SECURITY_EMAIL_ADDRESS',
'description' => 'This is the email address used to issue SSL certificates for custom domains or the user agent in your webhooks payload.',
'description' => 'Deprecated since 1.5.1 use _APP_EMAIL_SECURITY and _APP_EMAIL_CERTIFICATES instead',
'introduction' => '0.7.0',
'default' => 'certs@appwrite.io',
'required' => false,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_EMAIL_SECURITY',
'description' => 'This is the email address used as the user agent in your webhooks payload.',
'introduction' => '1.5.1',
'default' => '',
'required' => false,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_EMAIL_CERTIFICATES',
'description' => 'This is the email address used to issue SSL certificates for custom domains',
'introduction' => '1.5.1',
'default' => '',
'required' => true,
'question' => '',
'filter' => ''
],
[
'name' => '_APP_USAGE_STATS',
'description' => 'This variable allows you to disable the collection and displaying of usage stats. This value is set to \'enabled\' by default, to disable the usage stats set the value to \'disabled\'. When disabled, it\'s recommended to turn off the Worker Usage container to reduce resource usage.',
@@ -450,7 +468,7 @@ return [
],
[
'name' => '_APP_SMS_FROM',
'description' => 'Phone number used for sending out messages. Must start with a leading \'+\' and maximum of 15 digits without spaces (+123456789).',
'description' => 'Phone number used for sending out messages. If using Twilio, this may be a Messaging Service SID, starting with MG. Otherwise, the number must start with a leading \'+\' and maximum of 15 digits without spaces (+123456789). ',
'introduction' => '0.15.0',
'default' => '',
'required' => false,
+13 -8
View File
@@ -86,8 +86,8 @@ $createSession = function (string $userId, string $secret, Request $request, Res
$factor = (match ($verifiedToken->getAttribute('type')) {
Auth::TOKEN_TYPE_MAGIC_URL,
Auth::TOKEN_TYPE_OAUTH2,
Auth::TOKEN_TYPE_EMAIL => 'email',
Auth::TOKEN_TYPE_PHONE => 'phone',
Auth::TOKEN_TYPE_EMAIL => Type::EMAIL,
Auth::TOKEN_TYPE_PHONE => Type::PHONE,
Auth::TOKEN_TYPE_GENERIC => 'token',
default => throw new Exception(Exception::USER_INVALID_TOKEN)
});
@@ -290,7 +290,9 @@ App::post('/v1/account')
$existingTarget = $dbForProject->findOne('targets', [
Query::equal('identifier', [$email]),
]);
$user->setAttribute('targets', [...$user->getAttribute('targets', []), $existingTarget]);
if($existingTarget) {
$user->setAttribute('targets', $existingTarget, Document::SET_TYPE_APPEND);
}
}
$dbForProject->purgeCachedDocument('users', $user->getId());
@@ -1506,7 +1508,7 @@ App::get('/v1/account/sessions/oauth2/:provider/redirect')
'secret' => Auth::hash($secret), // One way hash encryption to protect DB leak
'userAgent' => $request->getUserAgent('UNKNOWN'),
'ip' => $request->getIP(),
'factors' => ['email'],
'factors' => [TYPE::EMAIL, 'oauth2'], // include a special oauth2 factor to bypass MFA checks
'countryCode' => ($record) ? \strtolower($record['country']['iso_code']) : '--',
'expire' => DateTime::addSeconds(new \DateTime(), $duration)
], $detector->getOS(), $detector->getClient(), $detector->getDevice()));
@@ -1670,10 +1672,10 @@ App::post('/v1/account/tokens/magic-url')
->inject('queueForEvents')
->inject('queueForMails')
->action(function (string $userId, string $email, string $url, bool $phrase, Request $request, Response $response, Document $user, Document $project, Database $dbForProject, Locale $locale, Event $queueForEvents, Mail $queueForMails) {
if (empty(System::getEnv('_APP_SMTP_HOST'))) {
throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP disabled');
}
$url = htmlentities($url);
if ($phrase === true) {
$phrase = Phrase::generate();
@@ -2524,6 +2526,7 @@ App::patch('/v1/account/password')
->label('sdk.response.model', Response::MODEL_USER)
->label('sdk.offline.model', '/account')
->label('sdk.offline.key', 'current')
->label('abuse-limit', 10)
->param('password', '', fn ($project, $passwordsDictionary) => new PasswordDictionary($passwordsDictionary, $project->getAttribute('auths', [])['passwordDictionary'] ?? false), 'New user password. Must be at least 8 chars.', false, ['project', 'passwordsDictionary'])
->param('oldPassword', '', new Password(), 'Current user password. Must be at least 8 chars.', true)
->inject('requestTimestamp')
@@ -2857,6 +2860,7 @@ App::post('/v1/account/recovery')
if (empty(System::getEnv('_APP_SMTP_HOST'))) {
throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP Disabled');
}
$url = htmlentities($url);
$roles = Authorization::getRoles();
$isPrivilegedUser = Auth::isPrivilegedUser($roles);
@@ -3120,6 +3124,7 @@ App::post('/v1/account/verification')
throw new Exception(Exception::GENERAL_SMTP_DISABLED, 'SMTP Disabled');
}
$url = htmlentities($url);
if ($user->getAttribute('emailVerification')) {
throw new Exception(Exception::USER_EMAIL_ALREADY_VERIFIED);
}
@@ -3426,7 +3431,7 @@ App::post('/v1/account/verification/phone')
});
App::put('/v1/account/verification/phone')
->desc('Create phone verification (confirmation)')
->desc('Update phone verification (confirmation)')
->groups(['api', 'account'])
->label('scope', 'public')
->label('event', 'users.[userId].verification.[tokenId].update')
@@ -3569,7 +3574,7 @@ App::get('/v1/account/mfa/factors')
});
App::post('/v1/account/mfa/authenticators/:type')
->desc('Add Authenticator')
->desc('Create Authenticator')
->groups(['api', 'account'])
->label('event', 'users.[userId].update.mfa')
->label('scope', 'account')
@@ -3879,7 +3884,7 @@ App::delete('/v1/account/mfa/authenticators/:type')
});
App::post('/v1/account/mfa/challenge')
->desc('Create 2FA Challenge')
->desc('Create MFA Challenge')
->groups(['api', 'account', 'mfa'])
->label('scope', 'account')
->label('event', 'users.[userId].challenges.[challengeId].create')
+1 -1
View File
@@ -321,7 +321,7 @@ App::get('/v1/avatars/favicon')
->setUserAgent(\sprintf(
APP_USERAGENT,
System::getEnv('_APP_VERSION', 'UNKNOWN'),
System::getEnv('_APP_SYSTEM_SECURITY_EMAIL_ADDRESS', APP_EMAIL_SECURITY)
System::getEnv('_APP_EMAIL_SECURITY', System::getEnv('_APP_SYSTEM_SECURITY_EMAIL_ADDRESS', APP_EMAIL_SECURITY))
))
->fetch($url);
} catch (\Throwable) {

Some files were not shown because too many files have changed in this diff Show More