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

35 commits

Author SHA1 Message Date
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
cba667ded8
chg: Small cosmetic change 2025-01-06 11:40:20 +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
1ef5d539d5 Improve API error handling 2024-12-31 19:54:22 +10:00
Solninja A
2c56c68637 Improves API functionality 2024-12-31 16:19:20 +10:00
9fc8634704
fix: Typo during reading slug_length, fixes #24 2024-06-20 20:46:26 -05:00
b1c4142296
chg: Reply when shortlink cannot be added 2024-05-06 16:49:01 -05:00
931b4a95e4
chg: Added SPDX headers 2024-04-03 20:40:26 -05:00
ca14c02e70
docs: Added some comments and changed the token name 2024-04-02 17:57:49 -05:00
0469f9b933
chg: Get rid of naked unwraps and improve code flow 2024-04-02 17:43:36 -05:00
38b817fdf8
new: Proper reply when invalid data is sent 2024-03-31 21:23:22 -05:00
34518affaf
chg: Changed some struct names 2024-03-31 16:07:33 -05:00
f2b5e1ab6d
chg: Use json for sending url list 2024-03-31 15:38:59 -05:00
99b5298cd8
chg: Use json while sending form for new url 2024-03-31 15:17:54 -05:00
6c7ca8d0ac
fix: slug_style options are consistent now 2024-03-31 00:59:05 -05:00
599b013fc9
chg: Change uid to UID 2024-03-31 00:51:32 -05:00
088cd594a5
chg: Change the env_var name 2024-03-31 00:45:29 -05:00
f9e642275a
new: Support uid slug 2024-03-31 00:38:42 -05:00
5d8dd6fb63
chg: Use Option instead of returning empty String 2024-03-26 23:52:24 -05:00
5ecd29926d
chg: Added some checks during deletion of a shortlink 2024-03-13 18:59:10 -05:00
0bfaa49e7b
fix: Wrong regex in validate_link, fixes #6 2024-03-10 18:18:07 -05:00
1ee7ebe847
fix: Correct order for random names 2023-09-19 18:11:29 -05:00
a4e7c6b444
change: Do not dereference str whenever possible 2023-05-23 19:03:53 -05:00
7b59a9aa5c
change: Improve consistency in string declaration whenever suitable 2023-05-23 19:03:47 -05:00
ff4801a476 Fixes suggested by clippy 2023-04-26 14:40:54 -05:00
71d7253248 Use one database connection throghout 2023-04-03 18:52:17 -05:00
7f6ba5175f Ability to add new links 2023-04-03 17:40:37 -05:00
618fd0e53a Count number of hits 2023-04-03 15:46:22 -05:00
a1f73c8a9d Display list of links 2023-04-03 11:55:27 -05:00
b9d76b6734 Basic redirection working 2023-04-02 22:26:23 -05:00