Commit Graph

282 Commits

Author SHA1 Message Date
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
Orhun Parmaksız a6a8261a73
refactor(fixtures): merge test steps in a single subshell 2022-05-21 17:52:47 +03:00
Orhun Parmaksız 00167db3d6
fix(fixtures): enable random URLs for duplicate file fixture 2022-05-21 17:52:14 +03:00
Orhun Parmaksız cccbf98acc
refactor(fixtures): use subshell for running fixture methods 2022-05-21 16:51:06 +03:00
Orhun Parmaksız c60090d461
fix(fixtures): exit the run_test function on error 2022-05-21 16:43:32 +03:00
Orhun Parmaksız 685d9607c8
chore(ci): run test fixtures 2022-05-21 15:46:37 +03:00
Orhun Parmaksız 4d16e65edb
test(fixtures): add a test framework along with test fixtures 2022-05-21 15:27:38 +03:00
Orhun Parmaksız 3467038353
feat(env): support configuring logger from .env file 2022-05-21 09:07:37 +03:00
Orhun Parmaksız 63c79b8297
feat(log): print the configuration as trace log at startup 2022-05-21 06:26:17 +03:00
Orhun Parmaksız 48063d736a
feat(config): allow omitting MIME settings from the config 2022-05-21 06:25:23 +03:00
Orhun Parmaksız 87d2423d1a
test(server): add test for duplicate uploads 2022-05-18 09:50:47 +03:00
Orhun Parmaksız 013c6ac810
test(server): add tests for server configuration 2022-05-17 22:38:57 +03:00