6 Commits

Author SHA1 Message Date
Marie Birner
397092bff5 [NPM] update choices.js to 11.1.0 to set searchResultLimit -1
Some checks failed
CI/CD Pipeline / test (push) Failing after 4m58s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2025-07-20 11:46:59 +02:00
627a515a42 Merge pull request 'upda' (#1111) from upda into main
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
Reviewed-on: #1111
2025-07-20 11:33:56 +02:00
1c6421139d fördernde user can 1x row
Some checks failed
CI/CD Pipeline / test (push) Failing after 22m16s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2025-07-20 11:31:33 +02:00
f4509b8504 new server 2025-07-20 11:31:12 +02:00
b53b8b6f0b Merge pull request 'fix path' (#1108) from new-server into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 23m12s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 10m30s
Reviewed-on: #1108
2025-07-19 13:24:12 +02:00
3f76e5be78 fix path
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
2025-07-19 13:23:14 +02:00
5 changed files with 6 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ jobs:
scp -C -r svelte $SSH_USER@$SSH_HOST:/root/rowing-staging/
ssh $SSH_USER@$SSH_HOST 'sudo systemctl stop rowing-staging'
ssh $SSH_USER@$SSH_HOST 'rm -f /root/rowing-staging/db.sqlite && cp /root/rowing-prod/db.sqlite /root/rowing-staging/db.sqlite && mkdir -p /root/rowing-staging/svelte/build && mkdir -p /root/rowing-staging/data-ergo/thirty && mkdir -p /root/rowing-staging/data-ergo/dozen && sqlite3 /root/rowing-staging/db.sqlite < /root/rowing-staging/staging-diff.sql'
ssh $SSH_USER@$SSH_HOST 'mv /home/rowing-staging/rot-updating /home/rowing-staging/rot'
ssh $SSH_USER@$SSH_HOST 'mv /root/rowing-staging/rot-updating /root/rowing-staging/rot'
ssh $SSH_USER@$SSH_HOST 'sudo systemctl start rowing-staging'
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}

2
fd
View File

@@ -1,5 +1,5 @@
#!/bin/bash
scp root@128.140.64.118:/home/rowing/db.sqlite db.sqlite
scp root@app.rudernlinz.at:/root/rowing-prod/db.sqlite db.sqlite
#sqlite3 db.sqlite < seeds.sql

View File

@@ -413,6 +413,7 @@ function initNewChoice(select: HTMLInputElement) {
steering_person.setAttribute("required", "required");
}
const choice = new Choices(select, {
searchResultLimit: -1,
searchFields: ["label", "value", "customProperties.searchableText"],
removeItemButton: true,
loadingText: "Wird geladen...",
@@ -425,6 +426,7 @@ function initNewChoice(select: HTMLInputElement) {
return `Nur ${maxItemCount} Ruderer können hinzugefügt werden`;
},
callbackOnInit: function () {
console.log(this);
this._currentState.items.forEach(function (obj) {
if (boat_in_ottensheim && obj.customProperties) {
if (obj.customProperties.is_racing) {

View File

@@ -21,7 +21,7 @@
"vite-plugin-static-copy": "^0.13.1"
},
"dependencies": {
"choices.js": "^10.2.0",
"choices.js": "^11.1.0",
"d3": "^7.8.5",
"terser": "^5.21.0"
}

View File

@@ -856,7 +856,7 @@ special_user!(ErgoUser, +"ergo");
special_user!(SteeringUser, +"cox", +"Bootsführer");
special_user!(AdminUser, +"admin");
special_user!(AllowedForPlannedTripsUser, +"Donau Linz", +"scheckbuch", +"Förderndes Mitglied");
special_user!(DonauLinzUser, +"Donau Linz", -"Unterstützend", -"Förderndes Mitglied"); // TODO:
special_user!(DonauLinzUser, +"Donau Linz", +"Förderndes Mitglied", -"Unterstützend"); // TODO:
// remove ->
// RegularUser
special_user!(SchnupperBetreuerUser, +"schnupper-betreuer");