Commit Graph

193 Commits

Author SHA1 Message Date
Orhun Parmaksız a415ef60a0
chore(docker): enable dependency caching in Dockerfile
This reverts commit 82f1a3207f.
2023-05-14 21:57:27 +03:00
Orhun Parmaksız 82f1a3207f
chore(docker): remove dependency caching from Dockerfile 2023-05-14 21:44:22 +03:00
Orhun Parmaksız 29ddef8df0
feat(deploy): deploy on shuttle.rs (#36)
* feat(deploy): deploy on shuttle.rs

* chore(deploy): add automated shuttle deploy workflow

* style(readme): update the formatting in README.md

* chore(deploy): optimize shuttle workflow

* fix(deploy): start the project

* fix(deploy): remove start step

This reverts commit 4f25921aeb.

* chore(deploy): expose the version for the public instance

* docs(lib): update the comment for shuttle entry-point

* chore(deploy): run the shuttle deployment on new tag
2023-05-14 18:03:53 +02:00
Orhun Parmaksız 019d1556da
chore(ci): use the stable version for checkout action 2023-05-14 13:48:39 +03:00
Orhun Parmaksız ab5e153a4e
style(config): format the default config 2023-05-14 13:38:34 +03:00
Orhun Parmaksız 4a4301ee72
style(server): make the default landing page fancier 2023-05-14 01:56:57 +03:00
Orhun Parmaksız 607f07b6e1
feat(server): support server-side default expiry time 2023-05-14 01:30:35 +03:00
Orhun Parmaksız 9ea7d5de8a
feat(config): support overriding the server URL 2023-05-13 23:20:52 +03:00
Orhun Parmaksız 4e45b6a20d
style(config): format the config 2023-05-13 22:50:39 +03:00
dependabot[bot] 9fcbb1dfb0
chore(deps): bump serde from 1.0.162 to 1.0.163 (#35)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.162 to 1.0.163.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.162...v1.0.163)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 18:21:20 +02:00
Orhun Parmaksız 85e0c410d4
fix(docker): remove target directory from excluded files for proper caching 2023-05-11 00:45:23 +03:00
dependabot[bot] ad4c990b13
chore(deps): bump codecov/codecov-action from 1 to 3 (#34)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-10 23:43:07 +02:00
Orhun Parmaksız 18ba29e04a
chore(github): update funding options 2023-05-11 00:41:41 +03:00
Orhun Parmaksız 5e8ea66256
chore(ci): integrate dependabot 2023-05-11 00:41:03 +03:00
Orhun Parmaksız 70085f3ad0
chore(ci): update runners to Ubuntu 22.04 2023-05-11 00:40:08 +03:00
Orhun Parmaksız d82e99c128
chore(deps): upgrade dependencies 2023-05-11 00:39:04 +03:00
Orhun Parmaksız dc499e402e
chore(docker): optimize docker build workflow 2023-05-11 00:29:11 +03:00
Orhun Parmaksız ce51c184a5
docs(changelog): update changelog entry for 0.8.4 2023-01-31 21:21:54 +03:00
Orhun Parmaksız a0ba66cac1
chore(release): prepare for v0.8.4 2023-01-31 21:20:06 +03:00
Orhun Parmaksız 29d5856566
chore(deps): upgrade transitive dependencies 2023-01-31 21:09:03 +03:00
Orhun Parmaksız 99ac6156a8
feat(server): allow downloading files via `?download=true` parameter (#24) 2023-01-31 21:03:00 +03:00
Orhun Parmaksız e459ba5f3c
chore(release): prepare for v0.8.3 2023-01-30 22:24:52 +03:00
Orhun Parmaksız e013ac26bd
chore(bin): strip the binary symbols with an option in Cargo.toml 2023-01-30 21:07:37 +03:00
Orhun Parmaksız c5389a1200
fix(docker): switch to Rust image as builder for Dockerfile 2023-01-30 21:03:42 +03:00
Orhun Parmaksız 240907c53a
chore(deps): upgrade dependencies 2023-01-30 20:41:19 +03:00
Orhun Parmaksız e82914f0f1
fix(ci): update cargo-tarpaulin installation command 2023-01-29 16:52:29 +03:00
Orhun Parmaksız 695bb738cd
docs(license): update copyright years 2023-01-01 20:38:12 +03:00
Marcin Puc 96b919e5ee
chore(deps): remove unused clap dependency (#32) 2023-01-01 18:36:37 +01:00
Orhun Parmaksız 8bac3cc91f
fix(lints): apply clippy suggestions for tests 2022-12-18 23:43:58 +03:00
Orhun Parmaksız e83b8e6f4a
fix(lints): apply clippy suggestions 2022-12-18 23:12:28 +03:00
Orhun Parmaksız a954676547
chore(release): prepare for v0.8.2 2022-10-04 19:37:09 +02:00
Leonidas Spyropoulos a324305a7d
fix(config): don't expose version endpoint in default config (#31)
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-10-04 16:29:23 +00:00
Orhun Parmaksız df0d5391b4
docs(changelog): update CHANGELOG.md for v0.8.1 2022-10-04 13:55:05 +02:00
Orhun Parmaksız 8394aacb49
chore(deps): update time dependency 2022-10-04 13:04:21 +02:00
Leonidas Spyropoulos 1050448ebd
chore(deps): replace unmaintained dotenv with dotenvy (#30)
Fixes: #25

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>3
2022-10-04 10:02:51 +00:00
Orhun Parmaksız 20a1482aa7
chore(release): prepare for v0.8.1 2022-10-04 12:49:58 +02:00
Leonidas Spyropoulos 5cdbc8da61
feat(server): expose version as endpoint (#29)
Fixes: #27

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2022-10-04 09:38:37 +00:00
Orhun Parmaksız 00cee6d9ba
chore(release): prepare for v0.8.0 2022-10-04 01:29:35 +02:00
Orhun Parmaksız 6ffc5d6209
chore(deps): upgrade dependencies 2022-10-04 01:14:23 +02:00
TheTechRobo 37cb4d3fcb
feat(server): add landing page (#26)
* feat(server): add landing page

Fixes orhun/rustypaste#13

* feat(server): allow using {REPOSITORY} in landing page

* fix(server): Get rid of unused import, add line about expiration

* chore(fmt): cargo fmt

* fix(tests): inject app data for fixing index test

* feat(server): redirect to GitHub repository if landing page is not specified

* test(fixtures): add fixture test for landing page

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2022-10-03 21:27:35 +00:00
Orhun Parmaksız 1e1da30b83
fix(lints): apply clippy suggestions 2022-08-14 12:11:03 +02:00
Orhun Parmaksız a7dcc39f91
chore(funding): enable GitHub Sponsors for funding
https://github.com/sponsors/orhun
2022-07-31 15:05:03 +02:00
PLANTROON a0f076269e
chore(config): do not check for duplicate files by default (#23)
It is an expensive operation to do on slower hardware and can take unreasonable amount of time for bigger files
2022-06-25 02:57:03 +03:00
Orhun Parmaksız 59f9b46bb8
chore(release): prepare for v0.7.1 2022-05-21 20:02:05 +03:00
Orhun Parmaksız 16628e402a
chore(deps): upgrade dependencies 2022-05-21 19:54:05 +03:00
Orhun Parmaksız deec5d4c29
test(fixtures): add fixture test for random URL 2022-05-21 19:31:43 +03:00
Orhun Parmaksız a98f0ae22e
test(fixtures): add fixture test for default extension 2022-05-21 19:23:59 +03:00
Orhun Parmaksız 5cdca1d9aa
test(fixtures): add fixture test for MIME override 2022-05-21 19:12:09 +03:00
Orhun Parmaksız c06fff92ac
test(fixtures): add fixture test for MIME blacklist 2022-05-21 18:47:41 +03:00
Orhun Parmaksız d262a3d297
test(fixtures): add fixture test for auto deletion 2022-05-21 18:23:21 +03:00