Commit graph

277 commits

Author SHA1 Message Date
Matej Bačo
ffb86ace38 Add latest info detail to site & function 2025-03-18 15:29:21 +01:00
Matej Bačo
a4d4b6ffb5 Fix tests 2025-03-17 11:41:02 +01:00
Matej Bačo
cbdd344490 Remove framework env var 2025-03-17 11:21:52 +01:00
Matej Bačo
d8418a222c
Merge pull request #9433 from appwrite/chore-truncate-git-commit-message
Truncate commit message to 252 characters
2025-03-11 09:42:21 +01:00
Matej Bačo
63c7f4c8bc Fix remix detection false postive 2025-03-10 15:33:11 +01:00
Matej Bačo
b11ad4b1c9 Fix a bug 2025-03-10 15:16:47 +01:00
Matej Bačo
aabee0ac37 Fix order of site commands 2025-03-09 16:15:08 +01:00
Matej Bačo
5f766f6a13 Merge branch 'feat-sites' into chore-rules-rehaul 2025-03-08 21:33:13 +01:00
Matej Bačo
7d27ceef43
Merge pull request #9315 from appwrite/feat-add-detection-logic
Integrate detection library with Appwrite
2025-03-08 21:30:19 +01:00
Matej Bačo
8a4954d4e8 PR review changes 2025-03-08 20:44:54 +01:00
Matej Bačo
f75acfa503 Remove deploymentUpdatePolicy, add trigger 2025-03-08 19:19:05 +01:00
Matej Bačo
232f99c6c9 Finalize PR, review changes, fix tests 2025-03-08 16:50:39 +01:00
Matej Bačo
6a584c83c1 Attribute renaming 2025-03-07 20:14:11 +01:00
Matej Bačo
92b696ea21 Introduce type-relevant attributes to rules 2025-03-07 10:14:45 +01:00
Khushboo Verma
de5f33f206 keep truncation only during create document 2025-03-05 22:45:48 +05:30
Khushboo Verma
9b8dd02a88 Don't throw exception from list repos detection 2025-03-05 13:48:44 +05:30
Khushboo Verma
bbf37e0a0e Update length to 255 2025-03-05 13:40:15 +05:30
Khushboo Verma
84e1b050a9 Truncate commit message to 252 characters 2025-03-04 17:28:06 +05:30
Khushboo Verma
20ad91a906 Simplify logic to fetch versionedRuntime 2025-03-04 13:45:56 +05:30
Khushboo Verma
8b8f632abe Add providerRepository model and extend it for framework and runtime 2025-03-03 13:54:07 +05:30
Khushboo Verma
dc71c50123 Resolve merge conflicts 2025-02-28 16:20:24 +05:30
Khushboo Verma
a54f84fce8 Resolve merge conflicts 2025-02-25 16:20:58 +05:30
Matej Bačo
2ba84bf93f Rule search param fix 2025-02-25 10:47:47 +01:00
Matej Bačo
40beecdddc Fix tests 2025-02-24 18:42:20 +01:00
Matej Bačo
427e781b5b Add git domains, improve tests 2025-02-24 16:22:23 +01:00
Matej Bačo
a56086f8bf Basics of rules rework 2025-02-23 21:34:14 +01:00
Khushboo Verma
1394b4349c Separate response models for list repos 2025-02-21 15:22:15 +05:30
Matej Bačo
732e74f114 Finalize screenshot tests 2025-02-20 14:22:30 +01:00
Khushboo Verma
a7c1bd94ed Add framework detection to list repos 2025-02-20 12:54:26 +05:30
Khushboo Verma
76b154bfce Add framework detection to list repos 2025-02-17 17:54:13 +05:30
Matej Bačo
51e89f5110 Revert "Initial branch rule implementation"
This reverts commit 81a7ba536c.
2025-02-15 04:38:21 +01:00
Matej Bačo
81a7ba536c Initial branch rule implementation 2025-02-15 04:36:38 +01:00
Luke B. Silver
975393ae48
Revert "Restore "feat: custom app schemes""" 2025-02-07 17:34:58 +00:00
Matej Bačo
210349dc70 Merge branch '1.6.x' into feat-sites 2025-02-07 12:53:52 +01:00
Matej Bačo
f93eb2072c Merge branch '1.6.x' into feat-sites 2025-02-07 11:00:35 +01:00
Luke B. Silver
9788a126a8
Revert "Revert "feat: custom app schemes"" 2025-02-07 09:53:26 +00:00
Luke B. Silver
2af026eabe
Revert "feat: custom app schemes" 2025-02-07 09:51:27 +00:00
Khushboo Verma
8dd99b7d2a Add framework detection to Appwrite 2025-02-06 23:59:43 +05:30
Matej Bačo
66c4003789 Fix site tests 2025-02-04 10:51:33 +01:00
Matej Bačo
f9430d4d20 Merge branch '1.6.x' into fix-site-tests 2025-02-03 10:05:30 +01:00
loks0n
42cf1fefa5 feat: custom scheme 2025-01-24 16:21:12 +00:00
Bradley Schofield
02e7f91e59 Address all missing descriptions apart from ones in projects.php 2025-01-17 16:44:25 +09:00
Bradley Schofield
d5604efef8 Fix actions 2025-01-17 13:38:38 +09:00
Bradley Schofield
95dcb67747 Implement new SDK Class on 1.6.x 2025-01-17 13:31:39 +09:00
Matej Bačo
ba04a7760b Backwards-compatibility 2024-12-30 14:43:28 +01:00
Matej Bačo
fcb517e679 Fix type error 2024-12-27 13:32:22 +01:00
Matej Bačo
297826a62a Fix git identity collisions 2024-12-27 13:13:14 +01:00
Christy Jacob
75b42e134a chore: replace occurrences of dbForConsole to dbForPlatform 2024-12-12 14:30:26 +04:00
Khushboo Verma
00c6549610 Add _APP_DOMAIN_SITES to console variables 2024-11-20 14:44:22 +05:30
Khushboo Verma
43e2d7454a Create preview url rule when deployment is created 2024-11-18 20:27:07 +05:30
Khushboo Verma
2ad0428727 Merge 1.6.x into feat-sites 2024-11-13 13:18:21 +05:30
Bradley Schofield
40b8af0671 Further cleanup code now findOne returns empty doc 2024-10-31 17:13:23 +09:00
Khushboo Verma
dc8b9478ee Fix builds 2024-10-28 15:20:36 +01:00
Matej Bačo
c20e580a9e Fix missing params in VCS comment flow 2024-10-28 14:45:18 +01:00
Matej Bačo
31b9f2b4f9 Fix comments 2024-10-28 14:19:44 +01:00
Khushboo Verma
6ff15f9b53 WIP: GitHub Comments for Sites 2024-10-28 14:00:23 +01:00
Khushboo Verma
6b2160f388 Fix vcs deployments 2024-10-27 11:33:56 +01:00
Khushboo Verma
9d1d101586 Update VCS endpoin to work for both functions and sites 2024-10-25 14:41:14 +02:00
Jake Barnby
a7f1cc128a
Validate cursor queries to avoid getDocument type error 2024-10-17 18:41:24 +13: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
5e8ef5523d
Reapply "Fix auth injection"
This reverts commit 904e4c8650.
2024-10-01 11:08:47 -04:00
Binyamin Yawitz
d14edf4207
reverting: to set coroutines as head 2024-10-01 10:30:47 -04:00
Steven Nguyen
52e5947822
Merge branch 'main' into docs-fix-endpoints 2024-09-25 14:05:59 -07:00
Jake Barnby
c58fa78962
Remove tenant in filter 2024-09-05 14:25:11 +12:00
Richard Choi
08b539ba05 change API reference endpoints to sentence case 2024-09-03 16:32:11 +00:00
Binyamin Yawitz
22deb883c1
refactor: console links 2024-08-12 15:59:42 -04:00
Matej Bačo
186cef458b Implemented vcs.getRepositoryContents() 2024-06-26 10:03:27 +00:00
Matej Bačo
d091b37a15 Merge branch 'refactor-usage-sn' into refactor-usage-sn-1.5.x 2024-04-02 18:42: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
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
Torsten Dittmann
0a1d572c72 chore: run formatter 2024-03-06 18:34:21 +01:00
Khushboo Verma
4e2120952f Fix vcs silent mode 2024-02-28 13:27:36 +05:30
Jake Barnby
2f711c84ed
Remove callback resources from workers 2024-02-21 00:40:55 +13:00
Jake Barnby
06b15c79ff
Merge pull request #7572 from appwrite/attributes-query-fix
fix Indexes
2024-02-13 12:37:59 +13:00
fogelito
ace75b0786 parseQueries 2024-02-12 18:02:04 +02:00
fogelito
e5bada0493 typo 2024-02-12 12:03:31 +02:00
fogelito
adbe11fd50 fix Indexes 2024-02-12 11:55:45 +02:00
fogelito
2fe50717d1 TYPE_CURSOR_AFTER TYPE_CURSOR_BEFORE 2023-12-06 15:10:40 +01:00
Khushboo Verma
2e70ed59af Fix git installation deletion 2023-11-15 11:41:42 +05:30
Matej Bačo
7e1b618769 Fix permission issues with repositories collection 2023-11-14 16:50:59 +01:00
Khushboo Verma
cba20d8b96 Addressed PR comments 2023-10-27 19:38:33 +05:30
Khushboo Verma
2cf8639b68 Resolve merge conflicts 2023-10-23 15:06:01 +05:30
Khushboo Verma
66ec7f2e1d VCS tests 2023-10-13 18:50:58 +05:30
Khushboo Verma
bb75036efe WIP: Mocked GitHub installation 2023-10-13 01:45:27 +05:30
shimon
e2989afda8 queueForBuilds fix via functions controller 2023-10-09 13:28:06 +03:00
shimon
2bb4d8fb89 sync with 1.4 2023-10-02 17:02:48 +03:00
Steven Nguyen
9ca82b7662
Fix missing resourceInternalId on deployments 2023-09-20 19:26:23 -07:00
Matej Bačo
0690b00c30 Add Bun auto detection 2023-09-13 21:08:49 +02:00
Christy Jacob
12b03f3fb0
Merge pull request #6162 from appwrite/fix-webhook-secret-validation
Fix webhook secret validation and executor path validation
2023-09-06 13:59:13 -04:00
Vincent (Wen Yu) Ge
3bc085ea3f
Update app/controllers/api/vcs.php
Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
2023-09-06 13:57:46 -04:00
Khushboo Verma
39a4447103 Update webhook secret check 2023-09-06 22:34:03 +05:30
Khushboo Verma
af4be4051f Skip validation if webhook secret is empty 2023-09-06 13:12:27 +05:30
Matej Bačo
79726dbfb6 Fix formatting 2023-09-05 13:16:20 +02:00
Matej Bačo
5538c47b3f Improve installation exception when missconfigured 2023-09-05 12:14:43 +02:00
Jake Barnby
fc3ff188b1
Fix VCS + migrations scopes 2023-08-30 14:44:33 -04:00
Torsten Dittmann
0427c2e4eb chore: generate 1.4.x specs 2023-08-30 11:19:55 +02:00
Jake Barnby
07f8e9411a
Apply suggestions from code review 2023-08-29 13:41:40 -04:00
Khushboo Verma
1293e7bc5f Optimised list repositories endpoint 2023-08-29 23:07:34 +05:30
Matej Bačo
293e44e91e Introduce SMTP ping timeout 2023-08-24 13:04:49 +02:00
Vincent (Wen Yu) Ge
07a7a710ee Improve error and copy in params/models 2023-08-22 20:11:33 +00:00
Matej Bačo
7c184498bb Fix GitHub app auth and migrations 2023-08-21 15:16:02 +02:00
Khushboo Verma
78a224be14 Fix deployment creation on branch creation 2023-08-19 18:24:43 +05:30
Khushboo Verma
1284449765 Fixed GitHub comments 2023-08-19 18:21:27 +05:30
Khushboo Verma
4285d99f08 Added exception for repo creation + small fixes 2023-08-17 19:24:57 +05:30
Matej Bačo
c24e2786fb Even more PR review changes 2023-08-11 18:52:13 +02:00
Matej Bačo
f0125ac3bb PR review changes 2023-08-11 18:44:05 +02:00
Matej Bačo
897d299ae6 PR review changes, fixes from QA 2023-08-11 15:34:57 +02:00
Matej Bačo
3ed4a65828 Fix VCS after lib upgrade 2023-08-09 23:00:04 +02:00
Khushboo Verma
ced6eed6fa Add urls in deployment details 2023-08-09 23:05:23 +05:30
Khushboo Verma
a63a668601 Add additional deployment info 2023-08-09 21:23:58 +05:30
Khushboo Verma
e267349a88 Merge branch 'feat-git-integration' of github.com:appwrite/appwrite into feat-git-integration 2023-08-09 16:33:49 +05:30
Khushboo Verma
056b7120a6 Add additional information to deployments 2023-08-09 16:24:46 +05:30
Matej Bačo
a60b54f434 Use identities table 2023-08-09 11:52:34 +02:00
Khushboo Verma
c6cdc0c37c Fix broken functions flow 2023-08-09 13:16:17 +05:30
Matej Bačo
26aa37ccf0 Linter fix 2023-08-08 11:46:43 +02:00
Khushboo Verma
d19769415f Throw exception from createRepo 2023-08-07 21:09:51 +05:30
Matej Bačo
11068696c9 QA changes 2023-08-07 17:37:36 +02:00
Matej Bačo
345df3f2ca More QA fixes 2023-08-06 12:30:38 +02:00
Matej Bačo
e60456cfda QA after merge with 1.4 2023-08-06 10:51:53 +02:00
Matej Bačo
eb63ec9b10 Support failure url on vcs 2023-08-05 20:53:42 +02:00
Matej Bačo
8bc933ab91 Fix template issues 2023-08-04 10:56:46 +02:00
Khushboo Verma
5b9f71afe5 Add try-catch to listRepositories 2023-08-01 14:10:16 +05:30
Matej Bačo
ac2ca267d7 Address more PR reviews 2023-07-31 08:47:47 +02:00
Matej Bačo
c7605b85e0 Remove vcs prefix 2023-07-30 21:10:25 +02:00
Matej Bačo
6cea5a12bb Improve performance of listRepositores 2023-07-30 15:24:10 +02:00
Matej Bačo
280b2fc994 Rename repositories and installation IDs 2023-07-30 11:51:13 +02:00
Matej Bačo
96338954d2 Better runtime detection 2023-07-30 10:30:47 +02:00
Matej Bačo
a718f09f74 Update execution model, add detection to repository 2023-07-30 09:17:23 +02:00
Matej Bačo
22f638e6aa rename vcsRepos to vcsRepositories 2023-07-29 18:04:43 +02:00
Matej Bačo
e6d1a3424f Fix github state 2023-07-29 18:03:18 +02:00
Matej Bačo
f13d70d5be Rename env vars 2023-07-28 10:53:07 +02:00
Matej Bačo
37c0cc122a More PR review changes 2023-07-28 10:27:16 +02:00
Khushboo Verma
460e07dab0 Moved detection endpoint near listRepos 2023-07-28 13:21:53 +05:30
Khushboo Verma
2c291d53b9 Renamed variables, addressed PR comments 2023-07-28 13:10:19 +05:30
Khushboo Verma
c449aa0a68 Remove functions from installation response model 2023-07-26 15:15:45 +05:30
Khushboo Verma
8655d71a67 Minor fixes 2023-07-24 15:41:30 +05:30
Matej Bačo
e5adc5772c Add support for all runtime start commands 2023-07-24 08:23:23 +02:00
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
Khushboo Verma
e86382ce55 Add vcsState to user collection 2023-07-20 23:38:33 +05:30
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