1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2025-04-27 19:46:52 -05:00
Commit graph

163 commits

Author SHA1 Message Date
bbf5811e13
build: Bumped version to 5.7.1 2025-04-23 23:57:50 -05:00
084334cd11
fix: Better response on error when shortlink is not provided 2025-04-23 15:45:41 -05:00
4eb88f3beb
chg: Match using rusqlite errors instead of strings 2025-04-23 15:23:34 -05:00
c23fcdc9bd
chg: Properly validate error types 2025-04-21 22:20:11 -05:00
21f76f2962
chg: No need to print public uri with port when custom uri is passed 2025-04-21 12:51:00 -05:00
e8af830527
build: Bumped version to 5.7.0 2025-04-21 12:43:05 -05:00
fc2c24d731
build: Updated deps 2025-04-21 12:40:21 -05:00
e39578fa02
chg: Modify shortlink validation logic to utilize the INDEX
It's no longer necessary to separately validate uniqueness
since the UNIQUE INDEX does that for us already.
2025-04-19 20:04:56 -05:00
88ddb4299a
chg: Move the uniqueness validation to the INDEX 2025-04-19 19:31:43 -05:00
Magnus
b2bc2c450b add unique constraint and create index on short URL 2025-04-18 20:26:29 +02:00
2c8f47c0cb
new: Ability to disable frontend 2025-04-10 12:45:49 -05:00
828019998e
build: Bumped version to 5.6.3 2025-04-07 22:24:49 -05:00
49d910fb3c
build: Updated deps to mitigate a tokio security issue 2025-04-07 22:24:10 -05:00
e8faf660f4
build: Bumped version to 5.6.2 2025-03-03 18:45:08 -06:00
67695da86b
fix: Use changed methods for rand 2025-03-03 18:44:42 -06:00
d50c183c9c
build: Updated deps 2025-03-03 18:37:49 -06:00
6f419c7b3d
new: Enforce ordering of data
Closes #46
Data is returned in order of id, which should match the order it was
inserted in. In the WebUI, the entries are shown in reverse, so the
latest link is at the top.
2025-03-03 12:27:59 -06:00
f283991740
build: Bumped version to 5.6.1 2025-01-17 23:30:43 -06:00
Solninja A
1047763285 chg: Bind server to port env variable 2025-01-18 12:52:19 +10:00
Solninja A
17d0df943b Correctly output created link 2025-01-14 17:20:41 +10:00
af1685bb70
build: Bumped version to 5.6.0 2025-01-09 00:34:22 +05:30
a60853fd21
fix: Only pull hits when needed 2025-01-09 00:21:05 +05:30
2b9fafe440
new: Got the expand API path working
It replies with info for a single shortlink. May be useful for
applications using json interface.
2025-01-08 20:09:24 +05:30
f952cb88a0
build: Bumped version to 5.5.0 2025-01-06 11:59:41 +05:30
9eec252fe2
build: Updated deps 2025-01-06 11:54:49 +05:30
16bc211f9f
fix: Confirm when secure API key is provided 2025-01-06 11:48:18 +05:30
cba667ded8
chg: Small cosmetic change 2025-01-06 11:40:20 +05:30
eb4f05a87b
fix: Disregard empty Site URL 2025-01-06 11:11:09 +05:30
f1c1642976
chg: Small semantic changes 2025-01-05 16:20:38 +05:30
Solninja A
eed3c2292a Cleaned up code 2025-01-03 00:28:51 +10:00
Solninja A
4fb8d0cb5c Edited the API Key header to comply with OpenAPI v3 specs 2025-01-03 00:25:55 +10:00
Solninja A
9a0cdec646 Improved API error codes 2025-01-01 19:08:35 +10:00
Solninja A
818dadb84f Made code more Rust-like 2025-01-01 17:34:09 +10:00
Solninja A
6347a89725 Minor code clean up 2024-12-31 20:30:55 +10:00
Solninja A
aab7a9b3d1 Change README.md and remove unneeded dependencies 2024-12-31 20:13:37 +10:00
Solninja A
1ef5d539d5 Improve API error handling 2024-12-31 19:54:22 +10:00
Solninja A
5c2886f651 Changes the API to use JSON data and results 2024-12-31 19:11:47 +10:00
Solninja A
2c56c68637 Improves API functionality 2024-12-31 16:19:20 +10:00
e6eed2dd70
build: Bumped version to 5.4.6 2024-11-07 19:35:42 -06:00
66d94634d9
build: Bumped version to 5.4.5 2024-11-06 22:11:36 -06:00
03f5529c30
build: Updated deps 2024-11-06 22:11:05 -06:00
e0c61bdb93
build: Bumped version to 5.4.4 2024-10-03 00:02:48 -05:00
06f7a33d5d
fix: Do not consider empty password 2024-10-02 23:52:23 -05:00
3688692c7a
chg: Default db location 2024-10-02 23:46:35 -05:00
a7cf0cdf30
build: Bumped version to 5.4.3 2024-09-18 11:52:24 -05:00
35880f4d1e
build: Updated dependencies 2024-09-18 11:51:50 -05:00
56ab16aa4e
build: Bumped version to 5.4.2 2024-06-20 20:59:06 -05:00
066fa9c80a
build: Updated deps 2024-06-20 20:48:06 -05:00
9fc8634704
fix: Typo during reading slug_length, fixes #24 2024-06-20 20:46:26 -05:00
5bbaad3001
build: Bumped version to 5.4.1 2024-06-07 15:34:28 -05:00