Skip to content

Commit

Permalink
Fix issues (#144)
Browse files Browse the repository at this point in the history
* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* ssl certification (#129)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* hotfix

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* Fix test infra (#137)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* Deployment fixes (#134)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* adding python 3.6 support

* Deployment fixes (#130)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* adding python 3.6 support (2)

* Deployment fixes (#131)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* adding python 3.6 support (2)

* adding python 3.6 support (3)

* Deployment fixes (#132)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* adding python 3.6 support (2)

* adding python 3.6 support (3)

* added commented code for returning to python 3.5

* changed index page template from full-width to base to support sidebar in index page

* added topbar title page link

* added installation of python3-dev package

* fixed sidebar on the main page

* temporarily going back to python 3.5

* Fix schemaurl and url.

* Game (#135)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* .

* Add challenge league scoreboard

* rendering league changes done

* Remove request qrg

* translate words

* some changes in the logic

* template changes done

* migrations where deleted added again

* comment prints

* Deployment fixes (#138)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* Deployment fixes (#130)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* adding python 3.6 support (2)

* Deployment fixes (#131)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Update aichallenge.sharif.edu

* added certs

* Ssl certification (#128)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* added certs

* Update docker-compose.yml

* added ssl tag to default server config

* changed all protocol schemes to https

* adding python 3.6 support

* adding python 3.6 support (2)

* adding python 3.6 support (3)

* Deployment fixes (#132)

* Deploy (#123)

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added ssl config for nginx

* Ssl certification (#125)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* Ssl certification (#126)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added ssl config for nginx

* added ssl config for nginx (2)

* added ssl config for nginx (3) removed port number from site address

* Ssl certification (#127)

* added counters

* Translate counters

* counter butification

* Decrease some padding

* Enhance.

* changed deployment server address

* changed nginx caching policy

* fixed cache problem with game files

* fixed caching issue (2)

* fixed caching issue (3)

* m

* hotfix

* Add export feature to profile (#120)

* Game (#119)

* submission is not set before running

* added action:run selected matches && match str bug fixed

* message error if one of selected matches is not ready or is done

* revert map save

* remove single_match done field

* action run selected matches completed and on run_matches in fuctions_test works fine

* match with bye teams done manually in double elimination and deleted in league

* custom list_filter for status and is_ready added

* match done manually

* test bug after deleting bye matches in league fixed

* functionality of create_new_league admin action fixed"

* model match is refactored and abstract get_match_result is implemented

* render friendly leauge

* friendly league scoreboard is tested and its ok enshaallah

* friednly league scoreboard is ready

* get rid of extra prints

* Fix minor issues (#122)

* added separate production info for test website

* added…
  • Loading branch information
altostratous authored Feb 19, 2018
1 parent e4e2043 commit 08747f1
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 67 deletions.
21 changes: 18 additions & 3 deletions aic_site/context_processors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from django.urls import reverse
from django.utils.translation import ugettext as _

from apps.game.models import Competition


def menu(request):
context = {
Expand All @@ -14,10 +16,16 @@ def menu(request):
_('History'): reverse('intro:index') + "#section-history",
_('Schedule'): reverse('intro:index') + '#section-schedule',
_('FAQ'): reverse('intro:faq'),
_('Blog and Q&A'): '/blog',
_('Contact Us'): reverse('intro:index') + '#section-organizer',
}
}
},
_('Access'): {
'dropdown': {
_('Panel'): reverse('accounts:panel'),
_('Resources'): 'https://aichallenge.sharif.edu/blog/2018/02/05/Server-Client-MapMaker/',
_('Blog and Q&A'): '/blog',
}
},
},
'sidebar': {
_('Home'): {
Expand Down Expand Up @@ -46,9 +54,16 @@ def menu(request):
'dropdown': {
_('Logout'): reverse('accounts:logout'),
}
}
},
_('Scoreboard'): {
'dropdown': {},
},
}
}
}

friendly_competitions = Competition.objects.filter(type='friendly')
for friendly_competition in friendly_competitions:
context['ai']['sidebar'][_('Scoreboard')]['dropdown'][friendly_competition.name] = reverse('game:scoreboard', args=[friendly_competition.id])

return context
46 changes: 35 additions & 11 deletions apps/accounts/locale/fa/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-19 09:54+0000\n"
"POT-Creation-Date: 2018-02-19 15:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -121,6 +121,40 @@ msgstr "عضو دوم"
msgid "Third Member"
msgstr "عضو سوم"

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:4
#: apps/accounts/templates/accounts/panel/battle_history.html:115
#, fuzzy
#| msgid "Score"
msgid "Scoreboard"
msgstr "امتیاز"

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:8
msgid "Rank"
msgstr ""

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:9
#, fuzzy
#| msgid "Team Name"
msgid "Name"
msgstr "نام تیم"

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:10
#: apps/accounts/templates/accounts/panel/battle_history.html:11
msgid "Score"
msgstr "امتیاز"

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:11
msgid "total num"
msgstr ""

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:12
msgid "win num"
msgstr ""

#: apps/accounts/templates/accounts/friendly_match_scoreboard.html:13
msgid "lose num"
msgstr ""

#: apps/accounts/templates/accounts/login.html:10
#: apps/accounts/templates/accounts/login.html:30
msgid "Login"
Expand Down Expand Up @@ -158,10 +192,6 @@ msgstr "زمان"
msgid "Team"
msgstr "نام تیم"

#: apps/accounts/templates/accounts/panel/battle_history.html:11
msgid "Score"
msgstr "امتیاز"

#: apps/accounts/templates/accounts/panel/battle_history.html:12
msgid "Oponent Score"
msgstr "امتیاز حریف"
Expand Down Expand Up @@ -196,12 +226,6 @@ msgstr "نقشه:"
msgid "Submit"
msgstr "ارسال"

#: apps/accounts/templates/accounts/panel/battle_history.html:115
#, fuzzy
#| msgid "Score"
msgid "Scoreboard"
msgstr "امتیاز"

#: apps/accounts/templates/accounts/panel/challenge_feild.html:8
msgid "Challenge:"
msgstr "رویداد:"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-19 09:54+0000\n"
"POT-Creation-Date: 2018-02-19 15:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
10 changes: 5 additions & 5 deletions apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,18 @@ def panel(request, participation_id=None, battle_form=None):
else:
context['accepted_participations'].append(challenge_participation.team)

context['submissions'] = Paginator(
TeamSubmission.objects.filter(team_id=participation_id).order_by('-id'),
5
).page(page)

if request.method == 'POST':
form = SubmissionForm(request.POST, request.FILES)
if form.is_valid():
form.save()
else:
form = SubmissionForm()

context['submissions'] = Paginator(
TeamSubmission.objects.filter(team_id=participation_id).order_by('-id'),
5
).page(page)

form.fields['team'].queryset = TeamParticipatesChallenge.objects.filter(
team__in=context['accepted_participations']
)
Expand Down
2 changes: 1 addition & 1 deletion apps/game/locale/fa/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-19 09:54+0000\n"
"POT-Creation-Date: 2018-02-19 15:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
18 changes: 6 additions & 12 deletions apps/game/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
logger = logging.getLogger(__name__)


@login_required()
def render_scoreboard(request, competition_id):
competition = Competition.objects.get(pk=int(competition_id))
if competition is None:
Expand All @@ -32,7 +31,7 @@ def render_scoreboard(request, competition_id):
return render_double_elimination(request, competition_id)
return HttpResponse('There is not such Competition!')

@login_required()

def render_double_elimination(request, competition_id):
matches = list(Competition.objects.get(pk=int(competition_id)).matches.all())
win_matches = []
Expand Down Expand Up @@ -71,17 +70,15 @@ def render_double_elimination(request, competition_id):
'lose_matches': lose_matches
})

@login_required()
def render_friendly(request, competition_id):

def render_friendly(request, competition_id):
league_scoreboard = get_scoreboard_table(competition_id)

return render(request, 'scoreboard/friendly_match_scoreboard.html', {
'league_scoreboard': league_scoreboard
})


@login_required()
def render_league(request, competition_id):
matches = list(Competition.objects.get(pk=int(competition_id)).matches.all())

Expand All @@ -102,7 +99,6 @@ def render_league(request, competition_id):
num_one_round_matches = num_matches_per_week * num_weeks
num_rounds = int(len(matches) / num_one_round_matches)


cnt = -1
for round in range(num_rounds):
league_matches.append([])
Expand All @@ -124,7 +120,7 @@ def render_league(request, competition_id):
'league_matches': league_matches
})

# @login_required()

def get_scoreboard_table(competition_id):
matches = list(Competition.objects.get(pk=int(competition_id)).matches.all())

Expand Down Expand Up @@ -163,7 +159,8 @@ def get_scoreboard_table(competition_id):

for match in matches:
match_result = match.get_match_result()
if match_result['part1']['result'] == 'notdone' or match_result['part1']['participant'] == match_result['part2']['participant']:
if match_result['part1']['result'] == 'notdone' or match_result['part1']['participant'] == \
match_result['part2']['participant']:
continue
participants = []
participants.append(match_result['part1'])
Expand Down Expand Up @@ -192,8 +189,6 @@ def get_scoreboard_table(competition_id):
return league_scoreboard




@csrf_exempt
def report(request):
logger.debug("Someone calling report")
Expand Down Expand Up @@ -263,7 +258,7 @@ def report(request):
def game_view(request):
if request.GET.urlencode().__len__() > 0:
return redirect(to='/static/game_graphics/game_viewer/index.html?'
+ request.GET.urlencode()
+ request.GET.urlencode()
)
else:
return redirect(to='/static/game_graphics/game_viewer/index.html')
Expand All @@ -273,7 +268,6 @@ def map_maker(request):
return redirect(to='/static/game_graphics/map_maker/index.html')


@login_required
def render_challenge_league(request, challenge_id):
# print(challenge_id)
ch = Challenge.objects.first()
Expand Down
2 changes: 1 addition & 1 deletion apps/intro/locale/fa/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-19 09:54+0000\n"
"POT-Creation-Date: 2018-02-19 15:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
4 changes: 2 additions & 2 deletions apps/intro/static/intro/css/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
.banner.text.image {
height: 100vh;
z-index: 1;
-webkit-clip-path: inset(10px 0 10px 0);
clip-path: inset(10px 0 10px 0);
-webkit-clip-path: inset(20px 0 20px 0);
clip-path: inset(20px 0 20px 0);
}

.section.header {
Expand Down
58 changes: 35 additions & 23 deletions locale/fa/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-02-19 09:54+0000\n"
"POT-Creation-Date: 2018-02-19 15:37+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -18,71 +18,83 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: aic_site/context_processors.py:9 aic_site/context_processors.py:23
#: aic_site/context_processors.py:11 aic_site/context_processors.py:31
msgid "Home"
msgstr "خانه"

#: aic_site/context_processors.py:11
#: aic_site/context_processors.py:13
msgid "Main Page"
msgstr "صفحه‌ی اصلی"

#: aic_site/context_processors.py:12 aic_site/context_processors.py:25
#: aic_site/context_processors.py:14 aic_site/context_processors.py:33
msgid "Introduction"
msgstr "معرفی"

#: aic_site/context_processors.py:13 aic_site/context_processors.py:26
#: aic_site/context_processors.py:15 aic_site/context_processors.py:34
msgid "Prize"
msgstr "جایزه"

#: aic_site/context_processors.py:14 aic_site/context_processors.py:27
#: aic_site/context_processors.py:16 aic_site/context_processors.py:35
msgid "History"
msgstr "تاریخ"

#: aic_site/context_processors.py:15 aic_site/context_processors.py:28
#: aic_site/context_processors.py:17 aic_site/context_processors.py:36
msgid "Schedule"
msgstr "برنامه"

#: aic_site/context_processors.py:16 aic_site/context_processors.py:34
#: aic_site/context_processors.py:18 aic_site/context_processors.py:42
msgid "FAQ"
msgstr "سوالات متداول"

#: aic_site/context_processors.py:17 aic_site/context_processors.py:35
#: aic_site/context_processors.py:19 aic_site/context_processors.py:37
msgid "Contact Us"
msgstr "تماس با ما"

#: aic_site/context_processors.py:22
msgid "Access"
msgstr "دسترسی"

#: aic_site/context_processors.py:24 aic_site/context_processors.py:48
msgid "Panel"
msgstr "پنل"

#: aic_site/context_processors.py:25
msgid "Resources"
msgstr "منابع"

#: aic_site/context_processors.py:26 aic_site/context_processors.py:43
#: templates/base/navbar.html:59
msgid "Blog and Q&A"
msgstr "وبلاگ و پرسش و پاسخ"

#: aic_site/context_processors.py:18 aic_site/context_processors.py:29
msgid "Contact Us"
msgstr "تماس با ما"

#: aic_site/context_processors.py:32 templates/zinnia/base.html:26
#: aic_site/context_processors.py:40 templates/zinnia/base.html:26
msgid "Blog"
msgstr "بلاگ"

#: aic_site/context_processors.py:38
#: aic_site/context_processors.py:46
msgid "Game"
msgstr "بازی"

#: aic_site/context_processors.py:40 templates/base/navbar.html:23
msgid "Panel"
msgstr "پنل"

#: aic_site/context_processors.py:41
#: aic_site/context_processors.py:49
msgid "Game Viewer"
msgstr "نمایشگر بازی"

#: aic_site/context_processors.py:42
#: aic_site/context_processors.py:50
msgid "Map Maker"
msgstr "نقشه ساز"

#: aic_site/context_processors.py:45
#: aic_site/context_processors.py:53
msgid "Account"
msgstr "حساب کاربری"

#: aic_site/context_processors.py:47 templates/base/navbar.html:42
#: aic_site/context_processors.py:55 templates/base/navbar.html:42
msgid "Logout"
msgstr "خروج"

#: aic_site/context_processors.py:58 aic_site/context_processors.py:67
msgid "Scoreboard"
msgstr "جدول رده‌بندی"

#: aic_site/settings/base.py:122
msgid "English"
msgstr "انگلیسی"
Expand Down
4 changes: 2 additions & 2 deletions static/files/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ This set of fonts are used in this project under the license: RC4QT
#navbar {
z-index: 99;

padding-right: 30px;
padding-left: 30px;
/*padding-right: 30px;*/
/*padding-left: 30px;*/

width: 100vw !important;

Expand Down
Loading

0 comments on commit 08747f1

Please sign in to comment.