Commit Graph

12 Commits

Author SHA1 Message Date
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
b661b7ea8d
pastes: add a route to update pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-26 19:17:48 +05:30
e001d87f3e
paste: return an extra parameter if the current user is the owner
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-09-26 17:04:53 +05:30
4a456aafd6
paste: change return signature of fetching paste
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-08-29 23:37:28 +05:30
d1625ce721
users: Add routes and methods to activate user
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-07-01 23:53:15 +05:30
328b14f986
fairings: Failed experiment with templating
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-28 15:31:18 +05:30
62df3f239a
cargo fmt
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 16:44:07 +05:30
supercmmetry
de741f451e
refactor: Remove unused code
- DbConn moved to /src/api/guards/db.rs
- Removed redundant imports in /src/api/routes

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-26 08:14:19 +05:30
f16e906ff4
routes: pastes: Finish implementing fetching of pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 00:53:39 +05:30
8e44b02235
routes: pastes: Finish impl of paste creation
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 00:19:20 +05:30
0e5abac774
[wip] paste: Add route to create pastes
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-25 18:12:36 +05:30
0556a03396
pastes: Add schema and some db ops
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-25 16:03:33 +05:30