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
Orhun Parmaksız
1f8f462299
test(server): add tests for different paste types
2022-05-17 22:09:24 +03:00
Orhun Parmaksız
a330b59dca
fix(lints): apply clippy suggestions for tests
2022-05-16 12:58:41 +03:00
Orhun Parmaksız
657ca8c1d4
fix(server): do not hold the RwLock guard before async calls
2022-05-16 12:34:57 +03:00
Orhun Parmaksız
59415cd31a
docs(readme): update contributing details
2022-05-16 10:28:57 +03:00
Orhun Parmaksız
1d44cbd9c8
test(server): add test for upload
2022-05-16 10:25:59 +03:00
Orhun Parmaksız
74237d56c5
chore(release): prepare for v0.7.0
2022-03-26 00:54:15 +03:00
Orhun Parmaksız
527fbc4f49
chore(deps): upgrade dependencies
2022-03-26 00:07:57 +03:00
frederik
8679ff91dc
chore(systemd): add systemd service files ( #22 )
...
Add systemd files to serve files from /var/lib/rustypaste, automatic
user creation via systemd-sysusers and AUTH_TOKEN configuration via
rustypaste.env in /etc/rustypaste/rustypaste.env.
implements #16
2022-03-25 23:51:20 +03:00
Orhun Parmaksız
8ed0b7bbf1
chore(build): strip the binary
2022-03-23 16:48:39 +03:00
Orhun Parmaksız
9136d1ce09
docs(readme): add testing instructions to README.md
2022-03-23 16:41:09 +03:00
Orhun Parmaksız
dd91c50d50
feat(server): support auto-deletion of expired files ( #17 )
...
feat(server): support auto-deletion of expired files (#17 )
chore(ci): set the number of test threads to 1
feat(config): allow the real-time update of cleanup routine
docs(readme): update README.md about deleting expired files
2022-03-23 16:13:46 +03:00
Orhun Parmaksız
a3e266b8b4
refactor(server): define global constants for environment variables
2022-03-17 15:54:08 +03:00
Orhun Parmaksız
c48e45d68c
chore(deps): upgrade actix dependencies
...
closes #18
2022-03-17 15:46:32 +03:00
Orhun Parmaksız
51d6fdd0d8
docs(readme): reorder sections in README.md
2022-03-17 11:53:16 +03:00
Orhun Parmaksız
2d5c14a6e0
docs(readme): apply shellcheck suggestions to cleanup script
2022-03-17 11:50:27 +03:00
sh
44ab1318ee
docs(readme): add shell script for cleaning files ( #20 )
2022-03-17 11:47:33 +03:00
Sven-Hendrik Haase
d3a9e0c69d
chore(codecov): add codecov config ( #21 )
...
This is to ensure that trivial decreases in code coverage don't fail the pipeline.
2022-03-17 00:29:26 +03:00
Orhun Parmaksız
525129ddcb
fix(server): check if the path is a file while serving
...
closes #19
2022-03-16 16:37:54 +03:00
Orhun Parmaksız
ffe067f9da
chore(release): prepare for v0.6.5
2022-03-13 21:33:32 +03:00
Orhun Parmaksız
08dc063a7a
docs(readme): add installation instructions for Arch Linux
2022-03-13 21:13:31 +03:00
Orhun Parmaksız
1dd5dcf167
fix(config): unset CONFIG
environment variable to avoid conflicts
2022-03-13 21:12:10 +03:00
Orhun Parmaksız
e3a97045f4
chore(release): prepare for v0.6.4
2022-03-12 02:04:18 +03:00
Orhun Parmaksız
bdb8492a11
chore(deps): upgrade dependencies
2022-03-12 02:02:36 +03:00
Orhun Parmaksız
94516c95bb
feat(config): support setting the timeout for HTTP requests
2022-03-12 00:35:54 +03:00
Orhun Parmaksız
fda6f91211
style(readme): update the formatting of example shell function
2022-03-12 00:03:37 +03:00
Orhun Parmaksız
9e5bd112e7
feat(config): support setting the refresh rate for hot-reloading
2022-03-12 00:02:25 +03:00
Orhun Parmaksız
0f893ba058
docs(changelog): update CHANGELOG.md about auth_token example
2022-02-25 00:32:19 +03:00
Orhun Parmaksız
d4a12cdcee
chore(release): prepare for v0.6.3
2022-02-25 00:25:50 +03:00
Orhun Parmaksız
2ef453be28
chore(docker): remove Rust edition workaround from Dockerfile
2022-02-25 00:14:14 +03:00
Orhun Parmaksız
d6ba6ac630
chore(deps): upgrade dependencies
2022-02-25 00:10:52 +03:00
Orhun Parmaksız
6f1dcab15a
fix(lints): apply clippy suggestions
2022-02-24 23:54:54 +03:00