1
0
Fork 0
mirror of synced 2024-09-07 21:31:38 +12:00
Commit graph

11552 commits

Author SHA1 Message Date
Damodar Lohani
ac95a7c5eb
Update api.php 2024-04-24 06:44:14 +05:45
Damodar Lohani
dc3aa5e12f
revert 2024-04-24 06:30:32 +05:45
Steven Nguyen
b62191a442
chore(locale): document standard for country codes
Since we use ISO 3166 standard for country codes, we should document it in the code so we can easily look up whether a country code is in the standard or not.
2024-04-23 17:06:45 -07:00
Steven Nguyen
b75f5263a2
Merge branch 'main' into chore-sync-main-into-1.5.x 2024-04-23 23:43:53 +00:00
Steven Nguyen
3a2e9b6f4a
Merge pull request #7984 from appwrite/fix-mfa-admin-mode-condition
fix: mfa with admin mode
2024-04-23 15:21:02 -07:00
Steven Nguyen
dd1bdf02c9
Merge pull request #7962 from deanurag/fix-7880-adding-hongkong-to-countries
FIX-7880-added-HongKong-to-countries.php
2024-04-23 15:06:17 -07:00
Christy Jacob
f164c6d36a
Merge pull request #8007 from appwrite/feat-add-pf-flag
Add French Polynesia flag to flags.php
2024-04-24 00:01:08 +04:00
Torsten Dittmann
8b56e451f2
Merge pull request #8005 from appwrite/fix-8004-deleteMfaAuthenticator-response
Fix delete MFA authenticator response model
2024-04-23 10:17:14 +02:00
Anurag De
1ebfdc10ed
Merge branch 'main' into fix-7880-adding-hongkong-to-countries 2024-04-23 13:38:25 +05:30
Bradley Schofield
089af4e137
Update app/controllers/shared/api.php
Co-authored-by: Jake Barnby <jakeb994@gmail.com>
2024-04-23 16:34:12 +09:00
Bradley Schofield
3d17b64eac Add Null check before we access factors 2024-04-23 16:24:05 +09:00
Bradley Schofield
395ce93098 Update flags.php 2024-04-23 16:02:11 +09:00
Steven Nguyen
f88887abad
fix(mfa): fix delete authenticator response model 2024-04-22 22:24:20 +00:00
Christy Jacob
2d8694baea
Merge pull request #7996 from appwrite/fix-users-exceeded-error
Update user create error message for console to be console specific
2024-04-22 17:20:00 +04:00
Milan Bačkonja
b6f3d2d3e5 fix(appwrite-worker-mails): Added DB environment variables to appwrite-worker-mails 2024-04-22 12:04:49 +02:00
Anurag De
6d449965cb
Merge branch 'main' into fix-7880-adding-hongkong-to-countries 2024-04-19 10:09:02 +05:30
Vincent (Wen Yu) Ge
be05844116 Update error for USER_CONSOLE_COUNT_EXCEEDED to just mention relevant variables 2024-04-18 18:18:34 -04:00
Vincent (Wen Yu) Ge
c57fa3546f Ran formatter 2024-04-18 17:22:41 -04:00
Vincent (Wen Yu) Ge
404de48cc3 Update user create error message for console to be console specific 2024-04-18 17:08:47 -04:00
fuyangpengqi
2f5be1080f chore: fix some typos in comments
Signed-off-by: fuyangpengqi <995764973@qq.com>
2024-04-18 21:40:03 +08:00
Vincent (Wen Yu) Ge
9131c93a18 regen specs with fixed link 2024-04-17 16:06:55 -04:00
Torsten Dittmann
9150ceadc7 fix: mfa with admin mode 2024-04-17 11:10:33 +02:00
Steven Nguyen
2f7aff3a44
fix(auth): fix challenge type check
The factor parameter is case insensitive so we need to make sure
comparing the parameter to the constant is case insensitive too.
2024-04-16 23:44:46 -07:00
Damodar Lohani
083c220e37
fix auth mode check 2024-04-17 06:45:15 +05:45
Eldad A. Fux
05dd17bd55
Merge pull request #7949 from appwrite/fix-factors-recovery-code
Add recovery code to List factors
2024-04-15 10:48:16 +02:00
Vincent (Wen Yu) Ge
e491dfb9fc Generate specs 2024-04-12 20:18:14 +00:00
Anurag
b381a5c7a6 Added HongKong to countries.php 2024-04-12 09:42:06 +05:30
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
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
Damodar Lohani
99cb38c674 fix linter issues 2024-04-08 03:57:08 +00:00
Damodar Lohani
d3bbcce302
Prevent functions domain to be used as custom domain 2024-04-08 09:31:15 +05:45
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
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
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
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
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
Vincent (Wen Yu) Ge
acd7f6ef02 Add same updates for push notifications 2024-03-29 15:59:35 +00: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
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
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
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
Damodar Lohani
62b2dc0801 use internal ids 2024-03-18 09:22:15 +00:00
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
Jake Barnby
2d03fc1ce0
Fix msg91 params 2024-03-13 15:42:16 +01:00
Jake Barnby
c6ce585fcc
Update version 2024-03-13 11:08: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
Steven Nguyen
f37e616227
Merge pull request #7780 from appwrite/fix-git-deployments
Fix git deployments
2024-03-11 14:01:54 +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
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
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
Jake Barnby
7d3f8a80ea
Push SDKs 2024-03-08 10:58:46 +01:00
Torsten Dittmann
19555651a5 feat: release console sdk 2024-03-08 10:38:19 +01:00