Skip to content

Commit

Permalink
Implemented optional login with password
Browse files Browse the repository at this point in the history
  • Loading branch information
bukiro committed Sep 13, 2021
1 parent 7719899 commit dabcb41
Show file tree
Hide file tree
Showing 9 changed files with 527 additions and 261 deletions.
10 changes: 7 additions & 3 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ This log tracks only major changes.

## 1.0.3

- Messages are now handled completely in the connector and don't use the database connection anymore.
- The messages parameter is not used anymore. You can delete your MongoDB messages collection. All messages will disappear when you stop the connector.
- The app now uses a local data file to store characters. The MongoDB connection remains an optional alternative.
- Messages are now handled completely in the service and don't use the database connection anymore.
- The messages parameter is not used anymore. You can delete your MongoDB messages collection. All messages will disappear when you stop the service.
- The app now uses a local data file to store characters. The MongoDB connection remains an optional alternative.

## 1.0.4

- The service can now optionally protect PECS with a password.
Binary file modified README.md
Binary file not shown.
194 changes: 115 additions & 79 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bukiro/pecs-data-service",
"version": "1.0.3",
"version": "1.0.4",
"description": "Character and message service for PECS.",
"main": "index.js",
"scripts": {
Expand All @@ -17,8 +17,10 @@
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"mongodb": "^3.7.0",
"node-json-db": "^1.3.0"
"md5": "^2.3.0",
"mongodb": "^4.1.1",
"node-json-db": "^1.3.0",
"uuid": "^8.3.2"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion publish/config.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"HTTPSPort": "8443",
"SSLCertificatePath": "./server.crt",
"SSLPrivateKeyPath": "./server.key",
"ConvertMongoDBToLocal": false
"ConvertMongoDBToLocal": false,
"Password": "secret"
}
4 changes: 4 additions & 0 deletions publish/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ SSLPrivateKeyPath
(optional)
If you want to use HTTPS, your SSL certificate needs a private key. This is the path to the key. Password-protected private keys are not supported.

Password
(optional)
If you set a password, PECS will require players to enter it before they can use the tool and access your data.

MongoDBConnectionURL
This is the connection URL for your MongoDB database server. Both MongoDB Atlas and MongoDB Compass can show you the exact url to use for your server. If the server requires an authenticated user for the connection, you must enter the user and password here. MongoDB Atlas always requires authenticated users.

Expand Down
Loading

0 comments on commit dabcb41

Please sign in to comment.