Coder Social home page Coder Social logo

transit-a11y's People

Contributors

cr96 avatar ivyrze avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cr96

transit-a11y's Issues

Improve quality of search results

Currently, the search algorithm shows poor quality results for multi-word searches. This is no surprise because the Redis query uses the | operator between words. Play around in the CLI with new ways to build the database query, using escaping, wildcards, fuzzy matching, etc. Heads up – they can be finicky, especially when used together, so test thoroughly.

ft.search idx:stops "@name:%woodwerd% 9 mi* @coordinates:[...]"

Here is the search query syntax documentation for reference.

TriMet alerts API fails TLS requirements

When the API endpoint is requested, the following error occurs:

AxiosError: write EPROT error:SSL routines:final_renegotiate:unsafe legacy renegotiation disabled:../deps/openssl/openssl/ssl/statem/extensions.c:908:
    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {

My understanding is that this means their server doesn't support Renegotiation Indication Extension (RFC 5746). This makes sense because TLS 1.2 and 1.3 are also not supported by their server.

This is only showing up on Heroku and not on my local machine. I tried running with node --tls-min-v1.0, which didn't help.

I wish TriMet would just update their servers instead of running an ancient setup from 2008 – and I requested to join their developer forums to poke somebody about it. But if not, we might need to find a workaround, or at least use one temporarily.

Clicking a search result occasionally returns HTTP 400

This can be replicated by clicking on the route icons instead of the actual stop text. This error seems to occur because the client-side script looks for the stop ID in the child element, can't find it, and sends an invalid/empty request.

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.