11
43
Fork
You've already forked base
6

Changes from main to dev before PR #187 #188

Merged
markus.weingaertner merged 15 commits from main into dev 2023年12月14日 15:43:19 +01:00

Only dockerfiles and logger.js has changed before PR #187, PR to sync branches

Only dockerfiles and logger.js has changed before PR #187, PR to sync branches
Reviewed-on: #172 
Reviewed-on: #176 
Reviewed-on: #180 
revert "Removing deprecated modules (tex)"
This is not consumed anywhere yet but serves as a starting point to
flesh out how we want to use it.
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
Reviewed-on: #182 
Ryuno-Ki left a comment
Copy link

Sieht besser aus. Ich habe ein paar Anmerkungen, die auch neue Issues werden könnten, falls du sie nicht direkt angehen magst.

Sieht besser aus. Ich habe ein paar Anmerkungen, die auch neue Issues werden könnten, falls du sie nicht direkt angehen magst.
@ -0,0 +1,53 @@
#! /usr/bin/env node
const fs = require('fs');
Member
Copy link

Nicht-blockierend:

Künftig könnten solche Imports so aussehen:

const fs = require('node:fs');

Schützt vor NPM-Paket namens fs (könnte ein Angriffsvektor werden)

Nicht-blockierend: Künftig könnten solche Imports so aussehen: ```js const fs = require('node:fs'); ``` Schützt vor NPM-Paket namens `fs` (könnte ein Angriffsvektor werden)
@ -0,0 +19,4 @@
config.INFO_MAIL = process.env.LERNTOOLS_MAIL || '' ;
config.DEFAULT_LOCALE = process.env.DEFAULT_LOCALE || 'de' ;
if(!process.env.MONGO_URL){
console.log("URL for MongoDB is required. Provide it by using the environment variable MONGO_URL.");
Member
Copy link

In dem Fall bleibt also die config.MONGO_URL unbelegt?
Sollte es dann nicht eher ein process.exit(1) oder Ähnliches sein?

In dem Fall bleibt also die `config.MONGO_URL` unbelegt? Sollte es dann nicht eher ein `process.exit(1)` oder Ähnliches sein?
@ -0,0 +35,4 @@
config.REGISTRATION.MAX_USERS = process.env.MAX_USERS || 100 ;
config.REGISTRATION.USER_SOFT_WARN = process.env.USER_SOFT_WARN || 15 ;
config.REGISTRATION.USER_HARD_WARN = process.env.USER_HARD_WARN || 5 ;
config.REGISTRATION.DEFAULT_ROLES = process.env.DEFAULT_ROLES || ["ideas","chat"] ;
Member
Copy link

Wenn wir das durch Standard / ESLint mit Fix laufen ließen, würde bestimmt noch ein Leerzeichen hinter dem Komma folgen.

Wenn wir das durch Standard / ESLint mit Fix laufen ließen, würde bestimmt noch ein Leerzeichen hinter dem Komma folgen.
@ -0,0 +49,4 @@
console.log('Created config file from environment variables.');
} else {
console.log("server.config.production.json file already exists and was not created.");
Member
Copy link

Wenn die Bedingung umgedreht werden würde, könnte diese eine Zeile schnell erledigt werden.

Unter Umständen sogar mit einem process.exit(0) der Prozess direkt beendet.

Wenn die Bedingung umgedreht werden würde, könnte diese eine Zeile schnell erledigt werden. Unter Umständen sogar mit einem `process.exit(0)` der Prozess direkt beendet.
@ -0,0 +1,11 @@
#!/bin/bash
Member
Copy link

Persönlich nutze ich #!/usr/bin/env bash um auch andere Orte entdecken zu können, in denen bash installiert sein mag.

Persönlich nutze ich `#!/usr/bin/env bash` um auch andere Orte entdecken zu können, in denen `bash` installiert sein mag.
@ -0,0 +1,20 @@
services:
lerntools:
image:lerntools/lerntools:latest
Member
Copy link

Im Sinne der Nachvollziehbarkeit wäre mir eigentlich eine fixe Version lieber.

Vielleicht als guter Vorsatz für das nächste Jahr?

Im Sinne der Nachvollziehbarkeit wäre mir eigentlich eine fixe Version lieber. Vielleicht als guter Vorsatz für das nächste Jahr?
Sign in to join this conversation.
No reviewers
Labels
Clear labels
Kind/Breaking
Breaking change that won't be backward compatible
Kind/Bug
Something is not working
Kind/Documentation
Documentation changes
Kind/Enhancement
Improve existing functionality
Kind/Feature
New functionality
Kind/Security
This is security issue
Kind/Testing
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Kind: Enhancement
improvement of a feature
Kind: Feature
Something totally new
Kind: Interesting for Wiki
to be saved in the wiki
Kind: invalid
Something is wrong
Kind: Question
More information is needed
Kind: Security
Relevant for security
Kind:bug
Something is not working
Priority: High
Priority: Low
Priority: Medium
Status: Contribution welcome
Contributions are very welcome, get started here
Status: Duplicate
This issue or pull request already exists
Status: External problem
There is an external problem
Status: Help wanted
Need some help
Status: In progress
Someone's working on it
Status: In review
we're testing a possible solution
Status: next release
All tested and ready for the next release
Status: Starters
This is a good task to start helping lerntools
Status: Tests neededd
Need some tests for locating the problem
Status: won't fix
This won't be fixed
vue3
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lerntools/base!188
Reference in a new issue
lerntools/base
No description provided.
Delete branch "main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?