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
4e45b6a20d
style(config): format the config
2023-05-13 22:50:39 +03: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
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
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
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
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
94516c95bb
feat(config): support setting the timeout for HTTP requests
2022-03-12 00:35:54 +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
c08fd29a45
feat(paste): make duplicate uploads optional ( #7 )
2021-10-12 19:35:06 +03:00
orhun
e7ad855f4d
feat(paste): support blacklisting MIME types
2021-08-09 22:48:51 +03:00
orhun
03348cb38f
feat(paste): support overriding MIME types
2021-08-09 22:28:33 +03:00
orhun
f1e85b64b7
style(config): update the field order for random_url
2021-07-27 14:00:50 +03:00
orhun
338802cc9b
refactor(config): create the random
module for generating URLs
2021-07-26 15:34:23 +03:00
orhun
181c8c602c
refactor(server): use .env for auth token
2021-07-24 14:10:30 +03:00
orhun
f67e611781
feat(paste): make pet names configurable
2021-07-24 00:01:16 +03:00
orhun
fc425067f7
feat(paste): support using random file names
2021-07-23 23:53:41 +03:00
orhun
1413335519
feat(server): support file upload and serving
2021-07-23 22:52:00 +03:00