Compare commits
2 Commits
f40f6cb4bd
...
b44529dc64
| Author | SHA1 | Date |
|---|---|---|
|
|
b44529dc64 | |
|
|
fd9fe72ca3 |
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type": "project",
|
||||
"name": "loreta/application",
|
||||
"name": "elixir/application",
|
||||
"license": "proprietary",
|
||||
"authors": [
|
||||
{
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"LoretaAudit\\Tests\\" : "tests/"
|
||||
"ElixirAudit\\Tests\\" : "tests/"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
|
|
|
|||
|
|
@ -46,13 +46,13 @@ docker exec -t elixirvault_mysql bash -c 'chmod +x /opt/bin/*.sh'
|
|||
# mkdir -p ./vendor
|
||||
#
|
||||
# sleep 3;
|
||||
# docker exec loreta_php bash -c "php /usr/local/bin/composer install --working-dir /var/www/html"
|
||||
# docker exec secretvault_php bash -c "php /usr/local/bin/composer install --working-dir /var/www/html"
|
||||
#else
|
||||
# docker exec loreta_php bash -c "cd /var/www/html; composer dumpautoload" > /dev/null 2>&1;
|
||||
# docker exec secretvault_php bash -c "cd /var/www/html; composer dumpautoload" > /dev/null 2>&1;
|
||||
#fi
|
||||
|
||||
# Disable sendmail_path from php.webdevops.ini cfg file which overrider php.ini
|
||||
#docker exec -t loreta_php bash -c 'sed -i "s/^sendmail_path/;sendmail_path/" /opt/docker/etc/php/php.webdevops.ini'
|
||||
#docker exec -t secretvault_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
|
||||
printf 'Waiting for database connection ...' > /dev/tty
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## -------------------------------------------------------------------
|
||||
## RUNNING THE SCRIPT FILE FOR DOCKER CONTAINER - TEST / DEVELOP
|
||||
## docker exec -it loreta_mysql bash -c "cd /opt && ./bin/load_all_dbs.sh -folder=data/bulk_db_load_test"
|
||||
## docker exec -it secretvault_mysql bash -c "cd /opt && ./bin/load_all_dbs.sh -folder=data/bulk_db_load_test"
|
||||
## -------------------------------------------------------------------
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@
|
|||
4344 Read
|
||||
4345 Unread
|
||||
4346 Z18
|
||||
4347 loretasecret.lv
|
||||
4347 elixirvault.lv
|
||||
4348 Mail owner
|
||||
4349 CC owner
|
||||
4350 Date from
|
||||
|
|
|
|||
|
|
@ -359,7 +359,7 @@
|
|||
4344 1 Read
|
||||
4345 1 Unread
|
||||
4346 1 Z18
|
||||
4347 1 loretasecret.lv
|
||||
4347 1 elixirvault.lv
|
||||
4348 1 Mail owner
|
||||
4349 1 CC owner
|
||||
4350 1 Date from
|
||||
|
|
|
|||
|
|
@ -1,39 +1,39 @@
|
|||
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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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 /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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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/ 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 /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 /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 /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 /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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 /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 /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 /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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 /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 /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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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 /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 /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 /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 /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 /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 /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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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
|
||||
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,3 +389,12 @@
|
|||
1539 Maksājumu politika
|
||||
1540 Payment terms
|
||||
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,3 +1137,12 @@
|
|||
2613 1540 9
|
||||
2614 1540 10
|
||||
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,3 +2801,6 @@
|
|||
2810 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526479 bb70059e0cbba565e3d0f574fd4bfe4af3b6ca26
|
||||
2811 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526832 7f54683412d7344a4d2f511b8dffec5169b48b56
|
||||
2812 e7010ff9f658463ec1d38f6c3c04c65d37296c92 1785526979 d3605b723e9cbd6f785b914349034d79f77f3657
|
||||
2813 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042335 16f292468d3015425936ac4a018a259a54f1fd36
|
||||
2814 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042338 9ad1b975d07504b2cf7322ed8107c84137f7257d
|
||||
2815 f22777a66bf23748bc6cc2bbd5e3beb02bb8cd5a 1789042347 2bea8eeaab058e1758faaac57df1129ef697c75d
|
||||
|
|
|
|||
|
|
@ -48,3 +48,4 @@
|
|||
48 1 1785409063 Mareks @ Admin logged in!
|
||||
49 1 1785438340 Mareks @ Admin logged in!
|
||||
50 1 1785479647 Mareks @ Admin logged in!
|
||||
51 1 1788999246 Mareks @ Admin logged in!
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
3416 loreta_local_APC_DISABLED 1784020582 1815556582
|
||||
|
|
@ -17227,3 +17227,31 @@
|
|||
17227 899 168 168 0 7 1
|
||||
17228 2 525 525 1 1 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,3 +1374,21 @@
|
|||
1243 896
|
||||
1244 896
|
||||
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,3 +735,4 @@
|
|||
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 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
|
||||
# ---------------------------------------------------------------------------------------------------------------------
|
||||
# Usage: ./export_project.sh -project=loretasecret.lv -branch="release/legacy-system-php74"=
|
||||
# Usage: ./export_project.sh -project=elixirvault.lv -branch="release/legacy-system-php74"=
|
||||
|
||||
git_repository=""
|
||||
www_project_dir=""
|
||||
|
|
@ -27,10 +27,10 @@ for i in "$@"; do
|
|||
esac
|
||||
done
|
||||
|
||||
# Override Script dir for testing for loretasecret.local.test
|
||||
if [[ "$project_title" == "loretasecret.local.test" ]]; then
|
||||
# Override Script dir for testing for elixirvault.local.test
|
||||
if [[ "$project_title" == "elixirvault.local.test" ]]; then
|
||||
script_dir="/var/www/html/development/scripts/temp"
|
||||
script_dir="/Users/marekskeiss/Projects/brsystems/git/LORETA/development/scripts/temp"
|
||||
script_dir="/Users/marekskeiss/Projects/brsystems/git/ELIXIRVAULT/development/scripts/temp"
|
||||
fi
|
||||
|
||||
statusOkMessageOutput() {
|
||||
|
|
@ -54,8 +54,8 @@ fi
|
|||
# Declare configuration for export
|
||||
declare -a repoConfiguration
|
||||
|
||||
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]="loretasecret.local.test;ssh://git@gitea.brsystems.lv:2020/brs/LORETA.git;LORETA;$script_dir/www;system-brs-core/config/init.cfg.ini"
|
||||
repoConfiguration[0]="elixirvault.lv;ssh://git@gitea.brsystems.lv:2020/brs/ELIXIRVAULT.git;ELIXIRVAULT;/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[3]="domain.fr;fr;http"
|
||||
|
||||
for page in "${repoConfiguration[@]}"
|
||||
|
|
@ -64,12 +64,12 @@ do
|
|||
# array ['domain.de', 'de', 'https']
|
||||
IFS=";" read -r -a arr <<< "${page}"
|
||||
|
||||
site="${arr[0]}" # loretasecret.lv
|
||||
site="${arr[0]}" # elixirvault.lv
|
||||
|
||||
if [[ "$project_title" == "$site" ]]; then
|
||||
|
||||
git_repository="${arr[1]}" # ssh://git@gitea.brsystems.lv:2020/brs/LORETA.git
|
||||
git_clone_dir="${arr[2]}" # LORETA
|
||||
git_repository="${arr[1]}" # ssh://git@gitea.brsystems.lv:2020/brs/ELIXIRVAULT.git
|
||||
git_clone_dir="${arr[2]}" # ELIXIRVAULT
|
||||
www_project_dir="${arr[3]}" # /var/www
|
||||
backup_cfg_file_location_check="${arr[4]}" # system-brs-core/config/init.cfg.ini
|
||||
break
|
||||
|
|
@ -263,10 +263,10 @@ case $project_title in
|
|||
statusOkMessageOutput "Composer cfg files copied" "OK"
|
||||
statusOkMessageOutput "Composer install - SLOW!!!" "installing"
|
||||
|
||||
# Override composer install for testing for loretasecret.local.test
|
||||
# Override composer install for testing for elixirvault.local.test
|
||||
# TODO BRS: Be great to create a separate container with same server structure and testing ground
|
||||
if [[ "$project_title" == "loretasecret.local.test" ]]; 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
|
||||
if [[ "$project_title" == "elixirvault.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
|
||||
echo -e "\n${Red}ABORTING: ${Color_Off}Composer installation failed...${Red}\n"
|
||||
exit 0
|
||||
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.lorettasecret.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.elixirvault.lv/cron/ctp:ZUTENIS-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ memory_limit=-1
|
|||
xdebug.show_exception_trace=0
|
||||
|
||||
[mail function]
|
||||
SMTP = loreta_mailhog
|
||||
SMTP = elixirvault_mailhog
|
||||
smtp_port = 1025
|
||||
mail.add_x_header = On
|
||||
sendmail_path = /usr/bin/mhsendmail -oi -t --smtp-addr loreta_mailhog:1025
|
||||
php_admin_value[sendmail_path] = /usr/bin/mhsendmail -oi -t --smtp-addr loreta_mailhog:1025
|
||||
sendmail_path = /usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mailhog:1025
|
||||
php_admin_value[sendmail_path] = /usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mailhog:1025
|
||||
mail.log = /var/www/html/www/logs/mail_log.log
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests;
|
||||
namespace ElixirAudit\Tests;
|
||||
|
||||
use BRSystems\Core\Library\cCoreSystem\cCoreSystem;
|
||||
use BRSystems\Core\Library\cDb\cDb;
|
||||
|
|
@ -13,7 +13,6 @@ use Http\Client\Curl\Client;
|
|||
use MyCLabs\Enum\Enum;
|
||||
use Nyholm\Psr7\Factory\Psr17Factory;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use BRSystems\Core\App\pubPartners\pubPartners;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||
use ReflectionClass;
|
||||
|
|
@ -22,15 +21,15 @@ use rpkamp\Mailhog\Message\Contact;
|
|||
use rpkamp\Mailhog\Message\Message;
|
||||
use rpkamp\Mailhog\NoSuchMessageException;
|
||||
use BRSystems\Core\Sys\sysUsers\sysUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
/**
|
||||
* @method static DbTitleEnum E_LORETA()
|
||||
* @method static DbTitleEnum E_ELIXIR()
|
||||
*/
|
||||
final class DbTitleEnum extends Enum
|
||||
{
|
||||
private const E_LORETA = 'loreta';
|
||||
private const E_ELIXIR = 'elixir';
|
||||
}
|
||||
|
||||
abstract class BasePhpUnitCase extends TestCase
|
||||
|
|
@ -43,7 +42,7 @@ abstract class BasePhpUnitCase extends TestCase
|
|||
/**
|
||||
* @var String - Mysql DB title
|
||||
*/
|
||||
protected string $mysqlName = 'loreta';
|
||||
protected string $mysqlName = 'elixir_vault_lv';
|
||||
|
||||
/**
|
||||
* @var String - Mysql connection user
|
||||
|
|
@ -58,7 +57,7 @@ abstract class BasePhpUnitCase extends TestCase
|
|||
/**
|
||||
* @var String - Mysql connection host
|
||||
*/
|
||||
protected string $mysqlHost = 'loreta_mysql';
|
||||
protected string $mysqlHost = 'secretvault_mysql';
|
||||
|
||||
/**
|
||||
* @var String - Mysql connection port
|
||||
|
|
@ -83,7 +82,7 @@ abstract class BasePhpUnitCase extends TestCase
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected string $mailHogAPIRequestUrl = 'http://loreta_mailhog:8025/';
|
||||
protected string $mailHogAPIRequestUrl = 'http://elixirvault_mailhog:8025/';
|
||||
|
||||
protected pubUsers $pubUser;
|
||||
protected sysUsers $cmsUser;
|
||||
|
|
@ -252,7 +251,7 @@ abstract class BasePhpUnitCase extends TestCase
|
|||
|
||||
$_SERVER['SERVER_PORT'] = 80;
|
||||
$_SERVER['HTTPS'] = 'off';
|
||||
$_SERVER['HTTP_HOST'] = 'local.loreta';
|
||||
$_SERVER['HTTP_HOST'] = 'local.elixir';
|
||||
$_SERVER['REQUEST_URI'] = $url->rmSlashesIndex($urlData['p_full_url']);
|
||||
$_SERVER['REMOTE_ADDR'] = '';
|
||||
$_SERVER['SERVER_ADDR'] = '';
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests;
|
||||
namespace ElixirAudit\Tests;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Exception;
|
||||
|
|
@ -18,7 +18,7 @@ use Facebook\WebDriver\WebDriverElement;
|
|||
use Facebook\WebDriver\WebDriverExpectedCondition;
|
||||
use Facebook\WebDriver\WebDriverSelect;
|
||||
use PHPUnit\Runner\BaseTestRunner;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
|
||||
|
||||
abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
||||
|
|
@ -40,7 +40,7 @@ abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $seleniumHost = 'http://loreta_selenium_hub:4444/wd/hub';
|
||||
protected $seleniumHost = 'http://elixirvault_selenium_hub:4444/wd/hub';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
|
@ -61,7 +61,7 @@ abstract class BasePhpUnitSeleniumCase extends BasePhpUnitCase
|
|||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $applicationBaseUrl = 'http://local.lorettasecret.lv/';
|
||||
protected $applicationBaseUrl = 'http://local.elixirvault.lv/';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Constants;
|
||||
namespace ElixirAudit\Tests\DataSetup\Constants;
|
||||
|
||||
class siteAccounts
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
||||
|
||||
class siteLanguages
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
||||
|
||||
class siteMap
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\constants;
|
||||
namespace ElixirAudit\Tests\DataSetup\constants;
|
||||
|
||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
|
||||
trait assertionsTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
use Facebook\WebDriver\Remote\RemoteWebElement;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
|
||||
trait commonTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
/**
|
||||
* Trait for common CMS Dialog interactions
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
trait formLayoutTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
|
||||
trait formValidationTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
/**
|
||||
* Tests provide a small per-language config; this trait expands it into the object-structure
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App\Helpers;
|
||||
|
||||
use Facebook\WebDriver\Exception\WebDriverException;
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\Traits\App;
|
||||
namespace ElixirAudit\Tests\DataSetup\Traits\App;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
|
||||
trait pubUsersTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
||||
|
||||
trait cmsAssertionsTrait
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
||||
|
||||
/**
|
||||
* Trait for common CMS Dialog interactions
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\DataSetup\traits\Cms;
|
||||
namespace ElixirAudit\Tests\DataSetup\traits\Cms;
|
||||
|
||||
/**
|
||||
* Trait for common CMS Table interactions
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests;
|
||||
namespace ElixirAudit\Tests;
|
||||
|
||||
use Exception;
|
||||
use SimpleXMLElement;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class pubUserLoginForcePwdChangeTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class pubUserLoginTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use DOMDocument;
|
||||
use DOMXPath;
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class pubUserPwdResetTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,19 +2,19 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use DOMDocument;
|
||||
use DOMXPath;
|
||||
use stdClass;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\traits\app\helpers\assertionsTrait;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\Helpers\formLayoutTrait;
|
||||
use LoretaAudit\Tests\DataSetup\traits\app\helpers\formValidationTrait;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\traits\app\helpers\assertionsTrait;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\Helpers\formLayoutTrait;
|
||||
use ElixirAudit\Tests\DataSetup\traits\app\helpers\formValidationTrait;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class pubUserRegistrationTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\Helpers\commonTrait;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteAccounts;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\Helpers\commonTrait;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class pubUserTwoFactorAuthActionTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests;
|
||||
namespace ElixirAudit\Tests\SeleniumTests;
|
||||
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use LoretaAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\DataSetup\Traits\App\pubUsersTrait;
|
||||
|
||||
class BaseLoginTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\Sys\SysSiteMap;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\Sys\SysSiteMap;
|
||||
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class sysSiteMapRoutesTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\SeleniumTests\Sys\SysUsersLogin;
|
||||
namespace ElixirAudit\Tests\SeleniumTests\Sys\SysUsersLogin;
|
||||
|
||||
// use BRSystems\Core\Library\CGoogle2FA\cGoogle2FABase;
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Facebook\WebDriver\WebDriverBy;
|
||||
use LoretaAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitSeleniumCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class sysUserLoginTest extends BasePhpUnitSeleniumCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
||||
|
||||
use BRSystems\Core\App\index\index;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
||||
|
||||
class indexBase extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
||||
|
||||
class indexModuleTest extends indexBase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
||||
|
||||
use BRSystems\Core\Library\cDefuseCrypto\cDefuseCrypto;
|
||||
use Exception;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
||||
|
||||
use Exception;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\Index;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\Index;
|
||||
|
||||
use Exception;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
||||
|
||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
||||
|
||||
class UserProfileActionTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class pubUserManagerBaseTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
||||
|
||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||
use BRSystems\Core\App\pubUserManager\inc\pubUserManagerModule;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class pubUserManagerModuleTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUserManager;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUserManager;
|
||||
|
||||
use BRSystems\Core\Library\cCore\cCore;
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUserManager\pubUserManager;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class securityEnforcement2faTrapActionTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,227 +0,0 @@
|
|||
<?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
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Cms\cmsAccountActivation\inc\cmsAccountActivationController;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class accountActivationTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,126 +0,0 @@
|
|||
<?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()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
<?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
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cPasswordMaster\cPasswordMaster;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class loginActionRequestTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cGoogle2FA\cGoogle2FA;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class passwordForceChangeActionTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use DOMDocument;
|
||||
use DOMXPath;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use LoretaAudit\Tests\SeleniumTests\App\PubUsers\pubUserPwdResetTest;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteLanguages;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\SeleniumTests\App\PubUsers\pubUserPwdResetTest;
|
||||
|
||||
class passwordRecoveryActionTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Cms\cmsAccountManager\inc\cmsAccountManagerController;
|
||||
use Exception;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
|
||||
class pubUsersControllerTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use BRSystems\Core\App\pubUsers\inc\pubUsersModule;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
|
||||
class pubUsersModuleTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace LoretaAudit\Tests\UnitTests\App\PubUsers;
|
||||
namespace ElixirAudit\Tests\UnitTests\App\PubUsers;
|
||||
|
||||
use BRSystems\Core\Library\cSession\cSession;
|
||||
use BRSystems\Core\App\pubUsers\pubUsers;
|
||||
use BRSystems\Core\App\pubUsers\inc\pubUsersController;
|
||||
use Exception;
|
||||
use LoretaAudit\Tests\BasePhpUnitCase;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use LoretaAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
use ElixirAudit\Tests\BasePhpUnitCase;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\SiteMap;
|
||||
use ElixirAudit\Tests\DataSetup\Constants\siteUsers;
|
||||
|
||||
class twoFactorAuthActionTest extends BasePhpUnitCase
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,101 +0,0 @@
|
|||
<?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')) {
|
||||
case cMail::MAIL_SERVER_LORETA_LV:
|
||||
case cMail::MAIL_SERVER_DEFAULT:
|
||||
header('Content-Type: image/png');
|
||||
echo file_get_contents(__IMG__ . "pub/mails/sys_logo4.png");
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ ini_set('memory_limit', '1024M');
|
|||
|
||||
//------------------------------------------------------------------
|
||||
// Parse URL for extracting params kpsadmin12!@ - CC
|
||||
// URL: http://www.loretasecret.lv/cron/ctp:LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:check
|
||||
// MAIL SEND INIT: screen -A -m -d -S loreta_mailer curl "http://local.elixirvault.lv/cron/ctp:LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3/ct:send/id:1"
|
||||
// URL: http://www.elixirvault.lv/cron/ctp:ELIXIRVAULT-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"
|
||||
//------------------------------------------------------------------
|
||||
$cms = false;
|
||||
$url = new cUrl();
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<sitemap>
|
||||
<loc>http://local.lorettasecret.lv/sitemap_lv.xml</loc>
|
||||
<loc>http://local.elixirvault.lv/sitemap_lv.xml</loc>
|
||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||
</sitemap>
|
||||
<sitemap>
|
||||
<loc>http://local.lorettasecret.lv/sitemap_en.xml</loc>
|
||||
<loc>http://local.elixirvault.lv/sitemap_en.xml</loc>
|
||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||
</sitemap>
|
||||
<sitemap>
|
||||
<loc>http://local.lorettasecret.lv/sitemap_ru.xml</loc>
|
||||
<loc>http://local.elixirvault.lv/sitemap_ru.xml</loc>
|
||||
<lastmod>2026-02-25T05:00:15+02:00</lastmod>
|
||||
</sitemap>
|
||||
</sitemapindex>
|
||||
|
|
@ -1,84 +1,84 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||
<loc>http://local.lorettasecret.lv/en</loc>
|
||||
<loc>http://local.elixirvault.lv/en</loc>
|
||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/disclaimer/en</loc>
|
||||
<loc>http://local.elixirvault.lv/disclaimer/en</loc>
|
||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/copyrights/en</loc>
|
||||
<loc>http://local.elixirvault.lv/copyrights/en</loc>
|
||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/accounting-system-login/en</loc>
|
||||
<loc>http://local.elixirvault.lv/accounting-system-login/en</loc>
|
||||
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/password-recovery/en</loc>
|
||||
<loc>http://local.elixirvault.lv/password-recovery/en</loc>
|
||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/cookies/en</loc>
|
||||
<loc>http://local.elixirvault.lv/cookies/en</loc>
|
||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/faq/en</loc>
|
||||
<loc>http://local.elixirvault.lv/faq/en</loc>
|
||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/about-us/en</loc>
|
||||
<loc>http://local.elixirvault.lv/about-us/en</loc>
|
||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/contact-us/en</loc>
|
||||
<loc>http://local.elixirvault.lv/contact-us/en</loc>
|
||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/subscribe/en</loc>
|
||||
<loc>http://local.elixirvault.lv/subscribe/en</loc>
|
||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/unsubscribe/en</loc>
|
||||
<loc>http://local.elixirvault.lv/unsubscribe/en</loc>
|
||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/access-error/en</loc>
|
||||
<loc>http://local.elixirvault.lv/access-error/en</loc>
|
||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/registration/en</loc>
|
||||
<loc>http://local.elixirvault.lv/registration/en</loc>
|
||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/terms-of-use/en</loc>
|
||||
<loc>http://local.elixirvault.lv/terms-of-use/en</loc>
|
||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
|
|
|
|||
|
|
@ -1,78 +1,78 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||
<loc>http://local.lorettasecret.lv/</loc>
|
||||
<loc>http://local.elixirvault.lv/</loc>
|
||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/atruna</loc>
|
||||
<loc>http://local.elixirvault.lv/atruna</loc>
|
||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/autortiesibas</loc>
|
||||
<loc>http://local.elixirvault.lv/autortiesibas</loc>
|
||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/paroles-atgusana</loc>
|
||||
<loc>http://local.elixirvault.lv/paroles-atgusana</loc>
|
||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/piekluves-kluda</loc>
|
||||
<loc>http://local.elixirvault.lv/piekluves-kluda</loc>
|
||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/pierakstities</loc>
|
||||
<loc>http://local.elixirvault.lv/pierakstities</loc>
|
||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/atrakstities</loc>
|
||||
<loc>http://local.elixirvault.lv/atrakstities</loc>
|
||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/sazinies-ar-mums</loc>
|
||||
<loc>http://local.elixirvault.lv/sazinies-ar-mums</loc>
|
||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/par-mums</loc>
|
||||
<loc>http://local.elixirvault.lv/par-mums</loc>
|
||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/sikdatnes</loc>
|
||||
<loc>http://local.elixirvault.lv/sikdatnes</loc>
|
||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/buj</loc>
|
||||
<loc>http://local.elixirvault.lv/buj</loc>
|
||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/registracija</loc>
|
||||
<loc>http://local.elixirvault.lv/registracija</loc>
|
||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/lietosanas-noteikumi</loc>
|
||||
<loc>http://local.elixirvault.lv/lietosanas-noteikumi</loc>
|
||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
|
|
|
|||
|
|
@ -1,90 +1,90 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url>
|
||||
<loc>http://local.lorettasecret.lv/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/ru</loc>
|
||||
<lastmod>2020-04-29T10:15:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/o-nas/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/o-nas/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:19+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/svyazatsya-s-nami/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/svyazatsya-s-nami/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:24+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/czv/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/czv/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:04+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/voyti-v-sistemu-ucheta/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/voyti-v-sistemu-ucheta/ru</loc>
|
||||
<lastmod>2020-04-29T10:15:24+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/podpisyvatsya/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/podpisyvatsya/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/otpisyvatsya/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/otpisyvatsya/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/oshibka-dostupa/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/oshibka-dostupa/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/pechenye/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/pechenye/ru</loc>
|
||||
<lastmod>2020-04-29T10:13:09+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/sistema-ucheta/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/sistema-ucheta/ru</loc>
|
||||
<lastmod>2020-04-29T10:12:59+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/vosstanovleniye-parolya/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/vosstanovleniye-parolya/ru</loc>
|
||||
<lastmod>2020-04-29T10:15:14+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/avtorskiye-prava/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/avtorskiye-prava/ru</loc>
|
||||
<lastmod>2020-04-29T10:15:29+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/ogovorki/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/ogovorki/ru</loc>
|
||||
<lastmod>2020-04-29T10:15:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/registratsiya/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/registratsiya/ru</loc>
|
||||
<lastmod>2020-04-29T10:12:39+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>http://local.loretasecret.lv/usloviya-ekspluatatsii/ru</loc>
|
||||
<loc>http://local.elixirvault.lv/usloviya-ekspluatatsii/ru</loc>
|
||||
<lastmod>2020-04-29T10:12:34+02:00</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>1</priority>
|
||||
|
|
|
|||
|
|
@ -1342,7 +1342,7 @@ class pubBuyController extends cCore
|
|||
$mm->addMail(
|
||||
$qData['email'],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
0, //cMail::MAIL_7_AUCTION_PROD,
|
||||
$this->langId,
|
||||
[
|
||||
|
|
@ -2605,7 +2605,7 @@ class pubBuyController extends cCore
|
|||
$mId = $mm->addMail(
|
||||
$order['customer_info']['checkout_email'],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_1_ORDER_CONFIRMATION,
|
||||
$this->langId,
|
||||
$mailData,
|
||||
|
|
@ -2617,7 +2617,7 @@ class pubBuyController extends cCore
|
|||
$this->module->updOrderById($this->cart->orderId, ['o_mid' => $mId]);
|
||||
|
||||
// Send mail to info
|
||||
$mm->addMail(cMail::SENDER, cMail::CC_SHOP_OWNER, cMail::MAIL_SERVER_LORETA_LV, cMail::MAIL_1_ORDER_CONFIRMATION, $this->langId, $mailData, '', false);
|
||||
$mm->addMail(cMail::SENDER, cMail::CC_SHOP_OWNER, cMail::MAIL_SERVER_DEFAULT, cMail::MAIL_1_ORDER_CONFIRMATION, $this->langId, $mailData, '', false);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -2878,7 +2878,7 @@ class pubBuyController extends cCore
|
|||
'value' => $order['order_sum'],
|
||||
'currency' => 'LVL',
|
||||
|
||||
'productName' => 'PIRKUMS LORETASECRET.lv/' . trim($prod['prod_sname']),
|
||||
'productName' => 'PIRKUMS ELIXIRVAULT.lv/' . trim($prod['prod_sname']),
|
||||
'productUrl' => $prod['prod_full_url'],
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -1013,7 +1013,7 @@ class pubUsersController extends cCore
|
|||
(new cMail())->addMail(
|
||||
$user['user_email'],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_2_PASSWORD_RECOVERY,
|
||||
(!empty($user['user_lang_id']) ? (int)$user['user_lang_id'] : $this->langId),
|
||||
array(
|
||||
|
|
@ -1251,7 +1251,7 @@ class pubUsersController extends cCore
|
|||
$mm->addMail(
|
||||
$email,
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_1_ACCOUNT_ACTIVATION,
|
||||
$langId,
|
||||
[
|
||||
|
|
|
|||
|
|
@ -564,13 +564,13 @@ class cmsMailEngineController extends cCore
|
|||
|
||||
// Upon new e-mail insert
|
||||
if(!$recordId){
|
||||
$update['mail_sender'] = cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::SENDER];
|
||||
$update['mail_sender'] = cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::SENDER];
|
||||
$update['mail_inserted'] = time();
|
||||
$update['mail_priority'] = 1;
|
||||
$update['mail_send_atempt'] = 0;
|
||||
$update['mail_disabled'] = 1;
|
||||
$update['mail_locked'] = 0;
|
||||
$update['mail_server_type'] = cMail::MAIL_SERVER_LORETA_LV;
|
||||
$update['mail_server_type'] = cMail::MAIL_SERVER_DEFAULT;
|
||||
$update['mail_lang_id'] = @$dlang['id'];
|
||||
$update['mail_template_id'] = self::CUSTOM_TYPE_MAIL;
|
||||
}
|
||||
|
|
@ -623,7 +623,7 @@ class cmsMailEngineController extends cCore
|
|||
$mm->addMail(
|
||||
$mail,
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
||||
$iDefLangKey,
|
||||
array(
|
||||
|
|
@ -665,7 +665,7 @@ class cmsMailEngineController extends cCore
|
|||
$mm->addMail(
|
||||
$v['user_email'],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_3_SUBSCRIPTION_MAIL,
|
||||
(!empty($v['user_lang_id']) ? $v['user_lang_id'] : $iDefLangKey),
|
||||
array(
|
||||
|
|
@ -1152,7 +1152,7 @@ class cmsMailEngineController extends cCore
|
|||
$sLoadedImg = "http://{$sHost}/img/pub/default_logo.jpg";
|
||||
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:x/m{$data['id']}.png";
|
||||
switch($data['mail_server_type']){
|
||||
case cMail::MAIL_SERVER_LORETA_LV:
|
||||
case cMail::MAIL_SERVER_DEFAULT:
|
||||
$sLoadedImg = "http://{$sHost}/img/pub/mails/sys_logo4.png";
|
||||
$sTrackingImgUrl = "http://{$sHost}/ajax/ac:track/img:{$data['mail_server_type']}/m{$data['id']}.png";
|
||||
break;
|
||||
|
|
@ -1327,9 +1327,9 @@ class cmsMailEngineController extends cCore
|
|||
$langId = getDefaultAppLang();
|
||||
|
||||
$mm->addMail(
|
||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::SENDER],
|
||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::SENDER],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_1_DAILY_REPORT,
|
||||
$langId,
|
||||
array(
|
||||
|
|
|
|||
|
|
@ -57,8 +57,8 @@ Bug Tracking System - daily report
|
|||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||
</div>
|
||||
Need help?<br/>
|
||||
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
||||
<br/>
|
||||
<p style="margin-bottom: 20px;">
|
||||
Informative: +371 2...<br/>
|
||||
|
|
|
|||
|
|
@ -66,14 +66,14 @@ Online Privacy Policy
|
|||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||
</div>
|
||||
Nepieciešama palīdzība?<br/>
|
||||
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
||||
<br/>
|
||||
<p style="margin-bottom: 20px;">
|
||||
Informatīvais: +371 26475683<br/>
|
||||
Tehn. atbalsts: +371 28639957<br/>
|
||||
</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>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -127,14 +127,14 @@ Online Privacy Policy
|
|||
<img src="[%TRACKING_IMG%]" style="width: 100%;" alt="[%ZUT_TRACK%]" />
|
||||
</div>
|
||||
Need help?<br/>
|
||||
<a href="mailto:info@elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">info@elixirvault.lv</a><br/>
|
||||
<a href="https://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><br/>
|
||||
<a href="mailto:{{ BRAND_SUPPORT_EMAIL }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_SUPPORT_EMAIL }}</a><br/>
|
||||
<a href="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
||||
<br/>
|
||||
<p style="margin-bottom: 20px;">
|
||||
Informative: +371 2...<br/>
|
||||
Tech. support: +371 2...<br/>
|
||||
</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>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
<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="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://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/>
|
||||
<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/>
|
||||
<div style="padding: 20px;">
|
||||
<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%;" />
|
||||
</div>
|
||||
Nepieciešama palīdzība?<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://www.elixirvault.lv" style="color: rgb(5, 191, 210);text-decoration: none;">elixirvault.lv</a><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="https://{{ BRAND_DOMAIN }}" style="color: rgb(5, 191, 210);text-decoration: none;">{{ BRAND_DOMAIN }}</a><br/>
|
||||
<br/>
|
||||
Informatívais +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.elixirvault.lv</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.{{ BRAND_DOMAIN }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -949,7 +949,7 @@ class cmsOrdersController extends cCore
|
|||
$mId = $mm->addMail(
|
||||
$vCustomerData['a_ben_email'],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_17_ORDER_RECEIPT,
|
||||
$this->langId,
|
||||
$mailData,
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
[domain_cfg] ; Array based CFG
|
||||
|
||||
[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":"loreta_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":"loreta_"}'
|
||||
local.elixirvault.lv = '{"DB_HOST":"elixirvault_mysql","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":"elixir_local_"}'
|
||||
elixirvault.com = '{"DB_HOST":"localhost","DB_NAME":"elixir_vault_lv","DB_USR":"expLorettaSqlConnection","DB_PWD":"dz[CAZCZ6540V7F)","APC_PREFIX":"elixir_"}'
|
||||
www.elixirvault.com = 'clone:elixirvault.com'
|
||||
default = 'clone:local.elixirvault.lv'
|
||||
|
||||
|
|
@ -18,6 +18,12 @@ 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
|
||||
TOKEN_LIFE = 43200 ; access token life
|
||||
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
|
||||
SEND_MAILS = 1 ; Send mails from system
|
||||
|
|
@ -26,7 +32,7 @@ SEND_MAIL_COMMAND_PATH = '/usr/bin/mhsendmail -oi -t --smtp-addr elixirvault_mai
|
|||
|
||||
; cms side administration folder name - important to
|
||||
; update site db records upon change. Tables: site_map
|
||||
ADMINISTRATION_FOLDER = 'azevadmin'
|
||||
ADMINISTRATION_FOLDER = 'azesadmin'
|
||||
|
||||
DEBUG_PUB_MAP_ID = 525 ; debug - public site map ID
|
||||
DEBUG_CMS_MAP_ID = 2 ; debug - content management site map ID
|
||||
|
|
|
|||
|
|
@ -85,9 +85,9 @@ class cCron
|
|||
if($v && $k != 'usersOnline'){
|
||||
$mm = new cMail();
|
||||
$mm->addMail(
|
||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_LORETA_LV][cMail::LOGIN],
|
||||
cMail::$SERVER_CFG[cMail::MAIL_SERVER_DEFAULT][cMail::LOGIN],
|
||||
false,
|
||||
cMail::MAIL_SERVER_LORETA_LV,
|
||||
cMail::MAIL_SERVER_DEFAULT,
|
||||
cMail::MAIL_16_SYSTEM_NEW_MAILS,
|
||||
$this->module->getDefaultAppLang(),
|
||||
array(
|
||||
|
|
|
|||
|
|
@ -37,13 +37,13 @@ class cMail
|
|||
CONST REWRITE_SENDER_NAME_TO = 'RW_NAME';
|
||||
CONST SEND_READ_REC_TO = 'readReceiptTo';
|
||||
|
||||
CONST MAIL_SERVER_LORETA_LV = '1';
|
||||
CONST MAIL_SERVER_DEFAULT = '1';
|
||||
|
||||
const CC_SHOP_OWNER = 'cc_shop_owner'; // TODO: šo jāuzseto pareizu
|
||||
|
||||
/* MAIL SERVER CONSTANTS */
|
||||
static array $SERVER_CFG = [
|
||||
self::MAIL_SERVER_LORETA_LV => [
|
||||
self::MAIL_SERVER_DEFAULT => [
|
||||
self::LOGIN => 'info@elixirvault.lv',
|
||||
self::PWD => 'dkq2fecDqy8J43m!@',
|
||||
self::PORT => 465,
|
||||
|
|
@ -56,8 +56,8 @@ class cMail
|
|||
],
|
||||
];
|
||||
|
||||
const MAIL_REQUEST_KEY = 'LORETA-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3';
|
||||
CONST MAIL_REQUEST_PROCESS_ID = 'loreta_mailer';
|
||||
const MAIL_REQUEST_KEY = 'ELIXIRVAULT-A94A8FE5CCB19BA61C4C0873D391E987982FBBD3';
|
||||
CONST MAIL_REQUEST_PROCESS_ID = 'elixirvault_mailer';
|
||||
CONST MAIL_TRACKING_STR = '[%TRACKING_IMG%]';
|
||||
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
|
||||
* @return bool|int -
|
||||
*/
|
||||
public function addMail($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_LORETA_LV, $template, $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
||||
public function addMail($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_DEFAULT, $template, $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
||||
|
||||
// Check mail server
|
||||
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
|
||||
* @return bool true/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){
|
||||
public function addMailT($to, $toCC = false, $sMailSrvType = self::MAIL_SERVER_DEFAULT, $mailData = array(), $lang, $rdata = array(), $attachment = '', $send = false, $priority = 1, $marker = false){
|
||||
|
||||
// Check mail server
|
||||
if(!isset(self::$SERVER_CFG[$sMailSrvType])) cJSON::sendError(array('msg' => "Passed mail server does'nt exist!"));
|
||||
|
|
|
|||
|
|
@ -919,6 +919,12 @@ class cView
|
|||
|
||||
// Set constants
|
||||
$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 %}" />
|
||||
|
||||
{# TITLE #}
|
||||
<title>Elixir Vault | {% if MAP.p_fulltitle %}{{ MAP.p_fulltitle }}{% else %}{{ MAP.p_title }}{% endif %}</title>
|
||||
<title>{{ BRAND_NAME }} | {% if MAP.p_fulltitle %}{{ MAP.p_fulltitle }}{% else %}{{ MAP.p_title }}{% endif %}</title>
|
||||
|
||||
{# FAVICON #}
|
||||
<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 name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
<title>Elixir Vault Admin | {% if MAP.p_fulltitle %}{{MAP.p_fulltitle}}{% else %}{{MAP.p_title}}{% endif %}</title>
|
||||
<title>{{ BRAND_NAME }} Admin | {% if MAP.p_fulltitle %}{{MAP.p_fulltitle}}{% else %}{{MAP.p_title}}{% endif %}</title>
|
||||
|
||||
{# KEYWORDS & SEO #}
|
||||
<meta name="keywords" content="{% if MAP.p_keywords %}{{MAP.p_keywords}}{% endif %}" />
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<div class="popup-container">
|
||||
<div class="logo"> </div>
|
||||
<div class="text cs-listing-filters">
|
||||
<h4>{{ dt.gM("There are three main types of cookies that we follow on the elixirVault.lv website.") }}</h4>
|
||||
<h4>{{ dt.gM("There are three main types of cookies that we follow on the ") }}{{ BRAND_DOMAIN }}{{ dt.gM(" 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>
|
||||
<ul class="cs-checkbox-list dx hasChk">
|
||||
<li>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
||||
|
||||
{# TITLE #}
|
||||
<title>Elixir Vault | {{ dt.gM("Page access error...") }}</title>
|
||||
<title>{{ BRAND_NAME }} | {{ dt.gM("Page access error...") }}</title>
|
||||
|
||||
{# FAVICON #}
|
||||
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
||||
|
|
@ -444,4 +444,3 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
{#<meta name="description" content="{% if MAP.p_description %}{{ MAP.p_description }}{% endif %}" />#}
|
||||
|
||||
{# TITLE #}
|
||||
<title>Elixir Vault | {{ dt.gM("Page access error...") }}</title>
|
||||
<title>{{ BRAND_NAME }} | {{ dt.gM("Page access error...") }}</title>
|
||||
|
||||
{# FAVICON #}
|
||||
<link rel="shortcut icon" type="image/png" sizes="16x16" href="/img/pub/favicon/favicon-16x16.png?v=1">
|
||||
|
|
@ -182,4 +182,3 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@
|
|||
<div class="container">
|
||||
<div class="ptb-20 bst">
|
||||
<div class="row align-items-md-center">
|
||||
<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 text-center text-md-start">{{ dt.gM("Powered by") }} {{ BRAND_NAME }}</div>
|
||||
<div class="col-12 col-md-6 mst-10 mst-md-0">
|
||||
<ul class="payment-ul">
|
||||
<li class="payment-li ul-mt5 justify-content-center justify-content-md-end">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"UPDATE_REQUEST_URL":"http://local.lorettasecret.lv/ajax/ac:%REQUEST_ACTION%/req-type:%TYPE%",
|
||||
"UPDATE_REQUEST_URL":"http://local.elixirvault.lv/ajax/ac:%REQUEST_ACTION%/req-type:%TYPE%",
|
||||
"BACKUP_FOLDER":"/var/www/backups/b",
|
||||
"UPDATE_INI_CFG":"init.cfg.ini",
|
||||
"SOME_PARAM":"-1"
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
{% else %}
|
||||
<form id="frm_input">
|
||||
<span class="v">v{{VERS}}</span>
|
||||
<h1 style="font-size: 45px;text-transform: uppercase;">{{ dt.gM("LORETTA SECRET") }}</h1>
|
||||
<h1 style="font-size: 45px;text-transform: uppercase;">{{ BRAND_NAME }}</h1>
|
||||
<h3>{{ dt.gM("BRSystems IT Solutions") }}</h3><br/>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue