From a5a2c237e3193164f479332365c2b8b2a671f99a Mon Sep 17 00:00:00 2001
From: GregorioMonari <102193750+GregorioMonari@users.noreply.github.com>
Date: Tue, 7 Mar 2023 17:49:38 +0100
Subject: [PATCH] loopback-fix
---
.../{lib/UserInfo => CSS}/UserInterface.css | 0
.../{lib/BugReportPanel => CSS}/bugreport.css | 0
.../embeddedDashboard.css | 0
.../reusableComponents.css | 0
.../TasksConsumer => CSS}/taskdashboard.css | 0
.../updateInterface.css | 0
.../{lib => JS}/BugReportPanel/BugReport.js | 0
.../AwApiUpdateManager.js | 23 +-
.../ScanManager.js} | 68 +-
.../PacModules}/AwManager.js | 8 +-
.../PacModules}/AwProducer.js | 44 +-
.../PacModules}/tasksConsumer.js | 7 +-
.../{lib => JS}/UserInfo/UserInfoConsumer.js | 8 +-
1_ActivityWatchProducer/JS/greglogs.js | 115 -
1_ActivityWatchProducer/JS/main.js | 467 +-
.../{lib => Resources}/my2sec-FULL_271022.js | 0
.../my2sec-jena_251122.jsap.js | 0
.../my2sec-jena_251122.jsap.txt | 0
.../my2sec_19-1-2023.jsap.js | 10 +
.../Resources/my2sec_7-3-2023.jsap | 717 ++
1_ActivityWatchProducer/SECURITY/preload2.js | 1 +
.../electron_main_modules/AwApiRouter.js | 191 +
.../JsapConfigurationManager.js | 104 +
.../electron_main_modules/MongoDbClient.js | 49 +
.../electron_main_modules/MongoDbRouter.js | 47 +
.../electron_main_modules/PythonApiRunner.js | 26 +
1_ActivityWatchProducer/index.html | 49 +-
.../lib/{AwUpdateFlowControl => }/AwClient.js | 39 +-
.../AwUpdateFlowControl/AwClient_BACKUP.js | 260 -
.../lib/AwUpdateFlowControl/jsap.js | 37 -
.../lib/PacFactoryJs/GregLogs.js | 17 +-
.../gregnet-grid-script.js | 106 -
.../gregnet-grid-style.css | 139 -
.../lib/gregnet-grid-plugin/readme.txt | 33 -
.../superset-embed.js | 16 +-
1_ActivityWatchProducer/main.js | 301 +-
.../node_modules/.package-lock.json | 143 +-
.../@types/webidl-conversions/LICENSE | 21 +
.../@types/webidl-conversions/README.md | 16 +
.../@types/webidl-conversions/index.d.ts | 97 +
.../@types/webidl-conversions/package.json | 30 +
.../node_modules/@types/whatwg-url/LICENSE | 21 +
.../node_modules/@types/whatwg-url/README.md | 16 +
.../@types/whatwg-url/dist/URL-impl.d.ts | 23 +
.../@types/whatwg-url/dist/URL.d.ts | 76 +
.../whatwg-url/dist/URLSearchParams-impl.d.ts | 23 +
.../whatwg-url/dist/URLSearchParams.d.ts | 91 +
.../node_modules/@types/whatwg-url/index.d.ts | 162 +
.../@types/whatwg-url/package.json | 33 +
.../@types/whatwg-url/webidl2js-wrapper.d.ts | 4 +
.../node_modules/bson/LICENSE.md | 201 +
.../node_modules/bson/README.md | 368 +
.../node_modules/bson/bson.d.ts | 1225 ++++
.../node_modules/bson/etc/prepare.js | 19 +
.../node_modules/bson/lib/bson.bundle.js | 4090 +++++++++++
.../node_modules/bson/lib/bson.bundle.js.map | 1 +
.../node_modules/bson/lib/bson.cjs | 4085 +++++++++++
.../node_modules/bson/lib/bson.cjs.map | 1 +
.../node_modules/bson/lib/bson.mjs | 4057 +++++++++++
.../node_modules/bson/lib/bson.mjs.map | 1 +
.../node_modules/bson/package.json | 115 +
.../node_modules/bson/src/binary.ts | 485 ++
.../node_modules/bson/src/bson.ts | 250 +
.../node_modules/bson/src/bson_value.ts | 18 +
.../node_modules/bson/src/code.ts | 69 +
.../node_modules/bson/src/constants.ts | 141 +
.../node_modules/bson/src/db_ref.ts | 127 +
.../node_modules/bson/src/decimal128.ts | 777 ++
.../node_modules/bson/src/double.ts | 83 +
.../node_modules/bson/src/error.ts | 85 +
.../node_modules/bson/src/extended_json.ts | 495 ++
.../node_modules/bson/src/index.ts | 19 +
.../node_modules/bson/src/int_32.ts | 70 +
.../node_modules/bson/src/long.ts | 1067 +++
.../node_modules/bson/src/max_key.ts | 36 +
.../node_modules/bson/src/min_key.ts | 36 +
.../node_modules/bson/src/objectid.ts | 317 +
.../bson/src/parser/calculate_size.ts | 211 +
.../bson/src/parser/deserializer.ts | 726 ++
.../bson/src/parser/serializer.ts | 988 +++
.../node_modules/bson/src/parser/utils.ts | 29 +
.../node_modules/bson/src/regexp.ts | 114 +
.../node_modules/bson/src/symbol.ts | 58 +
.../node_modules/bson/src/timestamp.ts | 150 +
.../node_modules/bson/src/utils/byte_utils.ts | 61 +
.../bson/src/utils/node_byte_utils.ts | 141 +
.../bson/src/utils/web_byte_utils.ts | 190 +
.../node_modules/bson/src/uuid_utils.ts | 33 +
.../node_modules/bson/src/validate_utf8.ts | 47 +
.../node_modules/memory-pager/.travis.yml | 4 +
.../node_modules/memory-pager/LICENSE | 21 +
.../node_modules/memory-pager/README.md | 65 +
.../node_modules/memory-pager/index.js | 160 +
.../node_modules/memory-pager/package.json | 24 +
.../node_modules/memory-pager/test.js | 80 +
.../.esm-wrapper.mjs | 6 +
.../mongodb-connection-string-url/LICENSE | 192 +
.../mongodb-connection-string-url/README.md | 25 +
.../lib/index.d.ts | 62 +
.../lib/index.js | 213 +
.../lib/index.js.map | 1 +
.../lib/redact.d.ts | 7 +
.../lib/redact.js | 86 +
.../lib/redact.js.map | 1 +
.../package.json | 62 +
.../node_modules/mongodb/LICENSE.md | 201 +
.../node_modules/mongodb/README.md | 295 +
.../node_modules/mongodb/etc/prepare.js | 12 +
.../node_modules/mongodb/lib/admin.js | 131 +
.../node_modules/mongodb/lib/admin.js.map | 1 +
.../node_modules/mongodb/lib/bson.js | 61 +
.../node_modules/mongodb/lib/bson.js.map | 1 +
.../node_modules/mongodb/lib/bulk/common.js | 874 +++
.../mongodb/lib/bulk/common.js.map | 1 +
.../node_modules/mongodb/lib/bulk/ordered.js | 67 +
.../mongodb/lib/bulk/ordered.js.map | 1 +
.../mongodb/lib/bulk/unordered.js | 92 +
.../mongodb/lib/bulk/unordered.js.map | 1 +
.../node_modules/mongodb/lib/change_stream.js | 397 ++
.../mongodb/lib/change_stream.js.map | 1 +
.../mongodb/lib/cmap/auth/auth_provider.js | 36 +
.../lib/cmap/auth/auth_provider.js.map | 1 +
.../mongodb/lib/cmap/auth/gssapi.js | 188 +
.../mongodb/lib/cmap/auth/gssapi.js.map | 1 +
.../lib/cmap/auth/mongo_credentials.js | 145 +
.../lib/cmap/auth/mongo_credentials.js.map | 1 +
.../mongodb/lib/cmap/auth/mongocr.js | 44 +
.../mongodb/lib/cmap/auth/mongocr.js.map | 1 +
.../mongodb/lib/cmap/auth/mongodb_aws.js | 238 +
.../mongodb/lib/cmap/auth/mongodb_aws.js.map | 1 +
.../mongodb/lib/cmap/auth/mongodb_oidc.js | 3 +
.../mongodb/lib/cmap/auth/mongodb_oidc.js.map | 1 +
.../mongodb/lib/cmap/auth/plain.js | 27 +
.../mongodb/lib/cmap/auth/plain.js.map | 1 +
.../mongodb/lib/cmap/auth/providers.js | 24 +
.../mongodb/lib/cmap/auth/providers.js.map | 1 +
.../mongodb/lib/cmap/auth/scram.js | 288 +
.../mongodb/lib/cmap/auth/scram.js.map | 1 +
.../mongodb/lib/cmap/auth/x509.js | 39 +
.../mongodb/lib/cmap/auth/x509.js.map | 1 +
.../lib/cmap/command_monitoring_events.js | 242 +
.../lib/cmap/command_monitoring_events.js.map | 1 +
.../node_modules/mongodb/lib/cmap/commands.js | 487 ++
.../mongodb/lib/cmap/commands.js.map | 1 +
.../node_modules/mongodb/lib/cmap/connect.js | 394 ++
.../mongodb/lib/cmap/connect.js.map | 1 +
.../mongodb/lib/cmap/connection.js | 496 ++
.../mongodb/lib/cmap/connection.js.map | 1 +
.../mongodb/lib/cmap/connection_pool.js | 591 ++
.../mongodb/lib/cmap/connection_pool.js.map | 1 +
.../lib/cmap/connection_pool_events.js | 160 +
.../lib/cmap/connection_pool_events.js.map | 1 +
.../node_modules/mongodb/lib/cmap/errors.js | 64 +
.../mongodb/lib/cmap/errors.js.map | 1 +
.../mongodb/lib/cmap/message_stream.js | 156 +
.../mongodb/lib/cmap/message_stream.js.map | 1 +
.../node_modules/mongodb/lib/cmap/metrics.js | 62 +
.../mongodb/lib/cmap/metrics.js.map | 1 +
.../mongodb/lib/cmap/stream_description.js | 51 +
.../lib/cmap/stream_description.js.map | 1 +
.../lib/cmap/wire_protocol/compression.js | 81 +
.../lib/cmap/wire_protocol/compression.js.map | 1 +
.../lib/cmap/wire_protocol/constants.js | 15 +
.../lib/cmap/wire_protocol/constants.js.map | 1 +
.../mongodb/lib/cmap/wire_protocol/shared.js | 55 +
.../lib/cmap/wire_protocol/shared.js.map | 1 +
.../node_modules/mongodb/lib/collection.js | 576 ++
.../mongodb/lib/collection.js.map | 1 +
.../mongodb/lib/connection_string.js | 1106 +++
.../mongodb/lib/connection_string.js.map | 1 +
.../node_modules/mongodb/lib/constants.js | 131 +
.../node_modules/mongodb/lib/constants.js.map | 1 +
.../mongodb/lib/cursor/abstract_cursor.js | 678 ++
.../mongodb/lib/cursor/abstract_cursor.js.map | 1 +
.../mongodb/lib/cursor/aggregation_cursor.js | 168 +
.../lib/cursor/aggregation_cursor.js.map | 1 +
.../lib/cursor/change_stream_cursor.js | 115 +
.../lib/cursor/change_stream_cursor.js.map | 1 +
.../mongodb/lib/cursor/find_cursor.js | 381 +
.../mongodb/lib/cursor/find_cursor.js.map | 1 +
.../lib/cursor/list_collections_cursor.js | 37 +
.../lib/cursor/list_collections_cursor.js.map | 1 +
.../mongodb/lib/cursor/list_indexes_cursor.js | 36 +
.../lib/cursor/list_indexes_cursor.js.map | 1 +
.../node_modules/mongodb/lib/db.js | 349 +
.../node_modules/mongodb/lib/db.js.map | 1 +
.../node_modules/mongodb/lib/deps.js | 69 +
.../node_modules/mongodb/lib/deps.js.map | 1 +
.../node_modules/mongodb/lib/encrypter.js | 103 +
.../node_modules/mongodb/lib/encrypter.js.map | 1 +
.../node_modules/mongodb/lib/error.js | 801 +++
.../node_modules/mongodb/lib/error.js.map | 1 +
.../node_modules/mongodb/lib/explain.js | 35 +
.../node_modules/mongodb/lib/explain.js.map | 1 +
.../mongodb/lib/gridfs/download.js | 313 +
.../mongodb/lib/gridfs/download.js.map | 1 +
.../node_modules/mongodb/lib/gridfs/index.js | 128 +
.../mongodb/lib/gridfs/index.js.map | 1 +
.../node_modules/mongodb/lib/gridfs/upload.js | 342 +
.../mongodb/lib/gridfs/upload.js.map | 1 +
.../node_modules/mongodb/lib/index.js | 161 +
.../node_modules/mongodb/lib/index.js.map | 1 +
.../node_modules/mongodb/lib/mongo_client.js | 292 +
.../mongodb/lib/mongo_client.js.map | 1 +
.../node_modules/mongodb/lib/mongo_logger.js | 113 +
.../mongodb/lib/mongo_logger.js.map | 1 +
.../node_modules/mongodb/lib/mongo_types.js | 17 +
.../mongodb/lib/mongo_types.js.map | 1 +
.../mongodb/lib/operations/add_user.js | 74 +
.../mongodb/lib/operations/add_user.js.map | 1 +
.../mongodb/lib/operations/aggregate.js | 91 +
.../mongodb/lib/operations/aggregate.js.map | 1 +
.../mongodb/lib/operations/bulk_write.js | 36 +
.../mongodb/lib/operations/bulk_write.js.map | 1 +
.../mongodb/lib/operations/collections.js | 32 +
.../mongodb/lib/operations/collections.js.map | 1 +
.../mongodb/lib/operations/command.js | 78 +
.../mongodb/lib/operations/command.js.map | 1 +
.../lib/operations/common_functions.js | 69 +
.../lib/operations/common_functions.js.map | 1 +
.../mongodb/lib/operations/count.js | 39 +
.../mongodb/lib/operations/count.js.map | 1 +
.../mongodb/lib/operations/count_documents.js | 37 +
.../lib/operations/count_documents.js.map | 1 +
.../lib/operations/create_collection.js | 101 +
.../lib/operations/create_collection.js.map | 1 +
.../mongodb/lib/operations/delete.js | 119 +
.../mongodb/lib/operations/delete.js.map | 1 +
.../mongodb/lib/operations/distinct.js | 67 +
.../mongodb/lib/operations/distinct.js.map | 1 +
.../mongodb/lib/operations/drop.js | 83 +
.../mongodb/lib/operations/drop.js.map | 1 +
.../operations/estimated_document_count.js | 38 +
.../estimated_document_count.js.map | 1 +
.../mongodb/lib/operations/eval.js | 55 +
.../mongodb/lib/operations/eval.js.map | 1 +
.../lib/operations/execute_operation.js | 181 +
.../lib/operations/execute_operation.js.map | 1 +
.../mongodb/lib/operations/find.js | 156 +
.../mongodb/lib/operations/find.js.map | 1 +
.../mongodb/lib/operations/find_and_modify.js | 151 +
.../lib/operations/find_and_modify.js.map | 1 +
.../mongodb/lib/operations/get_more.js | 58 +
.../mongodb/lib/operations/get_more.js.map | 1 +
.../mongodb/lib/operations/indexes.js | 270 +
.../mongodb/lib/operations/indexes.js.map | 1 +
.../mongodb/lib/operations/insert.js | 95 +
.../mongodb/lib/operations/insert.js.map | 1 +
.../mongodb/lib/operations/is_capped.js | 28 +
.../mongodb/lib/operations/is_capped.js.map | 1 +
.../mongodb/lib/operations/kill_cursors.js | 32 +
.../lib/operations/kill_cursors.js.map | 1 +
.../lib/operations/list_collections.js | 47 +
.../lib/operations/list_collections.js.map | 1 +
.../mongodb/lib/operations/list_databases.js | 35 +
.../lib/operations/list_databases.js.map | 1 +
.../mongodb/lib/operations/operation.js | 73 +
.../mongodb/lib/operations/operation.js.map | 1 +
.../lib/operations/options_operation.js | 28 +
.../lib/operations/options_operation.js.map | 1 +
.../mongodb/lib/operations/profiling_level.js | 33 +
.../lib/operations/profiling_level.js.map | 1 +
.../mongodb/lib/operations/remove_user.js | 21 +
.../mongodb/lib/operations/remove_user.js.map | 1 +
.../mongodb/lib/operations/rename.js | 46 +
.../mongodb/lib/operations/rename.js.map | 1 +
.../mongodb/lib/operations/run_command.js | 26 +
.../mongodb/lib/operations/run_command.js.map | 1 +
.../lib/operations/set_profiling_level.js | 51 +
.../lib/operations/set_profiling_level.js.map | 1 +
.../mongodb/lib/operations/stats.js | 48 +
.../mongodb/lib/operations/stats.js.map | 1 +
.../mongodb/lib/operations/update.js | 183 +
.../mongodb/lib/operations/update.js.map | 1 +
.../lib/operations/validate_collection.js | 41 +
.../lib/operations/validate_collection.js.map | 1 +
.../node_modules/mongodb/lib/read_concern.js | 73 +
.../mongodb/lib/read_concern.js.map | 1 +
.../mongodb/lib/read_preference.js | 195 +
.../mongodb/lib/read_preference.js.map | 1 +
.../node_modules/mongodb/lib/sdam/common.js | 56 +
.../mongodb/lib/sdam/common.js.map | 1 +
.../node_modules/mongodb/lib/sdam/events.js | 125 +
.../mongodb/lib/sdam/events.js.map | 1 +
.../node_modules/mongodb/lib/sdam/monitor.js | 417 ++
.../mongodb/lib/sdam/monitor.js.map | 1 +
.../node_modules/mongodb/lib/sdam/server.js | 369 +
.../mongodb/lib/sdam/server.js.map | 1 +
.../mongodb/lib/sdam/server_description.js | 189 +
.../lib/sdam/server_description.js.map | 1 +
.../mongodb/lib/sdam/server_selection.js | 226 +
.../mongodb/lib/sdam/server_selection.js.map | 1 +
.../mongodb/lib/sdam/srv_polling.js | 117 +
.../mongodb/lib/sdam/srv_polling.js.map | 1 +
.../node_modules/mongodb/lib/sdam/topology.js | 636 ++
.../mongodb/lib/sdam/topology.js.map | 1 +
.../mongodb/lib/sdam/topology_description.js | 360 +
.../lib/sdam/topology_description.js.map | 1 +
.../node_modules/mongodb/lib/sessions.js | 738 ++
.../node_modules/mongodb/lib/sessions.js.map | 1 +
.../node_modules/mongodb/lib/sort.js | 97 +
.../node_modules/mongodb/lib/sort.js.map | 1 +
.../node_modules/mongodb/lib/transactions.js | 138 +
.../mongodb/lib/transactions.js.map | 1 +
.../node_modules/mongodb/lib/utils.js | 1055 +++
.../node_modules/mongodb/lib/utils.js.map | 1 +
.../node_modules/mongodb/lib/write_concern.js | 71 +
.../mongodb/lib/write_concern.js.map | 1 +
.../node_modules/mongodb/mongodb.d.ts | 6239 +++++++++++++++++
.../node_modules/mongodb/package.json | 156 +
.../node_modules/mongodb/src/admin.ts | 174 +
.../node_modules/mongodb/src/bson.ts | 117 +
.../node_modules/mongodb/src/bulk/common.ts | 1282 ++++
.../node_modules/mongodb/src/bulk/ordered.ts | 83 +
.../mongodb/src/bulk/unordered.ts | 110 +
.../node_modules/mongodb/src/change_stream.ts | 958 +++
.../mongodb/src/cmap/auth/auth_provider.ts | 60 +
.../mongodb/src/cmap/auth/gssapi.ts | 239 +
.../src/cmap/auth/mongo_credentials.ts | 236 +
.../mongodb/src/cmap/auth/mongocr.ts | 47 +
.../mongodb/src/cmap/auth/mongodb_aws.ts | 336 +
.../mongodb/src/cmap/auth/mongodb_oidc.ts | 39 +
.../mongodb/src/cmap/auth/plain.ts | 25 +
.../mongodb/src/cmap/auth/providers.ts | 24 +
.../mongodb/src/cmap/auth/scram.ts | 384 +
.../mongodb/src/cmap/auth/x509.ts | 53 +
.../src/cmap/command_monitoring_events.ts | 301 +
.../node_modules/mongodb/src/cmap/commands.ts | 712 ++
.../node_modules/mongodb/src/cmap/connect.ts | 523 ++
.../mongodb/src/cmap/connection.ts | 743 ++
.../mongodb/src/cmap/connection_pool.ts | 841 +++
.../src/cmap/connection_pool_events.ts | 201 +
.../node_modules/mongodb/src/cmap/errors.ts | 75 +
.../mongodb/src/cmap/message_stream.ts | 230 +
.../node_modules/mongodb/src/cmap/metrics.ts | 58 +
.../mongodb/src/cmap/stream_description.ts | 76 +
.../src/cmap/wire_protocol/compression.ts | 104 +
.../src/cmap/wire_protocol/constants.ts | 11 +
.../mongodb/src/cmap/wire_protocol/shared.ts | 76 +
.../node_modules/mongodb/src/collection.ts | 983 +++
.../mongodb/src/connection_string.ts | 1301 ++++
.../node_modules/mongodb/src/constants.ts | 136 +
.../mongodb/src/cursor/abstract_cursor.ts | 927 +++
.../mongodb/src/cursor/aggregation_cursor.ts | 208 +
.../src/cursor/change_stream_cursor.ts | 194 +
.../mongodb/src/cursor/find_cursor.ts | 456 ++
.../src/cursor/list_collections_cursor.ts | 52 +
.../mongodb/src/cursor/list_indexes_cursor.ts | 41 +
.../node_modules/mongodb/src/db.ts | 524 ++
.../node_modules/mongodb/src/deps.ts | 394 ++
.../node_modules/mongodb/src/encrypter.ts | 131 +
.../node_modules/mongodb/src/error.ts | 932 +++
.../node_modules/mongodb/src/explain.ts | 52 +
.../mongodb/src/gridfs/download.ts | 474 ++
.../node_modules/mongodb/src/gridfs/index.ts | 209 +
.../node_modules/mongodb/src/gridfs/upload.ts | 523 ++
.../node_modules/mongodb/src/index.ts | 472 ++
.../node_modules/mongodb/src/mongo_client.ts | 729 ++
.../node_modules/mongodb/src/mongo_logger.ts | 201 +
.../node_modules/mongodb/src/mongo_types.ts | 561 ++
.../mongodb/src/operations/add_user.ts | 118 +
.../mongodb/src/operations/aggregate.ts | 144 +
.../mongodb/src/operations/bulk_write.ts | 62 +
.../mongodb/src/operations/collections.ts | 50 +
.../mongodb/src/operations/command.ts | 159 +
.../src/operations/common_functions.ts | 105 +
.../mongodb/src/operations/count.ts | 68 +
.../mongodb/src/operations/count_documents.ts | 57 +
.../src/operations/create_collection.ts | 201 +
.../mongodb/src/operations/delete.ts | 174 +
.../mongodb/src/operations/distinct.ts | 90 +
.../mongodb/src/operations/drop.ts | 120 +
.../operations/estimated_document_count.ts | 62 +
.../mongodb/src/operations/eval.ts | 82 +
.../src/operations/execute_operation.ts | 287 +
.../mongodb/src/operations/find.ts | 272 +
.../mongodb/src/operations/find_and_modify.ts | 286 +
.../mongodb/src/operations/get_more.ts | 106 +
.../mongodb/src/operations/indexes.ts | 518 ++
.../mongodb/src/operations/insert.ts | 158 +
.../mongodb/src/operations/is_capped.ts | 44 +
.../mongodb/src/operations/kill_cursors.ts | 53 +
.../src/operations/list_collections.ts | 99 +
.../mongodb/src/operations/list_databases.ts | 65 +
.../mongodb/src/operations/operation.ts | 139 +
.../src/operations/options_operation.ts | 45 +
.../mongodb/src/operations/profiling_level.ts | 39 +
.../mongodb/src/operations/remove_user.ts | 33 +
.../mongodb/src/operations/rename.ts | 67 +
.../mongodb/src/operations/run_command.ts | 36 +
.../src/operations/set_profiling_level.ts | 74 +
.../mongodb/src/operations/stats.ts | 271 +
.../mongodb/src/operations/update.ts | 306 +
.../src/operations/validate_collection.ts | 59 +
.../node_modules/mongodb/src/read_concern.ts | 88 +
.../mongodb/src/read_preference.ts | 262 +
.../node_modules/mongodb/src/sdam/common.ts | 79 +
.../node_modules/mongodb/src/sdam/events.ts | 182 +
.../node_modules/mongodb/src/sdam/monitor.ts | 595 ++
.../node_modules/mongodb/src/sdam/server.ts | 563 ++
.../mongodb/src/sdam/server_description.ts | 262 +
.../mongodb/src/sdam/server_selection.ts | 324 +
.../mongodb/src/sdam/srv_polling.ts | 157 +
.../node_modules/mongodb/src/sdam/topology.ts | 1011 +++
.../mongodb/src/sdam/topology_description.ts | 511 ++
.../node_modules/mongodb/src/sessions.ts | 1044 +++
.../node_modules/mongodb/src/sort.ts | 132 +
.../node_modules/mongodb/src/transactions.ts | 188 +
.../node_modules/mongodb/src/utils.ts | 1353 ++++
.../node_modules/mongodb/src/write_concern.ts | 114 +
.../node_modules/mongodb/tsconfig.json | 46 +
.../node_modules/punycode/LICENSE-MIT.txt | 20 +
.../node_modules/punycode/README.md | 126 +
.../node_modules/punycode/package.json | 58 +
.../node_modules/punycode/punycode.es6.js | 444 ++
.../node_modules/punycode/punycode.js | 443 ++
.../node_modules/saslprep/.editorconfig | 10 +
.../node_modules/saslprep/.gitattributes | 1 +
.../node_modules/saslprep/.travis.yml | 10 +
.../node_modules/saslprep/CHANGELOG.md | 19 +
.../node_modules/saslprep/LICENSE | 22 +
.../node_modules/saslprep/code-points.mem | Bin 0 -> 419864 bytes
.../saslprep/generate-code-points.js | 51 +
.../node_modules/saslprep/index.js | 157 +
.../node_modules/saslprep/lib/code-points.js | 996 +++
.../saslprep/lib/memory-code-points.js | 39 +
.../node_modules/saslprep/lib/util.js | 21 +
.../node_modules/saslprep/package.json | 72 +
.../node_modules/saslprep/readme.md | 31 +
.../node_modules/saslprep/test/index.js | 76 +
.../node_modules/saslprep/test/util.js | 16 +
.../socks/build/client/socksclient.js | 8 +-
.../socks/build/client/socksclient.js.map | 2 +-
.../node_modules/socks/package.json | 2 +-
.../node_modules/sparse-bitfield/.npmignore | 1 +
.../node_modules/sparse-bitfield/.travis.yml | 6 +
.../node_modules/sparse-bitfield/LICENSE | 21 +
.../node_modules/sparse-bitfield/README.md | 62 +
.../node_modules/sparse-bitfield/index.js | 95 +
.../node_modules/sparse-bitfield/package.json | 27 +
.../node_modules/sparse-bitfield/test.js | 79 +
.../node_modules/tr46/LICENSE.md | 21 +
.../node_modules/tr46/README.md | 78 +
.../node_modules/tr46/index.js | 298 +
.../node_modules/tr46/lib/mappingTable.json | 1 +
.../node_modules/tr46/lib/regexes.js | 29 +
.../node_modules/tr46/lib/statusMapping.js | 11 +
.../node_modules/tr46/package.json | 47 +
.../webidl-conversions/LICENSE.md | 12 +
.../node_modules/webidl-conversions/README.md | 99 +
.../webidl-conversions/lib/index.js | 450 ++
.../webidl-conversions/package.json | 35 +
.../node_modules/whatwg-url/LICENSE.txt | 21 +
.../node_modules/whatwg-url/README.md | 106 +
.../node_modules/whatwg-url/index.js | 27 +
.../node_modules/whatwg-url/lib/Function.js | 42 +
.../node_modules/whatwg-url/lib/URL-impl.js | 209 +
.../node_modules/whatwg-url/lib/URL.js | 442 ++
.../whatwg-url/lib/URLSearchParams-impl.js | 130 +
.../whatwg-url/lib/URLSearchParams.js | 472 ++
.../whatwg-url/lib/VoidFunction.js | 26 +
.../node_modules/whatwg-url/lib/encoding.js | 16 +
.../node_modules/whatwg-url/lib/infra.js | 26 +
.../whatwg-url/lib/percent-encoding.js | 142 +
.../whatwg-url/lib/url-state-machine.js | 1244 ++++
.../node_modules/whatwg-url/lib/urlencoded.js | 106 +
.../node_modules/whatwg-url/lib/utils.js | 190 +
.../node_modules/whatwg-url/package.json | 58 +
.../whatwg-url/webidl2js-wrapper.js | 7 +
1_ActivityWatchProducer/package-lock.json | 252 +-
1_ActivityWatchProducer/package.json | 3 +-
2_PAC/Apps/OpAdapter.js | 11 +-
.../PacFactory/MongoDbClient.js | 65 +
.../PacFactory/OpenProjectClient.js | 10 +
.../PacFactory/SupersetClient.js | 35 +
2_PAC/node_modules/.package-lock.json | 1981 +++++-
2_PAC/node_modules/@types/node/LICENSE | 21 +
2_PAC/node_modules/@types/node/README.md | 16 +
2_PAC/node_modules/@types/node/assert.d.ts | 961 +++
.../@types/node/assert/strict.d.ts | 8 +
.../node_modules/@types/node/async_hooks.d.ts | 513 ++
2_PAC/node_modules/@types/node/buffer.d.ts | 2258 ++++++
.../@types/node/child_process.d.ts | 1369 ++++
2_PAC/node_modules/@types/node/cluster.d.ts | 410 ++
2_PAC/node_modules/@types/node/console.d.ts | 412 ++
2_PAC/node_modules/@types/node/constants.d.ts | 18 +
2_PAC/node_modules/@types/node/crypto.d.ts | 3964 +++++++++++
2_PAC/node_modules/@types/node/dgram.d.ts | 545 ++
.../@types/node/diagnostics_channel.d.ts | 153 +
2_PAC/node_modules/@types/node/dns.d.ts | 659 ++
.../@types/node/dns/promises.d.ts | 370 +
.../node_modules/@types/node/dom-events.d.ts | 126 +
2_PAC/node_modules/@types/node/domain.d.ts | 170 +
2_PAC/node_modules/@types/node/events.d.ts | 678 ++
2_PAC/node_modules/@types/node/fs.d.ts | 3872 ++++++++++
.../node_modules/@types/node/fs/promises.d.ts | 1138 +++
2_PAC/node_modules/@types/node/globals.d.ts | 300 +
.../@types/node/globals.global.d.ts | 1 +
2_PAC/node_modules/@types/node/http.d.ts | 1651 +++++
2_PAC/node_modules/@types/node/http2.d.ts | 2134 ++++++
2_PAC/node_modules/@types/node/https.d.ts | 542 ++
2_PAC/node_modules/@types/node/index.d.ts | 134 +
2_PAC/node_modules/@types/node/inspector.d.ts | 2741 ++++++++
2_PAC/node_modules/@types/node/module.d.ts | 115 +
2_PAC/node_modules/@types/node/net.d.ts | 877 +++
2_PAC/node_modules/@types/node/os.d.ts | 466 ++
2_PAC/node_modules/@types/node/package.json | 237 +
2_PAC/node_modules/@types/node/path.d.ts | 191 +
.../node_modules/@types/node/perf_hooks.d.ts | 625 ++
2_PAC/node_modules/@types/node/process.d.ts | 1482 ++++
2_PAC/node_modules/@types/node/punycode.d.ts | 117 +
.../node_modules/@types/node/querystring.d.ts | 131 +
2_PAC/node_modules/@types/node/readline.d.ts | 653 ++
.../@types/node/readline/promises.d.ts | 143 +
2_PAC/node_modules/@types/node/repl.d.ts | 424 ++
2_PAC/node_modules/@types/node/stream.d.ts | 1340 ++++
.../@types/node/stream/consumers.d.ts | 12 +
.../@types/node/stream/promises.d.ts | 42 +
.../node_modules/@types/node/stream/web.d.ts | 330 +
.../@types/node/string_decoder.d.ts | 67 +
2_PAC/node_modules/@types/node/test.d.ts | 455 ++
2_PAC/node_modules/@types/node/timers.d.ts | 94 +
.../@types/node/timers/promises.d.ts | 93 +
2_PAC/node_modules/@types/node/tls.d.ts | 1107 +++
.../@types/node/trace_events.d.ts | 171 +
.../@types/node/ts4.8/assert.d.ts | 961 +++
.../@types/node/ts4.8/assert/strict.d.ts | 8 +
.../@types/node/ts4.8/async_hooks.d.ts | 513 ++
.../@types/node/ts4.8/buffer.d.ts | 2259 ++++++
.../@types/node/ts4.8/child_process.d.ts | 1369 ++++
.../@types/node/ts4.8/cluster.d.ts | 410 ++
.../@types/node/ts4.8/console.d.ts | 412 ++
.../@types/node/ts4.8/constants.d.ts | 18 +
.../@types/node/ts4.8/crypto.d.ts | 3964 +++++++++++
.../node_modules/@types/node/ts4.8/dgram.d.ts | 545 ++
.../node/ts4.8/diagnostics_channel.d.ts | 153 +
2_PAC/node_modules/@types/node/ts4.8/dns.d.ts | 659 ++
.../@types/node/ts4.8/dns/promises.d.ts | 370 +
.../@types/node/ts4.8/dom-events.d.ts | 126 +
.../@types/node/ts4.8/domain.d.ts | 170 +
.../@types/node/ts4.8/events.d.ts | 678 ++
2_PAC/node_modules/@types/node/ts4.8/fs.d.ts | 3872 ++++++++++
.../@types/node/ts4.8/fs/promises.d.ts | 1138 +++
.../@types/node/ts4.8/globals.d.ts | 294 +
.../@types/node/ts4.8/globals.global.d.ts | 1 +
.../node_modules/@types/node/ts4.8/http.d.ts | 1651 +++++
.../node_modules/@types/node/ts4.8/http2.d.ts | 2134 ++++++
.../node_modules/@types/node/ts4.8/https.d.ts | 542 ++
.../node_modules/@types/node/ts4.8/index.d.ts | 88 +
.../@types/node/ts4.8/inspector.d.ts | 2741 ++++++++
.../@types/node/ts4.8/module.d.ts | 115 +
2_PAC/node_modules/@types/node/ts4.8/net.d.ts | 877 +++
2_PAC/node_modules/@types/node/ts4.8/os.d.ts | 466 ++
.../node_modules/@types/node/ts4.8/path.d.ts | 191 +
.../@types/node/ts4.8/perf_hooks.d.ts | 625 ++
.../@types/node/ts4.8/process.d.ts | 1482 ++++
.../@types/node/ts4.8/punycode.d.ts | 117 +
.../@types/node/ts4.8/querystring.d.ts | 131 +
.../@types/node/ts4.8/readline.d.ts | 653 ++
.../@types/node/ts4.8/readline/promises.d.ts | 143 +
.../node_modules/@types/node/ts4.8/repl.d.ts | 424 ++
.../@types/node/ts4.8/stream.d.ts | 1340 ++++
.../@types/node/ts4.8/stream/consumers.d.ts | 12 +
.../@types/node/ts4.8/stream/promises.d.ts | 42 +
.../@types/node/ts4.8/stream/web.d.ts | 330 +
.../@types/node/ts4.8/string_decoder.d.ts | 67 +
.../node_modules/@types/node/ts4.8/test.d.ts | 446 ++
.../@types/node/ts4.8/timers.d.ts | 94 +
.../@types/node/ts4.8/timers/promises.d.ts | 93 +
2_PAC/node_modules/@types/node/ts4.8/tls.d.ts | 1107 +++
.../@types/node/ts4.8/trace_events.d.ts | 171 +
2_PAC/node_modules/@types/node/ts4.8/tty.d.ts | 206 +
2_PAC/node_modules/@types/node/ts4.8/url.d.ts | 897 +++
.../node_modules/@types/node/ts4.8/util.d.ts | 2011 ++++++
2_PAC/node_modules/@types/node/ts4.8/v8.d.ts | 396 ++
2_PAC/node_modules/@types/node/ts4.8/vm.d.ts | 509 ++
.../node_modules/@types/node/ts4.8/wasi.d.ts | 158 +
.../@types/node/ts4.8/worker_threads.d.ts | 689 ++
.../node_modules/@types/node/ts4.8/zlib.d.ts | 517 ++
2_PAC/node_modules/@types/node/tty.d.ts | 206 +
2_PAC/node_modules/@types/node/url.d.ts | 897 +++
2_PAC/node_modules/@types/node/util.d.ts | 2011 ++++++
2_PAC/node_modules/@types/node/v8.d.ts | 396 ++
2_PAC/node_modules/@types/node/vm.d.ts | 509 ++
2_PAC/node_modules/@types/node/wasi.d.ts | 158 +
.../@types/node/worker_threads.d.ts | 689 ++
2_PAC/node_modules/@types/node/zlib.d.ts | 517 ++
.../@types/webidl-conversions/LICENSE | 21 +
.../@types/webidl-conversions/README.md | 16 +
.../@types/webidl-conversions/index.d.ts | 97 +
.../@types/webidl-conversions/package.json | 30 +
2_PAC/node_modules/@types/whatwg-url/LICENSE | 21 +
.../node_modules/@types/whatwg-url/README.md | 16 +
.../@types/whatwg-url/dist/URL-impl.d.ts | 23 +
.../@types/whatwg-url/dist/URL.d.ts | 76 +
.../whatwg-url/dist/URLSearchParams-impl.d.ts | 23 +
.../whatwg-url/dist/URLSearchParams.d.ts | 91 +
.../node_modules/@types/whatwg-url/index.d.ts | 162 +
.../@types/whatwg-url/package.json | 33 +
.../@types/whatwg-url/webidl2js-wrapper.d.ts | 4 +
2_PAC/node_modules/bson/LICENSE.md | 201 +
2_PAC/node_modules/bson/README.md | 368 +
2_PAC/node_modules/bson/bson.d.ts | 1204 ++++
2_PAC/node_modules/bson/etc/prepare.js | 19 +
2_PAC/node_modules/bson/lib/bson.bundle.js | 4072 +++++++++++
.../node_modules/bson/lib/bson.bundle.js.map | 1 +
2_PAC/node_modules/bson/lib/bson.cjs | 4067 +++++++++++
2_PAC/node_modules/bson/lib/bson.cjs.map | 1 +
2_PAC/node_modules/bson/lib/bson.mjs | 4040 +++++++++++
2_PAC/node_modules/bson/lib/bson.mjs.map | 1 +
2_PAC/node_modules/bson/package.json | 103 +
2_PAC/node_modules/bson/src/binary.ts | 485 ++
2_PAC/node_modules/bson/src/bson.ts | 250 +
2_PAC/node_modules/bson/src/bson_value.ts | 18 +
2_PAC/node_modules/bson/src/code.ts | 69 +
2_PAC/node_modules/bson/src/constants.ts | 141 +
2_PAC/node_modules/bson/src/db_ref.ts | 127 +
2_PAC/node_modules/bson/src/decimal128.ts | 777 ++
2_PAC/node_modules/bson/src/double.ts | 83 +
2_PAC/node_modules/bson/src/error.ts | 60 +
2_PAC/node_modules/bson/src/extended_json.ts | 488 ++
2_PAC/node_modules/bson/src/index.ts | 19 +
2_PAC/node_modules/bson/src/int_32.ts | 70 +
2_PAC/node_modules/bson/src/long.ts | 1064 +++
2_PAC/node_modules/bson/src/max_key.ts | 36 +
2_PAC/node_modules/bson/src/min_key.ts | 36 +
2_PAC/node_modules/bson/src/objectid.ts | 317 +
.../bson/src/parser/calculate_size.ts | 211 +
.../bson/src/parser/deserializer.ts | 726 ++
.../bson/src/parser/serializer.ts | 988 +++
2_PAC/node_modules/bson/src/parser/utils.ts | 29 +
2_PAC/node_modules/bson/src/regexp.ts | 114 +
2_PAC/node_modules/bson/src/symbol.ts | 58 +
2_PAC/node_modules/bson/src/timestamp.ts | 150 +
.../node_modules/bson/src/utils/byte_utils.ts | 61 +
.../bson/src/utils/node_byte_utils.ts | 141 +
.../bson/src/utils/web_byte_utils.ts | 190 +
2_PAC/node_modules/bson/src/uuid_utils.ts | 33 +
2_PAC/node_modules/bson/src/validate_utf8.ts | 47 +
2_PAC/node_modules/ip/README.md | 90 +
2_PAC/node_modules/ip/lib/ip.js | 422 ++
2_PAC/node_modules/ip/package.json | 25 +
2_PAC/node_modules/memory-pager/.travis.yml | 4 +
2_PAC/node_modules/memory-pager/LICENSE | 21 +
2_PAC/node_modules/memory-pager/README.md | 65 +
2_PAC/node_modules/memory-pager/index.js | 160 +
2_PAC/node_modules/memory-pager/package.json | 24 +
2_PAC/node_modules/memory-pager/test.js | 80 +
.../.esm-wrapper.mjs | 6 +
.../mongodb-connection-string-url/LICENSE | 192 +
.../mongodb-connection-string-url/README.md | 25 +
.../lib/index.d.ts | 62 +
.../lib/index.js | 213 +
.../lib/index.js.map | 1 +
.../lib/redact.d.ts | 7 +
.../lib/redact.js | 86 +
.../lib/redact.js.map | 1 +
.../node_modules/tr46/LICENSE.md | 21 +
.../node_modules/tr46/README.md | 78 +
.../node_modules/tr46/index.js | 298 +
.../node_modules/tr46/lib/mappingTable.json | 1 +
.../node_modules/tr46/lib/regexes.js | 29 +
.../node_modules/tr46/lib/statusMapping.js | 11 +
.../node_modules/tr46/package.json | 47 +
.../webidl-conversions/LICENSE.md | 12 +
.../node_modules/webidl-conversions/README.md | 99 +
.../webidl-conversions/lib/index.js | 450 ++
.../webidl-conversions/package.json | 35 +
.../node_modules/whatwg-url/LICENSE.txt | 21 +
.../node_modules/whatwg-url/README.md | 106 +
.../node_modules/whatwg-url/index.js | 27 +
.../node_modules/whatwg-url/lib/Function.js | 42 +
.../node_modules/whatwg-url/lib/URL-impl.js | 209 +
.../node_modules/whatwg-url/lib/URL.js | 442 ++
.../whatwg-url/lib/URLSearchParams-impl.js | 130 +
.../whatwg-url/lib/URLSearchParams.js | 472 ++
.../whatwg-url/lib/VoidFunction.js | 26 +
.../node_modules/whatwg-url/lib/encoding.js | 16 +
.../node_modules/whatwg-url/lib/infra.js | 26 +
.../whatwg-url/lib/percent-encoding.js | 142 +
.../whatwg-url/lib/url-state-machine.js | 1244 ++++
.../node_modules/whatwg-url/lib/urlencoded.js | 106 +
.../node_modules/whatwg-url/lib/utils.js | 190 +
.../node_modules/whatwg-url/package.json | 58 +
.../whatwg-url/webidl2js-wrapper.js | 7 +
.../package.json | 62 +
2_PAC/node_modules/mongodb/LICENSE.md | 201 +
2_PAC/node_modules/mongodb/README.md | 295 +
2_PAC/node_modules/mongodb/etc/prepare.js | 12 +
2_PAC/node_modules/mongodb/lib/admin.js | 131 +
2_PAC/node_modules/mongodb/lib/admin.js.map | 1 +
2_PAC/node_modules/mongodb/lib/bson.js | 59 +
2_PAC/node_modules/mongodb/lib/bson.js.map | 1 +
2_PAC/node_modules/mongodb/lib/bulk/common.js | 874 +++
.../mongodb/lib/bulk/common.js.map | 1 +
.../node_modules/mongodb/lib/bulk/ordered.js | 67 +
.../mongodb/lib/bulk/ordered.js.map | 1 +
.../mongodb/lib/bulk/unordered.js | 92 +
.../mongodb/lib/bulk/unordered.js.map | 1 +
.../node_modules/mongodb/lib/change_stream.js | 396 ++
.../mongodb/lib/change_stream.js.map | 1 +
.../mongodb/lib/cmap/auth/auth_provider.js | 36 +
.../lib/cmap/auth/auth_provider.js.map | 1 +
.../mongodb/lib/cmap/auth/gssapi.js | 188 +
.../mongodb/lib/cmap/auth/gssapi.js.map | 1 +
.../lib/cmap/auth/mongo_credentials.js | 126 +
.../lib/cmap/auth/mongo_credentials.js.map | 1 +
.../mongodb/lib/cmap/auth/mongocr.js | 44 +
.../mongodb/lib/cmap/auth/mongocr.js.map | 1 +
.../mongodb/lib/cmap/auth/mongodb_aws.js | 237 +
.../mongodb/lib/cmap/auth/mongodb_aws.js.map | 1 +
.../mongodb/lib/cmap/auth/plain.js | 27 +
.../mongodb/lib/cmap/auth/plain.js.map | 1 +
.../mongodb/lib/cmap/auth/providers.js | 21 +
.../mongodb/lib/cmap/auth/providers.js.map | 1 +
.../mongodb/lib/cmap/auth/scram.js | 288 +
.../mongodb/lib/cmap/auth/scram.js.map | 1 +
.../mongodb/lib/cmap/auth/x509.js | 39 +
.../mongodb/lib/cmap/auth/x509.js.map | 1 +
.../lib/cmap/command_monitoring_events.js | 242 +
.../lib/cmap/command_monitoring_events.js.map | 1 +
.../node_modules/mongodb/lib/cmap/commands.js | 479 ++
.../mongodb/lib/cmap/commands.js.map | 1 +
.../node_modules/mongodb/lib/cmap/connect.js | 394 ++
.../mongodb/lib/cmap/connect.js.map | 1 +
.../mongodb/lib/cmap/connection.js | 498 ++
.../mongodb/lib/cmap/connection.js.map | 1 +
.../mongodb/lib/cmap/connection_pool.js | 591 ++
.../mongodb/lib/cmap/connection_pool.js.map | 1 +
.../lib/cmap/connection_pool_events.js | 160 +
.../lib/cmap/connection_pool_events.js.map | 1 +
2_PAC/node_modules/mongodb/lib/cmap/errors.js | 64 +
.../mongodb/lib/cmap/errors.js.map | 1 +
.../mongodb/lib/cmap/message_stream.js | 156 +
.../mongodb/lib/cmap/message_stream.js.map | 1 +
.../node_modules/mongodb/lib/cmap/metrics.js | 62 +
.../mongodb/lib/cmap/metrics.js.map | 1 +
.../mongodb/lib/cmap/stream_description.js | 51 +
.../lib/cmap/stream_description.js.map | 1 +
.../lib/cmap/wire_protocol/compression.js | 81 +
.../lib/cmap/wire_protocol/compression.js.map | 1 +
.../lib/cmap/wire_protocol/constants.js | 15 +
.../lib/cmap/wire_protocol/constants.js.map | 1 +
.../mongodb/lib/cmap/wire_protocol/shared.js | 55 +
.../lib/cmap/wire_protocol/shared.js.map | 1 +
2_PAC/node_modules/mongodb/lib/collection.js | 576 ++
.../mongodb/lib/collection.js.map | 1 +
.../mongodb/lib/connection_string.js | 1086 +++
.../mongodb/lib/connection_string.js.map | 1 +
2_PAC/node_modules/mongodb/lib/constants.js | 131 +
.../node_modules/mongodb/lib/constants.js.map | 1 +
.../mongodb/lib/cursor/abstract_cursor.js | 672 ++
.../mongodb/lib/cursor/abstract_cursor.js.map | 1 +
.../mongodb/lib/cursor/aggregation_cursor.js | 168 +
.../lib/cursor/aggregation_cursor.js.map | 1 +
.../lib/cursor/change_stream_cursor.js | 115 +
.../lib/cursor/change_stream_cursor.js.map | 1 +
.../mongodb/lib/cursor/find_cursor.js | 381 +
.../mongodb/lib/cursor/find_cursor.js.map | 1 +
.../lib/cursor/list_collections_cursor.js | 37 +
.../lib/cursor/list_collections_cursor.js.map | 1 +
.../mongodb/lib/cursor/list_indexes_cursor.js | 36 +
.../lib/cursor/list_indexes_cursor.js.map | 1 +
2_PAC/node_modules/mongodb/lib/db.js | 348 +
2_PAC/node_modules/mongodb/lib/db.js.map | 1 +
2_PAC/node_modules/mongodb/lib/deps.js | 69 +
2_PAC/node_modules/mongodb/lib/deps.js.map | 1 +
2_PAC/node_modules/mongodb/lib/encrypter.js | 103 +
.../node_modules/mongodb/lib/encrypter.js.map | 1 +
2_PAC/node_modules/mongodb/lib/error.js | 801 +++
2_PAC/node_modules/mongodb/lib/error.js.map | 1 +
2_PAC/node_modules/mongodb/lib/explain.js | 35 +
2_PAC/node_modules/mongodb/lib/explain.js.map | 1 +
.../mongodb/lib/gridfs/download.js | 313 +
.../mongodb/lib/gridfs/download.js.map | 1 +
.../node_modules/mongodb/lib/gridfs/index.js | 128 +
.../mongodb/lib/gridfs/index.js.map | 1 +
.../node_modules/mongodb/lib/gridfs/upload.js | 342 +
.../mongodb/lib/gridfs/upload.js.map | 1 +
2_PAC/node_modules/mongodb/lib/index.js | 161 +
2_PAC/node_modules/mongodb/lib/index.js.map | 1 +
.../node_modules/mongodb/lib/mongo_client.js | 292 +
.../mongodb/lib/mongo_client.js.map | 1 +
.../node_modules/mongodb/lib/mongo_logger.js | 113 +
.../mongodb/lib/mongo_logger.js.map | 1 +
2_PAC/node_modules/mongodb/lib/mongo_types.js | 17 +
.../mongodb/lib/mongo_types.js.map | 1 +
.../mongodb/lib/operations/add_user.js | 74 +
.../mongodb/lib/operations/add_user.js.map | 1 +
.../mongodb/lib/operations/aggregate.js | 88 +
.../mongodb/lib/operations/aggregate.js.map | 1 +
.../mongodb/lib/operations/bulk_write.js | 36 +
.../mongodb/lib/operations/bulk_write.js.map | 1 +
.../mongodb/lib/operations/collections.js | 32 +
.../mongodb/lib/operations/collections.js.map | 1 +
.../mongodb/lib/operations/command.js | 78 +
.../mongodb/lib/operations/command.js.map | 1 +
.../lib/operations/common_functions.js | 69 +
.../lib/operations/common_functions.js.map | 1 +
.../mongodb/lib/operations/count.js | 39 +
.../mongodb/lib/operations/count.js.map | 1 +
.../mongodb/lib/operations/count_documents.js | 37 +
.../lib/operations/count_documents.js.map | 1 +
.../lib/operations/create_collection.js | 100 +
.../lib/operations/create_collection.js.map | 1 +
.../mongodb/lib/operations/delete.js | 119 +
.../mongodb/lib/operations/delete.js.map | 1 +
.../mongodb/lib/operations/distinct.js | 67 +
.../mongodb/lib/operations/distinct.js.map | 1 +
.../mongodb/lib/operations/drop.js | 83 +
.../mongodb/lib/operations/drop.js.map | 1 +
.../operations/estimated_document_count.js | 38 +
.../estimated_document_count.js.map | 1 +
.../mongodb/lib/operations/eval.js | 55 +
.../mongodb/lib/operations/eval.js.map | 1 +
.../lib/operations/execute_operation.js | 181 +
.../lib/operations/execute_operation.js.map | 1 +
.../mongodb/lib/operations/find.js | 155 +
.../mongodb/lib/operations/find.js.map | 1 +
.../mongodb/lib/operations/find_and_modify.js | 151 +
.../lib/operations/find_and_modify.js.map | 1 +
.../mongodb/lib/operations/get_more.js | 58 +
.../mongodb/lib/operations/get_more.js.map | 1 +
.../mongodb/lib/operations/indexes.js | 269 +
.../mongodb/lib/operations/indexes.js.map | 1 +
.../mongodb/lib/operations/insert.js | 95 +
.../mongodb/lib/operations/insert.js.map | 1 +
.../mongodb/lib/operations/is_capped.js | 28 +
.../mongodb/lib/operations/is_capped.js.map | 1 +
.../mongodb/lib/operations/kill_cursors.js | 32 +
.../lib/operations/kill_cursors.js.map | 1 +
.../lib/operations/list_collections.js | 46 +
.../lib/operations/list_collections.js.map | 1 +
.../mongodb/lib/operations/list_databases.js | 35 +
.../lib/operations/list_databases.js.map | 1 +
.../mongodb/lib/operations/operation.js | 73 +
.../mongodb/lib/operations/operation.js.map | 1 +
.../lib/operations/options_operation.js | 28 +
.../lib/operations/options_operation.js.map | 1 +
.../mongodb/lib/operations/profiling_level.js | 33 +
.../lib/operations/profiling_level.js.map | 1 +
.../mongodb/lib/operations/remove_user.js | 21 +
.../mongodb/lib/operations/remove_user.js.map | 1 +
.../mongodb/lib/operations/rename.js | 46 +
.../mongodb/lib/operations/rename.js.map | 1 +
.../mongodb/lib/operations/run_command.js | 26 +
.../mongodb/lib/operations/run_command.js.map | 1 +
.../lib/operations/set_profiling_level.js | 51 +
.../lib/operations/set_profiling_level.js.map | 1 +
.../mongodb/lib/operations/stats.js | 48 +
.../mongodb/lib/operations/stats.js.map | 1 +
.../mongodb/lib/operations/update.js | 183 +
.../mongodb/lib/operations/update.js.map | 1 +
.../lib/operations/validate_collection.js | 41 +
.../lib/operations/validate_collection.js.map | 1 +
.../node_modules/mongodb/lib/read_concern.js | 73 +
.../mongodb/lib/read_concern.js.map | 1 +
.../mongodb/lib/read_preference.js | 195 +
.../mongodb/lib/read_preference.js.map | 1 +
2_PAC/node_modules/mongodb/lib/sdam/common.js | 56 +
.../mongodb/lib/sdam/common.js.map | 1 +
2_PAC/node_modules/mongodb/lib/sdam/events.js | 125 +
.../mongodb/lib/sdam/events.js.map | 1 +
.../node_modules/mongodb/lib/sdam/monitor.js | 416 ++
.../mongodb/lib/sdam/monitor.js.map | 1 +
2_PAC/node_modules/mongodb/lib/sdam/server.js | 367 +
.../mongodb/lib/sdam/server.js.map | 1 +
.../mongodb/lib/sdam/server_description.js | 189 +
.../lib/sdam/server_description.js.map | 1 +
.../mongodb/lib/sdam/server_selection.js | 226 +
.../mongodb/lib/sdam/server_selection.js.map | 1 +
.../mongodb/lib/sdam/srv_polling.js | 117 +
.../mongodb/lib/sdam/srv_polling.js.map | 1 +
.../node_modules/mongodb/lib/sdam/topology.js | 643 ++
.../mongodb/lib/sdam/topology.js.map | 1 +
.../mongodb/lib/sdam/topology_description.js | 360 +
.../lib/sdam/topology_description.js.map | 1 +
2_PAC/node_modules/mongodb/lib/sessions.js | 737 ++
.../node_modules/mongodb/lib/sessions.js.map | 1 +
2_PAC/node_modules/mongodb/lib/sort.js | 97 +
2_PAC/node_modules/mongodb/lib/sort.js.map | 1 +
.../node_modules/mongodb/lib/transactions.js | 138 +
.../mongodb/lib/transactions.js.map | 1 +
2_PAC/node_modules/mongodb/lib/utils.js | 1055 +++
2_PAC/node_modules/mongodb/lib/utils.js.map | 1 +
.../node_modules/mongodb/lib/write_concern.js | 71 +
.../mongodb/lib/write_concern.js.map | 1 +
2_PAC/node_modules/mongodb/mongodb.d.ts | 6203 ++++++++++++++++
2_PAC/node_modules/mongodb/package.json | 155 +
2_PAC/node_modules/mongodb/src/admin.ts | 174 +
2_PAC/node_modules/mongodb/src/bson.ts | 115 +
2_PAC/node_modules/mongodb/src/bulk/common.ts | 1282 ++++
.../node_modules/mongodb/src/bulk/ordered.ts | 83 +
.../mongodb/src/bulk/unordered.ts | 110 +
.../node_modules/mongodb/src/change_stream.ts | 950 +++
.../mongodb/src/cmap/auth/auth_provider.ts | 60 +
.../mongodb/src/cmap/auth/gssapi.ts | 239 +
.../src/cmap/auth/mongo_credentials.ts | 181 +
.../mongodb/src/cmap/auth/mongocr.ts | 47 +
.../mongodb/src/cmap/auth/mongodb_aws.ts | 335 +
.../mongodb/src/cmap/auth/plain.ts | 25 +
.../mongodb/src/cmap/auth/providers.ts | 21 +
.../mongodb/src/cmap/auth/scram.ts | 384 +
.../mongodb/src/cmap/auth/x509.ts | 53 +
.../src/cmap/command_monitoring_events.ts | 301 +
.../node_modules/mongodb/src/cmap/commands.ts | 702 ++
.../node_modules/mongodb/src/cmap/connect.ts | 523 ++
.../mongodb/src/cmap/connection.ts | 753 ++
.../mongodb/src/cmap/connection_pool.ts | 841 +++
.../src/cmap/connection_pool_events.ts | 201 +
2_PAC/node_modules/mongodb/src/cmap/errors.ts | 75 +
.../mongodb/src/cmap/message_stream.ts | 230 +
.../node_modules/mongodb/src/cmap/metrics.ts | 58 +
.../mongodb/src/cmap/stream_description.ts | 76 +
.../src/cmap/wire_protocol/compression.ts | 104 +
.../src/cmap/wire_protocol/constants.ts | 11 +
.../mongodb/src/cmap/wire_protocol/shared.ts | 76 +
2_PAC/node_modules/mongodb/src/collection.ts | 983 +++
.../mongodb/src/connection_string.ts | 1279 ++++
2_PAC/node_modules/mongodb/src/constants.ts | 136 +
.../mongodb/src/cursor/abstract_cursor.ts | 920 +++
.../mongodb/src/cursor/aggregation_cursor.ts | 208 +
.../src/cursor/change_stream_cursor.ts | 194 +
.../mongodb/src/cursor/find_cursor.ts | 456 ++
.../src/cursor/list_collections_cursor.ts | 52 +
.../mongodb/src/cursor/list_indexes_cursor.ts | 41 +
2_PAC/node_modules/mongodb/src/db.ts | 523 ++
2_PAC/node_modules/mongodb/src/deps.ts | 377 +
2_PAC/node_modules/mongodb/src/encrypter.ts | 131 +
2_PAC/node_modules/mongodb/src/error.ts | 932 +++
2_PAC/node_modules/mongodb/src/explain.ts | 52 +
.../mongodb/src/gridfs/download.ts | 474 ++
.../node_modules/mongodb/src/gridfs/index.ts | 209 +
.../node_modules/mongodb/src/gridfs/upload.ts | 523 ++
2_PAC/node_modules/mongodb/src/index.ts | 466 ++
.../node_modules/mongodb/src/mongo_client.ts | 729 ++
.../node_modules/mongodb/src/mongo_logger.ts | 201 +
2_PAC/node_modules/mongodb/src/mongo_types.ts | 560 ++
.../mongodb/src/operations/add_user.ts | 118 +
.../mongodb/src/operations/aggregate.ts | 142 +
.../mongodb/src/operations/bulk_write.ts | 62 +
.../mongodb/src/operations/collections.ts | 50 +
.../mongodb/src/operations/command.ts | 159 +
.../src/operations/common_functions.ts | 105 +
.../mongodb/src/operations/count.ts | 68 +
.../mongodb/src/operations/count_documents.ts | 57 +
.../src/operations/create_collection.ts | 200 +
.../mongodb/src/operations/delete.ts | 174 +
.../mongodb/src/operations/distinct.ts | 90 +
.../mongodb/src/operations/drop.ts | 120 +
.../operations/estimated_document_count.ts | 62 +
.../mongodb/src/operations/eval.ts | 82 +
.../src/operations/execute_operation.ts | 287 +
.../mongodb/src/operations/find.ts | 263 +
.../mongodb/src/operations/find_and_modify.ts | 286 +
.../mongodb/src/operations/get_more.ts | 106 +
.../mongodb/src/operations/indexes.ts | 510 ++
.../mongodb/src/operations/insert.ts | 158 +
.../mongodb/src/operations/is_capped.ts | 44 +
.../mongodb/src/operations/kill_cursors.ts | 53 +
.../src/operations/list_collections.ts | 91 +
.../mongodb/src/operations/list_databases.ts | 65 +
.../mongodb/src/operations/operation.ts | 139 +
.../src/operations/options_operation.ts | 45 +
.../mongodb/src/operations/profiling_level.ts | 39 +
.../mongodb/src/operations/remove_user.ts | 33 +
.../mongodb/src/operations/rename.ts | 67 +
.../mongodb/src/operations/run_command.ts | 36 +
.../src/operations/set_profiling_level.ts | 74 +
.../mongodb/src/operations/stats.ts | 271 +
.../mongodb/src/operations/update.ts | 306 +
.../src/operations/validate_collection.ts | 59 +
.../node_modules/mongodb/src/read_concern.ts | 88 +
.../mongodb/src/read_preference.ts | 262 +
2_PAC/node_modules/mongodb/src/sdam/common.ts | 79 +
2_PAC/node_modules/mongodb/src/sdam/events.ts | 182 +
.../node_modules/mongodb/src/sdam/monitor.ts | 594 ++
2_PAC/node_modules/mongodb/src/sdam/server.ts | 560 ++
.../mongodb/src/sdam/server_description.ts | 262 +
.../mongodb/src/sdam/server_selection.ts | 324 +
.../mongodb/src/sdam/srv_polling.ts | 157 +
.../node_modules/mongodb/src/sdam/topology.ts | 1020 +++
.../mongodb/src/sdam/topology_description.ts | 511 ++
2_PAC/node_modules/mongodb/src/sessions.ts | 1043 +++
2_PAC/node_modules/mongodb/src/sort.ts | 132 +
.../node_modules/mongodb/src/transactions.ts | 188 +
2_PAC/node_modules/mongodb/src/utils.ts | 1353 ++++
.../node_modules/mongodb/src/write_concern.ts | 114 +
2_PAC/node_modules/mongodb/tsconfig.json | 46 +
2_PAC/node_modules/saslprep/.editorconfig | 10 +
2_PAC/node_modules/saslprep/.gitattributes | 1 +
2_PAC/node_modules/saslprep/.travis.yml | 10 +
2_PAC/node_modules/saslprep/CHANGELOG.md | 19 +
2_PAC/node_modules/saslprep/LICENSE | 22 +
2_PAC/node_modules/saslprep/code-points.mem | Bin 0 -> 419864 bytes
.../saslprep/generate-code-points.js | 51 +
2_PAC/node_modules/saslprep/index.js | 157 +
.../node_modules/saslprep/lib/code-points.js | 996 +++
.../saslprep/lib/memory-code-points.js | 39 +
2_PAC/node_modules/saslprep/lib/util.js | 21 +
2_PAC/node_modules/saslprep/package.json | 72 +
2_PAC/node_modules/saslprep/readme.md | 31 +
2_PAC/node_modules/saslprep/test/index.js | 76 +
2_PAC/node_modules/saslprep/test/util.js | 16 +
.../smart-buffer/.prettierrc.yaml | 5 +
2_PAC/node_modules/smart-buffer/.travis.yml | 13 +
2_PAC/node_modules/smart-buffer/LICENSE | 20 +
2_PAC/node_modules/smart-buffer/README.md | 633 ++
.../smart-buffer/build/smartbuffer.js | 1233 ++++
.../smart-buffer/build/smartbuffer.js.map | 1 +
.../node_modules/smart-buffer/build/utils.js | 108 +
.../smart-buffer/build/utils.js.map | 1 +
.../smart-buffer/docs/CHANGELOG.md | 70 +
.../smart-buffer/docs/README_v3.md | 367 +
.../node_modules/smart-buffer/docs/ROADMAP.md | 0
2_PAC/node_modules/smart-buffer/package.json | 79 +
.../smart-buffer/typings/smartbuffer.d.ts | 755 ++
.../smart-buffer/typings/utils.d.ts | 66 +
2_PAC/node_modules/socks/.eslintrc.cjs | 11 +
2_PAC/node_modules/socks/.prettierrc.yaml | 7 +
2_PAC/node_modules/socks/LICENSE | 20 +
2_PAC/node_modules/socks/README.md | 686 ++
.../socks/build/client/socksclient.js | 793 +++
.../socks/build/client/socksclient.js.map | 1 +
.../socks/build/common/constants.js | 114 +
.../socks/build/common/constants.js.map | 1 +
.../socks/build/common/helpers.js | 128 +
.../socks/build/common/helpers.js.map | 1 +
.../socks/build/common/receivebuffer.js | 43 +
.../socks/build/common/receivebuffer.js.map | 1 +
2_PAC/node_modules/socks/build/common/util.js | 25 +
.../socks/build/common/util.js.map | 1 +
2_PAC/node_modules/socks/build/index.js | 18 +
2_PAC/node_modules/socks/build/index.js.map | 1 +
.../node_modules/socks/docs/examples/index.md | 17 +
.../examples/javascript/associateExample.md | 90 +
.../docs/examples/javascript/bindExample.md | 83 +
.../examples/javascript/connectExample.md | 258 +
.../examples/typescript/associateExample.md | 93 +
.../docs/examples/typescript/bindExample.md | 86 +
.../examples/typescript/connectExample.md | 265 +
2_PAC/node_modules/socks/docs/index.md | 5 +
.../socks/docs/migratingFromV1.md | 86 +
2_PAC/node_modules/socks/package.json | 58 +
.../socks/typings/client/socksclient.d.ts | 162 +
.../socks/typings/common/constants.d.ts | 152 +
.../socks/typings/common/helpers.d.ts | 13 +
.../socks/typings/common/receivebuffer.d.ts | 12 +
.../socks/typings/common/util.d.ts | 17 +
2_PAC/node_modules/socks/typings/index.d.ts | 1 +
2_PAC/node_modules/sparse-bitfield/.npmignore | 1 +
.../node_modules/sparse-bitfield/.travis.yml | 6 +
2_PAC/node_modules/sparse-bitfield/LICENSE | 21 +
2_PAC/node_modules/sparse-bitfield/README.md | 62 +
2_PAC/node_modules/sparse-bitfield/index.js | 95 +
.../node_modules/sparse-bitfield/package.json | 27 +
2_PAC/node_modules/sparse-bitfield/test.js | 79 +
2_PAC/package-lock.json | 3532 +++++++++-
2_PAC/package.json | 15 +
1059 files changed, 261522 insertions(+), 1518 deletions(-)
rename 1_ActivityWatchProducer/{lib/UserInfo => CSS}/UserInterface.css (100%)
rename 1_ActivityWatchProducer/{lib/BugReportPanel => CSS}/bugreport.css (100%)
rename 1_ActivityWatchProducer/{lib/SupersetEmbeddedDashboard => CSS}/embeddedDashboard.css (100%)
rename 1_ActivityWatchProducer/{lib/ReusableComponents => CSS}/reusableComponents.css (100%)
rename 1_ActivityWatchProducer/{lib/TasksConsumer => CSS}/taskdashboard.css (100%)
rename 1_ActivityWatchProducer/{lib/AwUpdateFlowControl => CSS}/updateInterface.css (100%)
rename 1_ActivityWatchProducer/{lib => JS}/BugReportPanel/BugReport.js (100%)
rename 1_ActivityWatchProducer/JS/{Modules => ControlPanel}/AwApiUpdateManager.js (95%)
rename 1_ActivityWatchProducer/JS/{Modules/AwApiStartStopManager.js => ControlPanel/ScanManager.js} (66%)
rename 1_ActivityWatchProducer/{lib/AwUpdateFlowControl => JS/PacModules}/AwManager.js (99%)
rename 1_ActivityWatchProducer/{lib/AwUpdateFlowControl => JS/PacModules}/AwProducer.js (92%)
rename 1_ActivityWatchProducer/{lib/TasksConsumer => JS/PacModules}/tasksConsumer.js (93%)
rename 1_ActivityWatchProducer/{lib => JS}/UserInfo/UserInfoConsumer.js (94%)
delete mode 100644 1_ActivityWatchProducer/JS/greglogs.js
rename 1_ActivityWatchProducer/{lib => Resources}/my2sec-FULL_271022.js (100%)
rename 1_ActivityWatchProducer/{lib => Resources}/my2sec-jena_251122.jsap.js (100%)
rename 1_ActivityWatchProducer/{lib => Resources}/my2sec-jena_251122.jsap.txt (100%)
rename 1_ActivityWatchProducer/{lib => Resources}/my2sec_19-1-2023.jsap.js (99%)
create mode 100644 1_ActivityWatchProducer/Resources/my2sec_7-3-2023.jsap
create mode 100644 1_ActivityWatchProducer/electron_main_modules/AwApiRouter.js
create mode 100644 1_ActivityWatchProducer/electron_main_modules/JsapConfigurationManager.js
create mode 100644 1_ActivityWatchProducer/electron_main_modules/MongoDbClient.js
create mode 100644 1_ActivityWatchProducer/electron_main_modules/MongoDbRouter.js
create mode 100644 1_ActivityWatchProducer/electron_main_modules/PythonApiRunner.js
rename 1_ActivityWatchProducer/lib/{AwUpdateFlowControl => }/AwClient.js (91%)
delete mode 100644 1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwClient_BACKUP.js
delete mode 100644 1_ActivityWatchProducer/lib/AwUpdateFlowControl/jsap.js
delete mode 100644 1_ActivityWatchProducer/lib/gregnet-grid-plugin/gregnet-grid-script.js
delete mode 100644 1_ActivityWatchProducer/lib/gregnet-grid-plugin/gregnet-grid-style.css
delete mode 100644 1_ActivityWatchProducer/lib/gregnet-grid-plugin/readme.txt
rename 1_ActivityWatchProducer/lib/{SupersetEmbeddedDashboard => }/superset-embed.js (89%)
create mode 100644 1_ActivityWatchProducer/node_modules/@types/webidl-conversions/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/@types/webidl-conversions/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/@types/webidl-conversions/index.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/webidl-conversions/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/dist/URL-impl.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/dist/URL.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/index.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/LICENSE.md
create mode 100644 1_ActivityWatchProducer/node_modules/bson/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/bson/bson.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/etc/prepare.js
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.bundle.js
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.bundle.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.cjs
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.cjs.map
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.mjs
create mode 100644 1_ActivityWatchProducer/node_modules/bson/lib/bson.mjs.map
create mode 100644 1_ActivityWatchProducer/node_modules/bson/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/binary.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/bson.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/bson_value.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/code.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/constants.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/db_ref.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/decimal128.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/double.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/error.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/extended_json.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/index.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/int_32.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/long.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/max_key.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/min_key.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/objectid.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/parser/calculate_size.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/parser/deserializer.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/parser/serializer.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/parser/utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/regexp.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/symbol.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/timestamp.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/utils/byte_utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/utils/node_byte_utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/utils/web_byte_utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/uuid_utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/bson/src/validate_utf8.ts
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/.travis.yml
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/memory-pager/test.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/index.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/index.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/redact.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/redact.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/lib/redact.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb-connection-string-url/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/LICENSE.md
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/etc/prepare.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/admin.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/admin.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bson.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bson.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/common.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/common.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/ordered.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/ordered.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/unordered.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/bulk/unordered.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/change_stream.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/change_stream.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/auth_provider.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/gssapi.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/gssapi.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongocr.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongocr.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/plain.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/plain.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/providers.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/providers.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/scram.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/scram.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/x509.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/auth/x509.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/command_monitoring_events.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/commands.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/commands.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connect.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connect.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection_pool.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection_pool.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection_pool_events.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/connection_pool_events.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/errors.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/errors.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/message_stream.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/message_stream.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/metrics.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/metrics.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/stream_description.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/stream_description.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/compression.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/constants.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/shared.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/collection.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/collection.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/connection_string.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/connection_string.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/constants.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/constants.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/abstract_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/abstract_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/aggregation_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/change_stream_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/find_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/find_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/list_collections_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/list_indexes_cursor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/db.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/db.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/deps.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/deps.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/encrypter.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/encrypter.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/error.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/error.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/explain.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/explain.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/download.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/download.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/index.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/upload.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/gridfs/upload.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/index.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_client.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_client.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_logger.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_logger.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_types.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/mongo_types.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/add_user.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/add_user.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/aggregate.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/aggregate.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/bulk_write.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/bulk_write.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/collections.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/collections.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/command.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/command.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/common_functions.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/common_functions.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/count.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/count.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/count_documents.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/count_documents.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/create_collection.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/create_collection.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/delete.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/delete.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/distinct.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/distinct.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/drop.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/drop.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/estimated_document_count.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/estimated_document_count.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/eval.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/eval.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/execute_operation.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/execute_operation.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/find.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/find.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/find_and_modify.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/find_and_modify.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/get_more.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/get_more.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/indexes.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/indexes.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/insert.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/insert.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/is_capped.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/is_capped.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/kill_cursors.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/kill_cursors.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/list_collections.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/list_collections.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/list_databases.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/list_databases.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/operation.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/operation.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/options_operation.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/options_operation.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/profiling_level.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/profiling_level.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/remove_user.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/remove_user.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/rename.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/rename.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/run_command.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/run_command.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/set_profiling_level.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/set_profiling_level.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/stats.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/stats.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/update.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/update.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/validate_collection.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/operations/validate_collection.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/read_concern.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/read_concern.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/read_preference.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/read_preference.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/common.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/common.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/events.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/events.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/monitor.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/monitor.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server_description.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server_description.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server_selection.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/server_selection.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/srv_polling.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/srv_polling.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/topology.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/topology.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/topology_description.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sdam/topology_description.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sessions.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sessions.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sort.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/sort.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/transactions.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/transactions.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/utils.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/utils.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/write_concern.js
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/lib/write_concern.js.map
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/mongodb.d.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/admin.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/bson.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/bulk/common.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/bulk/ordered.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/bulk/unordered.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/change_stream.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/auth_provider.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/gssapi.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/mongocr.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/plain.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/providers.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/scram.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/auth/x509.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/command_monitoring_events.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/commands.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/connect.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/connection.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/connection_pool.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/connection_pool_events.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/errors.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/message_stream.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/metrics.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/stream_description.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/wire_protocol/compression.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/wire_protocol/constants.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cmap/wire_protocol/shared.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/collection.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/connection_string.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/constants.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/abstract_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/aggregation_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/change_stream_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/find_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/list_collections_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/cursor/list_indexes_cursor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/db.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/deps.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/encrypter.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/error.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/explain.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/gridfs/download.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/gridfs/index.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/gridfs/upload.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/index.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/mongo_client.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/mongo_logger.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/mongo_types.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/add_user.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/aggregate.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/bulk_write.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/collections.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/command.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/common_functions.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/count.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/count_documents.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/create_collection.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/delete.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/distinct.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/drop.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/estimated_document_count.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/eval.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/execute_operation.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/find.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/find_and_modify.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/get_more.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/indexes.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/insert.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/is_capped.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/kill_cursors.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/list_collections.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/list_databases.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/operation.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/options_operation.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/profiling_level.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/remove_user.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/rename.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/run_command.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/set_profiling_level.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/stats.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/update.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/operations/validate_collection.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/read_concern.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/read_preference.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/common.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/events.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/monitor.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/server.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/server_description.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/server_selection.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/srv_polling.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/topology.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sdam/topology_description.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sessions.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/sort.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/transactions.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/utils.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/src/write_concern.ts
create mode 100644 1_ActivityWatchProducer/node_modules/mongodb/tsconfig.json
create mode 100644 1_ActivityWatchProducer/node_modules/punycode/LICENSE-MIT.txt
create mode 100644 1_ActivityWatchProducer/node_modules/punycode/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/punycode/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/punycode/punycode.es6.js
create mode 100644 1_ActivityWatchProducer/node_modules/punycode/punycode.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/.editorconfig
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/.gitattributes
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/.travis.yml
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/CHANGELOG.md
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/code-points.mem
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/generate-code-points.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/lib/code-points.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/lib/memory-code-points.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/lib/util.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/readme.md
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/test/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/saslprep/test/util.js
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/.npmignore
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/.travis.yml
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/LICENSE
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/sparse-bitfield/test.js
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/LICENSE.md
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/lib/mappingTable.json
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/lib/regexes.js
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/lib/statusMapping.js
create mode 100644 1_ActivityWatchProducer/node_modules/tr46/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/webidl-conversions/LICENSE.md
create mode 100644 1_ActivityWatchProducer/node_modules/webidl-conversions/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/webidl-conversions/lib/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/webidl-conversions/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/LICENSE.txt
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/README.md
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/index.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/Function.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/URL-impl.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/URL.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/URLSearchParams-impl.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/URLSearchParams.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/VoidFunction.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/encoding.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/infra.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/percent-encoding.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/url-state-machine.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/urlencoded.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/lib/utils.js
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/package.json
create mode 100644 1_ActivityWatchProducer/node_modules/whatwg-url/webidl2js-wrapper.js
create mode 100644 2_PAC/gregnet_modules/PacFactory/MongoDbClient.js
create mode 100644 2_PAC/gregnet_modules/PacFactory/SupersetClient.js
create mode 100644 2_PAC/node_modules/@types/node/LICENSE
create mode 100644 2_PAC/node_modules/@types/node/README.md
create mode 100644 2_PAC/node_modules/@types/node/assert.d.ts
create mode 100644 2_PAC/node_modules/@types/node/assert/strict.d.ts
create mode 100644 2_PAC/node_modules/@types/node/async_hooks.d.ts
create mode 100644 2_PAC/node_modules/@types/node/buffer.d.ts
create mode 100644 2_PAC/node_modules/@types/node/child_process.d.ts
create mode 100644 2_PAC/node_modules/@types/node/cluster.d.ts
create mode 100644 2_PAC/node_modules/@types/node/console.d.ts
create mode 100644 2_PAC/node_modules/@types/node/constants.d.ts
create mode 100644 2_PAC/node_modules/@types/node/crypto.d.ts
create mode 100644 2_PAC/node_modules/@types/node/dgram.d.ts
create mode 100644 2_PAC/node_modules/@types/node/diagnostics_channel.d.ts
create mode 100644 2_PAC/node_modules/@types/node/dns.d.ts
create mode 100644 2_PAC/node_modules/@types/node/dns/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/dom-events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/domain.d.ts
create mode 100644 2_PAC/node_modules/@types/node/events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/fs.d.ts
create mode 100644 2_PAC/node_modules/@types/node/fs/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/globals.d.ts
create mode 100644 2_PAC/node_modules/@types/node/globals.global.d.ts
create mode 100644 2_PAC/node_modules/@types/node/http.d.ts
create mode 100644 2_PAC/node_modules/@types/node/http2.d.ts
create mode 100644 2_PAC/node_modules/@types/node/https.d.ts
create mode 100644 2_PAC/node_modules/@types/node/index.d.ts
create mode 100644 2_PAC/node_modules/@types/node/inspector.d.ts
create mode 100644 2_PAC/node_modules/@types/node/module.d.ts
create mode 100644 2_PAC/node_modules/@types/node/net.d.ts
create mode 100644 2_PAC/node_modules/@types/node/os.d.ts
create mode 100644 2_PAC/node_modules/@types/node/package.json
create mode 100644 2_PAC/node_modules/@types/node/path.d.ts
create mode 100644 2_PAC/node_modules/@types/node/perf_hooks.d.ts
create mode 100644 2_PAC/node_modules/@types/node/process.d.ts
create mode 100644 2_PAC/node_modules/@types/node/punycode.d.ts
create mode 100644 2_PAC/node_modules/@types/node/querystring.d.ts
create mode 100644 2_PAC/node_modules/@types/node/readline.d.ts
create mode 100644 2_PAC/node_modules/@types/node/readline/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/repl.d.ts
create mode 100644 2_PAC/node_modules/@types/node/stream.d.ts
create mode 100644 2_PAC/node_modules/@types/node/stream/consumers.d.ts
create mode 100644 2_PAC/node_modules/@types/node/stream/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/stream/web.d.ts
create mode 100644 2_PAC/node_modules/@types/node/string_decoder.d.ts
create mode 100644 2_PAC/node_modules/@types/node/test.d.ts
create mode 100644 2_PAC/node_modules/@types/node/timers.d.ts
create mode 100644 2_PAC/node_modules/@types/node/timers/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/tls.d.ts
create mode 100644 2_PAC/node_modules/@types/node/trace_events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/assert.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/assert/strict.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/async_hooks.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/buffer.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/child_process.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/cluster.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/console.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/constants.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/crypto.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/dgram.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/dns.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/dns/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/dom-events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/domain.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/fs.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/fs/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/globals.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/globals.global.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/http.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/http2.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/https.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/index.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/inspector.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/module.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/net.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/os.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/path.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/perf_hooks.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/process.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/punycode.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/querystring.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/readline.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/readline/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/repl.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/stream.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/stream/consumers.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/stream/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/stream/web.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/string_decoder.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/test.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/timers.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/timers/promises.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/tls.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/trace_events.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/tty.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/url.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/util.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/v8.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/vm.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/wasi.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/worker_threads.d.ts
create mode 100644 2_PAC/node_modules/@types/node/ts4.8/zlib.d.ts
create mode 100644 2_PAC/node_modules/@types/node/tty.d.ts
create mode 100644 2_PAC/node_modules/@types/node/url.d.ts
create mode 100644 2_PAC/node_modules/@types/node/util.d.ts
create mode 100644 2_PAC/node_modules/@types/node/v8.d.ts
create mode 100644 2_PAC/node_modules/@types/node/vm.d.ts
create mode 100644 2_PAC/node_modules/@types/node/wasi.d.ts
create mode 100644 2_PAC/node_modules/@types/node/worker_threads.d.ts
create mode 100644 2_PAC/node_modules/@types/node/zlib.d.ts
create mode 100644 2_PAC/node_modules/@types/webidl-conversions/LICENSE
create mode 100644 2_PAC/node_modules/@types/webidl-conversions/README.md
create mode 100644 2_PAC/node_modules/@types/webidl-conversions/index.d.ts
create mode 100644 2_PAC/node_modules/@types/webidl-conversions/package.json
create mode 100644 2_PAC/node_modules/@types/whatwg-url/LICENSE
create mode 100644 2_PAC/node_modules/@types/whatwg-url/README.md
create mode 100644 2_PAC/node_modules/@types/whatwg-url/dist/URL-impl.d.ts
create mode 100644 2_PAC/node_modules/@types/whatwg-url/dist/URL.d.ts
create mode 100644 2_PAC/node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts
create mode 100644 2_PAC/node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts
create mode 100644 2_PAC/node_modules/@types/whatwg-url/index.d.ts
create mode 100644 2_PAC/node_modules/@types/whatwg-url/package.json
create mode 100644 2_PAC/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts
create mode 100644 2_PAC/node_modules/bson/LICENSE.md
create mode 100644 2_PAC/node_modules/bson/README.md
create mode 100644 2_PAC/node_modules/bson/bson.d.ts
create mode 100644 2_PAC/node_modules/bson/etc/prepare.js
create mode 100644 2_PAC/node_modules/bson/lib/bson.bundle.js
create mode 100644 2_PAC/node_modules/bson/lib/bson.bundle.js.map
create mode 100644 2_PAC/node_modules/bson/lib/bson.cjs
create mode 100644 2_PAC/node_modules/bson/lib/bson.cjs.map
create mode 100644 2_PAC/node_modules/bson/lib/bson.mjs
create mode 100644 2_PAC/node_modules/bson/lib/bson.mjs.map
create mode 100644 2_PAC/node_modules/bson/package.json
create mode 100644 2_PAC/node_modules/bson/src/binary.ts
create mode 100644 2_PAC/node_modules/bson/src/bson.ts
create mode 100644 2_PAC/node_modules/bson/src/bson_value.ts
create mode 100644 2_PAC/node_modules/bson/src/code.ts
create mode 100644 2_PAC/node_modules/bson/src/constants.ts
create mode 100644 2_PAC/node_modules/bson/src/db_ref.ts
create mode 100644 2_PAC/node_modules/bson/src/decimal128.ts
create mode 100644 2_PAC/node_modules/bson/src/double.ts
create mode 100644 2_PAC/node_modules/bson/src/error.ts
create mode 100644 2_PAC/node_modules/bson/src/extended_json.ts
create mode 100644 2_PAC/node_modules/bson/src/index.ts
create mode 100644 2_PAC/node_modules/bson/src/int_32.ts
create mode 100644 2_PAC/node_modules/bson/src/long.ts
create mode 100644 2_PAC/node_modules/bson/src/max_key.ts
create mode 100644 2_PAC/node_modules/bson/src/min_key.ts
create mode 100644 2_PAC/node_modules/bson/src/objectid.ts
create mode 100644 2_PAC/node_modules/bson/src/parser/calculate_size.ts
create mode 100644 2_PAC/node_modules/bson/src/parser/deserializer.ts
create mode 100644 2_PAC/node_modules/bson/src/parser/serializer.ts
create mode 100644 2_PAC/node_modules/bson/src/parser/utils.ts
create mode 100644 2_PAC/node_modules/bson/src/regexp.ts
create mode 100644 2_PAC/node_modules/bson/src/symbol.ts
create mode 100644 2_PAC/node_modules/bson/src/timestamp.ts
create mode 100644 2_PAC/node_modules/bson/src/utils/byte_utils.ts
create mode 100644 2_PAC/node_modules/bson/src/utils/node_byte_utils.ts
create mode 100644 2_PAC/node_modules/bson/src/utils/web_byte_utils.ts
create mode 100644 2_PAC/node_modules/bson/src/uuid_utils.ts
create mode 100644 2_PAC/node_modules/bson/src/validate_utf8.ts
create mode 100644 2_PAC/node_modules/ip/README.md
create mode 100644 2_PAC/node_modules/ip/lib/ip.js
create mode 100644 2_PAC/node_modules/ip/package.json
create mode 100644 2_PAC/node_modules/memory-pager/.travis.yml
create mode 100644 2_PAC/node_modules/memory-pager/LICENSE
create mode 100644 2_PAC/node_modules/memory-pager/README.md
create mode 100644 2_PAC/node_modules/memory-pager/index.js
create mode 100644 2_PAC/node_modules/memory-pager/package.json
create mode 100644 2_PAC/node_modules/memory-pager/test.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/LICENSE
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/README.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/index.d.ts
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/index.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/index.js.map
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/redact.d.ts
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/redact.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/lib/redact.js.map
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/LICENSE.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/README.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/index.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/lib/mappingTable.json
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/lib/regexes.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/lib/statusMapping.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/tr46/package.json
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions/LICENSE.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions/README.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions/lib/index.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/webidl-conversions/package.json
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/LICENSE.txt
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/README.md
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/index.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/Function.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/URL-impl.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/URL.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/URLSearchParams-impl.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/URLSearchParams.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/VoidFunction.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/encoding.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/infra.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/percent-encoding.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/url-state-machine.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/urlencoded.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/lib/utils.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/package.json
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/node_modules/whatwg-url/webidl2js-wrapper.js
create mode 100644 2_PAC/node_modules/mongodb-connection-string-url/package.json
create mode 100644 2_PAC/node_modules/mongodb/LICENSE.md
create mode 100644 2_PAC/node_modules/mongodb/README.md
create mode 100644 2_PAC/node_modules/mongodb/etc/prepare.js
create mode 100644 2_PAC/node_modules/mongodb/lib/admin.js
create mode 100644 2_PAC/node_modules/mongodb/lib/admin.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/bson.js
create mode 100644 2_PAC/node_modules/mongodb/lib/bson.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/common.js
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/common.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/ordered.js
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/ordered.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/unordered.js
create mode 100644 2_PAC/node_modules/mongodb/lib/bulk/unordered.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/change_stream.js
create mode 100644 2_PAC/node_modules/mongodb/lib/change_stream.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/auth_provider.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/gssapi.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/gssapi.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongocr.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongocr.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/plain.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/plain.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/providers.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/providers.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/scram.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/scram.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/x509.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/auth/x509.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/command_monitoring_events.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/commands.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/commands.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connect.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connect.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection_pool.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection_pool.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection_pool_events.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/connection_pool_events.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/errors.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/errors.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/message_stream.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/message_stream.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/metrics.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/metrics.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/stream_description.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/stream_description.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/compression.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/constants.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/shared.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/collection.js
create mode 100644 2_PAC/node_modules/mongodb/lib/collection.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/connection_string.js
create mode 100644 2_PAC/node_modules/mongodb/lib/connection_string.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/constants.js
create mode 100644 2_PAC/node_modules/mongodb/lib/constants.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/abstract_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/abstract_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/aggregation_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/change_stream_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/find_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/find_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/list_collections_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/list_indexes_cursor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/db.js
create mode 100644 2_PAC/node_modules/mongodb/lib/db.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/deps.js
create mode 100644 2_PAC/node_modules/mongodb/lib/deps.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/encrypter.js
create mode 100644 2_PAC/node_modules/mongodb/lib/encrypter.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/error.js
create mode 100644 2_PAC/node_modules/mongodb/lib/error.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/explain.js
create mode 100644 2_PAC/node_modules/mongodb/lib/explain.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/download.js
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/download.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/index.js
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/index.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/upload.js
create mode 100644 2_PAC/node_modules/mongodb/lib/gridfs/upload.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/index.js
create mode 100644 2_PAC/node_modules/mongodb/lib/index.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_client.js
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_client.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_logger.js
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_logger.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_types.js
create mode 100644 2_PAC/node_modules/mongodb/lib/mongo_types.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/add_user.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/add_user.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/aggregate.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/aggregate.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/bulk_write.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/bulk_write.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/collections.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/collections.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/command.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/command.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/common_functions.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/common_functions.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/count.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/count.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/count_documents.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/count_documents.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/create_collection.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/create_collection.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/delete.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/delete.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/distinct.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/distinct.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/drop.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/drop.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/estimated_document_count.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/estimated_document_count.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/eval.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/eval.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/execute_operation.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/execute_operation.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/find.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/find.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/find_and_modify.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/find_and_modify.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/get_more.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/get_more.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/indexes.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/indexes.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/insert.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/insert.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/is_capped.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/is_capped.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/kill_cursors.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/kill_cursors.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/list_collections.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/list_collections.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/list_databases.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/list_databases.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/operation.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/operation.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/options_operation.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/options_operation.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/profiling_level.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/profiling_level.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/remove_user.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/remove_user.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/rename.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/rename.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/run_command.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/run_command.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/set_profiling_level.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/set_profiling_level.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/stats.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/stats.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/update.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/update.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/validate_collection.js
create mode 100644 2_PAC/node_modules/mongodb/lib/operations/validate_collection.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/read_concern.js
create mode 100644 2_PAC/node_modules/mongodb/lib/read_concern.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/read_preference.js
create mode 100644 2_PAC/node_modules/mongodb/lib/read_preference.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/common.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/common.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/events.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/events.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/monitor.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/monitor.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server_description.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server_description.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server_selection.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/server_selection.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/srv_polling.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/srv_polling.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/topology.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/topology.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/topology_description.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sdam/topology_description.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sessions.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sessions.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/sort.js
create mode 100644 2_PAC/node_modules/mongodb/lib/sort.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/transactions.js
create mode 100644 2_PAC/node_modules/mongodb/lib/transactions.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/utils.js
create mode 100644 2_PAC/node_modules/mongodb/lib/utils.js.map
create mode 100644 2_PAC/node_modules/mongodb/lib/write_concern.js
create mode 100644 2_PAC/node_modules/mongodb/lib/write_concern.js.map
create mode 100644 2_PAC/node_modules/mongodb/mongodb.d.ts
create mode 100644 2_PAC/node_modules/mongodb/package.json
create mode 100644 2_PAC/node_modules/mongodb/src/admin.ts
create mode 100644 2_PAC/node_modules/mongodb/src/bson.ts
create mode 100644 2_PAC/node_modules/mongodb/src/bulk/common.ts
create mode 100644 2_PAC/node_modules/mongodb/src/bulk/ordered.ts
create mode 100644 2_PAC/node_modules/mongodb/src/bulk/unordered.ts
create mode 100644 2_PAC/node_modules/mongodb/src/change_stream.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/auth_provider.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/gssapi.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/mongocr.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/plain.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/providers.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/scram.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/auth/x509.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/command_monitoring_events.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/commands.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/connect.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/connection.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/connection_pool.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/connection_pool_events.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/errors.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/message_stream.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/metrics.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/stream_description.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/wire_protocol/compression.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/wire_protocol/constants.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cmap/wire_protocol/shared.ts
create mode 100644 2_PAC/node_modules/mongodb/src/collection.ts
create mode 100644 2_PAC/node_modules/mongodb/src/connection_string.ts
create mode 100644 2_PAC/node_modules/mongodb/src/constants.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/abstract_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/aggregation_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/change_stream_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/find_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/list_collections_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/cursor/list_indexes_cursor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/db.ts
create mode 100644 2_PAC/node_modules/mongodb/src/deps.ts
create mode 100644 2_PAC/node_modules/mongodb/src/encrypter.ts
create mode 100644 2_PAC/node_modules/mongodb/src/error.ts
create mode 100644 2_PAC/node_modules/mongodb/src/explain.ts
create mode 100644 2_PAC/node_modules/mongodb/src/gridfs/download.ts
create mode 100644 2_PAC/node_modules/mongodb/src/gridfs/index.ts
create mode 100644 2_PAC/node_modules/mongodb/src/gridfs/upload.ts
create mode 100644 2_PAC/node_modules/mongodb/src/index.ts
create mode 100644 2_PAC/node_modules/mongodb/src/mongo_client.ts
create mode 100644 2_PAC/node_modules/mongodb/src/mongo_logger.ts
create mode 100644 2_PAC/node_modules/mongodb/src/mongo_types.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/add_user.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/aggregate.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/bulk_write.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/collections.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/command.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/common_functions.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/count.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/count_documents.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/create_collection.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/delete.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/distinct.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/drop.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/estimated_document_count.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/eval.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/execute_operation.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/find.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/find_and_modify.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/get_more.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/indexes.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/insert.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/is_capped.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/kill_cursors.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/list_collections.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/list_databases.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/operation.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/options_operation.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/profiling_level.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/remove_user.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/rename.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/run_command.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/set_profiling_level.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/stats.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/update.ts
create mode 100644 2_PAC/node_modules/mongodb/src/operations/validate_collection.ts
create mode 100644 2_PAC/node_modules/mongodb/src/read_concern.ts
create mode 100644 2_PAC/node_modules/mongodb/src/read_preference.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/common.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/events.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/monitor.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/server.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/server_description.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/server_selection.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/srv_polling.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/topology.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sdam/topology_description.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sessions.ts
create mode 100644 2_PAC/node_modules/mongodb/src/sort.ts
create mode 100644 2_PAC/node_modules/mongodb/src/transactions.ts
create mode 100644 2_PAC/node_modules/mongodb/src/utils.ts
create mode 100644 2_PAC/node_modules/mongodb/src/write_concern.ts
create mode 100644 2_PAC/node_modules/mongodb/tsconfig.json
create mode 100644 2_PAC/node_modules/saslprep/.editorconfig
create mode 100644 2_PAC/node_modules/saslprep/.gitattributes
create mode 100644 2_PAC/node_modules/saslprep/.travis.yml
create mode 100644 2_PAC/node_modules/saslprep/CHANGELOG.md
create mode 100644 2_PAC/node_modules/saslprep/LICENSE
create mode 100644 2_PAC/node_modules/saslprep/code-points.mem
create mode 100644 2_PAC/node_modules/saslprep/generate-code-points.js
create mode 100644 2_PAC/node_modules/saslprep/index.js
create mode 100644 2_PAC/node_modules/saslprep/lib/code-points.js
create mode 100644 2_PAC/node_modules/saslprep/lib/memory-code-points.js
create mode 100644 2_PAC/node_modules/saslprep/lib/util.js
create mode 100644 2_PAC/node_modules/saslprep/package.json
create mode 100644 2_PAC/node_modules/saslprep/readme.md
create mode 100644 2_PAC/node_modules/saslprep/test/index.js
create mode 100644 2_PAC/node_modules/saslprep/test/util.js
create mode 100644 2_PAC/node_modules/smart-buffer/.prettierrc.yaml
create mode 100644 2_PAC/node_modules/smart-buffer/.travis.yml
create mode 100644 2_PAC/node_modules/smart-buffer/LICENSE
create mode 100644 2_PAC/node_modules/smart-buffer/README.md
create mode 100644 2_PAC/node_modules/smart-buffer/build/smartbuffer.js
create mode 100644 2_PAC/node_modules/smart-buffer/build/smartbuffer.js.map
create mode 100644 2_PAC/node_modules/smart-buffer/build/utils.js
create mode 100644 2_PAC/node_modules/smart-buffer/build/utils.js.map
create mode 100644 2_PAC/node_modules/smart-buffer/docs/CHANGELOG.md
create mode 100644 2_PAC/node_modules/smart-buffer/docs/README_v3.md
create mode 100644 2_PAC/node_modules/smart-buffer/docs/ROADMAP.md
create mode 100644 2_PAC/node_modules/smart-buffer/package.json
create mode 100644 2_PAC/node_modules/smart-buffer/typings/smartbuffer.d.ts
create mode 100644 2_PAC/node_modules/smart-buffer/typings/utils.d.ts
create mode 100644 2_PAC/node_modules/socks/.eslintrc.cjs
create mode 100644 2_PAC/node_modules/socks/.prettierrc.yaml
create mode 100644 2_PAC/node_modules/socks/LICENSE
create mode 100644 2_PAC/node_modules/socks/README.md
create mode 100644 2_PAC/node_modules/socks/build/client/socksclient.js
create mode 100644 2_PAC/node_modules/socks/build/client/socksclient.js.map
create mode 100644 2_PAC/node_modules/socks/build/common/constants.js
create mode 100644 2_PAC/node_modules/socks/build/common/constants.js.map
create mode 100644 2_PAC/node_modules/socks/build/common/helpers.js
create mode 100644 2_PAC/node_modules/socks/build/common/helpers.js.map
create mode 100644 2_PAC/node_modules/socks/build/common/receivebuffer.js
create mode 100644 2_PAC/node_modules/socks/build/common/receivebuffer.js.map
create mode 100644 2_PAC/node_modules/socks/build/common/util.js
create mode 100644 2_PAC/node_modules/socks/build/common/util.js.map
create mode 100644 2_PAC/node_modules/socks/build/index.js
create mode 100644 2_PAC/node_modules/socks/build/index.js.map
create mode 100644 2_PAC/node_modules/socks/docs/examples/index.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/javascript/associateExample.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/javascript/bindExample.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/javascript/connectExample.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/typescript/associateExample.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/typescript/bindExample.md
create mode 100644 2_PAC/node_modules/socks/docs/examples/typescript/connectExample.md
create mode 100644 2_PAC/node_modules/socks/docs/index.md
create mode 100644 2_PAC/node_modules/socks/docs/migratingFromV1.md
create mode 100644 2_PAC/node_modules/socks/package.json
create mode 100644 2_PAC/node_modules/socks/typings/client/socksclient.d.ts
create mode 100644 2_PAC/node_modules/socks/typings/common/constants.d.ts
create mode 100644 2_PAC/node_modules/socks/typings/common/helpers.d.ts
create mode 100644 2_PAC/node_modules/socks/typings/common/receivebuffer.d.ts
create mode 100644 2_PAC/node_modules/socks/typings/common/util.d.ts
create mode 100644 2_PAC/node_modules/socks/typings/index.d.ts
create mode 100644 2_PAC/node_modules/sparse-bitfield/.npmignore
create mode 100644 2_PAC/node_modules/sparse-bitfield/.travis.yml
create mode 100644 2_PAC/node_modules/sparse-bitfield/LICENSE
create mode 100644 2_PAC/node_modules/sparse-bitfield/README.md
create mode 100644 2_PAC/node_modules/sparse-bitfield/index.js
create mode 100644 2_PAC/node_modules/sparse-bitfield/package.json
create mode 100644 2_PAC/node_modules/sparse-bitfield/test.js
diff --git a/1_ActivityWatchProducer/lib/UserInfo/UserInterface.css b/1_ActivityWatchProducer/CSS/UserInterface.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/UserInfo/UserInterface.css
rename to 1_ActivityWatchProducer/CSS/UserInterface.css
diff --git a/1_ActivityWatchProducer/lib/BugReportPanel/bugreport.css b/1_ActivityWatchProducer/CSS/bugreport.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/BugReportPanel/bugreport.css
rename to 1_ActivityWatchProducer/CSS/bugreport.css
diff --git a/1_ActivityWatchProducer/lib/SupersetEmbeddedDashboard/embeddedDashboard.css b/1_ActivityWatchProducer/CSS/embeddedDashboard.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/SupersetEmbeddedDashboard/embeddedDashboard.css
rename to 1_ActivityWatchProducer/CSS/embeddedDashboard.css
diff --git a/1_ActivityWatchProducer/lib/ReusableComponents/reusableComponents.css b/1_ActivityWatchProducer/CSS/reusableComponents.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/ReusableComponents/reusableComponents.css
rename to 1_ActivityWatchProducer/CSS/reusableComponents.css
diff --git a/1_ActivityWatchProducer/lib/TasksConsumer/taskdashboard.css b/1_ActivityWatchProducer/CSS/taskdashboard.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/TasksConsumer/taskdashboard.css
rename to 1_ActivityWatchProducer/CSS/taskdashboard.css
diff --git a/1_ActivityWatchProducer/lib/AwUpdateFlowControl/updateInterface.css b/1_ActivityWatchProducer/CSS/updateInterface.css
similarity index 100%
rename from 1_ActivityWatchProducer/lib/AwUpdateFlowControl/updateInterface.css
rename to 1_ActivityWatchProducer/CSS/updateInterface.css
diff --git a/1_ActivityWatchProducer/lib/BugReportPanel/BugReport.js b/1_ActivityWatchProducer/JS/BugReportPanel/BugReport.js
similarity index 100%
rename from 1_ActivityWatchProducer/lib/BugReportPanel/BugReport.js
rename to 1_ActivityWatchProducer/JS/BugReportPanel/BugReport.js
diff --git a/1_ActivityWatchProducer/JS/Modules/AwApiUpdateManager.js b/1_ActivityWatchProducer/JS/ControlPanel/AwApiUpdateManager.js
similarity index 95%
rename from 1_ActivityWatchProducer/JS/Modules/AwApiUpdateManager.js
rename to 1_ActivityWatchProducer/JS/ControlPanel/AwApiUpdateManager.js
index cb35a01c..24897022 100644
--- a/1_ActivityWatchProducer/JS/Modules/AwApiUpdateManager.js
+++ b/1_ActivityWatchProducer/JS/ControlPanel/AwApiUpdateManager.js
@@ -1,11 +1,11 @@
class AwApiUpdateManager {
constructor(jsap_file,awmanager,userinfoconsumer,tasksconsumer){
+ this.log=new Greglogs();
this.awManager=awmanager;
this.userInfoConsumer=userinfoconsumer;
this.tasksConsumer=tasksconsumer;
this.vpanel=document.getElementById("validation_wrapper");
this.opanel=document.getElementById("validation_obscurer");
- this.log=new Greglogs();
this.usergraph="http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail;
//MESSAGES
this.awMessagesProducer=new SynchronousProducer(
@@ -159,12 +159,19 @@ class AwApiUpdateManager {
console.log(success)
//ON SUCCESS...
- await this.awManager.uploadQuery()
+ await this.awManager.uploadQuery() //dentro di se ora awmanager ha gli eventi
+ //non mi piace, voglio che ritorni una variabile e che fai il ciclo for prima
+ //if mongo -> qui invia sia sepa che mongo
+ //else solo sepa
await this.send_messages_to_sepa()
}
+ async send_messages_to_mongo(){
+
+ }
+
async send_messages_to_sepa(){
- consoleLog(1,"### BUTTON PRESSED, STARTING SEPA UPLOAD ###")
+ this.log.info("### BUTTON PRESSED, STARTING SEPA UPLOAD ###")
this.change_update_status(3)//activate loading spinner
console.log(" ")
@@ -194,12 +201,12 @@ class AwApiUpdateManager {
msgtimestamp: msgtimestamp,
msgvalue: this.awManager.eventsRawJson[key]
}
- consoleLog(0,"Usergraph: "+data.usergraph)
- consoleLog(0,"Source: "+data.source)
- consoleLog(0,"Timestamp: "+data.msgtimestamp)
- consoleLog(0,"Message: "+data.msgvalue)
+ this.log.debug("Usergraph: "+data.usergraph)
+ this.log.debug("Source: "+data.source)
+ this.log.debug("Timestamp: "+data.msgtimestamp)
+ this.log.debug("Message: "+data.msgvalue)
response=await this.awManager.sepaClient.SEND_MESSAGE(data)
- consoleLog(0,"RESPONSE: "+JSON.stringify(response))
+ this.log.debug("RESPONSE: "+JSON.stringify(response))
data={}//wipe data
}catch(e){
console.log(e);
diff --git a/1_ActivityWatchProducer/JS/Modules/AwApiStartStopManager.js b/1_ActivityWatchProducer/JS/ControlPanel/ScanManager.js
similarity index 66%
rename from 1_ActivityWatchProducer/JS/Modules/AwApiStartStopManager.js
rename to 1_ActivityWatchProducer/JS/ControlPanel/ScanManager.js
index 9cee80ff..12c88502 100644
--- a/1_ActivityWatchProducer/JS/Modules/AwApiStartStopManager.js
+++ b/1_ActivityWatchProducer/JS/ControlPanel/ScanManager.js
@@ -1,22 +1,39 @@
-class AwApiStartStopManager {
- constructor(){
+class ScanManager extends AwMy2SecClient{
+ constructor(jsap){
+ super(jsap);
this.scan_started=false;
this.time_scanned=0;
this.currentSection=0;
this.updatebutton=document.getElementById("update-procedure-button")
this.explorerbutton=document.getElementById("explorer-button")
this.startbutton=document.getElementById("start-stop-innertext")
- this.awManager= new AwClient();
}
- async start_button(){
+ async getStatus(){
+ var start_event=await this.get_producer_event("last_start")
+ var update_event=await this.get_producer_event("last_update")
+ var data={
+ scanStarted:this.scan_started,
+ timeScanned:time_scanned,
+ lastStartEvent:start_event.data.last_start,
+ lastUpdateEvent:update_event.data.last_update
+ }
+ //this.log.info_table(data);
+ return data;
+ }
+ async logStatus(){
+ var data=await this.getStatus();
+ this.log.info_table(data);
+ }
+
+ async onStartButtonPressed(){
try{
if(!scan_started){
this.currentSection=0;
console.log("Starting scan...")
- var res= await this.awManager.startWatchers()
+ var res= await this.startWatchers()
console.log(res)
- await this.awManager.update_start_flag()
+ await this.update_start_flag()
updatebutton.className="default-button-deactivated"
startbutton.innerHTML=`Stop Scan  `
explorerbutton.className="default-button"
@@ -25,7 +42,7 @@ class AwApiStartStopManager {
}else{
this.currentSection=0;
console.log("stopping scan...")
- var res=await this.awManager.stopWatchers()
+ var res=await this.stopWatchers()
console.log(res)
updatebutton.className="default-button"
startbutton.innerHTML=`Resume Scan  `
@@ -41,43 +58,6 @@ class AwApiStartStopManager {
}
-//###################
-//# START-STOP SCAN #
-//###################
-//update ia knowledge
-var currentSection=0;
-var scan_started=false;
-var time_scanned=0;
-var updatebutton=document.getElementById("update-procedure-button")
-var explorerbutton=document.getElementById("explorer-button")
-var startbutton=document.getElementById("start-stop-innertext")
-async function start_button(){
- try{
- if(!scan_started){
- currentSection=0;
- console.log("Starting scan...")
- var res= await awManager.startWatchers()
- console.log(res)
- await awManager.update_start_flag()
- updatebutton.className="default-button-deactivated"
- startbutton.innerHTML=`Stop Scan  `
- explorerbutton.className="default-button"
- scan_started=true
- timer("ready_status")
- }else{
- currentSection=0;
- console.log("stopping scan...")
- var res=await awManager.stopWatchers()
- console.log(res)
- updatebutton.className="default-button"
- startbutton.innerHTML=`Resume Scan  `
- scan_started=false
- }
- }catch(e){
- console.log(e)
- change_update_status(2)
- }
-}
async function init_update_button(){
var start_event=await awManager.get_producer_event("last_start")
if(Object.keys(start_event).length===0){
diff --git a/1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwManager.js b/1_ActivityWatchProducer/JS/PacModules/AwManager.js
similarity index 99%
rename from 1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwManager.js
rename to 1_ActivityWatchProducer/JS/PacModules/AwManager.js
index c98123dd..34401242 100644
--- a/1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwManager.js
+++ b/1_ActivityWatchProducer/JS/PacModules/AwManager.js
@@ -13,8 +13,8 @@ events_title = document.getElementById("events-title");
class AwManager extends AwProducer{
- constructor(){
- super()
+ constructor(jsap){
+ super(jsap)
this.current_watcher_index=0;
this.tm=new TableManager("validation_body")
this.atm= new ActivityTableManager("validation_body")
@@ -164,7 +164,7 @@ class AwManager extends AwProducer{
//WRITE DATA INTO THE RAW TABLE
//print_raw_json_to_textarea("raw_events_wrapper",json_object)
//WRITE DATA INTO FORMATTED TABLE
- consoleLog(0,json_object.length)
+ log.debug(json_object.length)
//SE NON E' VUOTO ESEGUI
if(json_object.length!=0){
//console.log(json_object)
@@ -221,7 +221,7 @@ class AwManager extends AwProducer{
tablerows.appendChild(row);
}
}else{
- consoleLog(1,"skipped empty json")
+ log.info("skipped empty json")
}
}
diff --git a/1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwProducer.js b/1_ActivityWatchProducer/JS/PacModules/AwProducer.js
similarity index 92%
rename from 1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwProducer.js
rename to 1_ActivityWatchProducer/JS/PacModules/AwProducer.js
index c245a20c..890c9769 100644
--- a/1_ActivityWatchProducer/lib/AwUpdateFlowControl/AwProducer.js
+++ b/1_ActivityWatchProducer/JS/PacModules/AwProducer.js
@@ -12,11 +12,12 @@ const JsapApi = Sepajs.Jsap;
//console.log(JSON.stringify(default_jsap))
class AwProducer extends AwMy2SecClient{
- constructor(){
- super("127.0.0.1:5000")
+ constructor(jsap){
+ super(jsap)
//this.mc= new My2secClient()
- this.queryBenchClient= new Sepajs.SEPA(default_jsap)
- this.sepaClient= new JsapApi(default_jsap)
+ this.sepa_host_string=jsap.host
+ this.queryBenchClient= new Sepajs.SEPA(jsap)
+ this.sepaClient= new JsapApi(jsap)
this.whitelistedWatchers="aw-watcher-working,aw-watcher-afk,aw-watcher-notshutdown,aw-watcher-start-stop"//"aw-watcher-working,aw-watcher-afk,aw-watcher-scan";
this.watchersJson={};
this.eventsRawJson=[];
@@ -28,10 +29,10 @@ class AwProducer extends AwMy2SecClient{
}
async startTests(){
- log.info("testing connections...")
- log.debug("log_level set to error to avoid console cluttering")
- var temp=log.loglevel
- log.loglevel=1
+ this.log.info("testing connections...")
+ this.log.debug("log_level set to error to avoid console cluttering")
+ var temp=this.log.loglevel
+ this.log.loglevel=1
var results={
"sepa":"",
"aw":"",
@@ -55,7 +56,7 @@ class AwProducer extends AwMy2SecClient{
results.aw="not-passed"
}
//test my2sec
- log.loglevel=temp
+ this.log.loglevel=temp
return results
}
@@ -93,10 +94,10 @@ class AwProducer extends AwMy2SecClient{
this.queryBenchClient.query("select ?time where { ?time}")
.then((data)=>{
log.info("Connected to SEPA!");
- sepa_cbox.innerHTML="Connected to SEPA ("+default_jsap.host /*+":"+jsap.sparql11protocol.port*/ +")"
+ sepa_cbox.innerHTML="Connected to SEPA ("+this.sepa_host_string /*+":"+jsap.sparql11protocol.port*/ +")"
resolve(data);
- document.getElementById("row-2").style.display="flex";
+ //document.getElementById("row-2").style.display="flex";
});
});
}
@@ -129,7 +130,6 @@ class AwProducer extends AwMy2SecClient{
console.log(this.start_time_json)
this.eventsRawJson=await this.get_filtered_watchers_events()
for(var key in this.watchersJson){
-
this.eventsJson[key] = JSON.parse(this.eventsRawJson[key]);
this.eventsRawJson[key]=this.eventsRawJson[key].replace(/\\/g,"\\\\");//BUGFIX
this.eventsRawJson[key]=this.eventsRawJson[key].replace(/\"/g,"\\\"");//BUGFIX
@@ -259,17 +259,17 @@ class AwProducer extends AwMy2SecClient{
}
//alert(number_of_filtered_watchers)
if(filtering_active==1){
- consoleLog(0,"FILTERED WATCHERS!")
+ log.debug("FILTERED WATCHERS!")
//OVERRIDE GLOBAL VARIABLE
watchers_json=filtered_watchers_json;
}else{
- consoleLog(2,"USING UNFILTERED WATCHERS, MAY LEAD TO INSTABILITY")
+ log.warning("USING UNFILTERED WATCHERS, MAY LEAD TO INSTABILITY")
}
//consoleLog(0,JSON.stringify(watchers_json));
//alert("ciao")
//[0.1] CREATE AW PRODUCER BUCKET IF IT DOES NOT EXISTS
if(aw_producer_exists==0){
- consoleLog(0,"FIRST RUN, CREATING AW PRODUCER")
+ log.debug("FIRST RUN, CREATING AW PRODUCER")
await this.create_producer_bucket();
}
//RETURN WATCHERS JSON OBJECT
@@ -309,7 +309,7 @@ class AwProducer extends AwMy2SecClient{
}else{
//GET ALL EVENTS
- consoleLog(1,"first run, fetching all events")
+ log.info("first run, fetching all events")
end_time = get_current_timestamp();//FIX BUG ON FIRST START
for(key in this.watchersJson){
try{
@@ -365,10 +365,10 @@ class AwProducer extends AwMy2SecClient{
function update_sepa_message(jsonMessage,watcher_client,watcher_hostname){
//var string="insert { '''"+JSON.stringify(jsonMessage)+"'''} where{}"
var string="insert { _:b '''"+JSON.stringify(jsonMessage)+"'''; '''"+watcher_client+"'''; '''"+watcher_hostname+"'''} where{}"
- consoleLog(0,string)
+ log.debug(string)
client.update(string)
.then(()=>{
- consoleLog(1,"update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
+ log.info("update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
});
}
@@ -378,10 +378,10 @@ function update_user_sepa_message(jsonMessage,watcher_client,username){
//var string="insert { '''"+JSON.stringify(jsonMessage)+"'''} where{}"
return new Promise(resolve=>{
var string="insert { graph {_:b '''"+jsonMessage+"'''}} where{}"
- consoleLog(0,string)
+ log.debug(string)
client.update(string)
.then(()=>{
- consoleLog(1,"update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
+ log.info("update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
resolve("updated");
});
@@ -394,10 +394,10 @@ function update_user_timed_sepa_message(jsonMessage,watcher_client,username,time
//var string="insert { '''"+JSON.stringify(jsonMessage)+"'''} where{}"
return new Promise(resolve=>{
var string="insert { graph {_:b '''"+jsonMessage+"''' ; ; '''"+timestamp+"'''}} where{}"
- consoleLog(0,string)
+ log.debug(string)
client.update(string)
.then(()=>{
- consoleLog(1,"update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
+ log.info("update_sepa_message: "+watcher_client +" EVENTS UPLOADED CORRECTLY!")
resolve("updated");
});
diff --git a/1_ActivityWatchProducer/lib/TasksConsumer/tasksConsumer.js b/1_ActivityWatchProducer/JS/PacModules/tasksConsumer.js
similarity index 93%
rename from 1_ActivityWatchProducer/lib/TasksConsumer/tasksConsumer.js
rename to 1_ActivityWatchProducer/JS/PacModules/tasksConsumer.js
index 373e1c7c..7e4f9d1e 100644
--- a/1_ActivityWatchProducer/lib/TasksConsumer/tasksConsumer.js
+++ b/1_ActivityWatchProducer/JS/PacModules/tasksConsumer.js
@@ -1,7 +1,8 @@
class TasksConsumer{
- constructor(email){
- this.queryBenchClient= new Sepajs.SEPA(default_jsap)
- this.sepaClient= new JsapApi(default_jsap)
+ constructor(jsap,email){
+ var log=new Greglogs();
+ this.queryBenchClient= new Sepajs.SEPA(jsap)
+ this.sepaClient= new JsapApi(jsap)
this.sub;
this.tasksCache=[]
this.email=email;
diff --git a/1_ActivityWatchProducer/lib/UserInfo/UserInfoConsumer.js b/1_ActivityWatchProducer/JS/UserInfo/UserInfoConsumer.js
similarity index 94%
rename from 1_ActivityWatchProducer/lib/UserInfo/UserInfoConsumer.js
rename to 1_ActivityWatchProducer/JS/UserInfo/UserInfoConsumer.js
index 34d45178..e85b3ebf 100644
--- a/1_ActivityWatchProducer/lib/UserInfo/UserInfoConsumer.js
+++ b/1_ActivityWatchProducer/JS/UserInfo/UserInfoConsumer.js
@@ -1,6 +1,7 @@
class UserInfoConsumer {
- constructor(usermail){
- this.sepaConsumer= new Sepajs.SEPA(default_jsap)
+ constructor(jsap,usermail){
+ var log=new Greglogs();
+ this.sepaConsumer= new Sepajs.SEPA(jsap)
this.userName="";
this.usermail=usermail;
//log.info("New UserInfoConsumer created!")
@@ -19,12 +20,11 @@ class UserInfoConsumer {
}
logspan_subEventsCount(element){
- consoleLog(1,"SUBSCRIBING TO EVENTS COUNT")
+ log.debug("SUBSCRIBING TO EVENTS COUNT")
var counter_el=document.getElementById(element);
const sub = this.sepaConsumer.subscribe("select (COUNT(?nodeid) AS ?nevents) where { graph {?nodeid }} ")
//[0]ON SUBSCRIBE
sub.on("subscribed",console.log)
- //g.consoleLog(1,"#### LISTENING TO NOTIFICATIONS ###\n")
//[1]ON NOTIFICATION
sub.on("notification", not => {
var bindings=this.extract_bindings(not);
diff --git a/1_ActivityWatchProducer/JS/greglogs.js b/1_ActivityWatchProducer/JS/greglogs.js
deleted file mode 100644
index 06616641..00000000
--- a/1_ActivityWatchProducer/JS/greglogs.js
+++ /dev/null
@@ -1,115 +0,0 @@
-//CREATE DATE OBJECT
-+ new Date();
-//LOG LEVELS
-var log_level=0; //debug=0, essential=1, error/warning=2
-
-
-class GregLogs{
- constructor() {
- this.loglevel=0;
- //this.info("New Greglogs logger created!")
- }
- //=========
- //[3] LOG
- //logLevel(level){
- // this.loglevel=level;
- //}
-
- //TABLES
- trace_table(table){
- if(this.loglevel<1){
- console.table(table);
- }
- }
- debug_table(table){
- if(this.loglevel<2){
- console.table(table);
- }
- }
- info_table(table){
- if(this.loglevel<3){
- console.table(table);
- }
- }
-
- //TEXT
- trace(text){
- if(this.loglevel<1){
- console.log(this.get_current_timestamp()+" | [trace] "+text);
- }
- }
- debug(text){
- if(this.loglevel<2){
- console.log(this.get_current_timestamp()+" | [debug] "+text);
- }
- }
- info(text){
- if(this.loglevel<3){
- console.log(this.get_current_timestamp()+" | [info] "+text);
- }
- }
- warning(text){
- if(this.loglevel<4){
- console.log(this.get_current_timestamp()+" | [warning] "+text);
- }
- }
- error(text){
- console.log(this.get_current_timestamp()+" | [error] "+text);
- }
-
- //----------------------
- //NAME: GET CURRENT TIME
- //DESCRIPTION: returns the current formatted time
- get_current_timestamp(){
- const date=new Date();
- var string_timestamp=date.toISOString()
- //console.log(stringa)
- return string_timestamp
- }//get_current_timestamp()
-}
-
-log = new GregLogs(0)
-
-
-
-
-
-
-//============================================
-
-function consoleLog(level,argument){
- if (level>=log_level){
-
- if(level==0){
- console.log(get_time()+" [DEBUG] "+argument)
- }else{
- if(level==1){
- console.log(get_time()+" [INFO] "+argument)
- }else{
- console.log(get_time()+" [WARNING] "+argument)
- }
- }
-
-
- }
-}
-
-function get_time(){
- var UTC=2;
- var t_seconds=Math.floor(Date.now() / 1000);
- var t_days=(t_seconds/(3600*24));
-
- var float_h=(t_days-Math.floor(t_days))*24;
- var hours=Math.floor(float_h);
- var utc_hours=hours+UTC;
-
- var float_m=(float_h-hours)*60;
- var minutes=Math.floor(float_m);
-
- var float_s=(float_m-minutes)*60;
- var seconds=Math.floor(float_s);
-
- var timestring=utc_hours+":"+minutes+":"+seconds
- //console.log(timestring)
- return timestring
-}
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/JS/main.js b/1_ActivityWatchProducer/JS/main.js
index 03a80e0d..8c610060 100644
--- a/1_ActivityWatchProducer/JS/main.js
+++ b/1_ActivityWatchProducer/JS/main.js
@@ -5,9 +5,11 @@
|| DESCRIPTION: initializes the application and defines
|| some major functions
\\---------------------------------------------------------*/
+var log=new Greglogs();
var cache=[]
//CLIENTS
let awManager;
+let scanManager;
let userInfoConsumer;
let awApiUpdateManager;
//GLOBAL
@@ -26,47 +28,53 @@ console.log("|| ActivityWatch PRODUCER ||")
console.log("\\\\------------------------//")
//INITIAL CONFIGURATION
init();
-
//==================================
// init: INITIALIZES THE APPLICATION
// modules: user credentials, superset dashboard, tasks
async function init(){
- log.info("Initializing App Modules")
+ log.info("Initializing Application")
+ var json_package=await window.versions.request_user_credentials();
+ json_package=JSON.parse(json_package)//contains jsap and user credentials
+ console.log(json_package)
+
+
+ log.info("----------< Init ACTIVITYWATCH Client, test datasources >----------")
//IF THIS SECTION FAILS, THE APP EXECUTION MUST STOP
- awManager = new AwManager();
- log.info("------TEST DATASOURCES----------------------")
+ awManager = new AwManager(json_package["my2sec_jsap"]);
+ log.info("** TEST DATASOURCES **")
var test_results=await awManager.startTests();
- console.log(test_results)
+ console.table(test_results)
Object.keys(test_results).forEach(k=>{
if(test_results[k]=="not-passed"){
throw new Error("Datasource error: ")
}
})
- log.info("-------TEST COMPLETE------------------------")
- console.log(" ")
+ log.info("** TEST PASSED, DATASOURCES ONLINE! **")
+
//TRY TO STOP WATCHERS AT STARTUP TO AVOID BUGS
console.log("PROVO A SPEGNERE I WATCHERS")
awManager.stopWatchers()
-
+ console.log(" ")
//THIS SECTION MUST ALSO NOT FAIL, SO I WILL NOT CATCH ANY ERROR
- log.info("# KEYCLOAK #")
+ log.info("----------< Init UserInfoManager >----------")
log.debug("getting keycloak user credentials from node...")
- const user_credentials_string = await window.versions.request_user_credentials()
- const user_credentials_json=JSON.parse(user_credentials_string)
- log.trace_table(user_credentials_json)
+ //const user_credentials_string = await window.versions.request_user_credentials()
+ //const user_credentials_json=JSON.parse(user_credentials_string)
+ const user_credentials_json=json_package["user_login_json"];
+ log.info_table(user_credentials_json)
log.info("Fetched user information correctly")
- userInfoConsumer= new UserInfoConsumer(user_credentials_json.email)
+ userInfoConsumer= new UserInfoConsumer(json_package["my2sec_jsap"],user_credentials_json.email)
await userInfoConsumer.sepa_getUserName();
log.debug("User info consumer initialized with data: Email("+userInfoConsumer.usermail+"), username("+userInfoConsumer.userName+")") // prints out 'pong'
userInfoConsumer.logspan_username("user_name_welcome")
userInfoConsumer.logspan_usermail("user_name");
- userInfoConsumer.logspan_subEventsCount("sub_counter")
-
+ //userInfoConsumer.logspan_subEventsCount("sub_counter")
+ console.log(" ")
- log.info("# SUPERSET DASHBOARD #")
+ log.info("----------< Init SUPERSET dashboard >----------")
try{
var dash_id=await userInfoConsumer.sepa_getUserDashboard();//"755f0434-6ac6-4d4f-8415-3b2b80c571e9";
log.info("Fetched dashboard_id of "+userInfoConsumer.userName+" :"+dash_id)
@@ -76,105 +84,45 @@ async function init(){
}catch(e){
console.log(e)
}
+ console.log(" ")
- log.info("### LOADING TASKS ###")
+ log.info("----------< Init TASKS dashboard >----------")
let tasksConsumer;
try{
- tasksConsumer = new TasksConsumer(userInfoConsumer.usermail);
+ tasksConsumer = new TasksConsumer(json_package["my2sec_jsap"],userInfoConsumer.usermail);
+ log.info("** start task consumer **")
tasksConsumer.start()
//tasksConsumer.generate_tasks_template("task-wrapper")
+ //log.info("tasks consumed")
}catch(e){
console.log(e)
}
+ console.log(" ")
//INIT THE CLASS OF THE UPDATE BUTTON
+ log.info("----------< Init CONTROL PANEL >----------")
+ //await initControlPanel();
+
+ scanManager=new ScanManager(json_package["my2sec_jsap"]);
+ scanManager.logStatus();
+
init_update_button()
//INIT VALIDATION PROCEDURE
//awApiUpdateManager=new AwApiUpdateManager(default_jsap,awManager,userInfoConsumer,tasksConsumer)
//awApiUpdateManager.start();
- awApiUpdateManager=new AwApiUpdateManager(default_jsap,awManager,userInfoConsumer,tasksConsumer)
+ awApiUpdateManager=new AwApiUpdateManager(json_package["my2sec_jsap"],awManager,userInfoConsumer,tasksConsumer)
//test()
- /*
- let flagsub=awManager.sepaClient.GET_USER_SYNCHRONIZATION_FLAG({
- flag_type:"http://www.vaimee.it/my2sec/trainingactivitiesflag",
- usergraph:"http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
- })
- var firstTime=true
- flagsub.on("notification",not=>{console.log(not)})
- */
-
- //DA QUI INIZIAVA
- /*
- let trainingactivitiessub=awManager.sepaClient.USER_TRAINING_ACTIVITIES({
- usergraph:"http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
- })
- let flagsub=awManager.sepaClient.GET_SYNCHRONIZATION_FLAG({
- flag_type:"http://www.vaimee.it/my2sec/trainingactivitiesflag"
- //usergraph:"http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
- })
-
- var firstActivity=true;
- trainingactivitiessub.on("notification",not=>{
- if(firstActivity){
- firstActivity=false;
- }else{
- console.log("ACTIVITIES RECEIVED!")
- console.log(not)
- if(not.removedResults.results.bindings.length==0){ //on added results
- //trainingactivitiessub.unsubscribe();
- var bindings=not.addedResults.results.bindings
- for(var i in bindings){
- for(var k in bindings[i]){
- bindings[i][k]=bindings[i][k].value
- }
- cache.push(bindings[i])
- }
- }else{
- console.log("ignored removed activities")
- }
- }
- })
- var firstTime=true
- flagsub.on("notification",not=>{
- console.log("FLAG NOTIFICATION: "+JSON.stringify(not))
- if(firstTime){
- console.log("first flag")
- firstTime=false;
- }else{
-
- try{
- console.log("FLAG RECEIVED!")
- console.log(not)
- if(not.removedResults.results.bindings.length==0){
- if(not.addedResults.results.bindings[0].usergraph.value=="http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail){
- var syncresponse=awManager.sepaClient.RESET_SYNCHRONIZATION_FLAG({
- flag:not.addedResults.results.bindings[0].flag.value
- })
- //flagsub.unsubscribe()
- console.log("calling on_received_training_activities, cache: "+JSON.stringify(cache))
- on_received_training_activities(cache)
- cache=[];
- //console.log(e)
- }else{
- console.log("ignored flag")
- }
- }else{
- console.log("ignored removed flag")
- }
- }catch(e){console.log(e)}
- }
- //}//END OF IF
- })
- */
-
}
+
+
+
/*
async function test(){
console.log("TESTING")
@@ -368,313 +316,6 @@ function set_all_rows_to_value(value){
awApiUpdateManager.awManager.tm.set_all_rows_to_value(value)
}
-/*
-var vpanel=document.getElementById("validation_wrapper");
-var opanel=document.getElementById("validation_obscurer");
-//open validation panel
-async function start_update_procedure(){
- if(updatebutton.className=="default-button-deactivated"){
- throw new Error("Error: button is deactivated. Start and then stop a scan to activate this function")
- }
- vpanel.style.display="block"
- opanel.style.display="block"
- awManager.initialize_validation_procedure()
-}
-async function abort_update_procedure(){
- vpanel.style.display="none"
- opanel.style.display="none"
-}
-*/
-/*
-async function on_validation_button_pressed(){
- if(currentSection==0){
- confirm_and_upload()
- }else{
- send_validated_activities()
- }
- currentSection++
-}
-*/
-/*
-async function confirm_and_upload(){
- if(!confirm("Are you sure?")){
- throw new Error("UPLOAD ABORTED!")
- }
-
- console.log("### STARTING AI UPLOAD ###")
-
- var arr=awManager.tm.logicalArray//Json styled csv
- console.log("proceeding to send: ")
- console.table(arr)
- if(!(Object.keys(arr).length===0)){
- console.log(arr)
- var newKnowledgeCell={}
- for(var k in arr){
- var field=[]
- for(var i in arr[k]){
- field.push(arr[k][i])
- }
- newKnowledgeCell[k]=field;
- }
- newKnowledgeCell=JSON.stringify(newKnowledgeCell)
- console.log(newKnowledgeCell)
- await awManager.setWorkEvents(newKnowledgeCell)
-
- var success=await awManager.getCsvNone()
- console.log(success)
- if(success=="True"){
- throw new Error("None events are present in Csv")
- }
- }else{
- console.log("NOTHING TO SHOW, PROCEEDING WITH SENDING EVENTS")
- }
-
- var success=await awManager.sendCurrentCsv()
- console.log(success)
-
- //ON SUCCESS...
- await awManager.uploadQuery()
- await send_messages_to_sepa()
-
-}
-*/
-//update verfied data to sepa
-/*
-async function send_messages_to_sepa(){
- consoleLog(1,"### BUTTON PRESSED, STARTING SEPA UPLOAD ###")
- change_update_status(3)//activate loading spinner
-
- console.log(" ")
-
- //UPDATE MESSAGE
- var update_success_flag=1;
- var response;
- var data={};
- for (var key in awManager.watchersJson) {
- try{
- var msgtimestamp=get_current_timestamp();
- //response=await update_user_timed_sepa_message(EVENTS_RAWJSON[key],WATCHERS_JSON[key].client,curruser,msgtimestamp);
-
- //BUGFIX
- if(!awManager.watchersJson[key].id.includes(awManager.watchersJson[key].client)){
- //l'id e il client name sono diversi, seleziona l'id
- log.warning("id and clientname of watcher do not match, using sliced id as clientname...")
- var index=awManager.watchersJson[key].id.lastIndexOf("_")
- awManager.watchersJson[key].client=awManager.watchersJson[key].id.slice(0,index)
- log.warning(awManager.watchersJson[key].client)
- }
-
- data={
- message_graph: "http://www.vaimee.it/my2sec/messages/activitywatch",
- usergraph: "http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail,
- source: "http://www.vaimee.it/sources/"+awManager.watchersJson[key].client,
- msgtimestamp: msgtimestamp,
- msgvalue: awManager.eventsRawJson[key]
- }
- consoleLog(0,"Usergraph: "+data.usergraph)
- consoleLog(0,"Source: "+data.source)
- consoleLog(0,"Timestamp: "+data.msgtimestamp)
- consoleLog(0,"Message: "+data.msgvalue)
- response=await awManager.sepaClient.SEND_MESSAGE(data)
- consoleLog(0,"RESPONSE: "+JSON.stringify(response))
- data={}//wipe data
- }catch(e){
- console.log(e);
- update_success_flag=0;
- }
- }
-
- if(update_success_flag==1){
- change_update_status(1)
- if(silent_update==0){
- begin_activities_validation();
- //WHEN ALL UPDATES ARE DONE, CREATE UPDATE EVENT
- //UNCOMMENT TO RESUME UPDATE
- var syncresponse=await awManager.sepaClient.SET_SYNCHRONIZATION_FLAG({
- flag_type:"http://www.vaimee.it/my2sec/awproducerflag",
- usergraph:"http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
- })
- console.log("Sync flag response: "+JSON.stringify(syncresponse))
- console.log("UPDATING TIMESTAMP")
- await awManager.update_event("{ \"timestamp\": \""+get_current_timestamp()+"\", \"duration\": 0, \"data\": {\"last_update\":\""+get_current_timestamp()+"\"} }")
- //alert("UPDATED!");
- init_update_button()
- console.log("SUCCESS!")
-
-
-
-
- //var loadingbar=document.getElementById("loading_bar");
- //loadingbar.style.animation="load 1s linear"
- }else{
- console.log("SILENT UPDATE, PRODUCER TIMESTAMP DID NOT CHANGE")
- change_update_status(1)
- }
-
-
- }else{
- //alert("UPDATE FAILED!")
- change_update_status(2)
- }
-
-}
-*/
-var dt=[{
- "usergraph": {
- "type": "uri",
- "value": "http://www.vaimee.it/defuser"
- },
- "event_type": {
- "type": "uri",
- "value": "my2sec:windowEvent"
- },
- "datetimestamp": {
- "type": "literal",
- "value": "2022-08-10T15:33:42.503000+00:00"
- },
- "app": {
- "type": "literal",
- "value": "chrome.exe"
- },
- "title": {
- "type": "literal",
- "value": "youtube"
- },
- "activity_type": {
- "type": "uri",
- "value": "my2sec:Developing"
- },
- "task": {
- "type": "literal",
- "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
- },
- "duration": {
- "type": "literal",
- "value": "16.0"
- }
-},
-{
- "usergraph": {
- "type": "uri",
- "value": "http://www.vaimee.it/defuser"
- },
- "event_type": {
- "type": "uri",
- "value": "my2sec:windowEvent"
- },
- "datetimestamp": {
- "type": "literal",
- "value": "2022-08-10T15:33:42.503000+00:00"
- },
- "app": {
- "type": "literal",
- "value": "chrome.exe"
- },
- "title": {
- "type": "literal",
- "value": "youtube"
- },
- "activity_type": {
- "type": "uri",
- "value": "my2sec:Developing"
- },
- "task": {
- "type": "literal",
- "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
- },
- "duration": {
- "type": "literal",
- "value": "16.0"
- }
-}
-]
-
-//on_received_training_activities(dt)
-//ACTIVITIES VALIDATION
-/*
-function begin_activities_validation(){
- document.getElementById("vs1").className="validation_section";
- document.getElementById("vs2").className="validation_section-selected";
- document.getElementById("validation_body").innerHTML="";
- console.log("BEGINNING ACTIVITIES PROCEDURE")
- change_update_status(0);
-}
-
-function on_received_training_activities(bindings){
- console.log("Setting original bindings:")
- console.log(bindings)
- awManager.atm.originalBindings=bindings;
- var known_categories="Developing,Meeting,Researching,Testing,Other,Email"
- console.log("Injecting table")
- awManager.atm.injectTable(bindings,"activity_type,app,title,duration,datetimestamp",known_categories)
- if(!awManager._jsonEmpty(bindings)){
- $(document).ready( function () {
- var events_table=$("#wst").DataTable();
- } );
- }else{
- console.log("ERROR: JSON CAN'T BE EMPTY")
- change_update_status(2)
- }
- //on_validated_activities()
-}
-
-async function send_validated_activities(){
- change_update_status(3);
- var arr=awManager.atm.logicalArray//Json styled csv
- console.log(arr)
- //throw new Error("MAO")
- var ok=0;
- try{
- for(var i in arr){
- arr[i]["usergraph"]="http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
-
- var title=arr[i]["title"].replace(/\\/g,"\\\\");//PRIMA LE DOPPIE SBARRE
- title=title.replace(/\'/g,"\\\'"); //POI GLI ASTERISCHI
- arr[i]["title"]=title;
- console.log(arr[i])
-
- var syncresponse=await awManager.sepaClient.ADD_VALIDATED_ACTIVITY(arr[i])
- console.log("Add validated activity response: "+JSON.stringify(syncresponse))
- }
-
- try{
-
-
- var toRemove=awManager.atm.originalBindings;
- console.log("REMOVING: ")
- console.log(toRemove)
- for(var i in toRemove){
- var syncresponse=await awManager.sepaClient.REMOVE_TRAINING_ACTIVITY({
- activity: toRemove[i].nodeid
- })
- console.log("Remove training activity response: "+JSON.stringify(syncresponse))
- }
-
- }catch(e){
- console.log(e)
- }
-
- var syncresponse=await awManager.sepaClient.SET_SYNCHRONIZATION_FLAG({
- flag_type:"http://www.vaimee.it/my2sec/validatedactivitiesflag",
- usergraph:"http://www.vaimee.it/my2sec/"+userInfoConsumer.usermail
- })
- console.log("Sync flag response: "+JSON.stringify(syncresponse))
- ok=1;
- }catch(e){
- console.log(e)
- ok=0;
- }
- if(ok==1){
- change_update_status(1)
- document.getElementById("success_status").innerHTML="Success! You can view your tasks on OpenProject"
- }else{
- change_update_status(2)
- }
-
-}
-*/
-
-
//=====================
// UTILITIES FUNCTIONS
@@ -696,34 +337,6 @@ function fake_send(){
alert("this button is outdated, please use the update button in the home screen")
}
-/*
-function change_update_status(type){
- //$("ready_status").style.display="none";
- //HIDE ALL
- //document.getElementById("ready_status").style.display="none";
- document.getElementById("success_status").style.display="none";
- document.getElementById("error_status").style.display="none";
- document.getElementById("update_spinner").style.display="none";
- //0 ready, 1 success, 2 error, 3 spinner
- switch (type) {
- case 0:
- console.log("status box removed")
- //document.getElementById("ready_status").style.display="block";
- break;
- case 1:
- document.getElementById("success_status").style.display="block";
- break;
- case 2:
- document.getElementById("error_status").style.display="block";
- break;
- case 3:
- document.getElementById("update_spinner").style.display="block";
- break;
- default:
- break;
- }
-}*/
-
async function timer(span){
while(scan_started){
await wait("1000")
diff --git a/1_ActivityWatchProducer/lib/my2sec-FULL_271022.js b/1_ActivityWatchProducer/Resources/my2sec-FULL_271022.js
similarity index 100%
rename from 1_ActivityWatchProducer/lib/my2sec-FULL_271022.js
rename to 1_ActivityWatchProducer/Resources/my2sec-FULL_271022.js
diff --git a/1_ActivityWatchProducer/lib/my2sec-jena_251122.jsap.js b/1_ActivityWatchProducer/Resources/my2sec-jena_251122.jsap.js
similarity index 100%
rename from 1_ActivityWatchProducer/lib/my2sec-jena_251122.jsap.js
rename to 1_ActivityWatchProducer/Resources/my2sec-jena_251122.jsap.js
diff --git a/1_ActivityWatchProducer/lib/my2sec-jena_251122.jsap.txt b/1_ActivityWatchProducer/Resources/my2sec-jena_251122.jsap.txt
similarity index 100%
rename from 1_ActivityWatchProducer/lib/my2sec-jena_251122.jsap.txt
rename to 1_ActivityWatchProducer/Resources/my2sec-jena_251122.jsap.txt
diff --git a/1_ActivityWatchProducer/lib/my2sec_19-1-2023.jsap.js b/1_ActivityWatchProducer/Resources/my2sec_19-1-2023.jsap.js
similarity index 99%
rename from 1_ActivityWatchProducer/lib/my2sec_19-1-2023.jsap.js
rename to 1_ActivityWatchProducer/Resources/my2sec_19-1-2023.jsap.js
index 3989c2ee..3ab9b3e0 100644
--- a/1_ActivityWatchProducer/lib/my2sec_19-1-2023.jsap.js
+++ b/1_ActivityWatchProducer/Resources/my2sec_19-1-2023.jsap.js
@@ -45,6 +45,16 @@ default_jsap={
},
"extended": {
+ "AwProducer": {
+ "endpoints":{
+ "Keycloak": "https://keycloak.vaimee.org",
+ "ActivityWatch": "http://localhost:5000",
+ "My2secApi": "http://localhost:5600",
+ "MongoDb": "mongodb://root:Gregnet-99@dld.arces.unibo.it:27017/"
+ },
+ "loglevel":0
+ }
+
},
"updates": {
"CREATE_USERNAMES_GRAPH":{
diff --git a/1_ActivityWatchProducer/Resources/my2sec_7-3-2023.jsap b/1_ActivityWatchProducer/Resources/my2sec_7-3-2023.jsap
new file mode 100644
index 00000000..0d5e9d92
--- /dev/null
+++ b/1_ActivityWatchProducer/Resources/my2sec_7-3-2023.jsap
@@ -0,0 +1,717 @@
+{
+ "host": "dld.arces.unibo.it",
+ "oauth": {
+ "enable": false,
+ "register": "https://localhost:8443/oauth/register",
+ "tokenRequest": "https://localhost:8443/oauth/token"
+ },
+ "sparql11protocol": {
+ "protocol": "http",
+ "port": 8551,
+ "query": {
+ "path": "/query",
+ "method": "POST",
+ "format": "JSON"
+ },
+ "update": {
+ "path": "/update",
+ "method": "POST",
+ "format": "JSON"
+ }
+ },
+ "sparql11seprotocol": {
+ "protocol": "ws",
+ "availableProtocols": {
+ "ws": {
+ "port": 9551,
+ "path": "/subscribe"
+ },
+ "wss": {
+ "port": 9443,
+ "path": "/secure/subscribe"
+ }
+ }
+ },
+ "graphs": {
+
+ },
+ "namespaces": {
+ "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
+ "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
+ "xsd": "http://www.w3.org/2001/XMLSchema#",
+ "owl": "http://www.w3.org/2002/07/owl#",
+ "time":"http://www.w3.org/2006/time#",
+ "my2sec": "http://www.vaimee.it/ontology/my2sec#"
+ },
+ "extended": {
+
+ "AwProducer": {
+ "endpoints":{
+ "Keycloak": "https://keycloak.vaimee.org",
+ "ActivityWatch": "http://localhost:5600",
+ "AwApiRouter": "http://localhost:1340",
+ "My2secApi": "http://localhost:5000",
+ "MongoDb": "mongodb://root:Gregnet-99@dld.arces.unibo.it:27017/",
+ "MongoDbRouter": "http://localhost:1341"
+ },
+ "loglevel":0
+ }
+
+ },
+ "updates": {
+ "CREATE_USERNAMES_GRAPH":{
+ "sparql": "CREATE GRAPH "
+ },
+ "DROP_USERNAMES_GRAPH":{
+ "sparql":"DROP GRAPH "
+ },
+ "ADD_USER":{
+ "sparql":"INSERT DATA { GRAPH { ?usergraph my2sec:username ?username_literal }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "username_literal": {
+ "type": "literal",
+ "value": "defuser"
+ }
+ }
+ },
+ "CREATE_USER_PRIVATE_GRAPH":{
+ "sparql":"CREATE GRAPH ?usergraph",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ }
+ }
+ },
+ "REMOVE_USER":{
+ "sparql":"DELETE {?s ?p ?o} WHERE { GRAPH { ?p ?o }}"
+ },
+ "DELETE_USER_PRIVATE_GRAPH":{
+ "sparql":"DROP GRAPH "
+ },
+
+ "DELETE_ALL_USER_DATA":{
+ "sparql":"DELETE { GRAPH ?usergraph {?s ?p ?o}} WHERE { GRAPH ?usergraph { ?s ?p ?o }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ }
+ }
+ },
+ "SEND_MESSAGE":{
+ "sparql":"INSERT { GRAPH ?message_graph {?b rdf:type my2sec:Message ; my2sec:hasMember ?usergraph ; my2sec:messageValue ?msgvalue; my2sec:messageSource ?source ; time:inXSDDateTimeStamp ?msgtimestamp }} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "message_graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/messages/activitywatch"
+ },
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/aw-watcher-window"
+ },
+ "msgtimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "msgvalue": {
+ "type": "literal",
+ "value": "{}"
+ }
+ }
+ },
+ "DELETE_MESSAGE":{
+ "sparql":"DELETE { GRAPH ?message_graph {?message ?p ?o }} WHERE { GRAPH ?message_graph {?message ?p ?o} }",
+ "forcedBindings": {
+ "message_graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/messages/activitywatch"
+ },
+ "message": {
+ "type": "uri",
+ "value": "urn:uuid:MessageUri"
+ }
+ }
+ },
+ "ADD_TRAINING_EVENT":{
+ "sparql":"INSERT {GRAPH { ?b rdf:type my2sec:TrainingEvent ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:hasActivityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }} WHERE {BIND(UUID() AS ?b )}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:WindowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "Portainer"
+ },
+ "activity_type": {
+ "type": "uri",
+ "value": "my2sec:Developing"
+ },
+ "task": {
+ "type": "literal",
+ "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
+ },
+ "duration": {
+ "type": "literal",
+ "value": "16.0"
+ }
+ }
+ },
+ "ADD_EVENT":{
+ "sparql":"INSERT {GRAPH { ?b rdf:type my2sec:Event ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp}} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:WindowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "youtube"
+ }
+ }
+ },
+ "REMOVE_EVENT":{
+ "sparql":"DELETE {GRAPH {?event ?p ?o} } WHERE{ GRAPH { ?event ?p ?o }}",
+ "forcedBindings": {
+ "event": {
+ "type": "uri",
+ "value": "urn:uuid:EventX"
+ }
+ }
+ },
+ "REMOVE_TRAINING_EVENT":{
+ "sparql":"DELETE {GRAPH {?event ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1} } WHERE{ GRAPH {?event ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1}}",
+ "forcedBindings": {
+ "event": {
+ "type": "uri",
+ "value": "urn:uuid:EventX"
+ }
+ }
+ },
+ "ADD_ACTIVITY":{
+ "sparql":"INSERT {GRAPH {?b rdf:type my2sec:Activity ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:windowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "Portainer"
+ },
+ "activity_type": {
+ "type": "uri",
+ "value": "my2sec:Developing"
+ },
+ "task": {
+ "type": "literal",
+ "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
+ },
+ "duration": {
+ "type": "literal",
+ "value": "16.0"
+ }
+ }
+ },
+ "ADD_VALIDATED_ACTIVITY":{
+ "sparql":"INSERT {GRAPH {?b rdf:type my2sec:ValidatedActivity ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/defuser"
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:windowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "youtube"
+ },
+ "activity_type": {
+ "type": "uri",
+ "value": "my2sec:developement"
+ },
+ "task": {
+ "type": "literal",
+ "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
+ },
+ "duration": {
+ "type": "literal",
+ "value": "16.0"
+ }
+ }
+ },
+ "ADD_TRAINING_ACTIVITY":{
+ "sparql":"INSERT {GRAPH {?b rdf:type my2sec:TrainingActivity ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/defuser"
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:windowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "youtube"
+ },
+ "activity_type": {
+ "type": "uri",
+ "value": "my2sec:developement"
+ },
+ "task": {
+ "type": "literal",
+ "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
+ },
+ "duration": {
+ "type": "literal",
+ "value": "16.0"
+ }
+ }
+ },
+
+
+
+ "REMOVE_ACTIVITY":{
+ "sparql":"DELETE {GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1} } WHERE{ GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1}}",
+ "forcedBindings": {
+ "activity": {
+ "type": "uri",
+ "value": "urn:uuid:ActivityX"
+ }
+ }
+ },
+ "REMOVE_TRAINING_ACTIVITY":{
+ "sparql":"DELETE {GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1} } WHERE{ GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1}}",
+ "forcedBindings": {
+ "activity": {
+ "type": "uri",
+ "value": "urn:uuid:ActivityX"
+ }
+ }
+ },
+ "REMOVE_VALIDATED_ACTIVITY":{
+ "sparql":"DELETE {GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1} } WHERE{ GRAPH {?activity ?p ?o ; my2sec:hasTimeInterval ?d . ?d ?p1 ?o1}}",
+ "forcedBindings": {
+ "activity": {
+ "type": "uri",
+ "value": "urn:uuid:ActivityX"
+ }
+ }
+ },
+
+ "OLD_REMOVE_ACTIVITY":{
+ "sparql":"DELETE{ GRAPH { ?bnode rdf:type my2sec:Activity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval ?d . ?d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }} WHERE{ GRAPH { ?bnode rdf:type my2sec:Activity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval ?d . ?d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": ""
+ },
+ "event_type": {
+ "type": "uri",
+ "value": "my2sec:windowEvent"
+ },
+ "datetimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "app": {
+ "type": "literal",
+ "value": "chrome.exe"
+ },
+ "title": {
+ "type": "literal",
+ "value": "youtube"
+ },
+ "activity_type": {
+ "type": "uri",
+ "value": "my2sec:developement"
+ },
+ "task": {
+ "type": "literal",
+ "value": "WP2-IMPLEMENTAZIONE COMPONENTI"
+ },
+ "duration": {
+ "type": "literal",
+ "value": "16.0"
+ }
+ }
+ },
+ "SEND_OP_MESSAGE":{
+ "sparql":"INSERT { GRAPH ?usergraph {?b rdf:type my2sec:Message ; my2sec:messageValue ?msgvalue; my2sec:messageSource ?source ; time:inXSDDateTimeStamp ?msgtimestamp}} WHERE {BIND(UUID() AS ?b)} ",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/open-project"
+ },
+ "msgtimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "msgvalue": {
+ "type": "literal",
+ "value": "{}"
+ }
+ }
+ },
+ "CREATE_PROJECTS_GRAPH":{
+ "sparql":"CREATE GRAPH "
+ },
+ "UPDATE_PROJECT":{
+ "sparql":"WITH DELETE { ?projecturi rdf:type my2sec:Project; my2sec:projectId ?del_project_id; my2sec:projectIdentifier ?del_project_identifier } INSERT { ?projecturi rdf:type my2sec:Project; my2sec:projectId ?projectid; my2sec:projectIdentifier ?project_identifier } WHERE { OPTIONAL { ?projecturi rdf:type my2sec:Project; my2sec:projectId ?del_project_id; my2sec:projectIdentifier ?del_project_identifier}}",
+ "forcedBindings": {
+ "projecturi": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/projects#demo-project"
+ },
+ "projectid": {
+ "type": "literal",
+ "value": 1,
+ "datatype": "xsd:integer"
+ },
+ "project_identifier": {
+ "type": "literal",
+ "value": "Demo Project"
+ }
+ }
+ },
+ "ADD_TASK":{
+ "sparql":"INSERT { GRAPH ?graph { ?b rdf:type my2sec:Task ; my2sec:hasProject ?projecturi ; my2sec:taskId ?task_id; my2sec:taskTitle ?task_title; my2sec:hasMember ?assignee; my2sec:spentTime _:timenode . _:timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?spent_time }} WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/projects#"
+ },
+ "projecturi": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/projects#demo-project"
+ },
+ "task_id": {
+ "type": "literal",
+ "value": 1,
+ "datatype": "xsd:integer"
+ },
+ "task_title": {
+ "type": "uri",
+ "value": "ATaskTitle"
+ },
+ "assignee": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/members/gregorio.monari@gmail.com"
+ },
+ "spent_time": {
+ "type": "literal",
+ "value": "15.50",
+ "datatype": "xsd:decimal"
+ }
+ }
+ },
+ "UPDATE_TASK":{
+ "sparql":"DELETE { GRAPH ?graph { ?old_bnode rdf:type my2sec:Task; my2sec:hasProject ?old_project; my2sec:taskId ?task_id; my2sec:taskTitle ?old_task_title ; my2sec:hasMember ?old_member; my2sec:spentTime ?old_timenode . ?old_timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?old_value}} INSERT { GRAPH ?graph { _:bnode rdf:type my2sec:Task ; my2sec:hasProject ?projecturi ; my2sec:taskId ?task_id; my2sec:taskTitle ?task_title; my2sec:hasMember ?assignee; my2sec:spentTime _:timenode . _:timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?old_value }} WHERE { GRAPH ?graph { OPTIONAL { ?old_bnode rdf:type my2sec:Task; my2sec:hasProject ?old_project; my2sec:taskId ?task_id; my2sec:taskTitle ?old_task_title ; my2sec:Member ?old_member; my2sec:spentTime ?old_timenode . ?old_timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?old_value }}}",
+ "forcedBindings": {
+ "graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/projects#"
+ },
+ "projecturi": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/projects#demo-project"
+ },
+ "task_id": {
+ "type": "literal",
+ "value": 1,
+ "datatype": "xsd:integer"
+ },
+ "task_title": {
+ "type": "literal",
+ "value": "ATaskTitle"
+ },
+ "assignee": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/members/gregorio.monari@gmail.com"
+ },
+ "spent_time": {
+ "type": "literal",
+ "value": "15.50",
+ "datatype": "xsd:decimal"
+ }
+ }
+ },
+ "SEND_KEYCLOAK_MESSAGE":{
+ "sparql":"WITH ?graph INSERT { ?b rdf:type mysec:Message ; my2sec:messageValue ?msgvalue; my2sec:messageSource ?source ; time:inXSDDateTimeStamp ?msgtimestamp } WHERE {BIND(UUID() AS ?b)}",
+ "forcedBindings": {
+ "graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/members"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/keycloak"
+ },
+ "msgtimestamp": {
+ "type": "literal",
+ "value": "2022-08-10T15:33:42.503000+00:00"
+ },
+ "msgvalue": {
+ "type": "literal",
+ "value": "{}"
+ }
+ }
+ },
+ "SET_SYNCHRONIZATION_FLAG":{
+ "sparql":"INSERT {GRAPH {?flag rdf:type ?flag_type ; my2sec:hasMember ?usergraph ; time:inXSDDateTimeStamp ?now}} WHERE{BIND(now() as ?now) BIND(UUID() AS ?flag)}",
+ "forcedBindings": {
+ "flag_type": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/awproducerflag"
+ },
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ }
+ }
+ },
+ "RESET_SYNCHRONIZATION_FLAG":{
+ "sparql":"DELETE {GRAPH {?flag ?p ?o}} WHERE{GRAPH {?flag ?p ?o}}",
+ "forcedBindings": {
+ "flag": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/urn:id:1234"
+ }
+ }
+ },
+ "LOG_TIME":{
+ "sparql":"INSERT {GRAPH { ?b rdf:type my2sec:Logtime; my2sec:hasMember ?usergraph; my2sec:hasTask ?task_uri; time:inXSDDateTimeStamp ?now; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?log_time }} WHERE{ BIND(now() as ?now) BIND(UUID() AS ?b) }",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ },
+ "task_uri": {
+ "type": "uri",
+ "value": "urn:id:1234"
+ },
+ "log_time": {
+ "type": "literal",
+ "value": "2.5"
+ }
+ }
+ }
+ },
+ "queries": {
+ "ALL_USERNAMES": {
+ "sparql":"SELECT * WHERE { GRAPH { ?s my2sec:username ?o }}"
+ },
+ "SINGLE_MESSAGE":{
+ "sparql":"SELECT * WHERE {GRAPH ?user_graph {?bnode_label my2sec:messageValue ?json_message ; my2sec:messageSource ?source ;time:inXSDDateTimeStamp ?message_timestamp }}",
+ "forcedBindings": {
+ "user_graph":{
+ "type": "uri",
+ "value": "http://www.vaimee.it/members/defuser@vaimee.it"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/aw-watcher-window"
+ },
+ "message_timestamp": {
+ "type": "literal",
+ "value": "22:05"
+ }
+ }
+ },
+ "ALL_USER_DATA": {
+ "sparql":"SELECT * WHERE { GRAPH { ?s ?p ?o } }"
+ },
+ "USER_EVENTS": {
+ "sparql":"SELECT * WHERE { GRAPH { ?nodeid rdf:type my2sec:Event; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?timestamp; my2sec:activityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval ?duration . FILTER (?event_type != my2sec:Event) } }"
+ },
+ "USER_EVENTS_COUNT": {
+ "sparql":"SELECT (COUNT(?nodeid) AS ?nevents) WHERE { GRAPH ?usergraph { ?nodeid rdf:type my2sec:Event }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ }
+ }
+ },
+ "ALL_USERS_MESSAGES_OLD":{
+ "sparql":"SELECT * WHERE { GRAPH ?message_graph {?bnode_label my2sec:messageUser ?usergraph; my2sec:messageValue ?json_message ; my2sec:messageSource ?source ;time:inXSDDateTimeStamp ?message_timestamp }}",
+ "forcedBindings": {
+ "message_graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/messages/activitywatch"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/aw-watcher-window"
+ }
+ }
+ },
+ "ALL_USERS_MESSAGES":{
+ "sparql":"SELECT * WHERE { GRAPH ?message_graph {?b rdf:type my2sec:Message ; my2sec:hasMember ?usergraph ; my2sec:messageValue ?msgvalue; my2sec:messageSource ?source ; time:inXSDDateTimeStamp ?msgtimestamp }}",
+ "forcedBindings": {
+ "message_graph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/messages/activitywatch"
+ }
+ }
+ },
+ "ALL_USERS_EVENTS_BLAZEGRAPH":{
+ "sparql":"SELECT * WHERE { GRAPH {?usergraph my2sec:username ?username_literal} GRAPH ?usergraph {?nodeid rdf:type my2sec:Event; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:hasTimeInterval ?duration . OPTIONAL { ?nodeid my2sec:taskTitle ?task} FILTER (?event_type != my2sec:Event) }}"
+ },
+ "ALL_USERS_TRAINING_EVENTS":{
+ "sparql":"SELECT ?nodeid ?usergraph ?event_type ?app ?title ?datetimestamp ?duration ?task WHERE { GRAPH {?nodeid rdf:type my2sec:TrainingEvent ; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:hasActivityType ?activity_type; my2sec:taskTitle ?task; my2sec:hasTimeInterval ?timenode . ?timenode rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration . FILTER (?event_type != my2sec:TrainingEvent) }}"
+ },
+ "ALL_USERS_EVENTS":{
+ "sparql":"SELECT * WHERE { GRAPH {?nodeid rdf:type my2sec:Event; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; FILTER (?event_type != my2sec:Event) }}"
+ },
+ "ALL_USERS_ACTIVITIES":{
+ "sparql":"SELECT * WHERE { GRAPH {?nodeid rdf:type my2sec:Activity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:hasTimeInterval ?timenode . ?timenode rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration . OPTIONAL { ?nodeid my2sec:taskTitle ?task} FILTER (?event_type != my2sec:Activity) }}"
+ },
+ "ALL_USERS_VALIDATED_ACTIVITIES":{
+ "sparql":"SELECT * WHERE { GRAPH {?nodeid rdf:type my2sec:ValidatedActivity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:hasTimeInterval ?timenode . ?timenode rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration . OPTIONAL { ?nodeid my2sec:taskTitle ?task} FILTER (?event_type != my2sec:ValidatedActivity) }}"
+ },
+ "ALL_USERS_TRAINING_ACTIVITIES":{
+ "sparql":"SELECT * WHERE { GRAPH {?nodeid rdf:type my2sec:TrainingActivity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:hasTimeInterval ?timenode . ?timenode rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration . OPTIONAL { ?nodeid my2sec:taskTitle ?task} FILTER (?event_type != my2sec:TrainingActivity) }}"
+ },
+ "USER_TRAINING_ACTIVITIES":{
+ "sparql":"SELECT * WHERE { GRAPH {?nodeid rdf:type my2sec:TrainingActivity; my2sec:hasMember ?usergraph; rdf:type ?event_type; my2sec:nameApp ?app; my2sec:titleFile ?title; time:inXSDDateTimeStamp ?datetimestamp; my2sec:activityType ?activity_type; my2sec:hasTimeInterval ?timenode . ?timenode rdf:type time:Duration; time:unitType time:unitSecond ; time:numericDuration ?duration . OPTIONAL { ?nodeid my2sec:taskTitle ?task} FILTER (?event_type != my2sec:TrainingActivity) VALUES ?usergraph {?forceUserGraph} }}",
+ "forcedBindings": {
+ "forceUserGraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ }
+ }
+ },
+
+ "ALL_OP_MESSAGES":{
+ "sparql":"SELECT * WHERE{ GRAPH ?usergraph { _:b my2sec:messageValue ?msgvalue; my2sec:messageSource ?source ; time:inXSDDateTimeStamp ?msgtimestamp . }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ },
+ "source": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/sources/open-project"
+ }
+ }
+ },
+ "ALL_PROJECTS":{
+ "sparql":"SELECT * WHERE {GRAPH { ?projecturi rdf:type my2sec:project; my2sec:projectId ?project_id; my2sec:projectIdentifier ?project_identifier } }"
+ },
+ "ALL_OP_TASKS":{
+ "sparql":"SELECT * WHERE {GRAPH { ?bnode rdf:type my2sec:Task; my2sec:hasProject ?progetto; my2sec:taskId ?taskid; my2sec:taskTitle ?tasktitle; my2sec:hasMember ?assignee; my2sec:spentTime _:timenode . _:timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?spent_time }}"
+ },
+ "USER_TASKS":{
+ "sparql":"SELECT * WHERE {GRAPH { ?bnode rdf:type my2sec:Task; my2sec:hasProject ?progetto; my2sec:taskId ?taskid; my2sec:taskTitle ?tasktitle; my2sec:hasMember ?assignee; my2sec:spentTime _:timenode . _:timenode rdf:type time:Duration; time:unitType time:unitHour ; time:numericDuration ?spent_time}}",
+ "forcedBindings": {
+ "assignee": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ }
+ }
+ },
+ "ALL_LOG_TIMES":{
+ "sparql":"SELECT * WHERE { GRAPH { ?b rdf:type my2sec:Logtime; my2sec:hasMember ?usergraph; my2sec:hasTask ?task_uri; time:inXSDDateTimeStamp ?now; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType ?unit_type ; time:numericDuration ?log_time }}"
+ },
+ "USER_LOG_TIMES":{
+ "sparql":"SELECT * WHERE { GRAPH { ?b rdf:type my2sec:Logtime; my2sec:hasMember ?usergraph; my2sec:hasTask ?task_uri; time:inXSDDateTimeStamp ?now; my2sec:hasTimeInterval _:d . _:d rdf:type time:Duration; time:unitType ?unit_type ; time:numericDuration ?log_time }}",
+ "forcedBindings": {
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/admin@vaimee.it"
+ }
+ }
+ },
+ "GET_SYNCHRONIZATION_FLAG":{
+ "sparql":"SELECT * WHERE {GRAPH {?flag rdf:type ?flag_type ; my2sec:hasMember ?usergraph ; time:inXSDDateTimeStamp ?timestamp}}",
+ "forcedBindings": {
+ "flag_type": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/production_finished_flag"
+ }
+ }
+ },
+ "GET_USER_SYNCHRONIZATION_FLAG":{
+ "sparql":"SELECT * WHERE {GRAPH {?flag rdf:type ?flag_type ; my2sec:hasMember ?usergraph ; time:inXSDDateTimeStamp ?timestamp}}",
+ "forcedBindings": {
+ "flag_type": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/production_finished_flag"
+ },
+ "usergraph": {
+ "type": "uri",
+ "value": "http://www.vaimee.it/my2sec/defuser@vaimee.it"
+ }
+ }
+ }
+ }
+}
diff --git a/1_ActivityWatchProducer/SECURITY/preload2.js b/1_ActivityWatchProducer/SECURITY/preload2.js
index 4e7febac..7e47b936 100644
--- a/1_ActivityWatchProducer/SECURITY/preload2.js
+++ b/1_ActivityWatchProducer/SECURITY/preload2.js
@@ -2,5 +2,6 @@ const { contextBridge, ipcRenderer } = require('electron')
contextBridge.exposeInMainWorld('versions', {
request_user_credentials: () => ipcRenderer.invoke('request_user_credentials')
+ //request_user_credentials: () => ipcRenderer.invoke('request_json_package')
// we can also expose variables, not just functions
})
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/electron_main_modules/AwApiRouter.js b/1_ActivityWatchProducer/electron_main_modules/AwApiRouter.js
new file mode 100644
index 00000000..07499ee1
--- /dev/null
+++ b/1_ActivityWatchProducer/electron_main_modules/AwApiRouter.js
@@ -0,0 +1,191 @@
+const http = require('http');
+const express = require('express');
+
+class AwApiRouter {
+ constructor(host,port,router_port){
+ this.routerPort=router_port;
+ this.awHost=host;
+ this.awPort=port;
+ this.awApiRouter = express();
+ this.awApiRouter.use(express.json());
+ this.setup();
+ }
+
+ setup(){
+ this.awApiRouter.get('/api/*', (request, response) => { //listen to all requests
+ console.log(`received AW buckets api request: ${request.originalUrl}`)
+ //console.log(get_time()+` [info] received AW API request: (${request.path})`);
+
+ //CREATE HTTP REQUEST FOR THE API
+ //var host_name="localhost";
+ //var http_port=5600;
+ var host_name=this.awHost;
+ var http_port=this.awPort;
+ var reqpath=request.originalUrl;
+ //var response=await get(host_name,http_port,reqpath);
+ this.get(host_name,http_port,reqpath).then((data)=>{
+ console.log(data)
+ response.json(JSON.parse(data));
+ });
+
+ });
+
+ this.awApiRouter.post('/api/*', (request,response)=>{
+ //CREATE HTTP REQUEST FOR THE API
+ //var host_name="localhost";
+ //var http_port=5600;
+ var host_name=this.awHost;
+ var http_port=this.awPort;
+ var reqpath=request.originalUrl;
+ const reqdata=JSON.stringify(request.body);
+ //var response=await get(host_name,http_port,reqpath);
+ this.post(host_name,http_port,reqpath,reqdata).then((data)=>{
+ console.log(data)
+ response.json(JSON.parse(data));
+ });
+ });
+
+ this.awApiRouter.delete('/api/*', (request,response)=>{
+ //const data=request.body;
+ //consoleLog(0,"performing DELETE request to "+request.path)
+ //CREATE HTTP REQUEST FOR THE API
+ //var host_name="localhost";
+ //var http_port=5600;
+ var host_name=this.awHost;
+ var http_port=this.awPort;
+ var reqpath=request.originalUrl;
+ //var response=await get(host_name,http_port,reqpath);
+ this.http_delete(host_name,http_port,reqpath).then((data)=>{
+ console.log(data)
+ response.json(JSON.parse(data));
+ });
+ });
+ }
+
+ start(){
+ this.test_datasource()
+ //LISTEN TO REQUESTS
+ this.awApiRouter.listen(this.routerPort, () => {
+ console.log('aw api is listening on port 1340');
+ });
+
+ }
+
+ test_datasource(){
+ console.log("Preflight: testing ActivityWatch connection")
+ //var host_name="127.0.0.1";
+ //var http_port=5600;
+ var host_name=this.awHost;
+ var http_port=this.awPort;
+ //console.log(host_name+":"+http_port)
+ var reqpath="/api/0/buckets/"
+ //console.log("sending get request")
+ //var response=await get(host_name,http_port,reqpath);
+ this.get(host_name,http_port,reqpath).then((data)=>{
+ console.log(data)
+ console.log("DATASOURCE: OK!\n")
+ });
+ //console.log(String(response))
+ }
+
+ //HTTP CLIENT
+ http_delete(host_name,http_port,reqpath){
+ //CREATE HTTP REQUEST FOR THE API
+ const options = {
+ hostname: host_name,
+ port: http_port,
+ path: reqpath, //`${request.path}`, //forward the path to the api
+ method: 'DELETE',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Connection': 'close',
+ },
+ };
+
+ return new Promise(resolve=>{
+ const req = http.request(options, res => {
+ //console.log(`forwarded request to ${options.path}, statusCode: ${res.statusCode}`);
+ res.on('data', d => {
+ resolve(d)
+ });
+ });
+ req.setHeader("Connection","close");
+ //CATCH ERRORS
+ req.on('error', error => {
+ console.error(error);
+ });
+ req.end();
+ })
+
+ }
+
+ post(host_name,http_port,reqpath,data){
+ //CREATE HTTP REQUEST FOR THE API
+ const options = {
+ hostname: host_name,
+ port: http_port,
+ path: reqpath, //`${request.path}`, //forward the path to the api
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Connection': 'close',
+ },
+ };
+
+ return new Promise(resolve=>{
+ const req = http.request(options, res => {
+ res.on('data', d => {
+ resolve(d);
+ });
+ });
+ //CATCH ERRORS
+ req.on('error', error => {
+ console.error(error);
+ });
+ req.write(data);
+ req.end();
+ })
+
+ }
+
+ get(host_name,http_port,reqpath){
+ //CREATE HTTP REQUEST FOR THE API
+ const options = {
+ hostname: host_name,
+ port: http_port,
+ path: reqpath, //`${request.path}`, //forward the path to the api
+ method: 'GET',
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Connection': 'close',
+ },
+ };
+
+ return new Promise(resolve=>{
+ const req = http.request(options, res => {
+ //console.log(`forwarded request to ${options.path}, statusCode: ${res.statusCode}`);
+ var str='';
+ res.on('data', d => {
+ str=str+d;
+ });
+
+ res.on('end', ()=>{
+ resolve(str)
+ })
+
+ });
+
+ req.setHeader("Connection","close");
+ //CATCH ERRORS
+ req.on('error', error => {
+ console.error(error);
+ });
+ req.end();
+ })
+
+ }
+
+}
+
+
+module.exports = AwApiRouter;
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/electron_main_modules/JsapConfigurationManager.js b/1_ActivityWatchProducer/electron_main_modules/JsapConfigurationManager.js
new file mode 100644
index 00000000..eb1b41cb
--- /dev/null
+++ b/1_ActivityWatchProducer/electron_main_modules/JsapConfigurationManager.js
@@ -0,0 +1,104 @@
+const os = require('os');
+
+class JsapConfigurationManager {
+ constructor(path){
+ this.jsapPath=path;
+ }
+
+ async getConfiguredJsap(){
+ var jsap=await this.configureJsap();
+ return jsap;
+ }
+
+ async configureJsap(){
+ console.log("Configuration Manager: initializing jsap")
+ var loopbackAddress= this.getLoopbackAddress();
+ var jsapObj= await this.getJsap();
+ //console.log(jsapObj.extended)
+ Object.keys(jsapObj.extended.AwProducer.endpoints).forEach(k=>{
+ var endpointUrl=jsapObj.extended.AwProducer.endpoints[k];
+ if(endpointUrl.includes("localhost")){
+ console.log("- modifying endpoint: "+k)
+ endpointUrl=endpointUrl.replace("localhost",loopbackAddress);
+ jsapObj.extended.AwProducer.endpoints[k]=endpointUrl;
+ }
+ if(endpointUrl.includes("127.0.0.1")){
+ console.log("- modifying endpoint: "+k)
+ endpointUrl=endpointUrl.replace("127.0.0.1",loopbackAddress);
+ jsapObj.extended.AwProducer.endpoints[k]=endpointUrl;
+ }
+ if(endpointUrl.includes("[::1]")){
+ console.log("- modifying endpoint: "+k)
+ endpointUrl=endpointUrl.replace("[::1]",loopbackAddress);
+ jsapObj.extended.AwProducer.endpoints[k]=endpointUrl;
+ }
+ })
+ console.log(jsapObj.extended)
+ return jsapObj;
+ }
+
+
+ async getJsap(){
+ var file=await this.readFile(this.jsapPath);
+ return JSON.parse(file);
+ }
+
+ getLoopbackAddress(){
+ console.log("Detecting loopback address")
+ if(!this._ipv6IsOn()){
+ if(this._isDarwin()){
+ console.log("- Running on darwin")
+ return "127.0.0.1" //MAC
+ }else{
+ console.log("- Running on windows/linux")
+ return "localhost" //WINDOWS
+ }
+ }else{
+ console.log("- Device is using IPV6")
+ return "[::1]" //IPV6
+ }
+ }
+
+
+ //----------------------------UTILITY---------------------------------
+ _ipv6IsOn(){
+ const networkInterfaces = os.networkInterfaces();
+ // Loop through all available network interfaces
+ Object.keys(networkInterfaces).forEach((iface) => {
+ // Loop through all addresses of the current interface
+ networkInterfaces[iface].forEach((address) => {
+ // Check if the address is an IPv6 address
+ if (address.family === 'IPv6' && address.address !== '::1') {
+ // Use the IPv6 address instead of localhost
+ //apiURL = `http://[${address.address}]:333/api`;
+ return true;
+ }
+ });
+ });
+ return false;
+ }
+
+ _isDarwin(){
+ if (process.platform == 'darwin'){
+ return true;
+ }else {
+ return false;
+ }
+ }
+
+
+
+ readFile(filename){
+ var fs = require('fs');
+ return new Promise(resolve=>{
+ fs.readFile(filename, 'utf8', function (err,data) {
+ if (err) return console.log(err);
+ //console.log('FILE SAVED');
+ resolve(data)
+ });
+ })
+ }
+
+}
+
+module.exports=JsapConfigurationManager;
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/electron_main_modules/MongoDbClient.js b/1_ActivityWatchProducer/electron_main_modules/MongoDbClient.js
new file mode 100644
index 00000000..b9f55a80
--- /dev/null
+++ b/1_ActivityWatchProducer/electron_main_modules/MongoDbClient.js
@@ -0,0 +1,49 @@
+const { MongoClient } = require('mongodb')
+
+
+class MongoDbClient{
+ constructor(uri,database,collection){
+ this.uri=uri;
+ this.database=database;
+ this.collection=collection; //one user has one collection, the name is the usergraph
+ }
+
+ async insertFile(file){
+ let client;
+ try{
+ client = new MongoClient(this.uri);
+ const database = client.db(this.database);
+ const collection = database.collection(this.collection);
+ const result = await collection.insertOne(file);
+ //console.log(file);
+ return result;
+ }catch(e){
+ console.log(e);
+ }finally{
+ await client.close();
+ }
+ }
+
+ async getFile(query,options){
+ let client;
+ try{
+ client = new MongoClient(this.uri);
+ const database = client.db(this.database);
+ const collection = database.collection(this.collection);
+ if(!options) options={};
+ const file = await collection.findOne(query, options);
+ //console.log(file);
+ return file;
+ }catch(e){
+ console.log(e);
+ }finally{
+ await client.close();
+ }
+ }
+
+
+
+}
+
+
+module.exports=MongoDbClient;
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/electron_main_modules/MongoDbRouter.js b/1_ActivityWatchProducer/electron_main_modules/MongoDbRouter.js
new file mode 100644
index 00000000..cafe4eb3
--- /dev/null
+++ b/1_ActivityWatchProducer/electron_main_modules/MongoDbRouter.js
@@ -0,0 +1,47 @@
+const express = require('express');
+const MongoDbClient = require("./MongoDbClient")
+
+class MongoDbRouter extends MongoDbClient{
+ constructor(uri,database,collection,port){
+ super(uri,database,collection)
+ this.port=port;
+ this.router = express();
+ this.router.use(express.json());
+ this.setup();
+ }
+
+ setup(){
+ this.router.get('/mongodb/api', (request, response) => { //listen to all requests
+ console.log(`--------`)
+ response.json("hello from MongoDbApi!");
+ });
+
+ this.router.post('/mongodb/api/insert', async (request,response)=>{
+ console.log(`--------`)
+ await this.insertFile(request.body)
+ response.json("OK");
+ });
+ this.router.post('/mongodb/api/find', async (request,response)=>{
+ console.log(`--------`)
+ var file=await this.getFile(request.body)
+ response.json(file);
+ });
+ this.router.post('/mongodb/api/delete', async (request,response)=>{
+ console.log(`--------`)
+ console.log("to be implemented")
+ response.json("TO BE IMPLEMENTED");
+ });
+ }
+
+ start(){
+ //LISTEN TO REQUESTS
+ this.router.listen(this.port, () => {
+ console.log(`mongodb api is listening on port ${this.port}`);
+ });
+ }
+
+
+
+}
+
+module.exports=MongoDbRouter;
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/electron_main_modules/PythonApiRunner.js b/1_ActivityWatchProducer/electron_main_modules/PythonApiRunner.js
new file mode 100644
index 00000000..f919226b
--- /dev/null
+++ b/1_ActivityWatchProducer/electron_main_modules/PythonApiRunner.js
@@ -0,0 +1,26 @@
+const { spawn } = require('child_process');
+class PythonApiRunner{
+ constructor(path){
+ this.pathToExecutable=path
+ this.pyProcess;
+ }
+
+ start(){
+ this.pyProcess=spawn("python",[this.pathToExecutable]);
+ console.log("started python api")
+ //on new data chunk
+ this.pyProcess.stdout.on("data",(data)=>{
+ console.log(data)
+ })
+ //on new error
+ this.pyProcess.stderr.on('data', (data) => {
+ console.error(`stderr: ${data}`);
+ });
+ //on app close
+ this.pyProcess.stdout.on("close", (code)=>{
+ console.log("App exited with code: "+code)
+ })
+ }
+
+}
+module.exports=PythonApiRunner;
\ No newline at end of file
diff --git a/1_ActivityWatchProducer/index.html b/1_ActivityWatchProducer/index.html
index aa3ff33e..fab2ec70 100644
--- a/1_ActivityWatchProducer/index.html
+++ b/1_ActivityWatchProducer/index.html
@@ -33,13 +33,12 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
@@ -65,7 +64,7 @@
-
+
User
@@ -391,9 +390,8 @@ AW-WATCHER-WINDOW [1/4]
-
-
-
+
@@ -401,25 +399,22 @@ AW-WATCHER-WINDOW [1/4]
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
+
+
+
+