From dd432495df2342ef281df1f8e9d55158f2c88903 Mon Sep 17 00:00:00 2001 From: jonnvega Date: Sat, 26 Oct 2024 19:48:13 +0200 Subject: [PATCH 01/11] changed styles and abstract to renderControls --- .calva/output-window/output.calva-repl | 1884 ++++++++++++++++++++++++ src/js/survey/SurveyCollection.jsx | 137 +- 2 files changed, 1971 insertions(+), 50 deletions(-) create mode 100644 .calva/output-window/output.calva-repl diff --git a/.calva/output-window/output.calva-repl b/.calva/output-window/output.calva-repl new file mode 100644 index 000000000..6cedfe8b5 --- /dev/null +++ b/.calva/output-window/output.calva-repl @@ -0,0 +1,1884 @@ +; This is the Calva REPL Window. +; It's just a file, really, with some special treatment from Calva. +; Use it as a REPL input prompt if you like. (When the REPL is connected.) +; TIPS: The keyboard shortcut `ctrl+alt+o r` shows and focuses this window +; Please see https://calva.io/repl-window/ for more info. +; Happy coding! ♥️ + +; TIPS: As with any Clojure file when the REPL is connected: +; - `alt+enter` evaluates the current top level form. +; - `ctrl+enter` evaluates the current form. +; Special for this file: +; - `alt+up` and `alt+down` traverse up and down the REPL command history +; when the cursor is after the last contents at the prompt +; +; See also the Calva Inspector: https://calva.io/inspector/ + +PLEASE NOTE +We will update the default location of this file. +The new default location will be + "/.calva/repl.calva-repl" +For now the legacy path is used by default. +To give yourself a smooth transition, you can opt in +to the change, by configuring this setting as false: + "calva.useLegacyReplWindowPath" +and then add "**/.calva/repl.calva-repl" to your ".gitignore" file. + + +This file is configured as the output destination for all REPL output. +You can configure this with the setting: + "calva.outputDestinations" + + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +nil +clj꞉user꞉>  +"Please see https://calva.io/output/#about-stdout-in-the-repl-window +about why stdout printed to this file is prepended with `;` to be line comments." +clj꞉user꞉>  +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; 10/23 16:14:10 Request(get): "/review-institution" {:institutionId "1"} +; 10/23 16:14:10 Response(200): text/html; charset=utf-8 response +; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:10 Request(get): "/js/bootstrap.min.js.map" {} +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/23 16:14:10 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/23 16:14:10 Request(get): "/get-nicfi-dates" {} +; 10/23 16:14:10 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/23 16:14:10 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/23 16:14:10 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/23 16:14:10 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/23 16:14:10 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/23 16:14:10 Response(200): {name DEV Institution 11, imageName , ...} +; 10/23 16:14:10 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/23 16:14:10 Response(200): font/woff file +; 10/23 16:14:10 Response(200): application/json file +; 10/23 16:14:10 Response(200): image/png file +; 10/23 16:14:10 Response(200): application/octet-stream file +; 10/23 16:14:10 Response(200): [{id 1, institution 1, ...}] +; 10/23 16:14:10 Response(200): application/json file +; 10/23 16:14:18 Request(get): "/collection" {:projectId "1"} +; 10/23 16:14:20 Response(302): application/octet-stream response +; 10/23 16:14:20 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} +; 10/23 16:14:20 Response(200): text/html; charset=utf-8 response +; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:20 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:20 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:21 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:21 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:21 Request(get): "/js/bootstrap.min.js.map" {} +; 10/23 16:14:21 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:21 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:21 Response(200): application/octet-stream file +; 10/23 16:14:21 Response(200): application/octet-stream file +; 10/23 16:14:21 Response(200): application/octet-stream file +; 10/23 16:14:21 Request(get): "/get-public-imagery" {} +; 10/23 16:14:21 Request(get): "/get-all-institutions" {} +; 10/23 16:14:21 SQL Call: SELECT * FROM select_public_imagery() +; 10/23 16:14:21 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/23 16:14:21 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/23 16:14:21 Response(200): font/woff file +; 10/23 16:14:21 Request(get): "/get-home-projects" {} +; 10/23 16:14:21 Response(200): [{id 1, institution 1, ...}] +; 10/23 16:14:21 Response(200): application/octet-stream file +; 10/23 16:14:21 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/23 16:14:21 Response(200): application/json file +; 10/23 16:14:21 Response(200): image/png file +; 10/23 16:14:21 Response(200): [] +; 10/23 16:14:21 Response(200): application/json file +; 10/23 16:14:24 Request(get): "/review-institution" {:institutionId "1"} +; 10/23 16:14:24 Response(200): text/html; charset=utf-8 response +; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file +; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:24 Request(get): "/js/bootstrap.min.js.map" {} +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Response(200): application/octet-stream file +; 10/23 16:14:24 Request(get): "/get-nicfi-dates" {} +; 10/23 16:14:24 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/23 16:14:24 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/23 16:14:24 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/23 16:14:24 Response(200): {name DEV Institution 11, imageName , ...} +; 10/23 16:14:24 Response(200): font/woff file +; 10/23 16:14:24 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/23 16:14:24 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/23 16:14:25 Response(200): [{id 1, institution 1, ...}] +; 10/23 16:14:25 Response(200): application/octet-stream file +; 10/23 16:14:25 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/23 16:14:25 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/23 16:14:25 Response(200): application/json file +; 10/23 16:14:25 Response(200): image/png file +; 10/23 16:14:25 Response(200): application/json file +; 10/23 16:14:25 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/23 16:14:27 Error: clj-http: status 401 +; 10/23 16:14:33 Request(get): "/collection" {:projectId "1"} +; 10/23 16:35:06 Removing temp files. +; 10/23 17:05:06 Removing temp files. +; 10/23 17:35:06 Removing temp files. +; 10/23 17:37:56 Request(get): "/css/bootstrap.min.css.map" {} +; 10/23 17:37:56 Response(404): text/html; charset=utf-8 response +; 10/24 12:17:19 Removing temp files. +; 10/24 12:41:38 Request(get): "/collection" {:projectId "1"} +; 10/24 12:41:42 Request(get): "/collection" {:projectId "1"} +; 10/24 12:41:45 Response(302): application/octet-stream response +; 10/24 12:41:45 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} +; 10/24 12:41:45 Response(200): text/html; charset=utf-8 response +; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:46 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 12:41:46 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 12:41:46 Response(404): text/html; charset=utf-8 response +; 10/24 12:41:46 Response(404): text/html; charset=utf-8 response +; 10/24 12:41:46 Response(200): application/octet-stream file +; 10/24 12:41:46 Response(200): application/octet-stream file +; 10/24 12:41:46 Response(200): application/octet-stream file +; 10/24 12:41:46 Response(200): application/json file +; 10/24 12:41:46 Request(get): "/get-public-imagery" {} +; 10/24 12:41:46 Request(get): "/get-all-institutions" {} +; 10/24 12:41:46 Request(get): "/get-home-projects" {} +; 10/24 12:41:46 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 12:41:46 Response(200): image/png file +; 10/24 12:41:46 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 12:41:46 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 12:41:46 Response(200): font/woff file +; 10/24 12:41:46 Response(200): [{id 1, institution 1, ...}] +; 10/24 12:41:46 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 12:41:46 Response(200): [] +; 10/24 12:41:46 Response(200): application/octet-stream file +; 10/24 12:41:46 Response(200): image/x-icon file +; 10/24 12:41:47 Response(200): application/json file +; 10/24 12:41:48 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 12:41:48 Response(200): text/html; charset=utf-8 response +; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response +; 10/24 12:41:48 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file +; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response +; 10/24 12:41:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Response(200): application/octet-stream file +; 10/24 12:41:48 Request(get): "/get-nicfi-dates" {} +; 10/24 12:41:48 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 12:41:48 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 12:41:48 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 12:41:48 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 12:41:48 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 12:41:48 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 12:41:48 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 12:41:48 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 12:41:48 Response(200): font/woff file +; 10/24 12:41:49 Response(200): application/json file +; 10/24 12:41:49 Response(200): application/octet-stream file +; 10/24 12:41:49 Response(200): image/png file +; 10/24 12:41:49 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 12:41:49 Response(200): [{id 1, institution 1, ...}] +; 10/24 12:41:49 Response(200): application/json file +; 10/24 12:44:58 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 12:44:58 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 12:45:02 Request(get): "/collection" {:projectId "177"} +; 10/24 12:47:19 Removing temp files. +; 10/24 13:17:19 Removing temp files. +; 10/24 13:42:25 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 13:42:25 Response(404): text/html; charset=utf-8 response +; 10/24 13:50:13 Removing temp files. +; 10/24 14:07:51 Request(get): "/collection" {:projectId "177"} +; 10/24 14:13:24 Response(302): application/octet-stream response +; 10/24 14:13:24 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 14:13:24 Response(200): text/html; charset=utf-8 response +; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:24 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 14:13:24 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 14:13:24 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:24 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:24 Response(200): application/octet-stream file +; 10/24 14:13:24 Response(200): application/octet-stream file +; 10/24 14:13:24 Response(200): application/octet-stream file +; 10/24 14:13:24 Request(get): "/get-all-institutions" {} +; 10/24 14:13:24 Request(get): "/get-public-imagery" {} +; 10/24 14:13:24 Response(200): application/json file +; 10/24 14:13:24 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 14:13:24 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 14:13:24 Request(get): "/get-home-projects" {} +; 10/24 14:13:24 Response(200): image/png file +; 10/24 14:13:24 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 14:13:24 Response(200): font/woff file +; 10/24 14:13:24 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 14:13:24 Response(200): [{id 1, institution 1, ...}] +; 10/24 14:13:24 Response(200): [] +; 10/24 14:13:24 Response(200): image/x-icon file +; 10/24 14:13:24 Response(200): application/json file +; 10/24 14:13:24 Response(200): application/octet-stream file +; 10/24 14:13:28 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 14:13:28 Response(200): text/html; charset=utf-8 response +; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:28 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 14:13:28 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 14:13:28 Request(get): "/get-nicfi-dates" {} +; 10/24 14:13:28 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 14:13:28 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 14:13:28 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 14:13:28 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 14:13:28 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 14:13:28 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 14:13:28 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 14:13:28 Response(200): application/json file +; 10/24 14:13:28 Response(200): font/woff file +; 10/24 14:13:28 Response(200): image/png file +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): [{id 1, institution 1, ...}] +; 10/24 14:13:28 Response(200): application/octet-stream file +; 10/24 14:13:28 Response(200): application/json file +; 10/24 14:13:35 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 14:13:35 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 14:13:36 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 14:13:36 Response(200): text/html; charset=utf-8 response +; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 14:13:37 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 14:13:37 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:37 Response(404): text/html; charset=utf-8 response +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 14:13:37 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 14:13:37 Request(get): "/get-nicfi-dates" {} +; 10/24 14:13:37 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 14:13:37 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 14:13:37 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 14:13:37 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 14:13:37 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 14:13:37 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 14:13:37 Response(200): font/woff file +; 10/24 14:13:37 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 14:13:37 Response(200): application/json file +; 10/24 14:13:37 Response(200): image/png file +; 10/24 14:13:37 Response(200): image/x-icon file +; 10/24 14:13:37 Response(200): application/octet-stream file +; 10/24 14:13:37 Response(200): [{id 1, institution 1, ...}] +; 10/24 14:13:37 Response(200): application/json file +; 10/24 14:20:13 Removing temp files. +; 10/24 14:50:13 Removing temp files. +; 10/24 15:12:04 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} +; 10/24 15:12:05 Response(200): text/html; charset=utf-8 response +; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:05 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:05 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:12:05 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:05 Response(200): application/octet-stream file +; 10/24 15:12:05 Response(200): application/octet-stream file +; 10/24 15:12:05 Response(200): application/octet-stream file +; 10/24 15:12:05 Request(get): "/get-home-projects" {} +; 10/24 15:12:05 Request(get): "/get-all-institutions" {} +; 10/24 15:12:05 Response(200): application/json file +; 10/24 15:12:05 Request(get): "/get-public-imagery" {} +; 10/24 15:12:05 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 15:12:05 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 15:12:05 Response(200): font/woff file +; 10/24 15:12:05 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 15:12:05 Response(200): image/png file +; 10/24 15:12:05 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 15:12:05 Response(200): [] +; 10/24 15:12:05 Response(200): [{id 1, institution 1, ...}] +; 10/24 15:12:05 Response(200): application/octet-stream file +; 10/24 15:12:06 Response(200): application/json file +; 10/24 15:12:19 Error: clj-http: status 401 +; 10/24 15:12:21 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 15:12:21 Response(200): text/html; charset=utf-8 response +; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:12:21 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:21 Response(200): application/octet-stream file +; 10/24 15:12:21 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:12:21 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:21 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 15:12:22 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 15:12:22 Request(get): "/get-nicfi-dates" {} +; 10/24 15:12:22 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 15:12:22 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 15:12:22 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 15:12:22 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 15:12:22 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 15:12:22 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 15:12:22 Response(200): font/woff file +; 10/24 15:12:22 Response(200): application/json file +; 10/24 15:12:22 Response(200): image/png file +; 10/24 15:12:22 Response(200): application/octet-stream file +; 10/24 15:12:22 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 15:12:22 Response(200): application/json file +; 10/24 15:12:22 Response(200): [{id 1, institution 1, ...}] +; 10/24 15:12:54 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 15:12:54 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Response(200): application/octet-stream file +; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:24 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} +; 10/24 15:13:25 Response(200): text/html; charset=utf-8 response +; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:25 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:13:25 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:25 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:25 Response(200): application/octet-stream file +; 10/24 15:13:25 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:25 Response(200): application/octet-stream file +; 10/24 15:13:25 Response(200): application/octet-stream file +; 10/24 15:13:25 Request(get): "/get-public-imagery" {} +; 10/24 15:13:25 Request(get): "/get-all-institutions" {} +; 10/24 15:13:25 Request(get): "/get-home-projects" {} +; 10/24 15:13:25 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 15:13:25 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 15:13:25 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 15:13:25 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 15:13:25 Response(200): font/woff file +; 10/24 15:13:25 Response(200): [] +; 10/24 15:13:25 Response(200): [{id 1, institution 1, ...}] +; 10/24 15:13:25 Response(200): application/json file +; 10/24 15:13:25 Response(200): image/png file +; 10/24 15:13:25 Response(200): image/x-icon file +; 10/24 15:13:25 Response(200): application/octet-stream file +; 10/24 15:13:27 Response(200): application/json file +; 10/24 15:13:37 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} +; 10/24 15:13:37 Response(200): text/html; charset=utf-8 response +; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file +; 10/24 15:13:37 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 15:13:37 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 15:13:37 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:37 Response(404): text/html; charset=utf-8 response +; 10/24 15:13:37 Response(200): application/octet-stream file +; 10/24 15:13:37 Response(200): application/octet-stream file +; 10/24 15:13:37 Response(200): application/octet-stream file +; 10/24 15:13:37 Request(get): "/get-all-institutions" {} +; 10/24 15:13:37 Request(get): "/get-public-imagery" {} +; 10/24 15:13:37 Request(get): "/get-home-projects" {} +; 10/24 15:13:37 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 15:13:37 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 15:13:37 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 15:13:37 Response(200): [{id 1, institution 1, ...}] +; 10/24 15:13:37 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 15:13:37 Response(200): [] +; 10/24 15:13:37 Response(200): font/woff file +; 10/24 15:13:37 Response(200): image/png file +; 10/24 15:13:37 Response(200): application/json file +; 10/24 15:13:37 Response(200): application/octet-stream file +; 10/24 15:13:37 Response(200): image/x-icon file +; 10/24 15:13:39 Response(200): application/json file +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; TypeError: Cannot read properties of undefined (reading 'label') +; Aborting connect. +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +nil +clj꞉user꞉>  +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; 10/24 15:54:23 Removing temp files. +; 10/24 16:09:10 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 16:09:10 Response(200): text/html; charset=utf-8 response +; 10/24 16:09:11 Request(get): "/get-nicfi-dates" {} +; 10/24 16:09:11 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 16:09:11 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 16:09:11 Response(200): application/json file +; 10/24 16:09:11 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 16:09:11 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 16:09:11 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 16:09:11 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 16:09:11 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 16:09:11 Response(200): application/json file +; 10/24 16:09:11 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 16:09:11 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 16:09:11 Response(200): [{id 1, institution 1, ...}] +; 10/24 16:09:50 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 16:09:50 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 16:10:05 Request(get): "/collection" {:projectId "177"} +; 10/24 16:12:02 Error: Cannot invoke "clojure.lang.IFn.invoke(Object, Object)" because "this.print_fn" is null +; 10/24 16:12:06 Request(get): "/collection" {:projectId "177"} +; 10/24 16:23:24 Request(get): "/collection" {:projectId "177"} +; 10/24 16:24:23 Removing temp files. +; Evaluating file: projects.clj +#'collect-earth-online.db.projects/delete-project-draft! +clj꞉collect-earth-online.db.projects꞉>  +; 10/24 16:31:50 Response(302): application/octet-stream response +; 10/24 16:31:50 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 16:31:50 Response(200): text/html; charset=utf-8 response +; 10/24 16:31:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 16:31:50 Request(get): "/get-public-imagery" {} +; 10/24 16:31:50 Request(get): "/get-all-institutions" {} +; 10/24 16:31:50 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 16:31:50 Response(200): application/json file +; 10/24 16:31:50 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 16:31:50 Request(get): "/get-home-projects" {} +; 10/24 16:31:50 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 16:31:50 Response(200): [{id 1, institution 1, ...}] +; 10/24 16:31:50 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 16:31:50 Response(200): application/json file +; 10/24 16:31:50 Response(200): [] +; Evaluating file: handlers.clj +#'collect-earth-online.handlers/redirect-handler +clj꞉collect-earth-online.handlers꞉>  +; Evaluating file: projects.clj +; +; ; clj collect-earth-online.db.projects +; Execution error (ArityException) at collect-earth-online.db.projects/eval39157 (projects.clj:28). +; Wrong number of args (0) passed to: collect-earth-online.db.projects/check-auth-common +; Evaluation of file projects.clj failed: class clojure.lang.Compiler$CompilerException +clj꞉collect-earth-online.db.projects꞉>  +; Evaluating file: projects.clj +#'collect-earth-online.db.projects/delete-project-draft! +clj꞉collect-earth-online.db.projects꞉>  +; Evaluating file: handlers.clj +#'collect-earth-online.handlers/redirect-handler +clj꞉collect-earth-online.handlers꞉>  +; 10/24 16:34:11 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 16:34:11 Response(200): text/html; charset=utf-8 response +; 10/24 16:34:11 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 16:34:11 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 16:34:11 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 16:34:11 Request(get): "/get-nicfi-dates" {} +; 10/24 16:34:11 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 16:34:11 Response(200): application/json file +; 10/24 16:34:11 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 16:34:11 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 16:34:11 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 16:34:11 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 16:34:11 Response(200): application/json file +; 10/24 16:34:11 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 16:34:11 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 16:34:11 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 16:34:11 Response(200): [{id 1, institution 1, ...}] +; 10/24 16:34:11 Error: clj-http: status 401 +; 10/24 16:34:13 Request(get): "/collection" {:projectId "177"} +; 10/24 16:34:13 Response(302): application/octet-stream response +; 10/24 16:34:13 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 16:34:13 Response(200): text/html; charset=utf-8 response +; 10/24 16:34:13 Response(200): application/json file +; 10/24 16:34:13 Request(get): "/get-public-imagery" {} +; 10/24 16:34:13 Request(get): "/get-home-projects" {} +; 10/24 16:34:13 Request(get): "/get-all-institutions" {} +; 10/24 16:34:13 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 16:34:13 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 16:34:13 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 16:34:13 Response(200): application/json file +; 10/24 16:34:13 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 16:34:13 Response(200): [{id 1, institution 1, ...}] +; 10/24 16:34:13 Response(200): [] +#function[collect-earth-online.db.projects/can-collect?] +clj꞉collect-earth-online.handlers꞉>  +; Syntax error compiling at (src/clj/collect_earth_online/handlers.clj:0:0). +; Unable to resolve symbol: institution-id in this context +clj꞉collect-earth-online.handlers꞉>  +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; 10/24 16:34:54 Request(get): "/collection" {:projectId "177"} +; 10/24 16:34:54 Response(302): application/octet-stream response +; 10/24 16:34:54 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 16:34:54 Response(200): text/html; charset=utf-8 response +; 10/24 16:34:54 Request(get): "/get-public-imagery" {} +; 10/24 16:34:54 Request(get): "/get-home-projects" {} +; 10/24 16:34:54 Request(get): "/get-all-institutions" {} +; 10/24 16:34:54 Response(200): application/json file +; 10/24 16:34:54 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 16:34:54 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 16:34:54 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 16:34:54 Response(200): application/json file +; 10/24 16:34:55 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 16:34:55 Response(200): [{id 1, institution 1, ...}] +; 10/24 16:34:55 Response(200): [] +; 10/24 16:54:23 Removing temp files. +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +nil +clj꞉user꞉>  +#'collect-earth-online.db.projects/get-home-projects +clj꞉collect-earth-online.db.projects꞉>  +; 10/24 17:15:51 Request(get): "/home" {} +; 10/24 17:15:51 Response(200): text/html; charset=utf-8 response +; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:15:51 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:15:51 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:15:51 Response(404): text/html; charset=utf-8 response +; 10/24 17:15:51 Response(404): text/html; charset=utf-8 response +; 10/24 17:15:51 Response(200): application/octet-stream file +; 10/24 17:15:51 Response(200): application/octet-stream file +; 10/24 17:15:51 Response(200): application/octet-stream file +; 10/24 17:15:51 Request(get): "/get-all-institutions" {} +; 10/24 17:15:51 Request(get): "/get-public-imagery" {} +; 10/24 17:15:51 Response(200): application/json file +; 10/24 17:15:51 Request(get): "/get-home-projects" {} +; 10/24 17:15:51 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:15:51 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:15:51 Response(200): image/png file +; 10/24 17:15:51 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:15:51 Response(200): application/json file +; 10/24 17:15:51 Response(200): image/x-icon file +; 10/24 17:15:51 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:15:51 Response(200): application/octet-stream file +; 10/24 17:15:51 Response(200): font/woff file +; 10/24 17:18:36 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:18:36 Response(200): [] +; 10/24 17:18:40 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:18:40 Response(200): text/html; charset=utf-8 response +; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:18:40 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:18:40 Request(get): "/get-nicfi-dates" {} +; 10/24 17:18:40 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:18:40 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:18:40 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:18:40 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:18:40 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:18:40 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:18:40 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:18:40 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:18:40 Response(200): font/woff file +; 10/24 17:18:40 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:18:40 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:18:40 Response(200): application/json file +; 10/24 17:18:40 Response(200): image/png file +; 10/24 17:18:40 Response(200): application/octet-stream file +; 10/24 17:18:40 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:18:40 Response(200): application/json file +; 10/24 17:18:40 Error: clj-http: status 401 +clj꞉collect-earth-online.db.projects꞉>  +; 10/24 17:19:35 Request(get): "/collection" {:projectId "177"} +; 10/24 17:19:35 Response(302): application/octet-stream response +; 10/24 17:19:35 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 17:19:35 Response(200): text/html; charset=utf-8 response +; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:19:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:19:35 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:19:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:19:35 Response(200): application/octet-stream file +; 10/24 17:19:35 Response(200): application/octet-stream file +; 10/24 17:19:35 Response(200): application/octet-stream file +; 10/24 17:19:35 Request(get): "/get-public-imagery" {} +; 10/24 17:19:35 Request(get): "/get-all-institutions" {} +; 10/24 17:19:35 Request(get): "/get-home-projects" {} +; 10/24 17:19:35 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:19:35 Response(200): application/json file +; 10/24 17:19:35 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:19:35 Response(200): image/png file +; 10/24 17:19:35 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:19:35 Response(200): application/json file +; 10/24 17:19:35 Response(200): application/octet-stream file +; 10/24 17:19:35 Response(200): font/woff file +; 10/24 17:19:35 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:19:38 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:19:38 Response(200): [] +clj꞉collect-earth-online.db.projects꞉>  +; 10/24 17:20:00 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:20:00 Response(200): text/html; charset=utf-8 response +; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:00 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:20:00 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:20:00 Request(get): "/get-nicfi-dates" {} +; 10/24 17:20:00 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:20:00 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:20:00 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:20:00 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:20:00 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:20:00 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:20:00 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:20:00 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:20:00 Response(200): application/json file +; 10/24 17:20:00 Response(200): image/png file +; 10/24 17:20:00 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:20:00 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:20:00 Response(200): application/octet-stream file +; 10/24 17:20:00 Response(200): font/woff file +; 10/24 17:20:00 Response(200): application/json file +; 10/24 17:20:00 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:20:01 Error: clj-http: status 401 +; 10/24 17:20:03 Request(get): "/collection" {:projectId "177"} +; 10/24 17:20:03 Response(302): application/octet-stream response +; 10/24 17:20:03 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 17:20:03 Response(200): text/html; charset=utf-8 response +; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:03 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:20:03 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:20:03 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:20:03 Response(200): application/octet-stream file +; 10/24 17:20:03 Response(200): application/octet-stream file +; 10/24 17:20:03 Response(200): application/octet-stream file +; 10/24 17:20:03 Request(get): "/get-all-institutions" {} +; 10/24 17:20:03 Request(get): "/get-home-projects" {} +; 10/24 17:20:03 Request(get): "/get-public-imagery" {} +; 10/24 17:20:03 Response(200): application/json file +; 10/24 17:20:03 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:20:03 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:20:03 Response(200): image/png file +; 10/24 17:20:03 Response(200): application/json file +; 10/24 17:20:03 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:20:03 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:20:03 Response(200): font/woff file +; 10/24 17:20:03 Response(200): application/octet-stream file +; 10/24 17:20:10 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:20:10 Response(200): [] +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +nil +clj꞉user꞉>  +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; 10/24 17:28:35 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:28:35 Response(200): text/html; charset=utf-8 response +; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:28:35 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Request(get): "/get-nicfi-dates" {} +; 10/24 17:28:35 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:28:35 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:28:35 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:28:35 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:28:35 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:28:35 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:28:35 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:28:35 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:28:35 Response(200): application/json file +; 10/24 17:28:35 Response(200): image/png file +; 10/24 17:28:35 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:28:35 Response(200): application/json file +; 10/24 17:28:35 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:28:35 Response(200): application/octet-stream file +; 10/24 17:28:35 Response(200): font/woff file +; 10/24 17:28:37 Request(get): "/collection" {:projectId "177"} +; 10/24 17:28:49 Error: Wrong number of args (3) passed to: collect-earth-online.db.projects/can-collect? +; 10/24 17:28:49 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:28:49 Response(404): text/html; charset=utf-8 response +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; Evaluating file: users.clj +#'collect-earth-online.db.users/request-institution-membership +clj꞉collect-earth-online.db.users꞉>  +#'collect-earth-online.db.users/get-institution-users +clj꞉collect-earth-online.db.users꞉>  +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +nil +clj꞉user꞉>  +#'collect-earth-online.handlers/route-authenticator +clj꞉collect-earth-online.handlers꞉>  +; 10/24 17:41:26 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:41:26 Response(200): text/html; charset=utf-8 response +; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:26 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(404): text/html; charset=utf-8 response +; 10/24 17:41:26 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:41:26 Response(404): text/html; charset=utf-8 response +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Request(get): "/get-nicfi-dates" {} +; 10/24 17:41:26 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:41:26 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:41:26 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:41:26 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:41:26 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:41:26 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:41:26 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:41:26 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:41:26 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:41:26 Response(200): font/woff file +; 10/24 17:41:26 Response(200): application/json file +; 10/24 17:41:26 Response(200): image/png file +; 10/24 17:41:26 Response(200): application/octet-stream file +; 10/24 17:41:26 Response(200): image/x-icon file +; 10/24 17:41:26 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:41:26 Response(200): application/json file +; 10/24 17:41:32 Error: clj-http: status 401 +; 10/24 17:41:44 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:41:44 Response(200): text/html; charset=utf-8 response +; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:41:46 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:41:46 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(404): text/html; charset=utf-8 response +; 10/24 17:41:46 Response(404): text/html; charset=utf-8 response +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:41:46 Request(get): "/get-nicfi-dates" {} +; 10/24 17:41:46 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:41:46 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:41:46 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:41:46 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:41:46 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:41:46 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:41:46 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:41:46 Response(200): font/woff file +; 10/24 17:41:46 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:41:46 Response(200): application/json file +; 10/24 17:41:46 Response(200): application/octet-stream file +; 10/24 17:41:46 Response(200): image/png file +; 10/24 17:41:46 Response(200): image/x-icon file +; 10/24 17:41:46 Response(200): application/json file +; 10/24 17:41:46 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:41:54 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:41:54 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:41:59 Request(get): "/collection" {:projectId "177"} +; 10/24 17:42:03 Response(302): application/octet-stream response +; 10/24 17:42:03 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 17:42:03 Response(200): text/html; charset=utf-8 response +; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:42:03 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:42:03 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:42:03 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response +; 10/24 17:42:03 Response(200): application/octet-stream file +; 10/24 17:42:03 Response(200): application/octet-stream file +; 10/24 17:42:03 Response(200): application/octet-stream file +; 10/24 17:42:03 Request(get): "/get-home-projects" {} +; 10/24 17:42:03 Request(get): "/get-all-institutions" {} +; 10/24 17:42:03 Request(get): "/get-public-imagery" {} +; 10/24 17:42:03 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:42:03 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:42:03 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:42:03 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:42:03 Response(200): [] +; 10/24 17:42:03 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:42:03 Response(200): font/woff file +; 10/24 17:42:03 Response(200): image/png file +; 10/24 17:42:03 Response(200): application/json file +; 10/24 17:42:03 Response(200): application/octet-stream file +; 10/24 17:42:06 Response(200): application/json file +; 10/24 17:43:01 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:43:01 Response(200): text/html; charset=utf-8 response +; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:43:01 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Request(get): "/get-nicfi-dates" {} +; 10/24 17:43:01 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:43:01 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:43:01 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:43:01 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:43:01 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:43:01 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:43:01 Response(200): font/woff file +; 10/24 17:43:01 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:43:01 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:43:01 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:43:01 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:43:01 Response(200): application/json file +; 10/24 17:43:01 Response(200): image/png file +; 10/24 17:43:01 Response(200): application/octet-stream file +; 10/24 17:43:01 Response(200): application/json file +; 10/24 17:43:04 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:43:04 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:43:08 Request(get): "/collection" {:projectId "177"} +; 10/24 17:43:11 Response(302): application/octet-stream response +; 10/24 17:43:11 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 17:43:11 Response(200): text/html; charset=utf-8 response +; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:11 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:43:11 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:43:11 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response +; 10/24 17:43:11 Response(200): application/octet-stream file +; 10/24 17:43:11 Response(200): application/octet-stream file +; 10/24 17:43:11 Response(200): application/octet-stream file +; 10/24 17:43:11 Request(get): "/get-all-institutions" {} +; 10/24 17:43:11 Request(get): "/get-public-imagery" {} +; 10/24 17:43:11 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:43:11 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:43:11 Request(get): "/get-home-projects" {} +; 10/24 17:43:11 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:43:12 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:43:12 Response(200): font/woff file +; 10/24 17:43:12 Response(200): application/octet-stream file +; 10/24 17:43:12 Response(200): [] +; 10/24 17:43:12 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:43:12 Response(200): application/json file +; 10/24 17:43:12 Response(200): image/png file +; 10/24 17:44:45 Response(200): application/json file +; 10/24 17:44:45 Request(get): "/review-institution" {:institutionId "5"} +; 10/24 17:44:46 Response(200): text/html; charset=utf-8 response +; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:46 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:46 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Request(get): "/get-nicfi-dates" {} +; 10/24 17:44:46 Request(get): "/get-institution-by-id" {:institutionId "5"} +; 10/24 17:44:46 Request(get): "/get-institution-imagery" {:institutionId "5"} +; 10/24 17:44:46 SQL Call: SELECT * FROM select_institution_by_id(5,5) +; 10/24 17:44:46 SQL Call: SELECT * FROM select_imagery_by_institution(5,5) +; 10/24 17:44:46 Request(get): "/get-institution-users" {:institutionId "5"} +; 10/24 17:44:46 Request(get): "/get-institution-projects" {:institutionId "5"} +; 10/24 17:44:46 SQL Call: SELECT * FROM select_institution_projects(5,5) +; 10/24 17:44:46 Response(200): {name Test Institution, imageName , ...} +; 10/24 17:44:46 Response(200): font/woff file +; 10/24 17:44:46 Response(200): application/json file +; 10/24 17:44:46 Response(200): [] +; 10/24 17:44:46 Response(200): application/octet-stream file +; 10/24 17:44:46 Response(200): image/png file +; 10/24 17:44:46 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:44:46 Response(200): application/json file +; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Response(200): application/octet-stream file +; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:49 Request(get): "/review-institution" {:institutionId "6"} +; 10/24 17:44:49 Response(200): text/html; charset=utf-8 response +; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:50 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 Request(get): "/get-nicfi-dates" {} +; 10/24 17:44:50 Request(get): "/get-institution-by-id" {:institutionId "6"} +; 10/24 17:44:50 Request(get): "/get-institution-imagery" {:institutionId "6"} +; 10/24 17:44:50 SQL Call: SELECT * FROM select_institution_by_id(6,5) +; 10/24 17:44:50 SQL Call: SELECT * FROM select_imagery_by_institution(6,5) +; 10/24 17:44:50 Response(200): {name Test 2, imageName , ...} +; 10/24 17:44:50 Response(200): font/woff file +; 10/24 17:44:50 Request(get): "/get-institution-users" {:institutionId "6"} +; 10/24 17:44:50 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:44:50 Request(get): "/get-institution-projects" {:institutionId "6"} +; 10/24 17:44:50 Response(200): application/octet-stream file +; 10/24 17:44:50 SQL Call: SELECT * FROM select_institution_projects(5,6) +; 10/24 17:44:50 Response(200): application/json file +; 10/24 17:44:50 Response(200): image/png file +; 10/24 17:44:50 Response(200): [{id 183, name test, ...} {id 182, name test, ...}] +; 10/24 17:44:50 Response(200): application/json file +; 10/24 17:44:51 Request(get): "/collection" {:projectId "183"} +; 10/24 17:44:52 Request(get): "/collection" {:projectId "183"} +; 10/24 17:44:57 Response(302): application/octet-stream response +; 10/24 17:44:57 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=183"} +; 10/24 17:44:57 Response(200): text/html; charset=utf-8 response +; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:44:57 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:44:57 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:57 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response +; 10/24 17:44:57 Response(200): application/octet-stream file +; 10/24 17:44:57 Response(200): application/octet-stream file +; 10/24 17:44:57 Response(200): font/woff file +; 10/24 17:44:57 Response(200): application/octet-stream file +; 10/24 17:44:57 Request(get): "/get-public-imagery" {} +; 10/24 17:44:57 Request(get): "/get-all-institutions" {} +; 10/24 17:44:57 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:44:57 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:44:57 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:44:57 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:44:57 Request(get): "/get-home-projects" {} +; 10/24 17:44:57 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:44:57 Response(200): application/json file +; 10/24 17:44:57 Response(200): image/png file +; 10/24 17:44:57 Response(200): application/octet-stream file +; 10/24 17:44:57 Response(200): [] +; 10/24 17:44:57 Response(200): application/json file +; 10/24 17:45:08 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:45:08 Response(200): text/html; charset=utf-8 response +; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:45:09 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:45:09 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:09 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:45:09 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:45:09 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:45:09 Response(200): font/woff file +; 10/24 17:45:09 Request(get): "/get-nicfi-dates" {} +; 10/24 17:45:09 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:45:09 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:45:09 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:45:09 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:45:09 Response(200): application/octet-stream file +; 10/24 17:45:14 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:45:14 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:45:14 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:45:14 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:45:14 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:45:14 Response(200): application/json file +; 10/24 17:45:14 Response(200): image/png file +; 10/24 17:45:14 Response(200): application/json file +; 10/24 17:45:35 Request(get): "/collection" {:projectId "177"} +; 10/24 17:46:13 Response(302): application/octet-stream response +; 10/24 17:46:13 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} +; 10/24 17:46:13 Response(200): text/html; charset=utf-8 response +; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:13 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:13 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:13 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:46:13 Response(200): application/octet-stream file +; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:13 Response(200): application/octet-stream file +; 10/24 17:46:13 Response(200): application/octet-stream file +; 10/24 17:46:13 Request(get): "/get-all-institutions" {} +; 10/24 17:46:13 Request(get): "/get-public-imagery" {} +; 10/24 17:46:13 Request(get): "/get-home-projects" {} +; 10/24 17:46:13 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:46:13 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:46:13 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:46:13 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] +; 10/24 17:46:13 Response(200): [] +; 10/24 17:46:13 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:46:13 Response(200): font/woff file +; 10/24 17:46:13 Response(200): application/json file +; 10/24 17:46:13 Response(200): application/octet-stream file +; 10/24 17:46:13 Response(200): image/png file +; 10/24 17:46:15 Response(200): application/json file +; 10/24 17:46:16 Request(get): "/review-institution" {:institutionId "1"} +; 10/24 17:46:16 Response(200): text/html; charset=utf-8 response +; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:46:16 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Request(get): "/get-institution-by-id" {:institutionId "1"} +; 10/24 17:46:16 Request(get): "/get-nicfi-dates" {} +; 10/24 17:46:16 Request(get): "/get-institution-imagery" {:institutionId "1"} +; 10/24 17:46:16 Request(get): "/get-institution-users" {:institutionId "1"} +; 10/24 17:46:16 SQL Call: SELECT * FROM select_institution_by_id(1,5) +; 10/24 17:46:16 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) +; 10/24 17:46:16 Response(200): {name DEV Institution 11, imageName , ...} +; 10/24 17:46:16 Response(200): font/woff file +; 10/24 17:46:16 Request(get): "/get-institution-projects" {:institutionId "1"} +; 10/24 17:46:16 SQL Call: SELECT * FROM select_institution_projects(5,1) +; 10/24 17:46:16 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:46:16 Response(200): application/json file +; 10/24 17:46:16 Response(200): application/octet-stream file +; 10/24 17:46:16 Response(200): image/png file +; 10/24 17:46:16 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] +; 10/24 17:46:16 Response(200): application/json file +; 10/24 17:52:20 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) +; 10/24 17:52:20 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] +; 10/24 17:52:32 Request(get): "/collection" {:projectId "177"} +; 10/24 17:58:02 Request(post): "/archive-institution" {:institutionId "1"} +; 10/24 17:58:06 SQL Call: SELECT * FROM archive_institution(1) +; 10/24 17:58:06 Response(200): +; 10/24 17:58:09 Request(get): "/home" {} +; 10/24 17:58:09 Response(200): text/html; charset=utf-8 response +; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:09 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:09 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:09 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:09 Response(200): application/octet-stream file +; 10/24 17:58:09 Response(200): application/octet-stream file +; 10/24 17:58:09 Response(200): application/octet-stream file +; 10/24 17:58:09 Request(get): "/get-public-imagery" {} +; 10/24 17:58:09 Request(get): "/get-home-projects" {} +; 10/24 17:58:09 Request(get): "/get-all-institutions" {} +; 10/24 17:58:09 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:58:09 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:58:09 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:58:09 Response(200): [] +; 10/24 17:58:09 Response(200): font/woff file +; 10/24 17:58:09 Response(200): application/json file +; 10/24 17:58:09 Response(200): [{id 3, name test, ...} {id 5, name Test Institution, ...} ...] +; 10/24 17:58:09 Response(200): image/png file +; 10/24 17:58:09 Response(200): application/octet-stream file +; 10/24 17:58:09 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:58:10 Response(200): application/json file +; 10/24 17:58:15 Request(get): "/review-institution" {:institutionId "5"} +; 10/24 17:58:15 Response(200): text/html; charset=utf-8 response +; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:15 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Request(get): "/get-institution-by-id" {:institutionId "5"} +; 10/24 17:58:15 Request(get): "/get-nicfi-dates" {} +; 10/24 17:58:15 Request(get): "/get-institution-users" {:institutionId "5"} +; 10/24 17:58:15 Request(get): "/get-institution-imagery" {:institutionId "5"} +; 10/24 17:58:15 SQL Call: SELECT * FROM select_institution_by_id(5,5) +; 10/24 17:58:15 SQL Call: SELECT * FROM select_imagery_by_institution(5,5) +; 10/24 17:58:15 Response(200): {name Test Institution, imageName , ...} +; 10/24 17:58:15 Response(200): font/woff file +; 10/24 17:58:15 Request(get): "/get-institution-projects" {:institutionId "5"} +; 10/24 17:58:15 SQL Call: SELECT * FROM select_institution_projects(5,5) +; 10/24 17:58:15 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:58:15 Response(200): application/octet-stream file +; 10/24 17:58:15 Response(200): application/json file +; 10/24 17:58:15 Response(200): [] +; 10/24 17:58:15 Response(200): image/png file +; 10/24 17:58:15 Response(200): application/json file +; 10/24 17:58:20 Request(post): "/archive-institution" {:institutionId "5"} +; 10/24 17:58:23 SQL Call: SELECT * FROM archive_institution(5) +; 10/24 17:58:23 Response(200): +; 10/24 17:58:24 Request(get): "/home" {} +; 10/24 17:58:24 Response(200): text/html; charset=utf-8 response +; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:24 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:24 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:24 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:24 Response(200): application/octet-stream file +; 10/24 17:58:24 Response(200): application/octet-stream file +; 10/24 17:58:24 Response(200): application/octet-stream file +; 10/24 17:58:24 Request(get): "/get-public-imagery" {} +; 10/24 17:58:24 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:58:24 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:58:24 Response(200): font/woff file +; 10/24 17:58:24 Response(200): application/octet-stream file +; 10/24 17:58:24 Request(get): "/get-all-institutions" {} +; 10/24 17:58:24 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:58:24 Response(200): [{id 3, name test, ...} {id 6, name Test 2, ...}] +; 10/24 17:58:24 Request(get): "/get-home-projects" {} +; 10/24 17:58:24 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:58:24 Response(200): application/json file +; 10/24 17:58:24 Response(200): [] +; 10/24 17:58:24 Response(200): image/png file +; 10/24 17:58:24 Response(200): application/json file +; 10/24 17:58:27 Request(get): "/review-institution" {:institutionId "6"} +; 10/24 17:58:27 Response(200): text/html; charset=utf-8 response +; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:27 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:27 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Request(get): "/get-institution-by-id" {:institutionId "6"} +; 10/24 17:58:27 Request(get): "/get-nicfi-dates" {} +; 10/24 17:58:27 SQL Call: SELECT * FROM select_institution_by_id(6,5) +; 10/24 17:58:27 Response(200): {name Test 2, imageName , ...} +; 10/24 17:58:27 Response(200): font/woff file +; 10/24 17:58:27 Request(get): "/get-institution-imagery" {:institutionId "6"} +; 10/24 17:58:27 SQL Call: SELECT * FROM select_imagery_by_institution(6,5) +; 10/24 17:58:27 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:58:27 Response(200): application/octet-stream file +; 10/24 17:58:27 Request(get): "/get-institution-users" {:institutionId "6"} +; 10/24 17:58:27 Request(get): "/get-institution-projects" {:institutionId "6"} +; 10/24 17:58:27 SQL Call: SELECT * FROM select_institution_projects(5,6) +; 10/24 17:58:27 Response(200): [{id 183, name test, ...} {id 182, name test, ...}] +; 10/24 17:58:27 Response(200): application/json file +; 10/24 17:58:27 Response(200): image/png file +; 10/24 17:58:27 Response(200): application/json file +; 10/24 17:58:31 SQL Call: SELECT * FROM get_all_users_by_institution_id(6) +; 10/24 17:58:31 Response(200): [{id 5, email jonn.vega@gmail.com, ...}] +; 10/24 17:58:35 Request(post): "/archive-institution" {:institutionId "6"} +; 10/24 17:58:50 SQL Call: SELECT * FROM archive_institution(6) +; 10/24 17:58:50 Response(200): +; 10/24 17:58:51 Request(get): "/home" {} +; 10/24 17:58:51 Response(200): text/html; charset=utf-8 response +; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:58:52 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:52 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:52 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response +; 10/24 17:58:52 Response(200): application/octet-stream file +; 10/24 17:58:52 Response(200): application/octet-stream file +; 10/24 17:58:52 Request(get): "/get-public-imagery" {} +; 10/24 17:58:52 SQL Call: SELECT * FROM select_public_imagery() +; 10/24 17:58:52 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:58:52 Response(200): font/woff file +; 10/24 17:58:52 Request(get): "/get-all-institutions" {} +; 10/24 17:58:52 Response(200): application/octet-stream file +; 10/24 17:58:52 SQL Call: SELECT * FROM select_all_institutions(5) +; 10/24 17:58:52 Response(200): [{id 3, name test, ...}] +; 10/24 17:58:52 Request(get): "/get-home-projects" {} +; 10/24 17:58:52 SQL Call: SELECT * FROM select_user_home_projects(5) +; 10/24 17:58:52 Response(200): [] +; 10/24 17:58:52 Response(200): application/json file +; 10/24 17:58:52 Response(200): image/png file +; 10/24 17:58:52 Response(200): application/octet-stream file +; 10/24 17:58:53 Response(200): application/json file +; 10/24 17:58:54 Request(get): "/create-institution" {} +; 10/24 17:59:02 Response(200): text/html; charset=utf-8 response +; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:02 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:59:02 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:02 Response(200): application/octet-stream file +; 10/24 17:59:02 Response(200): application/octet-stream file +; 10/24 17:59:02 Response(200): application/octet-stream file +; 10/24 17:59:02 Response(200): application/octet-stream file +; 10/24 17:59:02 Response(200): application/json file +; 10/24 17:59:02 Response(200): image/png file +; 10/24 17:59:02 Response(200): application/octet-stream file +; 10/24 17:59:18 Request(get): "/terms-of-service" {} +; 10/24 17:59:18 Response(200): text/html; charset=utf-8 response +; 10/24 17:59:18 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:18 Response(200): application/json file +; 10/24 17:59:25 Request(post): "/create-institution" {:name "New Institution", :imageName "", :url "", :description "New Institution"} +; 10/24 17:59:27 SQL Call: SELECT * FROM institution_name_taken("New Institution",-1) +; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution("New Institution","","","New Institution") +; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution_user(7,1,1) +; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution_user(7,5,1) +; 10/24 17:59:27 Response(200): 7 +; 10/24 17:59:27 Request(get): "/review-institution" {:institutionId "7"} +; 10/24 17:59:28 Response(200): text/html; charset=utf-8 response +; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:59:28 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 Request(get): "/get-institution-by-id" {:institutionId "7"} +; 10/24 17:59:28 Request(get): "/get-nicfi-dates" {} +; 10/24 17:59:28 Request(get): "/get-institution-imagery" {:institutionId "7"} +; 10/24 17:59:28 SQL Call: SELECT * FROM select_institution_by_id(7,5) +; 10/24 17:59:28 SQL Call: SELECT * FROM select_imagery_by_institution(7,5) +; 10/24 17:59:28 Request(get): "/get-institution-users" {:institutionId "7"} +; 10/24 17:59:28 Response(200): {name New Institution, imageName , ...} +; 10/24 17:59:28 Response(200): font/woff file +; 10/24 17:59:28 Request(get): "/get-institution-projects" {:institutionId "7"} +; 10/24 17:59:28 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:59:28 Response(200): application/json file +; 10/24 17:59:28 Response(200): application/octet-stream file +; 10/24 17:59:28 SQL Call: SELECT * FROM select_institution_projects(5,7) +; 10/24 17:59:28 Response(200): image/png file +; 10/24 17:59:28 Response(200): application/json file +; 10/24 17:59:28 Response(200): [] +; 10/24 17:59:31 Request(get): "/create-project" {:institutionId "7"} +; 10/24 17:59:32 Request(get): "/create-project" {:institutionId "7"} +; 10/24 17:59:35 Response(200): text/html; charset=utf-8 response +; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file +; 10/24 17:59:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:35 Request(get): "/js/bootstrap.min.js.map" {} +; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:35 Request(get): "/css/bootstrap.min.css.map" {} +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): font/woff file +; 10/24 17:59:35 Request(get): "/get-template-projects" {} +; 10/24 17:59:35 Request(get): "/get-institution-users" {:institutionId "7"} +; 10/24 17:59:35 SQL Call: SELECT * FROM select_template_projects(5) +; 10/24 17:59:35 Request(get): "/doi" {:projectId "-1"} +; 10/24 17:59:35 SQL Call: SELECT * FROM select_doi_by_project(-1) +; 10/24 17:59:35 Response(200): [] +; 10/24 17:59:35 Request(get): "/get-institution-imagery" {:institutionId "7"} +; 10/24 17:59:35 SQL Call: SELECT * FROM select_imagery_by_institution(7,5) +; 10/24 17:59:35 Response(200): application/octet-stream file +; 10/24 17:59:35 Response(200): {doiPath nil} +; 10/24 17:59:35 Response(200): application/json file +; 10/24 17:59:35 Response(200): image/png file +; 10/24 17:59:36 Response(200): application/json file +; 10/24 17:59:36 Response(200): [{id 1, institution 1, ...}] +; 10/24 17:59:37 SQL Call: SELECT * FROM get_all_users_by_institution_id(7) +; 10/24 17:59:37 Response(200): [{id 5, email jonn.vega@gmail.com, ...}] +; nREPL Connection was closed +; Connecting using "deps.edn" project type. +; You can make Calva auto-select this. +; - See https://calva.io/connect-sequences/ +; + +; Connecting ... +; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... +; No nrepl port file found. +; Hooking up nREPL sessions ... +; Connected session: clj +; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' +; nREPL Connection was closed diff --git a/src/js/survey/SurveyCollection.jsx b/src/js/survey/SurveyCollection.jsx index 7c71548ee..069b41c6a 100644 --- a/src/js/survey/SurveyCollection.jsx +++ b/src/js/survey/SurveyCollection.jsx @@ -101,14 +101,14 @@ export default class SurveyCollection extends React.Component { getTopColor = (nodeId) => { if (this.checkAllSubAnswers(nodeId)) { - return "0px 0px 6px 4px #3bb9d6 inset"; + return "btn-outline-info"; } else { const { surveyQuestions } = this.props; const { answered } = surveyQuestions[nodeId]; if (answered.length) { - return "0px 0px 6px 4px yellow inset"; + return "btn-outline-warning"; } else { - return "0px 0px 6px 4px red inset"; + return "btn-outline-danger"; } } }; @@ -440,6 +440,88 @@ export default class SurveyCollection extends React.Component { } }; + getBoxShadowColor = (nodeId) => { + if (this.checkAllSubAnswers(nodeId)) { + return "rgba(23, 162, 184, 0.5)"; // Info color + } else { + const { surveyQuestions } = this.props; + const { answered } = surveyQuestions[nodeId]; + if (answered.length) { + return "rgba(255, 193, 7, 0.5)"; // Warning color + } else { + return "rgba(220, 53, 69, 0.5)"; // Danger color + } + } + }; + + renderControls = () => { + const getBoxShadowColor = (nodeId) => { + if (this.checkAllSubAnswers(nodeId)) { + return "rgba(23, 162, 184, 0.5)"; // Info color + } else { + const { surveyQuestions } = this.props; + const { answered } = surveyQuestions[nodeId]; + if (answered.length) { + return "rgba(255, 193, 7, 0.5)"; // Warning color + } else { + return "rgba(220, 53, 69, 0.5)"; // Danger color + } + } + }; + + return ( +
+ + {this.state.topLevelNodeIds.map((nodeId, i) => ( + + ))} + +
+ ); + } + renderQuestions = () => (
{this.unansweredColor()} @@ -459,53 +541,7 @@ export default class SurveyCollection extends React.Component { ) : ( <> -
- - {this.state.topLevelNodeIds.map((nodeId, i) => ( - - ))} - -
+ {this.renderControls()} {this.state.topLevelNodeIds.length > 0 && ( )} + {this.renderControls()} )}
From b0d8d3e017571a40c86adb6dda47add0c91784b2 Mon Sep 17 00:00:00 2001 From: jonnvega Date: Sat, 26 Oct 2024 19:52:08 +0200 Subject: [PATCH 02/11] Delete output.calva-repl --- .calva/output-window/output.calva-repl | 1884 ------------------------ 1 file changed, 1884 deletions(-) delete mode 100644 .calva/output-window/output.calva-repl diff --git a/.calva/output-window/output.calva-repl b/.calva/output-window/output.calva-repl deleted file mode 100644 index 6cedfe8b5..000000000 --- a/.calva/output-window/output.calva-repl +++ /dev/null @@ -1,1884 +0,0 @@ -; This is the Calva REPL Window. -; It's just a file, really, with some special treatment from Calva. -; Use it as a REPL input prompt if you like. (When the REPL is connected.) -; TIPS: The keyboard shortcut `ctrl+alt+o r` shows and focuses this window -; Please see https://calva.io/repl-window/ for more info. -; Happy coding! ♥️ - -; TIPS: As with any Clojure file when the REPL is connected: -; - `alt+enter` evaluates the current top level form. -; - `ctrl+enter` evaluates the current form. -; Special for this file: -; - `alt+up` and `alt+down` traverse up and down the REPL command history -; when the cursor is after the last contents at the prompt -; -; See also the Calva Inspector: https://calva.io/inspector/ - -PLEASE NOTE -We will update the default location of this file. -The new default location will be - "/.calva/repl.calva-repl" -For now the legacy path is used by default. -To give yourself a smooth transition, you can opt in -to the change, by configuring this setting as false: - "calva.useLegacyReplWindowPath" -and then add "**/.calva/repl.calva-repl" to your ".gitignore" file. - - -This file is configured as the output destination for all REPL output. -You can configure this with the setting: - "calva.outputDestinations" - - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -nil -clj꞉user꞉>  -"Please see https://calva.io/output/#about-stdout-in-the-repl-window -about why stdout printed to this file is prepended with `;` to be line comments." -clj꞉user꞉>  -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; 10/23 16:14:10 Request(get): "/review-institution" {:institutionId "1"} -; 10/23 16:14:10 Response(200): text/html; charset=utf-8 response -; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:10 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:10 Request(get): "/js/bootstrap.min.js.map" {} -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:10 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/23 16:14:10 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/23 16:14:10 Request(get): "/get-nicfi-dates" {} -; 10/23 16:14:10 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/23 16:14:10 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/23 16:14:10 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/23 16:14:10 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/23 16:14:10 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/23 16:14:10 Response(200): {name DEV Institution 11, imageName , ...} -; 10/23 16:14:10 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/23 16:14:10 Response(200): font/woff file -; 10/23 16:14:10 Response(200): application/json file -; 10/23 16:14:10 Response(200): image/png file -; 10/23 16:14:10 Response(200): application/octet-stream file -; 10/23 16:14:10 Response(200): [{id 1, institution 1, ...}] -; 10/23 16:14:10 Response(200): application/json file -; 10/23 16:14:18 Request(get): "/collection" {:projectId "1"} -; 10/23 16:14:20 Response(302): application/octet-stream response -; 10/23 16:14:20 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} -; 10/23 16:14:20 Response(200): text/html; charset=utf-8 response -; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:20 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:20 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:20 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:21 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:21 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:21 Request(get): "/js/bootstrap.min.js.map" {} -; 10/23 16:14:21 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:21 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:21 Response(200): application/octet-stream file -; 10/23 16:14:21 Response(200): application/octet-stream file -; 10/23 16:14:21 Response(200): application/octet-stream file -; 10/23 16:14:21 Request(get): "/get-public-imagery" {} -; 10/23 16:14:21 Request(get): "/get-all-institutions" {} -; 10/23 16:14:21 SQL Call: SELECT * FROM select_public_imagery() -; 10/23 16:14:21 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/23 16:14:21 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/23 16:14:21 Response(200): font/woff file -; 10/23 16:14:21 Request(get): "/get-home-projects" {} -; 10/23 16:14:21 Response(200): [{id 1, institution 1, ...}] -; 10/23 16:14:21 Response(200): application/octet-stream file -; 10/23 16:14:21 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/23 16:14:21 Response(200): application/json file -; 10/23 16:14:21 Response(200): image/png file -; 10/23 16:14:21 Response(200): [] -; 10/23 16:14:21 Response(200): application/json file -; 10/23 16:14:24 Request(get): "/review-institution" {:institutionId "1"} -; 10/23 16:14:24 Response(200): text/html; charset=utf-8 response -; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/css; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:24 Response(200): text/javascript; charset=utf-8 file -; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:24 Request(get): "/js/bootstrap.min.js.map" {} -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:24 Response(404): text/html; charset=utf-8 response -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Response(200): application/octet-stream file -; 10/23 16:14:24 Request(get): "/get-nicfi-dates" {} -; 10/23 16:14:24 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/23 16:14:24 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/23 16:14:24 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/23 16:14:24 Response(200): {name DEV Institution 11, imageName , ...} -; 10/23 16:14:24 Response(200): font/woff file -; 10/23 16:14:24 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/23 16:14:24 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/23 16:14:25 Response(200): [{id 1, institution 1, ...}] -; 10/23 16:14:25 Response(200): application/octet-stream file -; 10/23 16:14:25 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/23 16:14:25 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/23 16:14:25 Response(200): application/json file -; 10/23 16:14:25 Response(200): image/png file -; 10/23 16:14:25 Response(200): application/json file -; 10/23 16:14:25 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/23 16:14:27 Error: clj-http: status 401 -; 10/23 16:14:33 Request(get): "/collection" {:projectId "1"} -; 10/23 16:35:06 Removing temp files. -; 10/23 17:05:06 Removing temp files. -; 10/23 17:35:06 Removing temp files. -; 10/23 17:37:56 Request(get): "/css/bootstrap.min.css.map" {} -; 10/23 17:37:56 Response(404): text/html; charset=utf-8 response -; 10/24 12:17:19 Removing temp files. -; 10/24 12:41:38 Request(get): "/collection" {:projectId "1"} -; 10/24 12:41:42 Request(get): "/collection" {:projectId "1"} -; 10/24 12:41:45 Response(302): application/octet-stream response -; 10/24 12:41:45 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} -; 10/24 12:41:45 Response(200): text/html; charset=utf-8 response -; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:45 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:46 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 12:41:46 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 12:41:46 Response(404): text/html; charset=utf-8 response -; 10/24 12:41:46 Response(404): text/html; charset=utf-8 response -; 10/24 12:41:46 Response(200): application/octet-stream file -; 10/24 12:41:46 Response(200): application/octet-stream file -; 10/24 12:41:46 Response(200): application/octet-stream file -; 10/24 12:41:46 Response(200): application/json file -; 10/24 12:41:46 Request(get): "/get-public-imagery" {} -; 10/24 12:41:46 Request(get): "/get-all-institutions" {} -; 10/24 12:41:46 Request(get): "/get-home-projects" {} -; 10/24 12:41:46 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 12:41:46 Response(200): image/png file -; 10/24 12:41:46 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 12:41:46 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 12:41:46 Response(200): font/woff file -; 10/24 12:41:46 Response(200): [{id 1, institution 1, ...}] -; 10/24 12:41:46 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 12:41:46 Response(200): [] -; 10/24 12:41:46 Response(200): application/octet-stream file -; 10/24 12:41:46 Response(200): image/x-icon file -; 10/24 12:41:47 Response(200): application/json file -; 10/24 12:41:48 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 12:41:48 Response(200): text/html; charset=utf-8 response -; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/css; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response -; 10/24 12:41:48 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 12:41:48 Response(200): text/javascript; charset=utf-8 file -; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response -; 10/24 12:41:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(404): text/html; charset=utf-8 response -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Response(200): application/octet-stream file -; 10/24 12:41:48 Request(get): "/get-nicfi-dates" {} -; 10/24 12:41:48 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 12:41:48 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 12:41:48 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 12:41:48 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 12:41:48 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 12:41:48 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 12:41:48 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 12:41:48 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 12:41:48 Response(200): font/woff file -; 10/24 12:41:49 Response(200): application/json file -; 10/24 12:41:49 Response(200): application/octet-stream file -; 10/24 12:41:49 Response(200): image/png file -; 10/24 12:41:49 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 12:41:49 Response(200): [{id 1, institution 1, ...}] -; 10/24 12:41:49 Response(200): application/json file -; 10/24 12:44:58 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 12:44:58 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 12:45:02 Request(get): "/collection" {:projectId "177"} -; 10/24 12:47:19 Removing temp files. -; 10/24 13:17:19 Removing temp files. -; 10/24 13:42:25 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 13:42:25 Response(404): text/html; charset=utf-8 response -; 10/24 13:50:13 Removing temp files. -; 10/24 14:07:51 Request(get): "/collection" {:projectId "177"} -; 10/24 14:13:24 Response(302): application/octet-stream response -; 10/24 14:13:24 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 14:13:24 Response(200): text/html; charset=utf-8 response -; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:24 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 14:13:24 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 14:13:24 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:24 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:24 Response(200): application/octet-stream file -; 10/24 14:13:24 Response(200): application/octet-stream file -; 10/24 14:13:24 Response(200): application/octet-stream file -; 10/24 14:13:24 Request(get): "/get-all-institutions" {} -; 10/24 14:13:24 Request(get): "/get-public-imagery" {} -; 10/24 14:13:24 Response(200): application/json file -; 10/24 14:13:24 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 14:13:24 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 14:13:24 Request(get): "/get-home-projects" {} -; 10/24 14:13:24 Response(200): image/png file -; 10/24 14:13:24 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 14:13:24 Response(200): font/woff file -; 10/24 14:13:24 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 14:13:24 Response(200): [{id 1, institution 1, ...}] -; 10/24 14:13:24 Response(200): [] -; 10/24 14:13:24 Response(200): image/x-icon file -; 10/24 14:13:24 Response(200): application/json file -; 10/24 14:13:24 Response(200): application/octet-stream file -; 10/24 14:13:28 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 14:13:28 Response(200): text/html; charset=utf-8 response -; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:28 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:28 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 14:13:28 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 14:13:28 Request(get): "/get-nicfi-dates" {} -; 10/24 14:13:28 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 14:13:28 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 14:13:28 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 14:13:28 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 14:13:28 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 14:13:28 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 14:13:28 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 14:13:28 Response(200): application/json file -; 10/24 14:13:28 Response(200): font/woff file -; 10/24 14:13:28 Response(200): image/png file -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): [{id 1, institution 1, ...}] -; 10/24 14:13:28 Response(200): application/octet-stream file -; 10/24 14:13:28 Response(200): application/json file -; 10/24 14:13:35 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 14:13:35 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 14:13:36 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 14:13:36 Response(200): text/html; charset=utf-8 response -; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 14:13:37 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 14:13:37 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:37 Response(404): text/html; charset=utf-8 response -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 14:13:37 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 14:13:37 Request(get): "/get-nicfi-dates" {} -; 10/24 14:13:37 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 14:13:37 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 14:13:37 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 14:13:37 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 14:13:37 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 14:13:37 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 14:13:37 Response(200): font/woff file -; 10/24 14:13:37 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 14:13:37 Response(200): application/json file -; 10/24 14:13:37 Response(200): image/png file -; 10/24 14:13:37 Response(200): image/x-icon file -; 10/24 14:13:37 Response(200): application/octet-stream file -; 10/24 14:13:37 Response(200): [{id 1, institution 1, ...}] -; 10/24 14:13:37 Response(200): application/json file -; 10/24 14:20:13 Removing temp files. -; 10/24 14:50:13 Removing temp files. -; 10/24 15:12:04 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} -; 10/24 15:12:05 Response(200): text/html; charset=utf-8 response -; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:05 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:05 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:05 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:12:05 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:05 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:05 Response(200): application/octet-stream file -; 10/24 15:12:05 Response(200): application/octet-stream file -; 10/24 15:12:05 Response(200): application/octet-stream file -; 10/24 15:12:05 Request(get): "/get-home-projects" {} -; 10/24 15:12:05 Request(get): "/get-all-institutions" {} -; 10/24 15:12:05 Response(200): application/json file -; 10/24 15:12:05 Request(get): "/get-public-imagery" {} -; 10/24 15:12:05 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 15:12:05 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 15:12:05 Response(200): font/woff file -; 10/24 15:12:05 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 15:12:05 Response(200): image/png file -; 10/24 15:12:05 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 15:12:05 Response(200): [] -; 10/24 15:12:05 Response(200): [{id 1, institution 1, ...}] -; 10/24 15:12:05 Response(200): application/octet-stream file -; 10/24 15:12:06 Response(200): application/json file -; 10/24 15:12:19 Error: clj-http: status 401 -; 10/24 15:12:21 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 15:12:21 Response(200): text/html; charset=utf-8 response -; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/css; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:12:21 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:12:21 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:21 Response(200): application/octet-stream file -; 10/24 15:12:21 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:12:21 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:21 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 15:12:22 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 15:12:22 Request(get): "/get-nicfi-dates" {} -; 10/24 15:12:22 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 15:12:22 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 15:12:22 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 15:12:22 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 15:12:22 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 15:12:22 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 15:12:22 Response(200): font/woff file -; 10/24 15:12:22 Response(200): application/json file -; 10/24 15:12:22 Response(200): image/png file -; 10/24 15:12:22 Response(200): application/octet-stream file -; 10/24 15:12:22 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 15:12:22 Response(200): application/json file -; 10/24 15:12:22 Response(200): [{id 1, institution 1, ...}] -; 10/24 15:12:54 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 15:12:54 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Response(200): application/octet-stream file -; 10/24 15:13:22 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:22 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:22 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:24 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} -; 10/24 15:13:25 Response(200): text/html; charset=utf-8 response -; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:25 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:25 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:13:25 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:25 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:25 Response(200): application/octet-stream file -; 10/24 15:13:25 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:25 Response(200): application/octet-stream file -; 10/24 15:13:25 Response(200): application/octet-stream file -; 10/24 15:13:25 Request(get): "/get-public-imagery" {} -; 10/24 15:13:25 Request(get): "/get-all-institutions" {} -; 10/24 15:13:25 Request(get): "/get-home-projects" {} -; 10/24 15:13:25 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 15:13:25 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 15:13:25 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 15:13:25 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 15:13:25 Response(200): font/woff file -; 10/24 15:13:25 Response(200): [] -; 10/24 15:13:25 Response(200): [{id 1, institution 1, ...}] -; 10/24 15:13:25 Response(200): application/json file -; 10/24 15:13:25 Response(200): image/png file -; 10/24 15:13:25 Response(200): image/x-icon file -; 10/24 15:13:25 Response(200): application/octet-stream file -; 10/24 15:13:27 Response(200): application/json file -; 10/24 15:13:37 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=1"} -; 10/24 15:13:37 Response(200): text/html; charset=utf-8 response -; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/css; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:37 Response(200): text/javascript; charset=utf-8 file -; 10/24 15:13:37 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 15:13:37 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 15:13:37 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:37 Response(404): text/html; charset=utf-8 response -; 10/24 15:13:37 Response(200): application/octet-stream file -; 10/24 15:13:37 Response(200): application/octet-stream file -; 10/24 15:13:37 Response(200): application/octet-stream file -; 10/24 15:13:37 Request(get): "/get-all-institutions" {} -; 10/24 15:13:37 Request(get): "/get-public-imagery" {} -; 10/24 15:13:37 Request(get): "/get-home-projects" {} -; 10/24 15:13:37 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 15:13:37 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 15:13:37 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 15:13:37 Response(200): [{id 1, institution 1, ...}] -; 10/24 15:13:37 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 15:13:37 Response(200): [] -; 10/24 15:13:37 Response(200): font/woff file -; 10/24 15:13:37 Response(200): image/png file -; 10/24 15:13:37 Response(200): application/json file -; 10/24 15:13:37 Response(200): application/octet-stream file -; 10/24 15:13:37 Response(200): image/x-icon file -; 10/24 15:13:39 Response(200): application/json file -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; TypeError: Cannot read properties of undefined (reading 'label') -; Aborting connect. -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -nil -clj꞉user꞉>  -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; 10/24 15:54:23 Removing temp files. -; 10/24 16:09:10 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 16:09:10 Response(200): text/html; charset=utf-8 response -; 10/24 16:09:11 Request(get): "/get-nicfi-dates" {} -; 10/24 16:09:11 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 16:09:11 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 16:09:11 Response(200): application/json file -; 10/24 16:09:11 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 16:09:11 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 16:09:11 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 16:09:11 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 16:09:11 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 16:09:11 Response(200): application/json file -; 10/24 16:09:11 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 16:09:11 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 16:09:11 Response(200): [{id 1, institution 1, ...}] -; 10/24 16:09:50 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 16:09:50 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 16:10:05 Request(get): "/collection" {:projectId "177"} -; 10/24 16:12:02 Error: Cannot invoke "clojure.lang.IFn.invoke(Object, Object)" because "this.print_fn" is null -; 10/24 16:12:06 Request(get): "/collection" {:projectId "177"} -; 10/24 16:23:24 Request(get): "/collection" {:projectId "177"} -; 10/24 16:24:23 Removing temp files. -; Evaluating file: projects.clj -#'collect-earth-online.db.projects/delete-project-draft! -clj꞉collect-earth-online.db.projects꞉>  -; 10/24 16:31:50 Response(302): application/octet-stream response -; 10/24 16:31:50 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 16:31:50 Response(200): text/html; charset=utf-8 response -; 10/24 16:31:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 16:31:50 Request(get): "/get-public-imagery" {} -; 10/24 16:31:50 Request(get): "/get-all-institutions" {} -; 10/24 16:31:50 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 16:31:50 Response(200): application/json file -; 10/24 16:31:50 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 16:31:50 Request(get): "/get-home-projects" {} -; 10/24 16:31:50 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 16:31:50 Response(200): [{id 1, institution 1, ...}] -; 10/24 16:31:50 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 16:31:50 Response(200): application/json file -; 10/24 16:31:50 Response(200): [] -; Evaluating file: handlers.clj -#'collect-earth-online.handlers/redirect-handler -clj꞉collect-earth-online.handlers꞉>  -; Evaluating file: projects.clj -; -; ; clj collect-earth-online.db.projects -; Execution error (ArityException) at collect-earth-online.db.projects/eval39157 (projects.clj:28). -; Wrong number of args (0) passed to: collect-earth-online.db.projects/check-auth-common -; Evaluation of file projects.clj failed: class clojure.lang.Compiler$CompilerException -clj꞉collect-earth-online.db.projects꞉>  -; Evaluating file: projects.clj -#'collect-earth-online.db.projects/delete-project-draft! -clj꞉collect-earth-online.db.projects꞉>  -; Evaluating file: handlers.clj -#'collect-earth-online.handlers/redirect-handler -clj꞉collect-earth-online.handlers꞉>  -; 10/24 16:34:11 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 16:34:11 Response(200): text/html; charset=utf-8 response -; 10/24 16:34:11 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 16:34:11 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 16:34:11 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 16:34:11 Request(get): "/get-nicfi-dates" {} -; 10/24 16:34:11 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 16:34:11 Response(200): application/json file -; 10/24 16:34:11 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 16:34:11 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 16:34:11 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 16:34:11 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 16:34:11 Response(200): application/json file -; 10/24 16:34:11 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 16:34:11 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 16:34:11 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 16:34:11 Response(200): [{id 1, institution 1, ...}] -; 10/24 16:34:11 Error: clj-http: status 401 -; 10/24 16:34:13 Request(get): "/collection" {:projectId "177"} -; 10/24 16:34:13 Response(302): application/octet-stream response -; 10/24 16:34:13 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 16:34:13 Response(200): text/html; charset=utf-8 response -; 10/24 16:34:13 Response(200): application/json file -; 10/24 16:34:13 Request(get): "/get-public-imagery" {} -; 10/24 16:34:13 Request(get): "/get-home-projects" {} -; 10/24 16:34:13 Request(get): "/get-all-institutions" {} -; 10/24 16:34:13 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 16:34:13 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 16:34:13 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 16:34:13 Response(200): application/json file -; 10/24 16:34:13 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 16:34:13 Response(200): [{id 1, institution 1, ...}] -; 10/24 16:34:13 Response(200): [] -#function[collect-earth-online.db.projects/can-collect?] -clj꞉collect-earth-online.handlers꞉>  -; Syntax error compiling at (src/clj/collect_earth_online/handlers.clj:0:0). -; Unable to resolve symbol: institution-id in this context -clj꞉collect-earth-online.handlers꞉>  -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; 10/24 16:34:54 Request(get): "/collection" {:projectId "177"} -; 10/24 16:34:54 Response(302): application/octet-stream response -; 10/24 16:34:54 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 16:34:54 Response(200): text/html; charset=utf-8 response -; 10/24 16:34:54 Request(get): "/get-public-imagery" {} -; 10/24 16:34:54 Request(get): "/get-home-projects" {} -; 10/24 16:34:54 Request(get): "/get-all-institutions" {} -; 10/24 16:34:54 Response(200): application/json file -; 10/24 16:34:54 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 16:34:54 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 16:34:54 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 16:34:54 Response(200): application/json file -; 10/24 16:34:55 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 16:34:55 Response(200): [{id 1, institution 1, ...}] -; 10/24 16:34:55 Response(200): [] -; 10/24 16:54:23 Removing temp files. -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -nil -clj꞉user꞉>  -#'collect-earth-online.db.projects/get-home-projects -clj꞉collect-earth-online.db.projects꞉>  -; 10/24 17:15:51 Request(get): "/home" {} -; 10/24 17:15:51 Response(200): text/html; charset=utf-8 response -; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/css; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:15:51 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:15:51 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:15:51 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:15:51 Response(404): text/html; charset=utf-8 response -; 10/24 17:15:51 Response(404): text/html; charset=utf-8 response -; 10/24 17:15:51 Response(200): application/octet-stream file -; 10/24 17:15:51 Response(200): application/octet-stream file -; 10/24 17:15:51 Response(200): application/octet-stream file -; 10/24 17:15:51 Request(get): "/get-all-institutions" {} -; 10/24 17:15:51 Request(get): "/get-public-imagery" {} -; 10/24 17:15:51 Response(200): application/json file -; 10/24 17:15:51 Request(get): "/get-home-projects" {} -; 10/24 17:15:51 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:15:51 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:15:51 Response(200): image/png file -; 10/24 17:15:51 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:15:51 Response(200): application/json file -; 10/24 17:15:51 Response(200): image/x-icon file -; 10/24 17:15:51 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:15:51 Response(200): application/octet-stream file -; 10/24 17:15:51 Response(200): font/woff file -; 10/24 17:18:36 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:18:36 Response(200): [] -; 10/24 17:18:40 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:18:40 Response(200): text/html; charset=utf-8 response -; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/css; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:18:40 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:18:40 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(404): text/html; charset=utf-8 response -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:18:40 Request(get): "/get-nicfi-dates" {} -; 10/24 17:18:40 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:18:40 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:18:40 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:18:40 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:18:40 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:18:40 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:18:40 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:18:40 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:18:40 Response(200): font/woff file -; 10/24 17:18:40 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:18:40 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:18:40 Response(200): application/json file -; 10/24 17:18:40 Response(200): image/png file -; 10/24 17:18:40 Response(200): application/octet-stream file -; 10/24 17:18:40 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:18:40 Response(200): application/json file -; 10/24 17:18:40 Error: clj-http: status 401 -clj꞉collect-earth-online.db.projects꞉>  -; 10/24 17:19:35 Request(get): "/collection" {:projectId "177"} -; 10/24 17:19:35 Response(302): application/octet-stream response -; 10/24 17:19:35 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 17:19:35 Response(200): text/html; charset=utf-8 response -; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:19:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:19:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:19:35 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:19:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:19:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:19:35 Response(200): application/octet-stream file -; 10/24 17:19:35 Response(200): application/octet-stream file -; 10/24 17:19:35 Response(200): application/octet-stream file -; 10/24 17:19:35 Request(get): "/get-public-imagery" {} -; 10/24 17:19:35 Request(get): "/get-all-institutions" {} -; 10/24 17:19:35 Request(get): "/get-home-projects" {} -; 10/24 17:19:35 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:19:35 Response(200): application/json file -; 10/24 17:19:35 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:19:35 Response(200): image/png file -; 10/24 17:19:35 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:19:35 Response(200): application/json file -; 10/24 17:19:35 Response(200): application/octet-stream file -; 10/24 17:19:35 Response(200): font/woff file -; 10/24 17:19:35 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:19:38 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:19:38 Response(200): [] -clj꞉collect-earth-online.db.projects꞉>  -; 10/24 17:20:00 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:20:00 Response(200): text/html; charset=utf-8 response -; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:00 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:00 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:20:00 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:00 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:20:00 Request(get): "/get-nicfi-dates" {} -; 10/24 17:20:00 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:20:00 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:20:00 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:20:00 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:20:00 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:20:00 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:20:00 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:20:00 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:20:00 Response(200): application/json file -; 10/24 17:20:00 Response(200): image/png file -; 10/24 17:20:00 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:20:00 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:20:00 Response(200): application/octet-stream file -; 10/24 17:20:00 Response(200): font/woff file -; 10/24 17:20:00 Response(200): application/json file -; 10/24 17:20:00 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:20:01 Error: clj-http: status 401 -; 10/24 17:20:03 Request(get): "/collection" {:projectId "177"} -; 10/24 17:20:03 Response(302): application/octet-stream response -; 10/24 17:20:03 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 17:20:03 Response(200): text/html; charset=utf-8 response -; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:03 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:20:03 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:20:03 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:20:03 Response(200): application/octet-stream file -; 10/24 17:20:03 Response(200): application/octet-stream file -; 10/24 17:20:03 Response(200): application/octet-stream file -; 10/24 17:20:03 Request(get): "/get-all-institutions" {} -; 10/24 17:20:03 Request(get): "/get-home-projects" {} -; 10/24 17:20:03 Request(get): "/get-public-imagery" {} -; 10/24 17:20:03 Response(200): application/json file -; 10/24 17:20:03 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:20:03 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:20:03 Response(200): image/png file -; 10/24 17:20:03 Response(200): application/json file -; 10/24 17:20:03 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:20:03 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:20:03 Response(200): font/woff file -; 10/24 17:20:03 Response(200): application/octet-stream file -; 10/24 17:20:10 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:20:10 Response(200): [] -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -nil -clj꞉user꞉>  -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; 10/24 17:28:35 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:28:35 Response(200): text/html; charset=utf-8 response -; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:28:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:28:35 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:28:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Request(get): "/get-nicfi-dates" {} -; 10/24 17:28:35 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:28:35 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:28:35 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:28:35 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:28:35 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:28:35 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:28:35 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:28:35 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:28:35 Response(200): application/json file -; 10/24 17:28:35 Response(200): image/png file -; 10/24 17:28:35 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:28:35 Response(200): application/json file -; 10/24 17:28:35 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:28:35 Response(200): application/octet-stream file -; 10/24 17:28:35 Response(200): font/woff file -; 10/24 17:28:37 Request(get): "/collection" {:projectId "177"} -; 10/24 17:28:49 Error: Wrong number of args (3) passed to: collect-earth-online.db.projects/can-collect? -; 10/24 17:28:49 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:28:49 Response(404): text/html; charset=utf-8 response -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; Evaluating file: users.clj -#'collect-earth-online.db.users/request-institution-membership -clj꞉collect-earth-online.db.users꞉>  -#'collect-earth-online.db.users/get-institution-users -clj꞉collect-earth-online.db.users꞉>  -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -nil -clj꞉user꞉>  -#'collect-earth-online.handlers/route-authenticator -clj꞉collect-earth-online.handlers꞉>  -; 10/24 17:41:26 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:41:26 Response(200): text/html; charset=utf-8 response -; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:26 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(404): text/html; charset=utf-8 response -; 10/24 17:41:26 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:41:26 Response(404): text/html; charset=utf-8 response -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Request(get): "/get-nicfi-dates" {} -; 10/24 17:41:26 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:41:26 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:41:26 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:41:26 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:41:26 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:41:26 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:41:26 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:41:26 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:41:26 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:41:26 Response(200): font/woff file -; 10/24 17:41:26 Response(200): application/json file -; 10/24 17:41:26 Response(200): image/png file -; 10/24 17:41:26 Response(200): application/octet-stream file -; 10/24 17:41:26 Response(200): image/x-icon file -; 10/24 17:41:26 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:41:26 Response(200): application/json file -; 10/24 17:41:32 Error: clj-http: status 401 -; 10/24 17:41:44 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:41:44 Response(200): text/html; charset=utf-8 response -; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:41:46 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:41:46 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(404): text/html; charset=utf-8 response -; 10/24 17:41:46 Response(404): text/html; charset=utf-8 response -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:41:46 Request(get): "/get-nicfi-dates" {} -; 10/24 17:41:46 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:41:46 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:41:46 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:41:46 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:41:46 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:41:46 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:41:46 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:41:46 Response(200): font/woff file -; 10/24 17:41:46 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:41:46 Response(200): application/json file -; 10/24 17:41:46 Response(200): application/octet-stream file -; 10/24 17:41:46 Response(200): image/png file -; 10/24 17:41:46 Response(200): image/x-icon file -; 10/24 17:41:46 Response(200): application/json file -; 10/24 17:41:46 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:41:54 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:41:54 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:41:59 Request(get): "/collection" {:projectId "177"} -; 10/24 17:42:03 Response(302): application/octet-stream response -; 10/24 17:42:03 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 17:42:03 Response(200): text/html; charset=utf-8 response -; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/css; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:42:03 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:42:03 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:42:03 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:42:03 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:42:03 Response(404): text/html; charset=utf-8 response -; 10/24 17:42:03 Response(200): application/octet-stream file -; 10/24 17:42:03 Response(200): application/octet-stream file -; 10/24 17:42:03 Response(200): application/octet-stream file -; 10/24 17:42:03 Request(get): "/get-home-projects" {} -; 10/24 17:42:03 Request(get): "/get-all-institutions" {} -; 10/24 17:42:03 Request(get): "/get-public-imagery" {} -; 10/24 17:42:03 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:42:03 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:42:03 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:42:03 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:42:03 Response(200): [] -; 10/24 17:42:03 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:42:03 Response(200): font/woff file -; 10/24 17:42:03 Response(200): image/png file -; 10/24 17:42:03 Response(200): application/json file -; 10/24 17:42:03 Response(200): application/octet-stream file -; 10/24 17:42:06 Response(200): application/json file -; 10/24 17:43:01 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:43:01 Response(200): text/html; charset=utf-8 response -; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:43:01 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:01 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:43:01 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Request(get): "/get-nicfi-dates" {} -; 10/24 17:43:01 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:43:01 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:43:01 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:43:01 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:43:01 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:43:01 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:43:01 Response(200): font/woff file -; 10/24 17:43:01 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:43:01 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:43:01 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:43:01 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:43:01 Response(200): application/json file -; 10/24 17:43:01 Response(200): image/png file -; 10/24 17:43:01 Response(200): application/octet-stream file -; 10/24 17:43:01 Response(200): application/json file -; 10/24 17:43:04 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:43:04 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:43:08 Request(get): "/collection" {:projectId "177"} -; 10/24 17:43:11 Response(302): application/octet-stream response -; 10/24 17:43:11 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 17:43:11 Response(200): text/html; charset=utf-8 response -; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/css; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:11 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:11 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:43:11 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:43:11 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:11 Response(404): text/html; charset=utf-8 response -; 10/24 17:43:11 Response(200): application/octet-stream file -; 10/24 17:43:11 Response(200): application/octet-stream file -; 10/24 17:43:11 Response(200): application/octet-stream file -; 10/24 17:43:11 Request(get): "/get-all-institutions" {} -; 10/24 17:43:11 Request(get): "/get-public-imagery" {} -; 10/24 17:43:11 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:43:11 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:43:11 Request(get): "/get-home-projects" {} -; 10/24 17:43:11 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:43:12 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:43:12 Response(200): font/woff file -; 10/24 17:43:12 Response(200): application/octet-stream file -; 10/24 17:43:12 Response(200): [] -; 10/24 17:43:12 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:43:12 Response(200): application/json file -; 10/24 17:43:12 Response(200): image/png file -; 10/24 17:44:45 Response(200): application/json file -; 10/24 17:44:45 Request(get): "/review-institution" {:institutionId "5"} -; 10/24 17:44:46 Response(200): text/html; charset=utf-8 response -; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:46 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:46 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:46 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:46 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Request(get): "/get-nicfi-dates" {} -; 10/24 17:44:46 Request(get): "/get-institution-by-id" {:institutionId "5"} -; 10/24 17:44:46 Request(get): "/get-institution-imagery" {:institutionId "5"} -; 10/24 17:44:46 SQL Call: SELECT * FROM select_institution_by_id(5,5) -; 10/24 17:44:46 SQL Call: SELECT * FROM select_imagery_by_institution(5,5) -; 10/24 17:44:46 Request(get): "/get-institution-users" {:institutionId "5"} -; 10/24 17:44:46 Request(get): "/get-institution-projects" {:institutionId "5"} -; 10/24 17:44:46 SQL Call: SELECT * FROM select_institution_projects(5,5) -; 10/24 17:44:46 Response(200): {name Test Institution, imageName , ...} -; 10/24 17:44:46 Response(200): font/woff file -; 10/24 17:44:46 Response(200): application/json file -; 10/24 17:44:46 Response(200): [] -; 10/24 17:44:46 Response(200): application/octet-stream file -; 10/24 17:44:46 Response(200): image/png file -; 10/24 17:44:46 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:44:46 Response(200): application/json file -; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Response(200): application/octet-stream file -; 10/24 17:44:48 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:48 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:48 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:49 Request(get): "/review-institution" {:institutionId "6"} -; 10/24 17:44:49 Response(200): text/html; charset=utf-8 response -; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:50 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:50 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:50 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 Request(get): "/get-nicfi-dates" {} -; 10/24 17:44:50 Request(get): "/get-institution-by-id" {:institutionId "6"} -; 10/24 17:44:50 Request(get): "/get-institution-imagery" {:institutionId "6"} -; 10/24 17:44:50 SQL Call: SELECT * FROM select_institution_by_id(6,5) -; 10/24 17:44:50 SQL Call: SELECT * FROM select_imagery_by_institution(6,5) -; 10/24 17:44:50 Response(200): {name Test 2, imageName , ...} -; 10/24 17:44:50 Response(200): font/woff file -; 10/24 17:44:50 Request(get): "/get-institution-users" {:institutionId "6"} -; 10/24 17:44:50 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:44:50 Request(get): "/get-institution-projects" {:institutionId "6"} -; 10/24 17:44:50 Response(200): application/octet-stream file -; 10/24 17:44:50 SQL Call: SELECT * FROM select_institution_projects(5,6) -; 10/24 17:44:50 Response(200): application/json file -; 10/24 17:44:50 Response(200): image/png file -; 10/24 17:44:50 Response(200): [{id 183, name test, ...} {id 182, name test, ...}] -; 10/24 17:44:50 Response(200): application/json file -; 10/24 17:44:51 Request(get): "/collection" {:projectId "183"} -; 10/24 17:44:52 Request(get): "/collection" {:projectId "183"} -; 10/24 17:44:57 Response(302): application/octet-stream response -; 10/24 17:44:57 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=183"} -; 10/24 17:44:57 Response(200): text/html; charset=utf-8 response -; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/css; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:57 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:44:57 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:44:57 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:57 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:44:57 Response(404): text/html; charset=utf-8 response -; 10/24 17:44:57 Response(200): application/octet-stream file -; 10/24 17:44:57 Response(200): application/octet-stream file -; 10/24 17:44:57 Response(200): font/woff file -; 10/24 17:44:57 Response(200): application/octet-stream file -; 10/24 17:44:57 Request(get): "/get-public-imagery" {} -; 10/24 17:44:57 Request(get): "/get-all-institutions" {} -; 10/24 17:44:57 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:44:57 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:44:57 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:44:57 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:44:57 Request(get): "/get-home-projects" {} -; 10/24 17:44:57 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:44:57 Response(200): application/json file -; 10/24 17:44:57 Response(200): image/png file -; 10/24 17:44:57 Response(200): application/octet-stream file -; 10/24 17:44:57 Response(200): [] -; 10/24 17:44:57 Response(200): application/json file -; 10/24 17:45:08 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:45:08 Response(200): text/html; charset=utf-8 response -; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:45:09 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:45:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:45:09 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:45:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:09 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:45:09 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:45:09 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:45:09 Response(200): font/woff file -; 10/24 17:45:09 Request(get): "/get-nicfi-dates" {} -; 10/24 17:45:09 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:45:09 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:45:09 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:45:09 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:45:09 Response(200): application/octet-stream file -; 10/24 17:45:14 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:45:14 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:45:14 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:45:14 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:45:14 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:45:14 Response(200): application/json file -; 10/24 17:45:14 Response(200): image/png file -; 10/24 17:45:14 Response(200): application/json file -; 10/24 17:45:35 Request(get): "/collection" {:projectId "177"} -; 10/24 17:46:13 Response(302): application/octet-stream response -; 10/24 17:46:13 Request(get): "/home" {:flash_message "You do not have permission to access /collection?projectId=177"} -; 10/24 17:46:13 Response(200): text/html; charset=utf-8 response -; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:13 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:13 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:13 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:13 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:46:13 Response(200): application/octet-stream file -; 10/24 17:46:13 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:13 Response(200): application/octet-stream file -; 10/24 17:46:13 Response(200): application/octet-stream file -; 10/24 17:46:13 Request(get): "/get-all-institutions" {} -; 10/24 17:46:13 Request(get): "/get-public-imagery" {} -; 10/24 17:46:13 Request(get): "/get-home-projects" {} -; 10/24 17:46:13 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:46:13 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:46:13 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:46:13 Response(200): [{id 1, name DEV Institution 11, ...} {id 3, name test, ...} ...] -; 10/24 17:46:13 Response(200): [] -; 10/24 17:46:13 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:46:13 Response(200): font/woff file -; 10/24 17:46:13 Response(200): application/json file -; 10/24 17:46:13 Response(200): application/octet-stream file -; 10/24 17:46:13 Response(200): image/png file -; 10/24 17:46:15 Response(200): application/json file -; 10/24 17:46:16 Request(get): "/review-institution" {:institutionId "1"} -; 10/24 17:46:16 Response(200): text/html; charset=utf-8 response -; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/css; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:16 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:46:16 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:16 Response(404): text/html; charset=utf-8 response -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Request(get): "/get-institution-by-id" {:institutionId "1"} -; 10/24 17:46:16 Request(get): "/get-nicfi-dates" {} -; 10/24 17:46:16 Request(get): "/get-institution-imagery" {:institutionId "1"} -; 10/24 17:46:16 Request(get): "/get-institution-users" {:institutionId "1"} -; 10/24 17:46:16 SQL Call: SELECT * FROM select_institution_by_id(1,5) -; 10/24 17:46:16 SQL Call: SELECT * FROM select_imagery_by_institution(1,5) -; 10/24 17:46:16 Response(200): {name DEV Institution 11, imageName , ...} -; 10/24 17:46:16 Response(200): font/woff file -; 10/24 17:46:16 Request(get): "/get-institution-projects" {:institutionId "1"} -; 10/24 17:46:16 SQL Call: SELECT * FROM select_institution_projects(5,1) -; 10/24 17:46:16 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:46:16 Response(200): application/json file -; 10/24 17:46:16 Response(200): application/octet-stream file -; 10/24 17:46:16 Response(200): image/png file -; 10/24 17:46:16 Response(200): [{id 177, name Test Project, ...} {id 1, name Test Project, ...}] -; 10/24 17:46:16 Response(200): application/json file -; 10/24 17:52:20 SQL Call: SELECT * FROM get_all_users_by_institution_id(1) -; 10/24 17:52:20 Response(200): [{id 2, email user@ceo.dev, ...} {id 3, email test@ceo.dev, ...} ...] -; 10/24 17:52:32 Request(get): "/collection" {:projectId "177"} -; 10/24 17:58:02 Request(post): "/archive-institution" {:institutionId "1"} -; 10/24 17:58:06 SQL Call: SELECT * FROM archive_institution(1) -; 10/24 17:58:06 Response(200): -; 10/24 17:58:09 Request(get): "/home" {} -; 10/24 17:58:09 Response(200): text/html; charset=utf-8 response -; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:09 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:09 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:09 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:09 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:09 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:09 Response(200): application/octet-stream file -; 10/24 17:58:09 Response(200): application/octet-stream file -; 10/24 17:58:09 Response(200): application/octet-stream file -; 10/24 17:58:09 Request(get): "/get-public-imagery" {} -; 10/24 17:58:09 Request(get): "/get-home-projects" {} -; 10/24 17:58:09 Request(get): "/get-all-institutions" {} -; 10/24 17:58:09 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:58:09 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:58:09 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:58:09 Response(200): [] -; 10/24 17:58:09 Response(200): font/woff file -; 10/24 17:58:09 Response(200): application/json file -; 10/24 17:58:09 Response(200): [{id 3, name test, ...} {id 5, name Test Institution, ...} ...] -; 10/24 17:58:09 Response(200): image/png file -; 10/24 17:58:09 Response(200): application/octet-stream file -; 10/24 17:58:09 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:58:10 Response(200): application/json file -; 10/24 17:58:15 Request(get): "/review-institution" {:institutionId "5"} -; 10/24 17:58:15 Response(200): text/html; charset=utf-8 response -; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:15 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:15 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Request(get): "/get-institution-by-id" {:institutionId "5"} -; 10/24 17:58:15 Request(get): "/get-nicfi-dates" {} -; 10/24 17:58:15 Request(get): "/get-institution-users" {:institutionId "5"} -; 10/24 17:58:15 Request(get): "/get-institution-imagery" {:institutionId "5"} -; 10/24 17:58:15 SQL Call: SELECT * FROM select_institution_by_id(5,5) -; 10/24 17:58:15 SQL Call: SELECT * FROM select_imagery_by_institution(5,5) -; 10/24 17:58:15 Response(200): {name Test Institution, imageName , ...} -; 10/24 17:58:15 Response(200): font/woff file -; 10/24 17:58:15 Request(get): "/get-institution-projects" {:institutionId "5"} -; 10/24 17:58:15 SQL Call: SELECT * FROM select_institution_projects(5,5) -; 10/24 17:58:15 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:58:15 Response(200): application/octet-stream file -; 10/24 17:58:15 Response(200): application/json file -; 10/24 17:58:15 Response(200): [] -; 10/24 17:58:15 Response(200): image/png file -; 10/24 17:58:15 Response(200): application/json file -; 10/24 17:58:20 Request(post): "/archive-institution" {:institutionId "5"} -; 10/24 17:58:23 SQL Call: SELECT * FROM archive_institution(5) -; 10/24 17:58:23 Response(200): -; 10/24 17:58:24 Request(get): "/home" {} -; 10/24 17:58:24 Response(200): text/html; charset=utf-8 response -; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:24 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:24 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:24 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:24 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:24 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:24 Response(200): application/octet-stream file -; 10/24 17:58:24 Response(200): application/octet-stream file -; 10/24 17:58:24 Response(200): application/octet-stream file -; 10/24 17:58:24 Request(get): "/get-public-imagery" {} -; 10/24 17:58:24 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:58:24 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:58:24 Response(200): font/woff file -; 10/24 17:58:24 Response(200): application/octet-stream file -; 10/24 17:58:24 Request(get): "/get-all-institutions" {} -; 10/24 17:58:24 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:58:24 Response(200): [{id 3, name test, ...} {id 6, name Test 2, ...}] -; 10/24 17:58:24 Request(get): "/get-home-projects" {} -; 10/24 17:58:24 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:58:24 Response(200): application/json file -; 10/24 17:58:24 Response(200): [] -; 10/24 17:58:24 Response(200): image/png file -; 10/24 17:58:24 Response(200): application/json file -; 10/24 17:58:27 Request(get): "/review-institution" {:institutionId "6"} -; 10/24 17:58:27 Response(200): text/html; charset=utf-8 response -; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:27 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:27 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:27 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Request(get): "/get-institution-by-id" {:institutionId "6"} -; 10/24 17:58:27 Request(get): "/get-nicfi-dates" {} -; 10/24 17:58:27 SQL Call: SELECT * FROM select_institution_by_id(6,5) -; 10/24 17:58:27 Response(200): {name Test 2, imageName , ...} -; 10/24 17:58:27 Response(200): font/woff file -; 10/24 17:58:27 Request(get): "/get-institution-imagery" {:institutionId "6"} -; 10/24 17:58:27 SQL Call: SELECT * FROM select_imagery_by_institution(6,5) -; 10/24 17:58:27 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:58:27 Response(200): application/octet-stream file -; 10/24 17:58:27 Request(get): "/get-institution-users" {:institutionId "6"} -; 10/24 17:58:27 Request(get): "/get-institution-projects" {:institutionId "6"} -; 10/24 17:58:27 SQL Call: SELECT * FROM select_institution_projects(5,6) -; 10/24 17:58:27 Response(200): [{id 183, name test, ...} {id 182, name test, ...}] -; 10/24 17:58:27 Response(200): application/json file -; 10/24 17:58:27 Response(200): image/png file -; 10/24 17:58:27 Response(200): application/json file -; 10/24 17:58:31 SQL Call: SELECT * FROM get_all_users_by_institution_id(6) -; 10/24 17:58:31 Response(200): [{id 5, email jonn.vega@gmail.com, ...}] -; 10/24 17:58:35 Request(post): "/archive-institution" {:institutionId "6"} -; 10/24 17:58:50 SQL Call: SELECT * FROM archive_institution(6) -; 10/24 17:58:50 Response(200): -; 10/24 17:58:51 Request(get): "/home" {} -; 10/24 17:58:51 Response(200): text/html; charset=utf-8 response -; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/css; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:52 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:58:52 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:52 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:52 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:52 Response(404): text/html; charset=utf-8 response -; 10/24 17:58:52 Response(200): application/octet-stream file -; 10/24 17:58:52 Response(200): application/octet-stream file -; 10/24 17:58:52 Request(get): "/get-public-imagery" {} -; 10/24 17:58:52 SQL Call: SELECT * FROM select_public_imagery() -; 10/24 17:58:52 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:58:52 Response(200): font/woff file -; 10/24 17:58:52 Request(get): "/get-all-institutions" {} -; 10/24 17:58:52 Response(200): application/octet-stream file -; 10/24 17:58:52 SQL Call: SELECT * FROM select_all_institutions(5) -; 10/24 17:58:52 Response(200): [{id 3, name test, ...}] -; 10/24 17:58:52 Request(get): "/get-home-projects" {} -; 10/24 17:58:52 SQL Call: SELECT * FROM select_user_home_projects(5) -; 10/24 17:58:52 Response(200): [] -; 10/24 17:58:52 Response(200): application/json file -; 10/24 17:58:52 Response(200): image/png file -; 10/24 17:58:52 Response(200): application/octet-stream file -; 10/24 17:58:53 Response(200): application/json file -; 10/24 17:58:54 Request(get): "/create-institution" {} -; 10/24 17:59:02 Response(200): text/html; charset=utf-8 response -; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:02 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:02 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:59:02 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:02 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:02 Response(200): application/octet-stream file -; 10/24 17:59:02 Response(200): application/octet-stream file -; 10/24 17:59:02 Response(200): application/octet-stream file -; 10/24 17:59:02 Response(200): application/octet-stream file -; 10/24 17:59:02 Response(200): application/json file -; 10/24 17:59:02 Response(200): image/png file -; 10/24 17:59:02 Response(200): application/octet-stream file -; 10/24 17:59:18 Request(get): "/terms-of-service" {} -; 10/24 17:59:18 Response(200): text/html; charset=utf-8 response -; 10/24 17:59:18 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:18 Response(200): application/json file -; 10/24 17:59:25 Request(post): "/create-institution" {:name "New Institution", :imageName "", :url "", :description "New Institution"} -; 10/24 17:59:27 SQL Call: SELECT * FROM institution_name_taken("New Institution",-1) -; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution("New Institution","","","New Institution") -; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution_user(7,1,1) -; 10/24 17:59:27 SQL Call: SELECT * FROM add_institution_user(7,5,1) -; 10/24 17:59:27 Response(200): 7 -; 10/24 17:59:27 Request(get): "/review-institution" {:institutionId "7"} -; 10/24 17:59:28 Response(200): text/html; charset=utf-8 response -; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:28 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:59:28 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:28 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 Request(get): "/get-institution-by-id" {:institutionId "7"} -; 10/24 17:59:28 Request(get): "/get-nicfi-dates" {} -; 10/24 17:59:28 Request(get): "/get-institution-imagery" {:institutionId "7"} -; 10/24 17:59:28 SQL Call: SELECT * FROM select_institution_by_id(7,5) -; 10/24 17:59:28 SQL Call: SELECT * FROM select_imagery_by_institution(7,5) -; 10/24 17:59:28 Request(get): "/get-institution-users" {:institutionId "7"} -; 10/24 17:59:28 Response(200): {name New Institution, imageName , ...} -; 10/24 17:59:28 Response(200): font/woff file -; 10/24 17:59:28 Request(get): "/get-institution-projects" {:institutionId "7"} -; 10/24 17:59:28 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:59:28 Response(200): application/json file -; 10/24 17:59:28 Response(200): application/octet-stream file -; 10/24 17:59:28 SQL Call: SELECT * FROM select_institution_projects(5,7) -; 10/24 17:59:28 Response(200): image/png file -; 10/24 17:59:28 Response(200): application/json file -; 10/24 17:59:28 Response(200): [] -; 10/24 17:59:31 Request(get): "/create-project" {:institutionId "7"} -; 10/24 17:59:32 Request(get): "/create-project" {:institutionId "7"} -; 10/24 17:59:35 Response(200): text/html; charset=utf-8 response -; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/css; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Response(200): text/javascript; charset=utf-8 file -; 10/24 17:59:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:35 Request(get): "/js/bootstrap.min.js.map" {} -; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:35 Request(get): "/css/bootstrap.min.css.map" {} -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:35 Response(404): text/html; charset=utf-8 response -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): font/woff file -; 10/24 17:59:35 Request(get): "/get-template-projects" {} -; 10/24 17:59:35 Request(get): "/get-institution-users" {:institutionId "7"} -; 10/24 17:59:35 SQL Call: SELECT * FROM select_template_projects(5) -; 10/24 17:59:35 Request(get): "/doi" {:projectId "-1"} -; 10/24 17:59:35 SQL Call: SELECT * FROM select_doi_by_project(-1) -; 10/24 17:59:35 Response(200): [] -; 10/24 17:59:35 Request(get): "/get-institution-imagery" {:institutionId "7"} -; 10/24 17:59:35 SQL Call: SELECT * FROM select_imagery_by_institution(7,5) -; 10/24 17:59:35 Response(200): application/octet-stream file -; 10/24 17:59:35 Response(200): {doiPath nil} -; 10/24 17:59:35 Response(200): application/json file -; 10/24 17:59:35 Response(200): image/png file -; 10/24 17:59:36 Response(200): application/json file -; 10/24 17:59:36 Response(200): [{id 1, institution 1, ...}] -; 10/24 17:59:37 SQL Call: SELECT * FROM get_all_users_by_institution_id(7) -; 10/24 17:59:37 Response(200): [{id 5, email jonn.vega@gmail.com, ...}] -; nREPL Connection was closed -; Connecting using "deps.edn" project type. -; You can make Calva auto-select this. -; - See https://calva.io/connect-sequences/ -; - -; Connecting ... -; Reading port file: file:///home/jon/Documents/GitHub/collect-earth-online/.nrepl-port ... -; No nrepl port file found. -; Hooking up nREPL sessions ... -; Connected session: clj -; Evaluating code from settings: 'calva.autoEvaluateCode.onConnect.clj' -; nREPL Connection was closed From 3b005a53bba7474425a1c454a3176fe371b6456e Mon Sep 17 00:00:00 2001 From: jonnvega Date: Tue, 29 Oct 2024 18:11:10 +0100 Subject: [PATCH 03/11] add imageryIdsArray --- src/js/collection.jsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/js/collection.jsx b/src/js/collection.jsx index ec5e12acf..335e52c2e 100644 --- a/src/js/collection.jsx +++ b/src/js/collection.jsx @@ -47,6 +47,7 @@ class Collection extends React.Component { imageryAttribution: "", // attributes to record when sample is saved imageryAttributes: {}, + imageryIdsArray: [], imageryList: [], inReviewMode: false, mapConfig: null, @@ -178,6 +179,11 @@ class Collection extends React.Component { (this.state.currentImagery.id !== prevState.currentImagery.id || this.state.mapConfig !== prevState.mapConfig) ) { + if (!prevState.imageryIdsArray.includes(this.state.currentImagery.id)) { + this.setState((prevState) => ({ + imageryIdsArray: [...prevState.imageryIdsArray, this.state.currentImagery.id], + })); + } this.updateMapImagery(); } } @@ -763,6 +769,7 @@ class Collection extends React.Component { this.state.currentProject.allowDrawnSamples && this.state.currentPlot.samples, inReviewMode: this.state.inReviewMode, currentUserId: this.state.currentUserId, + imageryIdsArray: this.state.imageryIdsArray }), }).then((response) => { if (response.ok) { From 67ad6ebec547d9b48d37137f1ed03720ef746e9b Mon Sep 17 00:00:00 2001 From: Jonathan V Date: Sat, 2 Nov 2024 21:53:35 +0100 Subject: [PATCH 04/11] make db changes to imageryIds --- src/clj/collect_earth_online/db/plots.clj | 5 ++++- src/js/collection.jsx | 6 +++--- src/sql/changes/2024-10-30-add-imagery-ids.sql | 2 ++ src/sql/functions/plots.sql | 7 ++++--- 4 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 src/sql/changes/2024-10-30-add-imagery-ids.sql diff --git a/src/clj/collect_earth_online/db/plots.clj b/src/clj/collect_earth_online/db/plots.clj index 03318b2c2..ec54b0eac 100644 --- a/src/clj/collect_earth_online/db/plots.clj +++ b/src/clj/collect_earth_online/db/plots.clj @@ -275,6 +275,7 @@ user-images (:userImages params) new-plot-samples (:newPlotSamples params) user-id (if review-mode? current-user-id session-user-id) + imagery-ids (tc/clj->jsonb (:imageryIds params)) ;; Samples created in the UI have IDs starting with 1. When the new sample is created ;; in Postgres, it gets different ID. The user sample ID needs to be updated to match. id-translation (when new-plot-samples @@ -297,7 +298,9 @@ (when confidence-comment confidence-comment) (when-not review-mode? (Timestamp. collection-start)) (tc/clj->jsonb (set/rename-keys user-samples id-translation)) - (tc/clj->jsonb (set/rename-keys user-images id-translation))) + (tc/clj->jsonb (set/rename-keys user-images id-translation)) + imagery-ids) + (call-sql "delete_user_plot_by_plot" plot-id user-id)) (unlock-plots user-id) (data-response ""))) diff --git a/src/js/collection.jsx b/src/js/collection.jsx index 335e52c2e..e152fceea 100644 --- a/src/js/collection.jsx +++ b/src/js/collection.jsx @@ -47,7 +47,7 @@ class Collection extends React.Component { imageryAttribution: "", // attributes to record when sample is saved imageryAttributes: {}, - imageryIdsArray: [], + imageryIds: [], imageryList: [], inReviewMode: false, mapConfig: null, @@ -181,7 +181,7 @@ class Collection extends React.Component { ) { if (!prevState.imageryIdsArray.includes(this.state.currentImagery.id)) { this.setState((prevState) => ({ - imageryIdsArray: [...prevState.imageryIdsArray, this.state.currentImagery.id], + imageryIds: [...prevState.imageryIds, this.state.currentImagery.id], })); } this.updateMapImagery(); @@ -769,7 +769,7 @@ class Collection extends React.Component { this.state.currentProject.allowDrawnSamples && this.state.currentPlot.samples, inReviewMode: this.state.inReviewMode, currentUserId: this.state.currentUserId, - imageryIdsArray: this.state.imageryIdsArray + imageryIds: this.state.imageryIds }), }).then((response) => { if (response.ok) { diff --git a/src/sql/changes/2024-10-30-add-imagery-ids.sql b/src/sql/changes/2024-10-30-add-imagery-ids.sql new file mode 100644 index 000000000..d8238f061 --- /dev/null +++ b/src/sql/changes/2024-10-30-add-imagery-ids.sql @@ -0,0 +1,2 @@ +ALTER TABLE user_plots +ADD imagery_ids jsonb; diff --git a/src/sql/functions/plots.sql b/src/sql/functions/plots.sql index 3003d408f..82fd16c30 100644 --- a/src/sql/functions/plots.sql +++ b/src/sql/functions/plots.sql @@ -436,14 +436,15 @@ CREATE OR REPLACE FUNCTION upsert_user_samples( _confidence_comment text, _collection_start timestamp, _samples jsonb, - _images jsonb + _images jsonb, + _imageryIds jsonb ) RETURNS integer AS $$ WITH user_plot_table AS ( INSERT INTO user_plots AS up - (user_rid, plot_rid, confidence, confidence_comment ,collection_start, collection_time) + (user_rid, plot_rid, confidence, confidence_comment ,collection_start, collection_time, imageryIds) VALUES - (_user_id, _plot_id, _confidence, _confidence_comment , _collection_start, Now()) + (_user_id, _plot_id, _confidence, _confidence_comment , _collection_start, Now(), _imageryIds) ON CONFLICT (user_rid, plot_rid) DO UPDATE SET confidence = coalesce(excluded.confidence, up.confidence), From d34146893401ccfdbfc4402899f7eb74f8c2b2ff Mon Sep 17 00:00:00 2001 From: jonnvega Date: Fri, 29 Nov 2024 17:43:17 +0100 Subject: [PATCH 05/11] fix col name --- src/sql/functions/plots.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/functions/plots.sql b/src/sql/functions/plots.sql index 82fd16c30..de7f641a5 100644 --- a/src/sql/functions/plots.sql +++ b/src/sql/functions/plots.sql @@ -442,7 +442,7 @@ CREATE OR REPLACE FUNCTION upsert_user_samples( WITH user_plot_table AS ( INSERT INTO user_plots AS up - (user_rid, plot_rid, confidence, confidence_comment ,collection_start, collection_time, imageryIds) + (user_rid, plot_rid, confidence, confidence_comment ,collection_start, collection_time, imagery_ids) VALUES (_user_id, _plot_id, _confidence, _confidence_comment , _collection_start, Now(), _imageryIds) ON CONFLICT (user_rid, plot_rid) DO From be390297a19d904802a6acaf100e5ba019e3b577 Mon Sep 17 00:00:00 2001 From: jonnvega Date: Thu, 12 Dec 2024 19:28:49 +0100 Subject: [PATCH 06/11] backend changes --- src/clj/collect_earth_online/db/metrics.clj | 72 +++++++++++ src/clj/collect_earth_online/handlers.clj | 2 + src/clj/collect_earth_online/routing.clj | 17 ++- src/sql/changes/2024-12-12-metrics-users.sql | 5 + src/sql/functions/member.sql | 9 +- src/sql/functions/metrics.sql | 122 +++++++++++++++++++ 6 files changed, 225 insertions(+), 2 deletions(-) create mode 100644 src/clj/collect_earth_online/db/metrics.clj create mode 100644 src/sql/changes/2024-12-12-metrics-users.sql create mode 100644 src/sql/functions/metrics.sql diff --git a/src/clj/collect_earth_online/db/metrics.clj b/src/clj/collect_earth_online/db/metrics.clj new file mode 100644 index 000000000..9e1094191 --- /dev/null +++ b/src/clj/collect_earth_online/db/metrics.clj @@ -0,0 +1,72 @@ +(ns collect-earth-online.db.metrics + (:require + [triangulum.database :refer [call-sql sql-primitive]] + [triangulum.response :refer [data-response]] + [triangulum.logging :refer [log]])) + +(defn show-metrics-user [user-id] + (sql-primitive (call-sql "show_metrics_user" user-id))) + +(defn get-imagery-counts [{:keys [params session]}] + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_imagery_counts" start-date end-date) + (mapv (fn [{:keys [imagery_id imagery_name user_plot_count start_date end_date]}] + {:imageryId imagery_id + :imageryName imagery_name + :plots user_plot_count + :startDate start_date + :endDate end_date})) + (data-response))) + (catch Exception e + (let [causes (:causes (ex-data e))] + (log (ex-message e)) + (when-not causes (log (ex-message e))) + (data-response "Internal server error." {:status 500}))))) + +(defn get-projects-with-gee [{:keys [params session]}] + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_projects_with_gee" start-date end-date) + (mapv (fn [{:keys [show_gee_script project_count start_date end_date]}] + {:showGeeScript show_gee_script + :projects project_count + :startDate start_date + :endDate end_date})) + (data-response)))) + +(defn get-sample-plot-counts [{:keys [params session]}] + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_sample_plot_counts" start-date end-date) + (mapv (fn [{:keys [user_plot_count total_sample_count distinct_project_count start_date end_date]}] + {:userPlots user_plot_count + :totalSamples total_sample_count + :distinctProjects distinct_project_count + :startDate start_date + :endDate end_date})) + (data-response))) + (catch Exception e + (let [causes (:causes (ex-data e))] + (log (ex-message e)) + (when-not causes (log (ex-message e))) + (data-response "Internal server error." {:status 500}))))) + +(defn get-project-count [{:keys [params session]}] + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_project_count" start-date end-date) + (mapv (fn [{:keys [project_count start_date end_date]}] + {:projects project_count + :startDate (str start_date) ;; Convert to string + :endDate (str end_date)})) ;; Convert to string + (data-response))) + (catch Exception e + (let [causes (:causes (ex-data e))] + (log (ex-message e)) + (when-not causes (log (ex-message e))) + (data-response "Internal server error." {:status 500}))))) + diff --git a/src/clj/collect_earth_online/handlers.clj b/src/clj/collect_earth_online/handlers.clj index 381c324bb..71b2278a6 100644 --- a/src/clj/collect_earth_online/handlers.clj +++ b/src/clj/collect_earth_online/handlers.clj @@ -1,6 +1,7 @@ (ns collect-earth-online.handlers (:require [collect-earth-online.db.institutions :refer [is-inst-admin?]] [collect-earth-online.db.projects :refer [can-collect? is-proj-admin?]] + [collect-earth-online.db.metrics :refer [show-metrics-user]] [ring.util.codec :refer [url-encode]] [ring.util.response :refer [redirect]] [triangulum.config :refer [get-config]] @@ -22,6 +23,7 @@ (pos? project-id) (is-proj-admin? user-id project-id token-key) (pos? institution-id) (is-inst-admin? user-id institution-id)) :no-cross (no-cross-traffic? headers) + :metrics (show-metrics-user user-id) true))) (defn redirect-handler [{:keys [session query-string uri] :as _request}] diff --git a/src/clj/collect_earth_online/routing.clj b/src/clj/collect_earth_online/routing.clj index 1c38c6589..947d6382c 100644 --- a/src/clj/collect_earth_online/routing.clj +++ b/src/clj/collect_earth_online/routing.clj @@ -3,6 +3,7 @@ [collect-earth-online.db.geodash :as geodash] [collect-earth-online.db.imagery :as imagery] [collect-earth-online.db.institutions :as institutions] + [collect-earth-online.db.metrics :as metrics] [collect-earth-online.db.plots :as plots] [collect-earth-online.db.projects :as projects] [collect-earth-online.db.qaqc :as qaqc] @@ -215,4 +216,18 @@ :auth-action :block} [:get "/get-nicfi-tiles"] {:handler proxy/get-nicfi-tiles :auth-type :no-cross - :auth-action :block}}) + :auth-action :block} + + ;; Metrics + [:get "/metrics/get-imagery-access"] {:handler metrics/get-imagery-counts + :auth-type :metrics + :auth-action :block} + [:get "/metrics/get-projects-with-gee"] {:handler metrics/get-projects-with-gee + :auth-type :metrics + :auth-action :block} + [:get "/metrics/get-sample-plot-counts"] {:handler metrics/get-sample-plot-counts + :auth-type :metrics + :auth-action :block} + [:get "/metrics/get-project-count"] {:handler metrics/get-project-count} + :auth-type :metrics + :auth-action :block}) diff --git a/src/sql/changes/2024-12-12-metrics-users.sql b/src/sql/changes/2024-12-12-metrics-users.sql new file mode 100644 index 000000000..134d97797 --- /dev/null +++ b/src/sql/changes/2024-12-12-metrics-users.sql @@ -0,0 +1,5 @@ +CREATE TABLE metrics_users ( + metric_users_uid SERIAL PRIMARY KEY, + user_rid INTEGER NOT NULL REFERENCES users (user_uid) ON DELETE CASCADE ON UPDATE CASCADE, + created_date DATE DEFAULT NOW() +); diff --git a/src/sql/functions/member.sql b/src/sql/functions/member.sql index 2bd04511d..684b0491c 100644 --- a/src/sql/functions/member.sql +++ b/src/sql/functions/member.sql @@ -60,7 +60,14 @@ CREATE OR REPLACE FUNCTION can_user_edit_project(_user_id integer, _project_id i $$ LANGUAGE SQL; --- +CREATE OR REPLACE FUNCTION show_metrics_user(_user_id integer) + RETURNS boolean AS $$ + + SELECT count(1) > 0 + FROM metrics_users + +$$ LANGUAGE SQL; + -- USER FUNCTIONS -- diff --git a/src/sql/functions/metrics.sql b/src/sql/functions/metrics.sql new file mode 100644 index 000000000..d9002880d --- /dev/null +++ b/src/sql/functions/metrics.sql @@ -0,0 +1,122 @@ +CREATE OR REPLACE FUNCTION get_imagery_counts(start_date_param TEXT, end_date_param TEXT) +RETURNS TABLE ( + imagery_id INT, + imagery_name TEXT, + user_plot_count BIGINT, + start_date TEXT, + end_date TEXT +) AS $$ +BEGIN + RETURN QUERY + SELECT + i.imagery_uid AS imagery_id, + i.title AS imagery_name, + COUNT(up.user_plot_uid) AS user_plot_count, + start_date_param AS start_date, + end_date_param AS end_date + FROM + user_plots up + JOIN + plots p ON up.plot_rid = p.plot_uid + JOIN + projects proj ON p.project_rid = proj.project_uid + LEFT JOIN + imagery i ON proj.imagery_rid = i.imagery_uid + WHERE + up.collection_start BETWEEN start_date_param::DATE AND end_date_param::DATE + GROUP BY + i.imagery_uid, i.title + ORDER BY + user_plot_count DESC; +END; +$$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION get_projects_with_gee(start_date_param TEXT, end_date_param TEXT) +RETURNS TABLE ( + show_gee_script BOOLEAN, + project_count BIGINT, + start_date TEXT, + end_date TEXT +) AS $$ +BEGIN + RETURN QUERY + SELECT + (CASE + WHEN (options->>'showGEEScript')::BOOLEAN IS TRUE THEN TRUE + ELSE FALSE + END) AS show_gee_script, + COUNT(*) AS project_count, + start_date_param AS start_date, + end_date_param AS end_date + FROM + projects + WHERE + created_date BETWEEN start_date_param::DATE AND end_date_param::DATE + GROUP BY + show_gee_script; +END; +$$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION get_sample_plot_counts(start_date_param TEXT, end_date_param TEXT) +RETURNS TABLE ( + user_plot_count BIGINT, + total_sample_count BIGINT, + distinct_project_count BIGINT, + start_date TEXT, + end_date TEXT +) AS $$ +BEGIN + RETURN QUERY + SELECT + COUNT(up.user_plot_uid) AS user_plot_count, + COUNT(DISTINCT p.project_rid) AS distinct_project_count, + COALESCE(SUM(s.sample_count)::BIGINT, 0) AS total_sample_count, + start_date_param AS start_date, + end_date_param AS end_date + FROM + user_plots up + JOIN + plots p ON up.plot_rid = p.plot_uid + LEFT JOIN ( + SELECT + plot_rid, + COUNT(*) AS sample_count + FROM + samples + GROUP BY + plot_rid + ) s ON p.plot_uid = s.plot_rid + WHERE + up.collection_start BETWEEN start_date_param::DATE AND end_date_param::DATE; +END; +$$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION get_project_count(start_date_param TEXT, end_date_param TEXT) +RETURNS TABLE ( + project_count BIGINT, + start_date TEXT, + end_date TEXT +) AS $$ +BEGIN + RETURN QUERY + SELECT + COUNT(*) AS project_count, + start_date_param AS start_date, + end_date_param AS end_date + FROM + projects + WHERE + created_date BETWEEN start_date_param::DATE AND end_date_param::DATE; +END; +$$ LANGUAGE plpgsql; + +CREATE OR REPLACE FUNCTION show_metrics_user(user_id INTEGER) +RETURNS BOOLEAN AS $$ +BEGIN + RETURN EXISTS ( + SELECT 1 + FROM metric_users + WHERE user_rid = user_id + ); +END; +$$ LANGUAGE plpgsql; From 871c44f1e2311893fb3bca72075184ab43100a8e Mon Sep 17 00:00:00 2001 From: jonnvega Date: Mon, 16 Dec 2024 21:38:02 +0100 Subject: [PATCH 07/11] add jsx view --- src/css/metrics.css | 82 ++++++++++++++++++ src/js/metrics.jsx | 199 ++++++++++++++++++++++++++++++++++++++++++++ vite.config.js | 3 +- 3 files changed, 283 insertions(+), 1 deletion(-) create mode 100644 src/css/metrics.css create mode 100644 src/js/metrics.jsx diff --git a/src/css/metrics.css b/src/css/metrics.css new file mode 100644 index 000000000..a0fe7ac3f --- /dev/null +++ b/src/css/metrics.css @@ -0,0 +1,82 @@ +.metrics-dashboard { + padding: 20px; +} + +.dashboard-header { + background-color: #004d40; + padding: 20px; + color: white; + text-align: center; + margin-bottom: 20px; +} + +.filters { + display: flex; + flex-wrap: wrap; + gap: 15px; + margin-bottom: 20px; +} + +.filter-group { + display: flex; + gap: 15px; + flex: 1; +} + +.filter { + display: flex; + flex-direction: column; + gap: 5px; + flex: 1; +} + +.filter label { + font-size: 18px; + font-weight: bold; +} + +.date-picker { + padding: 5px; + border: 1px solid #ccc; + border-radius: 4px; +} + +.download-csv-btn { + background-color: #004d40; + color: white; + padding: 10px; + border: none; + border-radius: 4px; + cursor: pointer; +} + +.download-csv-btn:hover { + background-color: #00332e; +} + +.table-container { + margin-top: 20px; +} + +.metrics-table { + width: 100%; + border-collapse: collapseg + +.metrics-table th, +.metrics-table td { + border: 1px solid #ccc; + padding: 8px; + text-align: left; +} + +.metrics-table th { + background-color: #004d40; + color: white; +} + +.custom-dropdown { + background-color: #F0EBEB !important; + border-color: #F0EBEB !important; + color: black; + text-align: left; +} diff --git a/src/js/metrics.jsx b/src/js/metrics.jsx new file mode 100644 index 000000000..b83a6c042 --- /dev/null +++ b/src/js/metrics.jsx @@ -0,0 +1,199 @@ +import React, { useState, useEffect } from 'react'; +import ReactDOM from "react-dom"; +import { Dropdown } from 'react-bootstrap'; +import DatePicker from 'react-datepicker'; +import 'react-datepicker/dist/react-datepicker.css'; +import { + useReactTable, + getCoreRowModel, + flexRender, +} from "@tanstack/react-table"; + +import { LoadingModal, NavigationBar } from "./components/PageComponents"; +import "../css/metrics.css"; + +const MetricsDashboard = () => { + const [metric, setMetric] = useState('Select a Metric'); + const [startDate, setStartDate] = useState(null); + const [endDate, setEndDate] = useState(null); + const [data, setData] = useState([]); + const [columns, setColumns] = useState([]); + const [handlerUrl, setHandlerUrl] = useState(''); + + const metricsRoutes = { + getImageryAccess: { + displayName: "Imagery Access Metrics", + route: "/metrics/get-imagery-access" + }, + getProjectsWithGEE: { + displayName: "Projects with GEE Metrics", + route: "/metrics/get-projects-with-gee" + }, + getSamplePlotCounts: { + displayName: "Sample Plot Counts Metrics", + route: "/metrics/get-sample-plot-counts" + }, + getProjectCount: { + displayName: "Project Count Metrics", + route: "/metrics/get-project-count" + } + }; + + const buildUrl = (baseUrl, startDate, endDate) => { + const url = new URL(baseUrl, window.location.origin); + + // Extract only the date part in 'YYYY-MM-DD' format + if (startDate) { + const formattedStartDate = startDate.toISOString().split('T')[0]; // 'YYYY-MM-DD' + url.searchParams.append('startDate', formattedStartDate); + } + if (endDate) { + const formattedEndDate = endDate.toISOString().split('T')[0]; // 'YYYY-MM-DD' + url.searchParams.append('endDate', formattedEndDate); + } + + return url.toString(); + }; + + useEffect(() => { + if (!handlerUrl) return; + + const fetchData = async () => { + try { + + const ceoUrl = buildUrl(handlerUrl, startDate, endDate); + const response = await fetch(ceoUrl); + const result = await response.json(); + + if (result.length > 0) { + // Dynamically generate columns from data keys + const cols = Object.keys(result[0]).map((key) => ({ + accessorKey: key, + header: key.charAt(0).toUpperCase() + key.slice(1), + })); + setColumns(cols); + } + setData(result); + } catch (error) { + console.error("Error fetching data:", error); + } + }; + + fetchData(); + }, [handlerUrl, startDate, endDate]); + + // Table instance + const table = useReactTable({ + data, + columns, + getCoreRowModel: getCoreRowModel(), + }); + + const handleMetricSelect = (selectedMetric) => { + setMetric(selectedMetric.displayName); + setHandlerUrl(selectedMetric.route); + setData([]); // Clear previous data + setColumns([]); // Clear previous columns + }; + + return ( +
+
+

Metrics Dashboard

+
+
+
+
+ + + + {metric} + + + {Object.values(metricsRoutes).map((metricItem) => ( + handleMetricSelect(metricItem)} + > + {metricItem.displayName} + + ))} + + +
+
+
+
+ + setStartDate(date)} + className="form-control" + dateFormat="yyyy-MM-dd" + /> +
+ +
+ + setEndDate(date)} + className="form-control" + dateFormat="yyyy-MM-dd" + /> +
+ +
+ +
+
+
+
+ + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => ( + + ))} + + ))} + + + {table.getRowModel().rows.map((row) => ( + + {row.getVisibleCells().map((cell) => ( + + ))} + + ))} + +
+ {flexRender( + header.column.columnDef.header, + header.getContext() + )} +
+ {flexRender(cell.column.columnDef.cell, cell.getContext())} +
+
+
+
+
+ ); +}; + +export function pageInit(params, session) { + ReactDOM.render( + + + , + document.getElementById("app") + ); +} diff --git a/vite.config.js b/vite.config.js index 23e720a42..70fe8a2dd 100644 --- a/vite.config.js +++ b/vite.config.js @@ -51,7 +51,8 @@ export default defineConfig({ "src/js/termsOfService.jsx", "src/js/userDisagreement.jsx", "src/js/verifyEmail.jsx", - "src/js/widgetLayoutEditor.jsx" + "src/js/widgetLayoutEditor.jsx", + "src/js/metrics.jsx" ], output: { // compact: false, From 9793da8f74f7c192310dace41289497d40b1adcc Mon Sep 17 00:00:00 2001 From: jonnvega Date: Mon, 16 Dec 2024 21:38:29 +0100 Subject: [PATCH 08/11] improve error handling --- src/clj/collect_earth_online/db/metrics.clj | 152 ++++++++++++-------- src/clj/collect_earth_online/routing.clj | 2 + 2 files changed, 95 insertions(+), 59 deletions(-) diff --git a/src/clj/collect_earth_online/db/metrics.clj b/src/clj/collect_earth_online/db/metrics.clj index 9e1094191..7b35695dc 100644 --- a/src/clj/collect_earth_online/db/metrics.clj +++ b/src/clj/collect_earth_online/db/metrics.clj @@ -1,72 +1,106 @@ (ns collect-earth-online.db.metrics (:require - [triangulum.database :refer [call-sql sql-primitive]] - [triangulum.response :refer [data-response]] - [triangulum.logging :refer [log]])) + [triangulum.database :refer [call-sql sql-primitive]] + [triangulum.response :refer [data-response]] + [triangulum.logging :refer [log]] + [clojure.string :as str])) -(defn show-metrics-user [user-id] - (sql-primitive (call-sql "show_metrics_user" user-id))) +(defn validate-dates [params] + (let [start-date (:startDate params) + end-date (:endDate params)] + (cond + (and start-date end-date) {:valid true} + (and (not start-date) (not end-date)) + {:valid false + :message "Missing parameters: startDate and endDate are required."} + (not start-date) + {:valid false + :message "Missing parameter: startDate is required."} + (not end-date) + {:valid false + :message "Missing parameter: endDate is required."}))) -(defn get-imagery-counts [{:keys [params session]}] +(defn validation-error-response [message] + (data-response message {:status 400})) + +(defn show-metrics-user [user-id] (try - (let [start-date (:startDate params) - end-date (:endDate params)] - (->> (call-sql "get_imagery_counts" start-date end-date) - (mapv (fn [{:keys [imagery_id imagery_name user_plot_count start_date end_date]}] - {:imageryId imagery_id - :imageryName imagery_name - :plots user_plot_count - :startDate start_date - :endDate end_date})) - (data-response))) + (sql-primitive (call-sql "show_metrics_user" user-id)) (catch Exception e - (let [causes (:causes (ex-data e))] - (log (ex-message e)) - (when-not causes (log (ex-message e))) - (data-response "Internal server error." {:status 500}))))) + (log (ex-message e)) + (data-response "Internal server error." {:status 500})))) + + +(defn get-imagery-counts [{:keys [params session]}] + (let [validation (validate-dates params)] + (if (:valid validation) + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_imagery_counts" start-date end-date) + (mapv (fn [{:keys [imagery_id imagery_name user_plot_count start_date end_date]}] + {:imageryId imagery_id + :imageryName imagery_name + :plots user_plot_count + :startDate start_date + :endDate end_date})) + (data-response))) + (catch Exception e + (log (ex-message e)) + (data-response "Internal server error." {:status 500}))) + (validation-error-response (:message validation))))) (defn get-projects-with-gee [{:keys [params session]}] - (let [start-date (:startDate params) - end-date (:endDate params)] - (->> (call-sql "get_projects_with_gee" start-date end-date) - (mapv (fn [{:keys [show_gee_script project_count start_date end_date]}] - {:showGeeScript show_gee_script - :projects project_count - :startDate start_date - :endDate end_date})) - (data-response)))) + (let [validation (validate-dates params)] + (if (:valid validation) + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_projects_with_gee" start-date end-date) + (mapv (fn [{:keys [show_gee_script project_count start_date end_date]}] + {:showGeeScript show_gee_script + :projects project_count + :startDate start_date + :endDate end_date})) + (data-response))) + (catch Exception e + (log (ex-message e)) + (data-response "Internal server error." {:status 500}))) + (validation-error-response (:message validation))))) (defn get-sample-plot-counts [{:keys [params session]}] - (try - (let [start-date (:startDate params) - end-date (:endDate params)] - (->> (call-sql "get_sample_plot_counts" start-date end-date) - (mapv (fn [{:keys [user_plot_count total_sample_count distinct_project_count start_date end_date]}] - {:userPlots user_plot_count - :totalSamples total_sample_count - :distinctProjects distinct_project_count - :startDate start_date - :endDate end_date})) - (data-response))) - (catch Exception e - (let [causes (:causes (ex-data e))] - (log (ex-message e)) - (when-not causes (log (ex-message e))) - (data-response "Internal server error." {:status 500}))))) + (let [validation (validate-dates params)] + (if (:valid validation) + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_sample_plot_counts" start-date end-date) + (mapv (fn [{:keys [user_plot_count total_sample_count distinct_project_count start_date end_date]}] + {:userPlots user_plot_count + :totalSamples total_sample_count + :distinctProjects distinct_project_count + :startDate start_date + :endDate end_date})) + (data-response))) + (catch Exception e + (log (ex-message e)) + (data-response "Internal server error." {:status 500}))) + (validation-error-response (:message validation))))) (defn get-project-count [{:keys [params session]}] - (try - (let [start-date (:startDate params) - end-date (:endDate params)] - (->> (call-sql "get_project_count" start-date end-date) - (mapv (fn [{:keys [project_count start_date end_date]}] - {:projects project_count - :startDate (str start_date) ;; Convert to string - :endDate (str end_date)})) ;; Convert to string - (data-response))) - (catch Exception e - (let [causes (:causes (ex-data e))] - (log (ex-message e)) - (when-not causes (log (ex-message e))) - (data-response "Internal server error." {:status 500}))))) + (let [validation (validate-dates params)] + (if (:valid validation) + (try + (let [start-date (:startDate params) + end-date (:endDate params)] + (->> (call-sql "get_project_count" start-date end-date) + (mapv (fn [{:keys [project_count start_date end_date]}] + {:projects project_count + :startDate (str start_date) + :endDate (str end_date)})) + (data-response))) + (catch Exception e + (log (ex-message e)) + (data-response "Internal server error." {:status 500}))) + (validation-error-response (:message validation))))) diff --git a/src/clj/collect_earth_online/routing.clj b/src/clj/collect_earth_online/routing.clj index 947d6382c..dc288b849 100644 --- a/src/clj/collect_earth_online/routing.clj +++ b/src/clj/collect_earth_online/routing.clj @@ -56,6 +56,8 @@ [:get "/widget-layout-editor"] {:handler (render-page "/widget-layout-editor") :auth-type :admin :auth-action :redirect} + [:get "/metrics"] {:handler (render-page "/metrics")} + ;; Users API [:get "/get-institution-users"] {:handler users/get-institution-users :auth-type :user From 1225260d34189543b45fff49f4d417917ffb8839 Mon Sep 17 00:00:00 2001 From: jonnvega Date: Tue, 17 Dec 2024 18:38:10 +0100 Subject: [PATCH 09/11] handle CSV download, formatting --- src/js/metrics.jsx | 171 ++++++++++++++++++++++++++++----------------- 1 file changed, 108 insertions(+), 63 deletions(-) diff --git a/src/js/metrics.jsx b/src/js/metrics.jsx index b83a6c042..3d363936b 100644 --- a/src/js/metrics.jsx +++ b/src/js/metrics.jsx @@ -9,7 +9,7 @@ import { flexRender, } from "@tanstack/react-table"; -import { LoadingModal, NavigationBar } from "./components/PageComponents"; +import { NavigationBar } from "./components/PageComponents"; import "../css/metrics.css"; const MetricsDashboard = () => { @@ -19,6 +19,7 @@ const MetricsDashboard = () => { const [data, setData] = useState([]); const [columns, setColumns] = useState([]); const [handlerUrl, setHandlerUrl] = useState(''); + const [alertMessage, setAlertMessage] = useState(''); const metricsRoutes = { getImageryAccess: { @@ -55,32 +56,43 @@ const MetricsDashboard = () => { return url.toString(); }; - useEffect(() => { - if (!handlerUrl) return; - - const fetchData = async () => { - try { - - const ceoUrl = buildUrl(handlerUrl, startDate, endDate); - const response = await fetch(ceoUrl); - const result = await response.json(); - - if (result.length > 0) { - // Dynamically generate columns from data keys - const cols = Object.keys(result[0]).map((key) => ({ - accessorKey: key, - header: key.charAt(0).toUpperCase() + key.slice(1), - })); - setColumns(cols); - } - setData(result); - } catch (error) { - console.error("Error fetching data:", error); + const fetchData = async () => { + if (!handlerUrl || !startDate || !endDate) { + setAlertMessage("⚠️ Please select a metric, start date, and end date before proceeding."); + return; + } + + setAlertMessage(''); // Clear previous alerts + + try { + const ceoUrl = buildUrl(handlerUrl, startDate, endDate); + const response = await fetch(ceoUrl); + const result = await response.json(); + + if (result.length === 0) { + setAlertMessage("🚫 No data found for the selected filters."); + setData([]); // Clear previous data + setColumns([]); // Clear previous columns + return; } - }; - fetchData(); - }, [handlerUrl, startDate, endDate]); + const formatColumnName = (name) => + name + .replace(/([a-z])([A-Z])/g, "$1 $2") + .replace(/^./, (char) => char.toUpperCase()); + + const cols = Object.keys(result[0]).map((key) => ({ + accessorKey: key, + header: formatColumnName(key), + })); + + setColumns(cols); + setData(result); + } catch (error) { + console.error("Error fetching data:", error); + setAlertMessage(`❌ Error fetching data: ${error.message}`); + } + }; // Table instance const table = useReactTable({ @@ -96,6 +108,29 @@ const MetricsDashboard = () => { setColumns([]); // Clear previous columns }; + const handleDownloadCSV = () => { + if (data.length === 0) { + alert("No data available to download."); + return; + } + + // Generate CSV content + const headers = columns.map((col) => col.header).join(",") + "\n"; + const rows = data + .map((row) => columns.map((col) => row[col.accessorKey]).join(",")) + .join("\n"); + + const csvContent = "data:text/csv;charset=utf-8," + headers + rows; + + // Trigger download + const encodedUri = encodeURI(csvContent); + const link = document.createElement("a"); + link.setAttribute("href", encodedUri); + link.setAttribute("download", "metrics_data.csv"); + document.body.appendChild(link); + link.click(); + document.body.removeChild(link); + }; return (
@@ -142,47 +177,57 @@ const MetricsDashboard = () => { dateFormat="yyyy-MM-dd" />
- -
- + +
+
-
- - - {table.getHeaderGroups().map((headerGroup) => ( - - {headerGroup.headers.map((header) => ( - - ))} - - ))} - - - {table.getRowModel().rows.map((row) => ( - - {row.getVisibleCells().map((cell) => ( - - ))} - - ))} - -
- {flexRender( - header.column.columnDef.header, - header.getContext() - )} -
- {flexRender(cell.column.columnDef.cell, cell.getContext())} -
-
+ {alertMessage ? ( +
+ {alertMessage} +
+ ) : ( +
+ + + {table.getHeaderGroups().map((headerGroup) => ( + + {headerGroup.headers.map((header) => ( + + ))} + + ))} + + + {table.getRowModel().rows.map((row) => ( + + {row.getVisibleCells().map((cell) => ( + + ))} + + ))} + +
+ {flexRender( + header.column.columnDef.header, + header.getContext() + )} +
+ {flexRender(cell.column.columnDef.cell, cell.getContext())} +
+
+ )}
From 37f1f1abf4f33c451b126000b3dd7a1fda91068e Mon Sep 17 00:00:00 2001 From: jonnvega Date: Tue, 17 Dec 2024 18:59:36 +0100 Subject: [PATCH 10/11] align text center in button --- src/js/metrics.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/js/metrics.jsx b/src/js/metrics.jsx index 3d363936b..a29fec49f 100644 --- a/src/js/metrics.jsx +++ b/src/js/metrics.jsx @@ -177,7 +177,11 @@ const MetricsDashboard = () => { dateFormat="yyyy-MM-dd" /> -
From 6fb2c365568ca1d1f59062d62abb32c9663cc5d7 Mon Sep 17 00:00:00 2001 From: jonnvega Date: Tue, 17 Dec 2024 19:41:42 +0100 Subject: [PATCH 11/11] Update package.json --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 405982d86..93b4c016e 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "@ckeditor/ckeditor5-react": "^2.1.0", "@emotion/react": "^11.11.0", "@svgr/core": "^8.0.0", + "@tanstack/react-table": "^8.20.5", "airbnb-prop-types": "^2.16.0", "highcharts": "^9.1.0", "highcharts-react-official": "^3.0.0", @@ -87,7 +88,9 @@ "prop-types": "^15.7.2", "quick-lint-js": "^3.2.0", "react": "^16.8.0", + "react-bootstrap": "^2.10.6", "react-data-table-component": "^7.6.2", + "react-datepicker": "^7.5.0", "react-dom": "^16.8.0", "react-grid-layout": "^1.3.0", "react-markdown": "^8.0.7",