@bongos/core 1.24.57 → 1.24.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/.bongos-core.json +43 -48
  2. package/clients/bongos-client/README.md +1 -1
  3. package/clients/bongos-client/bongos-client.global.js +0 -2
  4. package/clients/bongos-client/index.cjs +0 -2
  5. package/clients/bongos-client/index.d.ts +1 -3
  6. package/clients/bongos-client/index.mjs +0 -2
  7. package/docs/adr/0398-every-hosted-project-takes-its-own-update-and-nobody-asks-for-one.md +45 -0
  8. package/docs/adr/README.md +1 -0
  9. package/docs/api/openapi.json +1 -37
  10. package/docs/api-reference.md +2 -3
  11. package/docs/copy-inventory.md +38 -44
  12. package/docs/copy-registry.json +44 -108
  13. package/docs/module-api-changelog.md +2 -0
  14. package/docs/page-readings.json +4 -4
  15. package/modules/hall-ui/public/deploy-handoff.js +11 -3
  16. package/modules/hall-ui/public/deploy.js +10 -3
  17. package/modules/hall-ui/public/settings-software-update.js +4 -71
  18. package/modules/hall-ui/public/update-pill.js +6 -31
  19. package/package-lock.json +2 -2
  20. package/package.json +1 -1
  21. package/release-notes.json +6 -0
  22. package/scripts/bongos/provision-core-upgrade.js +30 -1
  23. package/scripts/bongos/provision-units.js +18 -0
  24. package/scripts/hall-preview/server.js +0 -3
  25. package/src/bongos/routes/core-update.js +36 -76
  26. package/src/bongos/routes/feedback.js +1 -2
  27. package/src/module-api.js +1 -1
  28. package/tests/deploy_handoff.mjs +23 -2
  29. package/tests/deploy_page_projects.mjs +35 -3
  30. package/tests/provision_settings_apply.mjs +52 -0
  31. package/tests/software_update.mjs +35 -5
  32. package/tests/update_pill.mjs +9 -5
  33. package/src/bongos/upgrade-request.js +0 -158
  34. package/tests/upgrade_request.mjs +0 -348
@@ -3,17 +3,17 @@
3
3
  "generator": "scripts/bongos/copy-inventory.js",
4
4
  "goal": 1000074,
5
5
  "counts": {
6
- "strings": 3138,
7
- "unique_ids": 2480,
8
- "certain": 3138,
6
+ "strings": 3132,
7
+ "unique_ids": 2475,
8
+ "certain": 3132,
9
9
  "heuristic": 0,
10
- "duplicate_ids": 261
10
+ "duplicate_ids": 260
11
11
  },
12
12
  "surfaces": {
13
13
  "builders-hall": {
14
14
  "at": "modules/hall-ui/public",
15
15
  "files": 171,
16
- "strings": 2028
16
+ "strings": 2022
17
17
  },
18
18
  "status-dashboard": {
19
19
  "at": "modules/status-ui/public",
@@ -1081,8 +1081,8 @@
1081
1081
  "text": "A new version of Bongos is ready",
1082
1082
  "occurrences": 2,
1083
1083
  "at": [
1084
- "modules/hall-ui/public/update-pill.js:247",
1085
- "modules/hall-ui/public/update-pill.js:278"
1084
+ "modules/hall-ui/public/update-pill.js:246",
1085
+ "modules/hall-ui/public/update-pill.js:270"
1086
1086
  ]
1087
1087
  },
1088
1088
  {
@@ -1165,16 +1165,6 @@
1165
1165
  "modules/hall-ui/public/goals-render.js:1039"
1166
1166
  ]
1167
1167
  },
1168
- {
1169
- "id": "1ac8ed08e067",
1170
- "surface": "builders-hall",
1171
- "text": "Ask for this upgrade",
1172
- "occurrences": 2,
1173
- "at": [
1174
- "modules/hall-ui/public/settings-software-update.js:103",
1175
- "modules/hall-ui/public/settings-software-update.js:283"
1176
- ]
1177
- },
1178
1168
  {
1179
1169
  "id": "688cc6dd38ee",
1180
1170
  "surface": "builders-hall",
@@ -1252,7 +1242,7 @@
1252
1242
  "occurrences": 2,
1253
1243
  "at": [
1254
1244
  "modules/hall-ui/public/core-move-notice.js:48",
1255
- "modules/hall-ui/public/update-pill.js:236"
1245
+ "modules/hall-ui/public/update-pill.js:235"
1256
1246
  ]
1257
1247
  },
1258
1248
  {
@@ -2591,8 +2581,8 @@
2591
2581
  "text": "bongos upgrade",
2592
2582
  "occurrences": 2,
2593
2583
  "at": [
2594
- "modules/hall-ui/public/settings-software-update.js:122",
2595
- "modules/hall-ui/public/update-pill.js:274"
2584
+ "modules/hall-ui/public/settings-software-update.js:85",
2585
+ "modules/hall-ui/public/update-pill.js:266"
2596
2586
  ]
2597
2587
  },
2598
2588
  {
@@ -3412,7 +3402,7 @@
3412
3402
  "surface": "builders-hall",
3413
3403
  "text": "A new version of Bongos is ready",
3414
3404
  "file": "modules/hall-ui/public/update-pill.js",
3415
- "line": 247,
3405
+ "line": 246,
3416
3406
  "origin": "js-markup",
3417
3407
  "confidence": "certain"
3418
3408
  },
@@ -3421,7 +3411,7 @@
3421
3411
  "surface": "builders-hall",
3422
3412
  "text": "A new version of Bongos is ready",
3423
3413
  "file": "modules/hall-ui/public/update-pill.js",
3424
- "line": 278,
3414
+ "line": 270,
3425
3415
  "origin": "js-markup",
3426
3416
  "confidence": "certain"
3427
3417
  },
@@ -4109,33 +4099,6 @@
4109
4099
  "origin": "js-markup",
4110
4100
  "confidence": "certain"
4111
4101
  },
4112
- {
4113
- "id": "76fc7f5961dd",
4114
- "surface": "builders-hall",
4115
- "text": "Ask for this update",
4116
- "file": "modules/hall-ui/public/update-pill.js",
4117
- "line": 272,
4118
- "origin": "js-markup",
4119
- "confidence": "certain"
4120
- },
4121
- {
4122
- "id": "1ac8ed08e067",
4123
- "surface": "builders-hall",
4124
- "text": "Ask for this upgrade",
4125
- "file": "modules/hall-ui/public/settings-software-update.js",
4126
- "line": 103,
4127
- "origin": "js-markup",
4128
- "confidence": "certain"
4129
- },
4130
- {
4131
- "id": "1ac8ed08e067",
4132
- "surface": "builders-hall",
4133
- "text": "Ask for this upgrade",
4134
- "file": "modules/hall-ui/public/settings-software-update.js",
4135
- "line": 283,
4136
- "origin": "js-text-assign",
4137
- "confidence": "certain"
4138
- },
4139
4102
  {
4140
4103
  "id": "fa86bf403775",
4141
4104
  "surface": "builders-hall",
@@ -4519,7 +4482,7 @@
4519
4482
  "surface": "builders-hall",
4520
4483
  "text": "Bongos is updated",
4521
4484
  "file": "modules/hall-ui/public/update-pill.js",
4522
- "line": 236,
4485
+ "line": 235,
4523
4486
  "origin": "js-markup",
4524
4487
  "confidence": "certain"
4525
4488
  },
@@ -4915,7 +4878,7 @@
4915
4878
  "surface": "builders-hall",
4916
4879
  "text": "Checking for a newer version…",
4917
4880
  "file": "modules/hall-ui/public/settings-software-update.js",
4918
- "line": 292,
4881
+ "line": 225,
4919
4882
  "origin": "js-markup",
4920
4883
  "confidence": "certain"
4921
4884
  },
@@ -5563,7 +5526,7 @@
5563
5526
  "surface": "builders-hall",
5564
5527
  "text": "Could not check for a newer version: {…}.",
5565
5528
  "file": "modules/hall-ui/public/settings-software-update.js",
5566
- "line": 214,
5529
+ "line": 177,
5567
5530
  "origin": "js-markup",
5568
5531
  "confidence": "certain"
5569
5532
  },
@@ -5572,7 +5535,7 @@
5572
5535
  "surface": "builders-hall",
5573
5536
  "text": "Could not check for updates: {…}.",
5574
5537
  "file": "modules/hall-ui/public/settings-software-update.js",
5575
- "line": 302,
5538
+ "line": 235,
5576
5539
  "origin": "js-markup",
5577
5540
  "confidence": "certain"
5578
5541
  },
@@ -6125,15 +6088,6 @@
6125
6088
  "origin": "js-notice",
6126
6089
  "confidence": "certain"
6127
6090
  },
6128
- {
6129
- "id": "5d2e5fb4c8b5",
6130
- "surface": "builders-hall",
6131
- "text": "Could not send the request: {…}.",
6132
- "file": "modules/hall-ui/public/settings-software-update.js",
6133
- "line": 284,
6134
- "origin": "js-text-assign",
6135
- "confidence": "certain"
6136
- },
6137
6091
  {
6138
6092
  "id": "1f4d9a989606",
6139
6093
  "surface": "builders-hall",
@@ -7871,15 +7825,6 @@
7871
7825
  "origin": "js-markup",
7872
7826
  "confidence": "certain"
7873
7827
  },
7874
- {
7875
- "id": "3c24eedc9f2d",
7876
- "surface": "builders-hall",
7877
- "text": "If that page does not let you in, ask {…} to install it for you.{…}",
7878
- "file": "modules/hall-ui/public/settings-software-update.js",
7879
- "line": 102,
7880
- "origin": "js-markup",
7881
- "confidence": "certain"
7882
- },
7883
7828
  {
7884
7829
  "id": "65977bbcda48",
7885
7830
  "surface": "builders-hall",
@@ -8191,7 +8136,7 @@
8191
8136
  "surface": "builders-hall",
8192
8137
  "text": "Its notes could not be read.",
8193
8138
  "file": "modules/hall-ui/public/settings-software-update.js",
8194
- "line": 150,
8139
+ "line": 113,
8195
8140
  "origin": "js-markup",
8196
8141
  "confidence": "certain"
8197
8142
  },
@@ -9694,7 +9639,7 @@
9694
9639
  "surface": "builders-hall",
9695
9640
  "text": "No changes are listed for this version.",
9696
9641
  "file": "modules/hall-ui/public/settings-software-update.js",
9697
- "line": 152,
9642
+ "line": 115,
9698
9643
  "origin": "js-markup",
9699
9644
  "confidence": "certain"
9700
9645
  },
@@ -9829,7 +9774,7 @@
9829
9774
  "surface": "builders-hall",
9830
9775
  "text": "No notes were packed for this version.",
9831
9776
  "file": "modules/hall-ui/public/settings-software-update.js",
9832
- "line": 151,
9777
+ "line": 114,
9833
9778
  "origin": "js-markup",
9834
9779
  "confidence": "certain"
9835
9780
  },
@@ -10540,7 +10485,7 @@
10540
10485
  "surface": "builders-hall",
10541
10486
  "text": "Nothing needs doing. The next version will be offered here when it is out.",
10542
10487
  "file": "modules/hall-ui/public/update-pill.js",
10543
- "line": 219,
10488
+ "line": 218,
10544
10489
  "origin": "js-markup",
10545
10490
  "confidence": "certain"
10546
10491
  },
@@ -10810,7 +10755,7 @@
10810
10755
  "surface": "builders-hall",
10811
10756
  "text": "Only the people allowed to update this project can start it.",
10812
10757
  "file": "modules/hall-ui/public/update-pill.js",
10813
- "line": 276,
10758
+ "line": 268,
10814
10759
  "origin": "js-markup",
10815
10760
  "confidence": "certain"
10816
10761
  },
@@ -10819,7 +10764,7 @@
10819
10764
  "surface": "builders-hall",
10820
10765
  "text": "Only the people allowed to upgrade this project see an Update button here.",
10821
10766
  "file": "modules/hall-ui/public/settings-software-update.js",
10822
- "line": 117,
10767
+ "line": 80,
10823
10768
  "origin": "js-markup",
10824
10769
  "confidence": "certain"
10825
10770
  },
@@ -10999,7 +10944,7 @@
10999
10944
  "surface": "builders-hall",
11000
10945
  "text": "Open the update window",
11001
10946
  "file": "modules/hall-ui/public/update-pill.js",
11002
- "line": 402,
10947
+ "line": 393,
11003
10948
  "origin": "js-text-assign",
11004
10949
  "confidence": "certain"
11005
10950
  },
@@ -11980,7 +11925,7 @@
11980
11925
  "surface": "builders-hall",
11981
11926
  "text": "Reading what it brings…",
11982
11927
  "file": "modules/hall-ui/public/update-pill.js",
11983
- "line": 249,
11928
+ "line": 248,
11984
11929
  "origin": "js-markup",
11985
11930
  "confidence": "certain"
11986
11931
  },
@@ -12043,7 +11988,7 @@
12043
11988
  "surface": "builders-hall",
12044
11989
  "text": "Recent updates",
12045
11990
  "file": "modules/hall-ui/public/settings-software-update.js",
12046
- "line": 199,
11991
+ "line": 162,
12047
11992
  "origin": "js-markup",
12048
11993
  "confidence": "certain"
12049
11994
  },
@@ -12844,7 +12789,7 @@
12844
12789
  "surface": "builders-hall",
12845
12790
  "text": "See where it got to",
12846
12791
  "file": "modules/hall-ui/public/update-pill.js",
12847
- "line": 233,
12792
+ "line": 232,
12848
12793
  "origin": "js-markup",
12849
12794
  "confidence": "certain"
12850
12795
  },
@@ -13186,7 +13131,7 @@
13186
13131
  "surface": "builders-hall",
13187
13132
  "text": "Show {…} more version{…}",
13188
13133
  "file": "modules/hall-ui/public/settings-software-update.js",
13189
- "line": 168,
13134
+ "line": 131,
13190
13135
  "origin": "js-markup",
13191
13136
  "confidence": "certain"
13192
13137
  },
@@ -14671,7 +14616,7 @@
14671
14616
  "surface": "builders-hall",
14672
14617
  "text": "The newest version did not go in",
14673
14618
  "file": "modules/hall-ui/public/update-pill.js",
14674
- "line": 218,
14619
+ "line": 217,
14675
14620
  "origin": "js-markup",
14676
14621
  "confidence": "certain"
14677
14622
  },
@@ -14806,7 +14751,7 @@
14806
14751
  "surface": "builders-hall",
14807
14752
  "text": "The release notes could not be read: {…}. The versions are still listed.",
14808
14753
  "file": "modules/hall-ui/public/settings-software-update.js",
14809
- "line": 164,
14754
+ "line": 127,
14810
14755
  "origin": "js-markup",
14811
14756
  "confidence": "certain"
14812
14757
  },
@@ -15085,7 +15030,7 @@
15085
15030
  "surface": "builders-hall",
15086
15031
  "text": "The update did not go in",
15087
15032
  "file": "modules/hall-ui/public/update-pill.js",
15088
- "line": 241,
15033
+ "line": 240,
15089
15034
  "origin": "js-markup",
15090
15035
  "confidence": "certain"
15091
15036
  },
@@ -15463,7 +15408,7 @@
15463
15408
  "surface": "builders-hall",
15464
15409
  "text": "This project is updated on the server that runs it:",
15465
15410
  "file": "modules/hall-ui/public/update-pill.js",
15466
- "line": 274,
15411
+ "line": 266,
15467
15412
  "origin": "js-markup",
15468
15413
  "confidence": "certain"
15469
15414
  },
@@ -15472,16 +15417,7 @@
15472
15417
  "surface": "builders-hall",
15473
15418
  "text": "This project is upgraded on the server that runs it:",
15474
15419
  "file": "modules/hall-ui/public/settings-software-update.js",
15475
- "line": 122,
15476
- "origin": "js-markup",
15477
- "confidence": "certain"
15478
- },
15479
- {
15480
- "id": "53e287924841",
15481
- "surface": "builders-hall",
15482
- "text": "This project runs on a server that {…} looks after, so they install its updates. Ask them for this one and they are told which version you want.{…}",
15483
- "file": "modules/hall-ui/public/settings-software-update.js",
15484
- "line": 101,
15420
+ "line": 85,
15485
15421
  "origin": "js-markup",
15486
15422
  "confidence": "certain"
15487
15423
  },
@@ -15832,7 +15768,7 @@
15832
15768
  "surface": "builders-hall",
15833
15769
  "text": "Up to date",
15834
15770
  "file": "modules/hall-ui/public/settings-software-update.js",
15835
- "line": 223,
15771
+ "line": 186,
15836
15772
  "origin": "js-markup",
15837
15773
  "confidence": "certain"
15838
15774
  },
@@ -15859,7 +15795,7 @@
15859
15795
  "surface": "builders-hall",
15860
15796
  "text": "Update now",
15861
15797
  "file": "modules/hall-ui/public/update-pill.js",
15862
- "line": 265,
15798
+ "line": 264,
15863
15799
  "origin": "js-markup",
15864
15800
  "confidence": "certain"
15865
15801
  },
@@ -15877,7 +15813,7 @@
15877
15813
  "surface": "builders-hall",
15878
15814
  "text": "Update to {…}",
15879
15815
  "file": "modules/hall-ui/public/settings-software-update.js",
15880
- "line": 134,
15816
+ "line": 97,
15881
15817
  "origin": "js-markup",
15882
15818
  "confidence": "certain"
15883
15819
  },
@@ -15886,7 +15822,7 @@
15886
15822
  "surface": "builders-hall",
15887
15823
  "text": "Updating Bongos",
15888
15824
  "file": "modules/hall-ui/public/update-pill.js",
15889
- "line": 229,
15825
+ "line": 228,
15890
15826
  "origin": "js-markup",
15891
15827
  "confidence": "certain"
15892
15828
  },
@@ -16039,7 +15975,7 @@
16039
15975
  "surface": "builders-hall",
16040
15976
  "text": "Waiting for your hall…",
16041
15977
  "file": "modules/hall-ui/public/deploy-handoff.js",
16042
- "line": 185,
15978
+ "line": 190,
16043
15979
  "origin": "js-markup",
16044
15980
  "confidence": "certain"
16045
15981
  },
@@ -16525,7 +16461,7 @@
16525
16461
  "surface": "builders-hall",
16526
16462
  "text": "What's new",
16527
16463
  "file": "modules/hall-ui/public/update-pill.js",
16528
- "line": 279,
16464
+ "line": 271,
16529
16465
  "origin": "js-markup",
16530
16466
  "confidence": "certain"
16531
16467
  },
@@ -16984,7 +16920,7 @@
16984
16920
  "surface": "builders-hall",
16985
16921
  "text": "You can keep working or close this card. The button up top says when it is done.",
16986
16922
  "file": "modules/hall-ui/public/update-pill.js",
16987
- "line": 232,
16923
+ "line": 231,
16988
16924
  "origin": "js-markup",
16989
16925
  "confidence": "certain"
16990
16926
  },
@@ -17758,7 +17694,7 @@
17758
17694
  "surface": "builders-hall",
17759
17695
  "text": "bongos upgrade",
17760
17696
  "file": "modules/hall-ui/public/settings-software-update.js",
17761
- "line": 122,
17697
+ "line": 85,
17762
17698
  "origin": "js-markup",
17763
17699
  "confidence": "certain"
17764
17700
  },
@@ -17767,7 +17703,7 @@
17767
17703
  "surface": "builders-hall",
17768
17704
  "text": "bongos upgrade",
17769
17705
  "file": "modules/hall-ui/public/update-pill.js",
17770
- "line": 274,
17706
+ "line": 266,
17771
17707
  "origin": "js-markup",
17772
17708
  "confidence": "certain"
17773
17709
  },
@@ -19783,7 +19719,7 @@
19783
19719
  "surface": "builders-hall",
19784
19720
  "text": "there takes this version, and puts the old one back if it fails.",
19785
19721
  "file": "modules/hall-ui/public/update-pill.js",
19786
- "line": 274,
19722
+ "line": 266,
19787
19723
  "origin": "js-markup",
19788
19724
  "confidence": "certain"
19789
19725
  },
@@ -19792,7 +19728,7 @@
19792
19728
  "surface": "builders-hall",
19793
19729
  "text": "there takes this version, with the same health check and rollback.",
19794
19730
  "file": "modules/hall-ui/public/settings-software-update.js",
19795
- "line": 122,
19731
+ "line": 85,
19796
19732
  "origin": "js-markup",
19797
19733
  "confidence": "certain"
19798
19734
  },
@@ -21070,7 +21006,7 @@
21070
21006
  "surface": "builders-hall",
21071
21007
  "text": "…and {…} older version{…}, also in this update.",
21072
21008
  "file": "modules/hall-ui/public/settings-software-update.js",
21073
- "line": 169,
21009
+ "line": 132,
21074
21010
  "origin": "js-markup",
21075
21011
  "confidence": "certain"
21076
21012
  },
@@ -3368,5 +3368,7 @@ is load-bearing: the script throws rather than guess if it is missing, and
3368
3368
  landed since 1.24.55 with no explicit bump. run 42377334765. (task 1002620)
3369
3369
  1.24.57 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
3370
3370
  landed since 1.24.56 with no explicit bump. run 42379442367. (task 1002620)
3371
+ 1.24.58 — CI auto-patch (publish-on-merge, ADR 0161): carrier for merges
3372
+ landed since 1.24.57 with no explicit bump. run 42380593295. (task 1002620)
3371
3373
  ---------------------------------------------------------------------------
3372
3374
  ```
@@ -604,7 +604,7 @@
604
604
  "surface": "builders",
605
605
  "title": "Deploy",
606
606
  "states_read": ["work","out"],
607
- "files_hash": "4eaabd84e23eb547",
607
+ "files_hash": "6ccbad19e9cf90ba",
608
608
  "reading_hash": "76c11d0fbc739610",
609
609
  "counts": {"lines":19,"placed":5,"shared":9,"unplaced":5},
610
610
  "omitted": {"data":3},
@@ -2449,7 +2449,7 @@
2449
2449
  "surface": "builders",
2450
2450
  "title": "Settings",
2451
2451
  "states_read": ["account","access","preferences","install-reports","sound","update"],
2452
- "files_hash": "215b1a40406eb8bd",
2452
+ "files_hash": "4d3149b035f9551d",
2453
2453
  "reading_hash": "085bb32894909ee0",
2454
2454
  "counts": {"lines":137,"placed":90,"shared":9,"unplaced":38},
2455
2455
  "omitted": {"data":16},
@@ -2474,14 +2474,14 @@
2474
2474
  {"key":"L0017","section":"Software update","text":"Newest for this project","placement":"unplaced","state":"update"},
2475
2475
  {"key":"L0018","section":"Software update","text":"— published 21 hours ago","placement":"unplaced","state":"update"},
2476
2476
  {"key":"L0019","section":"Software update","text":"Update ready","placement":"unplaced","state":"update"},
2477
- {"key":"L0020","section":"Software update","text":"Update to {…}","placement":"placed","file":"modules/hall-ui/public/settings-software-update.js","line":134,"string_id":"5304b52c592d","state":"update"},
2477
+ {"key":"L0020","section":"Software update","text":"Update to {…}","placement":"placed","file":"modules/hall-ui/public/settings-software-update.js","line":97,"string_id":"5304b52c592d","state":"update"},
2478
2478
  {"key":"L0021","section":"Software update","text":"{…} and {…}","placement":"placed","file":"modules/hall-ui/public/profile-nudge.js","line":77,"string_id":"56b00d773232","state":"update"},
2479
2479
  {"key":"L0022","section":"What's new in these 7 versions","text":"What's new in these 7 versions","placement":"unplaced","state":"update"},
2480
2480
  {"key":"L0023","section":"What's new in these 7 versions","text":"published 21 hours ago","placement":"unplaced","state":"update"},
2481
2481
  {"key":"L0024","section":"What's new in these 7 versions","text":"{…} and {…}","placement":"placed","file":"modules/hall-ui/public/profile-nudge.js","line":77,"string_id":"56b00d773232","state":"update","occurrences":8},
2482
2482
  {"key":"L0025","section":"What's new in these 7 versions","text":"published 28 hours ago","placement":"unplaced","state":"update","occurrences":4},
2483
2483
  {"key":"L0026","section":"What's new in these 7 versions","text":"{…} of {…}","placement":"placed","file":"modules/hall-ui/public/sky-panel.js","line":120,"string_id":"73c1372b43d9","state":"update"},
2484
- {"key":"L0027","section":"What's new in these 7 versions","text":"Show {…} more version{…}","placement":"placed","file":"modules/hall-ui/public/settings-software-update.js","line":168,"string_id":"44945da22716","state":"update"},
2484
+ {"key":"L0027","section":"What's new in these 7 versions","text":"Show {…} more version{…}","placement":"placed","file":"modules/hall-ui/public/settings-software-update.js","line":131,"string_id":"44945da22716","state":"update"},
2485
2485
  {"key":"L0028","section":"What's new in these 7 versions","text":"Checked 20 hours ago.","placement":"unplaced","state":"update"},
2486
2486
  {"key":"L0029","section":"footer","text":"Sign out","placement":"shared","file":"modules/hall-ui/public/shell.js","line":533,"string_id":"1883ad7f07fc","state":"update","occurrences":5},
2487
2487
  {"key":"L0030","section":"What's new in these 7 versions","text":"Could not load your security cards: {…}","placement":"placed","file":"modules/hall-ui/public/settings-passkeys.js","line":112,"string_id":"9e77d71db3ec","state":"update"},
@@ -168,8 +168,13 @@
168
168
  if (e && e.status === 403) return read('/provisioning/instances').then(function (d) { return d.instances || []; });
169
169
  throw e;
170
170
  }).then(function (rows) {
171
- for (var i = 0; i < rows.length; i++) if (rows[i] && String(rows[i].slug) === slug) inst = rows[i];
171
+ var byHost = !scopeBy(root.location, 'project') && !!scopeBy(root.location, 'host');
172
+ for (var i = 0; i < rows.length; i++) {
173
+ var r = rows[i];
174
+ if (r && (byHost ? String(r.domain || '').trim().toLowerCase() === String(slug).toLowerCase() : String(r.slug) === slug)) inst = r;
175
+ }
172
176
  if (!inst) throw new Error('No project called ' + slug + ' is hosted here under your account.');
177
+ slug = String(inst.slug || slug);
173
178
  allowed = projectOrigin(inst, root.location.protocol);
174
179
  return read('/provisioning/instances/' + encodeURIComponent(inst.id) + '/core-upgrade');
175
180
  }).then(function (d) {
@@ -190,12 +195,15 @@
190
195
  });
191
196
  }
192
197
 
193
- function scopeSlug(loc) {
198
+ var SCOPE_RE = { project: /[?&]project=([^&#]+)/, host: /[?&]host=([^&#]+)/ };
199
+ function scopeBy(loc, name) {
194
200
  try {
195
- var m = /[?&]project=([^&#]+)/.exec(String((loc && loc.search) || ''));
201
+ var m = SCOPE_RE[name].exec(String((loc && loc.search) || ''));
196
202
  return m ? decodeURIComponent(m[1]) : null;
197
203
  } catch (e) { return null; }
198
204
  }
205
+ // ?host=<address> scopes by the project's web address (task 1005128), as ?project= does by name.
206
+ function scopeSlug(loc) { return scopeBy(loc, 'project') || scopeBy(loc, 'host'); }
199
207
 
200
208
  var api = { wanted: wanted, run: run, judgeGo: judgeGo, projectOrigin: projectOrigin, MSG: MSG };
201
209
  if (typeof module !== 'undefined' && module.exports) module.exports = api;
@@ -806,13 +806,17 @@
806
806
  // READ OFF `location`, DEFENSIVELY. The page runs in a vm harness whose `window.location`
807
807
  // is a stub with no `search`, and a page that threw there would be untestable — but the
808
808
  // deeper reason is that a missing scope is the ORDINARY case and must cost nothing.
809
- function scopeSlug() {
809
+ const SCOPE_RE = { project: /[?&]project=([^&#]+)/, host: /[?&]host=([^&#]+)/ };
810
+ function scopeParam(name) {
810
811
  try {
811
812
  const q = String((window.location && window.location.search) || '');
812
- const m = /[?&]project=([^&#]+)/.exec(q);
813
+ const m = SCOPE_RE[name].exec(q);
813
814
  return m ? decodeURIComponent(m[1]) : null;
814
815
  } catch (e) { return null; }
815
816
  }
817
+ // ?host=<address> is the same scope by the project's web address (task 1005128): a hosted
818
+ // project whose server never learned its slug sends its owner here by the name it answers on.
819
+ function scopeSlug() { return scopeParam('project') || scopeParam('host'); }
816
820
 
817
821
  // Resolve a scoped slug to the instance the control plane knows by that name.
818
822
  //
@@ -822,6 +826,7 @@
822
826
  // row survives it, and the pin move is gated server-side per instance regardless — the
823
827
  // slug decides what is looked at, never what is allowed.
824
828
  async function findBySlug(slug) {
829
+ const byHost = !scopeParam('project') && !!scopeParam('host');
825
830
  let rows = [];
826
831
  try {
827
832
  rows = (await fetchJson('/provisioning/fleet')).instances || [];
@@ -829,7 +834,8 @@
829
834
  if (e && e.kind !== '403') throw e;
830
835
  rows = (await fetchJson('/provisioning/instances')).instances || [];
831
836
  }
832
- return rows.find((i) => i && String(i.slug) === slug) || null;
837
+ const want = String(slug).toLowerCase();
838
+ return rows.find((i) => i && (byHost ? String(i.domain || '').trim().toLowerCase() === want : String(i.slug) === slug)) || null;
833
839
  }
834
840
 
835
841
  // A Render project's hall has no provisioning door (task 1004270): its /deploy page is the
@@ -866,6 +872,7 @@
866
872
  // renders nothing reads as a project with nothing to deploy.
867
873
  view.unreadable = 'no project by that name is hosted here.';
868
874
  } else {
875
+ view.name = String(inst.slug || slug);
869
876
  try {
870
877
  view.box = (await fetchJson(`/provisioning/instances/${inst.id}/core-upgrade`)).preview;
871
878
  } catch (e) {