Skip to content

Commit 427b492

Browse files
author
Paul Philion
committed
Cleaning up versions. Fixing captain role problem.
1 parent 06e6f5f commit 427b492

File tree

5 files changed

+16
-21
lines changed

5 files changed

+16
-21
lines changed

scripts/backup-kube.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ user=supabase_admin
1212

1313
echo Backing up $pod_name into $backup_file ...
1414
kubectl exec -it $pod_name -- bash -c "PGPASSWORD=$DB_PASSWORD pg_dump --schema=public -U $user $DB_NAME" > $backup_file
15-
echo done.
15+
echo done.

scripts/restore-kube.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ pod_name=$(kubectl get pods | grep supabase-supabase-db | cut -f1 -d' ')
1010
backup_file=$1
1111
user=supabase_admin
1212

13+
1314
gunzip -c $backup_file | kubectl exec -it $pod_name -- bash -c "PGPASSWORD=$DB_PASSWORD psql -U $user $DB_NAME"

src/support_sphere/lib/constants/routes.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ class AppNavigation {
3737
// to be displayed in the navigation bar
3838
// screen size maximum information retrieved from
3939
// https://learn.microsoft.com/en-us/windows/apps/design/layout/screen-sizes-and-breakpoints-for-responsive-design
40-
41-
log.fine('### role = $role, minWidth = $minWidth');
42-
43-
// FIXME: role check removed because it's not being set
44-
// need to debug AUTH stack and determine why not. could be new vs old version.
45-
if (/*role == AppRoles.communityAdmin &&*/ minWidth! > 641) {
40+
if (role == AppRoles.communityAdmin && minWidth! > 641) {
4641
destinations = destinations + [
4742
const AppRoute(
4843
icon: Icon(Ionicons.construct_sharp), label: NavRouteLabels.manageResources, body: ManageResourcesBody()),

src/support_sphere/pubspec.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ packages:
117117
dependency: "direct dev"
118118
description:
119119
name: build_runner
120-
sha256: b4d854962a32fd9f8efc0b76f98214790b833af8b2e9b2df6bfc927c0415a072
120+
sha256: ac78098de97893812b7aff1154f29008fa2464cad9e8e7044d39bc905dad4fbc
121121
url: "https://pub.dev"
122122
source: hosted
123-
version: "2.10.5"
123+
version: "2.11.0"
124124
built_collection:
125125
dependency: transitive
126126
description:
@@ -245,10 +245,10 @@ packages:
245245
dependency: transitive
246246
description:
247247
name: dbus
248-
sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c"
248+
sha256: d0c98dcd4f5169878b6cf8f6e0a52403a9dff371a3e2f019697accbf6f44a270
249249
url: "https://pub.dev"
250250
source: hosted
251-
version: "0.7.11"
251+
version: "0.7.12"
252252
ed25519_edwards:
253253
dependency: transitive
254254
description:
@@ -377,10 +377,10 @@ packages:
377377
dependency: "direct main"
378378
description:
379379
name: form_builder_validators
380-
sha256: "1b03c74d1db740890e6af803b43e5ebe56f8fa1ff5609cbf744e8d980dc5f8c6"
380+
sha256: cd9a06b35abaed8bf050467c1239e3ee1c8795f42d4cb6568c08dbb8a4d6bd36
381381
url: "https://pub.dev"
382382
source: hosted
383-
version: "11.2.0"
383+
version: "11.3.0"
384384
formz:
385385
dependency: "direct main"
386386
description:
@@ -513,10 +513,10 @@ packages:
513513
dependency: "direct main"
514514
description:
515515
name: google_fonts
516-
sha256: bf1fe61d4a53420a94cbbd4326e07702d247757926f6955af9667765a8324413
516+
sha256: c30eef5e7cd26eb89cc8065b4390ac86ce579f2fcdbe35220891c6278b5460da
517517
url: "https://pub.dev"
518518
source: hosted
519-
version: "8.0.0"
519+
version: "8.0.1"
520520
gotrue:
521521
dependency: transitive
522522
description:
@@ -553,10 +553,10 @@ packages:
553553
dependency: transitive
554554
description:
555555
name: hooks
556-
sha256: "5d309c86e7ce34cd8e37aa71cb30cb652d3829b900ab145e4d9da564b31d59f7"
556+
sha256: "7a08a0d684cb3b8fb604b78455d5d352f502b68079f7b80b831c62220ab0a4f6"
557557
url: "https://pub.dev"
558558
source: hosted
559-
version: "1.0.0"
559+
version: "1.0.1"
560560
http:
561561
dependency: "direct main"
562562
description:
@@ -1054,10 +1054,10 @@ packages:
10541054
dependency: transitive
10551055
description:
10561056
name: source_span
1057-
sha256: "254ee5351d6cb365c859e20ee823c3bb479bf4a293c22d17a9f1bf144ce86f7c"
1057+
sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab"
10581058
url: "https://pub.dev"
10591059
source: hosted
1060-
version: "1.10.1"
1060+
version: "1.10.2"
10611061
stack_trace:
10621062
dependency: transitive
10631063
description:

src/support_sphere_py/src/support_sphere/scripts/update_db_sample_data.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,7 @@ def test_app_mode_change():
489489
# CODE: 42501
490490
# Authorization and roles are validated with custom functions in execute_sql_statement.py
491491
# Something has invalidated that running against a later version, based on row-level-auth.
492-
# test_app_mode_status_update()
493-
# FIXME ^^^
492+
test_app_mode_status_update()
494493
test_unauthorized_app_mode_update()
495494

496495

0 commit comments

Comments
 (0)