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

4472 commits

Author SHA1 Message Date
Khushboo Verma
9484994c4c
Update app/controllers/api/vcs.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
2023-07-24 02:09:16 +05:30
Matej Bačo
7e386b885c Upgrade console, reword commands into 1 param 2023-07-21 13:52:14 +02:00
loks0n
611fbf6b32 feat: X domain console cookie 2023-07-21 11:08:34 +01:00
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
Khushboo Verma
e86382ce55 Add vcsState to user collection 2023-07-20 23:38:33 +05:30
Christy Jacob
0feaf41fcb Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into feat-db-pools 2023-07-20 11:53:36 +00:00
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
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
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
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
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
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
Damodar Lohani
8d106a39b0 null safe 2023-07-18 07:05:09 +00: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
Steven Nguyen
fce230dca8
Fix team delete
Ensure all memberships are deleted and the cached users are
invalidated so that the nested memberships will refresh.
2023-07-17 17:21:16 -07:00
Eldad A. Fux
c8689d1d41
Merge pull request #5639 from appwrite/fix-default-project
Fix default project
2023-07-16 21:13:57 +03:00
Khushboo Verma
3fafefb2c2 Fixed automatic activation of manual deployments 2023-07-14 14:01:31 +05:30
Matej Bačo
cd4e85519c Update console version, fix docs. 2023-07-13 13:42:04 +02:00
jaivix
4db919b42d linting and wording updates based on stnguyen90 feedback 2023-07-13 00:33:38 +05:30
Steven Nguyen
ca6e9a7f1e
Update get logs by user to pass user internal id
The userId in audit is actually the userInternalId.
2023-07-12 10:56:24 -07:00
Steven Nguyen
300d916621
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-12 10:27:57 -07:00
Matej Bačo
f236b6539e Add auto-verify logic to createRule 2023-07-12 12:55:33 +02:00
Christy Jacob
e78e8d3929 Merge branch 'master' of https://github.com/appwrite/appwrite into add-console-headers 2023-07-11 18:37:12 +00:00
Matej Bačo
b72b2ffc8c Improve error page 2023-07-11 10:53:40 +02:00
Christy Jacob
954300b754
Merge pull request #5798 from appwrite/fix-cloud-redirect
fix: cloud redirect
2023-07-11 03:22:10 +05:30
Christy Jacob
bf9219e811 fix: cloud redirect 2023-07-11 01:20:24 +04:00
Christy Jacob
982373c915 feat: update error in Exception constructor 2023-07-10 08:04:27 +00:00
Damodar Lohani
f59d3563f4 Merge remote-tracking branch 'origin/feat-db-pools-master' into feat-db-pools-db-pools-master-sync 2023-07-10 03:06:48 +00:00
jaivix
a6671a5caa fixed team creation response if teamId already exists 2023-07-09 16:50:09 +05:30
Prateek Banga
f24cf729c3 fixed relationship update bug in two way type 2023-07-07 23:50:06 +05:30
Steven Nguyen
8258d70b78
Update user's search attribute using database filter
Using a database filter is the cleanest approach because it ensures
the logic is applied whenever the user is updated regardless of
whichever endpoint was used.
2023-07-05 12:17:47 -07:00
Matej Bačo
f4da8079e2 Improve VCS indexes 2023-07-01 08:46:21 +02:00
Matej Bačo
3a8f4e5039 Fix failing builds 2023-06-28 13:31:35 +02:00
Matej Bačo
c6e491f2ed Support for external contributors 2023-06-28 10:48:10 +02:00
Matej Bačo
ed5e31a4b3 Disable unauthorized deployments from VCS 2023-06-26 18:47:59 +02:00
Matej Bačo
e6e69b64d3 Rework comment / check creation 2023-06-26 12:26:58 +02:00
Matej Bačo
fb1cc1a0cc Cold-start improvements 2023-06-26 10:11:13 +02:00
vaibhavagarwal220
fecde6bdba fixed null $name error for anonymous user 2023-06-24 13:57:02 +05:30
Steven Nguyen
33f5cbeca6
Restrict characters for project ID
Only allow lowercase alphanumeric chars and hyphens
because the project ID is used as part of url
schemes to redirect users back to mobile apps
and certain characters are not allowed.
2023-06-23 16:22:42 -07:00
Matej Bačo
310d56490e Update console 2023-06-23 09:01:51 +02:00
Prateek Banga
c4ef7fddc0
Merge branch 'appwrite:master' into fix-4846-added-expiry-value-to-account-sessions 2023-06-23 08:04:38 +05:30
Steven Nguyen
5d385c9a9d
Fix phone verification secret in events & payload
The secret in events & payload should match the secret sent to
messaging.
2023-06-22 17:54:09 -07:00
Steven Nguyen
37ad61933c
Set email & name after OAuth if they're empty
The logic before was incorrect. Really, email and name should only be
set if they're empty.
2023-06-22 17:46:09 -07:00
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
Matej Bačo
cc06a4bdaa log streaming, locking GH comments, execution headers, locale header, redeploy logic 2023-06-22 12:59:41 +02:00
Matej Bačo
1b4036078b Improve response models for console 2023-06-18 16:08:53 +02:00
Matej Bačo
a174562c4e vcs.createRepository() 2023-06-18 13:38:37 +02:00
Khushboo Verma
860b4fb1c0 WIP: Build from template 2023-06-17 17:43:02 +05:30
Matej Bačo
5237e24739 VCS integration edge cases fix 2023-06-17 12:07:30 +02:00
faisalill
7e8f6f748a fixed incorrect audity activity on document create 2023-06-17 00:20:37 +05:30
Khushboo Verma
41346b017a Modularised duplicate code 2023-06-16 20:13:37 +05:30
Khushboo Verma
ab232803d7 Add connect to VCS to createFunction as well 2023-06-16 19:14:36 +05:30
Matej Bačo
53deb68985 Improve performance of listRepositories 2023-06-16 11:07:47 +02:00
Jake Barnby
d3e7830620
Update changes 2023-06-16 14:16:19 +12:00
Christy Jacob
72e9ddd3f1
Merge pull request #5708 from appwrite/chore-update-database-config
feat: update database config
2023-06-15 20:57:21 +05:30
Christy Jacob
87aa7ea2f8 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into chore-update-database-config 2023-06-15 14:35:52 +00:00
Christy Jacob
4c68e396c1 feat: update backup time 2023-06-15 14:35:21 +00:00
Christy Jacob
1980b8c677 Merge branch 'feat-db-pools-master' of https://github.com/appwrite/appwrite into refactor-collections-config-db-pools 2023-06-15 14:30:27 +00:00
Matej Bačo
97581d5836 Add database to log 2023-06-15 13:21:18 +02:00
Matej Bačo
0128e73079 Formatting 2023-06-15 12:38:03 +02:00
Matej Bačo
7d79e4146f Add vcs webhook verification 2023-06-15 12:37:28 +02:00
Jake Barnby
95b06c660a
Add index validator 2023-06-15 17:29:03 +12:00
Damodar Lohani
57411db2d3 upadate to use refactored collections config 2023-06-15 00:34:12 +00:00
Jake Barnby
031f8270ff
Merge remote-tracking branch 'origin/1.4.x' into validator-mv
# Conflicts:
#	composer.lock
2023-06-15 12:28:32 +12:00
Christy Jacob
25e2771fa7 feat: update database config 2023-06-14 19:52:28 +00:00
Matej Bačo
c933f8b4c2 Finish log streaming 2023-06-14 10:57:30 +02:00
Khushboo Verma
6604a33e46 Add createRepositoryDetection endpoint 2023-06-14 00:34:22 +05:30
shimon
a4e055e21b cache deletion bug fix 2023-06-13 15:03:22 +03:00
Matej Bačo
2c97d73f4b WIP Stream logs 2023-06-13 13:13:02 +02:00
shimon
8645757f28 cache deletion bug fix 2023-06-13 13:41:54 +03:00
shimon
41d207e862 cache deletion bug fix 2023-06-13 11:15:38 +03:00
Matej Bačo
039bfbaf06 WIP: Log streaming 2023-06-13 08:26:36 +02:00
Christy Jacob
a9e2eca8a4
Merge pull request #5683 from appwrite/master
Update 1.4.x from Master
2023-06-12 13:20:26 +05:30
Steven Nguyen
b3c9a34e5e
Make users searchable by label 2023-06-09 10:19:57 -07:00
Steven Nguyen
8400394857
Add an endpoint to update user labels 2023-06-09 10:18:51 -07:00
Matej Bačo
c9ce7e60cf fix vcsRepos deletion 2023-06-09 14:36:33 +02:00
Matej Bačo
0ed2723f00 Fix failing pushes 2023-06-09 13:34:46 +02:00
Matej Bačo
6522d86fa9 Update installation, certificate & repository response models 2023-06-08 17:24:27 +02:00
Matej Bačo
5e221e285f Update naming convention, add new VCS endpoints, support silent mode and rootDirectory 2023-06-07 17:50:32 +02:00
Christy Jacob
845fd7ba68 fix: missing import 2023-06-07 15:13:57 +05:30
Matej Bačo
e4c79d5d09 Fix https 2023-06-07 11:02:41 +02:00
Matej Bačo
2e11d85033 Fix localhost https 2023-06-07 10:56:14 +02:00
Matej Bačo
6c81b3e3f8 Fix proxy internal http communication 2023-06-07 10:52:16 +02:00