scribe/src
Edward Loveall e86108e18f
Rearrange article id parsing to be more reliable
The article ID parser looks for a string at the end of a URL path with
a bunch of hex digits. But it also has to handle user, tag, and search
URLs.

* /@ba5eba11
* /tag/0ddba11
* /search?q=ba5eba11

Some URLs are encoded as params. The parser used to look at the result
of the path first, then the params. But paths that ended in
`global-identity-2` messed that up because `2` is a hex digit at the
end of the path. This changes the logic to parse params first and paths
second which gets around this.
2023-03-25 16:32:37 -04:00
..
actions Remove downloadable Redirector config 2022-09-24 15:59:37 -04:00
classes Rearrange article id parsing to be more reliable 2023-03-25 16:32:37 -04:00
clients Add unique ID to headings 2023-03-25 11:20:14 -04:00
components Add unique ID to headings 2023-03-25 11:20:14 -04:00
css Updates to pre/code config 2022-10-11 20:33:18 -04:00
emails Initial app 2021-05-01 17:03:38 -04:00
js Initial app 2021-05-01 17:03:38 -04:00
models Add unique ID to headings 2023-03-25 11:20:14 -04:00
operations Initial app 2021-05-01 17:03:38 -04:00
pages Replace Redirector extension with LibRedirect 2022-09-24 15:50:38 -04:00
queries Initial app 2021-05-01 17:03:38 -04:00
serializers Initial app 2021-05-01 17:03:38 -04:00
app.cr Remove the need for a DATABASE_URL 2022-05-21 11:34:28 -04:00
app_server.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
constants.cr Proxy GitHub gists with rate limiting 2022-01-23 15:05:46 -05:00
scribe.cr Initial app 2021-05-01 17:03:38 -04:00
shards.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
start_server.cr Upgrade Crystal to 1.2.1 and Lucky to 0.29.0 2021-12-12 12:01:55 -05:00
version.cr Add unique ID to headings 2023-03-25 11:20:14 -04:00