Commit graph

450 commits

Author SHA1 Message Date
Chirag Aggarwal
84595e625d chore: use getDocument instead to fetch devKey 2025-04-09 09:31:05 +00:00
Chirag Aggarwal
7aecd3814a fix: minor mistakes in devkeys naming and initialization 2025-04-09 09:15:36 +00:00
Damodar Lohani
db699fe0f6
Merge branch 'feat-sites' into fix-usage-sites 2025-04-09 08:01:15 +05:45
Matej Baco
2689cceb71 Implement A/AAAA custom domain support 2025-04-08 14:48:50 +00:00
Matej Bačo
d205ea61c1 Separate function & site timeout 2025-04-08 12:23:43 +02:00
Matej Bačo
2acf241827 Increase default timeout to fix screenshot cold-start issues 2025-04-08 12:12:53 +02:00
Damodar Lohani
12bf434f6a fix division by 0 2025-04-08 09:08:00 +00:00
Damodar Lohani
080350f7ad Fix data types and response 2025-04-08 08:52:12 +00:00
Damodar Lohani
8d0cdb8e7f
Merge branch 'feat-sites' into fix-usage-sites 2025-04-08 14:30:43 +05:45
Matej Bačo
a0c013fcec Post-1.6.x-merge fixes 2025-04-08 10:44:57 +02:00
Damodar Lohani
ed332a776f More stats in usage endpoints 2025-04-08 08:42:55 +00:00
Damodar Lohani
a6d15d032f improve sites usage 2025-04-08 05:06:03 +00:00
Damodar Lohani
092bb1adac fix possible division by zero 2025-04-07 06:41:13 +00:00
Damodar Lohani
8e18af5db1 update get usage and response model 2025-04-07 04:45:20 +00:00
Damodar Lohani
b6550c88ef new metrics in functions usage response 2025-04-07 03:52:17 +00:00
Damodar Lohani
1c10528585
Merge branch 'feat-sites' into fix-usage-sites 2025-04-03 10:23:34 +05:45
Damodar Lohani
0d7187a5cc Skip metrics when sites executed during build 2025-04-02 04:48:22 +00:00
Matej Bačo
51d2deca5f Fix endpoint description 2025-04-01 20:44:49 +02:00
Matej Bačo
1bdbb8fce1 Fix failing tests 2025-04-01 16:50:11 +02:00
Damodar Lohani
3a3e9cc281 Fix get usage - sites and functions 2025-04-01 03:59:40 +00:00
Damodar Lohani
7ecba8e5bb add disabled metrics 2025-04-01 02:41:27 +00:00
Damodar Lohani
1af638deef new resource type metrics 2025-04-01 02:21:52 +00:00
Matej Bačo
ef39f8c2e2 Fix multiple small bugs
- VCS deployments stuck in waiting
- Fix tcp coroutine issues in builds worker, failing screenshots
- Fix command escaping with space and quotes
- Remove branding from already branded 404 page
- Fix css reset of preview banner
- Remove scope check from public endpoints
- Improve build logs colors
- Function logs say capturing screenshot
- Update GitHub comment design
2025-03-31 18:51:33 +02:00
Damodar Lohani
ad9d953e10 fix missing resource type 2025-03-31 07:51:37 +00:00
Damodar Lohani
11bd9e63f0 update constants 2025-03-31 06:45:16 +00:00
Damodar Lohani
ac152a76b5 Fix: usage stats changes 2025-03-31 06:28:58 +00:00
Matej Bačo
cfe6b8d34b Add score to function templates 2025-03-27 14:23:15 +01:00
Matej Bačo
7c1fb0d945 Add template details 2025-03-27 11:32:03 +01:00
Matej Bačo
834872870f Linter fix 2025-03-27 09:17:15 +01:00
Matej Bačo
6af57ca48e Fix async crashes 2025-03-26 17:51:39 +01:00
Matej Bačo
3c8e4da34d Update tests 2025-03-26 17:04:38 +01:00
Matej Bačo
34ab21730d Linter fix 2025-03-26 15:22:19 +01:00
Matej Bačo
62be0e1d00 Fix latest deployment attributes 2025-03-26 14:38:18 +01:00
Matej Bačo
2c55f5aaa6 Concurrency screenshots 2025-03-26 13:20:14 +01:00
Matej Bačo
681b6031aa Linter fix 2025-03-26 12:59:15 +01:00
Matej Bačo
ab03b4e3ca Deployment ready after screenshot 2025-03-26 12:59:05 +01:00
Matej Bačo
b11749c452
Merge pull request #9576 from appwrite/feat-add-logging-param-to-sites
Add logging param to sites
2025-03-25 15:55:22 +01:00
Khushboo Verma
abae54f72c Update copy for logging 2025-03-25 19:49:57 +05:30
Khushboo Verma
bf2b3b68e3 Add logging param to sites 2025-03-25 19:14:14 +05:30
Khushboo Verma
9fd8c5ab9d Add fallbackfile and adapter to deployments collection 2025-03-24 20:04:02 +05:30
Matej Bačo
c323c227f9
Merge pull request #9549 from appwrite/fix-github-check-url
Fix GitHub check URL
2025-03-20 16:50:34 +01:00
Matej Bačo
d72ba2a4b9
Merge pull request #9551 from appwrite/chore-code-readability-tasks-and-workers
Split params across multiple lines where overflowing
2025-03-20 16:50:01 +01:00
Matej Bačo
2dcebf3083 Add remaining changes after sync with 1.7.x 2025-03-20 16:48:09 +01:00
Khushboo Verma
813424aa3c Split params across multiple lines where overflowing 2025-03-20 20:37:32 +05:30
Matej Bačo
e34fc92c7c PR review changes 2025-03-20 15:44:15 +01:00
Matej Bačo
bb01c9e9e9 Add latest deployment tests 2025-03-20 15:22:35 +01:00
Khushboo Verma
ec6683cfa9 Refactor 2025-03-20 18:44:00 +05:30
Khushboo Verma
c2d0aded6d Fix GitHub check URL 2025-03-20 18:04:36 +05:30
Matej Bačo
ffb86ace38 Add latest info detail to site & function 2025-03-18 15:29:21 +01:00
Matej Bačo
963760678c
Merge pull request #9534 from appwrite/feat-active-deployment-details
Feat: Active deployment details - status, creation date
2025-03-18 15:03:06 +01:00
Khushboo Verma
e95aeed56c
Merge pull request #9535 from appwrite/fix-github-author-url
Fix incorrect URL for git commits
2025-03-18 17:39:37 +05:30
Matej Bačo
362520ff4a Remove active depoyment status (not relevant, always ready) 2025-03-18 12:56:44 +01:00
Khushboo Verma
1299fffdb2 Fix incorrect URL for git commits 2025-03-18 17:18:08 +05:30
Matej Bačo
7cade1a27d Add active deployment status and creation date 2025-03-18 12:44:21 +01:00
Matej Bačo
ef163e8517 Add screenshots to site 2025-03-18 12:01:30 +01:00
Matej Bačo
a0d4e4736c
Merge pull request #9524 from appwrite/feat-deployment-total-size
Feat: totalSize attribute
2025-03-18 11:03:11 +01:00
Matej Bačo
3f1c4c2095 Add per-framework screenshot sleep 2025-03-18 11:02:32 +01:00
Matej Bačo
b4536a94e0 Introduce dpeloyment totalSize + tests 2025-03-17 17:35:03 +01:00
Matej Bačo
ae5267cda7 Fix response model for adapters (frameworks) 2025-03-17 16:02:16 +01:00
Matej Bačo
828b9349c3 Improve build worker realtime, new tests 2025-03-17 13:21:36 +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
7a131d3508 Post-merge fixes 2025-03-14 13:56:37 +01:00
Matej Bačo
c5dfabdb7c Fix commit deployments, allow for sites 2025-03-13 15:38:29 +01:00
Matej Bačo
79e066a4d7 Post-merge fixes 2025-03-13 12:04:20 +01:00
Matej Bačo
8376b176cb Support commit type 2025-03-13 11:17:10 +01:00
Matej Bačo
69ed3bb776 New deployment status while queued 2025-03-13 10:53:25 +01:00
Matej Bačo
262b2e6cff Fix error messag coloring 2025-03-13 10:53:15 +01:00
Matej Bačo
acb9548e85 Fix preview deicison-maker; speed-up tests 2025-03-13 10:33:28 +01:00
Matej Bačo
b14d76af0d
Merge pull request #9500 from appwrite/chore-improve-readability
Improve params readability
2025-03-13 09:56:11 +01:00
Khushboo Verma
f2ba319e6e Improve params readability 2025-03-13 12:16:17 +05:30
Khushboo Verma
794329be82 Updated check 2025-03-12 17:25:39 +05:30
Khushboo Verma
5549cd8900 Merge branch 'feat-sites' into chore-add-invalid-ssr-site-test 2025-03-12 17:16:03 +05:30
Matej Bačo
a840d9de20
Merge pull request #9490 from appwrite/chore-avoid-repetition-in-workers
Avoid code repetition in workers and tasks
2025-03-12 12:40:29 +01:00
Matej Bačo
8f391db39a
Merge pull request #9484 from appwrite/chore-attribute-conistency
Chore: Attribute name consistency
2025-03-12 12:23:56 +01:00
Khushboo Verma
2f9802afa2 Use empty check 2025-03-12 16:50:20 +05:30
Khushboo Verma
3af1910cf9 Throw build error for adapter mismatch 2025-03-12 16:43:46 +05:30
Matej Bačo
ea35b6226d Fix flutter screenshots 2025-03-12 11:16:55 +01:00
Khushboo Verma
42cd1df77d Remove duplication from workers 2025-03-12 15:24:52 +05:30
Matej Bačo
994e2faa42 OPR v5 + Flutter starter 2025-03-11 18:19:25 +01:00
Matej Bačo
ba26dd6df5 Apply consistency of attributes 2025-03-11 16:26:49 +01:00
Matej Bačo
ab7041d653 Merge branch 'feat-sites' into chore-add-template-tests-to-sites 2025-03-11 14:17:40 +01:00
Khushboo Verma
1b04ae6d96 Add get and list template tests for sites 2025-03-11 17:21:28 +05:30
Matej Bačo
95e96b3bfb Fix missing deployment domains 2025-03-11 11:53:26 +01:00
Matej Bačo
7f05a74b31 Increase rate limit for 0.5s debounce in UI 2025-03-11 10:27:08 +01:00
Matej Bačo
733c5ad97d Add enforced minimal specs 2025-03-11 10:24:18 +01:00
Matej Bačo
71b56fc504 Remove log/execution search 2025-03-11 10:22:28 +01:00
Matej Bačo
62eb159e6a Merge branch 'feat-sites' of github.com:appwrite/appwrite into feat-sites 2025-03-11 10:08:47 +01:00
Matej Bačo
f61db29498 Rename config to follow folder pattern 2025-03-11 09:50:02 +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
aabee0ac37 Fix order of site commands 2025-03-09 16:15:08 +01:00
Matej Bačo
4e1168654d Fix tests 2025-03-09 15:42:17 +01:00
Matej Bačo
254018071a Fix tests; upgrade console 2025-03-09 15:33:06 +01:00
Matej Bačo
e904ab6232 Fix path issue 2025-03-09 15:07:25 +01:00
Matej Bačo
fed6cefa81 Fix cors issues 2025-03-09 14:50:45 +01:00
Matej Bačo
3730ff4895 Fix SDK generation 2025-03-09 00:19:54 +01:00
Matej Bačo
852a16d01b Remove leftovers 2025-03-08 23:34:37 +01:00
Matej Bačo
65bcf7898e Improve CI/CD logs 2025-03-08 22:56:16 +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
9c3cfc4f83
Merge pull request #9357 from appwrite/feat-authroized-previews
Feat: Authorized previews
2025-03-08 21:04:25 +01:00
Matej Bačo
b4d366eea1
Merge pull request #9457 from appwrite/chore-remove-builds-collection
Chore Remove builds collection
2025-03-08 20:45:10 +01:00
Matej Bačo
8a4954d4e8 PR review changes 2025-03-08 20:44:54 +01:00
Matej Bačo
1943e00e40 Fix tests 2025-03-08 19:58:54 +01:00
Matej Bačo
f75acfa503 Remove deploymentUpdatePolicy, add trigger 2025-03-08 19:19:05 +01:00
Matej Bačo
83dd6a9897 FIx tests 2025-03-08 18:39:13 +01:00
Matej Bačo
232f99c6c9 Finalize PR, review changes, fix tests 2025-03-08 16:50:39 +01:00
Matej Bačo
faa1b0a59b Merge branch 'feat-sites' into feat-add-detection-logic 2025-03-08 14:58:49 +01:00
Matej Bačo
fe210e0cf0 Merge branch 'feat-sites' into feat-authroized-previews 2025-03-08 13:04:00 +01:00
Matej Bačo
06020e2b62 Add preview auth tests, finish todos, improve quality 2025-03-08 12:57:55 +01:00
Matej Bačo
c6a862a0a3 Specifications test, fix failures 2025-03-07 23:17:15 +01:00
Matej Bačo
1d983a949e Merge site & function specs 2025-03-07 22:36:13 +01:00
Matej Bačo
c1ee2f2b41 Failing test fixes 2025-03-07 21:04:24 +01:00
Matej Bačo
6a584c83c1 Attribute renaming 2025-03-07 20:14:11 +01:00
Matej Bačo
f07c351c94 Linter fix 2025-03-07 11:22:13 +01:00
Matej Bačo
a42522feaa Fix test failures 2025-03-07 11:11:32 +01:00
Matej Bačo
9400fdbbe5 Leftover bugs after rework 2025-03-07 10:43:54 +01:00
Matej Bačo
92b696ea21 Introduce type-relevant attributes to rules 2025-03-07 10:14:45 +01:00
Matej Bačo
50ec55d595 Fix site tests 2025-03-06 18:35:57 +01:00
Matej Bačo
a7fc8cf84b Fix functions 2025-03-06 18:17:01 +01:00
Matej Bačo
794c6536fb Fixbugs 2025-03-06 17:55:53 +01:00
Matej Bačo
2e30c1ba1f Reapply "Remove builds collection"
This reverts commit 654d178cf2.
2025-03-06 15:34:06 +01:00
Matej Bačo
654d178cf2 Revert "Remove builds collection"
This reverts commit 02e740f8b0.
2025-03-06 15:33:48 +01:00
Matej Bačo
02e740f8b0 Remove builds collection 2025-03-06 15:32:23 +01:00
Matej Bačo
825e9639b1 Move cancel build to deployment endpoint 2025-03-06 12:20:08 +01:00
Khushboo Verma
9a44e8130f Add tests for framework, runtime and rendering detection 2025-03-05 22:35:49 +05:30
Matej Bačo
87a9d72523 Merge branch 'feat-sites' into chore-rename-redeploy-endpoint 2025-03-05 12:33:17 +01:00
Matej Bačo
f6674f07e4 Add redeploy tests 2025-03-05 12:29:27 +01:00
Matej Bačo
a0a82b86dc Migrate redeploy endpoint 2025-03-05 11:29:43 +01:00
Matej Bačo
b29b5da006 Improve code quality 2025-03-05 10:48:26 +01:00
Matej Bačo
46039ded2f Fix rule updating 2025-03-05 10:35:01 +01:00
Matej Bačo
dfce78c421 Merge branch 'feat-sites' into chore-rename-activate-endpoint 2025-03-05 10:01:54 +01:00
Khushboo Verma
bbf37e0a0e Update length to 255 2025-03-05 13:40:15 +05:30
Khushboo Verma
826b034cd2 Re-add files deleted by mistake 2025-03-05 11:46:31 +05:30
Khushboo Verma
9ee9a8e0ed Resolve merge conflicts 2025-03-05 11:38:28 +05:30
Matej Bačo
ea30d976a8 Fix wrong path, implement tests 2025-03-04 16:04:37 +01:00
Matej Bačo
9b8e4dd862 Rename active deployment path 2025-03-04 15:22:20 +01:00
Matej Bačo
03c9e57773
Merge pull request #9434 from appwrite/chore-combine-download-endpoints
Chore: Combine download endpoints
2025-03-04 15:10:24 +01:00
Matej Bačo
a2abd982cf Backwards compatibility 2025-03-04 14:13:47 +01:00
Matej Bačo
64183f2946 Fix tests, remove leftovers 2025-03-04 13:45:44 +01:00
Matej Bačo
d9eb942e8c Merge deployment download endpoints 2025-03-04 13:43:13 +01:00
Khushboo Verma
84e1b050a9 Truncate commit message to 252 characters 2025-03-04 17:28:06 +05:30
Khushboo Verma
e94438927e Add resource type label in sites endpoints 2025-03-04 17:05:09 +05:30
Matej Bačo
2ae61164d4 Merge branch 'feat-sites' into feat-screenshot-task 2025-03-03 16:45:49 +01:00
Matej Bačo
8e03db6c9e Fix tests 2025-03-03 16:42:29 +01:00
Matej Bačo
64e2f904c5 Merge branch 'feat-sites' into feat-screenshot-task 2025-03-03 16:05:19 +01:00
Matej Bačo
c303aa57ce Fix template CORS 2025-03-03 12:59:36 +01:00
Khushboo Verma
ef37139592 Resolve merge conflicts 2025-03-03 13:57:29 +05:30
Matej Bačo
580204912c Leftover 2025-02-28 15:20:38 +01:00
Matej Bačo
d75b601a7b
Update src/Appwrite/Platform/Modules/Functions/Http/Deployments/Builds/Download/Get.php
Co-authored-by: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com>
2025-02-28 12:10:24 +01:00