Commit Graph

24 Commits

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