1
0
Fork 0
mirror of synced 2024-08-31 09:51:33 +12:00
Commit graph

11705 commits

Author SHA1 Message Date
Jake Barnby
f95800de73
Revert connection changes 2024-04-12 14:37:15 +12:00
Steven Nguyen
505637d119
Merge pull request #7873 from xuelink/feat-7868-missing-country-for-locale-endpoint-user-inquiry-regarding-addition-of-taiwan-to-countries-list
feat: Added new country `Taiwan` with its translations
2024-04-11 13:16:36 -07:00
Eldad A. Fux
8dd9b58513
Merge pull request #7950 from appwrite/fix-recovery-code-removal
Fix: recovery code removal
2024-04-11 17:28:15 +02:00
Matej Bačo
65115f876c Improve logic for recovery code factor 2024-04-11 07:52:54 +00:00
fogelito
bec10c0052 Add previous Error 2024-04-11 10:49:45 +03:00
fogelito
00ebf5c10f Remove var_dumps 2024-04-11 10:46:18 +03:00
fogelito
c7281af6e2 Move App::init to general.php 2024-04-11 10:28:16 +03:00
Jake Barnby
ff8ebb4f7e
Match memberships on internal ID 2024-04-11 19:09:04 +12:00
fogelito
ab3b1ac51a Add groups 2024-04-11 10:06:07 +03:00
Torsten Dittmann
11fdefa2b8 chore: run formatter 2024-04-10 19:49:16 +02:00
Torsten Dittmann
8cad8f5533 fix: admin mode on console 2024-04-10 19:46:31 +02: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
Matej Bačo
c87a7053b4 Fix bug in MFA protected group 2024-04-10 11:42:20 +00:00
fogelito
84ffc95773 Revert 2024-04-09 18:25:49 +03:00
fogelito
f73f8c9ae1 Move test tp base 2024-04-09 18:24:01 +03:00
fogelito
6edd0ea90d Merge branch 'main' of https://github.com/appwrite/appwrite into collection-not-found
 Conflicts:
	composer.lock
2024-04-09 17:56:52 +03:00
fogelito
d293774bfb revert init 2024-04-09 17:54:33 +03:00
fogelito
a465c625e9 mode 2024-04-09 17:52:30 +03:00
fogelito
2fde4e8e39 revert serviceStatusForDatabases 2024-04-09 17:51:19 +03:00
fogelito
2bbff0e0b6 Disable console project 2024-04-09 17:45:16 +03:00
fogelito
12434fd846 RELATIONSHIP_VALUE_INVALID 2024-04-09 15:38:55 +03:00
fogelito
65ab721c3d InvalidRelationshipValue 2024-04-09 15:32:23 +03:00
Jake Barnby
3859f037a1
Revert "Reclaim only used connections for workers"
This reverts commit fefb60557d.

# Conflicts:
#	app/worker.php
2024-04-09 20:50:33 +12:00
Jake Barnby
b50ec49ac1
Move Connections to pools namespace 2024-04-09 20:26:42 +12:00
Jake Barnby
388f450d89
Fix missing injection 2024-04-09 18:11:08 +12:00
Jake Barnby
4bef6125f7
Use on worker stop to properly reclaim realtime redis connections and unsubscribe 2024-04-09 17:05:44 +12:00
Jake Barnby
fefb60557d
Reclaim only used connections for workers 2024-04-09 17:04:31 +12:00
Jake Barnby
730e7319df
Use connection group to reclaim all use connections for request 2024-04-09 17:03:28 +12:00
Jake Barnby
7b66cc5672
Revert getProjectDB change 2024-04-08 15:48:57 +12:00
Damodar Lohani
4612636144 fix test 2024-04-08 03:45:02 +00:00
Damodar Lohani
82e6db903a prevent functions domain and subdomain to be added as custom domain 2024-04-08 03:29:35 +00:00
Jake Barnby
899bba64d1
Add try/catch/reclaim around sending stats 2024-04-08 14:55:41 +12:00
Jake Barnby
fc4cbb8174
Move getConsole tick inside try/catch 2024-04-08 14:40:51 +12:00
Jake Barnby
293d85525c
Fix on message db resource fetch 2024-04-08 13:43:53 +12:00
Steven Nguyen
201726dcd3
chore(specs): regenerate specs due to update email update 2024-04-04 08:06:33 -07:00
Steven Nguyen
f53dd03b93
feat(messaging): Add attachments param to update email endpoint
The param is added to the end to reduce the impact on param order
in SDKs.
2024-04-04 08:06:33 -07:00
Jake Barnby
2452d3a479
Reclaim only the used connection for realtime 2024-04-04 18:57:33 +13:00
Jake Barnby
479ed3d0b1
Inline defaults 2024-04-04 18:51:40 +13:00
Jake Barnby
8974dcfb39
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-reclaim-only-current-connection
# Conflicts:
#	app/console
#	app/init.php
2024-04-04 17:21:16 +13:00
Jake Barnby
f0ee1926be
Merge pull request #7912 from appwrite/fix-sms-content-too-long
Change SMS verification message to only have the code
2024-04-04 14:56:14 +13:00
Jake Barnby
1f79d953d7
Merge pull request #7906 from appwrite/fix-7832-missing-event-param
Fix delete message event not firing
2024-04-04 14:53:31 +13:00
Steven Nguyen
4a2056890d
fix(storage): add missing chunkId param to create file abuse key
A previous PR added chunkId as an abuse key param to fix a problem where uploading multiple chunks of a file would trigger the `general_rate_limit_exceeded` error. For some reason, the parameter disappeared from the abuse key causing a regression. This PR adds the param back to fix the regression.

Reference:
* https://github.com/appwrite/appwrite/issues/7879
* https://github.com/appwrite/appwrite/pull/7154
2024-04-03 13:28:41 -07:00
Steven Nguyen
4171c86d22
fix(messaging): change SMS verification message to only have the code
Some providers have a limit on the length of the content. For example,
MSG91 has a 30 character limit and passing a longer value wil result
in an error:

     DLT Template variable exceeded max length

As such, we're going to change the content back to how we had it before
1.5 when were were only sending the code by itself until we decide on
a better solution.

Reference:

* https://github.com/appwrite/appwrite/issues/7823#issuecomment-1994618488
2024-04-03 11:53:21 -07:00
Khushboo Verma
f66a65f27b Comment timer tick 2024-04-03 22:54:14 +05:30
Matej Bačo
aaa1465e21 Fix code bugs 2024-04-02 16:58:45 +00:00
Matej Bačo
1234770dc8 CI/CD fixes 2024-04-02 18:48:12 +02: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
Steven Nguyen
18603ac266
fix(messaging): fix delete message event not firing
The parameter and paylaod was missing from the request so it
failed to trigger.

Manually setting the payload is important because the payload
isn't in the response body like it is for create/update
operations.
2024-04-02 08:14:25 -07:00
Damodar Lohani
026f5dde2d set http version to 1.1 for do spaces 2024-04-02 08:35:14 +00:00
Eldad A. Fux
f875c6aa70
Merge pull request #7884 from appwrite/refactor-var-dump
Remove var_dump calls
2024-04-01 20:11:49 +02:00
Steven Nguyen
955eb297ab
Merge pull request #7681 from appwrite/1.5.x-api-descriptions
Email attachment example
2024-04-01 09:50:54 -07:00
Eldad A. Fux
532ed5b340
Merge pull request #7893 from appwrite/fix-oauth-error-code
Fix OAuth error code
2024-04-01 18:36:55 +02:00
Vincent (Wen Yu) Ge
2e2c38871d
Update app/controllers/api/messaging.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-04-01 10:30:12 -04:00
Vincent (Wen Yu) Ge
0ef562ef4d
Update app/controllers/api/messaging.php
Co-authored-by: Steven Nguyen <1477010+stnguyen90@users.noreply.github.com>
2024-04-01 10:30:06 -04:00
Eldad A. Fux
0f321421c1
Merge pull request #7895 from appwrite/feat-use-system-for-env
Updated getEnv to use system lib
2024-04-01 14:58:12 +02:00
Eldad Fux
bbf8b96931 Fixed default format 2024-04-01 14:41:17 +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
ItzNotABug
f2305c2b6c update: remove the redundant call to fetch the topic document again. 2024-04-01 13:46:09 +05:30
Khushboo Verma
75d8cc3327 Updated error code for OAuth error 2024-04-01 13:27:44 +05:30
Steven Nguyen
5ee5ffb288
refactor: remove var_dump calls 2024-03-29 21:24:05 +00:00
Vincent (Wen Yu) Ge
acd7f6ef02 Add same updates for push notifications 2024-03-29 15:59:35 +00:00
Christy Jacob
f8c44c8a50 chore: linter 2024-03-29 10:18:33 +00:00
Matej Bačo
5275d0b021 Merge branch 'refactor-usage-sn' into feat-configurable-collections 2024-03-29 10:48:11 +01:00
xue
6af209b733
Merge branch 'main' into feat-7868-missing-country-for-locale-endpoint-user-inquiry-regarding-addition-of-taiwan-to-countries-list 2024-03-29 03:22:47 +03:00
bhc
020a4bb49c
Add Taiwan country code 2024-03-29 03:14:55 +03:00
Steven Nguyen
ffbf3c0058
Merge pull request #7764 from jgentes/main
Removed redundant commas
2024-03-28 16:25:30 -07:00
bhc
1bd213830b
Add translations for Taiwan in multiple languages 2024-03-27 23:50:21 +03:00
bhc
7581b7ac11
Add Taiwan to list of countries 2024-03-27 23:00:32 +03:00
Steven Nguyen
3c68c7e9cf
Bump console to version 4.0.5 2024-03-25 10:54:33 -07:00
Steven Nguyen
c6118c17e7
chore(sdks): bump versions 2024-03-21 17:21:32 -07:00
fogelito
b7103e9462 tests serviceStatusForDatabases 2024-03-21 22:59:09 +02:00
fogelito
d1be965e8c disable serviceStatusForDatabases 2024-03-21 22:20:39 +02:00
Steven Nguyen
4f9153fd6e
Merge pull request #7846 from appwrite/fix-116-cli-login
Fix CLI login
2024-03-21 11:51:14 -07:00
Christy Jacob
b8077ca665
Merge pull request #7853 from appwrite/fix-functions-domain-permissions-1.5.x
Fix functions domain permissions 1.5.x
2024-03-21 23:43:18 +05:30
Christy Jacob
22652ef4b9
Merge pull request #7824 from appwrite/fix-msg91
Fix msg91 params
2024-03-21 13:12:26 +05:30
Christy Jacob
f2dbda10c0
Merge pull request #7852 from appwrite/fix-function-domain-permissions
Fix function domain permissions
2024-03-21 12:29:21 +05:30
Christy Jacob
380b5f7f84
Merge pull request #7414 from appwrite/remove-cloud-scripts
remove cloud related scripts
2024-03-21 01:27:34 +05:30
Steven Nguyen
7604d35138
fix(functions): fix permissions for function domains
Execution via domain should be blocked if permissions does not contain
any and permissions does not contain guests.
2024-03-20 15:53:41 +00:00
Steven Nguyen
901a1b8b65
fix: remove escaping
It's done automatically when setting the params already.
2024-03-20 15:53:34 +00:00
Steven Nguyen
57533e64b3
chore: remove dead code in error template 2024-03-20 15:53:24 +00:00
Steven Nguyen
47f442b98e
fix(functions): fix permissions for function domains
Execution via domain should be blocked if permissions does not contain
any and permissions does not contain guests.
2024-03-20 15:49:05 +00:00
Steven Nguyen
ac397935a1
fix: remove escaping
It's done automatically when setting the params already.
2024-03-20 15:47:33 +00:00
Steven Nguyen
fcfff2ab04
chore: remove dead code in error template 2024-03-20 15:46:42 +00:00
Matej Bačo
440d924518 Allow getCache override 2024-03-20 14:14:23 +01:00
Matej Bačo
2ae9d0b710 Make realtime resources configurable 2024-03-20 13:47:20 +01:00
shimon
938f98d8fd Merge branch 'refactor-usage-sn' of github.com:appwrite/appwrite into fix-file-size-limit 2024-03-20 11:06:27 +02:00
Steven Nguyen
5eff24567f
fix(webhooks): add DB env vars to webhook worker
Every worker requires the DB env vars because a connection is created on init.
2024-03-19 23:11:25 +00:00
Steven Nguyen
c67b8645c2
chore(sdk-for-cli): bump version to 5.0.1 2024-03-19 22:19:32 +00:00
Steven Nguyen
c8728c3c10
fix(functions): bump executor version to fix docker conflict error 2024-03-19 21:33:22 +00:00
Christy Jacob
446ebfffee
Merge pull request #7683 from appwrite/fix-vcs-silent-mode
Fix vcs silent mode
2024-03-20 02:57:10 +05:30
shimon
fa97ac7019 maximumFileSize fix 2024-03-19 15:16:21 +02:00
shimon
0ee4b95648 maximumFileSize fix 2024-03-19 15:09:03 +02:00
shimon
2213ddb54d maximumFileSize fix 2024-03-19 12:54:47 +02:00
shimon
63a30ed083 maximumFileSize fix 2024-03-19 12:15:39 +02:00
Eldad A. Fux
f824c3c83e
Merge pull request #7838 from appwrite/fix-identities-query-to-use-internal-ids
use internal ids for query
2024-03-18 18:35:01 +01:00
Christy Jacob
eeba452fb5 chore: linter 2024-03-18 12:43:42 +00:00
Christy Jacob
5e6c94d307 chore: update checks 2024-03-18 12:41:51 +00:00
Christy Jacob
a306cb87d8 chore: update avatars API 2024-03-18 12:07:14 +00:00
Damodar Lohani
62b2dc0801 use internal ids 2024-03-18 09:22:15 +00:00
Damodar Lohani
21d4b8feef check user internal Id on membership 2024-03-18 09:01:54 +00:00
Damodar Lohani
2a6da11842 Merge remote-tracking branch 'origin/refactor-usage-sn' into fix-identities-query-to-use-internal-ids 2024-03-18 08:55:30 +00:00
Damodar Lohani
c849ff0b0f use internal ids for query 2024-03-18 08:52:47 +00:00
Damodar Lohani
a75ce14218
Merge pull request #7835 from appwrite/lohanidamodar-patch-5
Admin mode use teamInternalId
2024-03-17 15:50:40 +05:45
Damodar Lohani
d4bc65260f fix linter issues 2024-03-17 09:39:21 +00:00
Damodar Lohani
21d33eaceb
Use team internal ID for checks and queries for membership 2024-03-17 15:08:43 +05:45
Damodar Lohani
c5512ae010
Update init.php 2024-03-17 15:01:09 +05:45
Damodar Lohani
05221334e2
use team internal id in delete memberships 2024-03-17 14:55:31 +05:45
Damodar Lohani
4fcb399867
use team internal id for membership check on update 2024-03-17 14:54:08 +05:45
Damodar Lohani
24319b8417
Fix membership query to use internalId 2024-03-17 14:51:27 +05:45
Jake Barnby
2d03fc1ce0
Fix msg91 params 2024-03-13 15:42:16 +01:00
Jake Barnby
a4bdf63afd
Fix exception wrap order of operations 2024-03-13 12:41:55 +01:00
Jake Barnby
c6ce585fcc
Update version 2024-03-13 11:08:50 +01:00
Jake Barnby
c8e817a019
Merge remote-tracking branch 'origin/refactor-usage-sn' into feat-isolation-modes
# Conflicts:
#	app/controllers/api/teams.php
2024-03-12 10:47:50 +01:00
Steven Nguyen
d167fb3650
Bump appwrite version to 1.5.3 2024-03-11 17:59:12 +01:00
Steven Nguyen
5bbfffff86
Bump console to version 4.0.4 2024-03-11 17:13:50 +01:00
Jake Barnby
a1d86c9b3f
Switch over errors 2024-03-11 16:11:37 +01:00
Jake Barnby
7e1894feb5
Debug 2024-03-11 14:14:32 +01:00
Steven Nguyen
f37e616227
Merge pull request #7780 from appwrite/fix-git-deployments
Fix git deployments
2024-03-11 14:01:54 +01:00
Jake Barnby
550837b572
Pass through query exception message 2024-03-11 13:46:02 +01:00
Jake Barnby
22b3ea7e8d
Catch auth fixes 2024-03-11 13:03:30 +01:00
Jake Barnby
cea4e0d8b6
Wrap all db exceptions in error handler 2024-03-11 12:54:42 +01:00
Steven Nguyen
b19efb619b
feat(events): update build event reset to reset everything
Instead of using setType('') to prevent events from triggering, it
makes more sense to use reset(). However, reset() didn't properly
reset type, resource, deployment, or template. This change makes
sure to reset all those private variables.
2024-03-11 11:17:40 +01:00
Bradley Schofield
9c100758de Update general.php 2024-03-11 10:29:57 +01:00
Bradley Schofield
15a6c510a0 Upload 400s to separate error logger 2024-03-11 10:23:52 +01:00
Steven Nguyen
8e348dbd92
refactor(vcs): reduce nested code 2024-03-10 23:12:19 +01:00
Steven Nguyen
9d6595f85d
fix(vcs): prevent an error with one function deployment stopping others 2024-03-10 23:12:19 +01:00
Steven Nguyen
47fddbe8e5
fix(vcs): fix deployments stuck at processing
Ensure project is passed in the event because the init hook
isn't able to detect the project.

Make sure the build is triggered for each function.

Reset the build event so the shutdown hook doesn't trigger
again.
2024-03-10 23:10:47 +01:00
Jake Barnby
7fc990a56d
Debug 2024-03-10 18:45:50 +01:00
Jake Barnby
9ca1375af3
Fix index lengths given tenant is added 2024-03-09 22:56:20 +01:00
Jake Barnby
40a8bd45fe
Merge pull request #7761 from appwrite/release-1-5-2
release: 1.5.2
2024-03-09 19:09:29 +01:00
Jake Barnby
9d1ccf78af
Update cache baster and image version 2024-03-09 18:46:14 +01:00
Torsten Dittmann
99407390a5
Merge pull request #7770 from appwrite/release-python-sdk
Release python sdk
2024-03-09 18:41:34 +01:00
Jake Barnby
b0d6cfc129
Update console 2024-03-09 18:39:46 +01:00
Jake Barnby
2c36afe251
Update python 2024-03-09 17:11:27 +01:00
Torsten Dittmann
198567fae7 release: flutter/dart sdks 2024-03-09 12:49:39 +01:00
James Gentes
41d21b248f Removed redundant commas 2024-03-08 18:13:00 -08:00
Torsten Dittmann
e75ba0600e release: 1.5.2 2024-03-08 21:55:25 +01:00
Torsten Dittmann
150681246e bump: version number 2024-03-08 17:25:10 +01:00
Torsten Dittmann
5b9287da81 fix: type 2024-03-08 17:22:07 +01:00
Torsten Dittmann
02ccf85782 fix: usage containers 2024-03-08 17:20:10 +01:00
Torsten Dittmann
13f001b83c
Merge branch 'main' into feat-sdk-fixes 2024-03-08 16:48:44 +01:00
Torsten Dittmann
c9c8949863 bump: console 4.0.2 2024-03-08 16:38:07 +01:00
Jake Barnby
2392e4ae26
Fix specs and versions 2024-03-08 16:09:50 +01:00
Jake Barnby
6a795f4d7a
Fix tests 2024-03-08 12:42:15 +01:00
Torsten Dittmann
9c9de046c4 chore: update console to 4.0.1 2024-03-08 12:08:56 +01:00
Jake Barnby
207ad5fed6
Fix param order 2024-03-08 11:51:24 +01:00
Torsten Dittmann
0be79cadd8 fix: formatting 2024-03-08 11:25:07 +01:00
Torsten Dittmann
f486767b65 fix: messaging hostname 2024-03-08 11:22:58 +01:00