diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 41c59854..1a9b2b15 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -42,7 +42,7 @@ jobs: - name: Export - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: webapp path: net/web/build/* diff --git a/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_foreground.png new file mode 100644 index 00000000..f45dd1fa Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-hdpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png index a2f59082..f45dd1fa 100644 Binary files a/app/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/app/mobile/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_foreground.png new file mode 100644 index 00000000..fadf035f Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-ldpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-ldpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-ldpi/ic_launcher.png new file mode 100644 index 00000000..fadf035f Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-ldpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_foreground.png new file mode 100644 index 00000000..f7ad1778 Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-mdpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png index ff10afd6..f7ad1778 100644 Binary files a/app/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/app/mobile/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_foreground.png new file mode 100644 index 00000000..33e02f69 Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-xhdpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png index dcd3cd80..33e02f69 100644 Binary files a/app/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/app/mobile/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_foreground.png new file mode 100644 index 00000000..faad3f8f Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-xxhdpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png index 8ca12fe0..faad3f8f 100644 Binary files a/app/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/app/mobile/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_foreground.png b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_foreground.png new file mode 100644 index 00000000..ba77ad9c Binary files /dev/null and b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_foreground.png differ diff --git a/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher.xml b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher.xml new file mode 100644 index 00000000..4115c03d --- /dev/null +++ b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi-v26/ic_launcher.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png index b824ebdd..ba77ad9c 100644 Binary files a/app/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/app/mobile/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/app/mobile/android/app/src/main/res/values/colors-icon.xml b/app/mobile/android/app/src/main/res/values/colors-icon.xml new file mode 100644 index 00000000..c10793bf --- /dev/null +++ b/app/mobile/android/app/src/main/res/values/colors-icon.xml @@ -0,0 +1,3 @@ + +#FFFFFF + diff --git a/doc/pizero.md b/doc/pizero.md index cbe4c283..0fbcdc3e 100644 --- a/doc/pizero.md +++ b/doc/pizero.md @@ -39,29 +39,29 @@ These instructions assume you have the following setup: Extract it to /usr/local:
tar -C /usr/local -xzf go1.19.linux-armv6l.tar.gz
-## Step 5: setup databag paths +## Step 5: clone and build the server + mkdir /app
+ cd /app
+ git clone https://github.com/balzack/databag.git
+ cd /app/databag/net/server
+ /usr/local/go/bin/go build databag
+ +## Step 6: setup databag paths mkdir -p /var/lib/databag
mkdir -p /opt/databag/transform
cp /app/databag/net/container/transform/* /opt/databag/transform/
-## Step 6: initialize the internal datbase +## Step 7: initialize the internal datbase sqlite3 /var/lib/databag/databag.db "VACUUM;"
sqlite3 /var/lib/databag/databag.db "CREATE TABLE IF NOT EXISTS 'configs' ('id' integer NOT NULL UNIQUE,'config_id' text NOT NULL,'str_value' text,'num_value' integer,'bool_value' numeric,'bin_value' blob,PRIMARY KEY ('id'));"
sqlite3 /var/lib/databag/databag.db "CREATE UNIQUE INDEX IF NOT EXISTS 'idx_configs_config_id' ON 'configs'('config_id');"
sqlite3 /var/lib/databag/databag.db "insert into configs (config_id, str_value) values ('asset_path', '/var/lib/databag/');"
sqlite3 /var/lib/databag/databag.db "insert into configs (config_id, str_value) values ('script_path', '/opt/databag/transform/');"
-## Step 7: clone and build the server - mkdir /app
- cd /app
- git clone https://github.com/balzack/databag.git
- cd /app/databag/net/server
- /usr/local/go/bin/go build databag
- ## Step 8: download the webapp // because the react toolchain isn't available for the pi zero, the webapp is build in a github action
Download webapp.zip from the most recent build:
- https://github.com/balzack/databag/actions/runs/2981276524
+ https://github.com/balzack/databag/actions/runs/3332539686
SCP webapp.zip into the pi
Extract it into the web/build directory
mkdir /app/databag/net/web/build
diff --git a/doc/privacy.txt b/doc/privacy.txt index 29f60960..892151ee 100644 --- a/doc/privacy.txt +++ b/doc/privacy.txt @@ -8,53 +8,6 @@ Databag is committed to protecting your privacy as you use our service! We creat -Do not hesitate to contact us at github.com/balzack/databag if you have any questions or want to discuss this Policy. Capitalized terms used but not defined shall have the respective meanings given to them in the Terms. -Contents - -Please visit each link to read the policy in full. - -What Information We Collect - -Lists the various types of information you voluntarily provide us, such as an email address or phone number. - -How We Use Your Information - -Describes how we use your information to provide you with our services, such as creating an account or hosting your data. - -How We Share Your Information - -Explains that we do not share your personally identifiable information with other third parties except to the extent that it is in furtherance of the Service, or when you choose to do so. - -Storing Your Information - -Policies on the storage and retention of your information, as well as security measures to safeguard your information. - -Government Requests - -How we will respond to governmental requests for your information. - -Third-Party Services and Practices Are Beyond Our Control - -Describes our lack of control over services we may utilize to deliver our services, such as a third-party hosting service or payment processor. - -Retention - -Explains our policy for retaining your data. - -California Privacy Statement - -A special policy for users in the State of California and their rights. -What Information We Collect - -Information You Voluntarily Provide Us - -In order to sign up for the Service, you must create an Account which requires you to provide us with various information that is, or may be, considered personally identifiable information. - - - -To create an Account to access the Service, you will be required to create a username and password. - - Optional Information You Voluntarily Provide Us