Commit Graph

23 Commits

Author SHA1 Message Date
Akshit Garg
5820652ac1
feat: add support for custom page titles
Also put the paste ID in the title for the show page
2022-02-16 16:30:30 +05:30
1ecb497199
fix(paste): prevent \r \n characters from interfering with url redirects
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-11-01 18:34:32 +05:30
8e6cbc647e
chore: remove leftover paste controller references
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-08 02:03:23 +05:30
8f4672b516
refactor(auth): use heex templates
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 05:58:00 +05:30
9b18d5186d
refactor(paste): switch to heex templates
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 05:42:24 +05:30
8b7c362611
fix(pastes): sanitize paste content while rendering
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-17 03:00:24 +05:30
182a5b1e55
feat(pastes): decide highlighting rules using extension
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-17 02:29:24 +05:30
478bea7efb
fix(pastes): replacing a paste with a URL now shortens the URL
fixes #5

Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-16 13:53:22 +05:30
47acc97955
fix(users): fix styles for login page
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 05:02:33 +05:30
0618654ad5
feat(pastes): handle edit permissions using plugs
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 04:47:44 +05:30
a195688bdc
feat(pastes): implement editing for logged in users
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 04:05:39 +05:30
f5525d2d20
feat(paste): add user id if user is logged in
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-15 03:20:03 +05:30
75ac6be3a6
feat(pastes): add raw paste handler
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 15:19:16 +05:30
5d05a87263
chore: prepare for prod
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 01:19:00 +05:30
aa86d9a4b9
chore(styles): clean up unused styles
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 12:13:59 +05:30
f411017280
feat(pastes): set up redirection routes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 07:54:07 +05:30
750d62cc73
feat(pastes): add support for url pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 07:46:10 +05:30
13728f2ef8
feat(ui): create idiomatic UI matching previous katbin iteration
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 06:33:43 +05:30
c6c54347a7
feat(pastes): add page to view pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 05:47:13 +05:30
d818c7033a
fix(models): prevent IDs being empty while inserting
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-12 04:29:58 +05:30
99ad54cf68
chore: generate resources for pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-12 03:28:28 +05:30
721bb05cc1
chore(auth): generate code for auth-authz
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-11 12:27:23 +05:30
supercmmetry
6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30