Your one-stop-cake-shop for everything Freshly Baked has to offer

feat(m): add regex support #190

closed opened by a.starrysky.fyi targeting main from private/minion/push-xpqrvpwlrtsk

Since before we started menu, we've wanted regex support. This will let us have shortcuts like go/gh/foo/bar go to https://github.com/foo/bar, say

I've written this in a way where it could be extended, for example I want to have shortcuts like go/M65.15+83 go to https://wiki.freshly.space/wiki/M65.15%2B83_Serenity, say, which isn't generically possible without querying the MediaWiki API. That means I didn't change the direct table to have a field "type" or something - since as further schemes would want to use a completely different data format

Labels

None yet.

requested-reviewers

None yet.

approved

None yet.

tested-working

None yet.

rejected

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:uuyqs6y3pwtbteet4swt5i5y/sh.tangled.repo.pull/3mdj5iloylm22
Interdiff #2 #3
menu/.sqlx/query-182348173eb341595351d1586dc3534d376daba786d0658323217e022d22d165.json

This file has not been changed.

menu/.sqlx/query-182348173eb341595351d1586dc3534d376daba786d0658323217e022d22d165.json.license

This file has not been changed.

menu/.sqlx/query-25a4aa6f9b3625e5fdc1edde3719982241c29d68352236e71bd9e87059e7012d.json

This file has not been changed.

menu/.sqlx/query-25a4aa6f9b3625e5fdc1edde3719982241c29d68352236e71bd9e87059e7012d.json.license

This file has not been changed.

menu/.sqlx/query-631d51301aa4b22c09d3899089e4d40a8e2485ab6aa9ab9e42292958c2c1bf93.json

This file has not been changed.

menu/.sqlx/query-631d51301aa4b22c09d3899089e4d40a8e2485ab6aa9ab9e42292958c2c1bf93.json.license

This file has not been changed.

menu/.sqlx/query-cbc8750d6e1de27fb56dabc10e35731327faa8aa030fdcc109ce3a08c98adb11.json

This file has not been changed.

menu/.sqlx/query-cbc8750d6e1de27fb56dabc10e35731327faa8aa030fdcc109ce3a08c98adb11.json.license

This file has not been changed.

menu/migrations/20260128121115_add-regex.sql

This file has not been changed.

menu/src/direct.rs

This file has not been changed.

menu/src/html/create.html

This file has not been changed.

menu/src/html/create/conflict/direct.html

This file has not been changed.

menu/src/html/create/conflict/regex.html

This file has not been changed.

menu/src/html/create/failure.html

This file has not been changed.

menu/src/html/create/success/direct.html

This file has not been changed.

menu/src/html/create/success/regex.html

This file has not been changed.

menu/src/html/delete/success.html

This file has not been changed.

menu/src/html/index.html

This file has not been changed.

menu/src/html/public/forms.css

This file has not been changed.

menu/src/html/public/logo.css

This file has not been changed.

menu/src/main.rs

This file has not been changed.

menu/src/regex.rs

This file has not been changed.

menu/src/static_html.rs

This file has not been changed.

History

4 rounds 0 comments
sign up or login to add to the discussion
1 commit
expand
feat(m): add regex support
5/5 success
expand
expand 0 comments
closed without merging
1 commit
expand
feat(m): add regex support
1/5 failed, 4/5 success
expand
expand 0 comments
1 commit
expand
feat(m): add regex support
1/5 failed, 4/5 success
expand
expand 0 comments
1 commit
expand
feat(m): add regex support
expand 0 comments