Commit graph

81 commits

Author SHA1 Message Date
Erisa A
a0b5f95a7e
Upgrade compatability date
and run prettier
2023-11-27 03:07:29 +00:00
Erisa A
faa950aa24
Upgrade deps, use URL.canParse for URL validation 2023-11-27 02:58:32 +00:00
Erisa A
86304905b4
Update vscode extensions 2023-11-27 02:49:22 +00:00
dependabot[bot]
5c1fb8abae
Bump semver from 7.3.8 to 7.5.4 (#16)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.8 to 7.5.4.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.4)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 16:41:59 +01:00
Erisa A
61947bf777
Upgrade Wrangler to 2.20.1 2023-08-28 20:11:41 +00:00
Erisa A
d4518a757a
Bump version to 2.1.1 2023-05-23 19:50:10 +00:00
Erisa A
53c8b5027f
Upgrade dependencies 2023-05-23 19:47:45 +00:00
Erisa A
b5345579c1
actions: Specify account ID 2023-05-23 19:35:45 +00:00
Erisa A
0a14bc2772
Make first time setup smoother 2023-05-23 19:33:32 +00:00
Erisa A
2866c4e1b7
Fix default of ENABLE_INDEX_FORM 2023-04-30 01:45:06 +01:00
infra
1bef54163c
Simple web UI for shortlink creation (#15)
* add HTML interface (inlined into typescript) - with CSS and autocomplete hand-holding

* Some changes (listed below)

- Make UI optional and disabled by default
- Lint it in line with other code
- Import UI from a bundled HTML file
- Add UI to README
- Add support for random URL generation
- Show the URL in the output

---------

Co-authored-by: Erisa A <erisa@erisa.uk>
2023-04-30 01:43:20 +01:00
Erisa A
ad4ba3f6f0
Bump version 2023-04-26 03:10:32 +01:00
Kot
0f036f799f
Only list keys starting with / (#14) 2023-04-26 03:05:57 +01:00
Erisa A
3d5ceaf054
Revert "Increase cacheTtl to 1 day"
This reverts commit 038f80db03.
2023-04-26 01:42:11 +00:00
Erisa A
91111acfcf
Fix shortUrl in result 2023-04-26 01:28:27 +00:00
Kot
9e34fb15e6
Add listing functionality (#13)
* Ignore dist directory when formatting

* Add list endpoint (`/`)

* Document list endpoint
2023-04-14 23:08:04 +01:00
Erisa A
038f80db03
Increase cacheTtl to 1 day 2023-03-23 23:30:40 +00:00
Erisa A
aa44d491b4
Rewrite deploy action 2023-03-05 17:59:31 +00:00
Erisa A
268ff94cea
Merge pull request #11 from Erisa/v2
v2: Rewrite in TypeScript and Hono
2023-03-05 18:55:59 +01:00
Erisa A
adaf66502d
Remove dead code, bump compatibility date 2023-03-05 17:54:45 +00:00
Michael Mitchell
9f974d2a45
feat: fix up bulk upload 2023-03-05 14:12:31 +11:00
Erisa A
b7e8a4246b
Upgrade workers-types, make post url a string 2023-03-04 19:48:17 +00:00
Erisa A
f1e0aabca9
Small sorting 2023-03-04 19:46:08 +00:00
Erisa A
7383aa990f
Use tabs for indentation, run prettier 2023-03-04 18:12:47 +00:00
Erisa A
c6b5d4d61c
v2: Rewrite in TypeScript and Hono 2023-03-04 18:01:42 +00:00
Erisa A
5556cea72f
Merge pull request #8 from Ovyerus/feat/bulk-create
Feat/bulk create
2023-01-26 20:14:15 +00:00
Erisa A
7545f4f0f0
Merge pull request #9 from auravoid/main
Add search param pass-through
2023-01-26 13:49:20 +00:00
aura
657fb45864
Add search param passthru 2023-01-26 06:36:34 +00:00
Michael Mitchell
b1ce265027
docs: remove accidental empty codeblock 2023-01-24 20:16:32 +11:00
Michael Mitchell
4e90be65eb
docs: update readme for bulk 2023-01-23 23:22:57 +11:00
Michael Mitchell
de4b7ab484
fix: authenticate bulk 2023-01-23 23:09:17 +11:00
Michael Mitchell
a753e8d0a0
feat: bulk create on POST / with a body 2023-01-23 23:03:41 +11:00
Erisa A
cf1c7edc9c
Merge pull request #7 from Ovyerus/fix/trailing-slash
fix: trim trailing slash from path
2023-01-17 22:23:39 +00:00
Michael Mitchell
9dd6b358fa
fix: trim trailing slash from path 2023-01-17 15:58:34 +11:00
Erisa A
4fd6710a1c
Merge pull request #6 from auravoid/main
add referrer
2023-01-15 17:24:16 +00:00
aura
dc53e0d82b
Fixed spacing 2023-01-15 16:33:25 +00:00
Jason
a6f6f92ab7
add referrer 2022-12-30 20:25:31 +00:00
Erisa A
3c30c7f45e
Add funny hack to enable logpush personally 2022-12-25 10:02:32 +00:00
Erisa A
050986e930
Disable logpush 2022-12-25 10:00:36 +00:00
Erisa A
91f42a9eab
Merge pull request #5 from auravoid/main
Fix error when PLAUSIBLE_HOST is missing
2022-12-24 04:02:21 +00:00
aura
1ae9eb5387
Fix error when PLAUSIBLE_HOST is missing 2022-12-23 22:59:10 -05:00
Erisa A
4a4070d423
Delete obselete local funding.yml
Now taken from the user level:
https://github.com/Erisa/.github/blob/main/funding.yml
2022-12-20 23:08:51 +00:00
Erisa A
b800d89f8a
actions: Upgrade checkout to v3 2022-12-20 23:07:41 +00:00
Erisa A
803ff92c69
Upgrade wrangler to 2.6.2 2022-12-20 23:06:23 +00:00
Erisa A
a158829c21
Enable logpush 2022-12-20 23:00:50 +00:00
aura
45472515e0
Add support for Plausible Analytics (#4)
* Added a dirty way to POST Plausible

* Added some documentation

* Made the documentation slightly better

* Wrapped fetch in waitUntil

* Apply suggestions from code review
2022-12-20 22:21:42 +00:00
Erisa A
15adcb9bd7
Oops, uncomment the route 2022-07-12 01:01:44 +01:00
Erisa A
86e4c59050
Remove miniflare from devDependencies 2022-07-12 01:01:03 +01:00
Erisa A
9cfcb84653
Add .dev.vars to the repo
This is done because I can't find a way to pass a variable to `wrangler dev --local` on the commandline.
2022-07-12 00:59:21 +01:00
Erisa A
3ac0458bcb
Migrate to Wrangler 2 2022-07-12 00:57:28 +01:00