Skip to content

Commit

Permalink
Dev (#952)
Browse files Browse the repository at this point in the history
* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* adding `SE` for livescore

* Feature/about tournaments and fixes (#692)

* adding `SE` for livescore

* adding `about_tournament` widget + placeholder

* issue #646

* issue #647

* updating `noWidgetData` for `About_Tour` widget

* issue #689 #690

* issue #691

* issue #691 (font)

* issue #693

* add links to tournaments (#688)

* add links to tournaments

* packages

* Tournaments (#694)

* add links to tournaments

* packages

* ifix languages

* Feature/adding missing translations about (#697)

* adding `SE` for livescore

* adding `CANCL` translation

* updating #605

* updating `placeholder`

* reducting `data` use in `hisotric-fixtures` overhead

* Feature/fixture pages (#720)

* Staging/prod (#680)

* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* Staging/prod (#698)

* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* adding `SE` for livescore

* Feature/about tournaments and fixes (#692)

* adding `SE` for livescore

* adding `about_tournament` widget + placeholder

* issue #646

* issue #647

* updating `noWidgetData` for `About_Tour` widget

* issue #689 #690

* issue #691

* issue #691 (font)

* issue #693

* add links to tournaments (#688)

* add links to tournaments

* packages

* Tournaments (#694)

* add links to tournaments

* packages

* ifix languages

* Feature/adding missing translations about (#697)

* adding `SE` for livescore

* adding `CANCL` translation

* updating #605

* updating `placeholder`

* reducting `data` use in `hisotric-fixtures` overhead

Co-authored-by: pomjet <[email protected]>

* removing `console.debug`

* update #700

* update #700

* updating `pull_request_template.md`

* addition of `TODO` and other `debug` comments

* updating `pull_request_template.md`

* update `structure` + `comments`

* update `pages_and_seo` types

* update `seo_block` cache generation

* update `pages_and_seo` cache generation

* update `seo_block` types

* update `pages_and_seo` query + types

* update `pages_and_seo` types + `hasura` type

* update `pages_and_seo` sitemap generation

* update `pages_and_seo` - `graphQL` query handling

* update `package.json`

* update `pull-request-template.md`

* update `pages_and_seo` unique arrays generation

* update `pages_and_seo` - `bull` worker generation

* update `page_and_seo` generation + `fixtures` page types & query

* update `pages_and_seo` for `fixtures-info` generation

* updating `fixtures-page` EN instance

* update `query` and `types` for `fixtures-page`

* update `fixtures-page` url generation

* update `query` and `types` for `fixtures-page`

* update `Header` for `[fixture=fixture]` endpoint

* `fixtures` page `preloading` and `load`

* update `fixtures` pages `breadcrumbs` and handling

* issue #584

* issue #

* update `pages_and_seo` cache & bull

* revert `query` for `pages_and_seo`

* remove `sitemap2` generation

* updated `sitemap`

* update `fixtures` to `current_season` generation only for `ALL` method

* update `query` to `[Int!]`

* update `manual` season-id change

* issue #700

* update `pages_and_seo` comments

* issue #715

* issue #717

* issue #700

* update `sitemap.xml`

* update `hasura-endpoint` sitemap connection

* update `hasura` event `update-fixture-sitemap` endpoint

* update `surgical` pages_and_seo

* update `url` format

* enabling `main`

* update `job` queue `ID`

Co-authored-by: pomjet <[email protected]>

* update `Yandex` track code

* Feature/fixtures page build (#730)

* update `Yandex` track code

* issue #695

* added `makefile`

* update `endpoints` locations

* update `endpoints` locations

* update `Makefile`

* update `About Tournaments` check

* update to correct `types` for `query_league_info`

* update `platform` structure

* update `platform` structure v2

* update `platform` structure v3

* `scoreboard` cache data `current_season` generation

* update `platform` structure v2

* update `platform` structure v4

* update `scoreboard` endpoint data

* update `scoreboard` endpoint data

* add `cache` - scoreboard retrieval

* add `cache` - scoreboard retrieval

* add `cache` - scoreboard retrieval `types`

* update `pages_and_seo` endpoint

* `aesthetic`

* update `scoreboard` loader + `widget`

* update `scoreboard` data handling

* `aesthetic`

* update `loader` for `scoreboard`

* update `loader` for `scoreboard` v2

* update `logo` add to `scorebaord`

* update `scoreboard` widget with `real-time` - firebase

* update `FT` and `fixture` status in `UI/UX` of `scoreboard`

* update `onDestory()` real-time connections

* update `handling` of `DEV` validations

* update `hide/show` of target `fixture-info` based on `status`

* update `settings.json`

* adding `no-visual` assets back to `about`

* update `bull/scoreboard` types

* `aesthetic`

* update `hasura/fixture/scoreboard` enbdpoint for `non-current-season` fixtures

* `non-current-fixtures` endpoint hasura call

* update `logo-path` from `league`

* add `close.svg` asset

* add `platform` support + `close-icon` + `league-logo` addition

* add `dark-mode` changes

* remove `debug-logs`

* remove `debug-logs`

* update `scroll-fixture-info` sticky

* update `miniature` - `UI/UX`

* update `debug-logs`

* repliacte to `/<lang>` route

* issue #737 `[translations]`

* issue #737 `[translations]` - `/<lang>` replication

* issue #734

* issue #732

* issue #731

* issue #736

* update `chunk-split` test in `build`

* `aesthetic`

* issue #741

* issue #742

* issue #743

* issues #745 #753

* `odds-separation` styling enforced

* update to `pre-load` directly from `Hasura` for `SEO` data - issues #731 #746 #752

* issue #752 #746

* issues #749 #748

* issue #747

* issue #751 + `aesthetic`

* issue #750

* issue #744

* issue #752 #746

* issue #745

* issue #754

* issue #750

* issue #758

* `debug` logs + issue #760

* issue #761

* issue #762

* issue #763

* issue #764

* issue #765

* issue #766

* issue #768

* issue #767

* issue #765

* issue #771

* issue #771 `correct`

* issue #772

* issue #763

* issue #769

* issue #725 + `aethetic`

* `aesthetic`

* reducing `firebase` connections + `debug` improve

* update `types`

* update `yandex`

* Hot update/about seo check cache (#774)

* update `about-check` for `league-info` endpoint

* update `pull-request` templates

* Feature/fixture page incidents lineups (#804)

* `lineups` init of `models` / `queries` / `types`

* `incidents` init of `models` / `queries` / `types`

* update `direct-hasura` data `GET`

* update `z-index` position of `miniature`

* add `player-data` + `team-shortcode` info

* add `player-data` + `team-shortcode` info + `types` & `query` enhance

* `EN` stable `mobile` lineups implementation

* `init` inicidents component

* `lineup` cache endpoint update

* add `firebase/lineups` general methods

* add `status_j` surgical for `lineups`

* update `hasura/historic_fixtures` - `events` types

* add `single` component for `players-row`

* `fixtures/lineups` endpoint update for `events` handle

* add `single-team-rating` to `lineup-data`

* add `component` for `player-visual`

* add `modular` - `lineup-component`  use and `reset-player` event data

* `fixtures/lineups` widget `tablet + desktop` enhance

* add `tablet/desktop` placeholder support

* remove `dev` placehodler enabled

* update `api/hasura/lineups` for `GET` on `non-current-seasons` data

* add `lang/sport/fixtures` page replication

* `no-data` add `title` to widget

* update `hasura/lineups` - `graphql`

* update `incidents` widget `loaders`

* update `incidents` widget on `data` / `modularization` / `types`

* update `latest` for `hasura/fixtures/incidents` endpoint

* update `bottom-row` incidents remove

* update `bottom-padding` + `show/hide` `scores-info`

* update `scoreboard-widget` empty-placeholder for `miniature`

* update `mobile` styles + `rating` logic for `team`

* `incidents-widget` layout `/<lang>` replication`

* add `yellowred` event handling

* update `substitution` order `UI`

* update `padding` on `incidents` widget

* update `layout` constant for `mobile`

* `incidents` widget update `sections` / `inifinite-loop` fix + `scores_j` info

* `lineups` widget data `infinite-loop` update

* update `styles` on `lineups` widget

* add `substitution` information to `lineups` list players

* update to correct `incidents` hasura query

* add `visual` substitution + `injury` player `UI`

* `injury` for `visual-player` priority

* update for `visual-player-name` surname use

* update for `first` name player `fallback` visual

* update `validation` for `events`

* update `no-incidents` widget show-data

* update `lineups` palceholder for `no-lineup` data

* `incidents` rectivity no-data modify

* update to `color-black-2` for `dark-mode`

* update `placeholder` + `pitch-vector` for `darkmode`

* update `dark-mode` for `placeholders`

* issue #780

* issue #781 #786

* update `bench_j` for `historic_fixtures`

* update for `correct` - `home/away` teams classification

* issue #784

* issue #788

* issue #789

* update `flex` grid design for `subs`

* update `bench` player for `substitution` info

* update `substitution` for `bench/player` layout

* update `no-events` for `incidents` widget on `LIVE`

* update `visual-lineup` pitch component

* update `team-short-code` fix + `update fit pitch visual` + `dynamic lineup` generation

* `show/hide` when no `formations` & `player-positions`

* update `away/lineup` team reverse order

* issue #787

* update for check on `lineups` without `formations`

* update for `-moz` in `incidents`

* update `seo` for `visibility`

* issue #781

* issue #788

* issue #791

* issue #783

* update for `safari`

* issue #786

* issue #796

* issue #797

* issue #798

* `unkonwn` pllayer data missing to `default` impl

* issue #799

* issue #795

* issue #799

* issue #792 #800

* update `non-refresh` data update

* issue #802

* issue #801

* issue #803

* issue #802

* issue #802 `update`

* issue #727

* update `about_check` for

* update `bull-job` for `delete` action

* update `bull-job` for `delete` action

* update `job-check` endpoint status

* update `job-check` endpoint status

* update `about_check`

* Update/cache endpoints (#806)

* update `about_check` for

* update `bull-job` for `delete` action

* update `bull-job` for `delete` action

* update `job-check` endpoint status

* update `job-check` endpoint status

* update `about_check`

* update `usage` of `endpoints` for `cache`

* add `obliterate` endpoint

* `aesthetic`

* fix game hours (#821)

* Feature/fixture page bet sites stats (#822)

* update `package.json`

* update `job` actions for `queue`

* `fixture/statistics` endpoint for `cache` & `hasura` init

* add `placeholder` for `fixture/statistics` widget

* complete `fixture/statistics` widget

* add `featured-bet-sites` + `statistics` to `fixture` page

* update `/<lang>` based `fixture-page` + `update-data-check`

* update `fixture/statistics` SEO

* update `stat-row` for `%` sign

* update checks for `real-time` stats data existance

* update for `statistics` correct cache retireval

* issue #818 #816 #817 #819 #813 #812

* issue #811

* issue #815

* issue #814

* issue #815

* update `fixture_odds/surgical-cache` udpate

* issue #815

* issue #820

* update `pages_and_seo` endpoints

* update `fixture-odds` endpoint

* update `pages_and_seo` endpoints

* update `pages_and_seo` endpoints

* Fix/fix game hours (#824)

* fix game hours

* fix hours

* Feature/fixtures content about (#841)

* Dev `PROD` (#823)

* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* adding `SE` for livescore

* Feature/about tournaments and fixes (#692)

* adding `SE` for livescore

* adding `about_tournament` widget + placeholder

* issue #646

* issue #647

* updating `noWidgetData` for `About_Tour` widget

* issue #689 #690

* issue #691

* issue #691 (font)

* issue #693

* add links to tournaments (#688)

* add links to tournaments

* packages

* Tournaments (#694)

* add links to tournaments

* packages

* ifix languages

* Feature/adding missing translations about (#697)

* adding `SE` for livescore

* adding `CANCL` translation

* updating #605

* updating `placeholder`

* reducting `data` use in `hisotric-fixtures` overhead

* Feature/fixture pages (#720)

* Staging/prod (#680)

* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* Staging/prod (#698)

* testing `dev` environment

* testing `dev` environment

* Enhance/featured match and real time odds (#679)

* testing `dev` environment

* testing `dev` environment

* issue #632

* updating `sportbook_details` `GET` & `generation`

* enhancing `fixture_odds` to accomodate for `odds`

* issue #553

* issues `missing` week fixtures `only`

* updating `group-dates` box

* issue #652

* updating `fixture_odds` for `register-link` + `googleEvent`

* updating missing `1X2FT` option

* updating `urls` handling issue #632

* promoting `cache` & `bull` to `prod`

* updating `featured-match` match generation cache retrieve

* updating `featured_match`

* updating `cache` fetch + `fetured_match` handling

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* update `odds` selection and `error-based` resolution

* issue #662

* issue #664

* issue #664

* issue #666

* updating widget comments `fixture_odds`

* formatting styles for `widget`

* updating `missing` `2` bets on `2` odds available

* issue #639

* issue #660

* issue #667

* issue #670

* issue #671

* issue #671 #672

* issue #668

* issue #665

* issue #665

* issue #674

* issue #675

* issue #671

* issue #676 #677

* issue #678 #671

* issue #676

* issue #671

* adding `SE` for livescore

* Feature/about tournaments and fixes (#692)

* adding `SE` for livescore

* adding `about_tournament` widget + placeholder

* issue #646

* issue #647

* updating `noWidgetData` for `About_Tour` widget

* issue #689 #690

* issue #691

* issue #691 (font)

* issue #693

* add links to tournaments (#688)

* add links to tournaments

* packages

* Tournaments (#694)

* add links to tournaments

* packages

* ifix languages

* Feature/adding missing translations about (#697)

* adding `SE` for livescore

* adding `CANCL` translation

* updating #605

* updating `placeholder`

* reducting `data` use in `hisotric-fixtures` overhead

Co-authored-by: pomjet <[email protected]>

* removing `console.debug`

* update #700

* update #700

* updating `pull_request_template.md`

* addition of `TODO` and other `debug` comments

* updating `pull_request_template.md`

* update `structure` + `comments`

* update `pages_and_seo` types

* update `seo_block` cache generation

* update `pages_and_seo` cache generation

* update `seo_block` types

* update `pages_and_seo` query + types

* update `pages_and_seo` types + `hasura` type

* update `pages_and_seo` sitemap generation

* update `pages_and_seo` - `graphQL` query handling

* update `package.json`

* update `pull-request-template.md`

* update `pages_and_seo` unique arrays generation

* update `pages_and_seo` - `bull` worker generation

* update `page_and_seo` generation + `fixtures` page types & query

* update `pages_and_seo` for `fixtures-info` generation

* updating `fixtures-page` EN instance

* update `query` and `types` for `fixtures-page`

* update `fixtures-page` url generation

* update `query` and `types` for `fixtures-page`

* update `Header` for `[fixture=fixture]` endpoint

* `fixtures` page `preloading` and `load`

* update `fixtures` pages `breadcrumbs` and handling

* issue #584

* issue #

* update `pages_and_seo` cache & bull

* revert `query` for `pages_and_seo`

* remove `sitemap2` generation

* updated `sitemap`

* update `fixtures` to `current_season` generation only for `ALL` method

* update `query` to `[Int!]`

* update `manual` season-id change

* issue #700

* update `pages_and_seo` comments

* issue #715

* issue #717

* issue #700

* update `sitemap.xml`

* update `hasura-endpoint` sitemap connection

* update `hasura` event `update-fixture-sitemap` endpoint

* update `surgical` pages_and_seo

* update `url` format

* enabling `main`

* update `job` queue `ID`

Co-authored-by: pomjet <[email protected]>

* update `Yandex` track code

* Feature/fixtures page build (#730)

* update `Yandex` track code

* issue #695

* added `makefile`

* update `endpoints` locations

* update `endpoints` locations

* update `Makefile`

* update `About Tournaments` check

* update to correct `types` for `query_league_info`

* update `platform` structure

* update `platform` structure v2

* update `platform` structure v3

* `scoreboard` cache data `current_season` generation

* update `platform` structure v2

* update `platform` structure v4

* update `scoreboard` endpoint data

* update `scoreboard` endpoint data

* add `cache` - scoreboard retrieval

* add `cache` - scoreboard retrieval

* add `cache` - scoreboard retrieval `types`

* update `pages_and_seo` endpoint

* `aesthetic`

* update `scoreboard` loader + `widget`

* update `scoreboard` data handling

* `aesthetic`

* update `loader` for `scoreboard`

* update `loader` for `scoreboard` v2

* update `logo` add to `scorebaord`

* update `scoreboard` widget with `real-time` - firebase

* update `FT` and `fixture` status in `UI/UX` of `scoreboard`

* update `onDestory()` real-time connections

* update `handling` of `DEV` validations

* update `hide/show` of target `fixture-info` based on `status`

* update `settings.json`

* adding `no-visual` assets back to `about`

* update `bull/scoreboard` types

* `aesthetic`

* update `hasura/fixture/scoreboard` enbdpoint for `non-current-season` fixtures

* `non-current-fixtures` endpoint hasura call

* update `logo-path` from `league`

* add `close.svg` asset

* add `platform` support + `close-icon` + `league-logo` addition

* add `dark-mode` changes

* remove `debug-logs`

* remove `debug-logs`

* update `scroll-fixture-info` sticky

* update `miniature` - `UI/UX`

* update `debug-logs`

* repliacte to `/<lang>` route

* issue #737 `[translations]`

* issue #737 `[translations]` - `/<lang>` replication

* issue #734

* issue #732

* issue #731

* issue #736

* update `chunk-split` test in `build`

* `aesthetic`

* issue #741

* issue #742

* issue #743

* issues #745 #753

* `odds-separation` styling enforced

* update to `pre-load` directly from `Hasura` for `SEO` data - issues #731 #746 #752

* issue #752 #746

* issues #749 #748

* issue #747

* issue #751 + `aesthetic`

* issue #750

* issue #744

* issue #752 #746

* issue #745

* issue #754

* issue #750

* issue #758

* `debug` logs + issue #760

* issue #761

* issue #762

* issue #763

* issue #764

* issue #765

* issue #766

* issue #768

* issue #767

* issue #765

* issue #771

* issue #771 `correct`

* issue #772

* issue #763

* issue #769

* issue #725 + `aethetic`

* `aesthetic`

* reducing `firebase` connections + `debug` improve

* update `types`

* update `yandex`

* Hot update/about seo check cache (#774)

* update `about-check` for `league-info` endpoint

* update `pull-request` templates

* Feature/fixture page incidents lineups (#804)

* `lineups` init of `models` / `queries` / `types`

* `incidents` init of `models` / `queries` / `types`

* update `direct-hasura` data `GET`

* update `z-index` position of `miniature`

* add `player-data` + `team-shortcode` info

* add `player-data` + `team-shortcode` info + `types` & `query` enhance

* `EN` stable `mobile` lineups implementation

* `init` inicidents component

* `lineup` cache endpoint update

* add `firebase/lineups` general methods

* add `status_j` surgical for `lineups`

* update `hasura/historic_fixtures` - `events` types

* add `single` component for `players-row`

* `fixtures/lineups` endpoint update for `events` handle

* add `single-team-rating` to `lineup-data`

* add `component` for `player-visual`

* add `modular` - `lineup-component`  use and `reset-player` event data

* `fixtures/lineups` widget `tablet + desktop` enhance

* add `tablet/desktop` placeholder support

* remove `dev` placehodler enabled

* update `api/hasura/lineups` for `GET` on `non-current-seasons` data

* add `lang/sport/fixtures` page replication

* `no-data` add `title` to widget

* update `hasura/lineups` - `graphql`

* update `incidents` widget `loaders`

* update `incidents` widget on `data` / `modularization` / `types`

* update `latest` for `hasura/fixtures/incidents` endpoint

* update `bottom-row` incidents remove

* update `bottom-padding` + `show/hide` `scores-info`

* update `scoreboard-widget` empty-placeholder for `miniature`

* update `mobile` styles + `rating` logic for `team`

* `incidents-widget` layout `/<lang>` replication`

* add `yellowred` event handling

* update `substitution` order `UI`

* update `padding` on `incidents` widget

* update `layout` constant for `mobile`

* `incidents` widget update `sections` / `inifinite-loop` fix + `scores_j` info

* `lineups` widget data `infinite-loop` update

* update `styles` on `lineups` widget

* add `substitution` information to `lineups` list players

* update to correct `incidents` hasura query

* add `visual` substitution + `injury` player `UI`

* `injury` for `visual-player` priority

* update for `visual-player-name` surname use

* update for `first` name player `fallback` visual

* update `validation` for `events`

* update `no-incidents` widget show-data

* update `lineups` palceholder for `no-lineup` data

* `incidents` rectivity no-data modify

* update to `color-black-2` for `dark-mode`

* update `placeholder` + `pitch-vector` for `darkmode`

* update `dark-mode` for `placeholders`

* issue #780

* issue #781 #786

* update `bench_j` for `historic_fixtures`

* update for `correct` - `home/away` teams classification

* issue #784

* issue #788

* issue #789

* update `flex` grid design for `subs`

* update `bench` player for `substitution` info

* update `substitution` for `bench/player` layout

* update `no-events` for `incidents` widget on `LIVE`

* update `visual-lineup` pitch component

* update `team-short-code` fix + `update fit pitch visual` + `dynamic lineup` generation

* `show/hide` when no `formations` & `player-positions`

* update `away/lineup` team reverse order

* issue #787

* update for check on `lineups` without `formations`

* update for `-moz` in `incidents`

* update `seo` for `visibility`

* issue #781

* issue #788

* issue #791

* issue #783

* update for `safari`

* issue #786

* issue #796

* issue #797

* issue #798

* `unkonwn` pllayer data missing to `default` impl

* issue #799

* issue #795

* issue #799

* issue #792 #800

* update `non-refresh` data update

* issue #802

* issue #801

* issue #803

* issue #802

* issue #802 `update`

* issue #727

* update `about_check` for

* update `bull-job` for `delete` action

* update `bull-job` for `delete` action

* update `job-check` endpoint status

* update `job-check` endpoint status

* update `about_check`

* Update/cache endpoints (#806)

* update `about_check` for

* update `bull-job` for `delete` action

* update `bull-job` for `delete` action

* update `job-check` endpoint status

* update `job-check` endpoint status

* update `about_check`

* update `usage` of `endpoints` for `cache`

* add `obliterate` endpoint

* `aesthetic`

* fix game hours (#821)

* Feature/fixture page bet sites stats (#822)

* update `package.json`

* update `job` actions for `queue`

* `fixture/statistics` endpoint for `cache` & `hasura` init

* add `placeholder` for `fixture/statistics` widget

* complete `fixture/statistics` widget

* add `featured-bet-sites` + `statistics` to `fixture` page

* update `/<lang>` based `fixture-page` + `update-data-check`

* update `fixture/statistics` SEO

* update `stat-row` for `%` sign

* update checks for `real-time` stats data existance

* update for `statistics` correct cache retireval

* issue #818 #816 #817 #819 #813 #812

* issue #811

* issue #815

* issue #814

* issue #815

* update `fixture_odds/surgical-cache` udpate

* issue #815

* issue #820

* update `pages_and_seo` endpoints

* update `fixture-odds` endpoint

* update `pages_and_seo` endpoints

* update `pages_and_seo` endpoints

Co-authored-by: pomjet <[email protected]>

* add support for `content` widget of `fixtures-page` data generation

* add `BullMQ` support for `workers` upgrade

* main `scoreboard` fixtures widget `stores` data select of `views`

* add `content-widget` for `fixtures-page` in `EN`

* add `content-loader` for `content` widget in `fixtures-page`

* update `tablet/desktop` content-loader

* `aethetic`

* update `widget` layout and `UI` for `mobile` and completion

* update `page` layout for `full-news` widget width

* update `content` wiget for `cross-platform` UI change

* add `SEO` for `content` in `fixture-page`

* adding `component` for `Fixture_page/about` widget

* add `fixture-page/about` widget for `fixture-page` layout

* add `about` widget `cache - hasura & bull` endpoints + `models` & `graphql`

* update `fixture-page/about` widget `loaders`

* update `about` widget `placeholder` - `show/hide` & `dev`

* update for hide of `News & Views` on `no-data`

* reverting to `Bull V3` from BullMQ`

* issue #829

* issue #830

* issue #831

* issue #832

* issue #833

* issue #835

* issue #835

* issue #837

* issue #834

* issue #833

* issue #837

* issue #839

* issue #840

* issue #839

* issue #840

Co-authored-by: pomjet <[email protected]>

* Feature/fixture vote sitemap enhance (#859)

* add `cache` + `query` for `fixtures_vote` component

* add `loader` for `fixtures_votes`

* update `Featured_Match` widget for correct `imports`

* add `assets` for `fixtures-votes`

* add `widget` - `fixtures-votes` to the `pages` + `pre-load` translation data

* update `layout` of `bet-btn` + `styles` update

* issue #848

* update for `no-data` on `fixture-vote` widget

* update for `status: FT` & `livescores_now` of `NaN` for `scoreboard`

* update `fixtures-votes` widget cross-platform compatability `CSS`

* update `comments`

* `NavBar - aesthetic`

* `NavBar - aesthetic`

* `NavBar - aesthetic`

* `NavBar - aesthetic` + add `anchor` to `Football` btn

* issue #726

* hide `dev` loader for `league_list`

* update `fixtures-votes` darkmode + `google-events§

* update `redis-connection`

* update `Top-Players` widget

* update `/tournaments` page `debug` info

* issue #851

* issue #853

* issue #850

* remove `bull` from `scores-platform`

* update `pages_and_seo` retrieve

* update `pages_and_seo` data cache `retireval` endpoint

* update `about` endpoint `retrival`

* update `tournament/standing` endpoint

* update `tournament/standings` widget for `group-type` handle

* update `hasura` types comment

* update `cache` strucutre & modularization

* update `cooment`

* update `tournament/standings` UI `styles`

* update `standings-row`

* remove `worker` for `cache`

* update `fixture-page` cache type data

* Update/minor issues (#874)

* update `redis` upstash `remove`

* update `minor` cache retrival issues

* update `sitemap` location

* issue #861

* issue #871

* issue #871

* issue #870

* issue #870

* issue #869 `translations`

* issue #869 `missing data-points` + `home | away (views)`

* issue #865

* remove `GoogleAnalytics` widget

* update `gtag` type to `window.gtag`

* update `gtag` type to `window.gtag`

* remove `GoogleAnalytics` widget

* issue #860 #863

* issue #848 `top-players` target

* issue #862

* issue #857

* issue #853

* issue #871

* issue #863

* issue #872

* issue #848

* issue #868 #876 (#887)

* Feature/fixture probabilities (#935)

* issue #909 (+ `hasura` target queries)

* update `show (more/less)` logic

* add `odds` for `target` data `boxes`

* issue #895

* issue #916

* issue #916 `(update)`

* issue #878

* issue #905

* issue #904

* issue #906

* issue #901 #894

* issue #909 `(update odds undefined handle)`

* issue #909 `(update translations)` + `GEvent`

* issue #909 `(update widget mobile order)`

* issue #925

* issue #927

* issue #929

* issue #928 `(2/2)`

* issue #926 `(5/5)`

* issue #916

* issue #916 `update`

* issue #928

* issue #933 #931

* issue #916

* issue #932

* issue #925

* issue #909 `(update no bet-site)` default

* issue #933

* add `.deepsource.toml`

* remove `redundant` console logs `duplicates`

* issue #922

* issue #877

* issue #881

* issue #913

* issue #881 `(update for 1.5)`

* issue #937

* issue #891

* issue #921

* issue #885

* issue #934

* issue #920

* issue #925

* issue #899 `duplicates`

* update `deepsource`

* issue #899 `unused variables`

* issue #899 `dockerfile update`

* issue #899 `unused variables`

* issue #899 `/u tag`

* issue #899 `string concat` + `duplicate re-assign`

* update `deepsource`

* issue #920 `direct data endpoint`

* issue #920 `issues hot-fix`

* issue #920 `add AET` status

* update `cache` for `fixture-odds-v2`

* issue #899 `dockerfile update`

* issue #920 `add custom league-per target` method

* update `fixture-odds` for `NS`

* `revert` for `Dockerfile`

* issue #899 `JS-0240`

* issue #899 `dockerfile update`

* issue #899 `JS-0246`

* issue #899 `enhance`

* issue #899 `enhance`

* update `settings.json` for `.vscode`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* issue #899 `enhance`

* `update` fixes

* add new `sportmonks` file main `types` + `var`

* update `types`

* issue #937

* `aesthetic`

* issue #925

* issue #920

* issue #925

* issue #891

* issue #920 + `aesthetic`

* issue #934

* `comments`

* `contribuition` examples

* issue #921 `improved`

* issue #921 `remove expressions`

* issue #934

* issue #934

* issue #934 `aesthetic`

* issue #900

* `aesthetic`

Co-authored-by: pomjet <[email protected]>
  • Loading branch information
migbash and pomjet authored Dec 22, 2022
1 parent 0c01881 commit 86ba1d5
Show file tree
Hide file tree
Showing 132 changed files with 3,383 additions and 2,552 deletions.
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "docker"
enabled = true

[analyzers.meta]
dockerfile_paths = ["https://github.com/Betarena/scores/blob/main/Dockerfile"]
dockerfile_paths = ["Dockerfile"]

[[analyzers]]
name = "javascript"
Expand Down
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
// https://stackoverflow.com/questions/64365300/how-can-i-remove-unused-imports-declarations-from-the-entire-project-of-react-ty
// https://stackoverflow.com/questions/46722701/is-there-a-way-to-remove-unused-imports-and-declarations-from-angular-2
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true,
"source.sortMembers": true
},
"todohighlight.keywords": [
{
"text": "NOTE:",
Expand Down
Empty file.
17 changes: 12 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# https://hub.docker.com/_/node

# ==== Builder Image
FROM node:16.17.0-alpine
FROM node:16.17.0-alpine as build
WORKDIR /app

# [ℹ] Installs required node packages
COPY package.json package-lock.json ./
# RUN apk add --no-cache git
RUN apk add --no-cache python3 make g++
RUN npm i --omit=optional
# [ℹ] Installs required APK packages:
# [ℹ] https://pkgs.alpinelinux.org/packages
# [ℹ] example-use: https://superuser.com/questions/1055060/how-to-install-a-specific-package-version-in-alpine
# [ℹ] example-use: https://superuser.com/questions/1198215/fixate-version-alpine-linux-apk-package-in-container
RUN apk add --no-cache \
python3=3.10.9-r0 \
make=4.3-r0 \
g++=11.2.1_git20220219-r2 \
&& npm i --omit=optional

# [ℹ] Builds node application
COPY . .
RUN npm run build

# ==== Final Image
FROM node:16.17.0-alpine
FROM node:16.17.0-alpine as final
USER node:node
WORKDIR /app

COPY --from=0 /app .
COPY --from=build /app .
COPY . .

EXPOSE 3000
Expand Down
18 changes: 9 additions & 9 deletions my-server.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// [ℹ] https://github.com/sveltejs/kit/tree/master/packages/adapter-node#custom-server
// [ℹ] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import

import { handler } from './build/handler.js';
import express from 'express';
import sslRedirect from 'heroku-ssl-redirect';
import * as sslify from 'express-sslify';
import * as requestIp from 'request-ip' // https://www.npmjs.com/package/request-ip
import { handler } from './build/handler.js';
// import sslRedirect from 'heroku-ssl-redirect';
import compression from 'compression'; // https://expressjs.com/en/resources/middleware/compression.html
import * as sslify from 'express-sslify';
import * as requestIp from 'request-ip'; // https://www.npmjs.com/package/request-ip

const app = express();

Expand All @@ -30,20 +30,20 @@ const app = express();
*/
app.get('/getClientIP', (req, res, next) => {

var ip = req.headers['x-forwarded-for'] ||
const ip = req.headers['x-forwarded-for'] ||
req.socket.remoteAddress ||
null;
console.log('ip', ip);

var ip2 = req.ip
const ip2 = req.ip
console.log('ip2', ip2);

var ip3 = requestIp.getClientIp(req);
const ip3 = requestIp.getClientIp(req);
console.log('ip3', ip3);

var ipAddr = req.headers["x-forwarded-for"];
let ipAddr = req.headers["x-forwarded-for"];
if (ipAddr){
var list = ipAddr.split(",");
const list = ipAddr.split(",");
ipAddr = list[list.length-1];
} else {
ipAddr = req.connection.remoteAddress;
Expand Down
2 changes: 1 addition & 1 deletion src/global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

interface Window {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
gtag: any;
gtag: unknown;
}
8 changes: 3 additions & 5 deletions src/hooks.server.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import cookie from 'cookie'; // https://www.npmjs.com/package/cookie
import { v4 as uuid } from '@lukeed/uuid'; // https://www.npmjs.com/package/@lukeed/uuid
import type { Handle } from '@sveltejs/kit';
import { getUserLocationFromIP } from '$lib/geoJs/init';
import { prerendering } from '$app/environment';
import { v4 as uuid } from '@lukeed/uuid';
import cookie from 'cookie';

import type { Handle } from '@sveltejs/kit';
// https://dev.to/krowemoh/sveltekit-hooks-2bii
// https://dev.to/kudadam/sveltekit-hooks-everything-you-need-to-know-3l39
// https://rodneylab.com/sveltekit-session-cookies/
Expand Down
4 changes: 2 additions & 2 deletions src/lib/api/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { logErrorGroup } from "$lib/utils/debug";
* @param endpoint
* @returns
*/
export async function get(endpoint: string): Promise< any > {
export async function get(endpoint: string): Promise<unknown> {
// curcanavigate CORS issues
// endpoint = 'https://cors-anywhere.herokuapp.com/' + endpoint // comment this out before subemission,
// ...
Expand Down Expand Up @@ -41,7 +41,7 @@ import { logErrorGroup } from "$lib/utils/debug";
* @param {*} data
* @returns
*/
export async function post(path, data): Promise < any > {
export async function post(path, data): Promise<unknown> {
// ...
return await fetch(path, {
method: 'POST',
Expand Down
6 changes: 3 additions & 3 deletions src/lib/components/_Email_subscribe.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
=================== -->

<script lang="ts">
import { getStores, navigating, page, updated } from '$app/stores';
import { fade } from 'svelte/transition';
import { sessionStore } from '$lib/store/session';
import { page } from '$app/stores';
import { sessionStore } from '$lib/store/session';
import { fade } from 'svelte/transition';
// ... immediately update the data with the lang;
let server_side_language: string = 'en';
Expand Down
1 change: 0 additions & 1 deletion src/lib/components/_Platform_alert.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[TypeScript Written]
=================== -->
<script lang="ts">
import { page } from "$app/stores";
import type { Cache_Single_Lang_Header_Translation_Response } from "$lib/models/navbar/types";
export let HEADER_TRANSLATION_DATA: Cache_Single_Lang_Header_Translation_Response;
Expand Down
21 changes: 10 additions & 11 deletions src/lib/components/_main_/footer/_Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@

<script lang="ts">
// [ℹ] svelte-imports;
import { onMount } from 'svelte'
import { browser, dev } from '$app/environment'
import { fade } from 'svelte/transition'
import { getStores, navigating, page, updated } from '$app/stores';
import { sessionStore } from '$lib/store/session';
// [ℹ] typescript-types;
import type { Cache_Single_Lang_Footer_Translation_Response } from '$lib/models/_main_/footer/types'
import { browser, dev } from '$app/environment';
import { page } from '$app/stores';
import { sessionStore } from '$lib/store/session';
import { onMount } from 'svelte';
// [ℹ] typescript-types;
import type { Cache_Single_Lang_Footer_Translation_Response } from '$lib/models/_main_/footer/types';
// [ℹ] image-assets;
import logo_full from './assets/betarena-logo-full.svg'
import begambleawareorg from './assets/begambleawareorg_black.png'
import legal18icon from './assets/legal-18-action-bet.png'
import { logDevGroup } from '$lib/utils/debug';
import { logDevGroup } from '$lib/utils/debug';
import begambleawareorg from './assets/begambleawareorg_black.png';
import logo_full from './assets/betarena-logo-full.svg';
import legal18icon from './assets/legal-18-action-bet.png';
// [ℹ] pre-loaded & ready;
export let FOOTER_TRANSLATION_DATA: Cache_Single_Lang_Footer_Translation_Response;
Expand Down
34 changes: 16 additions & 18 deletions src/lib/components/_main_/header/_Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,41 @@
/**
* [ℹ] svelte-kit
*/
import { page } from '$app/stores';
import { browser, dev } from '$app/environment';
import { afterNavigate, goto, invalidate, invalidateAll } from '$app/navigation';
import { onMount } from 'svelte';
import { fly } from 'svelte/transition';
/**
import { browser, dev } from '$app/environment';
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import { onMount } from 'svelte';
import { fly } from 'svelte/transition';
/**
* [ℹ] stroes
*/
import { userBetarenaSettings } from '$lib/store/user-settings';
/**
* [ℹ] header-component
*/
import { getUserLocation, getUserLocationFromIP } from '$lib/geoJs/init';
import { logDevGroup } from '$lib/utils/debug';
import logo_full from './assets/betarena-logo-full.svg';
import logo_mini from './assets/betarena-logo-mobile.svg';
import menu_burger_bar from './assets/menu-burger.svg';
import icon_check from './assets/icon-check.svg';
import { logDevGroup } from '$lib/utils/debug';
import { getUserLocation, getUserLocationFromIP } from '$lib/geoJs/init';
/**
import menu_burger_bar from './assets/menu-burger.svg';
/**
* [ℹ] sub-header-component
*/
import close from './assets/close.svg';
import arrow_down from './assets/arrow-down.svg';
import arrow_down_fade from './assets/arrow-down-fade.svg';
import arrow_up from './assets/arrow-up.svg';
import arrow_down from './assets/arrow-down.svg';
import arrow_up_fade from './assets/arrow-up-fade.svg';
import light_icon_theme from './assets/theme-light-icon.svg';
import arrow_up from './assets/arrow-up.svg';
import close from './assets/close.svg';
import menu_sports_icon from './assets/menu_sports_icon.svg';
/**
import light_icon_theme from './assets/theme-light-icon.svg';
/**
* [ℹ] header-types
*/
import type { GeoJsResponse } from '$lib/models/geojs-types';
import type { Cache_Single_Lang_Header_Translation_Response } from "$lib/models/navbar/types";
import type { GeoJsResponse } from '$lib/models/geojs-types';
/**
* [ℹ] export-values-expected
Expand Down
9 changes: 3 additions & 6 deletions src/lib/components/fixtures_page/about/About_Loader.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@

<script lang="ts">
import { fade } from "svelte/transition";
import { onMount } from "svelte";
import { page } from "$app/stores";
import { dev } from '$app/environment';
import { userBetarenaSettings } from '$lib/store/user-settings';
import Placehoder_Row_Desktop from "./loaders/Loader_Row.svelte"
import Placehoder_FAQ_Row_Desktop from "./loaders/Loader_FAQ_Row.svelte"
import LoaderBottomBtn from "./loaders/Loader_Bottom_Btn.svelte";
import LoaderBottomBtn from "./loaders/Loader_Bottom_Btn.svelte";
import Placehoder_FAQ_Row_Desktop from "./loaders/Loader_FAQ_Row.svelte";
import Placehoder_Row_Desktop from "./loaders/Loader_Row.svelte";
// ~~~~~~~~~~~~~~~~~~~~~
// VIEWPORT CHANGES
Expand Down
15 changes: 6 additions & 9 deletions src/lib/components/fixtures_page/about/About_Widget.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@
=================-->

<script lang="ts">
import { afterUpdate, onDestroy, onMount } from "svelte";
import { browser, dev } from '$app/environment';
import { afterNavigate } from "$app/navigation";
import { logDevGroup, log_info_group } from "$lib/utils/debug";
import { logDevGroup } from "$lib/utils/debug";
import { onMount } from "svelte";
import { userBetarenaSettings } from "$lib/store/user-settings";
import type {
REDIS_CACHE_SINGLE_content_data
} from "$lib/models/fixtures/content/types";
import type {
REDIS_CACHE_SINGLE_about_data,
REDIS_CACHE_SINGLE_about_translation
} from "$lib/models/fixtures/about/types";
import type {
REDIS_CACHE_SINGLE_about_data,
REDIS_CACHE_SINGLE_about_translation
} from "$lib/models/fixtures/about/types";
import AboutLoader from "./About_Loader.svelte";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
=================-->

<script lang="ts">
import { afterUpdate, onDestroy, onMount } from "svelte";
import { browser, dev } from '$app/environment';
import { afterNavigate } from "$app/navigation";
import { logDevGroup, log_info_group } from "$lib/utils/debug";
import { logDevGroup } from "$lib/utils/debug";
import { onMount } from "svelte";
import { userBetarenaSettings } from "$lib/store/user-settings";
Expand Down
Loading

0 comments on commit 86ba1d5

Please sign in to comment.