├── .gitattributes
├── .gitignore
├── README.md
├── app
├── Backport
│ ├── Controllers
│ │ ├── ArticleController.php
│ │ ├── AuthController.php
│ │ ├── CategoryController.php
│ │ ├── CommentController.php
│ │ ├── DashboardController.php
│ │ ├── DigitalController.php
│ │ ├── GameController.php
│ │ ├── GenreController.php
│ │ ├── LanguageController.php
│ │ ├── ListingController.php
│ │ ├── MenuItemController.php
│ │ ├── OfferController.php
│ │ ├── PageController.php
│ │ ├── PaymentController.php
│ │ ├── PermissionController.php
│ │ ├── PlatformController.php
│ │ ├── ReportController.php
│ │ ├── RoleController.php
│ │ ├── Settings
│ │ │ ├── AdsController.php
│ │ │ ├── AuthController.php
│ │ │ ├── CommentController.php
│ │ │ ├── CountriesController.php
│ │ │ ├── DesignController.php
│ │ │ ├── GameController.php
│ │ │ ├── GeneralController.php
│ │ │ ├── LegalController.php
│ │ │ ├── ListingController.php
│ │ │ ├── LocalizationController.php
│ │ │ ├── NotificationController.php
│ │ │ ├── PaymentController.php
│ │ │ └── ThemeController.php
│ │ ├── TagController.php
│ │ ├── TransactionController.php
│ │ ├── Translations
│ │ │ ├── LangFiles.php
│ │ │ └── TextController.php
│ │ ├── UserController.php
│ │ ├── UserRatingController.php
│ │ └── WithdrawalController.php
│ ├── Extensions
│ │ └── PageLink.php
│ ├── bootstrap.php
│ └── routes.php
├── Charts
│ ├── General.php
│ └── WidgetSmall.php
├── Console
│ └── Kernel.php
├── Events
│ ├── Event.php
│ └── Frontend
│ │ └── Auth
│ │ ├── UserConfirmed.php
│ │ ├── UserLoggedIn.php
│ │ ├── UserLoggedOut.php
│ │ └── UserRegistered.php
├── Exceptions
│ ├── BadRequest.php
│ ├── BadResponseException.php
│ └── Handler.php
├── Filters
│ ├── AvatarSquare.php
│ ├── AvatarSquareTiny.php
│ ├── Carousel.php
│ ├── Cover.php
│ ├── Picture.php
│ ├── Square.php
│ └── SquareTiny.php
├── Helpers
│ └── Socialite.php
├── Http
│ ├── Controllers
│ │ ├── API
│ │ │ ├── MetacriticController.php
│ │ │ └── ReCaptcha.php
│ │ ├── CommentController.php
│ │ ├── Controller.php
│ │ ├── Frontend
│ │ │ └── Auth
│ │ │ │ ├── ChangePasswordController.php
│ │ │ │ ├── ConfirmAccountController.php
│ │ │ │ ├── ForgotPasswordController.php
│ │ │ │ ├── LoginController.php
│ │ │ │ ├── RegisterController.php
│ │ │ │ ├── ResetPasswordController.php
│ │ │ │ └── SocialLoginController.php
│ │ ├── GameController.php
│ │ ├── LanguageController.php
│ │ ├── ListingController.php
│ │ ├── MessagesController.php
│ │ ├── OfferController.php
│ │ ├── PageController.php
│ │ ├── SeoController.php
│ │ ├── ThemeController.php
│ │ ├── UserController.php
│ │ └── WishlistController.php
│ ├── Kernel.php
│ ├── Middleware
│ │ ├── AddContentLength.php
│ │ ├── EncryptCookies.php
│ │ ├── LocaleMiddleware.php
│ │ ├── LogLastUserActivity.php
│ │ ├── MinifyHtml.php
│ │ ├── PermissionMiddleware.php
│ │ ├── RedirectIfAuthenticated.php
│ │ ├── RoleMiddleware.php
│ │ ├── SettingsMiddleware.php
│ │ ├── ThemeMiddleware.php
│ │ └── VerifyCsrfToken.php
│ ├── Requests
│ │ ├── ArticleRequest.php
│ │ ├── CategoryRequest.php
│ │ ├── CommentRequest.php
│ │ ├── CountryRequest.php
│ │ ├── DigitalRequest.php
│ │ ├── Frontend
│ │ │ ├── Auth
│ │ │ │ └── RegisterRequest.php
│ │ │ └── User
│ │ │ │ ├── ChangePasswordRequest.php
│ │ │ │ └── UpdateProfileRequest.php
│ │ ├── GameRequest.php
│ │ ├── GenreRequest.php
│ │ ├── ListingRequest.php
│ │ ├── OfferRequest.php
│ │ ├── PaymentRequest.php
│ │ ├── PlatformRequest.php
│ │ ├── ReportRequest.php
│ │ ├── Request.php
│ │ ├── TagRequest.php
│ │ ├── TransactionRequest.php
│ │ ├── User_RatingRequest.php
│ │ └── WithdrawalRequest.php
│ └── ViewComposers
│ │ └── FooterComposer.php
├── Models
│ ├── Article.php
│ ├── Category.php
│ ├── Comment.php
│ ├── CommentLike.php
│ ├── Country.php
│ ├── Digital.php
│ ├── Game.php
│ ├── Genre.php
│ ├── Giantbomb.php
│ ├── Language.php
│ ├── Listing.php
│ ├── ListingImage.php
│ ├── MenuItem.php
│ ├── Metacritic.php
│ ├── Offer.php
│ ├── Page.php
│ ├── Payment.php
│ ├── Platform.php
│ ├── Report.php
│ ├── SocialLogin.php
│ ├── Tag.php
│ ├── Transaction.php
│ ├── User.php
│ ├── User_Location.php
│ ├── User_Rating.php
│ ├── Wishlist.php
│ └── Withdrawal.php
├── Notifications
│ ├── Auth
│ │ ├── UserNeedsConfirmation.php
│ │ └── UserNeedsPasswordReset.php
│ ├── ListingCommentNew.php
│ ├── ListingDeleted.php
│ ├── MessageNew.php
│ ├── MessengerNew.php
│ ├── OfferDeleted.php
│ ├── OfferNew.php
│ ├── OfferStatus.php
│ ├── PaymentNew.php
│ ├── PriceAlert.php
│ └── RatingNew.php
├── Observers
│ ├── GameObserver.php
│ ├── LanguageObserver.php
│ ├── ListingObserver.php
│ ├── MenuItemObserver.php
│ ├── PageObserver.php
│ ├── PlatformObserver.php
│ ├── UserObserver.php
│ └── WishlistObserver.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ ├── BroadcastServiceProvider.php
│ ├── ComposerServiceProvider.php
│ ├── EventServiceProvider.php
│ ├── ReCaptchaServiceProvider.php
│ ├── RouteServiceProvider.php
│ └── SettingServiceProvider.php
├── Repositories
│ ├── BaseRepository.php
│ ├── Repository.php
│ └── UserRepository.php
└── Traits
│ └── Geographical.php
├── artisan
├── bootstrap
├── app.php
├── autoload.php
└── cache
│ └── .gitignore
├── composer.json
├── composer.lock
├── config
├── app.php
├── auth.php
├── backport.php
├── breadcrumbs.php
├── broadcasting.php
├── cache.php
├── charts.php
├── clicknow.money.php
├── compile.php
├── cookie-consent.php
├── database.php
├── debugbar.php
├── elfinder.php
├── filesystems.php
├── hashing.php
├── image.php
├── imagecache.php
├── installer.php
├── laravel-omnipay.php
├── laravel-permission.php
├── logging.php
├── mail.php
├── messenger.php
├── money.php
├── prologue
│ └── alerts.php
├── queue.php
├── searchy.php
├── seotools.php
├── services.php
├── session.php
├── sluggable.php
├── themes.php
└── view.php
├── database
├── .gitignore
├── factories
│ └── ModelFactory.php
├── migrations
│ ├── .gitkeep
│ ├── 2014_10_12_000000_create_users_table.php
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2015_08_04_130507_create_article_tag_table.php
│ ├── 2015_08_04_130520_create_articles_table.php
│ ├── 2015_08_04_130551_create_categories_table.php
│ ├── 2015_08_04_131614_create_settings_table.php
│ ├── 2015_08_04_131626_create_tags_table.php
│ ├── 2015_09_07_190535_create_languages_table.php
│ ├── 2015_09_10_124414_alter_languages_table.php
│ ├── 2015_12_28_171741_create_social_logins_table.php
│ ├── 2016_05_05_115641_create_menu_items_table.php
│ ├── 2016_05_10_130540_create_permission_tables.php
│ ├── 2016_05_25_121918_create_pages_table.php
│ ├── 2016_07_24_060017_add_slug_to_categories_table.php
│ ├── 2016_07_24_060101_add_slug_to_tags_table.php
│ ├── 2016_11_30_201637_create_games_table.php
│ ├── 2016_11_30_203205_create_consoles_table.php
│ ├── 2016_11_30_204552_create_genres_table.php
│ ├── 2016_12_02_113158_create_games_metacritic_table.php
│ ├── 2016_12_02_161751_create_games_giantbomb_table.php
│ ├── 2016_12_03_141745_create_games_listings_table.php
│ ├── 2016_12_08_213218_create_offers_table.php
│ ├── 2016_12_11_135554_create_user_ratings_table.php
│ ├── 2016_12_27_132831_create_notifications_table.php
│ ├── 2017_01_04_131124_create_user_locations_table.php
│ ├── 2017_01_15_115837_create_digital_table.php
│ ├── 2017_01_15_123513_create_platform_digital_table.php
│ ├── 2017_01_15_170851_create_game_trade_table.php
│ ├── 2017_01_20_105046_create_countries_table.php
│ ├── 2017_01_20_105047_create_threads_table.php
│ ├── 2017_01_20_105048_create_messages_table.php
│ ├── 2017_01_20_105049_create_participants_table.php
│ ├── 2017_01_20_105050_add_soft_deletes_to_participants_table.php
│ ├── 2017_01_20_105051_add_softdeletes_to_threads_table.php
│ ├── 2017_01_20_192812_add_game_foreign_table.php
│ ├── 2017_01_20_192945_add_offers_foreign_table.php
│ ├── 2017_02_14_125839_create_offer_reports_table.php
│ ├── 2017_03_14_190015_create_comments_table.php
│ ├── 2017_03_16_201544_create_comment_likes_table.php
│ ├── 2017_03_20_183134_create_payments_table.php
│ ├── 2017_03_20_220304_create_transactions_table.php
│ ├── 2017_03_24_222006_create_withdrawals_table.php
│ ├── 2017_04_10_195926_change_extras_to_longtext.php
│ ├── 2017_05_27_231043_create_user_player_ids_table.php
│ ├── 2018_08_18_164010_create_listing_images_table.php
│ ├── 2018_08_25_150325_create_game_wishlists_table.php
│ ├── 2019_05_11_183852_create_backport_menu_table.php
│ ├── 2019_05_11_183856_create_backport_role_menu_table.php
│ └── 2019_05_11_183900_create_backport_operation_log_table.php
└── seeds
│ ├── .gitkeep
│ ├── BackportMenuTableSeeder.php
│ ├── DatabaseSeeder.php
│ ├── DigitalPlatformTableSeeder.php
│ ├── DigitalsTableSeeder.php
│ ├── LanguagesTableSeeder.php
│ ├── PermissionRolesTableSeeder.php
│ ├── PermissionsTableSeeder.php
│ ├── PlatformsTableSeeder.php
│ ├── RolesTableSeeder.php
│ └── SettingsTableSeeder.php
├── gulpfile.js
├── package.json
├── phpunit.xml
├── public
├── .htaccess
├── OneSignalSDKUpdaterWorker.js
├── OneSignalSDKWorker.js
├── css
│ ├── backport-custom.css
│ ├── bootstrap-extend.css
│ ├── bootstrap-extend.min.css
│ ├── bootstrap.css
│ ├── bootstrap.min.css
│ ├── bootstrap.offcanvas.css
│ ├── bootstrap.offcanvas.min.css
│ ├── custom.css
│ ├── fa-brands.css
│ ├── fa-brands.min.css
│ ├── fa-light.css
│ ├── fa-light.min.css
│ ├── fa-regular.css
│ ├── fa-regular.min.css
│ ├── fa-solid.css
│ ├── fa-solid.min.css
│ ├── font-awesome.css
│ ├── font-awesome.min.css
│ ├── fontawesome-all.css
│ ├── fontawesome-all.min.css
│ ├── fontawesome.css
│ ├── fontawesome.min.css
│ ├── magnific-popup.css
│ ├── magnific-popup.min.css
│ ├── site.css
│ ├── summernote.css
│ ├── summernote.eot
│ ├── summernote.ttf
│ ├── summernote.woff
│ ├── summernote_frontend.css
│ ├── svg-with-js.css
│ ├── svg-with-js.min.css
│ ├── v4-shims.css
│ └── v4-shims.min.css
├── img
│ ├── android-chrome-192x192.png
│ ├── android-chrome-512x512.png
│ ├── apple-touch-icon.png
│ ├── backend
│ │ ├── logo.png
│ │ ├── logo_full.png
│ │ ├── logo_mini.png
│ │ └── logo_tiny.png
│ ├── browserconfig.xml
│ ├── cookie.png
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ ├── favicon.ico
│ ├── flags
│ │ ├── AD.svg
│ │ ├── AE.svg
│ │ ├── AF.svg
│ │ ├── AG.svg
│ │ ├── AI.svg
│ │ ├── AL.svg
│ │ ├── AM.svg
│ │ ├── AO.svg
│ │ ├── AR.svg
│ │ ├── AS.svg
│ │ ├── AT.svg
│ │ ├── AU.svg
│ │ ├── AW.svg
│ │ ├── AX.svg
│ │ ├── AZ.svg
│ │ ├── BA.svg
│ │ ├── BB.svg
│ │ ├── BD.svg
│ │ ├── BE.svg
│ │ ├── BF.svg
│ │ ├── BG.svg
│ │ ├── BH.svg
│ │ ├── BI.svg
│ │ ├── BJ.svg
│ │ ├── BL.svg
│ │ ├── BM.svg
│ │ ├── BN.svg
│ │ ├── BO.svg
│ │ ├── BQ-SA.svg
│ │ ├── BQ-SE.svg
│ │ ├── BQ.svg
│ │ ├── BR.svg
│ │ ├── BS.svg
│ │ ├── BT.svg
│ │ ├── BW.svg
│ │ ├── BY.svg
│ │ ├── BZ.svg
│ │ ├── CA-BC.svg
│ │ ├── CA.svg
│ │ ├── CC.svg
│ │ ├── CD.svg
│ │ ├── CF.svg
│ │ ├── CG.svg
│ │ ├── CH.svg
│ │ ├── CIV.svg
│ │ ├── CK.svg
│ │ ├── CL.svg
│ │ ├── CM.svg
│ │ ├── CN.svg
│ │ ├── CO.svg
│ │ ├── CPV.svg
│ │ ├── CQ.svg
│ │ ├── CR.svg
│ │ ├── CU.svg
│ │ ├── CW.svg
│ │ ├── CX.svg
│ │ ├── CY-01.svg
│ │ ├── CY.svg
│ │ ├── CZ.svg
│ │ ├── DE.svg
│ │ ├── DJ.svg
│ │ ├── DK.svg
│ │ ├── DM.svg
│ │ ├── DO.svg
│ │ ├── DZ.svg
│ │ ├── EA.svg
│ │ ├── EC-W.svg
│ │ ├── EC.svg
│ │ ├── EE.svg
│ │ ├── EG.svg
│ │ ├── EH.svg
│ │ ├── ER.svg
│ │ ├── ES-CN.svg
│ │ ├── ES-IB.svg
│ │ ├── ES-PV.svg
│ │ ├── ES.svg
│ │ ├── ET.svg
│ │ ├── EU.svg
│ │ ├── FI.svg
│ │ ├── FJ.svg
│ │ ├── FK.svg
│ │ ├── FM.svg
│ │ ├── FO.svg
│ │ ├── FR-H.svg
│ │ ├── FR.svg
│ │ ├── GA.svg
│ │ ├── GB-ENG.svg
│ │ ├── GB-ORK.svg
│ │ ├── GB-SCT.svg
│ │ ├── GB-WLS.svg
│ │ ├── GB.svg
│ │ ├── GD.svg
│ │ ├── GE-AB.svg
│ │ ├── GE.svg
│ │ ├── GG.svg
│ │ ├── GH.svg
│ │ ├── GI.svg
│ │ ├── GL.svg
│ │ ├── GM.svg
│ │ ├── GN.svg
│ │ ├── GR.svg
│ │ ├── GT.svg
│ │ ├── GU.svg
│ │ ├── GW.svg
│ │ ├── GY.svg
│ │ ├── HK.svg
│ │ ├── HN.svg
│ │ ├── HR.svg
│ │ ├── HT.svg
│ │ ├── HU.svg
│ │ ├── ID.svg
│ │ ├── IE.svg
│ │ ├── IL.svg
│ │ ├── IM.svg
│ │ ├── IN.svg
│ │ ├── IO.svg
│ │ ├── IQ.svg
│ │ ├── IR.svg
│ │ ├── IS.svg
│ │ ├── IT-88.svg
│ │ ├── IT.svg
│ │ ├── JE.svg
│ │ ├── JM.svg
│ │ ├── JO.svg
│ │ ├── JP.svg
│ │ ├── KE.svg
│ │ ├── KG.svg
│ │ ├── KH.svg
│ │ ├── KI.svg
│ │ ├── KM.svg
│ │ ├── KN.svg
│ │ ├── KOR.svg
│ │ ├── KW.svg
│ │ ├── KY.svg
│ │ ├── KZ.svg
│ │ ├── LA.svg
│ │ ├── LB.svg
│ │ ├── LCA.svg
│ │ ├── LI.svg
│ │ ├── LK.svg
│ │ ├── LR.svg
│ │ ├── LS.svg
│ │ ├── LT.svg
│ │ ├── LU.svg
│ │ ├── LV.svg
│ │ ├── LY.svg
│ │ ├── MA.svg
│ │ ├── MC.svg
│ │ ├── MD-SN.svg
│ │ ├── MD.svg
│ │ ├── ME.svg
│ │ ├── MG.svg
│ │ ├── MH.svg
│ │ ├── MK.svg
│ │ ├── ML.svg
│ │ ├── MM.svg
│ │ ├── MN.svg
│ │ ├── MO.svg
│ │ ├── MP.svg
│ │ ├── MQ.svg
│ │ ├── MR.svg
│ │ ├── MS.svg
│ │ ├── MT.svg
│ │ ├── MU.svg
│ │ ├── MV.svg
│ │ ├── MW.svg
│ │ ├── MX.svg
│ │ ├── MY.svg
│ │ ├── MZ.svg
│ │ ├── NA.svg
│ │ ├── NE.svg
│ │ ├── NF.svg
│ │ ├── NG.svg
│ │ ├── NI.svg
│ │ ├── NL.svg
│ │ ├── NO.svg
│ │ ├── NP.svg
│ │ ├── NR.svg
│ │ ├── NU.svg
│ │ ├── NZ.svg
│ │ ├── OM.svg
│ │ ├── PA.svg
│ │ ├── PE.svg
│ │ ├── PF.svg
│ │ ├── PG.svg
│ │ ├── PH.svg
│ │ ├── PK.svg
│ │ ├── PL.svg
│ │ ├── PM.svg
│ │ ├── PN.svg
│ │ ├── PR.svg
│ │ ├── PRK.svg
│ │ ├── PS.svg
│ │ ├── PT-20.svg
│ │ ├── PT-30.svg
│ │ ├── PT.svg
│ │ ├── PW.svg
│ │ ├── PY.svg
│ │ ├── QA.svg
│ │ ├── RAP.svg
│ │ ├── RE.svg
│ │ ├── RO.svg
│ │ ├── RS-KM.svg
│ │ ├── RS.svg
│ │ ├── RU.svg
│ │ ├── RW.svg
│ │ ├── SA.svg
│ │ ├── SB.svg
│ │ ├── SC.svg
│ │ ├── SD.svg
│ │ ├── SE.svg
│ │ ├── SG.svg
│ │ ├── SI.svg
│ │ ├── SJ.svg
│ │ ├── SK.svg
│ │ ├── SL.svg
│ │ ├── SLV.svg
│ │ ├── SM.svg
│ │ ├── SN.svg
│ │ ├── SO-01.svg
│ │ ├── SO.svg
│ │ ├── SR.svg
│ │ ├── SS.svg
│ │ ├── ST.svg
│ │ ├── SX.svg
│ │ ├── SY.svg
│ │ ├── SZ.svg
│ │ ├── TC.svg
│ │ ├── TD.svg
│ │ ├── TG.svg
│ │ ├── TH.svg
│ │ ├── TIB.svg
│ │ ├── TJ.svg
│ │ ├── TK.svg
│ │ ├── TLS.svg
│ │ ├── TM.svg
│ │ ├── TN.svg
│ │ ├── TO.svg
│ │ ├── TR.svg
│ │ ├── TT.svg
│ │ ├── TV.svg
│ │ ├── TW.svg
│ │ ├── TZ.svg
│ │ ├── UA.svg
│ │ ├── UG.svg
│ │ ├── UN.svg
│ │ ├── US-HI.svg
│ │ ├── US.svg
│ │ ├── UY.svg
│ │ ├── UZ.svg
│ │ ├── VA.svg
│ │ ├── VAT.svg
│ │ ├── VCT.svg
│ │ ├── VE.svg
│ │ ├── VG.svg
│ │ ├── VI.svg
│ │ ├── VN.svg
│ │ ├── VU.svg
│ │ ├── WS.svg
│ │ ├── YE.svg
│ │ ├── YT.svg
│ │ ├── ZA.svg
│ │ ├── ZM.svg
│ │ ├── ZW.svg
│ │ ├── melilla.svg
│ │ ├── nato.svg
│ │ └── ossetia.svg
│ ├── game_pattern.png
│ ├── game_pattern_white.png
│ ├── landing.jpg
│ ├── login_bg.gif
│ ├── logo.png
│ ├── logo@2x.png
│ ├── mstile-150x150.png
│ ├── panel_bg_chars.jpg
│ ├── ps_pattern_white.png
│ ├── safari-pinned-tab.svg
│ └── watermark.png
├── index.php
├── js
│ ├── Chart.min.js
│ ├── autoNumeric.min.js
│ ├── bootstrap.js
│ ├── bootstrap.min.js
│ ├── bootstrap.offcanvas.js
│ ├── bootstrap.offcanvas.min.js
│ ├── caret-down.svg
│ ├── jquery.lazyload.js
│ ├── jquery.lazyload.min.js
│ ├── jquery.maskMoney.js
│ ├── jquery.maskMoney.min.js
│ ├── jquery.min.js
│ ├── notie.min.js
│ ├── site.js
│ ├── summernote.js
│ ├── summernote.min.js
│ ├── tether.js
│ ├── tether.min.js
│ ├── typeahead.bundle.js
│ ├── typeahead.bundle.min.js
│ ├── velocity.js
│ ├── velocity.min.js
│ └── vh-check.min.js
├── manifest.json
├── self.close.html
├── svg
│ ├── 403.svg
│ ├── 404.svg
│ ├── 500.svg
│ └── 503.svg
├── themes
│ ├── default
│ │ ├── assets
│ │ │ ├── css
│ │ │ │ └── site.css
│ │ │ └── img
│ │ │ │ ├── game_pattern.png
│ │ │ │ ├── game_pattern_white.png
│ │ │ │ ├── login_bg.gif
│ │ │ │ ├── panel_bg_chars.jpg
│ │ │ │ └── ps_pattern_white.png
│ │ ├── screenshot.jpg
│ │ ├── theme.json
│ │ └── views
│ │ │ └── frontend
│ │ │ ├── ads
│ │ │ ├── buyref.blade.php
│ │ │ └── google.blade.php
│ │ │ ├── auth
│ │ │ ├── inc
│ │ │ │ ├── forget_password_modal.blade.php
│ │ │ │ ├── login_modal.blade.php
│ │ │ │ └── register_modal.blade.php
│ │ │ ├── login.blade.php
│ │ │ └── reset.blade.php
│ │ │ ├── blog
│ │ │ ├── article.blade.php
│ │ │ └── overview.blade.php
│ │ │ ├── comments
│ │ │ ├── form.blade.php
│ │ │ ├── likes.blade.php
│ │ │ └── show.blade.php
│ │ │ ├── emails
│ │ │ └── contact.blade.php
│ │ │ ├── game
│ │ │ ├── add.blade.php
│ │ │ ├── ajax
│ │ │ │ └── index.blade.php
│ │ │ ├── api
│ │ │ │ └── search.blade.php
│ │ │ ├── inc
│ │ │ │ └── card.blade.php
│ │ │ ├── index.blade.php
│ │ │ ├── search.blade.php
│ │ │ ├── searchindex.blade.php
│ │ │ ├── show.blade.php
│ │ │ ├── showMedia.blade.php
│ │ │ ├── showTrade.blade.php
│ │ │ └── subheader.blade.php
│ │ │ ├── layouts
│ │ │ ├── app.blade.php
│ │ │ └── inc
│ │ │ │ ├── footer.blade.php
│ │ │ │ └── nav.blade.php
│ │ │ ├── listing
│ │ │ ├── ajax
│ │ │ │ └── index.blade.php
│ │ │ ├── form.blade.php
│ │ │ ├── inc
│ │ │ │ └── card.blade.php
│ │ │ ├── index.blade.php
│ │ │ └── show.blade.php
│ │ │ ├── messenger
│ │ │ ├── index.blade.php
│ │ │ ├── no-threads.blade.php
│ │ │ ├── partials
│ │ │ │ ├── modal-message.blade.php
│ │ │ │ └── thread.blade.php
│ │ │ └── show.blade.php
│ │ │ ├── notifications
│ │ │ ├── listing_comment_new.blade.php
│ │ │ ├── listing_deleted.blade.php
│ │ │ ├── message_new.blade.php
│ │ │ ├── messenger_new.blade.php
│ │ │ ├── offer_deleted.blade.php
│ │ │ ├── offer_new.blade.php
│ │ │ ├── offer_status.blade.php
│ │ │ ├── payment_new.blade.php
│ │ │ ├── price_alert.blade.php
│ │ │ └── rating_new.blade.php
│ │ │ ├── offer
│ │ │ ├── chat.blade.php
│ │ │ ├── inc
│ │ │ │ └── modal-payment.blade.php
│ │ │ └── show.blade.php
│ │ │ ├── pages
│ │ │ ├── contact_form.blade.php
│ │ │ ├── inc
│ │ │ │ ├── landing_page.blade.php
│ │ │ │ ├── slider.blade.php
│ │ │ │ └── slider_original.blade.php
│ │ │ ├── startpage.blade.php
│ │ │ ├── with_subheader.blade.php
│ │ │ └── without_subheader.blade.php
│ │ │ ├── user
│ │ │ ├── api
│ │ │ │ └── notifications.blade.php
│ │ │ ├── dash
│ │ │ │ ├── balance.blade.php
│ │ │ │ ├── listings.blade.php
│ │ │ │ ├── notifications.blade.php
│ │ │ │ ├── offers.blade.php
│ │ │ │ ├── overview.blade.php
│ │ │ │ └── withdrawal.blade.php
│ │ │ ├── location
│ │ │ │ └── zippopotam.blade.php
│ │ │ ├── settings
│ │ │ │ ├── password.blade.php
│ │ │ │ ├── profile.blade.php
│ │ │ │ └── subheader.blade.php
│ │ │ ├── show.blade.php
│ │ │ └── subheader.blade.php
│ │ │ └── wishlist
│ │ │ ├── inc
│ │ │ └── modal-wishlist.blade.php
│ │ │ └── index.blade.php
│ └── default_screenshot.jpg
├── vendor
│ ├── backport
│ │ ├── app
│ │ │ └── scripts
│ │ │ │ ├── bundle
│ │ │ │ └── app.bundle.js
│ │ │ │ └── custom
│ │ │ │ └── init.js
│ │ ├── media
│ │ │ ├── files
│ │ │ │ ├── css.svg
│ │ │ │ ├── csv.svg
│ │ │ │ ├── doc.svg
│ │ │ │ ├── html.svg
│ │ │ │ ├── javascript.svg
│ │ │ │ ├── jpg.svg
│ │ │ │ ├── mp4.svg
│ │ │ │ ├── pdf.svg
│ │ │ │ ├── xml.svg
│ │ │ │ └── zip.svg
│ │ │ ├── flags
│ │ │ │ ├── 001-austria.svg
│ │ │ │ ├── 002-belgium.svg
│ │ │ │ ├── 003-switzerland.svg
│ │ │ │ ├── 004-indonesia.svg
│ │ │ │ ├── 005-portugal.svg
│ │ │ │ ├── 006-turkey.svg
│ │ │ │ ├── 007-malasya.svg
│ │ │ │ ├── 008-saudi-arabia.svg
│ │ │ │ ├── 009-australia.svg
│ │ │ │ ├── 010-india.svg
│ │ │ │ ├── 011-brazil.svg
│ │ │ │ ├── 012-uk.svg
│ │ │ │ ├── 013-russia.svg
│ │ │ │ ├── 014-japan.svg
│ │ │ │ ├── 015-china.svg
│ │ │ │ ├── 016-spain.svg
│ │ │ │ ├── 017-germany.svg
│ │ │ │ ├── 018-south-korea.svg
│ │ │ │ ├── 019-france.svg
│ │ │ │ └── 020-flag.svg
│ │ │ ├── icons
│ │ │ │ ├── exchange.svg
│ │ │ │ ├── iconbox_bg.svg
│ │ │ │ ├── logout.svg
│ │ │ │ ├── question.svg
│ │ │ │ └── warning.svg
│ │ │ ├── images
│ │ │ │ └── no_avatar.jpg
│ │ │ └── logos
│ │ │ │ ├── logo-footer.png
│ │ │ │ └── logo.png
│ │ ├── themes
│ │ │ └── default
│ │ │ │ ├── base
│ │ │ │ ├── scripts.bundle.js
│ │ │ │ └── style.bundle.css
│ │ │ │ └── skins
│ │ │ │ └── aside
│ │ │ │ ├── brand.css
│ │ │ │ ├── brand.rtl.css
│ │ │ │ ├── light.css
│ │ │ │ ├── light.rtl.css
│ │ │ │ ├── navy.css
│ │ │ │ └── navy.rtl.css
│ │ └── vendors
│ │ │ ├── base
│ │ │ ├── fonts
│ │ │ │ ├── fontawesome5
│ │ │ │ │ ├── fa-brands-400.eot
│ │ │ │ │ ├── fa-brands-400.svg
│ │ │ │ │ ├── fa-brands-400.ttf
│ │ │ │ │ ├── fa-brands-400.woff
│ │ │ │ │ ├── fa-brands-400.woff2
│ │ │ │ │ ├── fa-light-300.eot
│ │ │ │ │ ├── fa-light-300.svg
│ │ │ │ │ ├── fa-light-300.ttf
│ │ │ │ │ ├── fa-light-300.woff
│ │ │ │ │ ├── fa-light-300.woff2
│ │ │ │ │ ├── fa-regular-400.eot
│ │ │ │ │ ├── fa-regular-400.svg
│ │ │ │ │ ├── fa-regular-400.ttf
│ │ │ │ │ ├── fa-regular-400.woff
│ │ │ │ │ ├── fa-regular-400.woff2
│ │ │ │ │ ├── fa-solid-900.eot
│ │ │ │ │ ├── fa-solid-900.svg
│ │ │ │ │ ├── fa-solid-900.ttf
│ │ │ │ │ ├── fa-solid-900.woff
│ │ │ │ │ └── fa-solid-900.woff2
│ │ │ │ ├── line-awesome
│ │ │ │ │ ├── line-awesome.eot
│ │ │ │ │ ├── line-awesome.svg
│ │ │ │ │ ├── line-awesome.ttf
│ │ │ │ │ ├── line-awesome.woff
│ │ │ │ │ └── line-awesome.woff2
│ │ │ │ └── summernote
│ │ │ │ │ ├── summernote.eot
│ │ │ │ │ ├── summernote.ttf
│ │ │ │ │ └── summernote.woff
│ │ │ ├── images
│ │ │ │ └── bootstrap-editable
│ │ │ │ │ ├── clear.png
│ │ │ │ │ └── loading.gif
│ │ │ ├── vendors.bundle.css
│ │ │ └── vendors.bundle.js
│ │ │ └── custom
│ │ │ ├── bootstrap-colorpicker
│ │ │ ├── colorpicker.css
│ │ │ └── colorpicker.js
│ │ │ ├── bootstrap-duallistbox
│ │ │ ├── bootstrap-duallistbox.css
│ │ │ └── jquery.bootstrap-duallistbox.js
│ │ │ ├── datatables
│ │ │ ├── datatables.bundle.css
│ │ │ └── datatables.bundle.js
│ │ │ ├── flot
│ │ │ └── flot.bundle.js
│ │ │ ├── fullcalendar
│ │ │ ├── fullcalendar.bundle.css
│ │ │ └── fullcalendar.bundle.js
│ │ │ ├── gmaps
│ │ │ └── gmaps.js
│ │ │ ├── iCheck
│ │ │ └── icheck.js
│ │ │ ├── jquery-ui
│ │ │ ├── images
│ │ │ │ ├── ui-icons_444444_256x240.png
│ │ │ │ ├── ui-icons_555555_256x240.png
│ │ │ │ ├── ui-icons_777620_256x240.png
│ │ │ │ ├── ui-icons_777777_256x240.png
│ │ │ │ ├── ui-icons_cc0000_256x240.png
│ │ │ │ └── ui-icons_ffffff_256x240.png
│ │ │ ├── jquery-ui.bundle.css
│ │ │ └── jquery-ui.bundle.js
│ │ │ ├── jquery
│ │ │ └── jquery.js
│ │ │ ├── number-input
│ │ │ └── bootstrap-number-input.js
│ │ │ └── select2
│ │ │ ├── select2.css
│ │ │ └── select2.full.js
│ ├── dropify
│ │ ├── css
│ │ │ ├── demo.css
│ │ │ ├── dropify.css
│ │ │ └── dropify.min.css
│ │ ├── fonts
│ │ │ ├── dropify.eot
│ │ │ ├── dropify.svg
│ │ │ ├── dropify.ttf
│ │ │ └── dropify.woff
│ │ └── js
│ │ │ ├── dropify.js
│ │ │ └── dropify.min.js
│ ├── dropzone
│ │ ├── Sortable.js
│ │ ├── Sortable.min.js
│ │ ├── dropzone.css
│ │ ├── dropzone.js
│ │ ├── dropzone.min.css
│ │ ├── dropzone.min.js
│ │ └── jquery.binding.js
│ ├── notie
│ │ └── notie.css
│ ├── owlcarousel
│ │ ├── assets
│ │ │ ├── ajax-loader.gif
│ │ │ ├── owl.carousel.css
│ │ │ ├── owl.carousel.min.css
│ │ │ ├── owl.theme.default.css
│ │ │ ├── owl.theme.default.min.css
│ │ │ ├── owl.theme.green.css
│ │ │ ├── owl.theme.green.min.css
│ │ │ └── owl.video.play.png
│ │ ├── owl.carousel.js
│ │ └── owl.carousel.min.js
│ ├── simple-text-rotator
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── demo.html
│ │ ├── jquery.simple-text-rotator.js
│ │ ├── jquery.simple-text-rotator.min.js
│ │ └── simpletextrotator.css
│ └── summernote
│ │ ├── .gitignore
│ │ ├── .jshintignore
│ │ ├── .jshintrc
│ │ ├── .travis.yml
│ │ ├── plugin
│ │ ├── summernote-ext-fontstyle.js
│ │ ├── summernote-ext-hello.js
│ │ └── summernote-ext-video.js
│ │ ├── summernote.css
│ │ ├── summernote.js
│ │ ├── summernote.min.js
│ │ └── summernote_frontend.css
├── web.config
├── webfonts
│ ├── fa-brands-400.eot
│ ├── fa-brands-400.svg
│ ├── fa-brands-400.ttf
│ ├── fa-brands-400.woff
│ ├── fa-brands-400.woff2
│ ├── fa-light-300.eot
│ ├── fa-light-300.svg
│ ├── fa-light-300.ttf
│ ├── fa-light-300.woff
│ ├── fa-light-300.woff2
│ ├── fa-regular-400.eot
│ ├── fa-regular-400.svg
│ ├── fa-regular-400.ttf
│ ├── fa-regular-400.woff
│ ├── fa-regular-400.woff2
│ ├── fa-solid-900.eot
│ ├── fa-solid-900.svg
│ ├── fa-solid-900.ttf
│ ├── fa-solid-900.woff
│ └── fa-solid-900.woff2
└── xslt
│ └── xml-sitemap.xsl
├── resources
├── assets
│ ├── js
│ │ ├── app.js
│ │ ├── bootstrap.js
│ │ └── components
│ │ │ └── Example.vue
│ └── sass
│ │ ├── _variables.scss
│ │ └── app.scss
├── lang
│ ├── de
│ │ ├── admin.php
│ │ ├── auth.php
│ │ ├── backport.php
│ │ ├── comments.php
│ │ ├── emails.php
│ │ ├── games.php
│ │ ├── general.php
│ │ ├── installer.php
│ │ ├── listings.php
│ │ ├── messenger.php
│ │ ├── notifications.php
│ │ ├── offers.php
│ │ ├── pagination.php
│ │ ├── payment.php
│ │ ├── users.php
│ │ ├── validation.php
│ │ └── wishlist.php
│ └── en
│ │ ├── admin.php
│ │ ├── auth.php
│ │ ├── backport.php
│ │ ├── comments.php
│ │ ├── emails.php
│ │ ├── games.php
│ │ ├── general.php
│ │ ├── installer.php
│ │ ├── listings.php
│ │ ├── messenger.php
│ │ ├── notifications.php
│ │ ├── offers.php
│ │ ├── pagination.php
│ │ ├── payment.php
│ │ ├── users.php
│ │ ├── validation.php
│ │ └── wishlist.php
└── views
│ ├── backend
│ ├── dashboard.blade.php
│ ├── dashboard_update.blade.php
│ ├── extensions
│ │ └── pagelink.blade.php
│ ├── listings_details_row.blade.php
│ ├── theme.blade.php
│ ├── translation.blade.php
│ └── translation
│ │ ├── header.blade.php
│ │ └── input.blade.php
│ ├── errors
│ ├── 400.blade.php
│ ├── 401.blade.php
│ ├── 403.blade.php
│ ├── 404.blade.php
│ ├── 405.blade.php
│ ├── 408.blade.php
│ ├── 429.blade.php
│ ├── 500.blade.php
│ └── 503.blade.php
│ ├── frontend
│ ├── ads
│ │ ├── buyref.blade.php
│ │ └── google.blade.php
│ ├── auth
│ │ ├── inc
│ │ │ ├── forget_password_modal.blade.php
│ │ │ ├── login_modal.blade.php
│ │ │ └── register_modal.blade.php
│ │ ├── login.blade.php
│ │ └── reset.blade.php
│ ├── blog
│ │ ├── article.blade.php
│ │ └── overview.blade.php
│ ├── comments
│ │ ├── form.blade.php
│ │ ├── likes.blade.php
│ │ └── show.blade.php
│ ├── emails
│ │ └── contact.blade.php
│ ├── game
│ │ ├── add.blade.php
│ │ ├── ajax
│ │ │ └── index.blade.php
│ │ ├── api
│ │ │ └── search.blade.php
│ │ ├── inc
│ │ │ └── card.blade.php
│ │ ├── index.blade.php
│ │ ├── search.blade.php
│ │ ├── searchindex.blade.php
│ │ ├── show.blade.php
│ │ ├── showMedia.blade.php
│ │ ├── showTrade.blade.php
│ │ └── subheader.blade.php
│ ├── layouts
│ │ ├── app.blade.php
│ │ └── inc
│ │ │ ├── footer.blade.php
│ │ │ └── nav.blade.php
│ ├── listing
│ │ ├── ajax
│ │ │ └── index.blade.php
│ │ ├── form.blade.php
│ │ ├── inc
│ │ │ └── card.blade.php
│ │ ├── index.blade.php
│ │ └── show.blade.php
│ ├── messenger
│ │ ├── index.blade.php
│ │ ├── no-threads.blade.php
│ │ ├── partials
│ │ │ ├── modal-message.blade.php
│ │ │ └── thread.blade.php
│ │ └── show.blade.php
│ ├── notifications
│ │ ├── listing_comment_new.blade.php
│ │ ├── listing_deleted.blade.php
│ │ ├── message_new.blade.php
│ │ ├── messenger_new.blade.php
│ │ ├── offer_deleted.blade.php
│ │ ├── offer_new.blade.php
│ │ ├── offer_status.blade.php
│ │ ├── payment_new.blade.php
│ │ ├── price_alert.blade.php
│ │ └── rating_new.blade.php
│ ├── offer
│ │ ├── chat.blade.php
│ │ ├── inc
│ │ │ └── modal-payment.blade.php
│ │ └── show.blade.php
│ ├── pages
│ │ ├── contact_form.blade.php
│ │ ├── inc
│ │ │ ├── landing_page.blade.php
│ │ │ ├── slider.blade.php
│ │ │ └── slider_original.blade.php
│ │ ├── startpage.blade.php
│ │ ├── with_subheader.blade.php
│ │ └── without_subheader.blade.php
│ ├── user
│ │ ├── api
│ │ │ └── notifications.blade.php
│ │ ├── dash
│ │ │ ├── balance.blade.php
│ │ │ ├── listings.blade.php
│ │ │ ├── notifications.blade.php
│ │ │ ├── offers.blade.php
│ │ │ ├── overview.blade.php
│ │ │ └── withdrawal.blade.php
│ │ ├── location
│ │ │ └── zippopotam.blade.php
│ │ ├── settings
│ │ │ ├── password.blade.php
│ │ │ ├── profile.blade.php
│ │ │ └── subheader.blade.php
│ │ ├── show.blade.php
│ │ └── subheader.blade.php
│ └── wishlist
│ │ ├── inc
│ │ └── modal-wishlist.blade.php
│ │ └── index.blade.php
│ ├── seo
│ ├── robots.blade.php
│ ├── sitemap
│ │ ├── games.blade.php
│ │ ├── index.blade.php
│ │ └── listings.blade.php
│ └── xml
│ │ └── opensearch.blade.php
│ └── vendor
│ ├── .gitkeep
│ ├── backport
│ └── partials
│ │ ├── footer.blade.php
│ │ └── menu.blade.php
│ ├── breadcrumbs
│ └── bootstrap-4.blade.php
│ ├── charts
│ └── chartjs
│ │ ├── container.blade.php
│ │ └── script.blade.php
│ ├── cookieConsent
│ ├── dialogContents.blade.php
│ └── index.blade.php
│ ├── elfinder
│ ├── .gitkeep
│ ├── ckeditor4.php
│ ├── elfinder.blade.php
│ ├── elfinder.php
│ ├── filepicker.php
│ ├── standalonepopup.php
│ ├── tinymce.php
│ └── tinymce4.php
│ ├── game
│ └── index.blade.php
│ ├── installer
│ ├── database-error.blade.php
│ ├── database.blade.php
│ ├── end.blade.php
│ ├── env-error.blade.php
│ ├── layout.blade.php
│ ├── permission-error.blade.php
│ ├── register.blade.php
│ ├── requirement-error.blade.php
│ └── welcome.blade.php
│ ├── mail
│ ├── html
│ │ ├── button.blade.php
│ │ ├── footer.blade.php
│ │ ├── header.blade.php
│ │ ├── layout.blade.php
│ │ ├── message.blade.php
│ │ ├── panel.blade.php
│ │ ├── promotion.blade.php
│ │ ├── promotion
│ │ │ └── button.blade.php
│ │ ├── subcopy.blade.php
│ │ ├── table.blade.php
│ │ └── themes
│ │ │ └── default.css
│ └── markdown
│ │ ├── button.blade.php
│ │ ├── footer.blade.php
│ │ ├── header.blade.php
│ │ ├── layout.blade.php
│ │ ├── message.blade.php
│ │ ├── panel.blade.php
│ │ ├── promotion.blade.php
│ │ ├── promotion
│ │ └── button.blade.php
│ │ ├── subcopy.blade.php
│ │ └── table.blade.php
│ ├── notifications
│ ├── email-plain.blade.php
│ └── email.blade.php
│ └── pagination
│ ├── bootstrap-4.blade.php
│ ├── default.blade.php
│ ├── simple-bootstrap-4.blade.php
│ └── simple-default.blade.php
├── routes
├── api.php
├── breadcrumbs.php
├── console.php
└── web.php
├── server.php
└── tests
├── ExampleTest.php
└── TestCase.php
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.scss linguist-vendored
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /node_modules
2 | /storage
3 | /vendor
4 | /.idea
5 | Homestead.json
6 | Homestead.yaml
7 | .env
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Game Trade
2 | # Requirements
3 | Before we start, make sure your server meets the following requirements:
4 | Server Requirements
5 | PHP >= 7.1.3
6 | OpenSSL PHP Extension
7 | PDO PHP Extension
8 | Mbstring PHP Extension
9 | Tokenizer PHP Extension
10 | XML PHP Extension
11 | Ctype PHP Extension
12 | JSON PHP Extension
13 | GD Library >= 2.0
14 | # Configuration
15 | Before you can start, you need to set your GiantBomb API Key in the admin panel. Please visit GiantBomb, and sign up to get your personal Key. The application uses the API to fetch game informations like descriptions, images, videos and much more. You can set your key in the admin panel under "Settings -> Game"
16 |
--------------------------------------------------------------------------------
/app/Backport/Controllers/AuthController.php:
--------------------------------------------------------------------------------
1 | command('inspire')
28 | // ->hourly();
29 | }
30 |
31 | /**
32 | * Register the Closure based commands for the application.
33 | *
34 | * @return void
35 | */
36 | protected function commands()
37 | {
38 | require base_path('routes/console.php');
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/app/Events/Event.php:
--------------------------------------------------------------------------------
1 | user = $user;
27 | }
28 | }
--------------------------------------------------------------------------------
/app/Events/Frontend/Auth/UserLoggedIn.php:
--------------------------------------------------------------------------------
1 | user = $user;
27 | }
28 | }
--------------------------------------------------------------------------------
/app/Events/Frontend/Auth/UserLoggedOut.php:
--------------------------------------------------------------------------------
1 | user = $user;
27 | }
28 | }
--------------------------------------------------------------------------------
/app/Events/Frontend/Auth/UserRegistered.php:
--------------------------------------------------------------------------------
1 | user = $user;
27 | }
28 | }
--------------------------------------------------------------------------------
/app/Exceptions/BadRequest.php:
--------------------------------------------------------------------------------
1 | width() > $image->height()) {
13 | $image->resize(null, 200, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | } else {
17 | $image->resize(200, null, function ($constraint) {
18 | $constraint->aspectRatio();
19 | });
20 | }
21 | $image->resizeCanvas(200, 200, 'center', false, array(255, 255, 255, 0));
22 |
23 | ob_end_clean();
24 |
25 | return $image->encode('jpg', config('settings.jpeg_quality'));
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/Filters/AvatarSquareTiny.php:
--------------------------------------------------------------------------------
1 | width() > $image->height()) {
13 | $image->resize(null, 200, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | } else {
17 | $image->resize(200, null, function ($constraint) {
18 | $constraint->aspectRatio();
19 | });
20 | }
21 | $image->resizeCanvas(200, 200, 'center', false, array(255, 255, 255, 0));
22 |
23 | $image->resize(50, null, function ($constraint) {
24 | $constraint->aspectRatio();
25 | });
26 |
27 | ob_end_clean();
28 |
29 | return $image->encode('jpg', config('settings.jpeg_quality'));
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/Filters/Carousel.php:
--------------------------------------------------------------------------------
1 | width() >= 300) {
13 | $image->resize(500, null, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | }
17 | if ($image->width() <= 250) {
18 | $image->resize(500, null, function ($constraint) {
19 | $constraint->aspectRatio();
20 | });
21 | }
22 |
23 | $image->resizeCanvas(500, 300, 'center', false, array(0, 0, 0, 0));
24 |
25 | ob_end_clean();
26 |
27 | return $image->encode('jpg', config('settings.jpeg_quality'));
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/Filters/Cover.php:
--------------------------------------------------------------------------------
1 | width() >= 300) {
13 | $image->resize(300, null, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | }
17 |
18 | ob_end_clean();
19 |
20 | return $image->encode('jpg', config('settings.jpeg_quality'));
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/Filters/Picture.php:
--------------------------------------------------------------------------------
1 | width() >= 1500) {
13 | $image->resize(1500, null, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | }
17 | // insert watermark
18 | $image->insert(asset('img/watermark.png'), 'bottom-right', 10, 10);
19 |
20 | ob_end_clean();
21 |
22 | return $image->encode('jpg', config('settings.jpeg_quality'));
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/Filters/Square.php:
--------------------------------------------------------------------------------
1 | width() >= 300) {
13 | $image->resize(300, null, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | }
17 | $image->resizeCanvas(200, 200, 'center', false, array(255, 255, 255, 0));
18 |
19 | ob_end_clean();
20 |
21 | return $image->encode('jpg', config('settings.jpeg_quality'));
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/app/Filters/SquareTiny.php:
--------------------------------------------------------------------------------
1 | width() >= 300) {
13 | $image->resize(300, null, function ($constraint) {
14 | $constraint->aspectRatio();
15 | });
16 | }
17 | $image->resizeCanvas(200, 200, 'center', false, array(255, 255, 255, 0));
18 | $image->resize(50, null, function ($constraint) {
19 | $constraint->aspectRatio();
20 | });
21 |
22 | ob_end_clean();
23 |
24 | return $image->encode('jpg', config('settings.jpeg_quality'));
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Helpers/Socialite.php:
--------------------------------------------------------------------------------
1 | put('locale', $lang);
17 | return redirect()->back();
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/Http/Middleware/AddContentLength.php:
--------------------------------------------------------------------------------
1 | header('Content-Length',strlen($response->getContent()));
21 | }
22 | return $response;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/Http/Middleware/EncryptCookies.php:
--------------------------------------------------------------------------------
1 | addMinutes(5);
22 | Cache::put('user-is-online-' . Auth::user()->id, true, $expiresAt);
23 | if (Auth::user()->last_activity_at < Carbon::now()) {
24 | Auth::user()->lastActivity($expiresAt);
25 | }
26 | }
27 | return $next($request);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/Http/Middleware/PermissionMiddleware.php:
--------------------------------------------------------------------------------
1 | user()->can($permission)) {
23 | abort(404);
24 | }
25 |
26 | return $next($request);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | check()) {
21 | return redirect('dash');
22 | }
23 |
24 | return $next($request);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RoleMiddleware.php:
--------------------------------------------------------------------------------
1 | user()->hasRole($role)) {
23 | abort(403);
24 | }
25 |
26 | if (! $request->user()->can($permission)) {
27 | abort(403);
28 | }
29 |
30 | return $next($request);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Middleware/SettingsMiddleware.php:
--------------------------------------------------------------------------------
1 | 'required',
32 | 'email' => 'sometimes|required|email',
33 | 'avatar' => 'mimes:jpeg,gif,png'
34 | ];
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/Http/Requests/Request.php:
--------------------------------------------------------------------------------
1 | get()->toArray();
20 | $localizable_languages_array = [];
21 |
22 | if (isset($active_languages) && count($active_languages)) {
23 | foreach ($active_languages as $key => $lang) {
24 | $localizable_languages_array[$lang['abbr']] = $lang;
25 | }
26 |
27 | return $localizable_languages_array;
28 | }
29 |
30 | return config('laravellocalization.supportedLocales');
31 | }
32 |
33 | public static function findByAbbr($abbr = false)
34 | {
35 | return self::where('abbr', $abbr)->first();
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/app/Models/SocialLogin.php:
--------------------------------------------------------------------------------
1 | id)->get();
21 |
22 | foreach ($games as $game) {
23 | // remove game
24 | $game->delete();
25 | }
26 |
27 | return true;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/Observers/UserObserver.php:
--------------------------------------------------------------------------------
1 | user_id);
20 | Cache::forget('popular_games');
21 |
22 | return true;
23 | }
24 |
25 | /**
26 | * Listen to the Wishlist created event.
27 | *
28 | * @param Wishlist $wishlist
29 | * @return void
30 | */
31 | public function created(Wishlist $wishlist)
32 | {
33 | Cache::forget('wishlist_' . $wishlist->user_id);
34 | Cache::forget('popular_games');
35 |
36 | return true;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/app/Providers/AuthServiceProvider.php:
--------------------------------------------------------------------------------
1 | 'App\Policies\ModelPolicy',
17 | ];
18 |
19 | /**
20 | * Register any authentication / authorization services.
21 | *
22 | * @return void
23 | */
24 | public function boot()
25 | {
26 | $this->registerPolicies();
27 |
28 | Gate::before(function ($user, $ability) {
29 | if ($user->can($ability)) {
30 | return true;
31 | }
32 | });
33 |
34 | //
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/Providers/BroadcastServiceProvider.php:
--------------------------------------------------------------------------------
1 | id === (int) $userId;
24 | });
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/Providers/ComposerServiceProvider.php:
--------------------------------------------------------------------------------
1 | composer(
17 | 'frontend.layouts.inc.footer', 'App\Http\ViewComposers\FooterComposer'
18 | );
19 | }
20 |
21 | /**
22 | * Register the application services.
23 | *
24 | * @return void
25 | */
26 | public function register()
27 | {
28 | //
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/Providers/EventServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
17 | 'App\Listeners\EventListener',
18 | ],
19 | \SocialiteProviders\Manager\SocialiteWasCalled::class => [
20 | 'SocialiteProviders\Twitch\TwitchExtendSocialite@handle',
21 | 'SocialiteProviders\Steam\SteamExtendSocialite@handle',
22 | ],
23 | ];
24 |
25 | /**
26 | * Register any events for your application.
27 | *
28 | * @return void
29 | */
30 | public function boot()
31 | {
32 | parent::boot();
33 |
34 | //
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/Repositories/Repository.php:
--------------------------------------------------------------------------------
1 | query()->get();
16 | }
17 |
18 | /**
19 | * @return mixed
20 | */
21 | public function getCount()
22 | {
23 | return $this->query()->count();
24 | }
25 |
26 | /**
27 | * @param $id
28 | * @return mixed
29 | */
30 | public function find($id)
31 | {
32 | return $this->query()->find($id);
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/config/breadcrumbs.php:
--------------------------------------------------------------------------------
1 | 'vendor/breadcrumbs/bootstrap-4',
6 |
7 | ];
8 |
--------------------------------------------------------------------------------
/config/charts.php:
--------------------------------------------------------------------------------
1 | 'Chartjs',
15 | ];
16 |
--------------------------------------------------------------------------------
/config/compile.php:
--------------------------------------------------------------------------------
1 | [
17 | //
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled File Providers
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may list service providers which define a "compiles" function
26 | | that returns additional files that should be compiled, providing an
27 | | easy way to get common files from any packages you are utilizing.
28 | |
29 | */
30 |
31 | 'providers' => [
32 | //
33 | ],
34 |
35 | ];
36 |
--------------------------------------------------------------------------------
/config/cookie-consent.php:
--------------------------------------------------------------------------------
1 | false,
9 |
10 | /*
11 | * The name of the cookie in which we store if the user
12 | * has agreed to accept the conditions.
13 | */
14 | 'cookie_name' => 'gameport_cookie_consent',
15 |
16 | /*
17 | * Set the cookie duration in days. Default is 365 * 20.
18 | */
19 | 'cookie_lifetime' => 365 * 20,
20 | ];
21 |
--------------------------------------------------------------------------------
/config/image.php:
--------------------------------------------------------------------------------
1 | 'gd'
19 |
20 | );
21 |
--------------------------------------------------------------------------------
/config/laravel-omnipay.php:
--------------------------------------------------------------------------------
1 | 'paypal',
7 |
8 | // Add in each gateway here
9 | 'gateways' => [
10 | 'paypal' => [
11 | 'driver' => 'PayPal_REST',
12 | 'options' => [
13 | 'solutionType' => '',
14 | 'landingPage' => '',
15 | 'headerImageUrl' => ''
16 | ]
17 | ]
18 | ]
19 |
20 | ];
21 |
--------------------------------------------------------------------------------
/config/messenger.php:
--------------------------------------------------------------------------------
1 | App\Models\User::class,
6 |
7 | 'message_model' => Cmgmyr\Messenger\Models\Message::class,
8 |
9 | 'participant_model' => Cmgmyr\Messenger\Models\Participant::class,
10 |
11 | 'thread_model' => Cmgmyr\Messenger\Models\Thread::class,
12 |
13 | /**
14 | * Define custom database table names.
15 | */
16 | 'messages_table' => 'messenger_messages',
17 | 'participants_table' => 'messenger_participants',
18 | 'threads_table' => 'messenger_threads',
19 | ];
20 |
--------------------------------------------------------------------------------
/config/prologue/alerts.php:
--------------------------------------------------------------------------------
1 | [
21 | 'info',
22 | 'warning',
23 | 'error',
24 | 'success',
25 | ],
26 |
27 | /*
28 | |--------------------------------------------------------------------------
29 | | Session Key
30 | |--------------------------------------------------------------------------
31 | |
32 | | The session key which is used to store flashed messages into the current
33 | | session. This can be changed if it conflicts with another key.
34 | |
35 | */
36 |
37 | 'session_key' => 'alert_messages',
38 |
39 | ];
40 |
--------------------------------------------------------------------------------
/config/searchy.php:
--------------------------------------------------------------------------------
1 | 'fuzzy',
6 |
7 | 'fieldName' => 'relevance',
8 |
9 | 'drivers' => [
10 |
11 | 'fuzzy' => [
12 | 'class' => 'TomLingham\Searchy\SearchDrivers\FuzzySearchDriver',
13 | ],
14 |
15 | 'ufuzzy' => [
16 | 'class' => 'TomLingham\Searchy\SearchDrivers\FuzzySearchUnicodeDriver',
17 | ],
18 |
19 | 'simple' => [
20 | 'class' => 'TomLingham\Searchy\SearchDrivers\SimpleSearchDriver',
21 | ],
22 |
23 | 'levenshtein' => [
24 | 'class' => 'TomLingham\Searchy\SearchDrivers\LevenshteinSearchDriver',
25 | ],
26 |
27 | ],
28 |
29 | ];
30 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/database/factories/ModelFactory.php:
--------------------------------------------------------------------------------
1 | define(App\User::class, function (Faker\Generator $faker) {
15 | static $password;
16 |
17 | return [
18 | 'name' => $faker->name,
19 | 'email' => $faker->unique()->safeEmail,
20 | 'password' => $password ?: $password = bcrypt('secret'),
21 | 'remember_token' => str_random(10),
22 | ];
23 | });
24 |
--------------------------------------------------------------------------------
/database/migrations/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/srsedev/laravel-game-trade/ecff2461ad6bb95aaccbe98218e5e9235ae6d70e/database/migrations/.gitkeep
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_100000_create_password_resets_table.php:
--------------------------------------------------------------------------------
1 | string('email')->index();
18 | $table->string('token')->index();
19 | $table->timestamp('created_at')->nullable();
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::drop('password_resets');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2015_08_04_130507_create_article_tag_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->integer('article_id')->unsigned();
18 | $table->integer('tag_id')->unsigned();
19 | $table->nullableTimestamps();
20 | $table->softDeletes();
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::drop('article_tag');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2015_08_04_130551_create_categories_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->integer('parent_id')->default(0)->nullable();
18 | $table->integer('lft')->unsigned()->nullable();
19 | $table->integer('rgt')->unsigned()->nullable();
20 | $table->integer('depth')->unsigned()->nullable();
21 | $table->string('name');
22 | $table->timestamps();
23 | $table->softDeletes();
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::drop('categories');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/database/migrations/2015_08_04_131614_create_settings_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('key');
18 | $table->string('name');
19 | $table->string('description')->nullable();
20 | $table->text('value')->nullable();
21 | $table->text('field');
22 | $table->string('category')->nullable();
23 | $table->integer('reorder')->nullable();
24 | $table->tinyInteger('active');
25 | $table->timestamps();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::drop('settings');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/database/migrations/2015_08_04_131626_create_tags_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name');
18 | $table->timestamps();
19 | $table->softDeletes();
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::drop('tags');
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2015_09_07_190535_create_languages_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name', 100);
18 | $table->string('app_name', 100);
19 | $table->string('flag', 100)->nullable();
20 | $table->string('abbr', 3);
21 | $table->tinyInteger('active')->unsigned()->default('1');
22 | $table->tinyInteger('default')->unsigned()->default('0');
23 | $table->timestamps();
24 | $table->softDeletes();
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::drop('languages');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2015_09_10_124414_alter_languages_table.php:
--------------------------------------------------------------------------------
1 | string('script', 20)->nullable()->after('abbr');
16 | $table->string('native', 20)->nullable()->after('script');
17 | });
18 | }
19 |
20 | /**
21 | * Reverse the migrations.
22 | *
23 | * @return void
24 | */
25 | public function down()
26 | {
27 | Schema::table('languages', function ($table) {
28 | $table->dropColumn('script');
29 | $table->dropColumn('native');
30 | });
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2015_12_28_171741_create_social_logins_table.php:
--------------------------------------------------------------------------------
1 | increments('id')->unsigned();
22 | $table->integer('user_id')->unsigned();
23 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
24 | $table->string('provider', 32);
25 | $table->string('provider_id');
26 | $table->string('token')->nullable();
27 | $table->string('avatar')->nullable();
28 | $table->timestamps();
29 | });
30 | }
31 |
32 | /**
33 | * Reverse the migrations.
34 | *
35 | * @return void
36 | */
37 | public function down()
38 | {
39 | Schema::dropIfExists('social_logins');
40 | }
41 | }
--------------------------------------------------------------------------------
/database/migrations/2016_05_25_121918_create_pages_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('template');
19 | $table->string('name');
20 | $table->string('title');
21 | $table->string('slug');
22 | $table->text('content')->nullable();
23 | $table->text('extras')->nullable();
24 | $table->timestamps();
25 | $table->softDeletes();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | Schema::drop('pages');
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/database/migrations/2016_07_24_060017_add_slug_to_categories_table.php:
--------------------------------------------------------------------------------
1 | string('slug')->unique()->after('name');
17 | });
18 | }
19 |
20 | /**
21 | * Reverse the migrations.
22 | *
23 | * @return void
24 | */
25 | public function down()
26 | {
27 | Schema::table('categories', function (Blueprint $table) {
28 | $table->dropColumn('slug');
29 | });
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/database/migrations/2016_07_24_060101_add_slug_to_tags_table.php:
--------------------------------------------------------------------------------
1 | string('slug')->unique()->after('name');
17 | });
18 | }
19 |
20 | /**
21 | * Reverse the migrations.
22 | *
23 | * @return void
24 | */
25 | public function down()
26 | {
27 | Schema::table('tags', function (Blueprint $table) {
28 | $table->dropColumn('slug');
29 | });
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/database/migrations/2016_11_30_203205_create_consoles_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name');
18 | $table->text('description')->nullable();
19 | $table->string('color')->nullable();
20 | $table->string('acronym');
21 | $table->enum('cover_position', ['left', 'center','right'])->default('left');
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::drop('consoles');
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2016_11_30_204552_create_genres_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name');
18 | $table->timestamps();
19 | });
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | Schema::drop('genres');
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/database/migrations/2016_12_02_161751_create_games_giantbomb_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('name');
18 | $table->text('summary')->nullable();
19 | $table->text('genres')->nullable();
20 | $table->string('image')->nullable();
21 | $table->text('images')->nullable();
22 | $table->text('videos')->nullable();
23 | $table->text('ratings')->nullable();
24 | $table->timestamps();
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::drop('games_giantbomb');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2016_12_27_132831_create_notifications_table.php:
--------------------------------------------------------------------------------
1 | uuid('id')->primary();
17 | $table->string('type');
18 | $table->morphs('notifiable');
19 | $table->text('data');
20 | $table->timestamp('read_at')->nullable();
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::dropIfExists('notifications');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_15_115837_create_digital_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->text('description')->nullable();
20 | $table->softDeletes();
21 | $table->timestamps();
22 | });
23 | }
24 |
25 | /**
26 | * Reverse the migrations.
27 | *
28 | * @return void
29 | */
30 | public function down()
31 | {
32 | Schema::dropIfExists('digitals');
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_15_123513_create_platform_digital_table.php:
--------------------------------------------------------------------------------
1 | integer('platform_id')->unsigned()->index();
18 | $table->foreign('platform_id')->references('id')->on('platforms')->onDelete('cascade');
19 | $table->integer('digital_id')->unsigned()->index();
20 | $table->foreign('digital_id')->references('id')->on('digitals')->onDelete('cascade');
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::dropIfExists('platform_digital');
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_105047_create_threads_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
19 | $table->integer('offer_id')->unsigned()->nullable();
20 | $table->string('subject');
21 | $table->timestamps();
22 | $table->foreign('offer_id')->references('id')->on('offers')->onDelete('cascade');
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::drop(Models::table('threads'));
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_105048_create_messages_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
19 | $table->integer('thread_id')->unsigned();
20 | $table->integer('user_id')->unsigned();
21 | $table->text('body');
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::drop(Models::table('messenger_messages'));
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_105049_create_participants_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
19 | $table->integer('thread_id')->unsigned();
20 | $table->integer('user_id')->unsigned();
21 | $table->timestamp('last_read')->nullable();
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::drop(Models::table('messenger_participants'));
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_105050_add_soft_deletes_to_participants_table.php:
--------------------------------------------------------------------------------
1 | softDeletes();
19 | });
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | Schema::table(Models::table('messenger_participants'), function (Blueprint $table) {
30 | $table->dropSoftDeletes();
31 | });
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_105051_add_softdeletes_to_threads_table.php:
--------------------------------------------------------------------------------
1 | softDeletes();
19 | });
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | Schema::table(Models::table('messenger_threads'), function (Blueprint $table) {
30 | $table->dropSoftDeletes();
31 | });
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_192812_add_game_foreign_table.php:
--------------------------------------------------------------------------------
1 | foreign('metacritic_id')->references('id')->on('games_metacritic');
18 | $table->foreign('giantbomb_id')->references('id')->on('games_giantbomb');
19 | $table->foreign('platform_id')->references('id')->on('platforms');
20 | $table->foreign('genre_id')->references('id')->on('genres');
21 | });
22 | }
23 |
24 | /**
25 | * Reverse the migrations.
26 | *
27 | * @return void
28 | */
29 | public function down()
30 | {
31 | Schema::table('games', function (Blueprint $table) {
32 | //
33 | });
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/database/migrations/2017_01_20_192945_add_offers_foreign_table.php:
--------------------------------------------------------------------------------
1 | foreign('listing_id')->references('id')->on('listings')->onDelete('cascade');
18 | $table->foreign('thread_id')->references('id')->on('messenger_threads');
19 | $table->foreign('trade_game')->references('id')->on('games');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::table('offers', function (Blueprint $table) {
31 | //
32 | });
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/database/migrations/2017_03_24_222006_create_withdrawals_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('user_id')->unsigned();
19 | $table->foreign('user_id')->references('id')->on('users');
20 | $table->double('total', 15, 2);
21 | $table->string('currency');
22 | $table->string('payment_method');
23 | $table->text('payment_details');
24 | $table->integer('status')->default('1');
25 | $table->timestamps();
26 | });
27 | }
28 |
29 | /**
30 | * Reverse the migrations.
31 | *
32 | * @return void
33 | */
34 | public function down()
35 | {
36 | //
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/database/migrations/2017_04_10_195926_change_extras_to_longtext.php:
--------------------------------------------------------------------------------
1 | longText('extras')->change();
18 | });
19 | }
20 |
21 | /**
22 | * Reverse the migrations.
23 | *
24 | * @return void
25 | */
26 | public function down()
27 | {
28 | Schema::table('pages', function (Blueprint $table) {
29 | $table->text('extras')->change();
30 | });
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2017_05_27_231043_create_user_player_ids_table.php:
--------------------------------------------------------------------------------
1 | integer('user_id')->unsigned();
18 | $table->foreign('user_id')->references('id')->on('users');
19 | $table->string('player_id');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | //
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2019_05_11_183852_create_backport_menu_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('parent_id')->default('0');
19 | $table->integer('order')->default('0');
20 | $table->string('title', 50);
21 | $table->string('icon', 50);
22 | $table->string('uri', 50)->nullable()->default(null);
23 | $table->string('permission')->nullable()->default(null);
24 | $table->timestamps();
25 | });
26 | }
27 |
28 | /**
29 | * Reverse the migrations.
30 | *
31 | * @return void
32 | */
33 | public function down()
34 | {
35 | Schema::dropIfExists('backport_menu');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/database/migrations/2019_05_11_183900_create_backport_operation_log_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->integer('user_id');
19 | $table->string('path');
20 | $table->string('method', 10);
21 | $table->string('ip');
22 | $table->text('input');
23 | $table->timestamps();
24 | });
25 | }
26 |
27 | /**
28 | * Reverse the migrations.
29 | *
30 | * @return void
31 | */
32 | public function down()
33 | {
34 | Schema::dropIfExists('backport_operation_log');
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/database/seeds/.gitkeep:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call(UsersTableSeeder::class);
15 | $this->call(PlatformsTableSeeder::class);
16 | $this->call(DigitalsTableSeeder::class);
17 | $this->call(DigitalPlatformTableSeeder::class);
18 | $this->call(LanguagesTableSeeder::class);
19 | $this->call(PermissionsTableSeeder::class);
20 | $this->call(RolesTableSeeder::class);
21 | $this->call(PermissionRolesTableSeeder::class);
22 | $this->call(SettingsTableSeeder::class);
23 | $this->call(BackportMenuTableSeeder::class);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/database/seeds/RolesTableSeeder.php:
--------------------------------------------------------------------------------
1 | delete();
18 |
19 | \DB::table('roles')->insert(array (
20 | 0 =>
21 | array (
22 | 'id' => 1,
23 | 'slug' => 'admin',
24 | 'name' => 'Admin',
25 | 'created_at' => '2016-11-30 18:32:22',
26 | 'updated_at' => '2017-01-08 23:27:36',
27 | ),
28 | 1 =>
29 | array (
30 | 'id' => 2,
31 | 'slug' => 'moderator',
32 | 'name' => 'Moderator',
33 | 'created_at' => '2017-01-13 20:08:37',
34 | 'updated_at' => '2017-01-13 20:08:37',
35 | ),
36 | ));
37 |
38 |
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | const elixir = require('laravel-elixir');
2 |
3 | require('laravel-elixir-vue-2');
4 |
5 | /*
6 | |--------------------------------------------------------------------------
7 | | Elixir Asset Management
8 | |--------------------------------------------------------------------------
9 | |
10 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks
11 | | for your Laravel application. By default, we are compiling the Sass
12 | | file for our application, as well as publishing vendor resources.
13 | |
14 | */
15 |
16 | elixir(mix => {
17 | mix.sass('app.scss')
18 | .webpack('app.js');
19 | });
20 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "scripts": {
4 | "prod": "gulp --production",
5 | "dev": "gulp watch"
6 | },
7 | "devDependencies": {
8 | "bootstrap-sass": "^3.3.7",
9 | "gulp": "^3.9.1",
10 | "jquery": "^3.1.0",
11 | "laravel-elixir": "^6.0.0-9",
12 | "laravel-elixir-vue-2": "^0.2.0",
13 | "laravel-elixir-webpack-official": "^1.0.2",
14 | "lodash": "^4.16.2",
15 | "vue": "^2.0.1",
16 | "vue-resource": "^1.0.3"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
Sent via {{ $email }}
8 | -------------------------------------------------------------------------------- /public/themes/default/views/frontend/messenger/no-threads.blade.php: -------------------------------------------------------------------------------- 1 | @extends('frontend.layouts.app') 2 | 3 | @section('content') 4 | 5 |{{$notification->created_at->diffForHumans()}}
23 |Sent via {{ $email }}
8 | -------------------------------------------------------------------------------- /resources/views/frontend/messenger/no-threads.blade.php: -------------------------------------------------------------------------------- 1 | @extends('frontend.layouts.app') 2 | 3 | @section('content') 4 | 5 |{{$notification->created_at->diffForHumans()}}
23 |{{ trans('installer.database-error.title') }}
7 |{{ trans('installer.database-error.sub-title') }}
9 |{{ trans('installer.database-error.message') }}
15 |{{ trans('installer.end.title') }}
7 | 12 |info_outline {{ trans('installer.permission-error.title') }}
7 |@if(!$env && !$app){{ trans('installer.permission-error.env-app-sub-title') }} @elseif(!$app) {{ trans('installer.permission-error.app-sub-title') }} @else {{ trans('installer.permission-error.env-sub-title') }} @endif
8 |info_outline {{ trans('installer.permission-error.title') }}
7 |{{ trans('installer.permission-error.sub-title') }} {{ $permissionCheck . '.'}}
8 |{{ trans('installer.requirement-error.title') }}
7 |{{ trans('installer.requirement-error.php-version') }} {{ PHP_VERSION . '.'}}
10 | @else 11 |{{ trans('installer.requirement-error.requirement') }} {{ $requirementCheck . '.'}}
12 | @endif 13 |{{ trans('installer.requirement-error.message')}}
15 |
4 |
|
18 |
6 | {{ Illuminate\Mail\Markdown::parse($slot) }} 7 | | 8 |
4 |
|
12 |
4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 | | 6 |
4 |
|
12 |
4 | {{ Illuminate\Mail\Markdown::parse($slot) }} 5 | | 6 |