Commit Graph
13 Commits
Author SHA1 Message Date
sphericalkat ac2028d373 pastes: don't 404 when user does not exist
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-26 19:59:32 +05:30
sphericalkat b661b7ea8d pastes: add a route to update pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-26 19:17:48 +05:30
sphericalkat beaca24246 user: add a route to fetch by ID
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-26 15:43:59 +05:30
sphericalkat ebe7bf4594 paste: make URL regex case insensitive
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-24 23:19:07 +05:30
sphericalkat c075068649 pastes: validate URLs using regex
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-24 22:45:48 +05:30
sphericalkat 2b785d3fe4 paste: Make is_url an optional parameter in JSON body
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-07-02 12:37:56 +05:30
sphericalkat d1625ce721 users: Add routes and methods to activate user
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-07-01 23:53:15 +05:30
sphericalkat 62df3f239a cargo fmt
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 16:44:07 +05:30
sphericalkat f16e906ff4 routes: pastes: Finish implementing fetching of pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 00:53:39 +05:30
sphericalkat 8e44b02235 routes: pastes: Finish impl of paste creation
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 00:19:20 +05:30
sphericalkat 0e5abac774 [wip] paste: Add route to create pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-25 18:12:36 +05:30
sphericalkat 0556a03396 pastes: Add schema and some db ops
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-25 16:03:33 +05:30
supercmmetry da21eb1189 treewide: Migrate to clean-architecture
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-24 13:45:35 +05:30