1
0
Fork 0
mirror of synced 2024-08-19 04:01:38 +12:00
Commit graph

15375 commits

Author SHA1 Message Date
prateek banga
40b0c081f7 remove checkPermission from Appwrite and more complex test case
This commit removes check pemission from update document in appwrite as permission is being checked by Utopia already. This commits also improves the test case to have 3 levels of depth with relationships
2023-08-01 23:29:15 +05:30
prateek banga
409376ef16 refactors checkPermission to throw exception when a change is found in updateDocument 2023-07-31 14:03:11 +05:30
prateek banga
f7e96282db adds attribute for update method and makes test case to check more complex scenario 2023-07-29 12:01:10 +05:30
prateek banga
6b2d246fba better naming for on callback function 2023-07-28 17:49:34 +05:30
Prateek Banga
e909503cb6
Merge pull request #5890 from appwrite/chore-make-compatible-with-db-0.39.0
Make 1.4.x compatible with latest db release 0.39.0
2023-07-27 20:30:22 +05:30
prateek banga
d743eb2336 updates deps 2023-07-27 16:13:10 +05:30
prateek banga
0d8eeb5807 adds name for database events in on function 2023-07-27 15:48:19 +05:30
prateek banga
a639c2737a updates abuse and audit deps 2023-07-27 14:13:15 +05:30
prateek banga
6247e524b6 fix lint issues 2023-07-27 02:27:31 +05:30
prateek banga
e631f393fc fix lint issues and remove sleep from test 2023-07-27 02:23:20 +05:30
Prateek Banga
5c5a8a9115 format issues 2023-07-27 02:03:17 +05:30
Prateek Banga
54ea98afb5 updated logic to skip checking permission if no change in new document 2023-07-27 02:03:10 +05:30
Prateek Banga
21bc2ae560 lint issues 2023-07-27 02:03:01 +05:30
Prateek Banga
b8b3d13f22 added test case for verifying permission issue with relations 2023-07-27 02:02:55 +05:30
Prateek Banga
0fc0255a38 Skipping checking permission of relations that are not being updated 2023-07-27 02:02:34 +05:30
Christy Jacob
3d62652e1e
Merge pull request #5873 from appwrite/fix-x-domain-cookie-env
fix: X domain console cookie ENV var
2023-07-24 16:35:33 +04:00
loks0n
eb00aa3029 tests: trigger 2023-07-24 10:55:45 +01:00
loks0n
4cae59f47d fix: X domain cookie env 2023-07-24 10:50:19 +01:00
Eldad A. Fux
f849b49478
Merge pull request #5866 from appwrite/feat-upgrade-dependencies
upgrade dependencies
2023-07-23 13:01:47 +03:00
Damodar Lohani
eea593f677 upgrade dependencies 2023-07-23 06:46:23 +00:00
Eldad A. Fux
c132766c63
Merge pull request #5859 from appwrite/feat-x-domain-cookie-2
feat: X domain console cookie
2023-07-22 16:33:00 +03:00
loks0n
80aa2374d1 chore: add var to docker 2023-07-21 11:23:08 +01:00
loks0n
611fbf6b32 feat: X domain console cookie 2023-07-21 11:08:34 +01:00
Eldad A. Fux
ffa823e455
Merge pull request #5855 from appwrite/docs-accessed-at
Update description for User and Key accesedAt
2023-07-21 07:57:49 +03:00
Steven Nguyen
66362f0d3b
Update description for User and Key accesedAt
Add a note about how often the attributes are updated.
2023-07-20 11:47:26 -07:00
Eldad A. Fux
4e6e3a0551
Merge pull request #5781 from appwrite/feat-last-user-activity
Track a user's last activity
2023-07-20 10:10:32 +03:00
Steven Nguyen
2befa60350
Track a user's last activity
A user will have an accessedAt timestamp that will update at most once
per day if they make some API call. This timestamp can then be used
find active users and calculate daily, weekly, and monthly active users.

To ensure consistent updates to the user the $user from the resource
is always updated to the user making the request, including requests
like Create Account, Update Team Membership Status, and Create Phone
Session (confirmation). This ensures the shutdown can update the
accessedAt timestamp if there was a $user set.
2023-07-19 22:22:58 -07:00
Steven Nguyen
5c3f96289d
Prevent Response from modifying the passed in doc 2023-07-19 22:21:21 -07:00
Eldad A. Fux
66fee90af9
Merge pull request #5199 from appwrite/feat-custom-smtp
[FEAT] Custom SMTP and Template support
2023-07-20 07:09:11 +03:00
Damodar Lohani
6e54b79812 fix 2023-07-20 01:35:01 +00:00
Damodar Lohani
cb8341fa5b fix test 2023-07-20 01:33:27 +00:00
Damodar Lohani
0c2848bece using maildev for smtp test 2023-07-20 01:32:19 +00:00
Eldad A. Fux
122d6fd803
Merge pull request #5845 from appwrite/feat-1.4.x-with-1.3.x-master
Sync with Master and 1.3.x
2023-07-19 12:30:57 +03:00
Damodar Lohani
9289ec1959 fix date format in test 2023-07-19 08:49:20 +00:00
Damodar Lohani
4fd5c72f34 Merge branch 'master' into feat-1.4.x-with-1.3.x-master 2023-07-19 07:39:37 +00:00
Damodar Lohani
8044ab568c update specs 2023-07-19 07:32:32 +00:00
Damodar Lohani
8dc5c2cb4c Merge remote-tracking branch 'origin/1.4.x' into feat-custom-smtp 2023-07-19 07:24:58 +00:00
Damodar Lohani
14f8cc57af
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:37 +05:45
Damodar Lohani
ff6dd0990d
Update app/controllers/api/projects.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-19 12:04:29 +05:45
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
50f258b6db
Merge pull request #5740 from appwrite/fix-create-phone-verification
Fix phone verification secret in events & payload
2023-07-18 23:18:16 +03:00
Eldad A. Fux
9cdf124a81
Merge pull request #5739 from appwrite/fix-anonymous-user
Fix anonymous user
2023-07-18 23:07:52 +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
Eldad A. Fux
6bf6bc7dc3
Merge pull request #5743 from appwrite/feature-restrict-project-id-chars
Restrict characters for project ID
2023-07-18 18:06:01 +03:00
Torsten Dittmann
74308b445e
Merge pull request #5587 from appwrite/feat-user-labels
Add a new labels attribute to the Users collection
2023-07-18 14:59:18 +02:00