Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
9091618
First SSH Tunnel POC test
m-alexparent Jun 12, 2025
5e2e83c
Connection Test Button
m-alexparent Jun 13, 2025
cc1a0a9
Error validation for SSH modal
m-alexparent Jun 17, 2025
7877122
Tunnel Context & State fixed
m-alexparent Jun 19, 2025
cd5015f
File creation to test if request actually goes through
m-alexparent Jun 23, 2025
78edcf2
Tunnel disconnect + routing
m-alexparent Jun 24, 2025
2a709fb
Test request always available
m-alexparent Jun 24, 2025
0b501f3
Test Request and routing fixes
m-alexparent Jun 24, 2025
494f83e
MongoDB connection tests
m-alexparent Jun 26, 2025
a3f4410
Reverted changes, need to fix mongoDB connection
m-alexparent Jun 30, 2025
1816faa
Icon for connection modal
m-alexparent Jul 1, 2025
ba42009
Context provider fixed
M-AParent Jul 2, 2025
f919046
Connection indicator fixed + test request readded
M-AParent Jul 2, 2025
08c9d1d
File browser first steps
m-alexparent Jul 7, 2025
4b59845
Remote folder creation
m-alexparent Jul 8, 2025
14afc39
Directory setting attempt
m-alexparent Jul 15, 2025
5c6f9b1
Express server fixes
m-alexparent Jul 15, 2025
f7f1aad
CORS fix attempt
m-alexparent Jul 16, 2025
a1e7ac4
Fixed wrong Express function call
m-alexparent Jul 17, 2025
2ac6ad8
Request fixed
M-AParent Jul 17, 2025
8bdbcde
Centralizing remote functions
m-alexparent Jul 22, 2025
854ee3d
Remote workspace setting fixes
M-AParent Jul 22, 2025
054f150
Mongo connection tester
m-alexparent Jul 23, 2025
b299b7e
GlobalData management
m-alexparent Jul 25, 2025
355d5fc
Had to add node-loader for some reason
m-alexparent Jul 25, 2025
25c83f9
Current best attempt at getting workspace to show
m-alexparent Jul 29, 2025
f87d194
Moved logs for testing
M-AParent Jul 30, 2025
e18be70
OS-specific absolute path for express server
m-alexparent Jul 30, 2025
c6ded99
Merge branch 'AppConnectionTests' of https://github.com/MEDomics-UdeS…
m-alexparent Jul 30, 2025
171ccb4
Safety commit for repo renaming
M-AParent Jul 30, 2025
7c53e0f
Async/sync tests
M-AParent Jul 30, 2025
e513f79
Almost fixed through refactor
M-AParent Jul 30, 2025
9d23e78
Refactor remoteFunctions.js for consistency and readability
NicoLongfield Jul 30, 2025
609e16b
Merge remote-tracking branch 'origin/AppConnectionTests_nico' into Ap…
m-alexparent Jul 31, 2025
b89605d
RecursiveRecense remote interactivity
m-alexparent Jul 31, 2025
afb243d
More error handling & folders show now
m-alexparent Aug 1, 2025
6cbbebe
Mongo utils remote fix
m-alexparent Aug 6, 2025
e73b4b7
New request for remote dirtree
m-alexparent Aug 11, 2025
aa821a2
Remote folder creation on sidebar
m-alexparent Aug 12, 2025
995ab7f
Headless attempt #1
m-alexparent Aug 12, 2025
a26a28e
Headless argument finnicking
m-alexparent Aug 12, 2025
2382c98
Headless argument finnicking #2
m-alexparent Aug 12, 2025
21e3f6e
More finnicking
m-alexparent Aug 12, 2025
f4d12be
Finnicking attempt #5
m-alexparent Aug 12, 2025
389eb79
Electron env variables for headless
m-alexparent Aug 12, 2025
21a0458
Remote refreshing and new folder fixed
m-alexparent Aug 14, 2025
4331611
Express Get request fix
M-AParent Aug 14, 2025
627396b
Attempt to fix CSV insertion
m-alexparent Aug 18, 2025
6ededb8
Missing positive response on new request
m-alexparent Aug 18, 2025
64fbb1e
Fixed tunnelStateUpdate + debugging remote inserts
m-alexparent Aug 19, 2025
e765e16
Disconnect and empty csv crashes fixed
m-alexparent Aug 19, 2025
db1891c
Merge remote-tracking branch 'origin/develop' into AppConnectionTests
m-alexparent Aug 19, 2025
a4c4a35
Remote sync request attempt
m-alexparent Aug 21, 2025
f934fbd
Remote sync fixed
m-alexparent Aug 25, 2025
7cd2cd0
Remote file renaming functional
m-alexparent Aug 25, 2025
6112b70
Remote directory/file deletion
m-alexparent Aug 26, 2025
1f81f3d
Removed "Open in explorer" option on remote workspaces
m-alexparent Aug 26, 2025
889f90b
Remote Remove From Workspace
m-alexparent Aug 26, 2025
83c30e7
First batch of suggested fixes
m-alexparent Aug 27, 2025
e2fe540
Fixed server_utils missing json import
m-alexparent Aug 27, 2025
5340f17
Conn Modal theming changes and fixes
m-alexparent Aug 29, 2025
89ec01a
Connection Modal UI improvements
m-alexparent Sep 1, 2025
4462177
First attempt at a sidebar loading indicator
m-alexparent Sep 2, 2025
78de9d6
Primitive loading overlay on sidebar working
m-alexparent Sep 3, 2025
29d09ee
Begun work on remote Settings
m-alexparent Sep 5, 2025
68a0bba
Bundled python environment accessible remotely
m-alexparent Sep 8, 2025
d465ba9
More python remote functions to make settings work
m-alexparent Sep 8, 2025
f71f4c3
Remote Mongo start functions + begun Jupyter refactor
m-alexparent Sep 9, 2025
c387525
Fixed inverted parameters and misnamed call
m-alexparent Sep 10, 2025
704a591
Jupyter server handling moved to main process
m-alexparent Sep 11, 2025
20d7200
Jupyter viewer adjustments for remote
m-alexparent Sep 15, 2025
151e58c
Attempt for more cross-platform path fixes
m-alexparent Sep 15, 2025
5c4b857
Express Jupyter requests
m-alexparent Sep 15, 2025
9719d8f
Fixed wrong console log
m-alexparent Sep 15, 2025
eea0ed8
Jupyter Tunnel Logic
m-alexparent Sep 16, 2025
f5e7fb3
Fixed Jupyter running locally
m-alexparent Sep 17, 2025
2c664bf
Solidified Jupyter-Settings page integration
m-alexparent Sep 18, 2025
bbf28d9
Fixed path discrepancy in startJupyterServer calls
M-AParent Sep 19, 2025
df09f4f
Jupyter remote access tested
m-alexparent Sep 19, 2025
bf98fb5
Sidebar loading triggered by mongo check fix
m-alexparent Sep 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions go_server/blueprints/connection/connection.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package connection

import (
Utils "go_module/src"
"log"
)

var prePath = "connection"

// AddHandleFunc adds the specific module handle function to the server
func AddHandleFunc() {
Utils.CreateHandleFunc(prePath+"/register_ssh_key", registerSSHKey)
Utils.CreateHandleFunc(prePath+"/connection_test_request", connectionTestRequest)
}

// validateSSHKey checks if the key is valid and saves it locally to the server
// Returns the status of the validation
func registerSSHKey(jsonConfig string, id string) (string, error) {
log.Println("Registering SSH Key: ", id)
response, err := Utils.StartPythonScripts(jsonConfig, "../pythonCode/modules/connection/register_ssh_key.py", id)
Utils.RemoveIdFromScripts(id)
if err != nil {
return "", err
}
return response, nil
}

// handleProgress handles the request to get the progress of the experiment
// It returns the progress of the experiment
func connectionTestRequest(jsonConfig string, id string) (string, error) {
log.Println("Connection test request: ", id)
response, err := Utils.StartPythonScripts(jsonConfig, "../pythonCode/modules/connection/connection_test_request.py", id)
Utils.RemoveIdFromScripts(id)
if err != nil {
return "", err
}
return response, nil
}
Binary file modified go_server/main.exe
Binary file not shown.
Binary file removed go_server/main.exe~
Binary file not shown.
2 changes: 2 additions & 0 deletions go_server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
MEDprofiles "go_module/blueprints/MEDprofiles_"
Application "go_module/blueprints/application"
Connection "go_module/blueprints/connection"
Evaluation "go_module/blueprints/evaluation"
Exploratory "go_module/blueprints/exploratory"
ExtractionImage "go_module/blueprints/extraction_image"
Expand All @@ -26,6 +27,7 @@ func main() {

// Here is where you add the handle functions to the server
Learning.AddHandleFunc()
Connection.AddHandleFunc()
Evaluation.AddHandleFunc()
Exploratory.AddHandleFunc()
ExtractionImage.AddHandleFunc()
Expand Down
Loading