Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
502 commits
Select commit Hold shift + click to select a range
2fb7dd8
fix(press-role): Ignore permissions for press members
shadrak98 Aug 8, 2025
ee3ee28
Merge pull request #2939 from shadrak98/fix-press-role
shadrak98 Aug 8, 2025
375c6f5
fix(press-role): Ignore permissions for press members
shadrak98 Aug 8, 2025
743fe47
Merge pull request #2940 from frappe/mergify/bp/master/pr-2939
shadrak98 Aug 8, 2025
8363870
test: Replace FrappeTestCase with IntegrationTestCase and fix setUp
tanmoysrt Aug 8, 2025
031f968
test(site): Fix all broken site api testcases
tanmoysrt Aug 8, 2025
1d15aee
test: Setup default tearDown method
tanmoysrt Aug 8, 2025
6faac88
test(bench): Avoid triggerring real deployment in test
tanmoysrt Aug 8, 2025
637a7bd
test(incident): Fix the test cases
tanmoysrt Aug 8, 2025
a449c3e
refactor(account-request): Don't send real mails in test mode
tanmoysrt Aug 8, 2025
63aae30
test(team): Create account request at the time of test team creation
tanmoysrt Aug 8, 2025
7c4763d
test(2fa): Fix broken testcases
tanmoysrt Aug 8, 2025
e571df8
test(press-role): Fix press role related broken tests
tanmoysrt Aug 8, 2025
8167106
Merge branch 'develop' into fix_tests
tanmoysrt Aug 8, 2025
62c24b2
Merge branch 'develop' into master
tanmoysrt Aug 9, 2025
0b40e15
Merge pull request #2938 from frappe/master
tanmoysrt Aug 9, 2025
6b2ecf5
fix(site-update): Handle the site ready_for_move exceptions after set…
tanmoysrt Aug 9, 2025
a795398
Merge pull request #2942 from frappe/master
tanmoysrt Aug 9, 2025
e963ac3
refactor(bench): Don't archive public or central bench without any dc…
tanmoysrt Aug 9, 2025
3e372a6
feat(utils): Utility function to check in test mode
tanmoysrt Aug 9, 2025
81d9148
test(agent-job): Add support to fake multiple agent jobs
tanmoysrt Aug 9, 2025
2161fd9
test(site): During test site creation allow to chose agent job faking
tanmoysrt Aug 9, 2025
7398b1e
test(bench): Fix broken test cases
tanmoysrt Aug 9, 2025
638004b
test(site-backup): Fix broken tests
tanmoysrt Aug 9, 2025
a72a0bd
test(team-deletion): Rewrite the request to send to local during test
tanmoysrt Aug 9, 2025
742dcd4
test(version-upgrade): The add_server method doesn't add server in li…
tanmoysrt Aug 9, 2025
0296722
test(site): In frappe.get_doc pass a string, don't pass object
tanmoysrt Aug 9, 2025
b839622
test: Fix Ruff issues
tanmoysrt Aug 9, 2025
0e27fe2
revert(site-test): Function create_test_site always accept bench as s…
tanmoysrt Aug 9, 2025
632d5e3
test(site): Fix broken site due to recent changes in framework
tanmoysrt Aug 9, 2025
89fe638
test(bench): Fix broken site due to recent changes in framework
tanmoysrt Aug 9, 2025
a6d02aa
test(arm-build-record): Fix broken site due to recent changes in fram…
tanmoysrt Aug 9, 2025
a40daf4
chore(audit): Better plan audit messages
Aradhya-Tripathi Aug 9, 2025
356bf90
Merge branch 'develop' into better-audit-messages
Aradhya-Tripathi Aug 9, 2025
76a4154
Merge pull request #2944 from frappe/better-audit-messages
Aradhya-Tripathi Aug 9, 2025
f5c9f64
chore(audit): Better plan audit messages
Aradhya-Tripathi Aug 9, 2025
0623d02
Merge pull request #2945 from frappe/mergify/bp/master/pr-2944
Aradhya-Tripathi Aug 9, 2025
a668b21
test: Truncate some table and increase throttle limit in before_tests
tanmoysrt Aug 9, 2025
fe2ab23
Merge branch 'develop' into fix_tests
tanmoysrt Aug 9, 2025
4a86d94
fix(monitoring): Store the session user at the beginning of function
tanmoysrt Aug 10, 2025
c72d341
Merge pull request #2946 from frappe/master
tanmoysrt Aug 10, 2025
63d221a
fix(monitoring): Argument name has been changed to monitor_token
tanmoysrt Aug 10, 2025
e77a1dd
fix(monitoring): Log authentication error
tanmoysrt Aug 10, 2025
f50209e
Merge pull request #2947 from frappe/master
tanmoysrt Aug 10, 2025
defc4fe
fix(ci): Raise sync pr from backport_master branch
tanmoysrt Aug 10, 2025
1087a59
Merge pull request #2948 from frappe/tanmoysrt-patch-1
tanmoysrt Aug 10, 2025
991223e
fix(ci): Raise sync pr from backport_master branch
tanmoysrt Aug 10, 2025
75609c7
fix(ci): Check develop branch for diff
tanmoysrt Aug 10, 2025
d067b6c
Merge pull request #2949 from frappe/tanmoysrt-patch-1
tanmoysrt Aug 10, 2025
d105ef0
fix(ci): Check develop branch for diff
tanmoysrt Aug 10, 2025
2ff084d
chore(payment-mandate): Add button for mandate status check
shadrak98 Aug 11, 2025
2c4b24f
Merge pull request #2953 from shadrak98/mandate-status
shadrak98 Aug 11, 2025
890fd74
chore(payment-mandate): Add button for mandate status check
shadrak98 Aug 11, 2025
52bd802
Merge pull request #2954 from frappe/mergify/bp/master/pr-2953
shadrak98 Aug 11, 2025
8d002f5
test: Change IntegrationTestCase to FrappeTestCase
tanmoysrt Aug 11, 2025
a63439b
refactor: use `Spinner` from frappe-ui
BreadGenie Aug 11, 2025
772035c
Merge pull request #2960 from frappe/backport_master
BreadGenie Aug 11, 2025
8235e31
test(marketplace): Use random app name for creating test app
tanmoysrt Aug 11, 2025
32fa222
chore(test-bench): Add msg to debug test failing only in ci
balamurali27 Aug 11, 2025
5ffbd7d
test(team-deletion): Remove team and deletion requests at teardown
tanmoysrt Aug 11, 2025
46d9ee1
test(arm-build-record): Patch bench and server commits
tanmoysrt Aug 11, 2025
5574075
test(marketplace): Fix broken testcases
tanmoysrt Aug 11, 2025
dab6944
Merge branch 'develop' into fix_tests
tanmoysrt Aug 11, 2025
94b1d2a
Merge pull request #2941 from tanmoysrt/fix_tests
tanmoysrt Aug 11, 2025
f9802ab
test(vm): Set mandatory platform flag to vm
tanmoysrt Aug 8, 2025
c4a18e8
test(server): Mock check_machine_availability function to prevent sen…
tanmoysrt Aug 8, 2025
29a4134
test: Replace FrappeTestCase with IntegrationTestCase and fix setUp
tanmoysrt Aug 8, 2025
5e9a100
test(site): Fix all broken site api testcases
tanmoysrt Aug 8, 2025
33c2387
test: Setup default tearDown method
tanmoysrt Aug 8, 2025
c3d2be3
test(bench): Avoid triggerring real deployment in test
tanmoysrt Aug 8, 2025
00f9697
test(incident): Fix the test cases
tanmoysrt Aug 8, 2025
59b86fc
refactor(account-request): Don't send real mails in test mode
tanmoysrt Aug 8, 2025
3afaf74
test(team): Create account request at the time of test team creation
tanmoysrt Aug 8, 2025
6e48be0
test(2fa): Fix broken testcases
tanmoysrt Aug 8, 2025
5bc02e9
test(press-role): Fix press role related broken tests
tanmoysrt Aug 8, 2025
5e758a0
refactor(bench): Don't archive public or central bench without any dc…
tanmoysrt Aug 9, 2025
7458948
feat(utils): Utility function to check in test mode
tanmoysrt Aug 9, 2025
91bd1d8
test(agent-job): Add support to fake multiple agent jobs
tanmoysrt Aug 9, 2025
9fa2ecc
test(site): During test site creation allow to chose agent job faking
tanmoysrt Aug 9, 2025
cbf827d
test(bench): Fix broken test cases
tanmoysrt Aug 9, 2025
5dd528b
test(site-backup): Fix broken tests
tanmoysrt Aug 9, 2025
cd84e8a
test(team-deletion): Rewrite the request to send to local during test
tanmoysrt Aug 9, 2025
91b65f6
test(version-upgrade): The add_server method doesn't add server in li…
tanmoysrt Aug 9, 2025
d7e5777
test(site): In frappe.get_doc pass a string, don't pass object
tanmoysrt Aug 9, 2025
bc851f1
test: Fix Ruff issues
tanmoysrt Aug 9, 2025
3b5369c
revert(site-test): Function create_test_site always accept bench as s…
tanmoysrt Aug 9, 2025
5396b66
test(site): Fix broken site due to recent changes in framework
tanmoysrt Aug 9, 2025
c30b1e9
test(bench): Fix broken site due to recent changes in framework
tanmoysrt Aug 9, 2025
de8d629
test(arm-build-record): Fix broken site due to recent changes in fram…
tanmoysrt Aug 9, 2025
6ca77e3
test: Truncate some table and increase throttle limit in before_tests
tanmoysrt Aug 9, 2025
d1fab1a
test: Change IntegrationTestCase to FrappeTestCase
tanmoysrt Aug 11, 2025
2911874
test(marketplace): Use random app name for creating test app
tanmoysrt Aug 11, 2025
3db2102
chore(test-bench): Add msg to debug test failing only in ci
balamurali27 Aug 11, 2025
c7fd620
test(team-deletion): Remove team and deletion requests at teardown
tanmoysrt Aug 11, 2025
31b9fc0
test(arm-build-record): Patch bench and server commits
tanmoysrt Aug 11, 2025
aa9cb9b
test(marketplace): Fix broken testcases
tanmoysrt Aug 11, 2025
e5c0bed
test(incident): Fix conflicts
tanmoysrt Aug 11, 2025
7e86ad6
feat(latest-ubuntu-image): Get latest ubuntu image for Hetzner
mngshm Aug 5, 2025
73d6390
feat(volumes): Get volumes mounted on server machine
mngshm Aug 6, 2025
9812894
fix(volumes): Use volume.id and return volumes outside of for
mngshm Aug 7, 2025
57d8009
feat(hetzner): Sync volumes in hetzner
mngshm Aug 7, 2025
0c919d0
feat(volume-protection): Sync and add method to protect from deletion
mngshm Aug 7, 2025
a2a21bb
feat(volumes): Detach volume
mngshm Aug 7, 2025
76977b8
feat(volumes): Delete volume using
mngshm Aug 7, 2025
bac6df3
fix(conflict): Fixed mr smoothly after so long...
mngshm Aug 11, 2025
def72b1
chore(attach-new-volume): Jump to if provider is Hetzner
mngshm Aug 7, 2025
0ddd615
feat(volumes): Create and attach volumes to Hetzner servers
mngshm Aug 7, 2025
c90f112
fix(detach-volume): Fix detach_volume handling
mngshm Aug 8, 2025
917d760
chore(delete-volume): Fix and Handle cloud provider specific method
mngshm Aug 8, 2025
e006b0a
fix(temporary-volumes): Revert dumb editor suggestion for method name
mngshm Aug 8, 2025
9cff72f
fix(detach-volume): Bring detach_volume api call out of for loop
mngshm Aug 8, 2025
b19ad2c
fix(sync-hetzner): Remove unnecessary checks and appends
mngshm Aug 8, 2025
70ea332
fix(root-volume): Make code compatible with root and data volume format
mngshm Aug 8, 2025
3637d9a
fix(nonsense): Dumb mistakes
mngshm Aug 9, 2025
ace7a88
fix(volume-protection): Wrap in an if-clause
mngshm Aug 9, 2025
ae21703
fix(h-root-disk): Throw error on attempting action on hetzner-root-disk
mngshm Aug 9, 2025
482e329
chore(hz-vm): Start machine
mngshm Aug 11, 2025
f4924dd
feat(machine-image): Create and Sync Hetzner machine Image
mngshm Aug 11, 2025
5bea58b
chore(vm-image): Use virtual_machine_image if avl or use Ubuntu-20.04
mngshm Aug 11, 2025
ea6d616
fix(vm-image): Dont fill root disk size for hetzner images
mngshm Aug 11, 2025
a6b79b0
test(bench): Fix conflicts
tanmoysrt Aug 11, 2025
0907370
Merge pull request #2963 from frappe/mergify/bp/master/pr-2941
tanmoysrt Aug 11, 2025
f05b232
feat(incident): Add investigation steps for server types
Aradhya-Tripathi Aug 11, 2025
da64ce8
Merge branch 'develop' into incident
Aradhya-Tripathi Aug 11, 2025
c9af162
feat(incident): Trigger investigation on f/n/m servers
Aradhya-Tripathi Aug 11, 2025
0310ec9
chore(incident): DRY-er investigation steps
Aradhya-Tripathi Aug 11, 2025
3aaa893
chore(incident-investigation): Cleaner investigation trigger
Aradhya-Tripathi Aug 11, 2025
ce2f0f2
chore(incident-investigation): Better naming
Aradhya-Tripathi Aug 11, 2025
f8c2176
fix(incident): Always ping sample site
balamurali27 Aug 12, 2025
117f84e
fix(onboarding): Add empty state pages for bench groups and servers
BreadGenie Aug 12, 2025
4c2acc8
fix(bench-group): skip patch and backup selection not reflecting on u…
BreadGenie Aug 12, 2025
cb0682f
Merge pull request #2968 from frappe/master
tanmoysrt Aug 12, 2025
f630c5e
fix(ui): Auto Increase Storage dialog
Aradhya-Tripathi Aug 12, 2025
1b6fb4a
Merge pull request #2969 from frappe/master
tanmoysrt Aug 12, 2025
3f7f2c6
chore(incident-investigation): Gauge cpu idle count better
Aradhya-Tripathi Aug 12, 2025
0277c25
feat(cluster): Add btn to check machine availability
balamurali27 Aug 12, 2025
5fdc9ee
feat(cluster): Add btn to check machine availability
balamurali27 Aug 12, 2025
2c9cc1c
feat(incident-investigation): Add status and threshold setup after in…
Aradhya-Tripathi Aug 12, 2025
98876a9
Merge branch 'develop' into incident
Aradhya-Tripathi Aug 12, 2025
9ce4029
chore(doctype): Rename investigation step
Aradhya-Tripathi Aug 12, 2025
2736b7d
chore(investigation-step): Add unreachable column to step & update st…
Aradhya-Tripathi Aug 12, 2025
b0d7fd1
fix(attach-volume): Get linux_device from response
mngshm Aug 12, 2025
bace7c0
Merge branch 'develop' into hzvolumes
mngshm Aug 12, 2025
c8414c9
feat(attach-volume): Make attach-volume a Press Job
mngshm Aug 12, 2025
0b19cf9
fix(subscription): change naming series to hash
BreadGenie Aug 12, 2025
7c20693
Merge pull request #2922 from frappe/hzvolumes
mngshm Aug 12, 2025
424171e
feat(latest-ubuntu-image): Get latest ubuntu image for Hetzner
mngshm Aug 5, 2025
7cf1660
feat(volumes): Get volumes mounted on server machine
mngshm Aug 6, 2025
af11556
fix(volumes): Use volume.id and return volumes outside of for
mngshm Aug 7, 2025
1c63d39
feat(hetzner): Sync volumes in hetzner
mngshm Aug 7, 2025
40770e5
feat(volume-protection): Sync and add method to protect from deletion
mngshm Aug 7, 2025
e53b175
feat(volumes): Detach volume
mngshm Aug 7, 2025
5a3258a
feat(volumes): Delete volume using
mngshm Aug 7, 2025
372d4e5
fix(conflict): Fixed mr smoothly after so long...
mngshm Aug 11, 2025
a93bbef
chore(attach-new-volume): Jump to if provider is Hetzner
mngshm Aug 7, 2025
2a201ba
feat(volumes): Create and attach volumes to Hetzner servers
mngshm Aug 7, 2025
c0fdad5
fix(detach-volume): Fix detach_volume handling
mngshm Aug 8, 2025
c8bdcc7
chore(delete-volume): Fix and Handle cloud provider specific method
mngshm Aug 8, 2025
dbc11c6
fix(temporary-volumes): Revert dumb editor suggestion for method name
mngshm Aug 8, 2025
a78e66c
fix(detach-volume): Bring detach_volume api call out of for loop
mngshm Aug 8, 2025
22a350a
fix(sync-hetzner): Remove unnecessary checks and appends
mngshm Aug 8, 2025
80b88cb
fix(root-volume): Make code compatible with root and data volume format
mngshm Aug 8, 2025
0c711a5
fix(nonsense): Dumb mistakes
mngshm Aug 9, 2025
253dc48
fix(volume-protection): Wrap in an if-clause
mngshm Aug 9, 2025
ec32254
fix(h-root-disk): Throw error on attempting action on hetzner-root-disk
mngshm Aug 9, 2025
b30a04c
chore(hz-vm): Start machine
mngshm Aug 11, 2025
b1103f0
feat(machine-image): Create and Sync Hetzner machine Image
mngshm Aug 11, 2025
4b85923
chore(vm-image): Use virtual_machine_image if avl or use Ubuntu-20.04
mngshm Aug 11, 2025
7da76cd
fix(vm-image): Dont fill root disk size for hetzner images
mngshm Aug 11, 2025
ed7cd04
fix(attach-volume): Get linux_device from response
mngshm Aug 12, 2025
97b524c
feat(attach-volume): Make attach-volume a Press Job
mngshm Aug 12, 2025
1f73e4c
Merge pull request #2972 from frappe/mergify/bp/master/pr-2922
mngshm Aug 12, 2025
5e64f0d
Merge branch 'develop' into incident
Aradhya-Tripathi Aug 12, 2025
11b301c
Revert "feat: Hetzner Volumes (backport #2922)"
mngshm Aug 12, 2025
253fa11
Merge pull request #2973 from frappe/revert-2972-mergify/bp/master/pr…
mngshm Aug 12, 2025
01507fd
fix(types): Remove invalid return types
Aradhya-Tripathi Aug 12, 2025
0719ddc
feat(investigation): Trigger investigation and adding tests
Aradhya-Tripathi Aug 12, 2025
9132ca2
feat(investigation-test): Add tests and mocks for prometheus calls an…
Aradhya-Tripathi Aug 12, 2025
aceb882
fix(test): Proxy and database server names while creating server
Aradhya-Tripathi Aug 13, 2025
627254d
chore(test): Remove database investigations
Aradhya-Tripathi Aug 13, 2025
241cc01
fix(investigation): Fix tests & set defaults
Aradhya-Tripathi Aug 13, 2025
f3d5bad
chore(test): Move to after insert for test run
Aradhya-Tripathi Aug 13, 2025
17ab98d
fix(incident): Identify problem also when regathering info
balamurali27 Aug 13, 2025
169f37e
fix(incident): Correct field names
balamurali27 Aug 13, 2025
aa28e69
chore(investigation): Start investigating post incident creation
Aradhya-Tripathi Aug 13, 2025
4a28584
Merge pull request #2964 from frappe/incident
Aradhya-Tripathi Aug 13, 2025
b3ca5c7
feat(incident): Add investigation steps for server types
Aradhya-Tripathi Aug 11, 2025
fde4f9f
feat(incident): Trigger investigation on f/n/m servers
Aradhya-Tripathi Aug 11, 2025
6cbc981
chore(incident): DRY-er investigation steps
Aradhya-Tripathi Aug 11, 2025
e5c017b
chore(incident-investigation): Cleaner investigation trigger
Aradhya-Tripathi Aug 11, 2025
e86514e
chore(incident-investigation): Better naming
Aradhya-Tripathi Aug 11, 2025
16c5c52
chore(incident-investigation): Gauge cpu idle count better
Aradhya-Tripathi Aug 12, 2025
812b952
feat(incident-investigation): Add status and threshold setup after in…
Aradhya-Tripathi Aug 12, 2025
558fd73
chore(doctype): Rename investigation step
Aradhya-Tripathi Aug 12, 2025
8c37f2d
chore(investigation-step): Add unreachable column to step & update st…
Aradhya-Tripathi Aug 12, 2025
bb08b81
fix(types): Remove invalid return types
Aradhya-Tripathi Aug 12, 2025
abc2ad1
feat(investigation): Trigger investigation and adding tests
Aradhya-Tripathi Aug 12, 2025
c3ec59e
feat(investigation-test): Add tests and mocks for prometheus calls an…
Aradhya-Tripathi Aug 12, 2025
6b57bc8
fix(test): Proxy and database server names while creating server
Aradhya-Tripathi Aug 13, 2025
30aa959
chore(test): Remove database investigations
Aradhya-Tripathi Aug 13, 2025
41c42ad
fix(investigation): Fix tests & set defaults
Aradhya-Tripathi Aug 13, 2025
ededde2
chore(test): Move to after insert for test run
Aradhya-Tripathi Aug 13, 2025
a31a24d
chore(investigation): Start investigating post incident creation
Aradhya-Tripathi Aug 13, 2025
4c1703a
Merge pull request #2976 from frappe/mergify/bp/master/pr-2964
Aradhya-Tripathi Aug 13, 2025
a7047b9
fix(vm-image): Get image only if virtual_machine_image is used
mngshm Aug 13, 2025
579c6ae
Merge pull request #2977 from frappe/hzvolumes
mngshm Aug 13, 2025
aa827af
fix(signup): prefill subdomain
BreadGenie Aug 13, 2025
c4d5307
fix(signup): stop spinner in the case of errors
BreadGenie Aug 13, 2025
9a4f257
fix(image): Use image id instead of image name
mngshm Aug 13, 2025
7fdee3c
Merge pull request #2979 from frappe/hzvolumes
mngshm Aug 13, 2025
9550a6f
chore(investigation): Add action to investigate & enqueue after commit
Aradhya-Tripathi Aug 13, 2025
bf294a4
Merge pull request #2980 from frappe/incident-investigation-fixes
Aradhya-Tripathi Aug 13, 2025
6005646
chore(investigation): Add action to investigate & enqueue after commit
Aradhya-Tripathi Aug 13, 2025
278d5d7
Merge pull request #2981 from frappe/mergify/bp/master/pr-2980
Aradhya-Tripathi Aug 13, 2025
73c3124
chore(investigation): Regular status updates
Aradhya-Tripathi Aug 13, 2025
7a1267d
chore(investigation): Catch connection timeout errors when pinging pr…
Aradhya-Tripathi Aug 13, 2025
2a138b9
fix(subscription): change naming series to hash
BreadGenie Aug 12, 2025
cd237bb
fix(incident): Identify problem also when regathering info
balamurali27 Aug 13, 2025
f8c6ab3
fix(incident): Correct field names
balamurali27 Aug 13, 2025
8fa5c3a
fix(signup): prefill subdomain
BreadGenie Aug 13, 2025
671d5d4
fix(signup): stop spinner in the case of errors
BreadGenie Aug 13, 2025
0abb67d
chore(investigation): Regular status updates
Aradhya-Tripathi Aug 13, 2025
6209a6f
chore(investigation): Catch connection timeout errors when pinging pr…
Aradhya-Tripathi Aug 13, 2025
95ef655
Merge branch 'master' of https://github.com/frappe/press into develop
mngshm Aug 13, 2025
e30a668
chore(display-depends-on): Add hetzner cloud provider filter
mngshm Aug 13, 2025
5b471a2
Merge pull request #2984 from frappe/filter-hetzner
mngshm Aug 13, 2025
244b1ef
fix(snapshotting): Add mandatory platform field
mngshm Aug 14, 2025
14bdff3
Merge pull request #2985 from frappe/lo-be-platform
mngshm Aug 14, 2025
51bd88d
Merge branch 'develop' of https://github.com/frappe/press into develop
mngshm Aug 14, 2025
82d3838
feat(investigation): Ignore investigation on self hosted servers & in…
Aradhya-Tripathi Aug 14, 2025
c8240d6
chore(investigation-step): Make fields readonly
Aradhya-Tripathi Aug 14, 2025
347964f
chore(incident): Associate incident with investigation
Aradhya-Tripathi Aug 14, 2025
9b836a3
fix(incident): Conflicts
Aradhya-Tripathi Aug 14, 2025
fda92f8
Merge pull request #2990 from frappe/mergify/bp/master/pr-2986
Aradhya-Tripathi Aug 14, 2025
e78961e
fix(signup): retry add domain job once before marking it as failure
BreadGenie Aug 14, 2025
51ec3a4
fix(site-restore-ui): Show errors in the Dialog itself
balamurali27 Aug 13, 2025
f36e16f
fix(site-restore-dialog): Format error in html
balamurali27 Aug 14, 2025
de9b1d6
fix(private-ip): Set field to read_only
mngshm Aug 14, 2025
11d7a5f
fix(field-property): Using ro to avoid breaking validation
mngshm Aug 14, 2025
ccd23ee
Merge pull request #2994 from frappe/mergify/bp/master/pr-2988
mngshm Aug 14, 2025
fb55876
chore(metrics): Get reasons for fc failures
Aradhya-Tripathi Aug 14, 2025
a0b1082
Merge pull request #2996 from frappe/mergify/bp/master/pr-2995
Aradhya-Tripathi Aug 14, 2025
1f4362c
Merge branch 'master' into mergify/bp/master/pr-2989
tanmoysrt Aug 14, 2025
135b379
chore(metric): Move metric generation to queue
Aradhya-Tripathi Aug 14, 2025
df08624
Merge branch 'master' into mergify/bp/master/pr-2989
tanmoysrt Aug 14, 2025
0a7448c
Merge pull request #2993 from frappe/mergify/bp/master/pr-2989
tanmoysrt Aug 14, 2025
22ebdd8
fix(metric): Move to enqueue
Aradhya-Tripathi Aug 14, 2025
41d6892
chore(metadata): Populate vcpu and ram
mngshm Aug 14, 2025
15ddd3f
fix(sync-hetzner): Call get_cloud_init() for user_data and update_server
mngshm Aug 14, 2025
0c63e84
Merge pull request #2998 from frappe/mergify/bp/master/pr-2997
mngshm Aug 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"COMPATBILITY",
"confs",
"Consolas",
"Containerised",
"cpath",
"cpcommerce",
"cpus",
Expand Down Expand Up @@ -1081,6 +1082,9 @@
"Rsya",
"rivo",
"mergify",
"ncdu"
"ncdu",
"interactjs",
"ocpu",
"Twillio"
]
}
45 changes: 25 additions & 20 deletions .github/workflows/auto-backport-master-to-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@ on:
- master

permissions:
contents: read
contents: write
pull-requests: write

jobs:
create-pr:
runs-on: ubuntu-latest
# Skip if the commit message contains merge-related keywords
if: |
!contains(github.event.head_commit.message, 'Merge pull request') &&
!contains(github.event.head_commit.message, 'Merge branch') &&
!startsWith(github.event.head_commit.message, 'Merge')

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -30,55 +29,61 @@ jobs:
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Get commit details
id: commit-info
- name: Prepare backport_master branch (Rebase)
run: |
git fetch origin develop
git fetch origin master

COMMITS=$(git log origin/develop..HEAD --pretty=format:"- %h %s")

# Store commits in a file to handle multiline content
# Create/update backport_master from develop
git checkout -B backport_master origin/develop

# Rebase onto master to avoid merge commits
git rebase origin/master || {
echo "Rebase conflict detected, aborting."
git rebase --abort
exit 1
}

git push origin backport_master --force-with-lease

- name: Get commit details
run: |
git fetch origin develop
COMMITS=$(git log origin/develop..origin/backport_master --pretty=format:"- %h %s")
echo "$COMMITS" > commits.txt

- name: Check if PR already exists
id: check-pr
run: |
# Check if there's already an open PR from master to develop
EXISTING_PR=$(gh pr list --head master --base develop --state open --json number --jq '.[0].number // empty')
EXISTING_PR=$(gh pr list --head backport_master --base develop --state open --json number --jq '.[0].number // empty')
echo "existing_pr=$EXISTING_PR" >> $GITHUB_OUTPUT
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pull Request
if: steps.check-pr.outputs.existing_pr == ''
run: |
# Read commits from file
COMMITS_LIST=$(cat commits.txt)

# Create PR description with merge instruction
PR_DESCRIPTION="**Please perform \`Merge & Commit\` to preserve commit history to avoid commit conflicts**
PR_DESCRIPTION="**Please perform \`Merge & Commit\` to preserve commit history**

$COMMITS_LIST"

# Create the PR
gh pr create \
--title "chore: Sync Changes from Master to Develop" \
--body "$PR_DESCRIPTION" \
--head master \
--head backport_master \
--base develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Update existing PR
if: steps.check-pr.outputs.existing_pr != ''
run: |
# Read commits from file
COMMITS_LIST=$(cat commits.txt)
PR_DESCRIPTION="**Please perform \`Merge & Commit\` to preserve commit history to avoid commit conflicts**
PR_DESCRIPTION="**Please perform \`Merge & Commit\` to preserve commit history**

$COMMITS_LIST"

# Update the existing PR

gh pr edit ${{ steps.check-pr.outputs.existing_pr }} \
--body "$PR_DESCRIPTION"
env:
Expand Down
5 changes: 1 addition & 4 deletions backbone/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe and contributors
# For license information, please see license.txt
import unittest
Expand All @@ -8,9 +7,7 @@


def run_tests():
coverage = Coverage(
source=[str(Path(__file__).parent.parent)], omit=["*/tests/*"], branch=True
)
coverage = Coverage(source=[str(Path(__file__).parent.parent)], omit=["*/tests/*"], branch=True)
coverage.start()
unittest.main(module=None, argv=["", "discover", "-s", "backbone"], exit=False)
coverage.stop()
Expand Down
6 changes: 3 additions & 3 deletions backbone/tests/test_hypervisor.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2020, Frappe and contributors
# For license information, please see license.txt
import unittest
from unittest.mock import MagicMock

from frappe.tests.utils import FrappeTestCase

from backbone.hypervisor import Hypervisor


class TestHypervisor(unittest.TestCase):
class TestHypervisor(FrappeTestCase):
def test_preinstall_pass(self):
shell = MagicMock()
shell.execute.return_value.returncode = 0
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'header-max-length': [2, 'always', 72],
Expand Down
10 changes: 10 additions & 0 deletions dashboard/auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {

}
10 changes: 0 additions & 10 deletions dashboard/generateThemeConfig.cjs

This file was deleted.

11 changes: 2 additions & 9 deletions dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<title>Frappe Cloud</title>
<link rel="icon" href="/favicon.png" type="image/x-icon" />
<link rel="icon" href="/assets/press/dashboard/favicon.png" type="image/x-icon" />
</head>

<body class="h-full">
Expand All @@ -22,13 +22,6 @@
<!-- For Teleports -->
<div id="modals"></div>
<div id="popovers"></div>

<script>
{% for key in boot %}
window["{{ key }}"] = {{ boot[key] | tojson }};
{% endfor %}
</script>
<!-- <script type="module" src="/src/main.js"></script> -->
<script type="module" src="/src2/main.js"></script>
<script type="module" src="/src/main.js"></script>
</body>
</html>
14 changes: 6 additions & 8 deletions dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"private": true,
"type": "module",
"scripts": {
"dev": "yarn generate-theme-config && vite",
"build": "yarn generate-theme-config && vite build --base=/assets/press/dashboard/ && yarn copy-html-entry",
"copy-html-entry": "cp ../press/public/dashboard/index.html ../press/www/dashboard.html",
"generate-theme-config": "node ./generateThemeConfig.cjs",
"dev": "vite",
"build": "vite build",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "eslint src"
Expand All @@ -30,7 +28,7 @@
"echarts": "^5.4.3",
"feather-icons": "^4.26.0",
"frappe-charts": "2.0.0-rc22",
"frappe-ui": "^0.1.108",
"frappe-ui": "0.1.168",
"fuse.js": "6.6.2",
"libarchive.js": "^1.3.0",
"lodash": "^4.17.19",
Expand All @@ -43,11 +41,11 @@
"sql-formatter": "^15.4.10",
"unplugin-icons": "^0.17.0",
"unplugin-vue-components": "^0.25.2",
"vue": "^3.4.12",
"vue": "^3.5.15",
"vue-codemirror": "^6.1.1",
"vue-echarts": "^6.6.1",
"vue-qrcode": "^2.2.2",
"vue-router": "^4.0.5",
"vue-router": "^4.1.6",
"vue-sonner": "^1.2.5"
},
"devDependencies": {
Expand Down Expand Up @@ -75,7 +73,7 @@
"postcss-easy-import": "^4.0.0",
"prettier": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.1.8",
"tailwindcss": "^3.2",
"tailwindcss": "^3.4",
"typescript": "^5.4.3",
"vite": "5.0.13",
"vite-plugin-rewrite-all": "^1.0.1",
Expand Down
Loading
Loading