Coder Social home page Coder Social logo

thecrag / website Goto Github PK

View Code? Open in Web Editor NEW
109.0 14.0 8.0 508 KB

theCrag.com: Add your voice and help guide the development of the world's largest collaborative rock climbing & bouldering platform

Home Page: https://www.thecrag.com/

bouldering rock-climbing topotool climbing-areas climbing-gyms climbing-logbook topo-drawing

website's People

Contributors

brendanheywood avatar cgome avatar mdemaillard avatar nichoch avatar rouletout avatar scd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

add protection rating to API and templates

The system accepts US style protection rating G, PG, PG13, R, S, VS, X, but does not display it in the templates. It needs to be added to the API so that we can display climbs as "22 X" for example.

GPX export for gps device

Mostly done, just needs some solid field testing in a range of devices and the offical GPX validator

Merging weirdness needs fixing

When merging it isn't clear what gets kept from each route, it is easy to loose data (I've lost a bunch). If one ahas FA and the other doesn't it should keep what is available. Also it isn't clear which one stays and which one gets deleted.

Inconsistent title / hover labels for grade bands

There seems to be a bug/inconsistency with the pop-up descriptions for the grade band.  If you're in any area and hover over a colour (say yellow) at the area level it will give a description (say intermediate for yellow), but if you hover over the same colour at the sub-area level it will describe it as one level up (e.g. experienced for yellow).  Click down into the sub-area, and now at the area level, it will be right -- but, again, all the sub-areas will have the sub-areas will have it wrong.

rendering of apostrophes (and other characters?)

From Lee (on FB discussion board)

Lee Cujes
Can you please change your rendering so things like apostrophes in comments don't come out as '

No, that's not a swear word.

Example:
Decided I would experiment with some O'Halloranning. My elbow doesn't bend backwards, so I need to mod the beta.

Crag Guide PDF stuff for Brendan

I'm just documenting the stuff that is probably easiest for Brendan to do, to finish off the PDF Crag Guides.

  • topo lines to include numbers in SVG
  • ticks as separate images. 6x6 pixels means they will fit nicely for the current line size.
  • star image 6x6 (actually not really necessary because the PDF package scales it to a smaller size if we need to)
  • maps

fop does not time out it's url resource requests

When producing PDF Crag Guides, FOP does not time out it's url image requests.

This is fine if the website is working well (or not there - fop will just throw an error), but PDF processing locks up if one of the images gets stuck loading and the whole PDF is not generated. You might say that a properly designed website that should not happen.

But in periods of high load when the website starts thrashing this means that the PDFs will block up. Maybe this is a good thing.

Also subtle bugs are possible with the interaction between apache and our application code causing connections to stay open. For example Image Magick can wreck havoc in apache mod perl if you don't explicitly delete any image magick objects you create.

I guess we might be able to make it more robust if we pre-fetch all the url images using something like CURL and then generate the PDF after we have a local copy of the url images.

Inherited Access and Ethic space efficiency

The inherited access and ethic are not so space efficient and make boulders/cliffs look a little busy. Can we work out a way of keeping them there, but taking up less space. They are actually very important so I would like to see at least the first line of the access and ethic fields maintained.

http://www.thecrag.com/96275259

Recent updates hanging on thinking icon

There are some activity updates which hang the 'Recent updates' link on the website (note the RSS feed still works). I think something in the beulah updates has done it right now.

I'm not sure whether it is a bad api format or an incorrect assumption in the javascript code.

I'm not sure which activity feeds cause this either. At one stage I thought it might be adding a route then deleting it, but their are other activities which also cause this problem.

Irritating, but not high priority because the information is available anyway through the RSS feed.

mulitpitch

Assess whether we need to provide more structure for multipitch climbs

google reader missing out on feed entries.

I think there is an issue with the way google reader works with the feed so that if there is more than 20 items an hour it misses out on some.

A band aid solution might be to have a higher default page size like 100

This will only reduce the problem not eliminate it. We have to carefully think about this if any third party is relying on a complete list of activities.

Bouldering only (or sport only or trad only) Crag Guide

I have added a route style filter to crag guide (in repo).

For example bouldering at Arapiles

http://58.6.152.66/area/11740915/guide?A:style=Boulder

and Bouldering at Gara Gorge

http://58.6.152.66/area/11772109/guide?A:style=Boulder

These won't be available until Brendan installs from repo.

This work is not complete:

  • Statistics report on overall crag statistics not filtered crag guide statistics. To that end I have added a routeCount parameter to each node which represents the route count for the node in the crag guide.
  • Karma issues. Structurally there is no simple way of getting the Karma for 'Bouldering' contributors as opposed to general Crag Contributors. Style just does not feature in Karma. This leads to the problem of us attributing to those who are not neccessarily the biggest contributors to the bouldering version of the crag guide.
  • Fix the auto numbering, ie convert number generation in the template to use the backend number generator so they are consistent with topo numbers etc.
  • Add message explaining that this is a filtered page and numbers are skipped because they refer to stuff that isn't bouldering

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.