Commit graph

58 commits

Author SHA1 Message Date
f272a75d6d
Bump up dependencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-08-18 12:52:01 +05:30
3a14d0bc0c
Bump up tailwind to 3.2.4
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-08-18 12:51:13 +05:30
5ec0041b66
Bump up dependencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-06-12 10:10:58 +05:30
af1b8d32be
Update depedencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-06-05 09:10:46 +05:30
7f94110428
Update depedencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-25 11:31:59 +05:30
4bc688a79d
Fix formatting
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:45:30 +05:30
26cc78334a
Use markdown for all errors
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:44:38 +05:30
bf83c87552
Add a basic readme
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:43:00 +05:30
b22bd2dab1
Add a basic welcome page when paste-id is missing
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:39:30 +05:30
300b0c9a3c
Handle a specific case where gitlab token or project id can be wrong
Also make BASE_URL an env variable

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:33:27 +05:30
eec669a980
Update missed highlight.js atom theme to 11.7.0
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 22:04:50 +05:30
b256570a55
Uprev tailwindcss to v3.3.2
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 18:29:20 +05:30
eb769cb741
Bump up dependencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-05-07 18:29:03 +05:30
71206e3f61
Update depedencies
Actix, tera, serde are upreved to latest

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-03-20 08:22:48 +05:30
a4efb8c358
Update highlight.js to 11.7.0
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:55:24 +05:30
9eadd3b9c5
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:52:46 +05:30
3c8aee3c09
Use base64::Engine instead of base64::decode
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:52:14 +05:30
4f2c282695
Update actix and other dependencies
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-02-21 12:37:44 +05:30
3b4ad737cc
Update copyright for 2023
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2023-01-08 18:49:42 +05:30
4397af23eb
Insert analytics
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-26 00:25:50 +05:30
08d4797949
Preconnect to both the origins
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-26 00:21:51 +05:30
1156085333
Optionally parse as markdown if requested on query params
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-26 00:16:19 +05:30
62b3c30a48
Run cargo fmt
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-22 19:35:17 +05:30
55319a84da
Pretty print everything
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-22 19:34:19 +05:30
cfd2152d31
Fix padding on code blocks
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-22 19:14:17 +05:30
ec4de81144
Set language for html
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-22 18:55:18 +05:30
cbb1198bce
Remove tailwind cdn, use proper method to handle the css
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 23:42:45 +05:30
64e35b1533
Add proper padding for paste content
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 23:36:55 +05:30
e1340b68b8
Add static files to docker container
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 23:30:24 +05:30
cbacbe5e7c
Reformat the paste template
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 23:25:55 +05:30
a85315dfe6
Move out scripts and styles
Also switch to IBM Plex font

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 21:24:25 +05:30
4aa9bf2810
Move out scripts and styles
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 21:19:41 +05:30
e18235873e
Use hack font
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 21:07:33 +05:30
3a9e8390fe
Use pre tag for the paste content and wrap appropriately
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-21 21:00:42 +05:30
b5efd31fdd
Set appropriate contenttype
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-12 00:01:48 +05:30
b98bcf09f2
Avoid soft-lock bug
Rust binaries are soft-locking when workdir is set to /

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 23:25:28 +05:30
0c0b95f031
Add templates into the binary container
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 23:05:22 +05:30
750ede9f21
Make bind address configurable
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:44:39 +05:30
48c5b5b7d5
Expose port for service discovery
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:31:05 +05:30
437291f362
Mild design improvements
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:20:09 +05:30
bcf7ef44c5
Add a gitlab-ci.yml to build and push
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:12:53 +05:30
5a0f3c5dda
Fix footer url
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:12:29 +05:30
ec38c59631
Improve dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 22:05:50 +05:30
99cd30aa7e
Add dockerfile
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 21:03:16 +05:30
4fbee48847
License under AGPL
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:53:13 +05:30
3d3e3512db
Fetch gitlab token from env vars
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:52:20 +05:30
b7ee0a0c7c
Name the project appropriately
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:47:20 +05:30
01d902d311
Deserialize paste json properly
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:45:48 +05:30
e7a18f4b03
Handle paste dynamic fetch
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-12-11 19:16:24 +05:30
8d755c01f7
Use rustls
Can statically link the binary if i have this in place

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-11-20 19:22:27 +05:30