Giter Club home page Giter Club logo

tourist-with-flask's People

Contributors

dependabot[bot] avatar tomgobravo avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

tourist-with-flask's Issues

email notification of new comment

Currently I check the website to see when a new comment is added but this creates a delay and is a bit tedious. I'd like to get an email notifying me when a comment that looks like ham / not-spam is submitted.

Update flask_admin

Currently the tourist uses a branch of flask_admin which is now pretty old compared to their main and producing warnings such as

site-packages/flask_admin/form/widgets.py:2: DeprecationWarning: '_request_ctx_stack' is deprecated and will be removed in Flask 2.3.
    from flask.globals import _request_ctx_stack

I think the branch was needed to fix the geoa interface:

I'll update those PRs and try to get them merged into flask-admin

Add text on homepage

Add something saying what this is for people who happen to find the site. Some text might make the little map look less odd.
Underwater Hockey Tourist

Show flash items in /tourist UI

There are some places in the tourist code and dependencies that call flask.flash to add message to be displayed later. These are displayed by flask-admin but not in /tourist so if you sign in, then out, then in again without going to /admin you see old flash messages.

[ Underwater Hockey Korea - Seoul / Seongnam ]

Place

[ Seoul, South Korea ]

Club(s)

[ Open chat : https://open.kakao.com/o/gUOqiRP (English ok) ]
[ Contact [email protected] for more information ]
[ Every Saturday 09:00~12:00 : subject to change ]

Pool(s)

[ Seongnam Sportscomplex diving pool - a.k.a. Aqualine ]
[ https://goo.gl/maps/Y7UpW3B72rDdXvRg6 ]

[ Seoul, Korea]

Place

[ Korea/Seoul - Korea UWH ]
[ Pool Seongnam ]

Club(s)

[ Korea UWH : Realtime chatroom - https://open.kakao.com/o/gUOqiRP ]

Pool(s)

[1. Aqualine pool (2m Diving pool)] [ link - https://www.google.co.kr/maps/place/%EC%84%B1%EB%82%A8%EC%A2%85%ED%95%A9%EC%8A%A4%ED%8F%AC%EC%B8%A0%EC%84%BC%ED%84%B0+%EC%88%98%EC%98%81%EC%9E%A5+(50m)/@37.4316318,127.1368266,19z/data=!3m1!4b1!4m5!3m4!1s0x357ca8e0a4a87bdf:0xc8e2aca369c35d2a!8m2!3d37.4316307!4d127.1373738?hl=ko ]

Green Bay Wisconsin https://pucku.org/tourist/place/greenbaywisconsin

I would be interested in becoming an editor of the page.

Place

https://pucku.org/tourist/place/greenbaywisconsin

Club(s)

Contact: Peter Covach at 920-328-5436
Practice: Tuesdays 6:45P-8:30P or as marked on the meetup site.
https://www.meetup.com/green-bay-underwater-hockey/

Pool(s)

The Kroc Community Center
https://www.google.com/maps/place/The+Salvation+Army+Ray+and+Joan+Kroc+Corps+Community+Center/@44.481603,-87.9817462,17z

change from database to log storage

I built the current site to learn about and take advantage of flask and its many extensions. flask-admin makes editing tables in a database very easy. In hindsight the forms needed to edit tourist pages are fairly simple and a database makes dealing with synchronization and added background processes a little harder.... I'm excited for Kafka-style stream processing and storage. Rewriting is fun but and likely to open the door to new features but much lower priority than getting help editing to update the content.

UWH Copenhagen

Place

Country: Denmark
City: Copenhagen

Club(s)

Contact: Mollie Brooks [email protected]
Training: Wednesdays at 20:15 if we can get at least 4 players.

Pool(s)

Available upon request

[Greenwich and Stratford change to Cheshire and Stratford]

Place

[ USA Connecticut Cheshire and Stratford ]

Club(s)

[Barnacles

Contact: [email protected]
meetup    https://www.meetup.com/Barnacles-Underwater-Hockey/
facebook  https://www.facebook.com/BarnaclesUnderwaterHockey/

Practice: Sunday 9am-11:15am at the Cheshire Community Pool 520 South Main Street, Cheshire, CT 06410
Practice: Thursday 7:30pm-9pm at the Stratford YMCA, 3045 Main St, Stratford, CT

]

Pool(s)

[ replace Greenwich with Cheshire

Open Cheshire Community Pool 520 S Main St, Cheshire, CT 06410

https://www.google.com/maps/place/Cheshire+Community+Pool/@41.4868228,-72.9011089,15z/data=!4m5!3m4!1s0x0:0x2e6f3489b7e53144!8m2!3d41.4868228!4d-72.9011089

in google maps
]

[Add new Irish UWH team to Site (Belfast)]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[Ireland/Antrim/Belfast]
[Established in 2014 Queens Sinking Sheep Underwater Hockey offers a strong and competitive setting for travelling UWH players. QUB sends teams to the BOA students nationals, take parts in the BOA nationals and several other European tournaments to keep their skills sharp. ]

Club(s)

[Laura, email [email protected], preferably contact us on instagram @qub_uwh
https://www.facebook.com/QUBunderwaterhockey]

Pool(s)

[Practice times: Monday 8pm-9:30pm
Queen's Sport Stranmillis Gardens, Belfast BT9 5EX, UK PEC https://www.google.com/maps/place/Queen's+PEC,+Stranmillis+Gardens,+Belfast+BT9+5EX,+UK/@54.5807975,-5.9317872,17z/data=!3m1!4b1!4m5!3m4!1s0x486108e5f60a7d69:0xdc4a2c99f5b8bf36!8m2!3d54.5807975!4d-5.9295985]

Add link to page at /admin after saving edit

In the response after clicking "Save" flask-admin adds a flash message saying the record was updated. It'd be really nice for that message to include a link to the page to check how it looks.

Brampton Ontario Canada

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[Brampton, Ontario, Canada]
[Weekly Pickup Underwater Hockey Tuesday Evenings 9:30-10:30 pm]

Club(s)

[John Florian [email protected] 647-988-7513 https://www.facebook.com/photo/?fbid=10222177623562769&set=p.10222177623562769]

Pool(s)

[Earnscliff Recreation Center, 44 Eastbourne Drive, Brampton Ontario 43.72355185655053, -79.69947978945015 P8F2+86 Brampton, Ontario]

UWHBern

Place

https://pucku.org/tourist/place/bernbern

Club(s)

UWHBern
Website: uwhbern.ch
Training sessions: Tuesday evening

Training session time and places changes with season:
Summer (May-September), in Worb, Tuesday 19:00 - 20:00
Winter (October-April), in Melchenbühl, Tuesday 20:00 - 21:00

Pool(s)

Summer pool:
Worb, Wislepark
46.92614557191153, 7.562530451513532
https://www.google.com/maps/place/Wislepark/@46.9261274,7.5619501,18.5z/data=!4m5!3m4!1s0x478e342d18aaa4c5:0xcb776082e8c58111!8m2!3d46.926118!4d7.562606

Winter pool:
Schwimmbad Melchenbühl
46.93754512318368, 7.495709342344327
https://www.google.com/maps/place/Schwimmbad+Melchenb%C3%BChl/@46.9374755,7.4952507,19z/data=!4m5!3m4!1s0x478e37b3b40ec1dd:0xa3fb57e819a6bba1!8m2!3d46.9375755!4d7.4956418

Organize countries by ~continent

The country list at https://pucku.org/tourist/ is getting pretty long. This can be fixed entirely in the web browser, no programming needed.

Looks like we have: Americas, Europe, Africa, Middle East, Asia-Pacific (seems to neatly address China/South East Asia/Australia/NZ).
Is Turkey in Europe, Asia or Middle East? IIRC Istanbul is technically split.

Editor Access ??

Hi Tom,

Just wanting to get access to update some the Aussie/QLD club details.

See you on the bottom,
Steve

show last sync time on gbuwh pages

Currently the GBUWH clubs and pools are synced every 10 minutes, but visitors have no way of seeing that this happening. It'd be nice to show the last sync time, where before there was a 'last updated' time that is often many years. Pictures from Phil:

306813312_487902723196945_3875163180893771045_n

306503638_3184421938447432_8263281522840319809_n

[China, Chengdu, Panda UWH updates]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[https://pucku.org/tourist/place/chengdu]
[Optional: Information about hockey in this place that is not specific to a club]

Club(s)

[Chengdu Panda renamed as Chengdu Bubble, Contact: 王(WANG)旖(Yee)[email protected], Practice: Tuesday mornings 9:30 - 11:30 AM and Thursday nights 9:30-23:30 PM]

Pool(s)

[at Wenxuan Babu Zaidao Swimming Pool, #89 Huacai Rd, Jinjiang District, Chengdu, Sichuan, China, 610000]

Add new Irish UWH team to Site (Limerick)

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[ Ireland/Limerick/Limerick City ]
[ Newly founded club, training weekly throughout the winter months. Tourists welcome and newbie sessions every month]

Club(s)

[ Club name: Underwater Hockey Limerick
Contact Information: Chris, email underwaterhockey.limerick@gmail, or reach out on our social media accounts
Facebook: https://www.facebook.com/UWHLimerick
Instagram: https://www.instagram.com/underwaterhockeylimerick/ ]

Pool(s)

[ Practise Location: UL Arena Pool, Castletroy, Limerick.
Post Code: V94 X9VK
Google maps Link: https://goo.gl/maps/Wp1TTSfuQ2K8HpBS8
Practise time: Tuesdays 8pm- 10pm ]

[Suzhou]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Suzhou

[Link to place at pucku.org or name of relevant country/region/city you'd like to add or update.]
[Optional: Information about hockey in this place that is not specific to a club]

Max Zhang +86-15295618057
Email: [email protected]
Practice on Saturday Morning and Sunday Morning 7:00-9:00

[Information about club(s) to update. Ideally every club is listed with a person's name, email and phone number. Links to websites or groups used by the club are also useful.]

Pool(s)

[Pools are listed with a latitude,longitude pin to the entrance location on a map. Please try to provide it. A link to Google Maps works well.]

[Update the UWH contact for Hong Kong]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[https://www.facebook.com/HKUWHA/]
[https://www.meetup.com/Hong-Kong-Underwater-Hockey-Association/]

Club(s)

[The Hong Kong Underwater Hockey Association. Contact person: Mr. Henry Chan, Whatsapp: (+852) 9088 7303, email: [email protected]]

*Please note the club originally on your site, under Richard is not longer active. I may pass Richard's contact to you for confirmation if needed.

Pool(s)

[Fridays: Whampoa Pool from 20:15 to 22:15
Tuesdays: Wah Yan Pool from 19:30 to 21:30

Please contact Henry for latest information]

[Add short description such as name of place to update]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

https://www.pucku.org/tourist/place/sherbrookequbec

Club(s)

Site update: https://www.facebook.com/hsmSherbrooke (http://www.hsmsherbrooke.org/ no longer valid)
The email [email protected] is no longer valid, we now use the messenger of the facebook page

Pool(s)

Current info is still correct!

Belgium --> Sint-Pieters-Leeuw-->Zuunse Karpers

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

Belgium, Sint-Pieters-Leeuw/Halle

[Link to place at pucku.org or name of relevant country/region/city you'd like to add or update.]
[Optional: Information about hockey in this place that is not specific to a club]

Club(s)

Zuunse karpers
Steven De Laat
[email protected]
www.zuunsekarpers.be
www.facebook.com/ZuunseKarpers
[Information about club(s) to update. Ideally every club is listed with a person's name, email and phone number. Links to websites or groups used by the club are also useful.]

Pool(s)

pool location:
Wildersportcomplex
Sportlaan 11
1600 Sint-Pieters-Leeuw
50°47'58.8"N 4°17'10.3"E
https://www.google.com/maps/place/50%C2%B047'58.8%22N+4%C2%B017'10.3%22E/@50.7996777,4.2851087,18z/data=!3m1!4b1!4m9!1m2!2m1!1swildersport+sint+pieters+leeuw!3m5!1s0x0:0x0!7e2!8m2!3d50.7996762!4d4.2862032
and a second training location
Nederhem 35, 1500 Halle
50°44'18.6"N 4°14'32.8"E
https://www.google.com/maps/place/50%C2%B044'18.6%22N+4%C2%B014'32.8%22E/@50.7384878,4.2418888,19z/data=!3m1!4b1!4m13!1m6!3m5!1s0x0:0xa8b764c1158cdbe4!2sHallebad+Sportoase!8m2!3d50.7382547!4d4.2427201!3m5!1s0x0:0x0!7e2!8m2!3d50.7384866!4d4.2424364
[Pools are listed with a latitude,longitude pin to the entrance location on a map. Please try to provide it. A link to Google Maps works well.]

create list of pools from OSM

Adding the location of a pool is tedious. Many pools are already in OpenStreetMap. I'd like a pipeline that fetches all pools in OSM and lets clubs reference them instead of pools manually added to the UWHT. Places with a club feed be need some kind of exception handling because the club feed and OSM feed are unlikely to match perfectly.

Bulk import and sync with country websites

There are many ways this can be done, though without support from countries this'll need lots of scrapers. Perhaps ML makes writing them easier. This could be done in conjunction with issue 5 and issue 7. Dreaming is easy.
I'd like to get to it, but realistically making a great UI for editors to get humans on the task seems like a better use of time.

Map should be 225 SE Avery St, Newport, OR 97365, one map is the old location, another is the east coast.

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[Link to place at pucku.org or name of relevant country/region/city you'd like to add or update.]
[Optional: Information about hockey in this place that is not specific to a club]

Club(s)

[Information about club(s) to update. Ideally every club is listed with a person's name, email and phone number. Links to websites or groups used by the club are also useful.]

Pool(s)

[Pools are listed with a latitude,longitude pin to the entrance location on a map. Please try to provide it. A link to Google Maps works well.]

Club Puck details need updating

Club Puck
San Francisco Bay Area
Club contact- Ben Phipps, [email protected]
Hockey Tu and Thu 8-930pm
Burgess Park Pool- 501 Laurel St, Menlo Park, CA 94025
Park in the parking lot at Laurel St. and Burgess Dr.

[Add short description such as name of place to update]

Thank you for contributing new information to the Underwater Hockey Tourist
Please replace the items in [....] with the requested information, delete this text and click Submit new issue.
An editor will add your update to the site soon. To learn about editing please see https://github.com/TomGoBravo/tourist-with-flask/wiki/Editor-guide.

Place

[Link to place at pucku.org or name of relevant country/region/city you'd like to add or update.]
[Optional: Information about hockey in this place that is not specific to a club]

Club(s)

[Information about club(s) to update. Ideally every club is listed with a person's name, email and phone number. Links to websites or groups used by the club are also useful.]

Pool(s)

[Pools are listed with a latitude,longitude pin to the entrance location on a map. Please try to provide it. A link to Google Maps works well.]

markdown preview creates links missed by live site

When editing the content of a page in the admin interface a bare URL (text such as http://..../path) is displayed as a live link in the preview but when the same content appears on a page of the site the URL is shown as plain text (no underline, blue or link). The fix is putting angle brackets around the link (change the text to <http://...../path>). Hint for this found at https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links

Fix is making sure preview and site use the same markdown language.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.