Commit graph

1460 commits

Author SHA1 Message Date
Jake Barnby
f9e518b2b0
Fix shared tables v2 deletes 2024-11-21 16:49:49 +13:00
Christy Jacob
6e6899c1e9
Merge pull request #8988 from appwrite/fix-deletes
Fix project type delete checks
2024-11-21 14:09:02 +13:00
Christy Jacob
f490d4edaf
Merge pull request #8797 from appwrite/feat-migration
Feat migration
# Conflicts:
#	composer.lock
2024-11-21 14:08:20 +13:00
Matej Bačo
40e343d17d Fix response model missing fallbackFile 2024-11-20 15:02:26 +01:00
Matej Bačo
4bcbd49d6d Formatting fix 2024-11-20 14:18:43 +01:00
Matej Bačo
09e2ded206
Merge branch 'feat-sites' into feat-add-fallbackFile-attribute 2024-11-20 14:14:28 +01:00
Matej Bačo
2f328bf4cf Fix double rule IDs 2024-11-20 12:20:29 +01:00
Matej Bačo
c8cf645414 Merge branch '1.6.x' into feat-sites 2024-11-20 12:07:13 +01:00
Torsten Dittmann
9901c781b7 Merge branch 'main' of https://github.com/appwrite/appwrite into sync-1.6.x 2024-11-20 11:31:52 +01:00
Khushboo Verma
43e2d7454a Create preview url rule when deployment is created 2024-11-18 20:27:07 +05:30
Khushboo Verma
cb359e40ba Add fallbackFile for SPA 2024-11-18 00:23:45 +05:30
Torsten Dittmann
8e02115828
ci: console sdk previews (#8990) 2024-11-15 13:27:46 +01:00
Jake Barnby
bdb0b188ef
Merge pull request #8971 from appwrite/fix-alter-attributes
Fix Patch attribute
2024-11-14 20:55:59 +13:00
fogelito
8f845aef53 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into fix-alter-attributes
# Conflicts:
#	src/Appwrite/Platform/Workers/Databases.php
2024-11-13 18:34:57 +02:00
fogelito
71f2c6c131 Remove purgeCachedCollection 2024-11-13 14:55:56 +02:00
Khushboo Verma
2ad0428727 Merge 1.6.x into feat-sites 2024-11-13 13:18:21 +05:30
Bradley Schofield
54db5655a1 Run Linter 2024-11-13 13:42:49 +09:00
Bradley Schofield
91cc0e627a Address Comments 2024-11-13 10:29:43 +09:00
Bradley Schofield
29e7d1f7d0 Address Comments 2024-11-13 09:13:00 +09:00
Bradley Schofield
1337ea77b1 Fix Optionals 2024-11-12 16:18:09 +09:00
Bradley Schofield
a460a41fe5 Run Linter 2024-11-12 11:33:13 +09:00
Bradley Schofield
b62640489d Fire logs for each individual migration error 2024-11-12 11:29:19 +09:00
fogelito
fcf018580c Merge branch '1.6.x' of https://github.com/appwrite/appwrite into database-worker-errors 2024-11-11 18:53:36 +02:00
fogelito
8cca88f2b8 Remove Sentry comment 2024-11-11 18:52:15 +02:00
Bradley Schofield
d9e2ecff54 Remove get document from worker 2024-11-11 16:45:17 +09:00
fogelito
06e3afcf88 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into database-worker-errors 2024-11-10 16:42:34 +02:00
fogelito
e5730506eb Remove var dumps 2024-11-10 16:37:44 +02:00
Christy Jacob
5f29af2c27 feat: use getDocument instead of find() for rules 2024-11-08 22:08:13 +01:00
fogelito
06274764c6 Remove extra lines 2024-11-08 07:12:23 +02:00
Khushboo Verma
b88cd8e544 Add subdomain param in functions and tests 2024-11-07 21:55:41 +05:30
fogelito
fb40970eba line 2024-11-07 17:35:03 +02:00
fogelito
cd0d1d94db Add to finally 2024-11-07 17:27:56 +02:00
fogelito
19667f78a9 Add try catch on delete Attribute 2024-11-07 17:23:46 +02:00
fogelito
a6779caa5e Trigger sentry 2024-11-07 14:28:39 +02:00
Khushboo Verma
081cf5c6aa Delete rules when site or deployment is deleted 2024-11-06 23:35:30 +05:30
Fabian Gruber
b410b17ba6 feat: redis-cluster support 2024-11-06 12:27:03 +01:00
Bradley Schofield
40b8af0671 Further cleanup code now findOne returns empty doc 2024-10-31 17:13:23 +09:00
Bradley Schofield
e15ac03c59 Merge branch '1.6.x' into chore-update-databases-findone
# Conflicts:
#	composer.json
#	composer.lock
2024-10-31 16:57:45 +09:00
Bradley Schofield
10b9887c74 Continue work on migration tests 2024-10-31 14:35:54 +09:00
Bradley Schofield
bb72fd8834 Fix source creds being over written and begin implementing migrations tests 2024-10-30 14:23:24 +09:00
Fabian Gruber
fed9cdb408 use resource type constants 2024-10-29 16:10:57 +01:00
Fabian Gruber
3d463c5c81 fix: revert function execution order 2024-10-29 13:52:06 +01:00
Matej Bačo
eeba650f6c
Merge branch 'feat-sites' into feat-add-sites-comments 2024-10-28 15:43:46 +01:00
Matej Bačo
54b07e6b99 Add protocol 2024-10-28 15:24:34 +01:00
Khushboo Verma
dc8b9478ee Fix builds 2024-10-28 15:20:36 +01:00
Matej Bačo
8427ade0fa Fix sites get template missing key 2024-10-28 15:04:48 +01:00
Matej Bačo
45dc9a39d9 Get preview URL 2024-10-28 14:53:06 +01:00
Matej Bačo
d703a118c4 Merge branch 'feat-sites' into feat-add-sites-comments 2024-10-28 14:52:07 +01:00
Matej Bačo
9b4de5d7bf Fix comments 2024-10-28 14:39:12 +01:00
Matej Bačo
31b9f2b4f9 Fix comments 2024-10-28 14:19:44 +01:00
Matej Bačo
1ebd6c252c
Merge branch 'feat-sites' into feat-sites-logs-styled 2024-10-28 12:27:06 +01:00
Matej Bačo
0c4e597819 Implemented styled and timestamped logs, fix cosistency 2024-10-28 12:22:34 +01:00
Matej Bačo
690a23fe89 Fix deployments showing wrong domains 2024-10-28 11:17:44 +01:00
Matej Bačo
d4fb0d37c2 Fix notice 2024-10-27 21:44:59 +01:00
Matej Bačo
8a53d02d0c Remove leftover 2024-10-27 21:25:12 +01:00
Matej Bačo
58ee53876b Implement preview deployments 2024-10-27 21:10:53 +01:00
Khushboo Verma
be5fdbfd4f Add build and serve runtime to updateSite 2024-10-27 18:54:20 +01:00
Khushboo Verma
e6d123b5e8
Merge pull request #8873 from appwrite/chore-rename-common-vars-to-compute
Use compute vars for functions and sites
2024-10-27 18:35:27 +01:00
Khushboo Verma
dd87cdbebf Fix remaining vars 2024-10-27 18:04:40 +01:00
Khushboo Verma
4c1881324e Use compute vars for functions and sites 2024-10-27 17:22:45 +01:00
Matej Bačo
d8ec390cd6 Merge branch 'feat-sites' into fix-site-leftovers 2024-10-27 16:22:53 +01:00
Matej Bačo
7a0e7bfb95 Add runtimes to templates 2024-10-27 16:15:49 +01:00
Khushboo Verma
2dead545f0 Resolve PR comments 2024-10-27 15:51:17 +01:00
Matej Bačo
9c566ec17c Merge branch 'feat-sites' into fix-site-leftovers 2024-10-27 15:49:53 +01:00
Matej Bačo
385fe303cc Fix leftover fields and attributes 2024-10-27 15:48:39 +01:00
Khushboo Verma
81e3709d25 Remove scopes from updateSite endpoint 2024-10-27 15:48:06 +01:00
Khushboo Verma
7f17efcdd8 Resolve merge conflicts 2024-10-27 15:43:52 +01:00
Khushboo Verma
86a68c50bc Rename subdomain 2024-10-27 11:32:43 +01:00
Khushboo Verma
e2e7d6578c Resolve merge conflicts 2024-10-27 11:30:17 +01:00
Matej Bačo
93222bf3f9 Fix response format; formatting 2024-10-26 20:47:43 +02:00
Matej Bačo
ea6765c68a Support static sites 2024-10-26 18:43:30 +02:00
Khushboo Verma
6ac81dea19 Check if subdomain exists before creating site 2024-10-26 18:34:58 +02:00
Khushboo Verma
e4dd9bc9f9 Use custom domain in create site endpoint 2024-10-26 17:07:15 +02:00
Khushboo Verma
03d4d4c8fa Add build env vars for sites 2024-10-26 12:29:42 +02:00
Khushboo Verma
08630cd686 Add timeout and add sites scopes 2024-10-26 11:01:14 +02:00
Khushboo Verma
4ed08cefa7 Fix getTemplate endpoint 2024-10-25 18:04:32 +02:00
Khushboo Verma
1a33a0c4d1 Fix range and frameworks 2024-10-25 16:23:29 +02:00
Khushboo Verma
4d3d710211 Add missing group to templates API 2024-10-25 16:05:45 +02:00
Khushboo Verma
ac93e70dd2 Update listframeworks endpoint 2024-10-25 15:56:28 +02:00
Khushboo Verma
dd3ffbb391 Add getTemplate endpoint for sites 2024-10-25 14:55:09 +02:00
Khushboo Verma
9d1d101586 Update VCS endpoin to work for both functions and sites 2024-10-25 14:41:14 +02:00
Fabian Gruber
4313162b5e fix(blocks): check if resource is blocked inside functions worker 2024-10-25 13:25:54 +02:00
Khushboo Verma
32da7b8fe2
Merge pull request #8852 from appwrite/fix-sites-commands-and-hardcoded
fix: commands and todos
2024-10-25 11:59:02 +02:00
Torsten Dittmann
41484113a0 chore: add comments 2024-10-25 10:55:31 +02:00
Torsten Dittmann
5d6a8be66d fix: function command 2024-10-24 19:43:12 +02:00
Torsten Dittmann
54d3668693 fix: todos for sites 2024-10-24 19:20:00 +02:00
Khushboo Verma
bbd589f6a8 Add download build endpoint to sites 2024-10-24 18:02:26 +02:00
Khushboo Verma
765d8241f2 Add secret param to site variables 2024-10-24 16:32:53 +02:00
Khushboo Verma
a247fc3b48 Merge branch 'feat-site-endpointsa' of github.com:appwrite/appwrite into feat-site-endpointsa 2024-10-24 15:22:16 +02:00
Khushboo Verma
d876085f6d Add usage endpoints 2024-10-24 15:21:40 +02:00
Khushboo Verma
23b57692ec
Merge branch 'feat-site-endpointsa' into feat-site-static-runtime 2024-10-24 12:06:02 +02:00
Khushboo Verma
8bda7f1e1e Add listSiteTemplates endpoint and response models 2024-10-24 11:47:09 +02:00
Khushboo Verma
8f5fa84996 Add variable endpoints for sites 2024-10-24 10:49:43 +02:00
Khushboo Verma
3af34f078c
Merge branch 'feat-site-endpointsa' into feat-site-static-runtime 2024-10-23 18:37:45 +02:00
Torsten Dittmann
57e596fea2 feat: static runtime for site 2024-10-23 18:36:26 +02:00
Khushboo Verma
9793cf4ece Add all deployment endpoints for sites 2024-10-23 17:07:28 +02:00
Khushboo Verma
a4bdc23aef Add more endpoints and models for sites 2024-10-23 12:19:07 +02:00
Khushboo Verma
4240089d41 Add create deployment endpoint 2024-10-22 19:45:49 +02:00
Torsten Dittmann
89b6291488 fix: khusboo review comments 2024-10-22 18:56:34 +02:00
Torsten Dittmann
1434b6bbff fix: builds worker new structure 2024-10-22 18:03:40 +02:00
Torsten Dittmann
a8e2fb1ee5 Merge branch 'feat-sites' of https://github.com/appwrite/appwrite into fix-workers 2024-10-22 17:35:54 +02:00
Torsten Dittmann
c57cb3d2d9 fix: workers 2024-10-22 17:33:33 +02:00
Khushboo Verma
6c6723e181 Refactor callback 2024-10-22 17:10:50 +02:00
Khushboo Verma
5b0a05b4b3 Create site endpoint working 2024-10-22 17:01:38 +02:00
Khushboo Verma
87cbd8fbf3 Move create function, create deployment to modules 2024-10-22 13:00:10 +02:00
Matej Bačo
408dcbc263 Add async exec doc test 2024-10-14 13:06:08 +00:00
Matej Bačo
16a8fdce4e
Merge branch '1.6.x' into fix-move-write-execution-to-worker 2024-10-13 21:08:13 +02:00
Steven Nguyen
c247f4cc88
Merge pull request #8766 from appwrite/remove-audit-deletes
remove audits deletion
2024-10-11 16:25:26 -07:00
Matej Bačo
8fea73d3bf Fix db issues 2024-10-11 13:32:48 +00:00
Jake Barnby
4fa8f01ce2
Call migration success on success 2024-10-10 21:15:18 +13:00
Khushboo Verma
d1ab8c4df8 Move createDocument from api to worker 2024-10-09 14:04:08 +05:30
shimon
24283dff7f removed audit deletion leftovers in deletes worker 2024-10-09 10:13:49 +03:00
Jake Barnby
8bc37026cd
Revert "Feat adding coroutines" 2024-10-08 20:54:40 +13:00
Binyamin Yawitz
c34f8afa81
fix: wrong document check 2024-10-07 20:34:27 -04:00
Binyamin Yawitz
c06948b266
fixes: phpstan 2024-10-07 12:57:07 -04:00
Binyamin Yawitz
16835f96bf
chore: merge 2024-10-07 11:02:18 -04:00
Bradley Schofield
4c5b202f8d Merge branch '1.6.x' into chore-update-databases-findone
# Conflicts:
#	composer.json
#	composer.lock
2024-10-07 11:42:43 +09:00
Bradley Schofield
91b78a70ae Remove redundancy 2024-10-07 11:40:01 +09:00
shimon
e06b77cf39 remove audits deletion 2024-10-06 20:25:51 +03:00
shimon
a7c0ef3d09 remove audits deletion 2024-10-06 20:22:25 +03:00
Torsten Dittmann
4f4edc48af Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups 2024-10-02 17:38:50 +02:00
Binyamin Yawitz
6ce8c6a73d
chore: merge 2024-10-01 21:39:40 -04:00
shimon
7e2fde3a0a update validation 2024-10-01 22:53:08 +03:00
shimon
49a0095cd5 Merge branch '1.6.x' of github.com:appwrite/appwrite into messaging-adapter-default-values 2024-10-01 22:19:54 +03:00
shimon
32dbafa353 update validation 2024-10-01 22:00:45 +03:00
shimon
3cb27d7b2c update validation 2024-10-01 21:01:48 +03:00
Christy Jacob
d9946c399b chore: linter and specs 2024-10-01 21:55:01 +04:00
Christy Jacob
4069ae7165 chore: remove db disk storage calculation 2024-10-01 21:45:34 +04:00
shimon
2af4ef705d composer 2024-10-01 19:09:43 +03:00
shimon
1551de729b messaging adapter default values 2024-10-01 18:56:59 +03:00
Binyamin Yawitz
579d3d7f14
chore: lint & updates 2024-10-01 10:39:43 -04:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
fogelito
51152ae879 Ignore junction tables 2024-09-30 23:07:37 +03:00
Torsten Dittmann
333682c4dc tests: add projects channel assertions 2024-09-30 16:53:25 +02:00
Torsten Dittmann
bb20b3f52c feat(realtime): projects channels 2024-09-30 16:32:50 +02:00
fogelito
6625d4e4a8 Add console error 2024-09-30 11:01:01 +03:00
fogelito
032fec3cae Add id 2024-09-30 10:43:50 +03:00
fogelito
0b6467291b Ignore junction tables 2024-09-27 15:43:21 +03:00
fogelito
d5bf134c92 delete deleteCollection 2024-09-27 13:14:38 +03:00
fogelito
e627cab92e Check deviceForFiles 2024-09-27 11:43:22 +03:00
fogelito
7389c9a5fe Catch Throwable 2024-09-27 10:50:09 +03:00
fogelito
26f0efc34d Ignore junction tables 2024-09-27 10:45:23 +03:00
fogelito
a8bb54a33e var_dump $junctions 2024-09-26 18:24:40 +03:00
fogelito
d642111bfa relatedCollection 2024-09-26 18:13:27 +03:00
fogelito
e000234dbd relatedCollection 2024-09-26 18:11:41 +03:00
fogelito
2b08fb59c3 relations 2024-09-26 16:50:42 +03:00
fogelito
b1cfd1c0ff Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
2024-09-26 10:42:15 +03:00
fogelito
226c3c0372 Remove var_dumps 2024-09-26 10:38:36 +03:00
fogelito
5c7e4393a7 revert 2024-09-26 09:54:26 +03:00
fogelito
17d0053f37 use Authorization skip 2024-09-26 09:45:00 +03:00
fogelito
1cf26b1f46 Dbg $projectCollectionIds 2024-09-25 19:08:24 +03:00
fogelito
0ace58f00b Dbg $projectCollectionIds 2024-09-25 19:04:47 +03:00
fogelito
3228ccb4f9 Dbg $projectCollectionIds 2024-09-25 18:21:47 +03:00
fogelito
868c416202 Dbg $projectCollectionIds 2024-09-25 18:19:41 +03:00
fogelito
7116405793 Dbg $projectCollectionIds 2024-09-25 18:16:57 +03:00
fogelito
a9469e8734 projectId schedules 2024-09-25 16:49:49 +03:00
fogelito
71ffe2bf52 Deletes schedules 2024-09-25 16:39:31 +03:00
fogelito
a42a669d6e equal equal 2024-09-24 22:02:38 +03:00
fogelito
12d119069e equal 2024-09-24 22:02:18 +03:00
fogelito
75d681e6e2 Remove Breadcrumb 2024-09-24 19:01:01 +03:00
Shmuel Fogel
3121cd1c07
Update src/Appwrite/Platform/Workers/Migrations.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2024-09-24 18:52:38 +03:00
Bradley Schofield
46bef5a61d
Merge branch '1.6.x' into 1.5.x-db-storage-metrics 2024-09-24 18:12:11 +09:00
Bradley Schofield
fb1c0c85b0 Handle missing database 2024-09-24 16:10:52 +09:00
Bradley Schofield
001d13d7e9 Improve Stability, handle cases of deleted collections or databases 2024-09-24 16:08:46 +09:00
Bradley Schofield
585ee4b88e Get tests passing 2024-09-24 15:18:35 +09:00
Bradley Schofield
3a68c77406 Try and get tests working 2024-09-24 14:28:11 +09:00
Bradley Schofield
9db6f4cbee Address Comments 2024-09-24 00:54:27 +09:00
Bradley Schofield
00acc2f73b Address Comments 2024-09-24 00:07:54 +09:00
Bradley Schofield
f9d0f8fc38 Run Linter 2024-09-23 18:16:18 +09:00
Bradley Schofield
a309f31a33 Add tests, move hooks to API Layer 2024-09-23 18:08:48 +09:00
fogelito
6f5b144e70 Add info resourceType 2024-09-22 14:15:01 +03:00
fogelito
8213b37cf4 Add info resourceType 2024-09-22 13:29:42 +03:00
fogelito
0eb0054f38 Add info resourceType 2024-09-22 10:50:13 +03:00
fogelito
4d24c08220 Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
2024-09-22 10:44:06 +03:00
Binyamin Yawitz
5ffca0f6fa
fix: typo in scheduler base 2024-09-20 12:37:45 -04:00
Binyamin Yawitz
5512340cdd
Revert "Feat eldad4 coroutines" 2024-09-20 12:30:05 -04:00
Binyamin Yawitz
d2aaa99076
Revert "Fix typo in scheduler base" 2024-09-20 12:26:17 -04:00
Binyamin Yawitz
0702d7ec9c
chore: merge 2024-09-19 14:25:05 -04:00
Binyamin Yawitz
fe7f39d7a5
fix: reviews 2024-09-19 13:48:15 -04:00
fogelito
2517605cd1 Add this 2024-09-19 18:45:00 +03:00
fogelito
d6d7cf1d9f Pull 1.6.x 2024-09-19 18:27:02 +03:00
fogelito
b519f5e23a Merge branch '1.6.x' of https://github.com/appwrite/appwrite into migrations-backups
# Conflicts:
#	composer.json
#	composer.lock
#	src/Appwrite/Platform/Tasks/ScheduleBase.php
#	src/Appwrite/Specification/Format/Swagger2.php
2024-09-19 18:19:45 +03:00
Bradley Schofield
82687c8ca4 Merge branch 'main' into 1.5.x-db-storage-metrics
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	app/controllers/api/project.php
#	src/Appwrite/Utopia/Response/Model/UsageProject.php
#	tests/e2e/General/UsageTest.php
2024-09-19 15:37:27 +09:00
Binyamin Yawitz
1581a8c654
chore: merge 2024-09-18 09:28:55 -04:00
Bradley Schofield
e88cfed03a Normalize algorithm being used 2024-09-18 16:30:02 +09:00
Bradley Schofield
be3e3790c9 Update Database lib, update instances where findOne is used to ensure we check document is empty. 2024-09-18 14:47:36 +09:00
Christy Jacob
af126a28ae
Merge pull request #8639 from appwrite/fix-scheduled-executions
Fix: scheduled executions data
2024-09-18 01:40:31 +04:00
Steven Nguyen
a26f08a32b
fix(messaging): ensure metric includes provider name 2024-09-17 12:20:30 -07:00
Steven Nguyen
9c088f974a
fix(messaging): use count of delivery errors for metrics
`$deliveryErrors` is an array so we need to get a count before using it
in metrics.
2024-09-17 11:57:22 -07:00
shimon
4654c09edc fix 2024-09-17 14:13:09 +03:00
shimon
4cbbd19cf9 linter 2024-09-17 12:33:06 +03:00
shimon
25f82895c5 adding external messages usage 2024-09-17 12:20:55 +03:00
shimon
0791b68149 adding external messages usage 2024-09-17 11:45:07 +03:00
Binyamin Yawitz
de95bf677e
fix: removing unneeded coroutine 2024-09-16 15:05:20 -04:00
Binyamin Yawitz
e246005c51
chore: merge 2024-09-16 11:17:40 -04:00
Matej Bačo
c4991b9941 Merge remote-tracking branch 'origin/1.6.x' into fix-scheduled-executions 2024-09-14 10:28:30 +00:00
Christy Jacob
a00c771be0
Merge pull request #8643 from appwrite/chore-prettyprint-specs
Chores: Prettyprint specs
2024-09-10 14:52:43 +04:00
Matej Bačo
d25ac4998a Merge remote-tracking branch 'origin/1.6.x' into chore-prettyprint-specs 2024-09-10 10:50:26 +00:00
Christy Jacob
ca9af0510a
Merge pull request #8627 from appwrite/fix-functions-logging
Fix: logging behaviour for Functions
2024-09-10 14:49:06 +04:00
Christy Jacob
876bb6e2c8
Merge pull request #8631 from appwrite/feat-vcs-env-vars
Feat: VCS vars to deployments & executions
2024-09-10 14:48:22 +04:00