mirror of
https://github.com/janishutz/libreevent.git
synced 2026-03-14 07:00:05 +01:00
Compare commits
33 Commits
V1.1.11
...
01f2752fcb
| Author | SHA1 | Date | |
|---|---|---|---|
| 01f2752fcb | |||
|
|
89d7ca4379 | ||
|
|
aad3f47e41 | ||
|
|
ad2a86c3ab | ||
|
|
fa104cc100 | ||
|
|
04db517ff1 | ||
|
|
20f841367b | ||
|
|
707091be2b | ||
|
|
e15ed09735 | ||
|
|
e67fac0436 | ||
|
|
28ebd7da97 | ||
| f7ea972264 | |||
| 28acb2070c | |||
|
|
000339add6 | ||
|
|
2895709c73 | ||
|
|
cda7769398 | ||
|
|
19ecd7b1db | ||
| 0219e718dc | |||
| 02a8325117 | |||
| 19782f0bc3 | |||
| 0460c25e75 | |||
| b04bb8cd98 | |||
|
|
503b376e1c | ||
|
|
1d1b6376de | ||
|
|
7a9ee5f34d | ||
|
|
c86fd9283f | ||
|
|
be89d84dfd | ||
|
|
80b2210b57 | ||
| 208c657bf4 | |||
|
|
4bac130bb4 | ||
|
|
218fa641b5 | ||
|
|
7426d6ac31 | ||
|
|
706b3b7cc4 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libreevent",
|
"name": "libreevent",
|
||||||
"version": "1.1.11",
|
"version": "1.1.16",
|
||||||
"description": "A free and open source event management solution",
|
"description": "A free and open source event management solution",
|
||||||
"main": "/dist/app.js",
|
"main": "/dist/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
11
package.sh
11
package.sh
@@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
v="V1.1.11"
|
v="V1.1.16"
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
_ _ _ _
|
_ _ _ _
|
||||||
@@ -73,6 +73,15 @@ node prepareDB.js
|
|||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
|
echo "
|
||||||
|
|
||||||
|
==> Updating dependencies of backend <==
|
||||||
|
|
||||||
|
"
|
||||||
|
|
||||||
|
npm audit fix --force
|
||||||
|
sleep 1
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
|
|
||||||
==> Collecting files to archive <==
|
==> Collecting files to archive <==
|
||||||
|
|||||||
1
src/apps/Android/.idea/gradle.xml
generated
1
src/apps/Android/.idea/gradle.xml
generated
@@ -6,6 +6,7 @@
|
|||||||
<GradleProjectSettings>
|
<GradleProjectSettings>
|
||||||
<option name="testRunner" value="CHOOSE_PER_TEST" />
|
<option name="testRunner" value="CHOOSE_PER_TEST" />
|
||||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||||
|
<option name="gradleHome" value="/usr/share/java/gradle" />
|
||||||
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
<option name="gradleJvm" value="#GRADLE_LOCAL_JAVA_HOME" />
|
||||||
<option name="modules">
|
<option name="modules">
|
||||||
<set>
|
<set>
|
||||||
|
|||||||
1
src/apps/Android/.idea/misc.xml
generated
1
src/apps/Android/.idea/misc.xml
generated
@@ -1,4 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="jbr-21" project-jdk-type="JavaSDK">
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ plugins {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace = "com.janishutz.libreevent"
|
namespace = "com.janishutz.libreevent"
|
||||||
compileSdk = 35
|
compileSdk = 36
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.janishutz.libreevent"
|
applicationId = "com.janishutz.libreevent"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 35
|
targetSdk = 36
|
||||||
versionCode = 5
|
versionCode = 6
|
||||||
versionName = "1.0.1"
|
versionName = "1.1.0"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -1,6 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools">
|
||||||
|
<uses-feature android:name="android.hardware.camera" android:required="true" />
|
||||||
|
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true"
|
||||||
|
tools:ignore="UnnecessaryRequiredFeature" />
|
||||||
|
<uses-permission android:name="android.permission.CAMERA" />
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
@@ -11,7 +16,7 @@
|
|||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.LibreeventEntryControl"
|
android:theme="@style/Theme.LibreeventEntryControl"
|
||||||
tools:targetApi="31">
|
tools:targetApi="35">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
@@ -26,8 +31,4 @@
|
|||||||
android:exported="true">
|
android:exported="true">
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
<uses-feature android:name="android.hardware.camera" android:required="true" />
|
|
||||||
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true" />
|
|
||||||
<uses-permission android:name="android.permission.CAMERA" />
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
|
||||||
</manifest>
|
</manifest>
|
||||||
@@ -13,6 +13,7 @@ import com.journeyapps.barcodescanner.CaptureActivity
|
|||||||
import com.journeyapps.barcodescanner.CaptureManager
|
import com.journeyapps.barcodescanner.CaptureManager
|
||||||
import com.journeyapps.barcodescanner.DecoratedBarcodeView
|
import com.journeyapps.barcodescanner.DecoratedBarcodeView
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
import androidx.core.content.edit
|
||||||
|
|
||||||
class ScannerActivity : CaptureActivity() {
|
class ScannerActivity : CaptureActivity() {
|
||||||
|
|
||||||
@@ -30,10 +31,10 @@ class ScannerActivity : CaptureActivity() {
|
|||||||
val logoutButton = findViewById<Button>(R.id.logoutButton)
|
val logoutButton = findViewById<Button>(R.id.logoutButton)
|
||||||
logoutButton.setOnClickListener {
|
logoutButton.setOnClickListener {
|
||||||
val sharedPref = applicationContext.getSharedPreferences( "login", MODE_PRIVATE )
|
val sharedPref = applicationContext.getSharedPreferences( "login", MODE_PRIVATE )
|
||||||
val editor = sharedPref.edit()
|
sharedPref.edit {
|
||||||
editor.remove( "password" )
|
remove("password")
|
||||||
editor.remove( "loginOk" )
|
remove("loginOk")
|
||||||
editor.apply()
|
}
|
||||||
val switchIntent = Intent(this, MainActivity::class.java)
|
val switchIntent = Intent(this, MainActivity::class.java)
|
||||||
switchIntent.putExtra("hasSwitched", true)
|
switchIntent.putExtra("hasSwitched", true)
|
||||||
startActivity(switchIntent)
|
startActivity(switchIntent)
|
||||||
@@ -52,14 +53,12 @@ class ScannerActivity : CaptureActivity() {
|
|||||||
|
|
||||||
captureManager.initializeFromIntent(intent, null)
|
captureManager.initializeFromIntent(intent, null)
|
||||||
captureManager.decode()
|
captureManager.decode()
|
||||||
barcodeView.decodeContinuous(object : BarcodeCallback {
|
barcodeView.decodeContinuous { result ->
|
||||||
override fun barcodeResult(result: BarcodeResult?) {
|
if (result != null) {
|
||||||
if (result != null) {
|
val scannedData = result.text // This is the scanned data (e.g., QR code content)
|
||||||
val scannedData = result.text // This is the scanned data (e.g., QR code content)
|
handleScanResult(scannedData)
|
||||||
handleScanResult(scannedData)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun handleScanResult(result: String) {
|
private fun handleScanResult(result: String) {
|
||||||
@@ -73,13 +72,17 @@ class ScannerActivity : CaptureActivity() {
|
|||||||
lastScanned = result
|
lastScanned = result
|
||||||
val alertDialogBuilder = AlertDialog.Builder(this)
|
val alertDialogBuilder = AlertDialog.Builder(this)
|
||||||
|
|
||||||
if ( status == "ticketValid" ) {
|
when (status) {
|
||||||
alertDialogBuilder.setTitle("Ticket is valid")
|
"ticketValid" -> {
|
||||||
} else if ( status == "ticketInvalid" ) {
|
alertDialogBuilder.setTitle("Ticket is valid")
|
||||||
alertDialogBuilder.setTitle("Ticket is invalid")
|
}
|
||||||
} else if ( status == "Error" ) {
|
"ticketInvalid" -> {
|
||||||
alertDialogBuilder.setTitle("There was an error connecting")
|
alertDialogBuilder.setTitle("Ticket is invalid")
|
||||||
alertDialogBuilder.setMessage("Please log out and log in again")
|
}
|
||||||
|
"Error" -> {
|
||||||
|
alertDialogBuilder.setTitle("There was an error connecting")
|
||||||
|
alertDialogBuilder.setMessage("Please log out and log in again")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
alertDialogBuilder.setIcon(android.R.drawable.ic_dialog_alert)
|
alertDialogBuilder.setIcon(android.R.drawable.ic_dialog_alert)
|
||||||
|
|||||||
@@ -10,13 +10,14 @@
|
|||||||
<com.journeyapps.barcodescanner.DecoratedBarcodeView
|
<com.journeyapps.barcodescanner.DecoratedBarcodeView
|
||||||
android:id="@+id/barcodeScannerView"
|
android:id="@+id/barcodeScannerView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent" >
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:id="@+id/logoutButton"
|
android:id="@+id/logoutButton"
|
||||||
android:layout_width="122dp"
|
android:layout_width="122dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Log out" />
|
android:text="@string/log_out" />
|
||||||
|
|
||||||
</com.journeyapps.barcodescanner.DecoratedBarcodeView>
|
</com.journeyapps.barcodescanner.DecoratedBarcodeView>
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<string name="app_name">libreevent entry control</string>
|
<string name="app_name">libreevent entry control</string>
|
||||||
|
<string name="log_out">Log out</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.application") version "8.9.1" apply false
|
id("com.android.application") version "8.13.1" apply false
|
||||||
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
|
id("org.jetbrains.kotlin.android") version "1.9.0" apply false
|
||||||
}
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#Sun Sep 03 11:15:46 CEST 2023
|
#Sun Sep 03 11:15:46 CEST 2023
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
929
src/server/package-lock.json
generated
929
src/server/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libreevent",
|
"name": "libreevent",
|
||||||
"version": "1.1.11",
|
"version": "1.1.15",
|
||||||
"description": "Free & Open source event management solution",
|
"description": "Free & Open source event management solution",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
@@ -9,15 +9,15 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pdfme/generator": "^5.3.15",
|
"@pdfme/generator": "^5.3.15",
|
||||||
"axios": "^1.8.4",
|
"axios": "^1.8.4",
|
||||||
"bcrypt": "^5.1.1",
|
"bcrypt": "^6.0.0",
|
||||||
"body-parser": "^1.20.3",
|
"body-parser": "^1.20.3",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
"express": "^4.21.2",
|
"express": "^4.21.2",
|
||||||
"express-session": "^1.18.1",
|
"express-session": "^1.18.1",
|
||||||
"html-to-text": "^9.0.5",
|
"html-to-text": "^9.0.5",
|
||||||
"multer": "^1.4.5-lts.1",
|
"multer": "^2.0.0",
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"nodemailer": "^6.10.1",
|
"nodemailer": "^7.0.10",
|
||||||
"pdf-lib": "^1.17.1",
|
"pdf-lib": "^1.17.1",
|
||||||
"png-to-ico": "^2.1.8",
|
"png-to-ico": "^2.1.8",
|
||||||
"qs": "^6.14.0",
|
"qs": "^6.14.0",
|
||||||
|
|||||||
1336
src/webapp/main/package-lock.json
generated
1336
src/webapp/main/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libreevent",
|
"name": "libreevent",
|
||||||
"version": "1.1.11",
|
"version": "1.1.15",
|
||||||
"private": false,
|
"private": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
|
|||||||
33
src/webapp/setup/package-lock.json
generated
33
src/webapp/setup/package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "libreevent-setup",
|
"name": "libreevent-setup",
|
||||||
"version": "1.1.11",
|
"version": "1.1.15",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "libreevent-setup",
|
"name": "libreevent-setup",
|
||||||
"version": "1.1.11",
|
"version": "1.1.15",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"pinia": "^2.1.3",
|
"pinia": "^2.1.3",
|
||||||
"vue": "^3.3.4",
|
"vue": "^3.3.4",
|
||||||
@@ -1067,10 +1067,11 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "1.1.11",
|
"version": "1.1.12",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
|
||||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^1.0.0",
|
"balanced-match": "^1.0.0",
|
||||||
"concat-map": "0.0.1"
|
"concat-map": "0.0.1"
|
||||||
@@ -1671,10 +1672,11 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/js-yaml": {
|
"node_modules/js-yaml": {
|
||||||
"version": "4.1.0",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
|
||||||
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"argparse": "^2.0.1"
|
"argparse": "^2.0.1"
|
||||||
},
|
},
|
||||||
@@ -1723,10 +1725,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/lodash": {
|
"node_modules/lodash": {
|
||||||
"version": "4.17.21",
|
"version": "4.17.23",
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
|
||||||
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
|
"integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
|
||||||
"dev": true
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/lodash.merge": {
|
"node_modules/lodash.merge": {
|
||||||
"version": "4.6.2",
|
"version": "4.6.2",
|
||||||
@@ -2294,9 +2297,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/vite": {
|
"node_modules/vite": {
|
||||||
"version": "6.3.5",
|
"version": "6.4.1",
|
||||||
"resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/vite/-/vite-6.4.1.tgz",
|
||||||
"integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==",
|
"integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libreevent-setup",
|
"name": "libreevent-setup",
|
||||||
"version": "1.1.11",
|
"version": "1.1.15",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in New Issue
Block a user