Bishwajeet Parhi
c3ebdc46e2
Merge branch 'master' into feat-add-encrypt-param
2023-08-08 11:04:28 +05:30
Eldad A. Fux
a56f91b054
Merge branch 'master' into feat-5542-validate-x-appwrite-id-header-for-CreateFile
2023-08-05 06:36:21 +03:00
Safwan Parkar
451f4bee19
Fixed an incorrect test for team deletion
...
This commit contains changes in 3 places.
- First I changed the placement of an informative comment in the DELETE TEAM controller, and moved it outside of the loop. I did this when Steven pointed out that the behaviour I describe in the comment is for the whole loop.
- The second change is the removal of my first test. I was facing quite a few issues with creating users in the test, and ended up using the CREATE TEAM MEMBERSHIP to perform 2 actions at once -> create a new user if one doesn't exist with the provided email, and create a membership for the user. Before this approach, I had quite a bit of code that didn't work, and it seems like I removed some things that weren't supposed to be removed, and didn't change variable names where necessary. Anyway, I figured that the problem has something to do with the user being created on the client side, so I moved the test to the server side.
- The new test I implemented does the same thing as my previous failed test, but in more detailed and distinct steps. The test first creates 5 new users inside of a loop, and pushes each new user's ID to an array called 'new_users' if the response is as expected. Then a new team is created. The next step is to create memberships for all 5 users. If all these steps pass, the new team that was just created, is deleted, and we check to make sure the new users have 0 team memberships each.
Formatter and linter showed no errors. Tests were successful on localhost.
2023-08-04 15:40:42 +04:00
Safwan Parkar
d142620c5e
invalidate cached document of user
...
- cache caused stale data in memberships
2023-08-03 22:08:27 +04:00
Safwan Parkar
a14d89eb3c
remove error-causing condition
2023-08-03 21:39:18 +04:00
Safwan Parkar
2bc2061f09
fix showing of stale team memberships
2023-08-02 18:44:43 +04:00
Safwan Parkar
c5233d9ece
removed unnecessary code
2023-08-02 12:18:21 +04:00
Safwan Parkar
a45c62ab24
run composer scripts
2023-08-01 23:24:46 +04:00
Safwan Parkar
0fe59d457b
fixed stale team memberships on user
2023-08-01 22:57:59 +04:00
Bishwajeet Parhi
f160c55ecb
Chore: remove encrypt param on update Atrribute and tests as well
2023-07-26 11:25:25 +05:30
Bishwajeet Parhi
a15551368f
Merge branch 'master' into feat-add-encrypt-param
2023-07-26 11:20:06 +05:30
Prateek Banga
f7c02d9308
removes extra db call and uses document find method
2023-07-24 23:41:49 +05:30
Prateek Banga
7d412b4741
adds get db call and get collection call
2023-07-24 12:02:28 +05:30
Prateek Banga
d569c17764
Merge branch 'master' of https://github.com/appwrite/appwrite into change-use-find-instead-iterating-index-array
2023-07-21 00:49:15 +05:30
Prateek Banga
b700336d45
fix get index route to use find
2023-07-20 14:52:05 +05:30
Steven Nguyen
9908a9021f
Update get logs by user to pass user internal id
...
The userId in audit is actually the userInternalId.
2023-07-19 22:49:51 -07:00
Steven Nguyen
187f3dc6ff
Update get logs APIs to return userId from data
...
The audit userId is actually the internal id and the user id is in the
data attribute.
2023-07-19 22:49:51 -07:00
Prateek Banga
8328dac86b
lint issues
2023-07-19 14:08:02 +05:30
Prateek Banga
131e9658a5
change to use findOne instead of iterating index array
2023-07-19 14:04:35 +05:30
Eldad A. Fux
9fafd39fef
Merge pull request #5211 from Pranav2612000/fix-5095-trigger-email-subscription-on-email-verification
...
fix: trigger account subscription event on email verification
2023-07-19 00:24:33 +03:00
Eldad A. Fux
7a2c789c6b
Merge pull request #5745 from vaibhavagarwal220/fix-5220-handle-null-name
...
fixed null $name error for anonymous user
2023-07-19 00:21:09 +03:00
Eldad A. Fux
b2b1b6e2e4
Merge pull request #5562 from fanatic75/fix-4846-added-expiry-value-to-account-sessions
...
fix expire field in list account sessions api
2023-07-19 00:17:53 +03:00
Eldad A. Fux
bee246956c
Merge pull request #5808 from jaivix/fix-5768-pull-request-to-return-team-id-conflict-error
...
fixed team creation response if teamId already exists
2023-07-18 23:00:31 +03:00
Eldad A. Fux
6f499cfa26
Merge pull request #5567 from fanatic75/fix-4982-expire-sessions-format-for-multiple-api
...
fixed expire format for phone session, anonymous session, oauth session
2023-07-18 22:57:10 +03:00
Eldad A. Fux
d4ed77b5e8
Merge pull request #5568 from fanatic75/fix-5429-expire-format-fix-for-get-session
...
fix: expire format for get session api
2023-07-18 22:56:47 +03:00
Eldad A. Fux
3a17f30374
Merge pull request #5566 from fanatic75/fix-5428-fixed-expire-format-for-magic-url-sessions
...
fix: expire format in magic url sessions
2023-07-18 22:56:35 +03:00
jaivik
6380004678
Merge branch 'appwrite:master' into fix-5768-pull-request-to-return-team-id-conflict-error
2023-07-18 10:35:52 +05:30
Eldad A. Fux
11c9066c4d
Merge pull request #5402 from appwrite/fix-chunked-upload
...
content-range end should be 1 less than file size
2023-07-18 06:55:05 +03:00
jaivix
4db919b42d
linting and wording updates based on stnguyen90 feedback
2023-07-13 00:33:38 +05:30
Bishwajeet Parhi
07df99c817
update description
2023-07-11 19:16:22 +05:30
jaivix
a6671a5caa
fixed team creation response if teamId already exists
2023-07-09 16:50:09 +05:30
Bishwajeet Parhi
f71fdfb0b9
chore: add encrypt param on update string attr + unit tests
2023-07-08 20:58:41 +05:30
Prateek Banga
f24cf729c3
fixed relationship update bug in two way type
2023-07-07 23:50:06 +05:30
Bishwajeet Parhi
96f1284cbf
Merge remote-tracking branch 'upstream/master' into feat-add-encrypt-param
2023-07-06 19:52:50 +05:30
vaibhavagarwal220
fecde6bdba
fixed null $name error for anonymous user
2023-06-24 13:57:02 +05:30
Prateek Banga
c4ef7fddc0
Merge branch 'appwrite:master' into fix-4846-added-expiry-value-to-account-sessions
2023-06-23 08:04:38 +05:30
Christy Jacob
9f2bf844c7
Merge pull request #5580 from appwrite/fix-project-deletion-master
...
remove password required for project deletion
2023-06-22 22:52:59 +05:30
Bishwajeet Parhi
e98e1db046
chore: fix trailing comma
2023-06-22 11:55:27 +05:30
Bishwajeet Parhi
cb35d2dbbe
chore: fix missing nullable required param
2023-06-22 11:53:29 +05:30
Bishwajeet Parhi
ee30a3e9f4
chore: refactor tests and param positioning changes
2023-06-22 09:59:09 +05:30
Bishwajeet Parhi
7ce10023c0
chore: add tests and remove encrypt param on url,enum,ip,email
2023-06-21 16:15:00 +05:30
Bishwajeet Parhi
4efd178f40
remove encrypt on non string attributes
2023-06-21 15:22:04 +05:30
Bishwajeet Parhi
3aabaeb8be
Merge branch 'master' into feat-add-encrypt-param
2023-06-21 15:12:47 +05:30
faisalill
7e8f6f748a
fixed incorrect audity activity on document create
2023-06-17 00:20:37 +05:30
Jake Barnby
b7f4f57521
Add new error message to differentiate between missing data and missing data + permissions for document updates
2023-06-07 13:51:24 +12:00
Prateek Banga
1475497ffb
Merge branch 'master' of https://github.com/fanatic75/appwrite into fix-4846-added-expiry-value-to-account-sessions
2023-06-02 14:53:26 +05:30
Bishwajeet Parhi
0d3b50a07d
Merge remote-tracking branch 'upstream/master' into feat-add-encrypt-param
2023-06-01 21:46:31 +05:30
Bishwajeet Parhi
08746d0390
chore: misc fixes
2023-05-30 12:47:55 +05:30
Bishwajeet Parhi
967ac1b82c
chore: remove nullable param
2023-05-30 12:34:32 +05:30
Bishwajeet Parhi
69504bfaac
add encrypt param
2023-05-30 12:30:10 +05:30