Compare commits

..

366 Commits

Author SHA1 Message Date
saeid a8366d0944 test
1 year ago
saeid 4356871ac4 fix
2 years ago
saeid 4497bed50f Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
2 years ago
saeid d7c4071344 add audit
2 years ago
saeid bf3cf09e68 fix
2 years ago
saeid 5c4ba969eb fix"
2 years ago
saeid e0aceea1f7 Merge branch 'master' of https://git.willaspace.com/WillaEngine-Project/WillaEngine
2 years ago
saeid 02dbfff4d6 fix
2 years ago
saeid 07396ee656 fix
2 years ago
farid d2e5ec8544 feat: update composer repository
2 years ago
saeid c3b29b16af fix
2 years ago
saeid ef31b2e296 add minify to composer
2 years ago
saeid_01 b1b8d3fb8c Update '.drone.yml'
2 years ago
saeid_01 efc348589e Update '.drone.yml'
2 years ago
Alireza Azizi d3a1f20001 fix
2 years ago
Alireza Azizi fa1350b252 fix
2 years ago
saeid 7f758bdefc fix
2 years ago
saeid 0bcbc89510 fix
2 years ago
Alireza Azizi e7a2633523 fix
2 years ago
Alireza Azizi 35bf5d4db6 fix
2 years ago
Alireza Azizi dea3de3b0c fix
2 years ago
Alireza Azizi 0e3119be6f fix
2 years ago
Alireza Azizi d156c44f81 fix
2 years ago
Alireza Azizi 5160316ad8 fix
2 years ago
Alireza Azizi 3fbbff05ec Merge branch 'master' of git.willaspace.com:WillaEngine-Project/WillaEngine
2 years ago
Alireza Azizi d7f86993dc fix
2 years ago
saeid b2ff2ce4ce fix
2 years ago
Alireza Azizi b8a3cf99aa fix update drone file
2 years ago
Alireza Azizi 1329c62200 fix
2 years ago
saeid 8d640032e5 fix
2 years ago
Alireza Azizi 2b14878998 fix
2 years ago
Alireza Azizi 6001a9abd8 fix
2 years ago
Alireza Azizi d4fcb7e2bc fix
2 years ago
Alireza Azizi 32e33e12e5 fix conflict
2 years ago
azizi ecaeb95de5 Update 'composer-prod.json'
2 years ago
saeid_01 ebb96fc3f5 Merge pull request 'Fixed validation message' (#152) from BE.test into dev
2 years ago
Mohammadreza Malekli 6e9803f6ba Fixed validation message
2 years ago
azizi 5a1121f889 feature: add worker create store product
2 years ago
Alireza Azizi 273eaaaf56 fix solve conflict
2 years ago
Alireza Azizi d20c599cde fix
2 years ago
azizi b79c13b3cf Update 'Jenkinsfile'
2 years ago
saeid 9a9dc60b7b fix seeder
2 years ago
saeid_01 633aff51c6 Merge pull request 'dev' (#151) from dev into master
2 years ago
saeid efc6264fdd feat add sentry
2 years ago
azizi 209fab69b6 Update '.drone.yml'
2 years ago
azizi 369712fe7e Update '.drone.yml'
2 years ago
saeid 23ef28994c fix: add global seeder
2 years ago
azizi 98cb49ea6b Update '.drone.yml'
2 years ago
Alireza Azizi be134af558 fix
2 years ago
Alireza Azizi ede5bcca7c fix
2 years ago
Alireza Azizi c75e76f2ca fix
2 years ago
Alireza Azizi 38e5e973bc fix
2 years ago
Alireza Azizi 916084dc45 fix
2 years ago
Alireza Azizi 37fb23da5c fix
2 years ago
Alireza Azizi bf445e9952 fix
2 years ago
Alireza Azizi 32510c74a7 fix
2 years ago
Alireza Azizi 37523f7f73 fix conflic and edit drone file
2 years ago
Alireza Azizi 1db81550e1 fix .drone
2 years ago
azizi 073419ed8b Update '.drone.yml'
2 years ago
Alireza Azizi 35fbcc4883 fix
2 years ago
Alireza Azizi 9b9bc446c7 fix
2 years ago
saeid_01 792aa30097 Update 'composer-staging.json'
2 years ago
azizi 7ce782b280 Update '.drone.yml'
2 years ago
azizi 0d02c71efa Update '.drone.yml'
2 years ago
azizi 8415d3905a Update '.drone.yml'
2 years ago
azizi 4eb072b653 Update '.drone.yml'
2 years ago
azizi 1439386522 Update '.drone.yml'
2 years ago
azizi a422e9971b Update '.drone.yml'
2 years ago
azizi 9c19dd844a Update '.drone.yml'
2 years ago
saeid_01 a0570fa149 Update '.drone.yml'
2 years ago
aliqasemi 262a0b79d4 Merge pull request 'BE.drone' (#150) from BE.drone into master
2 years ago
Ali Qasemi c9de905bc2 Merge remote-tracking branch 'origin/master' into BE.drone
2 years ago
Ali Qasemi 48afbc1b0a delete worker conf
2 years ago
Ali Qasemi 1acc9d3caf add drone
2 years ago
Alireza 76309a02d8 add supervisor worker
2 years ago
saeid c9b66064b7 fix
2 years ago
saeid e663bf9126 feat: add custom page for error 404
2 years ago
saeid eb793458e6 fix
2 years ago
farid 307e2eaf6f feat: add worker file
3 years ago
farid 5254a98f0b fix: remove cron command from drone file
3 years ago
farid 951d2f90be feat: merge dev into master
3 years ago
farid 1f4a2c5061 Merge branch 'dev'
3 years ago
farid a03cc9bdfd fix: conflict in gitignore file
3 years ago
farid e502435524 feat: update Dockerfile structure and minor change in drone file
3 years ago
Alireza Azizi a081af688b Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
Alireza Azizi 136cb025f1 add custom http test request
3 years ago
saeid 7b706e7bb5 fix
3 years ago
saeid 201f991dc6 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
saeid d301781312 fix:
3 years ago
f.saravi 0583d4c8af Update 'Dockerfile.nginx'
3 years ago
f.saravi 8f11c7587c Update 'Dockerfile.nginx'
3 years ago
f.saravi 790de962f4 Update '.drone.yml'
3 years ago
f.saravi 41e33e9a46 Update 'Dockerfile.staging'
3 years ago
f.saravi 1c57845c16 Update '.drone.yml'
3 years ago
f.saravi cb83460edd Update '.drone.yml'
3 years ago
f.saravi aebb816db5 Update '.drone.yml'
3 years ago
saeid_01 3007508443 Update 'Dockerfile.staging'
3 years ago
Saeid b72ea3d3cf Merge branch 'dev'
3 years ago
Saeid 653b1f54b5 fix
3 years ago
Saeid 82619d5d4c fix
3 years ago
saeid_01 7555732472 Update '.drone.yml'
3 years ago
saeid_01 068e21f8ea Update '.drone.yml'
3 years ago
saeid_01 e22211e6e8 Update '.drone.yml'
3 years ago
Alireza Azizi 8d8ba19f1c fix drone settings
3 years ago
Alireza Azizi 76c0de6b5e fix
3 years ago
Alireza Azizi 63a5bbc143 feat:add drone config
3 years ago
Alireza Azizi cbe5c3dd0c drone
3 years ago
Alireza Azizi 645852a6d6 drone
3 years ago
Alireza Azizi 5c6c919ba8 fix
3 years ago
Alireza Azizi 2b318b4ef7 fix
3 years ago
Alireza Azizi ffb0132ee1 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
Alireza Azizi 3f4e8b7170 add drone ci cofig file
3 years ago
farid 1ea91ff408 fix: add node installation command
3 years ago
farid 68d40f8f96 fix: dockerfile nginx
3 years ago
farid 08e959ad74 fix: change dockerfile staging root directory
3 years ago
farid ffba4b7e2a fix: ignore Jenkinsfile
3 years ago
farid 32a5cf0389 fix: change destination path in nginx dockerfile
3 years ago
farid a937bbf570 fix: dockerfile source address
3 years ago
farid eddc0958b6 fix: dockerfile alias name
3 years ago
farid 9830a8cc4d fix: change Dockerfile structure
3 years ago
farid b53b757d9d fix: update webpack staging file
3 years ago
farid c559443526 fix: Dockerfile.nginx file
3 years ago
farid 66f118fe98 fix: typo in Dockerfile.nginx
3 years ago
farid d0a06bd9eb fix: remove extra repositories in staging
3 years ago
farid c5eb32cc01 fix: remove extra repositories in staging
3 years ago
farid d246545d5d feat: update docker file
3 years ago
saeid d1fb36949b fix
3 years ago
Saeid ad860dd4cf fix
3 years ago
Saeid 8016196b9a fx
3 years ago
Saeid 1eedec92b5 fix
3 years ago
farid f6967fae4f fix: build staging in production
3 years ago
farid c94ed06f41 feat: add basic staging step in jenkins file
3 years ago
f.saravi 1622fd9083 Update 'Dockerfile'
3 years ago
azizi 6bac03e6fc Merge pull request 'Update '.editorconfig'' (#143) from dev into master
3 years ago
azizi e87dda977a Update '.editorconfig'
3 years ago
saeid_01 20b34ba512 Merge pull request 'feat: add translate' (#142) from dev into master
3 years ago
saeid 26ba4ae40c feat: add translate
3 years ago
azizi 67d7717653 Update 'Jenkinsfile'
3 years ago
saeid_01 348a71eb13 Merge pull request 'dev' (#139) from dev into master
3 years ago
saeid a96f639689 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
saeid a8fe7ea630 fix
3 years ago
azizi c5645d65a8 Merge pull request 'Update '.gitignore'' (#138) from dev into master
3 years ago
azizi 7f577d8ffc Update '.gitignore'
3 years ago
azizi 326a539988 Merge pull request 'Update 'app/Exceptions/Handler.php'' (#137) from dev into master
3 years ago
azizi aeafb60f0c Update 'app/Exceptions/Handler.php'
3 years ago
azizi b61f7a3ad8 Merge pull request 'Update 'app/Exceptions/Handler.php'' (#136) from dev into master
3 years ago
azizi 8213e289a7 Update 'app/Exceptions/Handler.php'
3 years ago
azizi 9fb850cf84 Merge pull request 'Update 'app/Console/Kernel.php'' (#135) from dev into master
3 years ago
azizi 766b63e61f Update 'app/Console/Kernel.php'
3 years ago
azizi 3e4618b8f6 Update '.gitignore'
3 years ago
f.saravi 3eb11a615f Merge pull request 'dev' (#134) from dev into master
3 years ago
farid 8f970edaf6 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
farid 0d4eade00a Merge branch 'master' of https://git.willaspace.com/WillaEngine-Project/WillaEngine
3 years ago
f.saravi 153b049f32 Update 'Dockerfile'
3 years ago
f.saravi 0a25211f5b Update 'Dockerfile'
3 years ago
f.saravi 28f7d12a8e Update 'Dockerfile'
3 years ago
farid acf3977b69 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
f.saravi 462237cb96 Update 'Dockerfile'
3 years ago
azizi 4c699ffdb0 Update '.gitattributes'
3 years ago
azizi 397008d1cc Update '.gitattributes'
3 years ago
saeid_01 b7c027015c Update 'Dockerfile'
3 years ago
saeid_01 6dd982b1e7 Update 'Dockerfile'
3 years ago
farid 35ce3f106d Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
azizi db952e98ab Merge pull request 'dev' (#133) from dev into master
3 years ago
azizi d2649936a3 Update '.gitignore'
3 years ago
farid 8b13ad6747 Merge branch 'master' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
saeid_01 acd6a9344c Update 'Dockerfile'
3 years ago
saeid_01 c011a954c8 Merge pull request 'Update 'Jenkinsfile'' (#132) from dev into master
3 years ago
saeid_01 457bdcfa23 Update 'Jenkinsfile'
3 years ago
f.saravi 310f22c0db Merge pull request 'fix: add max children in docker file' (#131) from dev into master
3 years ago
farid 151c7ab3be fix: add max children in docker file
3 years ago
f.saravi 27e7392f20 Merge pull request 'fix: add max children in docker file' (#129) from dev into master
3 years ago
farid c20f9a85ef fix: add max children in docker file
3 years ago
f.saravi c66518f80f Merge pull request 'fix: add max children in docker file' (#128) from dev into master
3 years ago
farid 612a15e4d8 fix: add max children in docker file
3 years ago
f.saravi 35adf80f4d Merge pull request 'Update 'readme.md'' (#127) from dev into master
3 years ago
f.saravi 25dd0810f6 Update 'readme.md'
3 years ago
saeid_01 21f4fc309f Merge pull request 'Update 'Dockerfile'' (#126) from dev into master
3 years ago
saeid_01 b22b70945c Update 'Dockerfile'
3 years ago
azizi d2da10fc51 Merge pull request 'Update 'app/Http/Middleware/VerifyCsrfToken.php'' (#125) from dev into master
3 years ago
azizi e2d9fa381d Update 'app/Http/Middleware/VerifyCsrfToken.php'
3 years ago
saeid_01 a078dc9fb5 Merge pull request 'Update 'Jenkinsfile'' (#124) from dev into master
3 years ago
saeid_01 f85fe35add Update 'Jenkinsfile'
3 years ago
saeid_01 f3996b632f Merge pull request 'dev' (#123) from dev into master
3 years ago
Saeid 76e6577700 fix: Home and composer
3 years ago
erfan d3b5bf4951 home update
3 years ago
saeid_01 3c2acccb2d Merge pull request 'dev' (#122) from dev into master
3 years ago
saeid 194eb7d9a0 remove composer-prod.json in gitignore
3 years ago
saeid 5a87d1b3ba remove composer-prod.json
3 years ago
f.saravi fe503f0084 Merge pull request 'fix: modify docker file for 413 error' (#121) from dev into master
3 years ago
farid 872a2c51a5 fix: modify docker file for 413 error
3 years ago
saeid_01 a5518bc1f9 Merge pull request 'Update 'composer-prod.json'' (#120) from dev into master
3 years ago
saeid_01 39322c2e3a Update 'composer-prod.json'
3 years ago
saeid_01 b9cc16ad1a Merge pull request 'Update 'Dockerfile'' (#119) from dev into master
3 years ago
saeid_01 e447f90c55 Update 'Dockerfile'
3 years ago
saeid_01 ec25d4d5cc Merge pull request 'Update 'composer-prod.json'' (#118) from dev into master
3 years ago
saeid_01 cedc81aad8 Update 'composer-prod.json'
3 years ago
saeid_01 72b1155f78 Merge pull request 'Update 'Dockerfile'' (#117) from dev into master
3 years ago
saeid_01 3dba51a441 Update 'Dockerfile'
3 years ago
saeid_01 a1cf27d6fa Merge pull request 'fix' (#116) from dev into master
3 years ago
saeid c77bc9d103 fix
3 years ago
saeid_01 ff9771f022 Merge pull request 'Update 'composer-prod.json'' (#115) from dev into master
3 years ago
saeid_01 0cf998327f Update 'composer-prod.json'
3 years ago
saeid_01 125d5548fa Merge pull request 'Update 'composer-prod.json'' (#114) from dev into master
3 years ago
saeid_01 03858113fd Update 'composer-prod.json'
3 years ago
saeid_01 9cd0a6ac61 Merge pull request 'Update 'routes/web.php'' (#113) from dev into master
3 years ago
saeid_01 8a50373446 Update 'routes/web.php'
3 years ago
Saeid 3e9dfa06f7 fix confilit
3 years ago
saeid_01 de999a4e20 Update 'routes/web.php'
3 years ago
saeid_01 c72414a7ab Update 'composer-prod.json'
3 years ago
saeid_01 da3b725923 Update 'webpack.mix.js'
3 years ago
saeid_01 fc0bfc3c2c Update 'webpack.mix.js'
3 years ago
saeid_01 0586256770 Update 'composer-prod.json'
3 years ago
saeid fbbe631de8 fix
3 years ago
saeid_01 c140f299f6 Update 'composer-prod.json'
3 years ago
farid 9130b8274b feat: add mew file storage
3 years ago
farid 2a135efc17 feat: add new database connection
3 years ago
saeid_01 24f77daec1 Update 'webpack.mix.js'
3 years ago
willaarts 3c8e5d289f fix
3 years ago
willaarts e831470936 fix
3 years ago
willaarts c44407344f Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
3 years ago
willaarts 0314337450 fix
3 years ago
saeid_01 937cd03d9f Merge pull request 'Update 'package.json'' (#111) from dev into master
3 years ago
saeid_01 f690759e21 Update 'package.json'
3 years ago
saeid_01 c08864ab1b Merge pull request 'Update 'package.json'' (#109) from dev into master
3 years ago
saeid_01 6fbe89b46c Update 'package.json'
3 years ago
saeid_01 25ee2bd9b7 Merge pull request 'dev' (#108) from dev into master
4 years ago
saeid_01 f52f531369 Merge pull request 'fix' (#107) from fix-seeder into dev
4 years ago
behmaram 742a4cdd23 fix
4 years ago
saeid_01 047422fcd5 Update 'webpack.mix.js'
4 years ago
saeid_01 8a33c69b44 Update 'composer-prod.json'
4 years ago
willaarts 38081714df web-builder
4 years ago
saeid_01 4852c547a2 Update 'app/Console/Kernel.php'
4 years ago
saeid_01 f4364aa4a1 Merge pull request 'dev' (#106) from dev into master
4 years ago
saeid 06cd5d1912 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
4 years ago
saeid 118979584f fix
4 years ago
saeid_01 66b5600e94 Merge pull request 'dev' (#105) from dev into master
4 years ago
saeid_01 359230f350 Update 'composer.json'
4 years ago
saeid_01 144df450cc Update 'composer-prod.json'
4 years ago
saeid_01 f60f14c591 Merge pull request 'fix media config' (#104) from BE.medialibrary-config into dev
4 years ago
behmaram 361b6c86a0 fix media config
4 years ago
saeid_01 74c3d7e5ef Merge pull request 'Update 'Jenkinsfile'' (#103) from dev into master
4 years ago
saeid_01 1b77c7c332 Update 'Jenkinsfile'
4 years ago
saeid_01 e1d61f5ff4 Merge pull request 'Update 'Jenkinsfile'' (#102) from dev into master
4 years ago
saeid_01 e51f5c4885 Update 'Jenkinsfile'
4 years ago
f.saravi 71a28bfa85 Merge pull request 'fix: change jenkins file' (#100) from dev into master
4 years ago
farid b78bf709f7 fix: change jenkins file
4 years ago
f.saravi a23ceb1634 Merge pull request 'fix: jenkine file' (#99) from dev into master
4 years ago
farid abcd82d1f0 fix: jenkine file
4 years ago
f.saravi 9ca04e4d83 Merge pull request 'fix: jenkine file' (#98) from dev into master
4 years ago
farid 0ef4dc6ae4 fix: jenkine file
4 years ago
f.saravi fd4fb3cecb Merge pull request 'fix: change docker file' (#97) from dev into master
4 years ago
farid fb3008d82b fix: change docker file
4 years ago
f.saravi 7f7407da70 Merge pull request 'dev' (#96) from dev into master
4 years ago
farid cecdb3f3c7 fix: change docker file
4 years ago
saeid_01 a1921f8eda Merge pull request 'BE.eventListenerPrivider' (#95) from BE.eventListenerPrivider into dev
4 years ago
farid 0e735bd9f3 fix: fix local composer structure
4 years ago
aliqasemi 22633fe61c edit on event lesent module
4 years ago
saeid d8fc09ea42 init
4 years ago
f.saravi a9ce6cf75c Merge pull request 'fix: add morphmap cache in dockerfile' (#94) from dev into master
4 years ago
farid 3bc9a6d005 fix: add morphmap cache in dockerfile
4 years ago
f.saravi 8e394867d3 Merge pull request 'fix: composer morphmap discovery' (#93) from dev into master
4 years ago
farid 4557fd2fc6 fix: composer morphmap discovery
4 years ago
f.saravi fbbd57d2d3 Merge pull request 'fix: cahnge composer script structure' (#92) from dev into master
4 years ago
farid 499c1d9026 fix: cahnge composer script structure
4 years ago
f.saravi 802d8a2a93 Merge pull request 'fix: add morphmap cache command in composer-prod.json file' (#91) from dev into master
4 years ago
farid 25fa20bf5a fix: add morphmap cache command in composer-prod.json file
4 years ago
f.saravi b25ca90263 Merge pull request 'dev' (#90) from dev into master
4 years ago
farid ff7a675ab5 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
4 years ago
farid caefdeca43 fix: add morphmap cache command in composer.json file
4 years ago
f.saravi 260b4da292 Merge pull request 'dev' (#89) from dev into master
4 years ago
f.saravi 042cd288d7 Merge pull request 'feat: create command businesses and users change column data' (#81) from BE.remove-column-business into dev
4 years ago
f.saravi 2ddcc80cf5 Merge pull request 'fix: docker config' (#88) from dev into master
4 years ago
farid 92dcf59345 fix: docker config
4 years ago
f.saravi 4f44241260 Merge pull request 'fix: some modification in Docker file' (#87) from dev into master
4 years ago
farid dc60247483 fix: some modification in Docker file
4 years ago
farid 652886987a fix: admin module
4 years ago
farid 6cf32225b1 fix: remove extra space
4 years ago
farid 85e30976bd merge with dev
4 years ago
farid a3963c4244 Merge branch 'dev'
4 years ago
farid a1e58f96cb feat: add production composer file
4 years ago
aliqasemi 6d3b86fe44 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
4 years ago
saeid d054bf2f11 fix conflit
4 years ago
saeid_01 d1b02f158b Update 'composer.json'
4 years ago
saeid_01 46654c96b7 Update 'webpack.mix.js'
4 years ago
Saeid dbac3cd5e5 merge
4 years ago
saeid_01 56e79cde14 Update '.dockerignore'
4 years ago
saeid_01 2d9ec0ee92 Merge pull request 'dev' (#83) from dev into master
4 years ago
Saeid 0bcbbe2b57 Merge branch 'dev' of https://git.willaspace.com/WillaEngine-Project/WillaEngine into dev
4 years ago
Saeid 43a038b0a7 merge
4 years ago
saeid_01 bf159c6b82 Update 'webpack.mix.js'
4 years ago
saeid_01 f31cefedc7 Merge pull request 'fix' (#82) from vee-validate4 into dev
4 years ago
saeid_01 f7af537f00 Merge pull request 'fix: vuex' (#80) from BE.fix-vuex into dev
4 years ago
Farid Saravi 08eba75f05 dockerignore
4 years ago
saeid 138b750ea6 fix
4 years ago
Azizi dd28b95f85 feat: create command businesses and users change column data
4 years ago
behmaram b3a4922e4f fix: vuex
4 years ago
f.saravi e2aa73971c Merge pull request 'merge dev to master' (#78) from dev into master
4 years ago
behmaram 32e959bd74 fix: mutation
4 years ago
saeid_01 d73a16aaa3 Merge pull request 'dev' (#75) from dev into master
4 years ago
saeid_01 c34c154338 Merge pull request 'dev' (#73) from dev into master
4 years ago
Farid Saravi 50f245c370 fix: jenkins
4 years ago
Farid Saravi 2e56e12fc8 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 e6915d9d6f Merge pull request 'dev' (#70) from dev into master
4 years ago
Farid Saravi 291a25c2bb Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 99aea73a98 Merge pull request 'fix Home Module' (#69) from dev into master
4 years ago
Farid Saravi fcd6ee3a3d Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 94214db4e9 Merge pull request 'Update 'resources/js/Home/views/AddModule.vue'' (#68) from dev into master
4 years ago
Farid Saravi 8c96452a88 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 9dcec2dd66 Merge pull request 'Update 'webpack.mix.js'' (#67) from dev into master
4 years ago
Farid Saravi bbc5890bfd Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 797ad0fabb Merge pull request 'Update 'composer.json'' (#66) from dev into master
4 years ago
Farid Saravi 86331b5fee Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 345cd1f0d2 Merge pull request 'dev' (#65) from dev into master
4 years ago
Farid Saravi 9ba6b44561 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 4eb6942f1d Merge pull request 'dev' (#64) from dev into master
4 years ago
Farid Saravi 644063da70 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
f.saravi a3ebfeb9a6 Merge pull request 'dev' (#63) from dev into master
4 years ago
Farid Saravi 9c1462c430 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 5dc72fed44 Merge pull request 'dev' (#62) from dev into master
4 years ago
Farid Saravi df58ae573f Merge remote-tracking branch 'refs/remotes/origin/master'
4 years ago
f.saravi 6fa1a1df98 Merge pull request 'fix: composer update in docker file' (#61) from dev into master
4 years ago
Farid Saravi 5cb8690c7b Merge remote-tracking branch 'refs/remotes/origin/master'
4 years ago
f.saravi 0553e8d3bc Merge pull request 'merge dev to master' (#60) from dev into master
4 years ago
Farid Saravi dd82258295 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
willaspace 194aa36fdf Update 'Jenkinsfile'
4 years ago
willaspace 703ed672c3 Update 'Jenkinsfile'
4 years ago
willaspace b2658142ae Update 'Jenkinsfile'
4 years ago
willaspace 9a4e4a2a91 Update 'Jenkinsfile'
4 years ago
willaspace 1475dcb47d Update 'Jenkinsfile'
4 years ago
willaspace 36151cb1a6 Update 'Jenkinsfile'
4 years ago
willaspace 7dd92de851 Update 'Jenkinsfile'
4 years ago
Farid Saravi 118f1c733e Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 12936e0bfd Merge pull request 'dev' (#57) from dev into master
4 years ago
sajjad d49e99f76c Update 'Jenkinsfile'
4 years ago
sajjad e3c79ba5b7 Update 'Jenkinsfile'
4 years ago
sajjad 2eb2b5c9ff Update 'Jenkinsfile'
4 years ago
sajjad d9b2f21523 add BuildDocker to build
4 years ago
admin 2f838d2ffb Added Jenkinsfile
4 years ago
admin a0a389d458 Added Jenkinsfile
4 years ago
admin ad3ba24ba7 Added Jenkinsfile
4 years ago
willaspace 9ecc191658 remove copy .env.prod from Dockerfile
4 years ago
f.saravi ccfdd293a1 Merge pull request 'dev' (#56) from dev into master
4 years ago
f.saravi 120871e4d8 Merge pull request 'change composer' (#55) from dev into master
4 years ago
f.saravi 652f5eba75 Merge pull request 'dev' (#54) from dev into master
4 years ago
f.saravi 467b11d8cc Merge pull request 'merge dev to master' (#53) from dev into master
4 years ago
admin 588f04f45f Added Jenkinsfile
4 years ago
Farid Saravi 5598b1ede4 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 4ab570a14c Merge pull request 'dev' (#50) from dev into master
4 years ago
Farid Saravi 9813c5d0d4 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 1e1e714c97 Merge pull request 'dev' (#45) from dev into master
4 years ago
Farid Saravi 8ace9799a5 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
saeid_01 5b024c3d78 Merge pull request 'fix: moment' (#44) from dev into master
4 years ago
Farid Saravi 64e15b95d7 conflit
4 years ago
saeid_01 4e0b7600be Merge pull request 'dev' (#43) from dev into master
4 years ago
Farid Saravi 98fcf34d26 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi 60f68af90f merge
4 years ago
Farid Saravi 1402e44e57 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi ce56a8d45b Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi 2d6a531bdb Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi cec26c3f9f Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi bb9e133408 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi 4e7261d93d add composer.lock
4 years ago
Farid Saravi ed23005212 Merge branch 'master' of /home/administrator/utils/gitea/git/repositories/willaengine-project/willaengine
4 years ago
Farid Saravi bffc7e9621 confilit
4 years ago
Farid Saravi 7d40e8943a delete package
4 years ago

@ -2,3 +2,4 @@
vendor
node_modules
modules
composer.lock

@ -0,0 +1,53 @@
kind: pipeline
type: exec
name: default
steps:
- name: build to production
commands:
- docker build -t registry.willaspace.com/willaspace/willaengine-test:latest --build-arg COMPOSER_FILE_NAME=composer-prod .
when:
branch:
- master
- name: deploy to production
commands:
- cd /apps/willaengine/ ; docker-compose up -d
- docker exec willaengine-test bash -c "COMPOSER=composer-prod.json composer update"
- docker exec willaengine-test php artisan config:cache
- docker exec willaengine-test php artisan route:cache
# - docker exec willaengine_worker bash -c "COMPOSER=composer-prod.json composer update"
# - docker exec willaengine_worker service supervisor start
# - docker network connect nginx_default willaengine
when:
branch:
- master
- name: build to staging
commands:
- docker build -t registry.willaspace.com/willaspace/willaengine-staging:latest --build-arg COMPOSER_FILE_NAME=composer-staging -f Dockerfile.staging .
- docker build -t registry.willaspace.com/willaspace/willaengine-staging-nginx:latest -f Dockerfile.nginx .
when:
branch:
- dev
- name: deploy to staging
commands:
- cd /apps/willaengine-staging/ ; docker-compose up -d
- docker exec willaengine-staging_php bash -c "COMPOSER=composer-staging.json composer update"
- docker exec willaengine-staging_php bash -c "php artisan route:cache"
- docker exec willaengine-staging_php bash -c "php artisan config:cache"
- docker exec willaengine-staging_worker bash -c "COMPOSER=composer-staging.json composer update"
- docker exec willaengine-staging_worker service supervisor start
- docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/finance/database/migrations --force
- docker exec willaengine-staging_php php artisan migrate --path=vendor/wm/store/database/migrations --force
when:
branch:
- dev
trigger:
branch:
- master
- dev

1
.gitattributes vendored

@ -3,3 +3,4 @@
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore

4
.gitignore vendored

@ -2,7 +2,9 @@
/development/
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,laravel,vuejs,phpstorm
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,laravel,vuejs,phpstorm
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,laravel,vuejs, phpstorm
resources/views/sites
### Laravel ###
/vendor/

@ -0,0 +1,38 @@
#!/bin/bash
# rsync script
git pull origin master
cd modules
for f in *
do
cd $f && git pull origin master && cd ..
done
cd ..
npm install
rm -r /home/administrator/apps/willaengine/public/js/vue
npm run prod
rm -r /home/administrator/apps/nginx/www/willaengine/public/js/vue
rm -r /home/administrator/apps/nginx/www/willamall/public/js/vue
rm -r /home/administrator/apps/nginx/www/willaarts/public/js/vue
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willaengine/public/js/
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willamall/public/js/
cp -r /home/administrator/apps/willaengine/public/js/vue /home/administrator/apps/nginx/www/willaarts/public/js/
cp /home/administrator/apps/willaengine/public/mix-manifest.json /home/administrator/apps/nginx/www/willaengine/public/
cp /home/administrator/apps/willaengine/public/mix-manifest.json /home/administrator/apps/nginx/www/willaarts/public/
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willaarts/public
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willamall/public
sudo chown -R www-data:www-data /home/administrator/apps/nginx/www/willaengine

@ -1,23 +1,28 @@
FROM dfs1368/laravel-php-fpm:7.4
FROM willaengine/standard-laravel:7.4
WORKDIR /var/www
ARG COMPOSER_FILE_NAME=composer
RUN apt install -y sendmail libpng-dev
RUN docker-php-ext-install gd
RUN echo 'memory_limit = -1' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
WORKDIR /var/www/html
COPY database /var/www/database
COPY composer.* /var/www/
#####################################
# Composer:
#####################################
RUN composer clearcache && composer update --no-scripts
COPY database /var/www/html/database
COPY . /var/www
COPY $COMPOSER_FILE_NAME.* /var/www/html/
RUN COMPOSER=$COMPOSER_FILE_NAME.json composer install --no-scripts
COPY . /var/www/html
RUN chown -R www-data:www-data \
/var/www/public \
/var/www/storage \
/var/www/bootstrap/cache
/var/www/html/public \
/var/www/html/storage \
/var/www/html/bootstrap/cache \
/var/www/.ssh \
/var/www/html/storage/letsencrypt && \
chmod 755 /var/www/html/storage/letsencrypt/Bash/auth-hook.sh
RUN mv .env.prod .env
RUN php artisan optimize
RUN php artisan morphmap:cache

@ -0,0 +1,3 @@
FROM nginx:1.21.1
COPY public /var/www/html/public

@ -0,0 +1,6 @@
FROM fsaravi/standard-laravel:7.4
WORKDIR /var/www/html
RUN php artisan morphmap:cache

42
Jenkinsfile vendored

@ -0,0 +1,42 @@
pipeline {
agent {
node {
label 'willa'
}
}
stages {
stage('build') {
when {
branch 'master'
}
steps {
sh 'cd /home/administrator/apps/${IMAGE_NAME}/;docker build -t registry.willaspace.com/willaspace/${IMAGE_NAME}:latest .'
sh 'cd /home/administrator/apps/${IMAGE_NAME}/;sudo ./BuildDocker'
}
}
stage('deploy to production') {
when {
branch 'master'
}
steps {
sh 'cd /home/administrator/apps/${IMAGE_NAME}/ ; docker-compose up -d'
sh 'docker exec willaengine bash -c "COMPOSER=composer-prod.json composer update"'
sh 'docker exec willaengine service cron start'
sh 'docker exec willaengine php artisan config:cache'
sh 'docker exec willaengine php artisan route:cache'
}
}
stage('deploy to staging') {
when {
branch 'dev'
}
steps {
sh 'echo ${IMAGE_NAME}-staging comming soon ...'
}
}
}
environment {
IMAGE_NAME = 'willaengine'
}
}

@ -0,0 +1,85 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use WM\Core\Models\Business;
use WM\Core\Models\User;
class UserChangeInformation extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'transport:user';
/**
* The console command description.
*
* @var string
*/
protected $description = 'transport users';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
private function firstNameLengthUpdate(User $user)
{
$fistName = $user->first_name;
$fistNameLength = strlen(utf8_decode($fistName));
$user->update([
'first_name_length' => $fistNameLength
]);
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$users = User::all();
foreach ($users as $user) {
$business = Business::find($user->business_id);
if (!is_null($business)) {
if ($business->user_id == $user->id) {
$this->firstNameLengthUpdate($user);
$business->user()->attach($user->id, [
'responsibility' => $user->responsibility,
'is_owner' => 1
]);
$this->info("add and update user : $user->id");
} else {
$this->firstNameLengthUpdate($user);
$business->user()->attach($user->id, [
'responsibility' => $user->responsibility
]);
$this->info("add and update user : $user->id");
}
}
}
}
}

@ -26,8 +26,10 @@ class Kernel extends ConsoleKernel
{
$schedule->command('today:schedule')->daily();
$schedule->command('today:run')->everyMinute();
$schedule->command('sms:update:status rahyab')->everyTwoHours();
$schedule->command('domain:update_ssl_expiry_date')->daily(); # update SSL expired_at
$schedule->command('domain:update_domain_expiry_date')->daily(); # update domain expired_at
$schedule->command('make:sitemap')->daily(); # make sitemap
}
/**

@ -2,10 +2,12 @@
namespace App\Exceptions;
use Throwable;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;
use WM\Core\Exceptions\HasRelationException;
use WM\Core\Exceptions\ValidationErrorException;
use WM\Core\Services\Responser;
use WM\WebBuilder\Exceptions\SiteBannedException;
class Handler extends ExceptionHandler
{
@ -31,7 +33,7 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
* @param \Throwable $exception
* @param \Throwable $exception
* @return void
*/
public function report(Throwable $exception)
@ -46,15 +48,24 @@ class Handler extends ExceptionHandler
/**
* Render an exception into an HTTP response.
*
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Illuminate\Http\Response
*/
public function render($request, Throwable $exception)
{
if ($exception instanceof ValidationErrorException) {
return response()->json(Responser::error($exception->getMessageBody(), $exception->getMessageInfo()), 422);
} elseif ($exception instanceof SiteBannedException) {
return response()->view('webBuilder::errors.template_disabled', ['error' => 'business banned']);
} elseif ($exception instanceof HasRelationException) {
return response()->json(Responser::error([$exception->getMessage()]), 422);
} elseif ($this->isHttpException($exception)) {
if ($exception->getStatusCode() == 404 and in_array("web",$request->route()->middleware())) {
return response()->view('webBuilder::errors.404', [], 404);
}
}
return parent::render($request, $exception);
}
}

@ -19,6 +19,6 @@ class VerifyCsrfToken extends Middleware
* @var array
*/
protected $except = [
//
'/verify-payment'
];
}

@ -0,0 +1,168 @@
{
"name": "willaengine/laravel",
"type": "project",
"description": "The WillaEngine Applications.",
"keywords": [
"framework",
"laravel",
"WillaEngine"
],
"license": "MIT",
"require": {
"php": "^7.4",
"coraxster/flysystem-aws-s3-v3-minio": "^1.0",
"fideloper/proxy": "^4.0",
"io-developer/php-whois": "^4.0",
"kalnoy/nestedset": "^6.0",
"laravel/framework": "^8.0",
"laravel/passport": "^10",
"laravel/tinker": "^2.0",
"maatwebsite/excel": "^3.1",
"owen-it/laravel-auditing": "^13.5",
"sentry/sentry-laravel": "^2.3",
"silber/bouncer": "v1.0.0-rc.10",
"spatie/laravel-medialibrary": "^8.0.0",
"wm/admin": "dev-master",
"wm/app-management": "dev-master",
"wm/blog": "dev-master",
"wm/common": "dev-master",
"wm/contact-us": "dev-master",
"wm/core": "dev-master",
"wm/crm": "dev-master",
"wm/finance": "dev-master",
"wm/lms": "dev-master",
"wm/notification": "dev-master",
"wm/portfolio": "dev-master",
"wm/product": "dev-master",
"wm/roll-call": "dev-master",
"wm/service": "dev-master",
"wm/service-store": "dev-master",
"wm/store": "dev-master",
"wm/web-builder": "dev-master",
"zircote/swagger-php": "^3.0"
},
"provide": {
"ext-imagick": "*"
},
"require-dev": {
"facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan morphmap:cache"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"repositories": [
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/crm.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/common.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/core.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/blog.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/portfolio.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/product.git"
},
{
c "type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/service.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/store.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/notification.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/roll-call.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/app-management.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/web-builder.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/finance.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/service-store.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/admin.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/lms.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/contact-us.git"
}
]
}

@ -0,0 +1,166 @@
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.4",
"coraxster/flysystem-aws-s3-v3-minio": "^1.0",
"fideloper/proxy": "^4.0",
"laravel/framework": "^8.0",
"laravel/passport": "^10",
"laravel/tinker": "^2.0",
"maatwebsite/excel": "^3.1",
"matthiasmullie/minify": "^1.3",
"kalnoy/nestedset": "^6.0",
"sentry/sentry-laravel": "^2.3",
"spatie/laravel-medialibrary": "^8.0.0",
"io-developer/php-whois": "^4.0",
"silber/bouncer": "v1.0.0-rc.10",
"wm/blog": "dev-dev",
"wm/common": "dev-dev",
"wm/core": "dev-dev",
"wm/crm": "dev-dev",
"wm/portfolio": "dev-dev",
"wm/product": "dev-dev",
"wm/service": "dev-dev",
"wm/store": "dev-dev",
"wm/finance": "dev-dev",
"wm/admin": "dev-dev",
"wm/web-builder": "dev-dev",
"wm/app-management": "dev-dev",
"wm/notification": "dev-dev",
"wm/roll-call": "dev-dev",
"wm/lms": "dev-dev",
"wm/service-store": "dev-dev",
"predis/predis": "^1.1",
"wm/contact-us": "dev-dev",
"zircote/swagger-php": "^3.0"
},
"provide": {
"ext-imagick": "*"
},
"require-dev": {
"facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi",
"@php artisan morphmap:cache"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
},
"repositories": [
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/crm.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/common.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/core.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/blog.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/portfolio.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/product.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/service.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/store.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/notification.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/roll-call.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/app-management.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/web-builder.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/finance.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/service-store.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/admin.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/lms.git"
},
{
"type": "vcs",
"url": "git@git.willaspace.com:WillaEngine-Project/contact-us.git"
}
]
}

@ -11,22 +11,31 @@
"php": "^7.4",
"coraxster/flysystem-aws-s3-v3-minio": "^1.0",
"fideloper/proxy": "^4.0",
"io-developer/php-whois": "^4.0",
"kalnoy/nestedset": "^6.0",
"laravel/framework": "^8.0",
"laravel/passport": "^10",
"laravel/tinker": "^2.0",
"maatwebsite/excel": "^3.1",
"nestedset/willaarts": "^5.0.7",
"matthiasmullie/minify": "^1.3",
"owen-it/laravel-auditing": "^13.0",
"predis/predis": "^1.1",
"sentry/sentry-laravel": "^2.3",
"silber/bouncer": "v1.0.0-rc.10",
"spatie/laravel-medialibrary": "^8.0.0",
"io-developer/php-whois": "^4.0",
"wm/admin": "dev-master",
"wm/blog": "dev-master",
"wm/common": "dev-master",
"wm/core": "dev-master",
"wm/crm": "dev-master",
"wm/finance": "dev-master",
"wm/notification": "dev-master",
"wm/portfolio": "dev-master",
"wm/product": "dev-master",
"wm/roll-call": "dev-master",
"wm/service": "dev-master",
"wm/store": "dev-master",
"wm/web-builder": "dev-master",
"zircote/swagger-php": "^3.0"
},
"provide": {
@ -69,7 +78,8 @@
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
"@php artisan package:discover --ansi",
"@php artisan morphmap:cache"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
@ -81,40 +91,56 @@
"repositories": [
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/crm.git"
"type": "path",
"url": "./modules/wm-crm"
},
{
"type": "path",
"url": "./modules/wm-common"
},
{
"type": "path",
"url": "./modules/wm-core"
},
{
"type": "path",
"url": "./modules/wm-blog"
},
{
"type": "path",
"url": "./modules/wm-portfolio"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/common.git"
"type": "path",
"url": "./modules/wm-product"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/core.git"
"type": "path",
"url": "./modules/wm-service"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/blog.git"
"type": "path",
"url": "./modules/wm-store"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/portfolio.git"
"type": "path",
"url": "./modules/wm-notification"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/product.git"
"type": "path",
"url": "./modules/wm-roll-call"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/service.git"
"type": "path",
"url": "./modules/wm-web-builder"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/store.git"
"type": "path",
"url": "./modules/wm-finance"
},
{
"type": "vcs",
"url": "https://58848959365c8b792ba52b7552230260bddd9762@git.willaspace.com/WillaEngine-Project/admin.git"
"type": "path",
"url": "./modules/wm-admin"
}
]
}

12272
composer.lock generated

File diff suppressed because it is too large Load Diff

@ -0,0 +1,52 @@
<?php
return [
/*
* If set to false, no activities will be saved to the database.
*/
'enabled' => env('ACTIVITY_LOGGER_ENABLED', true),
/*
* When the clean-command is executed, all recording activities older than
* the number of days specified here will be deleted.
*/
'delete_records_older_than_days' => 365,
/*
* If no log name is passed to the activity() helper
* we use this default log name.
*/
'default_log_name' => 'default',
/*
* You can specify an auth driver here that gets user models.
* If this is null we'll use the default Laravel auth driver.
*/
'default_auth_driver' => null,
/*
* If set to true, the subject returns soft deleted models.
*/
'subject_returns_soft_deleted_models' => false,
/*
* This model will be used to log activity.
* It should be implements the Spatie\Activitylog\Contracts\Activity interface
* and extend Illuminate\Database\Eloquent\Model.
*/
'activity_model' => \Spatie\Activitylog\Models\Activity::class,
/*
* This is the name of the table that will be created by the migration and
* used by the Activity model shipped with this package.
*/
'table_name' => 'activity_log',
/*
* This is the database connection that will be used by the migration and
* the Activity model shipped with this package. In case it's not set
* Laravel database.default will be used instead.
*/
'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'),
];

@ -0,0 +1,171 @@
<?php
return [
'enabled' => env('AUDITING_ENABLED', true),
/*
|--------------------------------------------------------------------------
| Audit Implementation
|--------------------------------------------------------------------------
|
| Define which Audit model implementation should be used.
|
*/
'implementation' => OwenIt\Auditing\Models\Audit::class,
/*
|--------------------------------------------------------------------------
| User Morph prefix & Guards
|--------------------------------------------------------------------------
|
| Define the morph prefix and authentication guards for the User resolver.
|
*/
'user' => [
'morph_prefix' => 'user',
'guards' => [
'web',
'api',
'apicore'
],
'resolver' => OwenIt\Auditing\Resolvers\UserResolver::class
],
/*
|--------------------------------------------------------------------------
| Audit Resolvers
|--------------------------------------------------------------------------
|
| Define the User, IP Address, User Agent and URL resolver implementations.
|
*/
'resolvers' => [
'ip_address' => OwenIt\Auditing\Resolvers\IpAddressResolver::class,
'user_agent' => OwenIt\Auditing\Resolvers\UserAgentResolver::class,
'url' => OwenIt\Auditing\Resolvers\UrlResolver::class,
'business_id'=> WM\Common\Services\Audit\BusinessResolver::class,
],
/*
|--------------------------------------------------------------------------
| Audit Events
|--------------------------------------------------------------------------
|
| The Eloquent events that trigger an Audit.
|
*/
'events' => [
'created',
'updated',
'deleted',
'restored'
],
/*
|--------------------------------------------------------------------------
| Strict Mode
|--------------------------------------------------------------------------
|
| Enable the strict mode when auditing?
|
*/
'strict' => false,
/*
|--------------------------------------------------------------------------
| Global exclude
|--------------------------------------------------------------------------
|
| Have something you always want to exclude by default? - add it here.
| Note that this is overwritten (not merged) with local exclude
|
*/
'exclude' => [],
/*
|--------------------------------------------------------------------------
| Empty Values
|--------------------------------------------------------------------------
|
| Should Audit records be stored when the recorded old_values & new_values
| are both empty?
|
| Some events may be empty on purpose. Use allowed_empty_values to exclude
| those from the empty values check. For example when auditing
| model retrieved events which will never have new and old values.
|
|
*/
'empty_values' => true,
'allowed_empty_values' => [
'retrieved'
],
/*
|--------------------------------------------------------------------------
| Audit Timestamps
|--------------------------------------------------------------------------
|
| Should the created_at, updated_at and deleted_at timestamps be audited?
|
*/
'timestamps' => false,
/*
|--------------------------------------------------------------------------
| Audit Threshold
|--------------------------------------------------------------------------
|
| Specify a threshold for the amount of Audit records a model can have.
| Zero means no limit.
|
*/
'threshold' => 0,
/*
|--------------------------------------------------------------------------
| Audit Driver
|--------------------------------------------------------------------------
|
| The default audit driver used to keep track of changes.
|
*/
'driver' => 'database',
/*
|--------------------------------------------------------------------------
| Audit Driver Configurations
|--------------------------------------------------------------------------
|
| Available audit drivers and respective configurations.
|
*/
'drivers' => [
'database' => [
'table' => 'audits',
'connection' => null,
],
],
/*
|--------------------------------------------------------------------------
| Audit Console
|--------------------------------------------------------------------------
|
| Whether console events should be audited (eg. php artisan db:seed).
|
*/
'console' => true,
];

@ -91,6 +91,14 @@ return [
'prefix_indexes' => true,
],
'site' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
],
/*
@ -119,7 +127,7 @@ return [
'redis' => [
'client' => env('REDIS_CLIENT', 'phpredis'),
'client' => env('REDIS_CLIENT', 'predis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),

@ -68,7 +68,14 @@ return [
'media_dev' => [
'driver' => 'local',
'root' => public_path(),
'url' => '',
'url' => env('APP_URL').'/',
'visibility' => 'public'
],
'site' => [
'driver' => 'local',
'root' => resource_path('views'),
'url' => env('APP_URL').'/',
'visibility' => 'public'
],

@ -99,6 +99,11 @@ return [
'emergency' => [
'path' => storage_path('logs/laravel.log'),
],
'sentry' => [
'driver' => 'sentry',
'level' => 'debug',
'bubble' => true,
],
],
];

@ -170,5 +170,5 @@ return [
'generate_responsive_images' => Spatie\MediaLibrary\ResponsiveImages\Jobs\GenerateResponsiveImagesJob::class,
],
'wm-cdn' => 'https://cdn.willaspace.com',
'wm-cdn' => 'https://cdn.willaspace.com/static.willaengine',
];

@ -12,15 +12,12 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
$this->call(UserSeeder::class);
$this->call(BusinessSeeder::class);
$this->call(CategorySeeder::class);
$this->call(CitySeeder::class);
$this->call(DistrictSeeder::class);
$this->call(DomainSeeder::class);
$this->call(HelpSeeder::class);
$this->call(ModuleSeeder::class);
$this->call(PermissionCategorySeeder::class);
$this->call(RoleSeeder::class);
$this->call(CoreSeeder::class);
$this->call(CommonSeeder::class);
$this->call(CRMSeeder::class);
$this->call(ProductSeeder::class);
$this->call(StoreSeeder::class);
$this->call(ServiceSeeder::class);
$this->call(FinanceSeeder::class);
}
}

9108
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -2,89 +2,69 @@
"private": true,
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=webpack.config.js"
"development": "mix",
"staging": "npm run production -- --mix-config=webpack.mix.staging",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production -- --mix-config=webpack.mix.production",
"production": "mix --production"
},
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^12.4.0",
"@ckeditor/ckeditor5-build-decoupled-document": "^16.0.0",
"@ckeditor/ckeditor5-font": "^16.0.0",
"@ckeditor/ckeditor5-vue": "^1.0.1",
"@fortawesome/fontawesome-free": "^5.5.0",
"@riophae/vue-treeselect": "^0.4.0",
"@tinymce/tinymce-vue": "^3.0.1",
"ajv": "^6.10.0",
"apexcharts": "^3.8.3",
"apollo-boost": "^0.4.3",
"apollo-cache-inmemory": "^1.6.2",
"apollo-link-context": "^1.0.18",
"axios": "^0.18.1",
"apexcharts": "^3.27.1",
"axios": "^0.21.1",
"babel-polyfill": "^6.26.0",
"bootstrap": "^4.3.1",
"bootstrap-select": "^1.13.3",
"bootstrap-v4-rtl": "^4.1.1-0",
"bootstrap-vue": "^2.0.0-rc.19",
"chart.js": "^2.7.3",
"graphql": "^14.4.2",
"graphql-tag": "^2.10.1",
"codemirror": "^5.60.0",
"dedent": "^0.7.0",
"fslightbox-vue": "^1.2.0",
"izitoast": "^1.4.0",
"jalali-moment": "^3.3.3",
"loadash": "^1.0.0",
"moment": "^2.29.1",
"moment-jalaali": "^0.9.2",
"object-to-formdata": "^2.1.2",
"postcss-loader": "^3.0.0",
"prismjs": "^1.21.0",
"raw-loader": "^0.5.1",
"v-mask": "^2.2.3",
"vee-validate": "^2.2.15",
"quill": "^1.3.7",
"vee-validate": "^3.4.10",
"vue-advanced-cropper": "^0.14.1",
"vue-apexcharts": "^1.4.0",
"vue-apollo": "^3.0.0-alpha.3",
"vue-apexcharts": "^1.6.1",
"vue-chartjs": "^3.4.0",
"vue-ckeditor5": "^0.4.1",
"vue-cropperjs": "^4.0.1",
"vue-codemirror": "^4.0.6",
"vue-color": "^2.8.1",
"vue-dialog-drag": "^0.1.29",
"vue-directive-tooltip": "^1.6.3",
"vue-gallery": "^2.0.1",
"vue-jalali-moment": "^1.0.0",
"vue-js-toggle-button": "^1.3.3",
"vue-masonry-wall": "^0.3.2",
"vue-moment": "^4.1.0",
"vue-persian-datetime-picker": "^2.4.1",
"vue-persian-datetime-picker": "^2.6.1",
"vue-prism-editor": "^1.2.2",
"vue-quill-editor": "^3.0.6",
"vue-range-component": "^1.0.3",
"vue-router": "^3.0.2",
"vue-scroll-reveal": "^1.0.11",
"vue-the-mask": "^0.11.1",
"vue-select": "^3.11.2",
"vue-tinymce-editor": "^1.6.2",
"vue2-dropzone": "^3.6.0",
"vuetify": "^2.3.17"
"vuetify": "^2.5.4",
"willatoast": "^1.1.1"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.6.2",
"@ckeditor/ckeditor5-alignment": "^16.0.0",
"@mdi/font": "^3.9.97",
"cross-env": "^5.1",
"deepmerge": "^4.0.0",
"fibers": "^4.0.1",
"jquery": "^3.5.1",
"laravel-mix": "^5.0.9",
"material-design-icons-iconfont": "^4.0.3",
"node-sass": "^4.14.1",
"@babel/preset-env": "^7.14.5",
"cross-env": "^5.2.1",
"laravel-mix": "^6.0.24",
"minimist": "^1.2.5",
"node-sass": "^6.0.0",
"popper.js": "^2.0.0-next.4",
"pug": "^2.0.3",
"pug-loader": "^2.4.0",
"pug-plain-loader": "^1.0.0",
"sass": "^1.22.12",
"sass-loader": "^7.3.1",
"ts-loader": "^8.0.11",
"typescript": "^4.1.2",
"vue": "^2.6.10",
"sass": "^1.35.1",
"sass-loader": "^12.1.0",
"vue": "^2.6.14",
"vue-loader": "^15.9.7",
"vue-masonry-css": "^1.0.3",
"vue-meta": "^1.5.2",
"vue-resource": "^1.5.1",
"vue-template-compiler": "^2.6.10",
"vue-template-compiler": "^2.6.14",
"vuex": "^3.0.1",
"vuex-router-sync": "^5.0.0"
}

@ -66,6 +66,6 @@ or generate your own password by https://bcrypt-generator.com/
## Composer Section:
1. please install and restart vscode
1. add to environment in path in windows
2. add to environment in path in windows
good luck

@ -1,7 +1,7 @@
import { Paginate, Sort } from '@Global/services/storage.|-module-|';
const |-MODULE-| = '|-module-|';
const |-Module-|Paginate = {
const |-module-|Paginate = {
get() {
return Paginate.get(|-MODULE-|);
},
@ -39,4 +39,4 @@ const SortPaginate = {
}
export { |-Module-|Paginate, SortPaginate }
export { |-module-|Paginate, SortPaginate }

@ -9,6 +9,5 @@ export default {
isFiltered|-Module-|: state =>state.is_filtered,
getFilter|-Module-|: state =>state.filter,
get|-Module-|Loading: state => state.loading,
get|-Module-|Selected: state => state.selected,
};

@ -1,10 +1,9 @@
export default {
get|-Module-|s: state => state.|-module-|_list,
get|-Module-|: state => product => state.product_list.find(item => item.id == |-module-|),
get|-Module-|Loading: state => state.loading,
get|-Module-|Pagination: state => state.pagination,
getRowsPerPageItems: state => state.rowsPerPageItems,
get|-Module-|Selected: state => state.selected,
get|-Module-|Selected: state => state.|-module-|_selected,
isFiltered|-Module-|: state => state.is_filtered,
};

@ -6,33 +6,35 @@ export default {
},
UPDATE_|-MODULE-|(state, |-module-|) {
const index = state.|-module-|.findIndex(x => x.id === |-module-|.id);
|-module-| = {...state.|-module-|[index], ...|-module-|};
Vue.set(state.|-module-|, index, |-module-|);
const index = state.|-module-|_list.findIndex(x => x.id === |-module-|.id);
|-module-| = {...state.|-module-|_list[index], ...|-module-|};
Vue.set(state.|-module-|_list, index, |-module-|);
},
SET_|-MODULE-|_PAGINATION(state, pagination) {
Vue.set(state, "pagination", pagination);
Vue.set(state, "pagination", {...state.pagination, ...pagination});
//|-module-|Paginate.save(pagination);
},
REMOVE_|-MODULE-|(state, id) {
const Index = state.|-module-|.findIndex(x => x.id === id);
const Index = state.|-module-|_list.findIndex(x => x.id === id);
const selectedIndex = state.|-module-|_selected.findIndex(x => x.id === id);
Vue.delete(state.|-module-|, Index);
Vue.delete(state.|-module-|_list, Index);
Vue.delete(state.|-module-|_selected, selectedIndex);
Vue.set(state.pagination, 'itemsLength', state.pagination.itemsLength - 1);
Vue.set(state.pagination, 'pageStop', state.pagination.pageStop - 1);
},
ADD_|-MODULE-|(state, |-module-|) {
state.|-module-|.unshift(|-module-|);
Vue.set(state, '|-module-|', state.|-module-|);
state.|-module-|_list.unshift(|-module-|);
Vue.set(state, '|-module-|_list', state.|-module-|_list);
Vue.set(state.pagination, 'itemsLength', state.pagination.itemsLength + 1);
Vue.set(state.pagination, 'pageStop', state.pagination.pageStop + 1);
},
ADD_|-MODULE-|_SELECTED(state, |-module-|Id) {
const |-module-| = state.|-module-|.find(x => x.id === |-module-|Id);
const |-module-| = state.|-module-|_list.find(x => x.id === |-module-|Id);
Vue.set(state.|-module-|_selected, state.|-module-|_selected.length, |-module-|);
},
@ -41,6 +43,6 @@ export default {
},
SET_LOADING(state, value) {
Vue.set(state, 'loading', value);
Vue.set(state, 'loading', value);
}
};

@ -1,49 +1,49 @@
<template>
<v-app>
<div id="app" class="we-dark">
<wm-background C1="fff" C2="f1f1f1" C3="fff"/>
<app-menu/>
<v-main>
<v-container fluid class="Login">
<div class="Tile">
<router-view/>
<!-- <wm-tiles-layout></wm-tiles-layout> -->
</div>
</v-container>
</v-main>
</div>
</v-app>
<v-app>
<div id="app" class="we-dark">
<wm-background C1="fff" C2="f1f1f1" C3="fff"/>
<app-menu/>
<v-main>
<v-container fluid class="Login">
<div class="Tile">
<router-view/>
</div>
</v-container>
</v-main>
</div>
</v-app>
</template>
<script>
import Background from "@Global/components/Body/Backgrounds/Gradient-CSS";
import Menu from "@Global/components/Drawer/SideBar";
import { mapMutations } from "vuex";
import Background from "@Global/components/Body/Backgrounds/Gradient-CSS";
import Menu from "@Global/components/Drawer/SideBar";
import {mapMutations} from "vuex";
export default {
components: {
"wm-background": Background,
appMenu: Menu
},
methods: {
...mapMutations("common", ["SET_CURRENT_MODULE"])
},
created() {
this.SET_CURRENT_MODULE("");
}
};
export default {
components: {
"wm-background": Background,
appMenu: Menu
},
methods: {
...mapMutations("common", ["SET_CURRENT_MODULE"])
},
created() {
this.SET_CURRENT_MODULE("product");
}
};
</script>
<style lang="scss">
#app {
background-color: transparent;
// -webkit-font-smoothing: antialiased;
// -moz-osx-font-smoothing: grayscale;
}
.WM-Container-Fluid {
width: 100%;
height: 100%;
}
#app {
background-color: transparent;
// -webkit-font-smoothing: antialiased;
// -moz-osx-font-smoothing: grayscale;
}
.WM-Container-Fluid {
width: 100%;
height: 100%;
}
</style>

@ -6,23 +6,21 @@ import store from './store'
//vuetify
import vuetify from '@Global/plugins/vuetify'
//Policy
import './policy'
//veeValidate => 0.3MB
import "@Global/plugins/veeValidate";
//components
import '@Global/plugins/globalComponent.js'
//Policy
import './policy'
//hint text
import HintText from "@Global/components/Texts/Hint.vue";
Vue.component('wm-hint-text', HintText)
//vue
window.Vue = Vue;
//mixin
import { global } from "@Global/mixins/global";
import { commingSoon } from "@Global/mixins/commingSoon";

@ -1,28 +1,24 @@
<template>
<v-container>
<v-container class="not-fluid">
<v-row class="reverse">
<v-col xl="8" lg="8" offset-xl="2" offset-lg="2" class="fade-in fast delay-01">
<big-section-title title_fa="سیستم مدیریت یک پارچه" title_en="Integrated Management System" desc="هر آنچه مربوط به مدیریت مجموعه ی شما می باشد." />
<big-section-title title_fa="سیستم مدیریت یک پارچه" title_en="Integrated Management System" desc="هر آنچه مربوط به مدیریت مجموعه ی شما می باشد."/>
</v-col>
</v-row>
<v-row>
<a
:href="module.href"
:class="'flex fade-in fast ' + module.main_class"
v-for="( module ,key ) in getModules"
:href="module.hasModule ? module.href : 'javascript:void(0)'"
:class="`module col col-xl-2 col-md-2 col-sm-4 col-xs-6 pa-0 fade-in fast flex-justified-center ${module.main_class}`"
v-for="( module ,key ) in modules"
:key="key"
:style="`animation-delay: ${key * 0.1}s;`"
>
<icon-tile
:theme="module.title_class +' Shadowed'"
:theme="module.title_class"
:class="module.hasModule ? '' : 'has-blur'"
:TitleEn="module.title_en"
:TitleFa="module.title_fa"
:GradientBegin="module.gradient_begin"
:GradientEnd="module.gradient_end"
:icon="module.img_url"
:height="module.img_height"
:Desc="module.description"
/>
</a>
</v-row>
@ -35,39 +31,48 @@
</template>
<script>
import Tile from "@Global/components/Tiles/Tile";
import IconTile from '@Global/components/Tiles/Icon-Tile';
import { mapGetters, mapActions } from "vuex";
import routes from '@Global/utils/common/routes';
import BigSectionTitle from '@Global/components/Dividers/Section-Title-Big';
import IconTile from '@Global/components/Tiles/Icon-Tile';
import {mapGetters, mapActions} from "vuex";
import routes from '@Global/utils/common/routes';
import BigSectionTitle from '@Global/components/Dividers/Section-Title-Big';
export default {
data: () => ({
hostname : window.location.hostname,
originHostName : routes.originHostName()
}),
components: {
IconTile,
BigSectionTitle
},
computed: {
...mapGetters("rolePermission", ["getModules"]),
...mapGetters("auth", ["getAuthUser"]),
},
methods: {
...mapActions("rolePermission", ["loadModules"]),
},
created() {
this.loadModules({ home_page: true });
}
};
export default {
data: () => ({
hostname: window.location.hostname,
originHostName: routes.originHostName()
}),
components: {
IconTile,
BigSectionTitle
},
computed: {
...mapGetters("rolePermission", ["getModules", "getAllModules"]),
...mapGetters("auth", ["getAuthUser"]),
modules() {
let modules = this.getAllModules.filter(x => x.load_in_home === "yes");
return modules.map(x => {
if (this.getModules.map(y => y.id).includes(x.id)) {
x.hasModule = true;
} else {
x.hasModule = false;
}
return x;
});
}
},
methods: {
...mapActions("rolePermission", ["loadModules", "loadAllModules"]),
},
created() {
this.loadModules();
this.loadAllModules();
}
};
</script>
<style scoped lang="scss">
.container {
max-width: 1785px;
.module.border-left {
border-left: 1px solid #d4d4d4;
}
</style>

@ -27,6 +27,7 @@ return [
"string" => ":attribute باید بین :min و :max کاراکتر باشد.",
"array" => ":attribute باید بین :min و :max آیتم باشد.",
],
"after_or_equal" => ":attribute باید بزرگتر یا مساوی :date باشد.",
"boolean" => "The :attribute field must be true or false",
"confirmed" => ":attribute با تاییدیه مطابقت ندارد.",
"date" => ":attribute یک تاریخ معتبر نیست.",
@ -35,7 +36,7 @@ return [
"digits" => ":attribute باید :digits رقم باشد.",
"digits_between" => ":attribute باید بین :min و :max رقم باشد.",
"email" => "فرمت :attribute معتبر نیست.",
"exists" => "این :attribute وجود دارد.",
"exists" => "این :attribute معتبر نمی باشد.",
"image" => ":attribute باید تصویر باشد.",
"in" => ":attribute انتخاب شده، معتبر نیست.",
"integer" => ":attribute باید نوع داده ای عددی باشد.",
@ -109,6 +110,7 @@ return [
*/
'attributes' => [
'today' => 'امروز',
'blog_category_id' => 'دسته بندی',
'slug' => 'نام انگلیسی',
'email' => 'آدرس پست الکترونیکی',

@ -12,5 +12,5 @@
*/
Route::view('main/{any?}', 'Home');
Route::view('WebsiteManagement/{any?}', 'WebsiteManagement');
Route::redirect('{any?}/{any1?}/{any3?}', '/main/home');

@ -3,8 +3,17 @@
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Illuminate\Support\Facades\Http;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
/**
* @return \WM\Core\Services\HttpTestProvider Http request provider for test enviroment
*/
public function makeHttpReqeust($url)
{
return \WM\Core\Services\HttpTestProvider::init($url);
}
}

15
webpack.mix.js vendored

@ -1,4 +1,5 @@
const mix = require('laravel-mix');
const path = require('path');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
@ -32,20 +33,26 @@ mix.webpackConfig({
}
});
mix.js('resources/js/Home/app.js', 'public/js/vue/Home');
mix.js('resources/js/Home/app.js', 'public/js/vue/Home').vue({version: 2});
require('./modules/wm-core/webpack.mix');
require('./modules/wm-common/webpack.mix');
require('./modules/wm-crm/webpack.mix');
require('./modules/wm-blog/webpack.mix');
require('./modules/wm-portfolio/webpack.mix');
require('./modules/wm-finance/webpack.mix');
require('./modules/wm-product/webpack.mix');
require('./modules/wm-service/webpack.mix');
require('./modules/wm-store/webpack.mix');
require('./modules/wm-warehouse/webpack.mix');
require('./modules/wm-admin/webpack.mix');
// require('./modules/wm-web-builder/webpack.mix');
require('./modules/wm-notification/webpack.mix');
require('./modules/wm-roll-call/webpack.mix');
require('./modules/wm-finance/webpack.mix');
require('./modules/wm-app-management/webpack.mix');
require('./modules/wm-web-builder/webpack.mix');
require('./modules/wm-lms/webpack.mix');
require('./modules/wm-service-store/webpack.mix');
// require('./modules/wm-warehouse/webpack.mix');
// require('./modules/wm-reservation/webpack.mix');
require('./modules/wm-contact-us/webpack.mix');
mix.version();

@ -0,0 +1,58 @@
const mix = require('laravel-mix');
const path = require('path');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.webpackConfig({
resolve: {
extensions: ["*", ".js", ".jsx", ".vue", ".ts", ".tsx", '.json', '.d.ts'],
alias: {
'@JS': path.resolve(__dirname, 'resources/js'),
'@Home': path.resolve(__dirname, 'resources/js/Home'),
},
},
output: {
chunkFilename: 'js/vue/chunks/[name].[chunkhash].js',
},
module: {
rules: [
{
test: /\.ts$/,
loader: "ts-loader",
options: { appendTsSuffixTo: [/\.vue$/] },
exclude: /node_modules/
}
]
}
});
mix.js('resources/js/Home/app.js', 'public/js/vue/Home').vue({version: 2});
require('./modules/wm-core/webpack.mix');
require('./modules/wm-common/webpack.mix');
require('./modules/wm-crm/webpack.mix');
require('./modules/wm-blog/webpack.mix');
require('./modules/wm-portfolio/webpack.mix');
require('./modules/wm-product/webpack.mix');
require('./modules/wm-service/webpack.mix');
require('./modules/wm-store/webpack.mix');
require('./modules/wm-admin/webpack.mix');
require('./modules/wm-notification/webpack.mix');
require('./modules/wm-roll-call/webpack.mix');
require('./modules/wm-finance/webpack.mix');
require('./modules/wm-app-management/webpack.mix');
require('./modules/wm-web-builder/webpack.mix');
require('./modules/wm-lms/webpack.mix');
require('./modules/wm-service-store/webpack.mix');
require('./modules/wm-contact-us/webpack.mix');
// require('./modules/wm-warehouse/webpack.mix');
// require('./modules/wm-reservation/webpack.mix');
mix.version();

@ -0,0 +1,59 @@
const mix = require('laravel-mix');
const path = require('path');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.webpackConfig({
resolve: {
extensions: ["*", ".js", ".jsx", ".vue", ".ts", ".tsx", '.json', '.d.ts'],
alias: {
'@JS': path.resolve(__dirname, 'resources/js'),
'@Home': path.resolve(__dirname, 'resources/js/Home'),
},
},
output: {
chunkFilename: 'js/vue/chunks/[name].[chunkhash].js',
},
module: {
rules: [
{
test: /\.ts$/,
loader: "ts-loader",
options: { appendTsSuffixTo: [/\.vue$/] },
exclude: /node_modules/
}
]
}
});
mix.js('resources/js/Home/app.js', 'public/js/vue/Home').vue({version: 2});
require('./vendeor/wm/core/webpack.mix');
require('./vendeor/wm/common/webpack.mix');
require('./vendeor/wm/crm/webpack.mix');
require('./vendeor/wm/blog/webpack.mix');
require('./vendeor/wm/portfolio/webpack.mix');
require('./vendeor/wm/product/webpack.mix');
require('./vendeor/wm/service/webpack.mix');
require('./vendeor/wm/store/webpack.mix');
require('./vendeor/wm/admin/webpack.mix');
require('./vendeor/wm/notification/webpack.mix');
require('./vendeor/wm/roll-call/webpack.mix');
require('./vendeor/wm/finance/webpack.mix');
require('./vendeor/wm/app-management/webpack.mix');
require('./vendeor/wm/web-builder/webpack.mix');
require('./vendeor/wm/service-store/webpack.mix');
require('./vendeor/wm/lms/webpack.mix');
require('./vendeor/wm/service-store/webpack.mix');
require('./vendeor/wm/contact-us/webpack.mix');
// require('./vendeor/wm/warehouse/webpack.mix');
// require('./vendeor/wm/reservation/webpack.mix');
mix.version();

@ -0,0 +1,55 @@
[supervisord]
nodaemon=true
user = root
[supervisorctl]
[inet_http_server]
port = 127.0.0.1:9001
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[program:scheduler]
process_name=%(program_name)s_%(process_num)02d
command=/bin/sh -c "while [ true ]; do (php /var/www/html/artisan schedule:run --verbose --no-interaction &); sleep 60; done"
autostart=true
autorestart=true
numprocs=1
user=www-data
redirect_stderr=true
stdout_logfile=/var/log/supervisor/scheduler.log
[program:change-store-order-status]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/artisan queue:work redis --queue=change_to_successful_store_order --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=3
redirect_stderr=true
stopwaitsecs=3600
stdout_logfile=/var/log/supervisor/change-store-order-status.log
[program:create-store-product]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/artisan queue:work redis --queue=create_store_product --sleep=3 --tries=3 --max-time=3600
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=www-data
numprocs=3
redirect_stderr=true
stopwaitsecs=3600
stdout_logfile=/var/log/supervisor/create-store-product.log
# [program:check-sms-status]
# command=php /var/www/html/artisan queue:work redis --queue=check-sms-status --tries=3
# process_name=%(program_name)s_%(process_num)02d
# autostart=true
# autorestart=true
# user=www-data
# numprocs=3
# redirect_stderr=true
# stdout_logfile=/var/log/supervisor/sms-status.log

14932
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save