Compare commits
No commits in common. "b44529dc6401a88d2dc8efbd107f32ec9febc89e" and "f40f6cb4bd7de9102bb834377ffe53513f06dc24" have entirely different histories.
b44529dc64
...
f40f6cb4bd
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"name": "elixir/application",
|
"name": "loreta/application",
|
||||||
"license": "proprietary",
|
"license": "proprietary",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"ElixirAudit\\Tests\\" : "tests/"
|
"LoretaAudit\\Tests\\" : "tests/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
|
|
|
||||||
|
|
@ -46,13 +46,13 @@ docker exec -t elixirvault_mysql bash -c 'chmod +x /opt/bin/*.sh'
|
||||||
# mkdir -p ./vendor
|
# mkdir -p ./vendor
|
||||||
#
|
#
|
||||||
# sleep 3;
|
# sleep 3;
|
||||||
# docker exec secretvault_php bash -c "php /usr/local/bin/composer install --working-dir /var/www/html"
|
# docker exec loreta_php bash -c "php /usr/local/bin/composer install --working-dir /var/www/html"
|
||||||
#else
|
#else
|
||||||
# docker exec secretvault_php bash -c "cd /var/www/html; composer dumpautoload" > /dev/null 2>&1;
|
# docker exec loreta_php bash -c "cd /var/www/html; composer dumpautoload" > /dev/null 2>&1;
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Disable sendmail_path from php.webdevops.ini cfg file which overrider php.ini
|
# Disable sendmail_path from php.webdevops.ini cfg file which overrider php.ini
|
||||||
#docker exec -t secretvault_php bash -c 'sed -i "s/^sendmail_path/;sendmail_path/" /opt/docker/etc/php/php.webdevops.ini'
|
#docker exec -t loreta_php bash -c 'sed -i "s/^sendmail_path/;sendmail_path/" /opt/docker/etc/php/php.webdevops.ini'
|
||||||
|
|
||||||
# Check if db container is loaded, if not wait for it to load
|
# Check if db container is loaded, if not wait for it to load
|
||||||
printf 'Waiting for database connection ...' > /dev/tty
|
printf 'Waiting for database connection ...' > /dev/tty
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## -------------------------------------------------------------------
|
## -------------------------------------------------------------------
|
||||||
## RUNNING THE SCRIPT FILE FOR DOCKER CONTAINER - TEST / DEVELOP
|
## RUNNING THE SCRIPT FILE FOR DOCKER CONTAINER - TEST / DEVELOP
|
||||||
## docker exec -it secretvault_mysql bash -c "cd /opt && ./bin/load_all_dbs.sh -folder=data/bulk_db_load_test"
|
## docker exec -it loreta_mysql bash -c "cd /opt && ./bin/load_all_dbs.sh -folder=data/bulk_db_load_test"
|
||||||
## -------------------------------------------------------------------
|
## -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -359,7 +359,7 @@
|
||||||
4344 Read
|
4344 Read
|
||||||
4345 Unread
|
4345 Unread
|
||||||
4346 Z18
|
4346 Z18
|
||||||
4347 elixirvault.lv
|
4347 loretasecret.lv
|
||||||
4348 Mail owner
|
4348 Mail owner
|
||||||
4349 CC owner
|
4349 CC owner
|
||||||
4350 Date from
|
4350 Date from
|
||||||
|
|
|
||||||
|
|
@ -359,7 +359,7 @@
|
||||||
4344 1 Read
|
4344 1 Read
|
||||||
4345 1 Unread
|
4345 1 Unread
|
||||||
4346 1 Z18
|
4346 1 Z18
|
||||||
4347 1 elixirvault.lv
|
4347 1 loretasecret.lv
|
||||||
4348 1 Mail owner
|
4348 1 Mail owner
|
||||||
4349 1 CC owner
|
4349 1 CC owner
|
||||||
4350 1 Date from
|
4350 1 Date from
|
||||||
|
|
|
||||||
|
|
@ -1,39 +1,39 @@
|
||||||
1 azesadmin Administration /azesadmin/ /azesadmin/welcome 0 1 1 1 1 2 /azesadmin/login/ 1312029940 1519133420 1 0 0 0 1 1 1 0 1 0 0 1 0 0 0 0 0
|
1 lslsadmin Administration /lslsadmin/ /lslsadmin/welcome 0 1 1 1 1 2 /lslsadmin/login/ 1312029940 1519133420 1 0 0 0 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
2 login Login /azesadmin/login/ 1 1 1 2 0 0 0 1548841914 1 0 0 0 1 1 1 0 1 0 0 1 0 0 1 0 0
|
2 login Login /lslsadmin/login/ 1 1 1 2 0 0 0 1548841914 1 0 0 0 1 1 1 0 1 0 0 1 0 0 1 0 0
|
||||||
3 two-factor-authentication Two-factor authentication /azesadmin/login/two-factor-authentication/ 2 1 1 3 0 0 1546861060 1550501445 1 0 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
3 two-factor-authentication Two-factor authentication /lslsadmin/login/two-factor-authentication/ 2 1 1 3 0 0 1546861060 1550501445 1 0 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
4 password-change Password change /azesadmin/login/password-change/ 2 1 1 4 0 0 1546861246 1550501481 1 0 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
4 password-change Password change /lslsadmin/login/password-change/ 2 1 1 4 0 0 1546861246 1550501481 1 0 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
6 welcome Welcome /azesadmin/welcome/ 1 1 1 6 1 2 /azesadmin/login 1315231663 1560251155 1 1 0 23 1 1 1 0 1 0 1 1 0 0 1 0 0
|
6 welcome Welcome /lslsadmin/welcome/ 1 1 1 6 1 2 /lslsadmin/login 1315231663 1560251155 1 1 0 23 1 1 1 0 1 0 1 1 0 0 1 0 0
|
||||||
7 base Site base /azesadmin/base/ 1 1 1 7 1 2 /azesadmin/login/ 1315232886 1519137566 1 40 0 22 1 1 1 0 1 0 0 1 0 0 0 0 0
|
7 base Site base /lslsadmin/base/ 1 1 1 7 1 2 /lslsadmin/login/ 1315232886 1519137566 1 40 0 22 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
8 users Cms users /azesadmin/users/ 1 1 1 8 1 2 /azesadmin/login/ 1315233866 1519139181 1 20 0 20 1 1 1 0 1 0 0 1 0 0 0 0 0
|
8 users Cms users /lslsadmin/users/ 1 1 1 8 1 2 /lslsadmin/login/ 1315233866 1519139181 1 20 0 20 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
9 languages Languages /azesadmin/base/languages/ 7 1 1 9 1 2 /azesadmin/login 1315234507 1550507023 1 5 0 28 1 1 1 0 1 0 0 1 0 0 1 0 1
|
9 languages Languages /lslsadmin/base/languages/ 7 1 1 9 1 2 /lslsadmin/login 1315234507 1550507023 1 5 0 28 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
10 menus Menus /azesadmin/base/menus/ 7 1 1 10 1 2 /azesadmin/login 1315234908 1550507066 1 10 0 32 1 1 1 0 1 0 0 1 0 0 1 0 1
|
10 menus Menus /lslsadmin/base/menus/ 7 1 1 10 1 2 /lslsadmin/login 1315234908 1550507066 1 10 0 32 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
11 management User Management /azesadmin/users/management/ 8 1 1 11 1 2 /azesadmin/login 1315303428 1550507072 1 10 0 18 1 1 1 0 1 0 0 1 0 0 1 0 1
|
11 management User Management /lslsadmin/users/management/ 8 1 1 11 1 2 /lslsadmin/login 1315303428 1550507072 1 10 0 18 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
12 permission-groups Permission groups /azesadmin/users/permission-groups/ 8 1 1 12 1 2 /azesadmin/login 1315303514 1550507077 1 15 0 17 1 1 1 0 1 0 0 1 0 0 1 0 1
|
12 permission-groups Permission groups /lslsadmin/users/permission-groups/ 8 1 1 12 1 2 /lslsadmin/login 1315303514 1550507077 1 15 0 17 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
13 permissions Permissions /azesadmin/users/permissions/ 8 1 1 13 1 2 /azesadmin/login 1315303595 1593683805 1 20 0 19 1 1 1 0 1 0 0 1 0 0 0 0 1
|
13 permissions Permissions /lslsadmin/users/permissions/ 8 1 1 13 1 2 /lslsadmin/login 1315303595 1593683805 1 20 0 19 1 1 1 0 1 0 0 1 0 0 0 0 1
|
||||||
14 content Module content /azesadmin/content/ 1 1 1 14 1 2 /azesadmin/login/ 1315308974 1519144418 1 15 0 24 1 1 1 0 1 0 0 1 0 0 0 0 0
|
14 content Module content /lslsadmin/content/ 1 1 1 14 1 2 /lslsadmin/login/ 1315308974 1519144418 1 15 0 24 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
23 cms-messages Cms messages /azesadmin/base/cms-messages/ 7 1 1 23 1 2 /azesadmin/login 1315431735 1550507504 1 15 0 37 1 1 1 0 1 0 0 1 0 0 0 0 1
|
23 cms-messages Cms messages /lslsadmin/base/cms-messages/ 7 1 1 23 1 2 /lslsadmin/login 1315431735 1550507504 1 15 0 37 1 1 1 0 1 0 0 1 0 0 0 0 1
|
||||||
36 apc Apc overview /azesadmin/base/apc/ 7 1 1 36 1 2 /azesadmin/login 1317072926 1550507236 1 1 0 171 1 1 1 0 1 0 0 1 0 0 0 0 1
|
36 apc Apc overview /lslsadmin/base/apc/ 7 1 1 36 1 2 /lslsadmin/login 1317072926 1550507236 1 1 0 171 1 1 1 0 1 0 0 1 0 0 0 0 1
|
||||||
37 ip-filter IP Filter /azesadmin/users/ip-filter/ 8 1 1 37 1 2 /azesadmin/login 1317585198 1550507248 1 25 0 119 1 1 1 0 1 0 0 1 0 0 1 0 1
|
37 ip-filter IP Filter /lslsadmin/users/ip-filter/ 8 1 1 37 1 2 /lslsadmin/login 1317585198 1550507248 1 25 0 119 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
38 action-log Action Log /azesadmin/base/action-log/ 7 1 1 38 1 2 /azesadmin/login 1321569304 1550507252 1 30 0 177 1 1 1 0 1 0 0 1 0 0 0 0 1
|
38 action-log Action Log /lslsadmin/base/action-log/ 7 1 1 38 1 2 /lslsadmin/login 1321569304 1550507252 1 30 0 177 1 1 1 0 1 0 0 1 0 0 0 0 1
|
||||||
46 app-messages App messages /azesadmin/base/app-messages/ 7 1 1 46 1 2 /azesadmin/login 1322554880 1550507507 1 20 0 36 1 1 1 0 1 0 0 1 0 0 1 0 1
|
46 app-messages App messages /lslsadmin/base/app-messages/ 7 1 1 46 1 2 /lslsadmin/login 1322554880 1550507507 1 20 0 36 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
135 manage Manage /azesadmin/manage/ 1 1 1 135 1 2 /azesadmin/login/ 1328044536 1519144950 1 18 0 81 1 1 1 0 1 0 0 1 0 0 0 0 0
|
135 manage Manage /lslsadmin/manage/ 1 1 1 135 1 2 /lslsadmin/login/ 1328044536 1519144950 1 18 0 81 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
141 mails Mail Constructor /azesadmin/content/mails/ 14 1 1 141 1 2 /azesadmin/login 1328485286 1556095982 1 15 0 75 1 1 1 0 1 0 0 1 0 0 1 0 1
|
141 mails Mail Constructor /lslsadmin/content/mails/ 14 1 1 141 1 2 /lslsadmin/login 1328485286 1556095982 1 15 0 75 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
259 mailsout Outgoing mails /azesadmin/manage/mailsout/ 135 1 1 259 1 2 /azesadmin/login 1338381281 1584996657 1 14 0 72 1 1 1 0 1 0 0 1 0 0 1 0 1
|
259 mailsout Outgoing mails /lslsadmin/manage/mailsout/ 135 1 1 259 1 2 /lslsadmin/login 1338381281 1584996657 1 14 0 72 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
260 mailssent Sent mails /azesadmin/manage/mailssent/ 135 1 1 260 1 2 /azesadmin/login 1338381326 1556097578 1 15 0 73 1 1 1 0 1 0 0 1 0 0 1 0 1
|
260 mailssent Sent mails /lslsadmin/manage/mailssent/ 135 1 1 260 1 2 /lslsadmin/login 1338381326 1556097578 1 15 0 73 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
261 classificators Classificators /azesadmin/content/classificators/ 14 1 1 261 1 2 /azesadmin/login 1338550438 1556106004 1 5 0 90 1 1 1 0 1 0 0 1 0 0 1 0 1
|
261 classificators Classificators /lslsadmin/content/classificators/ 14 1 1 261 1 2 /lslsadmin/login 1338550438 1556106004 1 5 0 90 1 1 1 0 1 0 0 1 0 0 1 0 1
|
||||||
401 my-profile My profile /azesadmin/my-profile/ 1 1 1 401 1 2 /azesadmin/login 1347105343 1550507107 1 5 0 0 1 1 1 0 1 0 0 1 0 0 1 0 0
|
401 my-profile My profile /lslsadmin/my-profile/ 1 1 1 401 1 2 /lslsadmin/login 1347105343 1550507107 1 5 0 0 1 1 1 0 1 0 0 1 0 0 1 0 0
|
||||||
524 site site 0 0 7 524 0 0 1415452127 1588075986 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 0
|
524 site site 0 0 7 524 0 0 1415452127 1588075986 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 0 0
|
||||||
525 index Sākums /index/ ElixirVault 524 0 7 525 0 675 1415452145 1782913389 1 0 0 0 1 1 1 0 1 0 1 1 0 0 1 0 0
|
525 index Sākums /index/ LoretaSecret 524 0 7 525 0 675 1415452145 1782913389 1 0 0 0 1 1 1 0 1 0 1 1 0 0 1 0 0
|
||||||
620 site-map Site Map /azesadmin/site-map/ 1 1 1 620 1 2 /azesadmin/login 1462202284 1549372729 1 10 0 258 1 1 1 0 1 0 0 1 0 0 0 0 0
|
620 site-map Site Map /lslsadmin/site-map/ 1 1 1 620 1 2 /lslsadmin/login 1462202284 1549372729 1 10 0 258 1 1 1 0 1 0 0 1 0 0 0 0 0
|
||||||
621 system-site-map System site map /azesadmin/site-map/system-site-map/ 620 1 1 621 1 2 /azesadmin/login 1462205069 1550507286 1 5 0 252 1 1 1 0 1 0 0 1 0 0 0 0 1
|
621 system-site-map System site map /lslsadmin/site-map/system-site-map/ 620 1 1 621 1 2 /lslsadmin/login 1462205069 1550507286 1 5 0 252 1 1 1 0 1 0 0 1 0 0 0 0 1
|
||||||
624 app-site-map App site map /azesadmin/site-map/app-site-map/ 620 1 1 624 1 2 /azesadmin/login 1462208019 1550507292 1 10 0 257 1 1 1 0 1 0 0 0 0 0 0 0 1
|
624 app-site-map App site map /lslsadmin/site-map/app-site-map/ 620 1 1 624 1 2 /lslsadmin/login 1462208019 1550507292 1 10 0 257 1 1 1 0 1 0 0 0 0 0 0 0 1
|
||||||
648 text-manager Text manager /azesadmin/content/text-manager/ 14 1 1 648 1 2 /azesadmin/login 1487959488 1555714859 1 99 0 220 1 1 1 0 1 0 0 0 0 0 0 0 0
|
648 text-manager Text manager /lslsadmin/content/text-manager/ 14 1 1 648 1 2 /lslsadmin/login 1487959488 1555714859 1 99 0 220 1 1 1 0 1 0 0 0 0 0 0 0 0
|
||||||
654 atruna Atruna /atruna/ Lietošanas noteikumi, privātuma politika un sīkdatnes. Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. 524 0 7 654 0 0 1488925148 1784760115 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
654 atruna Atruna /atruna/ Lietošanas noteikumi, privātuma politika un sīkdatnes. Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. 524 0 7 654 0 0 1488925148 1784760115 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
656 autortiesibas Copyrights /autortiesibas/ Lietošanas noteikumi, privātuma politika un sīkdatnes. Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. 524 0 7 656 0 0 1488925221 1588144529 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
656 autortiesibas Copyrights /autortiesibas/ Lietošanas noteikumi, privātuma politika un sīkdatnes. Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. 524 0 7 656 0 0 1488925221 1588144529 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
677 app-users APP Users /azesadmin/app-users/ 1 \N 1 1 677 1 2 /azesadmin/login/ 1493401062 1519145674 1 17 0 224 1 1 1 0 1 0 0 0 0 0 0 0 0
|
677 app-users APP Users /lslsadmin/app-users/ 1 \N 1 1 677 1 2 /lslsadmin/login/ 1493401062 1519145674 1 17 0 224 1 1 1 0 1 0 0 0 0 0 0 0 0
|
||||||
678 user-managament User Managament /azesadmin/app-users/user-managament/ 677 1 1 678 1 2 /azesadmin/login 1493401513 1550507300 1 9 0 78 1 1 1 0 1 0 0 0 0 0 1 0 1
|
678 user-managament User Managament /lslsadmin/app-users/user-managament/ 677 1 1 678 1 2 /lslsadmin/login 1493401513 1550507300 1 9 0 78 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
679 user-permissions User Permissions /azesadmin/app-users/user-permissions/ 677 \N 1 1 679 1 2 /azesadmin/login 1493401591 1550507306 1 10 0 239 1 1 1 0 1 0 0 0 0 0 1 0 1
|
679 user-permissions User Permissions /lslsadmin/app-users/user-permissions/ 677 \N 1 1 679 1 2 /lslsadmin/login 1493401591 1550507306 1 10 0 239 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
680 user-permissions-group User Permissions Group /azesadmin/app-users/user-permissions-group/ 677 \N 1 1 680 1 2 /azesadmin/login 1493401664 1581411856 1 15 0 244 1 1 1 0 1 0 0 0 0 0 1 0 1
|
680 user-permissions-group User Permissions Group /lslsadmin/app-users/user-permissions-group/ 677 \N 1 1 680 1 2 /lslsadmin/login 1493401664 1581411856 1 15 0 244 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
682 paroles-atgusana Password recovery /paroles-atgusana/ 524 0 7 682 0 0 1493481124 1784069516 1 15 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
682 paroles-atgusana Password recovery /paroles-atgusana/ 524 0 7 682 0 0 1493481124 1784069516 1 15 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
686 index Home /index/ Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. Ērta dokumentu sagatavošana – rēķini, avansa rēķini, PNA, iesniegumi, u.c. Atskaišu sagatavošana un paraugi iesniegšanai EDS - ieņēmumu un izdevumu žurnāls, ceturkšņa atskaites, mikrouzņēmuma nodokļa atskaites, u.c. 524 0 9 525 0 675 1493745107 1782913389 1 0 0 0 1 1 1 0 1 0 1 0 0 0 1 0 0
|
686 index Home /index/ Vienkāršā ieraksta grāmatvedība! Tiešsaistes grāmatvedības programma individuālajiem komersantiem, pašnodarbinātajiem, biedrībām un zemnieku saimniecībām. Ērta dokumentu sagatavošana – rēķini, avansa rēķini, PNA, iesniegumi, u.c. Atskaišu sagatavošana un paraugi iesniegšanai EDS - ieņēmumu un izdevumu žurnāls, ceturkšņa atskaites, mikrouzņēmuma nodokļa atskaites, u.c. 524 0 9 525 0 675 1493745107 1782913389 1 0 0 0 1 1 1 0 1 0 1 0 0 0 1 0 0
|
||||||
709 disclaimer Disclaimer /disclaimer/ Terms of use, privacy policy and cookies. Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 524 0 9 654 0 0 1541534159 1784760115 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
709 disclaimer Disclaimer /disclaimer/ Terms of use, privacy policy and cookies. Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 524 0 9 654 0 0 1541534159 1784760115 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
|
|
@ -55,15 +55,15 @@
|
||||||
726 reports Reports /accounting-system/reports/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 795 1 675 /accounting-system-login/en 1541534333 1588144454 1 55 0 374 1 1 1 0 0 0 0 0 0 0 1 0 1
|
726 reports Reports /accounting-system/reports/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 795 1 675 /accounting-system-login/en 1541534333 1588144454 1 55 0 374 1 1 1 0 0 0 0 0 0 0 1 0 1
|
||||||
734 send-system-error Send System Error /accounting-system/send-system-error/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 786 1 675 /accounting-system-login/en 1544379206 1588144434 1 105 0 418 1 1 1 0 0 0 0 0 0 0 1 0 1
|
734 send-system-error Send System Error /accounting-system/send-system-error/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 786 1 675 /accounting-system-login/en 1544379206 1588144434 1 105 0 418 1 1 1 0 0 0 0 0 0 0 1 0 1
|
||||||
739 piekluves-kluda Access Error /piekluves-kluda/ Loretta Secret 524 0 7 739 0 0 1546079609 1782914010 1 5 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
739 piekluves-kluda Access Error /piekluves-kluda/ Loretta Secret 524 0 7 739 0 0 1546079609 1782914010 1 5 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
||||||
741 pub-messages Pub Messages /azesadmin/content/pub-messages/ 14 \N 1 1 741 1 2 /azesadmin/login 1545916628 1550507519 1 5 0 296 1 1 1 0 1 0 0 0 0 0 0 0 1
|
741 pub-messages Pub Messages /lslsadmin/content/pub-messages/ 14 \N 1 1 741 1 2 /lslsadmin/login 1545916628 1550507519 1 5 0 296 1 1 1 0 1 0 0 0 0 0 0 0 1
|
||||||
742 pierakstities subscribe /pierakstities/ Pierakstīšanās uz jaunumu saņemšanu e-pastā! 524 0 7 742 0 0 1545922833 1781695326 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
742 pierakstities subscribe /pierakstities/ Pierakstīšanās uz jaunumu saņemšanu e-pastā! 524 0 7 742 0 0 1545922833 1781695326 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
744 atrakstities unsubscribe /atrakstities/ Atrakstīšanās no jaunumu saņemšanu e-pastā! 524 0 7 744 0 0 1545933944 1781774551 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
744 atrakstities unsubscribe /atrakstities/ Atrakstīšanās no jaunumu saņemšanu e-pastā! 524 0 7 744 0 0 1545933944 1781774551 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
745 pub-email-subscribtions Pub email subscribtions /azesadmin/content/pub-email-subscribtions/ 14 1 1 745 1 2 /azesadmin/login 1545941495 1550507333 1 6 0 300 1 1 1 0 1 0 0 0 0 0 0 0 1
|
745 pub-email-subscribtions Pub email subscribtions /lslsadmin/content/pub-email-subscribtions/ 14 1 1 745 1 2 /lslsadmin/login 1545941495 1550507333 1 6 0 300 1 1 1 0 1 0 0 0 0 0 0 0 1
|
||||||
746 sazinies-ar-mums Contact us /sazinies-ar-mums/ Saziņas forma tiešsaistē. 524 \N 0 7 746 0 0 1546346508 1781698510 1 10 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
746 sazinies-ar-mums Contact us /sazinies-ar-mums/ Saziņas forma tiešsaistē. 524 \N 0 7 746 0 0 1546346508 1781698510 1 10 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
748 par-mums Par mums /par-mums/ Vairāk par mums 524 0 7 748 0 0 1546346526 1784760161 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
748 par-mums Par mums /par-mums/ Vairāk par mums 524 0 7 748 0 0 1546346526 1784760161 1 5 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
754 system-dashboard System Dashboard /accounting-system/system-dashboard/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 775 1 675 /accounting-system-login/en 1547453291 1603452687 8 20 0 0 1 1 1 0 0 0 0 0 0 0 1 0 1
|
754 system-dashboard System Dashboard /accounting-system/system-dashboard/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 775 1 675 /accounting-system-login/en 1547453291 1603452687 8 20 0 0 1 1 1 0 0 0 0 0 0 0 1 0 1
|
||||||
757 site-modules Site modules /azesadmin/site-map/site-modules/ 620 1 1 757 1 2 /azesadmin/login 1548075102 1550507552 1 20 0 304 1 1 1 0 1 0 0 0 0 0 0 0 1
|
757 site-modules Site modules /lslsadmin/site-map/site-modules/ 620 1 1 757 1 2 /lslsadmin/login 1548075102 1550507552 1 20 0 304 1 1 1 0 1 0 0 0 0 0 0 0 1
|
||||||
759 page-not-found Page not found /azesadmin/page-not-found/ 1 1 1 759 1 2 /azesadmin/login 1550585794 1550586139 1 1 0 23 1 1 1 0 1 1 1 0 0 0 1 0 0
|
759 page-not-found Page not found /lslsadmin/page-not-found/ 1 1 1 759 1 2 /lslsadmin/login 1550585794 1550586139 1 1 0 23 1 1 1 0 1 1 1 0 0 0 1 0 0
|
||||||
760 account-selection Company selection /accounting-system/account-selection/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 803 1 675 /accounting-system-login/en 1549382858 1616183364 1 10 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0
|
760 account-selection Company selection /accounting-system/account-selection/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 803 1 675 /accounting-system-login/en 1549382858 1616183364 1 10 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0
|
||||||
761 balance Balance /accounting-system/balance/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 796 1 675 /accounting-system-login/en 1549382916 1588144449 1 60 0 420 1 1 1 0 0 0 0 0 0 0 1 0 1
|
761 balance Balance /accounting-system/balance/ Simple entry accounting! Online accounting program for sole proprietors, self-employed, associations and farms. 767 0 9 796 1 675 /accounting-system-login/en 1549382916 1588144449 1 60 0 420 1 1 1 0 0 0 0 0 0 0 1 0 1
|
||||||
762 sikdatnes Cookies /sikdatnes/ Lietošanas noteikumi, privātuma politika un sīkdatnes. 524 0 7 762 0 0 1549469297 1781697108 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
762 sikdatnes Cookies /sikdatnes/ Lietošanas noteikumi, privātuma politika un sīkdatnes. 524 0 7 762 0 0 1549469297 1781697108 1 20 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
|
|
@ -149,13 +149,13 @@
|
||||||
885 dvukhfaktornaya-nastroyka Two-Factor setup /voyti-v-sistemu-ucheta/dvukhfaktornaya-nastroyka/ 801 \N 0 10 885 0 0 1726765272 1726765272 1 5 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0
|
885 dvukhfaktornaya-nastroyka Two-Factor setup /voyti-v-sistemu-ucheta/dvukhfaktornaya-nastroyka/ 801 \N 0 10 885 0 0 1726765272 1726765272 1 5 0 0 1 1 1 0 0 0 0 0 0 0 1 0 0
|
||||||
887 plan-pricing Plan Pricing /plan-pricing/ 524 \N 0 9 888 0 0 1775206675 1775207035 1 70 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
887 plan-pricing Plan Pricing /plan-pricing/ 524 \N 0 9 888 0 0 1775206675 1775207035 1 70 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
||||||
888 plan-pricing Plan Pricing /plan-pricing/ 524 \N 0 10 888 0 0 1775206675 1775207035 1 70 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
888 plan-pricing Plan Pricing /plan-pricing/ 524 \N 0 10 888 0 0 1775206675 1775207035 1 70 0 0 1 1 1 0 1 1 0 0 0 0 1 0 0
|
||||||
889 e-commerce e-Commerce /azesadmin/e-commerce/ 1 \N 1 1 889 1 2 /azesadmin/login 1777018342 1777018564 1 16 0 474 1 1 1 0 1 0 0 0 0 0 0 0 0
|
889 e-commerce e-Commerce /lslsadmin/e-commerce/ 1 \N 1 1 889 1 2 /lslsadmin/login 1777018342 1777018564 1 16 0 474 1 1 1 0 1 0 0 0 0 0 0 0 0
|
||||||
890 products Products /azesadmin/e-commerce/products/ 889 \N 1 1 890 1 2 /azesadmin/login 1777019714 1777287249 1 5 0 478 1 1 1 0 1 0 0 0 0 0 1 0 1
|
890 products Products /lslsadmin/e-commerce/products/ 889 \N 1 1 890 1 2 /lslsadmin/login 1777019714 1777287249 1 5 0 478 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
891 product-attributes Product Attributes /azesadmin/e-commerce/product-attributes/ 889 \N 1 1 891 1 2 /azesadmin/login 1777023737 1777289327 1 6 0 483 1 1 1 0 1 0 0 0 0 0 1 0 1
|
891 product-attributes Product Attributes /lslsadmin/e-commerce/product-attributes/ 889 \N 1 1 891 1 2 /lslsadmin/login 1777023737 1777289327 1 6 0 483 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
892 deliveries Delivery /azesadmin/e-commerce/deliveries/ 889 \N 1 1 892 1 2 /azesadmin/login 1777285573 1783326764 1 20 0 491 1 1 1 0 1 0 0 0 0 0 1 0 1
|
892 deliveries Delivery /lslsadmin/e-commerce/deliveries/ 889 \N 1 1 892 1 2 /lslsadmin/login 1777285573 1783326764 1 20 0 491 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
893 orders Orders /azesadmin/e-commerce/orders/ 889 \N 1 1 893 1 2 /azesadmin/login 1777285623 1777287237 1 1 0 487 1 1 1 0 1 0 0 0 0 0 1 0 1
|
893 orders Orders /lslsadmin/e-commerce/orders/ 889 \N 1 1 893 1 2 /lslsadmin/login 1777285623 1777287237 1 1 0 487 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
894 sales Sales /azesadmin/e-commerce/sales/ 889 \N 1 1 894 1 2 /azesadmin/login 1777286161 1777287370 1 15 0 497 1 1 1 0 1 0 0 0 0 0 1 0 1
|
894 sales Sales /lslsadmin/e-commerce/sales/ 889 \N 1 1 894 1 2 /lslsadmin/login 1777286161 1777287370 1 15 0 497 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
895 inventory Inventory /azesadmin/e-commerce/inventory/ 889 \N 1 1 895 1 2 /azesadmin/login 1777286634 1777287364 1 10 0 463 1 1 1 0 1 0 0 0 0 0 1 0 1
|
895 inventory Inventory /lslsadmin/e-commerce/inventory/ 889 \N 1 1 895 1 2 /lslsadmin/login 1777286634 1777287364 1 10 0 463 1 1 1 0 1 0 0 0 0 0 1 0 1
|
||||||
896 grozs grozs /grozs/ 524 \N 0 7 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
896 grozs grozs /grozs/ 524 \N 0 7 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
897 grozs grozs /grozs/ 524 \N 0 9 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
897 grozs grozs /grozs/ 524 \N 0 9 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
898 grozs grozs /grozs/ 524 \N 0 10 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
898 grozs grozs /grozs/ 524 \N 0 10 896 0 0 1781857265 1781879300 1 35 0 0 1 1 1 0 1 0 0 0 0 0 1 0 0
|
||||||
|
|
|
||||||
|
|
@ -389,12 +389,3 @@
|
||||||
1539 Maksājumu politika
|
1539 Maksājumu politika
|
||||||
1540 Payment terms
|
1540 Payment terms
|
||||||
1541 Krekli
|
1541 Krekli
|
||||||
1542 Powered by
|
|
||||||
1543 There are three main types of cookies that we follow on the
|
|
||||||
1544 website.
|
|
||||||
1545 By browsing the site, you accept the use of necessary cookies. You can also accept the use of other cookies.<br/>For more information <a href="[%REPLACE_URL%]" target="_blank">click here</a>
|
|
||||||
1546 Necessary
|
|
||||||
1547 Statistics
|
|
||||||
1548 Preferences
|
|
||||||
1549 Accept selected
|
|
||||||
1550 Accept all
|
|
||||||
|
|
|
||||||
|
|
@ -1137,12 +1137,3 @@
|
||||||
2613 1540 9
|
2613 1540 9
|
||||||
2614 1540 10
|
2614 1540 10
|
||||||
2615 1541 7 Krekli
|
2615 1541 7 Krekli
|
||||||
2616 1542 7 Powered by
|
|
||||||
2617 1543 7 There are three main types of cookies that we follow on the
|
|
||||||
2618 1544 7 website.
|
|
||||||
2619 1545 7 By browsing the site, you accept the use of necessary cookies. You can also accept the use of other cookies.<br/>For more information <a href="[%REPLACE_URL%]" target="_blank">click here</a>
|
|
||||||
2620 1546 7 Necessary
|
|
||||||
2621 1547 7 Statistics
|
|
||||||
2622 1548 7 Preferences
|
|
||||||
2623 1549 7 Accept selected
|
|
||||||
2624 1550 7 Accept all
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -2801,6 +2801,3 @@
|
||||||
2810 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526479 bb70059e0cbba565e3d0f574fd4bfe4af3b6ca26
|
2810 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526479 bb70059e0cbba565e3d0f574fd4bfe4af3b6ca26
|
||||||
2811 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526832 7f54683412d7344a4d2f511b8dffec5169b48b56
|
2811 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526832 7f54683412d7344a4d2f511b8dffec5169b48b56
|
||||||
2812 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526979 d3605b723e9cbd6f785b914349034d79f77f3657
|
2812 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526979 d3605b723e9cbd6f785b914349034d79f77f3657
|
||||||
2813 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042335 16f292468d3015425936ac4a018a259a54f1fd36
|
|
||||||
2814 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042338 9ad1b975d07504b2cf7322ed8107c84137f7257d
|
|
||||||
2815 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042347 2bea8eeaab058e1758faaac57df1129ef697c75d
|
|
||||||
|
|
|
||||||
|
|
@ -48,4 +48,3 @@
|
||||||
48 1 1785409063 Mareks @ Admin logged in!
|
48 1 1785409063 Mareks @ Admin logged in!
|
||||||
49 1 1785438340 Mareks @ Admin logged in!
|
49 1 1785438340 Mareks @ Admin logged in!
|
||||||
50 1 1785479647 Mareks @ Admin logged in!
|
50 1 1785479647 Mareks @ Admin logged in!
|
||||||
51 1 1788999246 Mareks @ Admin logged in!
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
3416 loreta_local_APC_DISABLED 1784020582 1815556582
|
||||||
|
|
@ -17227,31 +17227,3 @@
|
||||||
17227 899 168 168 0 7 1
|
17227 899 168 168 0 7 1
|
||||||
17228 2 525 525 1 1 0
|
17228 2 525 525 1 1 0
|
||||||
17229 905 742 742 0 7 0
|
17229 905 742 742 0 7 0
|
||||||
17230 525 742 742 0 7 0
|
|
||||||
17231 2 525 525 1 1 0
|
|
||||||
17232 905 742 742 0 7 0
|
|
||||||
17233 905 742 742 0 7 0
|
|
||||||
17234 739 742 742 0 7 0
|
|
||||||
17235 2 525 525 1 1 0
|
|
||||||
17236 905 742 742 0 7 0
|
|
||||||
17237 905 742 742 0 7 0
|
|
||||||
17238 739 742 742 0 7 0
|
|
||||||
17239 2 525 525 1 1 0
|
|
||||||
17240 905 742 742 0 7 0
|
|
||||||
17241 905 742 742 0 7 0
|
|
||||||
17242 525 742 742 0 7 0
|
|
||||||
17243 2 2 2 0 1 0
|
|
||||||
17244 525 742 742 0 7 0
|
|
||||||
17245 525 742 742 0 7 0
|
|
||||||
17246 3 3 3 0 1 0
|
|
||||||
17247 525 742 742 0 7 0
|
|
||||||
17248 525 742 742 0 7 0
|
|
||||||
17249 6 6 6 0 1 0
|
|
||||||
17250 525 742 742 0 7 0
|
|
||||||
17251 525 742 742 0 7 0
|
|
||||||
17252 525 742 742 0 7 0
|
|
||||||
17253 620 620 620 0 1 0
|
|
||||||
17254 525 742 742 0 7 0
|
|
||||||
17255 621 621 621 0 1 0
|
|
||||||
17256 525 742 742 0 7 0
|
|
||||||
17257 525 742 742 0 7 0
|
|
||||||
|
|
|
||||||
|
|
@ -1374,21 +1374,3 @@
|
||||||
1243 896
|
1243 896
|
||||||
1244 896
|
1244 896
|
||||||
1249 905
|
1249 905
|
||||||
1542 525
|
|
||||||
1543 525
|
|
||||||
1544 525
|
|
||||||
1545 525
|
|
||||||
1546 525
|
|
||||||
1547 525
|
|
||||||
1548 525
|
|
||||||
1549 525
|
|
||||||
1550 525
|
|
||||||
1542 739
|
|
||||||
1543 739
|
|
||||||
1544 739
|
|
||||||
1545 739
|
|
||||||
1546 739
|
|
||||||
1547 739
|
|
||||||
1548 739
|
|
||||||
1549 739
|
|
||||||
1550 739
|
|
||||||
|
|
|
||||||
|
|
@ -735,4 +735,3 @@
|
||||||
1785482996 172.20.0.1 1 0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
1785482996 172.20.0.1 1 0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
||||||
1785483586 172.20.0.1 1 1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
1785483586 172.20.0.1 1 1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
||||||
1785483586 172.20.0.1 1 0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
1785483586 172.20.0.1 1 0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 25c6793c0bc3001a13e8b9481dbe2d36
|
||||||
1788999246 172.21.0.1 1 1 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36 84c111b213753e1a6ff8e7374cad5862
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# ---------------------------------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------------------------------
|
||||||
# SCRIPT EXEC LOCATION: /opt/update
|
# SCRIPT EXEC LOCATION: /opt/update
|
||||||
# ---------------------------------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------------------------------
|
||||||
# Usage: ./export_project.sh -project=elixirvault.lv -branch="release/legacy-system-php74"=
|
# Usage: ./export_project.sh -project=loretasecret.lv -branch="release/legacy-system-php74"=
|
||||||
|
|
||||||
git_repository=""
|
git_repository=""
|
||||||
www_project_dir=""
|
www_project_dir=""
|
||||||
|
|
@ -27,10 +27,10 @@ for i in "$@"; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# Override Script dir for testing for elixirvault.local.test
|
# Override Script dir for testing for loretasecret.local.test
|
||||||
if [[ "$project_title" == "elixirvault.local.test" ]]; then
|
if [[ "$project_title" == "loretasecret.local.test" ]]; then
|
||||||
script_dir="/var/www/html/development/scripts/temp"
|
script_dir="/var/www/html/development/scripts/temp"
|
||||||
script_dir="/Users/marekskeiss/Projects/brsystems/git/ELIXIRVAULT/development/scripts/temp"
|
script_dir="/Users/marekskeiss/Projects/brsystems/git/LORETA/development/scripts/temp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
statusOkMessageOutput() {
|
statusOkMessageOutput() {
|
||||||
|
|
@ -54,8 +54,8 @@ fi
|
||||||
# Declare configuration for export
|
# Declare configuration for export
|
||||||
declare -a repoConfiguration
|
declare -a repoConfiguration
|
||||||
|
|
||||||
repoConfiguration[0]="elixirvault.lv;ssh://git@gitea.brsystems.lv:2020/brs/ELIXIRVAULT.git;ELIXIRVAULT;/var/www;system-brs-core/config/init.cfg.ini"
|
repoConfiguration[0]="loretasecret.lv;ssh://git@gitea.brsystems.lv:2020/brs/LORETA.git;LORETA;/var/www;system-brs-core/config/init.cfg.ini"
|
||||||
repoConfiguration[1]="elixirvault.local.test;ssh://git@gitea.brsystems.lv:2020/brs/ELIXIRVAULT.git;ELIXIRVAULT;$script_dir/www;system-brs-core/config/init.cfg.ini"
|
repoConfiguration[1]="loretasecret.local.test;ssh://git@gitea.brsystems.lv:2020/brs/LORETA.git;LORETA;$script_dir/www;system-brs-core/config/init.cfg.ini"
|
||||||
repoConfiguration[3]="domain.fr;fr;http"
|
repoConfiguration[3]="domain.fr;fr;http"
|
||||||
|
|
||||||
for page in "${repoConfiguration[@]}"
|
for page in "${repoConfiguration[@]}"
|
||||||
|
|
@ -64,12 +64,12 @@ do
|
||||||
# array ['domain.de', 'de', 'https']
|
# array ['domain.de', 'de', 'https']
|
||||||
IFS=";" read -r -a arr <<< "${page}"
|
IFS=";" read -r -a arr <<< "${page}"
|
||||||
|
|
||||||
site="${arr[0]}" # elixirvault.lv
|
site="${arr[0]}" # loretasecret.lv
|
||||||
|
|
||||||
if [[ "$project_title" == "$site" ]]; then
|
if [[ "$project_title" == "$site" ]]; then
|
||||||
|
|
||||||
git_repository="${arr[1]}" # ssh://git@gitea.brsystems.lv:2020/brs/ELIXIRVAULT.git
|
git_repository="${arr[1]}" # ssh://git@gitea.brsystems.lv:2020/brs/LORETA.git
|
||||||
git_clone_dir="${arr[2]}" # ELIXIRVAULT
|
git_clone_dir="${arr[2]}" # LORETA
|
||||||
www_project_dir="${arr[3]}" # /var/www
|
www_project_dir="${arr[3]}" # /var/www
|
||||||
backup_cfg_file_location_check="${arr[4]}" # system-brs-core/config/init.cfg.ini
|
backup_cfg_file_location_check="${arr[4]}" # system-brs-core/config/init.cfg.ini
|
||||||
break
|
break
|
||||||
|
|
@ -263,10 +263,10 @@ case $project_title in
|
||||||
statusOkMessageOutput "Composer cfg files copied" "OK"
|
statusOkMessageOutput "Composer cfg files copied" "OK"
|
||||||
statusOkMessageOutput "Composer install - SLOW!!!" "installing"
|
statusOkMessageOutput "Composer install - SLOW!!!" "installing"
|
||||||
|
|
||||||
# Override composer install for testing for elixirvault.local.test
|
# Override composer install for testing for loretasecret.local.test
|
||||||
# TODO BRS: Be great to create a separate container with same server structure and testing ground
|
# TODO BRS: Be great to create a separate container with same server structure and testing ground
|
||||||
if [[ "$project_title" == "elixirvault.local.test" ]]; then
|
if [[ "$project_title" == "loretasecret.local.test" ]]; then
|
||||||
if [[ $(docker exec -i elixirvault_php bash -c "cd /var/www/html/development/scripts/temp/$temp_dir_title/new_$project_title; composer install --no-dev" 2>&1 | grep -ic "autoload") -eq 0 ]]; then
|
if [[ $(docker exec -i loreta_php bash -c "cd /var/www/html/development/scripts/temp/$temp_dir_title/new_$project_title; composer install --no-dev" 2>&1 | grep -ic "autoload") -eq 0 ]]; then
|
||||||
echo -e "\n${Red}ABORTING: ${Color_Off}Composer installation failed...${Red}\n"
|
echo -e "\n${Red}ABORTING: ${Color_Off}Composer installation failed...${Red}\n"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * * wget -q -O /var/www/html/www/logs/cron_call.log http://local.elixirvault.lv/cron/ctp:ZUTENIS-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * * wget -q -O /var/www/html/www/logs/cron_call.log http://local.lorettasecret.lv/cron/ctp:ZUTENIS-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,9 @@ memory_limit=-1
|
||||||
xdebug.show_exception_trace=0
|
xdebug.show_exception_trace=0
|
||||||
|
|
||||||
[mail function]
|
[mail function]
|
||||||
SMTP = elixirvault_mailhog
|
SMTP = loreta_mailhog
|
||||||
smtp_port = 1025
|
smtp_port = 1025
|
||||||
mail.add_x_header = On
|
mail.add_x_header = On
|
||||||
sendmail_path = /usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mailhog:1025
|
sendmail_path = /usr/bin/mhsendmail -oi -t --smtp-addr loreta_mailhog:1025
|
||||||
php_admin_value[sendmail_path] = /usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mailhog:1025
|
php_admin_value[sendmail_path] = /usr/bin/mhsendmail -oi -t --smtp-addr loreta_mailhog:1025
|
||||||
mail.log = /var/www/html/www/logs/mail_log.log
|
mail.log = /var/www/html/www/logs/mail_log.log
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests;
|
namespace LoretaAudit\Tests;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cCoreSystem\cCoreSystem;
|
use BRSystems\Core\Library\cCoreSystem\cCoreSystem;
|
||||||
use BRSystems\Core\Library\cDb\cDb;
|
use BRSystems\Core\Library\cDb\cDb;
|
||||||
|
|
@ -13,6 +13,7 @@ use Http\Client\Curl\Client;
|
||||||
use MyCLabs\Enum\Enum;
|
use MyCLabs\Enum\Enum;
|
||||||
use Nyholm\Psr7\Factory\Psr17Factory;
|
use Nyholm\Psr7\Factory\Psr17Factory;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use BRSystems\Core\App\pubPartners\pubPartners;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||||
use ReflectionClass;
|
use ReflectionClass;
|
||||||
|
|
@ -21,15 +22,15 @@ use rpkamp\Mailhog\Message\Contact;
|
||||||
use rpkamp\Mailhog\Message\Message;
|
use rpkamp\Mailhog\Message\Message;
|
||||||
use rpkamp\Mailhog\NoSuchMessageException;
|
use rpkamp\Mailhog\NoSuchMessageException;
|
||||||
use BRSystems\Core\Sys\sysUsers\sysUsers;
|
use BRSystems\Core\Sys\sysUsers\sysUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @method static DbTitleEnum E_ELIXIR()
|
* @method static DbTitleEnum E_LORETA()
|
||||||
*/
|
*/
|
||||||
final class DbTitleEnum extends Enum
|
final class DbTitleEnum extends Enum
|
||||||
{
|
{
|
||||||
private const E_ELIXIR = 'elixir';
|
private const E_LORETA = 'loreta';
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract class BasePhpUnitCase extends TestCase
|
abstract class BasePhpUnitCase extends TestCase
|
||||||
|
|
@ -42,7 +43,7 @@ abstract class BasePhpUnitCase extends TestCase
|
||||||
/**
|
/**
|
||||||
* @var String - Mysql DB title
|
* @var String - Mysql DB title
|
||||||
*/
|
*/
|
||||||
protected string $mysqlName = 'elixir_vault_lv';
|
protected string $mysqlName = 'loreta';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var String - Mysql connection user
|
* @var String - Mysql connection user
|
||||||
|
|
@ -57,7 +58,7 @@ abstract class BasePhpUnitCase extends TestCase
|
||||||
/**
|
/**
|
||||||
* @var String - Mysql connection host
|
* @var String - Mysql connection host
|
||||||
*/
|
*/
|
||||||
protected string $mysqlHost = 'secretvault_mysql';
|
protected string $mysqlHost = 'loreta_mysql';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var String - Mysql connection port
|
* @var String - Mysql connection port
|
||||||
|
|
@ -82,7 +83,7 @@ abstract class BasePhpUnitCase extends TestCase
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected string $mailHogAPIRequestUrl = 'http://elixirvault_mailhog:8025/';
|
protected string $mailHogAPIRequestUrl = 'http://loreta_mailhog:8025/';
|
||||||
|
|
||||||
protected pubUsers $pubUser;
|
protected pubUsers $pubUser;
|
||||||
protected sysUsers $cmsUser;
|
protected sysUsers $cmsUser;
|
||||||
|
|
@ -251,7 +252,7 @@ abstract class BasePhpUnitCase extends TestCase
|
||||||
|
|
||||||
$_SERVER['SERVER_PORT'] = 80;
|
$_SERVER['SERVER_PORT'] = 80;
|
||||||
$_SERVER['HTTPS'] = 'off';
|
$_SERVER['HTTPS'] = 'off';
|
||||||
$_SERVER['HTTP_HOST'] = 'local.elixir';
|
$_SERVER['HTTP_HOST'] = 'local.loreta';
|
||||||
$_SERVER['REQUEST_URI'] = $url->rmSlashesIndex($urlData['p_full_url']);
|
$_SERVER['REQUEST_URI'] = $url->rmSlashesIndex($urlData['p_full_url']);
|
||||||
$_SERVER['REMOTE_ADDR'] = '';
|
$_SERVER['REMOTE_ADDR'] = '';
|
||||||
$_SERVER['SERVER_ADDR'] = '';
|
$_SERVER['SERVER_ADDR'] = '';
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests;
|
namespace LoretaAudit\Tests;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
@ -18,7 +18,7 @@ use Facebook\WebDriver\WebDriverElement;
|
||||||
use Facebook\WebDriver\WebDriverExpectedCondition;
|
use Facebook\WebDriver\WebDriverExpectedCondition;
|
||||||
use Facebook\WebDriver\WebDriverSelect;
|
use Facebook\WebDriver\WebDriverSelect;
|
||||||
use PHPUnit\Runner\BaseTestRunner;
|
use PHPUnit\Runner\BaseTestRunner;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
|
|
||||||
|
|
||||||
abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
||||||
|
|
@ -40,7 +40,7 @@ abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $seleniumHost = 'http://elixirvault_selenium_hub:4444/wd/hub';
|
protected $seleniumHost = 'http://loreta_selenium_hub:4444/wd/hub';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
|
@ -61,7 +61,7 @@ abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $applicationBaseUrl = 'http://local.elixirvault.lv/';
|
protected $applicationBaseUrl = 'http://local.lorettasecret.lv/';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Constants;
|
namespace LoretaAudit\Tests\DataSetup\Constants;
|
||||||
|
|
||||||
class siteAccounts
|
class siteAccounts
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||||
|
|
||||||
class siteLanguages
|
class siteLanguages
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||||
|
|
||||||
class siteMap
|
class siteMap
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||||
|
|
||||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
|
|
||||||
trait assertionsTrait
|
trait assertionsTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
use Facebook\WebDriver\Remote\RemoteWebElement;
|
use Facebook\WebDriver\Remote\RemoteWebElement;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
|
|
||||||
trait commonTrait
|
trait commonTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trait for common CMS Dialog interactions
|
* Trait for common CMS Dialog interactions
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
trait formLayoutTrait
|
trait formLayoutTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
|
|
||||||
trait formValidationTrait
|
trait formValidationTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests provide a small per-language config; this trait expands it into the object-structure
|
* Tests provide a small per-language config; this trait expands it into the object-structure
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||||
|
|
||||||
use Facebook\WebDriver\Exception\WebDriverException;
|
use Facebook\WebDriver\Exception\WebDriverException;
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\Traits\App;
|
namespace LoretaAudit\Tests\DataSetup\Traits\App;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||||
|
|
||||||
trait pubUsersTrait
|
trait pubUsersTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||||
|
|
||||||
trait cmsAssertionsTrait
|
trait cmsAssertionsTrait
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trait for common CMS Dialog interactions
|
* Trait for common CMS Dialog interactions
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trait for common CMS Table interactions
|
* Trait for common CMS Table interactions
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests;
|
namespace LoretaAudit\Tests;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use SimpleXMLElement;
|
use SimpleXMLElement;
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class pubUserLoginForcePwdChangeTest extends BasePhpUnitSeleniumCase
|
class pubUserLoginForcePwdChangeTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||||
|
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class pubUserLoginTest extends BasePhpUnitSeleniumCase
|
class pubUserLoginTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use DOMDocument;
|
use DOMDocument;
|
||||||
use DOMXPath;
|
use DOMXPath;
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class pubUserPwdResetTest extends BasePhpUnitSeleniumCase
|
class pubUserPwdResetTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,19 +2,19 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use DOMDocument;
|
use DOMDocument;
|
||||||
use DOMXPath;
|
use DOMXPath;
|
||||||
use stdClass;
|
use stdClass;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\traits\app\helpers\assertionsTrait;
|
use LoretaAudit\Tests\DataSetup\traits\app\helpers\assertionsTrait;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\Helpers\formLayoutTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\Helpers\formLayoutTrait;
|
||||||
use ElixirAudit\Tests\DataSetup\traits\app\helpers\formValidationTrait;
|
use LoretaAudit\Tests\DataSetup\traits\app\helpers\formValidationTrait;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class pubUserRegistrationTest extends BasePhpUnitSeleniumCase
|
class pubUserRegistrationTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\Helpers\commonTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\Helpers\commonTrait;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class pubUserTwoFactorAuthActionTest extends BasePhpUnitSeleniumCase
|
class pubUserTwoFactorAuthActionTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests;
|
namespace LoretaAudit\Tests\SeleniumTests;
|
||||||
|
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||||
|
|
||||||
class BaseLoginTest extends BasePhpUnitSeleniumCase
|
class BaseLoginTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\Sys\SysSiteMap;
|
namespace LoretaAudit\Tests\SeleniumTests\Sys\SysSiteMap;
|
||||||
|
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class sysSiteMapRoutesTest extends BasePhpUnitSeleniumCase
|
class sysSiteMapRoutesTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\SeleniumTests\Sys\SysUsersLogin;
|
namespace LoretaAudit\Tests\SeleniumTests\Sys\SysUsersLogin;
|
||||||
|
|
||||||
// use BRSystems\Core\Library\CGoogle2FA\cGoogle2FABase;
|
// use BRSystems\Core\Library\CGoogle2FA\cGoogle2FABase;
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Facebook\WebDriver\WebDriverBy;
|
use Facebook\WebDriver\WebDriverBy;
|
||||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class sysUserLoginTest extends BasePhpUnitSeleniumCase
|
class sysUserLoginTest extends BasePhpUnitSeleniumCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||||
|
|
||||||
use BRSystems\Core\App\index\index;
|
use BRSystems\Core\App\index\index;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||||
|
|
||||||
class indexBase extends BasePhpUnitCase
|
class indexBase extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||||
|
|
||||||
class indexModuleTest extends indexBase
|
class indexModuleTest extends indexBase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cDefuseCrypto\cDefuseCrypto;
|
use BRSystems\Core\Library\cDefuseCrypto\cDefuseCrypto;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||||
|
|
||||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||||
|
|
||||||
class UserProfileActionTest extends BasePhpUnitCase
|
class UserProfileActionTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class pubUserManagerBaseTest extends BasePhpUnitCase
|
class pubUserManagerBaseTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||||
|
|
||||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||||
use BRSystems\Core\App\pubUserManager\inc\pubUserManagerModule;
|
use BRSystems\Core\App\pubUserManager\inc\pubUserManagerModule;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class pubUserManagerModuleTest extends BasePhpUnitCase
|
class pubUserManagerModuleTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cCore\cCore;
|
use BRSystems\Core\Library\cCore\cCore;
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class securityEnforcement2faTrapActionTest extends BasePhpUnitCase
|
class securityEnforcement2faTrapActionTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,227 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
|
use BRSystems\Core\App\pubSysDashboard\pubSysDashboard;
|
||||||
|
use BRSystems\Core\App\pubUsers\inc\pubUsersCfg;
|
||||||
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
|
class UserAdvCfgTest extends BasePhpUnitCase
|
||||||
|
{
|
||||||
|
private pubSysDashboard $pubSysDashboard;
|
||||||
|
|
||||||
|
protected function setUp(): void
|
||||||
|
{
|
||||||
|
// Init base structure
|
||||||
|
$this->unitTestsAreRunning = true;
|
||||||
|
$this->resetGetAndPost();
|
||||||
|
parent::setUp();
|
||||||
|
|
||||||
|
// Create new class
|
||||||
|
$this->pubSysDashboard = $this->initBaseClassObjectBySiteMapId(SiteMap::SYSTEM_DASHBOARD);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function tearDown(): void
|
||||||
|
{
|
||||||
|
$this->reloadDbTables(['mod_users', 'mod_account_manager']);
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testGetUserAdvCfgTest(): void
|
||||||
|
{
|
||||||
|
// Get partners settings
|
||||||
|
$data = $this->pubSysDashboard->controller->oUser->getUserAdvCfgData(
|
||||||
|
pubUsersCfg::ADV_KEY_TBL,
|
||||||
|
'pubPartners',
|
||||||
|
pubUsersCfg::ADV_PROP_SORT
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'sortWay' => 0,
|
||||||
|
'sortBy' => 'a_title'
|
||||||
|
],
|
||||||
|
$data
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testSaveUserAdvCfgTest(): void
|
||||||
|
{
|
||||||
|
$saveData = [
|
||||||
|
'sortWay' => 0,
|
||||||
|
'sortBy' => 'a_ap_nr_custom_column'
|
||||||
|
];
|
||||||
|
|
||||||
|
$this->pubSysDashboard->controller->oUser->updateUserAdvCfgData(
|
||||||
|
pubUsersCfg::ADV_KEY_TBL,
|
||||||
|
'pubPartners',
|
||||||
|
pubUsersCfg::ADV_PROP_SORT,
|
||||||
|
$saveData
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
$this->pubSysDashboard->controller->oUser->getUserAdvCfgData(
|
||||||
|
pubUsersCfg::ADV_KEY_TBL,
|
||||||
|
'pubPartners',
|
||||||
|
pubUsersCfg::ADV_PROP_SORT
|
||||||
|
),
|
||||||
|
$saveData
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testInitBaseAdvCfg(): void
|
||||||
|
{
|
||||||
|
$loginData = $this->getLoginCredentialsByType(siteUsers::loginAppSelfEmployed);
|
||||||
|
|
||||||
|
// Delete user cfg
|
||||||
|
$this->cDb->_queryUpdate('mod_users', ['user_cfg' => ''], ['id' => $loginData['id']]);
|
||||||
|
|
||||||
|
// Test to load default values from empty user cfg
|
||||||
|
$userConfig = new pubUsersCfg($this->pubSysDashboard, $loginData['id']);
|
||||||
|
|
||||||
|
$wholeBaseCfg = $userConfig->getBaseCFG();
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'bFullScreen' => 1,
|
||||||
|
'bUseDarkMode' => 0,
|
||||||
|
/*'logoAnimation' => 1,
|
||||||
|
'logoSmall' => 0,*/
|
||||||
|
'bShowBtnLabels' => 1,
|
||||||
|
],
|
||||||
|
$wholeBaseCfg[pubUsersCfg::bools]
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'iRecordsPerPage' => 20,
|
||||||
|
'iActiveYear' => [],
|
||||||
|
'vFavoriteCompanyList' => [],
|
||||||
|
],
|
||||||
|
$userConfig->getBaseCFG(pubUsersCfg::values)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testGetAndSetProperty(): void
|
||||||
|
{
|
||||||
|
$loginData = $this->getLoginCredentialsByType(siteUsers::loginAppSelfEmployed);
|
||||||
|
|
||||||
|
// Delete user cfg
|
||||||
|
$this->cDb->_queryUpdate('mod_users', ['user_cfg' => ''], ['id' => $loginData['id']]);
|
||||||
|
|
||||||
|
// Test to load default values from empty user cfg
|
||||||
|
$userConfig = new pubUsersCfg($this->pubSysDashboard, $loginData['id']);
|
||||||
|
|
||||||
|
$this->assertFalse(
|
||||||
|
$userConfig->getProperty('None_existing_property')
|
||||||
|
);
|
||||||
|
|
||||||
|
$userConfig->addProperties('bUseDarkMode', '2025-YEAR');
|
||||||
|
$this->assertEquals(
|
||||||
|
'2025-YEAR',
|
||||||
|
$userConfig->getProperty('bUseDarkMode')
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test table properties
|
||||||
|
$this->assertFalse(
|
||||||
|
$userConfig->getTableProperty('None_existing_property')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[],
|
||||||
|
$userConfig->getTableProperty('pubPartners')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setPost(['table' => 1]);
|
||||||
|
$userConfig->addProperties('pubPartners', ['a' => 1]);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
['a' => 1],
|
||||||
|
$userConfig->getTableProperty('pubPartners')
|
||||||
|
);
|
||||||
|
|
||||||
|
// Array save
|
||||||
|
$userConfig->addProperties(
|
||||||
|
[
|
||||||
|
'pubPartners' => ['aa' => 1, 'a' => 2],
|
||||||
|
'pubUserManager' => ['bb' => 1]
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
['aa' => 1, 'a' => 2],
|
||||||
|
$userConfig->getTableProperty('pubPartners')
|
||||||
|
);
|
||||||
|
$this->assertEquals(
|
||||||
|
['bb' => 1],
|
||||||
|
$userConfig->getTableProperty('pubUserManager')
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testAddPropertiesAdvanced(): void
|
||||||
|
{
|
||||||
|
$loginData = $this->getLoginCredentialsByType(siteUsers::loginAppSelfEmployed);
|
||||||
|
|
||||||
|
// Delete user cfg
|
||||||
|
$this->cDb->_queryUpdate('mod_users', ['user_cfg' => ''], ['id' => $loginData['id']]);
|
||||||
|
|
||||||
|
// Test to load default values from empty user cfg
|
||||||
|
$userConfig = new pubUsersCfg($this->pubSysDashboard, $loginData['id']);
|
||||||
|
|
||||||
|
// Test plugins
|
||||||
|
$this->assertEquals(
|
||||||
|
[],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::plugins)
|
||||||
|
);
|
||||||
|
$userConfig->addPropertiesAdvanced(['nonexisting_plugin' => 1], pubUsersCfg::plugins);
|
||||||
|
$this->assertEquals(
|
||||||
|
[],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::plugins)
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test values
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'iRecordsPerPage' => 20,
|
||||||
|
'iActiveYear' => [],
|
||||||
|
pubUsersCfg::BaseValuesFavoriteCompanyList => [],
|
||||||
|
],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::values)
|
||||||
|
);
|
||||||
|
$userConfig->addPropertiesAdvanced(
|
||||||
|
['iRecordsPerPage' => 10, 'iActiveYear' => [1,2,3]],
|
||||||
|
pubUsersCfg::values
|
||||||
|
);
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'iRecordsPerPage' => 10,
|
||||||
|
'iActiveYear' => [1,2,3],
|
||||||
|
pubUsersCfg::BaseValuesFavoriteCompanyList => [],
|
||||||
|
],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::values)
|
||||||
|
);
|
||||||
|
|
||||||
|
// Test advanced value setup
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'vDashboardCFG' => [],
|
||||||
|
'vAdditionalTableData' => [],
|
||||||
|
],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::values_adv)
|
||||||
|
);
|
||||||
|
$userConfig->addPropertiesAdvanced(
|
||||||
|
['vDashboardCFG' => [10], 'vAdditionalTableData' => [1,2,3]],
|
||||||
|
pubUsersCfg::values_adv
|
||||||
|
);
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'vDashboardCFG' => [10],
|
||||||
|
'vAdditionalTableData' => [1,2,3],
|
||||||
|
],
|
||||||
|
$userConfig->getUserCFG(pubUsersCfg::values_adv)
|
||||||
|
);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Cms\cmsAccountActivation\inc\cmsAccountActivationController;
|
use BRSystems\Core\Cms\cmsAccountActivation\inc\cmsAccountActivationController;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class accountActivationTest extends BasePhpUnitCase
|
class accountActivationTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,126 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;;
|
||||||
|
|
||||||
|
use Exception;
|
||||||
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
|
|
||||||
|
class companySelectionActionRequestTest extends BasePhpUnitCase
|
||||||
|
{
|
||||||
|
private pubUsers $users;
|
||||||
|
|
||||||
|
protected function setUp(): void
|
||||||
|
{
|
||||||
|
// Init base structure
|
||||||
|
$this->unitTestsAreRunning = true;
|
||||||
|
$this->resetGetAndPost();
|
||||||
|
parent::setUp();
|
||||||
|
|
||||||
|
// Create new class
|
||||||
|
$this->users = $this->initBaseClassObjectBySiteMapId(SiteMap::PUB_SEL_COMPANY);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function tearDown(): void
|
||||||
|
{
|
||||||
|
$this->logOutUnitTestUser();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testCompanySelectionDefaultActionLoginRequirement(): void
|
||||||
|
{
|
||||||
|
$this->testModuleLoginRequirement(SiteMap::PUB_SEL_COMPANY);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testCompanySelectionDefaultAction(): void
|
||||||
|
{
|
||||||
|
// Default form generation
|
||||||
|
ob_start();
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$pageHTML = ob_get_contents();
|
||||||
|
ob_end_clean();
|
||||||
|
|
||||||
|
$this->assertExpected(
|
||||||
|
[
|
||||||
|
'<title>Zutenis | Uzņēmuma izvēle</title>',
|
||||||
|
'Izvēlieties uzņēmumu / darbības veidu',
|
||||||
|
'<i>Mareks Keišs pašn.</i>'
|
||||||
|
],
|
||||||
|
$pageHTML
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testCompanySelectionSetActiveCompanyAction(): void
|
||||||
|
{
|
||||||
|
// Error case - Default with none existing action
|
||||||
|
$this->setGet(['action' => 'setCp', 'id' => 't3Aj']);
|
||||||
|
$this->users->controller->suser->URLS2COMPANY = ['t3Aj' => 1];
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
['Redirected to Location:'],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Default with none existing action
|
||||||
|
$this->setGet(['action' => 'setCp', 'id' => 't3Aj']);
|
||||||
|
$this->users->controller->suser->URLS2COMPANY = ['t3Aj' => 23];
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
['Redirected to Location: /gramatvedibas-sistema/sistemas-informacijas-panelis'],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testCompanySelectionUpdateFavoriteAction(): void
|
||||||
|
{
|
||||||
|
// Default with none existing action
|
||||||
|
$this->setPost(['action' => 'updateFavorite', 'id' => 't3Aj', 'status' => 1]);
|
||||||
|
|
||||||
|
// Error case - Default with none existing action
|
||||||
|
try {
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
['{"error":true}'],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Correct case
|
||||||
|
$this->users->controller->suser->URLS2COMPANY = ['t3Aj' => 23];
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
['{"jsonok":true}'],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->setPost(['action' => 'updateFavorite', 'id' => 't3Aj', 'status' => 0]);
|
||||||
|
|
||||||
|
try {
|
||||||
|
$this->users->companySelectionAction();
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
['{"jsonok":true}'],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,79 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
|
use BRSystems\Core\App\pubSysDashboard\pubSysDashboard;
|
||||||
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
|
|
||||||
|
class companySettingsTest extends BasePhpUnitCase
|
||||||
|
{
|
||||||
|
private pubSysDashboard $pubSysDashboard;
|
||||||
|
|
||||||
|
protected function setUp(): void
|
||||||
|
{
|
||||||
|
// Init base structure
|
||||||
|
$this->unitTestsAreRunning = true;
|
||||||
|
parent::setUp();
|
||||||
|
$this->resetGetAndPost();
|
||||||
|
$this->clearDbState();
|
||||||
|
|
||||||
|
// Create new class
|
||||||
|
$this->pubSysDashboard = $this->initBaseClassObjectBySiteMapId(SiteMap::SYSTEM_DASHBOARD);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function tearDown(): void
|
||||||
|
{
|
||||||
|
$this->clearDbState();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function clearDbState(): void
|
||||||
|
{
|
||||||
|
$this->reloadDbTables(['mod_users', 'mod_account_manager']);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testGetCompanySettings(): void
|
||||||
|
{
|
||||||
|
$data = $this->pubSysDashboard->controller->oUser->getCpCFG();
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'nr' => 1,
|
||||||
|
'title' => 1,
|
||||||
|
'unit' => 1,
|
||||||
|
'count' => 1,
|
||||||
|
'sum' => 1,
|
||||||
|
'price' => 1,
|
||||||
|
'vat' => 1,
|
||||||
|
],
|
||||||
|
$data['outgoingDocTableSettings']
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testSaveCompanySettings(): void
|
||||||
|
{
|
||||||
|
$saveData = [
|
||||||
|
'nr' => 1,
|
||||||
|
'title' => 2
|
||||||
|
];
|
||||||
|
|
||||||
|
$this->pubSysDashboard->controller->oUser->saveCpCFG(
|
||||||
|
['outgoingDocTableSettings' => $saveData]
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
$this->pubSysDashboard->controller->oUser->getCpCFG('outgoingDocTableSettings'),
|
||||||
|
$saveData
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->pubSysDashboard->controller->oUser->saveCpCFG(
|
||||||
|
['outgoingDocLayout' => 0]
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
$this->pubSysDashboard->controller->oUser->getCpCFG('outgoingDocLayout'),
|
||||||
|
0
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cPasswordMaster\cPasswordMaster;
|
use BRSystems\Core\Library\cPasswordMaster\cPasswordMaster;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class loginActionRequestTest extends BasePhpUnitCase
|
class loginActionRequestTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class passwordForceChangeActionTest extends BasePhpUnitCase
|
class passwordForceChangeActionTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use DOMDocument;
|
use DOMDocument;
|
||||||
use DOMXPath;
|
use DOMXPath;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
use ElixirAudit\Tests\SeleniumTests\App\PubUsers\pubUserPwdResetTest;
|
use LoretaAudit\Tests\SeleniumTests\App\PubUsers\pubUserPwdResetTest;
|
||||||
|
|
||||||
class passwordRecoveryActionTest extends BasePhpUnitCase
|
class passwordRecoveryActionTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Cms\cmsAccountManager\inc\cmsAccountManagerController;
|
use BRSystems\Core\Cms\cmsAccountManager\inc\cmsAccountManagerController;
|
||||||
use Exception;
|
use Exception;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
|
|
||||||
class pubUsersControllerTest extends BasePhpUnitCase
|
class pubUsersControllerTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use BRSystems\Core\App\pubUsers\inc\pubUsersModule;
|
use BRSystems\Core\App\pubUsers\inc\pubUsersModule;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
|
|
||||||
class pubUsersModuleTest extends BasePhpUnitCase
|
class pubUsersModuleTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
use BRSystems\Core\Library\cSession\cSession;
|
use BRSystems\Core\Library\cSession\cSession;
|
||||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||||
use Exception;
|
use Exception;
|
||||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
class twoFactorAuthActionTest extends BasePhpUnitCase
|
class twoFactorAuthActionTest extends BasePhpUnitCase
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,101 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||||
|
|
||||||
|
use BRSystems\Core\App\pubSysDashboard\pubSysDashboard;
|
||||||
|
use Exception;
|
||||||
|
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||||
|
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||||
|
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||||
|
|
||||||
|
class userAdditionalCompanyRegistrationTest extends BasePhpUnitCase
|
||||||
|
{
|
||||||
|
private ?pubSysDashboard $pubSysDashboard;
|
||||||
|
|
||||||
|
protected function setUp(): void
|
||||||
|
{
|
||||||
|
// Init base structure
|
||||||
|
$this->unitTestsAreRunning = true;
|
||||||
|
$this->resetGetAndPost();
|
||||||
|
parent::setUp();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function tearDown(): void
|
||||||
|
{
|
||||||
|
$this->reloadDbTables(['mod_users']);
|
||||||
|
$this->logOutUnitTestUser();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testUserAdditionalCompanyRegistrationDataRequest(): void
|
||||||
|
{
|
||||||
|
// Create new class
|
||||||
|
$this->pubSysDashboard = $this->initBaseClassObjectBySiteMapId(SiteMap::SYSTEM_DASHBOARD);
|
||||||
|
|
||||||
|
// Get partners settings
|
||||||
|
$data = $this->pubSysDashboard->controller->oUser->sendActiveUserDataForAdditionalCompanyRegistration(
|
||||||
|
$this->pubSysDashboard->controller
|
||||||
|
);
|
||||||
|
|
||||||
|
unset($data['uid']);
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'login' => 'testmareks',
|
||||||
|
'name' => 'Mareks',
|
||||||
|
'surname' => 'Keišs',
|
||||||
|
'email' => 'keiss.mareks@gmail.com',
|
||||||
|
'phone' => '28639957'
|
||||||
|
],
|
||||||
|
$data
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function testUserAdditionalCompanyRegistrationDataRequestErrors(): void
|
||||||
|
{
|
||||||
|
// Delete user 2FA access
|
||||||
|
$loginData = $this->getLoginCredentialsByType(siteUsers::loginAppSelfEmployed);
|
||||||
|
$this->cDb->_queryUpdate('mod_users', ['user_2fa_secret_enabled' => ''], ['id' => $loginData['id']]);
|
||||||
|
|
||||||
|
// Create new class / empty class - since it's dying on 2FA entrapment
|
||||||
|
$this->pubSysDashboard = $this->initBaseClassObjectBySiteMapId(
|
||||||
|
SiteMap::SYSTEM_DASHBOARD,
|
||||||
|
siteUsers::loginAppSelfEmployed,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
|
||||||
|
// Create user class
|
||||||
|
$pubUser = new pubUsers(getFirstMatchByMapId(SiteMap::PUB_LOGIN));
|
||||||
|
|
||||||
|
// Get partners settings
|
||||||
|
$data = $pubUser->controller->sendActiveUserDataForAdditionalRegistration(
|
||||||
|
$this->pubSysDashboard->controller
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->assertEquals(
|
||||||
|
[
|
||||||
|
'error' => 1,
|
||||||
|
'msg' => 'Lai turpinātu, lietotāja kontam ir jāaktivizē 2FA. <br/>Lūdzu ienāciet sistēmā ar lietotāju un aktivizējiet 2FA.',
|
||||||
|
],
|
||||||
|
$data
|
||||||
|
);
|
||||||
|
|
||||||
|
// Get partners settings
|
||||||
|
$pubUser->controller->is_post = true;
|
||||||
|
try {
|
||||||
|
$data = $pubUser->controller->sendActiveUserDataForAdditionalRegistration(
|
||||||
|
$this->pubSysDashboard->controller
|
||||||
|
);
|
||||||
|
$this->fail('Exception Expected!');
|
||||||
|
} catch (Exception $error) {
|
||||||
|
$this->assertExpected(
|
||||||
|
[
|
||||||
|
'"error":true',
|
||||||
|
'Lai turpin\u0101tu, lietot\u0101ja kontam ir j\u0101aktiviz\u0113 2FA.',
|
||||||
|
'L\u016bdzu ien\u0101ciet sist\u0113m\u0101 ar lietot\u0101ju un aktiviz\u0113jiet 2FA.',
|
||||||
|
],
|
||||||
|
$error->getMessage()
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -156,7 +156,7 @@ switch ($action) {
|
||||||
|
|
||||||
|
|
||||||
switch (getV('img')) {
|
switch (getV('img')) {
|
||||||
case cMail::MAIL_SERVER_DEFAULT:
|
case cMail::MAIL_SERVER_LORETA_LV:
|
||||||
header('Content-Type: image/png');
|
header('Content-Type: image/png');
|
||||||
echo file_get_contents(__IMG__ . "pub/mails/sys_logo4.png");
|
echo file_get_contents(__IMG__ . "pub/mails/sys_logo4.png");
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@ ini_set('memory_limit', '1024M');
|
||||||
|
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
// Parse URL for extracting params kpsadmin12!@ - CC
|
// Parse URL for extracting params kpsadmin12!@ - CC
|
||||||
// URL: http://www.elixirvault.lv/cron/ctp:ELIXIRVAULT-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
// URL: http://www.loretasecret.lv/cron/ctp:LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
||||||
// MAIL SEND INIT: screen -A -m -d -S elixirvault_mailer curl "http://local.elixirvault.lv/cron/ctp:ELIXIRVAULT-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:send/id:1"
|
// MAIL SEND INIT: screen -A -m -d -S loreta_mailer curl "http://local.elixirvault.lv/cron/ctp:LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:send/id:1"
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
$cms = false;
|
$cms = false;
|
||||||
$url = new cUrl();
|
$url = new cUrl();
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>http://local.elixirvault.lv/sitemap_lv.xml</loc>
|
<loc>http://local.lorettasecret.lv/sitemap_lv.xml</loc>
|
||||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||||
</sitemap>
|
</sitemap>
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>http://local.elixirvault.lv/sitemap_en.xml</loc>
|
<loc>http://local.lorettasecret.lv/sitemap_en.xml</loc>
|
||||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||||
</sitemap>
|
</sitemap>
|
||||||
<sitemap>
|
<sitemap>
|
||||||
<loc>http://local.elixirvault.lv/sitemap_ru.xml</loc>
|
<loc>http://local.lorettasecret.lv/sitemap_ru.xml</loc>
|
||||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||||
</sitemap>
|
</sitemap>
|
||||||
</sitemapindex>
|
</sitemapindex>
|
||||||
|
|
@ -1,84 +1,84 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||||
<loc>http://local.elixirvault.lv/en</loc>
|
<loc>http://local.lorettasecret.lv/en</loc>
|
||||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/disclaimer/en</loc>
|
<loc>http://local.loretasecret.lv/disclaimer/en</loc>
|
||||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/copyrights/en</loc>
|
<loc>http://local.loretasecret.lv/copyrights/en</loc>
|
||||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/accounting-system-login/en</loc>
|
<loc>http://local.loretasecret.lv/accounting-system-login/en</loc>
|
||||||
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/password-recovery/en</loc>
|
<loc>http://local.loretasecret.lv/password-recovery/en</loc>
|
||||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/cookies/en</loc>
|
<loc>http://local.loretasecret.lv/cookies/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/faq/en</loc>
|
<loc>http://local.loretasecret.lv/faq/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/about-us/en</loc>
|
<loc>http://local.loretasecret.lv/about-us/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/contact-us/en</loc>
|
<loc>http://local.loretasecret.lv/contact-us/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/subscribe/en</loc>
|
<loc>http://local.loretasecret.lv/subscribe/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/unsubscribe/en</loc>
|
<loc>http://local.loretasecret.lv/unsubscribe/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/access-error/en</loc>
|
<loc>http://local.loretasecret.lv/access-error/en</loc>
|
||||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/registration/en</loc>
|
<loc>http://local.loretasecret.lv/registration/en</loc>
|
||||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/terms-of-use/en</loc>
|
<loc>http://local.loretasecret.lv/terms-of-use/en</loc>
|
||||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
|
|
|
||||||
|
|
@ -1,78 +1,78 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||||
<loc>http://local.elixirvault.lv/</loc>
|
<loc>http://local.lorettasecret.lv/</loc>
|
||||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/atruna</loc>
|
<loc>http://local.loretasecret.lv/atruna</loc>
|
||||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/autortiesibas</loc>
|
<loc>http://local.loretasecret.lv/autortiesibas</loc>
|
||||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/paroles-atgusana</loc>
|
<loc>http://local.loretasecret.lv/paroles-atgusana</loc>
|
||||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/piekluves-kluda</loc>
|
<loc>http://local.loretasecret.lv/piekluves-kluda</loc>
|
||||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/pierakstities</loc>
|
<loc>http://local.loretasecret.lv/pierakstities</loc>
|
||||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/atrakstities</loc>
|
<loc>http://local.loretasecret.lv/atrakstities</loc>
|
||||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/sazinies-ar-mums</loc>
|
<loc>http://local.loretasecret.lv/sazinies-ar-mums</loc>
|
||||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/par-mums</loc>
|
<loc>http://local.loretasecret.lv/par-mums</loc>
|
||||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/sikdatnes</loc>
|
<loc>http://local.loretasecret.lv/sikdatnes</loc>
|
||||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/buj</loc>
|
<loc>http://local.loretasecret.lv/buj</loc>
|
||||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/registracija</loc>
|
<loc>http://local.loretasecret.lv/registracija</loc>
|
||||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/lietosanas-noteikumi</loc>
|
<loc>http://local.loretasecret.lv/lietosanas-noteikumi</loc>
|
||||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
|
|
|
||||||
|
|
@ -1,90 +1,90 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||||
<loc>http://local.elixirvault.lv/ru</loc>
|
<loc>http://local.lorettasecret.lv/ru</loc>
|
||||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/o-nas/ru</loc>
|
<loc>http://local.loretasecret.lv/o-nas/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/svyazatsya-s-nami/ru</loc>
|
<loc>http://local.loretasecret.lv/svyazatsya-s-nami/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/czv/ru</loc>
|
<loc>http://local.loretasecret.lv/czv/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/voyti-v-sistemu-ucheta/ru</loc>
|
<loc>http://local.loretasecret.lv/voyti-v-sistemu-ucheta/ru</loc>
|
||||||
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/podpisyvatsya/ru</loc>
|
<loc>http://local.loretasecret.lv/podpisyvatsya/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/otpisyvatsya/ru</loc>
|
<loc>http://local.loretasecret.lv/otpisyvatsya/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/oshibka-dostupa/ru</loc>
|
<loc>http://local.loretasecret.lv/oshibka-dostupa/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/pechenye/ru</loc>
|
<loc>http://local.loretasecret.lv/pechenye/ru</loc>
|
||||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/sistema-ucheta/ru</loc>
|
<loc>http://local.loretasecret.lv/sistema-ucheta/ru</loc>
|
||||||
<lastmod>2020-04-29T10:12:59+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:59+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/vosstanovleniye-parolya/ru</loc>
|
<loc>http://local.loretasecret.lv/vosstanovleniye-parolya/ru</loc>
|
||||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/avtorskiye-prava/ru</loc>
|
<loc>http://local.loretasecret.lv/avtorskiye-prava/ru</loc>
|
||||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/ogovorki/ru</loc>
|
<loc>http://local.loretasecret.lv/ogovorki/ru</loc>
|
||||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/registratsiya/ru</loc>
|
<loc>http://local.loretasecret.lv/registratsiya/ru</loc>
|
||||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>http://local.elixirvault.lv/usloviya-ekspluatatsii/ru</loc>
|
<loc>http://local.loretasecret.lv/usloviya-ekspluatatsii/ru</loc>
|
||||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||||
<changefreq>weekly</changefreq>
|
<changefreq>weekly</changefreq>
|
||||||
<priority>1</priority>
|
<priority>1</priority>
|
||||||
|
|
|
||||||
|
|
@ -1342,7 +1342,7 @@ class pubBuyController extends cCore
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
$qData['email'],
|
$qData['email'],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
0, //cMail::MAIL_7_AUCTION_PROD,
|
0, //cMail::MAIL_7_AUCTION_PROD,
|
||||||
$this->langId,
|
$this->langId,
|
||||||
[
|
[
|
||||||
|
|
@ -2605,7 +2605,7 @@ class pubBuyController extends cCore
|
||||||
$mId = $mm->addMail(
|
$mId = $mm->addMail(
|
||||||
$order['customer_info']['checkout_email'],
|
$order['customer_info']['checkout_email'],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_1_ORDER_CONFIRMATION,
|
cMail::MAIL_1_ORDER_CONFIRMATION,
|
||||||
$this->langId,
|
$this->langId,
|
||||||
$mailData,
|
$mailData,
|
||||||
|
|
@ -2617,7 +2617,7 @@ class pubBuyController extends cCore
|
||||||
$this->module->updOrderById($this->cart->orderId, ['o_mid' => $mId]);
|
$this->module->updOrderById($this->cart->orderId, ['o_mid' => $mId]);
|
||||||
|
|
||||||
// Send mail to info
|
// Send mail to info
|
||||||
$mm->addMail(cMail::SENDER, cMail::CC_SHOP_OWNER, cMail::MAIL_SERVER_DEFAULT, cMail::MAIL_1_ORDER_CONFIRMATION, $this->langId, $mailData, '', false);
|
$mm->addMail(cMail::SENDER, cMail::CC_SHOP_OWNER, cMail::MAIL_SERVER_LORETA_LV, cMail::MAIL_1_ORDER_CONFIRMATION, $this->langId, $mailData, '', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -2878,7 +2878,7 @@ class pubBuyController extends cCore
|
||||||
'value' => $order['order_sum'],
|
'value' => $order['order_sum'],
|
||||||
'currency' => 'LVL',
|
'currency' => 'LVL',
|
||||||
|
|
||||||
'productName' => 'PIRKUMS ELIXIRVAULT.lv/' . trim($prod['prod_sname']),
|
'productName' => 'PIRKUMS LORETASECRET.lv/' . trim($prod['prod_sname']),
|
||||||
'productUrl' => $prod['prod_full_url'],
|
'productUrl' => $prod['prod_full_url'],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1013,7 +1013,7 @@ class pubUsersController extends cCore
|
||||||
(new cMail())->addMail(
|
(new cMail())->addMail(
|
||||||
$user['user_email'],
|
$user['user_email'],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_2_PASSWORD_RECOVERY,
|
cMail::MAIL_2_PASSWORD_RECOVERY,
|
||||||
(!empty($user['user_lang_id']) ? (int)$user['user_lang_id'] : $this->langId),
|
(!empty($user['user_lang_id']) ? (int)$user['user_lang_id'] : $this->langId),
|
||||||
array(
|
array(
|
||||||
|
|
@ -1251,7 +1251,7 @@ class pubUsersController extends cCore
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
$email,
|
$email,
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_1_ACCOUNT_ACTIVATION,
|
cMail::MAIL_1_ACCOUNT_ACTIVATION,
|
||||||
$langId,
|
$langId,
|
||||||
[
|
[
|
||||||
|
|
|
||||||
|
|
@ -564,13 +564,13 @@ class cmsMailEngineController extends cCore
|
||||||
|
|
||||||
// Upon new e-mail insert
|
// Upon new e-mail insert
|
||||||
if(!$recordId){
|
if(!$recordId){
|
||||||
$update['mail_sender'] = cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::SENDER];
|
$update['mail_sender'] = cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::SENDER];
|
||||||
$update['mail_inserted'] = time();
|
$update['mail_inserted'] = time();
|
||||||
$update['mail_priority'] = 1;
|
$update['mail_priority'] = 1;
|
||||||
$update['mail_send_atempt'] = 0;
|
$update['mail_send_atempt'] = 0;
|
||||||
$update['mail_disabled'] = 1;
|
$update['mail_disabled'] = 1;
|
||||||
$update['mail_locked'] = 0;
|
$update['mail_locked'] = 0;
|
||||||
$update['mail_server_type'] = cMail::MAIL_SERVER_DEFAULT;
|
$update['mail_server_type'] = cMail::MAIL_SERVER_LORETA_LV;
|
||||||
$update['mail_lang_id'] = @$dlang['id'];
|
$update['mail_lang_id'] = @$dlang['id'];
|
||||||
$update['mail_template_id'] = self::CUSTOM_TYPE_MAIL;
|
$update['mail_template_id'] = self::CUSTOM_TYPE_MAIL;
|
||||||
}
|
}
|
||||||
|
|
@ -623,7 +623,7 @@ class cmsMailEngineController extends cCore
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
$mail,
|
$mail,
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
||||||
$iDefLangKey,
|
$iDefLangKey,
|
||||||
array(
|
array(
|
||||||
|
|
@ -665,7 +665,7 @@ class cmsMailEngineController extends cCore
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
$v['user_email'],
|
$v['user_email'],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
||||||
(!empty($v['user_lang_id']) ? $v['user_lang_id'] : $iDefLangKey),
|
(!empty($v['user_lang_id']) ? $v['user_lang_id'] : $iDefLangKey),
|
||||||
array(
|
array(
|
||||||
|
|
@ -1152,7 +1152,7 @@ class cmsMailEngineController extends cCore
|
||||||
$sLoadedImg = "http://{$sHost}/img/pub/default_logo.jpg";
|
$sLoadedImg = "http://{$sHost}/img/pub/default_logo.jpg";
|
||||||
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:x/m{$data['id']}.png";
|
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:x/m{$data['id']}.png";
|
||||||
switch($data['mail_server_type']){
|
switch($data['mail_server_type']){
|
||||||
case cMail::MAIL_SERVER_DEFAULT:
|
case cMail::MAIL_SERVER_LORETA_LV:
|
||||||
$sLoadedImg = "http://{$sHost}/img/pub/mails/sys_logo4.png";
|
$sLoadedImg = "http://{$sHost}/img/pub/mails/sys_logo4.png";
|
||||||
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:{$data['mail_server_type']}/m{$data['id']}.png";
|
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:{$data['mail_server_type']}/m{$data['id']}.png";
|
||||||
break;
|
break;
|
||||||
|
|
@ -1327,9 +1327,9 @@ class cmsMailEngineController extends cCore
|
||||||
$langId = getDefaultAppLang();
|
$langId = getDefaultAppLang();
|
||||||
|
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::SENDER],
|
cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::SENDER],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_1_DAILY_REPORT,
|
cMail::MAIL_1_DAILY_REPORT,
|
||||||
$langId,
|
$langId,
|
||||||
array(
|
array(
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,8 @@ Bug Tracking System - daily report
|
||||||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||||
</div>
|
</div>
|
||||||
Need help?<br/>
|
Need help?<br/>
|
||||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<p style="margin-bottom: 20px;">
|
<p style="margin-bottom: 20px;">
|
||||||
Informative: +371 2...<br/>
|
Informative: +371 2...<br/>
|
||||||
|
|
|
||||||
|
|
@ -66,14 +66,14 @@ Online Privacy Policy
|
||||||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||||
</div>
|
</div>
|
||||||
Nepieciešama palīdzība?<br/>
|
Nepieciešama palīdzība?<br/>
|
||||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<p style="margin-bottom: 20px;">
|
<p style="margin-bottom: 20px;">
|
||||||
Informatīvais: +371 26475683<br/>
|
Informatīvais: +371 26475683<br/>
|
||||||
Tehn. atbalsts: +371 28639957<br/>
|
Tehn. atbalsts: +371 28639957<br/>
|
||||||
</p>
|
</p>
|
||||||
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">Jūs saņēmāt šo e-pastu, jo šī e-pasta adrese ir reģistrēta www.{{ BRAND_DOMAIN }}</p>
|
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">Jūs saņēmāt šo e-pastu, jo šī e-pasta adrese ir reģistrēta www.elixirvault.lv</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -127,14 +127,14 @@ Online Privacy Policy
|
||||||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||||
</div>
|
</div>
|
||||||
Need help?<br/>
|
Need help?<br/>
|
||||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||||
<br/>
|
<br/>
|
||||||
<p style="margin-bottom: 20px;">
|
<p style="margin-bottom: 20px;">
|
||||||
Informative: +371 2...<br/>
|
Informative: +371 2...<br/>
|
||||||
Tech. support: +371 2...<br/>
|
Tech. support: +371 2...<br/>
|
||||||
</p>
|
</p>
|
||||||
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">You received this e-mail because this email address has been registered on www.{{ BRAND_DOMAIN }}</p>
|
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">You received this e-mail because this email address has been registered on www.elixirvault.lv</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<div class="mail-b" style="font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 11pt; color: rgb(36, 36, 36);">
|
<div class="mail-b" style="font-family: 'Open Sans', sans-serif; font-weight: 300; font-size: 11pt; color: rgb(36, 36, 36);">
|
||||||
<div class="cc" style="max-width: 800px;background: white url('http://local.elixirvault.lv/img/pub/mails/bg.jpg') no-repeat top center / 800px auto; margin: 50px auto; min-height: 600px; box-sizing: border-box; box-shadow: 0 2px 20px rgb(193, 193, 193);">
|
<div class="cc" style="max-width: 800px;background: white url('http://local.elixirvault.lv/img/pub/mails/bg.jpg') no-repeat top center / 800px auto; margin: 50px auto; min-height: 600px; box-sizing: border-box; box-shadow: 0 2px 20px rgb(193, 193, 193);">
|
||||||
<a href="https://{{ BRAND_DOMAIN }}" class="logo" style="background: url('http://{{ BRAND_LOCAL_DOMAIN }}/img/pub/svg/sys_logo2.svg') no-repeat 10px 0 / 100% auto;width: 200px;height: 101px;display: block;"></a><br/><br/>
|
<a href="https://www.elixirvault.lv" class="logo" style="background: url('http://local.elixirvault.lv/img/pub/svg/sys_logo2.svg') no-repeat 10px 0 / 100% auto;width: 200px;height: 101px;display: block;"></a><br/><br/>
|
||||||
<div style="padding: 20px;">
|
<div style="padding: 20px;">
|
||||||
<h1 style="font-weight: 400;font-size: 18pt;margin-bottom: 12px;">Labdien, [%FULL USER NAME%]!</h1><br/>
|
<h1 style="font-weight: 400;font-size: 18pt;margin-bottom: 12px;">Labdien, [%FULL USER NAME%]!</h1><br/>
|
||||||
|
|
||||||
|
|
@ -88,13 +88,13 @@
|
||||||
<img src="[%TRACKING_IMG%]" style="width: 100%;" />
|
<img src="[%TRACKING_IMG%]" style="width: 100%;" />
|
||||||
</div>
|
</div>
|
||||||
Nepieciešama palīdzība?<br/>
|
Nepieciešama palīdzība?<br/>
|
||||||
<a class="x" href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
<a class="x" href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||||
<a class="x" href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
<a class="x" href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||||
<br/>
|
<br/>
|
||||||
Informatívais +371 2...<br/>
|
Informatívais +371 2...<br/>
|
||||||
Tehn. atbalsts +371 2...<br/>
|
Tehn. atbalsts +371 2...<br/>
|
||||||
|
|
||||||
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">Jūs saņēmāt šo e-pastu, jo ar šo e-pasta adresi tika pieprasīta reģistrācija interneta vietnē www.{{ BRAND_DOMAIN }}</p>
|
<p style="color: rgb(179, 179, 179);font-size: 10pt;text-align: center;">Jūs saņēmāt šo e-pastu, jo ar šo e-pasta adresi tika pieprasīta reģistrācija interneta vietnē www.elixirvault.lv</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -949,7 +949,7 @@ class cmsOrdersController extends cCore
|
||||||
$mId = $mm->addMail(
|
$mId = $mm->addMail(
|
||||||
$vCustomerData['a_ben_email'],
|
$vCustomerData['a_ben_email'],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_17_ORDER_RECEIPT,
|
cMail::MAIL_17_ORDER_RECEIPT,
|
||||||
$this->langId,
|
$this->langId,
|
||||||
$mailData,
|
$mailData,
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@
|
||||||
[domain_cfg] ; Array based CFG
|
[domain_cfg] ; Array based CFG
|
||||||
|
|
||||||
[domain_cfg_json] ; JSON encoded config
|
[domain_cfg_json] ; JSON encoded config
|
||||||
local.elixirvault.lv = '{"DB_HOST":"elixirvault_mysql","DB_NAME":"elixir_vault_lv","DB_USR":"dAccGlobal","DB_PWD":"dAccGlobal12!@","APC_PREFIX":"elixir_local_"}'
|
local.elixirvault.lv = '{"DB_HOST":"elixirvault_mysql","DB_NAME":"elixir_vault_lv","DB_USR":"dAccGlobal","DB_PWD":"dAccGlobal12!@","APC_PREFIX":"loreta_local_"}'
|
||||||
local.app.elixirvault.lv = '{"DB_HOST":"localhost","DB_NAME":"elixir_vault_lv","DB_USR":"dAccGlobal","DB_PWD":"dAccGlobal12!@","APC_PREFIX":"elixir_local_"}'
|
local.app.elixirvault.lv = '{"DB_HOST":"localhost","DB_NAME":"elixir_vault_lv","DB_USR":"dAccGlobal","DB_PWD":"dAccGlobal12!@","APC_PREFIX":"loreta_local_"}'
|
||||||
elixirvault.com = '{"DB_HOST":"localhost","DB_NAME":"elixir_vault_lv","DB_USR":"expLorettaSqlConnection","DB_PWD":"dz[CAZCZ6540V7F)","APC_PREFIX":"elixir_"}'
|
elixirvault.com = '{"DB_HOST":"localhost","DB_NAME":"elixir_vault_lv","DB_USR":"expLorettaSqlConnection","DB_PWD":"dz[CAZCZ6540V7F)","APC_PREFIX":"loreta_"}'
|
||||||
www.elixirvault.com = 'clone:elixirvault.com'
|
www.elixirvault.com = 'clone:elixirvault.com'
|
||||||
default = 'clone:local.elixirvault.lv'
|
default = 'clone:local.elixirvault.lv'
|
||||||
|
|
||||||
|
|
@ -18,12 +18,6 @@ CMS_LOGIN_REQ_LINK = '/lslsadmin/login/action:loginf/'; CMS side logi n request
|
||||||
PUB_LOGIN_REQ_LINK = '/ienakt-sistema/action:loginf'; APP side logi n request link with possible replacement link param
|
PUB_LOGIN_REQ_LINK = '/ienakt-sistema/action:loginf'; APP side logi n request link with possible replacement link param
|
||||||
TOKEN_LIFE = 43200 ; access token life
|
TOKEN_LIFE = 43200 ; access token life
|
||||||
DEFAULT_HOST = 'local.elixirvault.lv' ; Used in cron access
|
DEFAULT_HOST = 'local.elixirvault.lv' ; Used in cron access
|
||||||
BRAND_NAME = 'Elixir Vault'
|
|
||||||
BRAND_NAME_UPPER = 'ELIXIRVAULT'
|
|
||||||
BRAND_DOMAIN = 'elixirvault.lv'
|
|
||||||
BRAND_LOCAL_DOMAIN = 'local.elixirvault.lv'
|
|
||||||
BRAND_SUPPORT_EMAIL = 'info@elixirvault.lv'
|
|
||||||
BRAND_STORE_NAME = 'elixirvault.lv'
|
|
||||||
|
|
||||||
APC_PREFIX = 'acc_' ; APC prefix
|
APC_PREFIX = 'acc_' ; APC prefix
|
||||||
SEND_MAILS = 1 ; Send mails from system
|
SEND_MAILS = 1 ; Send mails from system
|
||||||
|
|
@ -32,7 +26,7 @@ SEND_MAIL_COMMAND_PATH = '/usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mai
|
||||||
|
|
||||||
; cms side administration folder name - important to
|
; cms side administration folder name - important to
|
||||||
; update site db records upon change. Tables: site_map
|
; update site db records upon change. Tables: site_map
|
||||||
ADMINISTRATION_FOLDER = 'azesadmin'
|
ADMINISTRATION_FOLDER = 'azevadmin'
|
||||||
|
|
||||||
DEBUG_PUB_MAP_ID = 525 ; debug - public site map ID
|
DEBUG_PUB_MAP_ID = 525 ; debug - public site map ID
|
||||||
DEBUG_CMS_MAP_ID = 2 ; debug - content management site map ID
|
DEBUG_CMS_MAP_ID = 2 ; debug - content management site map ID
|
||||||
|
|
|
||||||
|
|
@ -85,9 +85,9 @@ class cCron
|
||||||
if($v && $k != 'usersOnline'){
|
if($v && $k != 'usersOnline'){
|
||||||
$mm = new cMail();
|
$mm = new cMail();
|
||||||
$mm->addMail(
|
$mm->addMail(
|
||||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::LOGIN],
|
cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::LOGIN],
|
||||||
false,
|
false,
|
||||||
cMail::MAIL_SERVER_DEFAULT,
|
cMail::MAIL_SERVER_LORETA_LV,
|
||||||
cMail::MAIL_16_SYSTEM_NEW_MAILS,
|
cMail::MAIL_16_SYSTEM_NEW_MAILS,
|
||||||
$this->module->getDefaultAppLang(),
|
$this->module->getDefaultAppLang(),
|
||||||
array(
|
array(
|
||||||
|
|
|
||||||
|
|
@ -37,13 +37,13 @@ class cMail
|
||||||
CONST REWRITE_SENDER_NAME_TO = 'RW_NAME';
|
CONST REWRITE_SENDER_NAME_TO = 'RW_NAME';
|
||||||
CONST SEND_READ_REC_TO = 'readReceiptTo';
|
CONST SEND_READ_REC_TO = 'readReceiptTo';
|
||||||
|
|
||||||
CONST MAIL_SERVER_DEFAULT = '1';
|
CONST MAIL_SERVER_LORETA_LV = '1';
|
||||||
|
|
||||||
const CC_SHOP_OWNER = 'cc_shop_owner'; // TODO: šo jāuzseto pareizu
|
const CC_SHOP_OWNER = 'cc_shop_owner'; // TODO: šo jāuzseto pareizu
|
||||||
|
|
||||||
/* MAIL SERVER CONSTANTS */
|
/* MAIL SERVER CONSTANTS */
|
||||||
static array $SERVER_CFG = [
|
static array $SERVER_CFG = [
|
||||||
self::MAIL_SERVER_DEFAULT => [
|
self::MAIL_SERVER_LORETA_LV => [
|
||||||
self::LOGIN => 'info@elixirvault.lv',
|
self::LOGIN => 'info@elixirvault.lv',
|
||||||
self::PWD => 'dkq2fecDqy8J43m!@',
|
self::PWD => 'dkq2fecDqy8J43m!@',
|
||||||
self::PORT => 465,
|
self::PORT => 465,
|
||||||
|
|
@ -56,8 +56,8 @@ class cMail
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
const MAIL_REQUEST_KEY = 'ELIXIRVAULT-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3';
|
const MAIL_REQUEST_KEY = 'LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3';
|
||||||
CONST MAIL_REQUEST_PROCESS_ID = 'elixirvault_mailer';
|
CONST MAIL_REQUEST_PROCESS_ID = 'loreta_mailer';
|
||||||
CONST MAIL_TRACKING_STR = '[%TRACKING_IMG%]';
|
CONST MAIL_TRACKING_STR = '[%TRACKING_IMG%]';
|
||||||
CONST EHLO_SERVER = 'www.elixirvault.lv'; // Send hello message to check server availability
|
CONST EHLO_SERVER = 'www.elixirvault.lv'; // Send hello message to check server availability
|
||||||
|
|
||||||
|
|
@ -94,7 +94,7 @@ class cMail
|
||||||
* @param string|bool $marker - mail tracking marker to check specific data
|
* @param string|bool $marker - mail tracking marker to check specific data
|
||||||
* @return bool|int -
|
* @return bool|int -
|
||||||
*/
|
*/
|
||||||
public function addMail($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_DEFAULT, $template, $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
public function addMail($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_LORETA_LV, $template, $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
||||||
|
|
||||||
// Check mail server
|
// Check mail server
|
||||||
if(!isset(self::$SERVER_CFG[$sMailSrvType])) cJSON::sendError(array('msg' => "Passed mail server does'nt exist!"));
|
if(!isset(self::$SERVER_CFG[$sMailSrvType])) cJSON::sendError(array('msg' => "Passed mail server does'nt exist!"));
|
||||||
|
|
@ -174,7 +174,7 @@ class cMail
|
||||||
* @param string|bool $marker - mail tracking marker to check specific data
|
* @param string|bool $marker - mail tracking marker to check specific data
|
||||||
* @return bool true/false
|
* @return bool true/false
|
||||||
*/
|
*/
|
||||||
public function addMailT($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_DEFAULT, $mailData = array(), $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
public function addMailT($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_LORETA_LV, $mailData = array(), $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
||||||
|
|
||||||
// Check mail server
|
// Check mail server
|
||||||
if(!isset(self::$SERVER_CFG[$sMailSrvType])) cJSON::sendError(array('msg' => "Passed mail server does'nt exist!"));
|
if(!isset(self::$SERVER_CFG[$sMailSrvType])) cJSON::sendError(array('msg' => "Passed mail server does'nt exist!"));
|
||||||
|
|
|
||||||
|
|
@ -919,12 +919,6 @@ class cView
|
||||||
|
|
||||||
// Set constants
|
// Set constants
|
||||||
$this->_params['CMS_VERSION'] = CMS_VERSION;
|
$this->_params['CMS_VERSION'] = CMS_VERSION;
|
||||||
$this->_params['BRAND_NAME'] = defined('BRAND_NAME') ? BRAND_NAME : 'Elixir Vault';
|
|
||||||
$this->_params['BRAND_NAME_UPPER'] = defined('BRAND_NAME_UPPER') ? BRAND_NAME_UPPER : 'ELIXIRVAULT';
|
|
||||||
$this->_params['BRAND_DOMAIN'] = defined('BRAND_DOMAIN') ? BRAND_DOMAIN : 'elixirvault.lv';
|
|
||||||
$this->_params['BRAND_LOCAL_DOMAIN'] = defined('BRAND_LOCAL_DOMAIN') ? BRAND_LOCAL_DOMAIN : 'local.elixirvault.lv';
|
|
||||||
$this->_params['BRAND_SUPPORT_EMAIL'] = defined('BRAND_SUPPORT_EMAIL') ? BRAND_SUPPORT_EMAIL : 'info@elixirvault.lv';
|
|
||||||
$this->_params['BRAND_STORE_NAME'] = defined('BRAND_STORE_NAME') ? BRAND_STORE_NAME : 'elixirvault.lv';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />
|
<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />
|
||||||
|
|
||||||
{# TITLE #}
|
{# TITLE #}
|
||||||
<title>{{ BRAND_NAME }} | {% if MAP.p_fulltitle %}{{ MAP.p_fulltitle }}{% else %}{{ MAP.p_title }}{% endif %}</title>
|
<title>Elixir Vault | {% if MAP.p_fulltitle %}{{ MAP.p_fulltitle }}{% else %}{{ MAP.p_title }}{% endif %}</title>
|
||||||
|
|
||||||
{# FAVICON #}
|
{# FAVICON #}
|
||||||
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
||||||
<title>{{ BRAND_NAME }} Admin | {% if MAP.p_fulltitle %}{{MAP.p_fulltitle}}{% else %}{{MAP.p_title}}{% endif %}</title>
|
<title>Elixir Vault Admin | {% if MAP.p_fulltitle %}{{MAP.p_fulltitle}}{% else %}{{MAP.p_title}}{% endif %}</title>
|
||||||
|
|
||||||
{# KEYWORDS & SEO #}
|
{# KEYWORDS & SEO #}
|
||||||
<meta name="keywords" content="{% if MAP.p_keywords %}{{MAP.p_keywords}}{% endif %}" />
|
<meta name="keywords" content="{% if MAP.p_keywords %}{{MAP.p_keywords}}{% endif %}" />
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<div class="popup-container">
|
<div class="popup-container">
|
||||||
<div class="logo"> </div>
|
<div class="logo"> </div>
|
||||||
<div class="text cs-listing-filters">
|
<div class="text cs-listing-filters">
|
||||||
<h4>{{ dt.gM("There are three main types of cookies that we follow on the ") }}{{ BRAND_DOMAIN }}{{ dt.gM(" website.") }}</h4>
|
<h4>{{ dt.gM("There are three main types of cookies that we follow on the elixirVault.lv website.") }}</h4>
|
||||||
<p>{{ dt.gM('By browsing the site, you accept the use of necessary cookies. You can also accept the use of other cookies.<br/>For more information <a href="[%REPLACE_URL%]" target="_blank">click here</a>')|raw|replace({'[%REPLACE_URL%]': dt.gL(762)})|raw }}</p>
|
<p>{{ dt.gM('By browsing the site, you accept the use of necessary cookies. You can also accept the use of other cookies.<br/>For more information <a href="[%REPLACE_URL%]" target="_blank">click here</a>')|raw|replace({'[%REPLACE_URL%]': dt.gL(762)})|raw }}</p>
|
||||||
<ul class="cs-checkbox-list dx hasChk">
|
<ul class="cs-checkbox-list dx hasChk">
|
||||||
<li>
|
<li>
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
||||||
|
|
||||||
{# TITLE #}
|
{# TITLE #}
|
||||||
<title>{{ BRAND_NAME }} | {{ dt.gM("Page access error...") }}</title>
|
<title>Elixir Vault | {{ dt.gM("Page access error...") }}</title>
|
||||||
|
|
||||||
{# FAVICON #}
|
{# FAVICON #}
|
||||||
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
||||||
|
|
@ -444,3 +444,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
||||||
|
|
||||||
{# TITLE #}
|
{# TITLE #}
|
||||||
<title>{{ BRAND_NAME }} | {{ dt.gM("Page access error...") }}</title>
|
<title>Elixir Vault | {{ dt.gM("Page access error...") }}</title>
|
||||||
|
|
||||||
{# FAVICON #}
|
{# FAVICON #}
|
||||||
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
||||||
|
|
@ -182,3 +182,4 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="ptb-20 bst">
|
<div class="ptb-20 bst">
|
||||||
<div class="row align-items-md-center">
|
<div class="row align-items-md-center">
|
||||||
<div class="col-12 col-md-6 text-center text-md-start">{{ dt.gM("Powered by") }} {{ BRAND_NAME }}</div>
|
<div class="col-12 col-md-6 text-center text-md-start">{{ dt.gM("Powered by elixirVault") }}</div>
|
||||||
<div class="col-12 col-md-6 mst-10 mst-md-0">
|
<div class="col-12 col-md-6 mst-10 mst-md-0">
|
||||||
<ul class="payment-ul">
|
<ul class="payment-ul">
|
||||||
<li class="payment-li ul-mt5 justify-content-center justify-content-md-end">
|
<li class="payment-li ul-mt5 justify-content-center justify-content-md-end">
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"UPDATE_REQUEST_URL":"http://local.elixirvault.lv/ajax/ac:%REQUEST_ACTION%/req-type:%TYPE%",
|
"UPDATE_REQUEST_URL":"http://local.lorettasecret.lv/ajax/ac:%REQUEST_ACTION%/req-type:%TYPE%",
|
||||||
"BACKUP_FOLDER":"/var/www/backups/b",
|
"BACKUP_FOLDER":"/var/www/backups/b",
|
||||||
"UPDATE_INI_CFG":"init.cfg.ini",
|
"UPDATE_INI_CFG":"init.cfg.ini",
|
||||||
"SOME_PARAM":"-1"
|
"SOME_PARAM":"-1"
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<form id="frm_input">
|
<form id="frm_input">
|
||||||
<span class="v">v{{VERS}}</span>
|
<span class="v">v{{VERS}}</span>
|
||||||
<h1 style="font-size: 45px;text-transform: uppercase;">{{ BRAND_NAME }}</h1>
|
<h1 style="font-size: 45px;text-transform: uppercase;">{{ dt.gM("LORETTA SECRET") }}</h1>
|
||||||
<h3>{{ dt.gM("BRSystems IT Solutions") }}</h3><br/>
|
<h3>{{ dt.gM("BRSystems IT Solutions") }}</h3><br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue