Commit Graph

97 Commits

Author SHA1 Message Date
dependabot[bot] b049ea3794 Bump once_cell from 1.18.0 to 1.19.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.18.0 to 1.19.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.18.0...v1.19.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 20:03:26 +00:00
dependabot[bot] 411c0eed43 Bump futures from 0.3.29 to 0.3.30
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.29 to 0.3.30.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30)

---
updated-dependencies:
- dependency-name: futures
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 20:03:16 +00:00
dependabot[bot] d835347bdb Bump actix-web from 4.4.0 to 4.4.1
Bumps [actix-web](https://github.com/actix/actix-web) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v4.4.0...web-v4.4.1)

---
updated-dependencies:
- dependency-name: actix-web
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 20:03:04 +00:00
dependabot[bot] 81d4dc7643 Bump tokio from 1.34.0 to 1.35.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 20:02:51 +00:00
Egor Tensin f3ef493ddf In plaintext mode, end with a newline
A curl call like

    curl -X PUT --data-binary @data.txt https://host/

outputs the paste URL without a newline a-la

    https://host/somepastenamewhich can mess up the terminal prompt. I

don't really see the downside of adding a newline. The workflow of

    url="$( curl -X PUT --data-binary @data.txt https://host/ )"
    curl "$url"

still works, since the shell strips the newline in command
substitutions.
2023-12-24 15:14:46 +00:00
Egor Tensin 6e29e2578d Same line height on paste submission & view
The line-height on the paste submission form & the paste display page is
currently effectively different (due to <code>::before padding-bottom).
This commit makes the line height uniform on both pages (leaning towards
a higher value for better readability).
2023-12-24 08:01:10 +00:00
Egor Tensin 8dd038bc60 Remove default textarea padding
<textarea>s have a 2px padding on both Chrome & Firefox. <pre>s,
however, don't, which makes for miniscule text jumps between index.html
& paste.html.
2023-12-24 08:01:10 +00:00
Jordan Doyle 06513b7095
Bump version to 2.0.1 2023-11-27 20:19:47 +00:00
Jordan Doyle 47552a638a
Update dependencies 2023-11-27 20:14:54 +00:00
Jordan Doyle c2678219d8
Build Docker container FROM scratch 2023-11-27 20:06:32 +00:00
Jordan Doyle 7c0bb9f220
Fix build 2023-11-27 19:48:45 +00:00
Jordan Doyle 3d9700417d
Use browser font 2023-11-26 01:00:24 +00:00
alk3pInjection 8d02b31688 Revert "use static linking in Dockerfile"
The root cause of glibc version mismatch (#60) is we're trying to
build on bookworm and run on bullseye. The proper fix is simply
aligning the distro version during multi-stage builds.

While it's okay to statically link against musl libc, I don't see
any benefits in doing so, which _might_ also introduce performance
regressions.

Switch to smaller "distroless" image while we're at it.

This partially reverts commit dc6f9b5ec6.

Signed-off-by: alk3pInjection <webmaster@raspii.tech>
2023-10-22 12:19:12 +01:00
Alistair Bahr dc6f9b5ec6 use static linking in Dockerfile; add docker-compose.yml 2023-10-17 16:56:01 +01:00
Jordan Doyle 793c2476af
Add flake.nix 2022-12-04 20:27:07 +00:00
dependabot[bot] 4fe099fd3e Bump bytes from 1.1.0 to 1.2.1
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:12:56 +01:00
dependabot[bot] cc0591f813 Bump once_cell from 1.10.0 to 1.14.0
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.10.0...v1.14.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:12:41 +01:00
dependabot[bot] 060c5e8733 Bump once_cell from 1.10.0 to 1.13.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.13.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.10.0...v1.13.1)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:05:30 +01:00
dependabot[bot] a8c64ad8e8 Bump tokio from 1.17.0 to 1.20.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.17.0 to 1.20.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.20.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:05:06 +01:00
dependabot[bot] c77be8f078 Bump log from 0.4.14 to 0.4.17
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.14...0.4.17)

---
updated-dependencies:
- dependency-name: log
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:04:57 +01:00
dependabot[bot] 0902cdaa26 Bump parking_lot from 0.12.0 to 0.12.1
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: parking_lot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 21:04:45 +01:00
DasLulilaan c9c4a83ed4 fix newlines in browser display 2022-09-09 21:04:31 +01:00
Jordan Doyle 9fff1df6e6
Fix font difference between code block and textarea 2022-03-28 17:53:39 +01:00
Jordan Doyle 057ed640ee
Create docker-publish.yml 2022-03-14 22:59:02 +00:00
Jordan Doyle 3defb20ad0
CI 2022-03-14 22:51:26 +00:00
Jordan Doyle e6642a7a94
Merge branch 'actix' 2022-03-14 22:46:33 +00:00
Jordan Doyle 776bec1b30
Bump version 2022-03-14 22:45:28 +00:00
Jordan Doyle e1639c032a
Add bat for its extended syntax sets 2022-03-14 22:45:27 +00:00
Jordan Doyle e8c3d1a5fc
Bump dependencies 2022-03-14 22:45:27 +00:00
jordan@doyle.la c686cba0c4
Run on port 8000 in docker 2020-07-28 01:23:09 +01:00
jordan@doyle.la 009dea438f
Fix docker build for actix 2020-07-28 01:01:36 +01:00
jordan@doyle.la 2bbab69e94
cargo fmt 2020-07-23 15:28:55 +01:00
jordan@doyle.la 4eb9049a1a
Bump version to v1.0.5 2020-07-23 15:18:22 +01:00
jordan@doyle.la 54f531a0a8
Fixes #16: New lines lost when only a \n is given 2020-07-23 15:15:57 +01:00
jordan@doyle.la 598baa2ace
cargo update 2020-07-22 12:12:26 +01:00
Aaron 5b5c7dc2fb Update Rocket dependency branch to "master"
Signed-off-by: Aaron <admin@datahoarder.dev>
2020-07-19 21:06:31 +01:00
jordan@doyle.la ebe0df5cc6
Upgrade rocket to latest version 2020-07-07 16:05:06 +01:00
Chris Martin 439f4bf2b4 Add viewport meta tag for better mobile interface 2020-06-13 11:15:41 +01:00
Shaarad Dalvi 377d4a129d Upated dockerfile to install libclang-dev
Build of `onig_sys` fails with missing dependency on clang.
2020-05-15 03:08:14 +01:00
jordan@doyle.la 9c53294b88
Move to async rocket 2020-04-13 11:47:50 +01:00
jordan@doyle.la ccef0d9370
Move to actix-web 2020-04-13 11:47:26 +01:00
jordan@doyle.la 296cd50b7b
Move to async rocket 2020-04-13 11:47:25 +01:00
Jordan Doyle b095d2464c
Fix build after updating dependencies & make scripts posix-compliant 2020-04-12 16:44:59 +01:00
Jordan Doyle 3c76d4fd1a
Remove FreeBSD build as it currently fails 2020-04-12 16:44:57 +01:00
Jordan Doyle 06b90b8271
Do a cargo check instead of duplicating the build 2020-04-12 16:44:55 +01:00
Jordan Doyle 21b04b88ae
Add rel="help" link to this repo (sorry! feel free to patch this out) 2020-04-12 16:44:50 +01:00
Jordan Doyle 53d97709fa
Bump package versions 2020-04-12 16:44:37 +01:00
Jordan Doyle ff3d193734
Update README.md 2020-04-12 15:42:37 +01:00
Ron Nazarov 2b53d0a34c Fixed "snippits" to "snippets" 2020-04-12 15:40:26 +01:00
Jordan Doyle 2502cc7f5c
Update .travis.yml 2020-04-12 14:39:54 +01:00