f034_sqlite_database #18

Closed
trachi93 wants to merge 0 commits from f034_sqlite_database into main
Owner
No description provided.
trachi93 added 136 commits 2025-07-21 11:40:41 +02:00
Reviewed-on: #8
Reviewed-on: #9
Reviewed-on: #11
Reviewed-by: jared <jared.busch@polizei.niedersachsen.de>
added first Jenkins ci
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
41a98d3d1d
fixed echo statement
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
533d94c6a5
fixed node agent
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
d6baaef992
fixed node agent
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
7d15e0369d
fixed node agent
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
355e4f3287
fixed node agent
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
d5a7058f2d
added nodeJS as tool
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
b2e00eb030
added docker
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
8b276f9828
added docker job
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
ea9b61fe79
added admin as submitter
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
0b4df7b714
Reviewed-on: #12
Reviewed-by: trachi93 <chi-cong.tran@polizei.niedersachsen.de>
fixed typo
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2effdb12c1
added push to gitea job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
38f9f61e8a
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
d0c6feee33
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
b46852e385
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
66794ef0f6
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
b991904921
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
b432554cca
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
15529541ed
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
be61814b58
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
f2dd50c16e
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
1de66b11b3
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
0181fb288b
fixed push image job
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
8c29d39bf6
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
1c394dff72
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
997ef6e30d
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
331b9c22e1
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
4dcd2e1a63
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
9ad96abb77
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
fd17d10119
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
083efb3aec
fixed push image
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
1d84b67a94
fixed push image
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
95936b09b5
Merge branch 'development' into ci043-add-jenkins-ci
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2ed49394d7
Merge pull request 'ci043-add-jenkins-ci' (#13) from ci043-add-jenkins-ci into development
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
fee152553b
Reviewed-on: #13
Reviewed-on: #14
Added options to delete old build
test jenkins webhook
Some checks failed
InnoHub Processor/tatort/pipeline/head Something is wrong with the build of this commit
173f36fb50
test jenkins webhook
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
de35986633
test jenkins webhook
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
02d4957315
test jenkins webhook
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
efcbc4d60f
return user data
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
f995b58d0f
Jenkinsfile aktualisiert
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
de7b27bd71
Added additional Infos in pull request
fixed tatort api route for deletion
Some checks failed
InnoHub Processor/tatort/pipeline/pr-development There was a failure building this commit
fe9f8add88
added Dockerfile dev and prod
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2b2fa7a82b
added webhook to get discrod message
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
7018c74884
fixed jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
021ec3d383
added git ref to message
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2667db5755
added build id to image, set correct dockerfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
890380609f
fixed jenkinsfile
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
30b49029b2
test jenkins pipeline
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
be4e351217
test jenkins pipeline
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
bb5ade22c6
set audit level to moderate
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
2d003a619f
added confi for dev and prod
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
739f67169e
fixed config names
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
517654bfbf
added params
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
3bd369c9e2
renamed image tag
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
2939869816
no post statement
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
7ca8b295db
activate post message
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
22fc1f490c
added check if pipeline job was running
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
93be24a8de
added check if pipeline job was running
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
49907da1b1
added check if pipeline job was running
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
95a9364391
get gitea json object
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
0622fce790
get gitea json object
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
45644c9695
get gitea json object
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
32d6245b5a
change gitea user
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
7a25dbf68c
push docker image only in dev branch
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
b843e3abc0
fixed merge conflicts
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
b6a52822f1
Merge pull request 'jenkins-docker' (#17) from jenkins-docker into development
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
ba4d810164
Reviewed-on: #17
Merge pull request 'fixed tatort api route for deletion' (#16) from b038-check-api-route into development
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
3e926844b8
Reviewed-on: #16
Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
e9eb2c1163
Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good
b63834eb51
Update Jenkinsfile
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
f0df67fb86
Merge branch 'development' of ssh://gitea.innovation-hub-niedersachsen.de:4422/innohub/tatort into development
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
7c1b8669c0
provide init command for database
All checks were successful
InnoHub Processor/tatort/pipeline/pr-main This commit was not built
InnoHub Processor/tatort/pipeline/head This commit was not built
809c355849
jared requested changes 2025-07-21 13:57:29 +02:00
@@ -45,2 +46,4 @@
"@tailwindcss/forms": "^0.5.10",
"autoprefixer": "^10.4.21",
"better-sqlite3": "^12.2.0",
"crypto": "^1.0.1",
Owner

Das crypto package ist deprecated. Hier müsste eine alternastive her vielleicht: https://www.npmjs.com/package/crypto-js

Das crypto package ist deprecated. Hier müsste eine alternastive her vielleicht: https://www.npmjs.com/package/crypto-js
@@ -0,0 +1,45 @@
import Database from 'better-sqlite3';
Owner

Bitte als typescript datei: init-db.ts

Bitte als typescript datei: init-db.ts
@@ -0,0 +20,4 @@
let usersSQLStmt = `SELECT * FROM USERS`;
let SQLStatement = db.prepare(usersSQLStmt);
console.log(`\n`, `*** Users table`);
Owner

console.log entfernen

console.log entfernen
@@ -47,3 +66,3 @@
const vorgang = data.vorgang;
const name = data.name;
const zugangscode = data.zugangscode;
const password = data.password;
Owner

Was meint hier password? Ist es nicht der vorgangstoken?

Was meint hier password? Ist es nicht der vorgangstoken?
@@ -18,3 +18,3 @@
const code_len = 8;
function generate_token() {
function generatePassword() {
Owner

Ich würde es nicht Password nennen, entweder vorgangsPassword oder vorgangsToken oder so und das stringent durch, an allen Codestellen.

Ich würde es nicht Password nennen, entweder vorgangsPassword oder vorgangsToken oder so und das stringent durch, an allen Codestellen.
@@ -0,0 +1,16 @@
import { db } from '$lib/server/dbService';
Owner

Der Pfad [vorgang]/code/.. sollte geändert werden in die entsprechende Vokabel also zugangstoken o. ä. s.o.

Der Pfad [vorgang]/code/.. sollte geändert werden in die entsprechende Vokabel also zugangstoken o. ä. s.o.
Author
Owner

Habe fälschlicherweise main als Ziel angegeben. Daher hier zu und beim korrekten PR innohub/tatort#19 weiter.
Deine Kommentare habe ich rüberkopiert.

Habe fälschlicherweise `main` als Ziel angegeben. Daher hier zu und beim korrekten PR innohub/tatort#19 weiter. Deine Kommentare habe ich rüberkopiert.
trachi93 closed this pull request 2025-07-22 11:36:55 +02:00
All checks were successful
InnoHub Processor/tatort/pipeline/pr-main This commit was not built
InnoHub Processor/tatort/pipeline/head This commit was not built

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: innohub/tatort#18