-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Jitsi video-bridge furniture and infrastructure code (#1051)
* Delete all existing `video_bridge` furniture placements. * Delete Jitsi (and Plaid!) Utilities. * Remove spaces.jitsi_meet_domain column. * Delete Jitsi-related Convene code. * Remove infastructure to run Jitsi locally * Remove the infrastructure directory.
- Loading branch information
Showing
59 changed files
with
54 additions
and
1,303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ | |
|
||
@import "./utilities.scss"; | ||
@import "./components.scss"; | ||
@import "./furniture.scss"; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,12 +104,8 @@ def space_attributes | |
|
||
BLUEPRINTS = { | ||
system_test: { | ||
|
||
entrance: "entrance-hall", | ||
utility_hookups: [ | ||
{utility_slug: :jitsi, name: "Jitsi", configuration: | ||
{meet_domain: "convene-videobridge-zinc.zinc.coop"}} | ||
], | ||
utility_hookups: [ ], | ||
members: [{email: "[email protected]"}, | ||
{email: "[email protected]"}], | ||
rooms: [ | ||
|
@@ -120,7 +116,6 @@ def space_attributes | |
access_code: nil, | ||
furniture_placements: { | ||
markdown_text_block: {content: "# Welcome!"}, | ||
video_bridge: {}, | ||
} | ||
}, | ||
{ | ||
|
@@ -129,87 +124,42 @@ def space_attributes | |
access_level: :unlocked, | ||
access_code: nil, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
}, | ||
{ | ||
name: "Listed Locked Room 1", | ||
publicity_level: :listed, | ||
access_level: :locked, | ||
access_code: :secret, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
furniture_placements: { } | ||
}, | ||
{ | ||
name: "Unlisted Room 1", | ||
publicity_level: :unlisted, | ||
access_level: :unlocked, | ||
access_code: nil, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
furniture_placements: { } | ||
}, | ||
{ | ||
name: "Unlisted Room 2", | ||
publicity_level: :unlisted, | ||
access_level: :unlocked, | ||
access_code: nil, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
furniture_placements: { } | ||
}, | ||
{ | ||
name: "Entrance Hall", | ||
publicity_level: :unlisted, | ||
furniture_placements: { | ||
markdown_text_block: {content: "# Wooo!"}, | ||
} | ||
|
||
} | ||
] | ||
} | ||
}.with_indifferent_access | ||
|
||
# @todo migrate this to a private configuration file! | ||
CLIENTS = [{ | ||
client: { | ||
name: "Zinc", | ||
space: { | ||
members: [{email: "[email protected]"}, {email: "[email protected]"}], | ||
name: "Zinc", branded_domain: "meet.zinc.coop", | ||
entrance: "lobby", | ||
utility_hookups: [ | ||
{ | ||
utility_slug: :jitsi, name: "Jitsi", configuration: | ||
{meet_domain: "convene-videobridge-zinc.zinc.coop"} | ||
} | ||
], | ||
rooms: [{ | ||
name: "Lobby", | ||
access_level: :unlocked, | ||
publicity_level: :unlisted, | ||
furniture_placements: { | ||
markdown_text_block: {} | ||
} | ||
}, { | ||
name: "Ada", | ||
access_level: :unlocked, | ||
publicity_level: :listed, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
}, { | ||
name: "Talk to Zee", | ||
access_level: :unlocked, | ||
publicity_level: :unlisted, | ||
furniture_placements: { | ||
video_bridge: {} | ||
} | ||
}] | ||
} | ||
} | ||
}, { | ||
client: { | ||
name: "Zinc", | ||
space: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,19 +47,12 @@ def self.prepare | |
name: "Zinc", | ||
space: { | ||
name: "Convene Demo", | ||
utility_hookups: utility_hookups, | ||
utility_hookups: [], | ||
branded_domain: "convene-demo.zinc.coop", | ||
members: [{email: "[email protected]"}, | ||
{email: "[email protected]"}], | ||
rooms: DEMO_ROOMS | ||
} | ||
}).find_or_create! | ||
end | ||
|
||
def self.utility_hookups | ||
[ | ||
{utility_slug: :jitsi, name: "Jitsi", configuration: | ||
{meet_domain: "convene-videobridge-zinc.zinc.coop"}} | ||
] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
db/migrate/20230119005121_remove_video_bridge_furniture.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class RemoveVideoBridgeFurniture < ActiveRecord::Migration[7.0] | ||
# As of 2023/1/28, these are the video-bridge placements in production | ||
# > FurniturePlacement.where(furniture_kind: "video_bridge").map {|fp| [fp.id, fp.room.slug, fp.room.space.slug]} | ||
# [["c868b70f-00a8-4889-92fb-8a39106a507d", "zee-s-desk", "convene-demo"], | ||
# ["be167a5b-628c-4366-b191-d8804813b77c", "vivek-s-desk", "convene-demo"], | ||
# ["d9196ae8-9fe6-4bfd-875b-3e593411fed4", "water-cooler", "convene-demo"], | ||
# ["4e2116fc-eb4c-4466-b269-b5cd0da8f1f2", "the-ada-lovelace-room", | ||
# "convene-demo"], ["ca5ea9f3-1680-4528-ae4b-b13ce499cdf3", "locked-room", | ||
# "convene-demo"], ["eaa117fc-2326-4903-9cfd-92e68d0ed38d", "viveks-desk", | ||
# "avigno"], ["402a54c6-513f-4d35-a416-b0e9089f72bb", "music-room", "avigno"], | ||
# ["fd1a0b4c-973b-4078-a2eb-5b45f7b89731", "common-room", "avigno"]] | ||
def up | ||
FurniturePlacement.where(furniture_kind: "video_bridge").destroy_all | ||
end | ||
|
||
def down | ||
ActiveRecord::IrreversibleMigration | ||
end | ||
end |
Oops, something went wrong.