Compare commits
55 Commits
zone2
...
fb2d0cf506
Author | SHA1 | Date | |
---|---|---|---|
fb2d0cf506 | |||
22b1efd66e | |||
abf75d636b | |||
b6a999e014 | |||
dcc7397232 | |||
f248f3f85f | |||
93ba8215b9 | |||
cd85b2c6e9 | |||
05fe40a2e6 | |||
040f15bc0e | |||
80e38a8482 | |||
731dfcf961 | |||
a668dfbe3f | |||
26d3c61c7d | |||
bbd6566772 | |||
ce9ecc509c | |||
ad110349d8 | |||
50c5549834 | |||
59840c6db9 | |||
621a8ac361 | |||
9ca0a00763 | |||
09633c3754 | |||
5c85a294d5 | |||
0f5c66fccc
|
|||
58e833b3a6
|
|||
48a299002c
|
|||
91130d96f0
|
|||
b115f3dfb8
|
|||
76c4663d8f
|
|||
7462ce9e12
|
|||
1480313fd0 | |||
a17bcb8b17
|
|||
469ecbc482
|
|||
273e6a8422 | |||
1bfbfbb670 | |||
4071d8ea14 | |||
f383f8282e | |||
2bcc19f9f6 | |||
094fc2ef9a | |||
ba690aea25 | |||
5b57d0704c | |||
cc75917193 | |||
5f3a7608ba | |||
b6b37ec0c0 | |||
8a64c8bcdc | |||
d0574c6574 | |||
ef1b9e6add | |||
ef5bb0e182 | |||
3c97eaf7d8 | |||
5293268086 | |||
d96a34d875 | |||
4d48b9bcc3 | |||
8c736577fe | |||
9b2d7c77f6 | |||
998c44fd5c |
4
.githooks/post-checkout
Executable file
4
.githooks/post-checkout
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "POST-CHECKOUT"
|
||||||
|
echo "PREV-HEAD=$1"
|
||||||
|
echo "CURR-HEAD=$2"
|
||||||
|
echo "BRANCH-CHECKOUT=$3"
|
@@ -11,7 +11,7 @@ if [ -z $IFS ]; then
|
|||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
GIT_PULL_TMP=/tmp/git_changed_files_for_last_pull
|
GIT_PULL_TMP=/tmp/git_pull
|
||||||
OPKG_CMDS_TMP=/tmp/opkg_commands
|
OPKG_CMDS_TMP=/tmp/opkg_commands
|
||||||
|
|
||||||
rm -f $GIT_PULL_TMP
|
rm -f $GIT_PULL_TMP
|
||||||
@@ -24,9 +24,16 @@ get_blob () { # get the blob of the file(name) passed as $1
|
|||||||
|
|
||||||
get_commit_for_blob () {
|
get_commit_for_blob () {
|
||||||
# search for the blob in all commits for the file(name) $1
|
# search for the blob in all commits for the file(name) $1
|
||||||
echo $(git log --all --pretty=format:%H -- $2 |
|
echo $(git log --all --pretty=format:%H -- $1 | xargs -I{} bash -c "git ls-tree {} -- $1 | grep -q $1 && echo {}")
|
||||||
xargs -I{} bash -c "git ls-tree {} -- $2 |
|
}
|
||||||
grep -q $1 && echo -n {} && head -n 1")
|
|
||||||
|
changed_file_names () {
|
||||||
|
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||||
|
# called in repository: $fn is e.g. etc/psa_tariff/tariff01.json
|
||||||
|
# add '/' prefix
|
||||||
|
fn=$(echo $fn | awk '{ printf "/"$0 }')
|
||||||
|
CHANGED_FILE_NAMES+=($fn)
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
||||||
@@ -36,9 +43,9 @@ for fn in $(git diff-tree -r HEAD@{1} HEAD --name-only); do
|
|||||||
fn=$(echo $fn | awk '{ printf "/"$0 }')
|
fn=$(echo $fn | awk '{ printf "/"$0 }')
|
||||||
if [[ -f "$fn" ]]; then
|
if [[ -f "$fn" ]]; then
|
||||||
blob=$(get_blob "$fn")
|
blob=$(get_blob "$fn")
|
||||||
commit=$(get_commit_for_blob $blob "$fn")
|
commit=$(get_commit_for_blob $blob)
|
||||||
fsize=$(ls -l "$fn" | awk '{ print $5 }')
|
fsize=$(ls -l "$fn" | awk '{ print $5 }')
|
||||||
echo "$fn $fsize $blob $commit" >> $GIT_PULL_TMP
|
echo "$fn $fsize b=$blob c=$commit" >> $GIT_PULL_TMP
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if grep -E -q ".*opkg_commands" <<< $fn; then
|
if grep -E -q ".*opkg_commands" <<< $fn; then
|
||||||
|
33
.gitignore
vendored
33
.gitignore
vendored
@@ -1,16 +1,27 @@
|
|||||||
|
# First, ignore everything
|
||||||
*
|
*
|
||||||
|
# Now, whitelist anything that's a directory
|
||||||
## Except
|
!*/
|
||||||
|
# And all the file types you're interested in
|
||||||
|
!.gitignore
|
||||||
|
!.githooks/post-merge
|
||||||
|
!.githooks/post-checkout
|
||||||
!**/.gitignore
|
!**/.gitignore
|
||||||
!**/.githooks/post-merge
|
!**/.githooks/post-merge
|
||||||
!/etc/*.ini
|
!**/.githooks/post-checkout
|
||||||
!/etc/atb/*.ini
|
|
||||||
!/etc/psa_config/*
|
|
||||||
!/etc/psa_update/*
|
|
||||||
!/etc/psa_tariff/*
|
|
||||||
!/etc/dc/dc2c.hex
|
|
||||||
|
|
||||||
!/opt/app/ATBAPP/*.ini
|
## Except
|
||||||
!/opt/app/sysconfig/*.ini
|
!etc/atb/*
|
||||||
!/opt/app/ISMASMgr/*.ini
|
!etc/psa_config/*
|
||||||
|
!etc/psa_update/*
|
||||||
|
!etc/psa_tariff/*
|
||||||
|
!etc/dc/*.hex
|
||||||
|
!etc/dc/*.bin
|
||||||
|
!*/etc/*.ini
|
||||||
|
!*/etc/atb/*
|
||||||
|
!*/etc/psa_config/*
|
||||||
|
!*/etc/psa_update/*
|
||||||
|
!*/etc/psa_tariff/*
|
||||||
|
!*/etc/dc/*.hex
|
||||||
|
!*/etc/dc/*.bin
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ useVehicle=240
|
|||||||
#useProduct=[128+][64+][32+][16+][8]
|
#useProduct=[128+][64+][32+][16+][8]
|
||||||
useProduct=240
|
useProduct=240
|
||||||
|
|
||||||
textfile=/opt/app/ATBAPP/text/HMI_Texte.xml
|
textfile=/opt/app/ATBQT/text/HMI_Texte.xml
|
||||||
logfile=/var/log/atbqt.log
|
logfile=/var/log/atbqt.log
|
||||||
alternativeLogoFile=
|
alternativeLogoFile=
|
||||||
|
|
||||||
@@ -54,7 +54,6 @@ showInfoButton=false
|
|||||||
showHelpButton=false
|
showHelpButton=false
|
||||||
|
|
||||||
useAppStates=1
|
useAppStates=1
|
||||||
statefile=/opt/app/ATBAPP/states/APP_States.xml
|
|
||||||
|
|
||||||
[SCREENCONFIG]
|
[SCREENCONFIG]
|
||||||
sc_31="1,1,0"
|
sc_31="1,1,0"
|
||||||
@@ -71,7 +70,6 @@ sc_53="1,0,0"
|
|||||||
[PLUGINS]
|
[PLUGINS]
|
||||||
CCPlugin=IngenicoISelf_CCPlugin
|
CCPlugin=IngenicoISelf_CCPlugin
|
||||||
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
|
CalculatePricePlugin=MOBILISIS_CalculatePricePlugin
|
||||||
DeviceControllerPlugin=ATBDeviceControllerPlugin
|
|
||||||
|
|
||||||
|
|
||||||
[IngenicoISelf_CCPlugin]
|
[IngenicoISelf_CCPlugin]
|
||||||
@@ -96,5 +94,4 @@ paymentPointInTime=poa
|
|||||||
[MOBILISIS_CalculatePricePlugin]
|
[MOBILISIS_CalculatePricePlugin]
|
||||||
useDebug=1
|
useDebug=1
|
||||||
|
|
||||||
[ATBDeviceControllerPlugin]
|
|
||||||
serialPort=ttymxc2
|
|
||||||
|
@@ -46,6 +46,5 @@ networkRestart="/sbin/ifup -a"
|
|||||||
size=1
|
size=1
|
||||||
1\id=PTU5UPDATE
|
1\id=PTU5UPDATE
|
||||||
1\program="/opt/app/tools/atbupdate/PTUGitInstaller"
|
1\program="/opt/app/tools/atbupdate/PTUGitInstaller"
|
||||||
1\arguments=-q,--platform,wayland
|
1\arguments="-q,--platform,wayland"
|
||||||
1\envs=QT_QPA_EGLFS_KMS_ATOMIC=1,QT_QPA_EGLFS_ALWAYS_SET_MODE=1,XDG_RUNTIME_DIR=/var/run/user/0
|
|
||||||
1\hourOfDay=1
|
1\hourOfDay=1
|
||||||
|
BIN
etc/dc/dc2c.4.11.bin
Executable file
BIN
etc/dc/dc2c.4.11.bin
Executable file
Binary file not shown.
12348
etc/dc/dc2c.hex
12348
etc/dc/dc2c.hex
File diff suppressed because it is too large
Load Diff
@@ -1,28 +1,36 @@
|
|||||||
{
|
{
|
||||||
"title":"DC2C_pri01",
|
"title":"DC2C_pri01",
|
||||||
"project":"DBM Szeged",
|
"project":"DBM Szeged park_coins",
|
||||||
"version":"13.02.2023 12:20 00001",
|
"issued":"13.04.2023 01.01",
|
||||||
"styl":"bold on",
|
"styl":"size 01",
|
||||||
"text":"Parkingticket ",
|
"text":"PARKOLÓJEGY",
|
||||||
"styl":"bold off",
|
"styl":"size 11",
|
||||||
"feed":"nl",
|
"feed":"nl",
|
||||||
"text":"Parkingticket ",
|
"text":"Nyugta",
|
||||||
"styl":"under on",
|
"styl":"size 00",
|
||||||
"text":"Parkingticket ",
|
|
||||||
"styl":"under off",
|
|
||||||
"feed":"nl",
|
"feed":"nl",
|
||||||
"text":"Parkingticket ",
|
|
||||||
"styl":"latin on",
|
|
||||||
"text":"Parkingticket ",
|
|
||||||
"styl":"latin off",
|
|
||||||
"feed":"nl",
|
"feed":"nl",
|
||||||
"text":"Parkingticket ",
|
"text":"mögé jól láthatóan",
|
||||||
"styl":"font 09",
|
"feed":"nl",
|
||||||
"text":"Park ",
|
"text":"elhelyezni!",
|
||||||
"styl":"font 16",
|
"feed":"nl",
|
||||||
"text":"Park ",
|
"text":"A PARKOLÓ NEM ŐRZÖTT!",
|
||||||
|
"feed":"nl",
|
||||||
|
"styl":"size 10",
|
||||||
|
"text":"Rendszám: ",
|
||||||
|
"styl":"size 00",
|
||||||
|
"feed":"nl",
|
||||||
|
"vari":"Dynamic01",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Parkolási idõ vége:",
|
||||||
|
"vari":"Dynamic02",
|
||||||
|
"vari":"Dynamic03",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Parkolás helye:",
|
||||||
|
"vari":"location",
|
||||||
|
"text":"Összeg: ",
|
||||||
|
"vari":"Dynamic04",
|
||||||
"feed":"nl",
|
"feed":"nl",
|
||||||
"":""
|
"":""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,5 +1,31 @@
|
|||||||
{
|
{
|
||||||
"title":"DC2C_pri02",
|
"title":"DC2C_pri02",
|
||||||
"version":"27.02.2023 12:20 00001",
|
"project":"DBM Szeged park_coins",
|
||||||
"":""
|
"issued":"13.04.2023 01.01",
|
||||||
}
|
"text":"Kiadás időpontja:",
|
||||||
|
"vari":"date us",
|
||||||
|
"vari":"time long",
|
||||||
|
"text":"Automata száma: ",
|
||||||
|
"vari":"manu",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Park.jegy sorsz.: ",
|
||||||
|
"vari":"TickCtr",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Szegedi Közlekedési Kft",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"6720 Szeged ",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Zrínyi utca 4-8",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Adósz: 11092612-2-06",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"A jegy ára az ÁFA-t",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":" tartalmazza!",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Üf. szolg nyitvatartás:",
|
||||||
|
"feed":"nl",
|
||||||
|
"":""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,5 +1,21 @@
|
|||||||
{
|
{
|
||||||
"title":"DC2C_pri03",
|
"title":"DC2C_pri03",
|
||||||
"version":"27.02.2023 12:20 00001",
|
"project":"DBM Szeged park_coins",
|
||||||
"":""
|
"issued":"13.04.2023 01.01",
|
||||||
}
|
"text":"H - P: 7:45 - 17:00",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Tel: (80) 820-500",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Parkoljon egy érintéssel. ",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":"Használja bankkártyáját ",
|
||||||
|
"feed":"nl",
|
||||||
|
"text":" automatáinknál is!",
|
||||||
|
"feed":"nl",
|
||||||
|
"feed":"nl",
|
||||||
|
"feed":"nl",
|
||||||
|
"feed":"eject",i
|
||||||
|
"":""
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2,5 +2,5 @@
|
|||||||
"title":"DC2C_pri32",
|
"title":"DC2C_pri32",
|
||||||
"version":"27.02.2023 12:20 00001",
|
"version":"27.02.2023 12:20 00001",
|
||||||
"":"",
|
"":"",
|
||||||
"":"10001"
|
"":"8:50 3.April"
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user