Daniel Szabo
664c4495e0
Fixed pasta creation bug
...
Fixed a bug that caused new uploads not to save their text content if the server had the encryption features turned off
2023-07-08 21:54:13 +03:00
Daniel Szabo
efdcf0f5e2
Bump versioning for new beta release
2023-07-08 19:18:58 +03:00
Daniel Szabo
b051ceff62
Fixed 2 bugs on index.html
...
- Fixes extra letter "a" before Never Expire option
- Fixes #180
2023-07-08 19:17:19 +03:00
Daniel Szabo
dcc3f37f8c
enabled video embedding
2023-07-08 19:16:16 +03:00
Daniel Szabo
6253ede41c
Improved client-side file encryption reliability
...
Still not perfect, but works better with non-text files as well finally. Worked on presenting the proper UI elements as well, as sometimes the wrong download button was showing or the password field was misisng.
2023-07-08 15:47:11 +03:00
Daniel Szabo
5d2007fe32
Added missing Incorrect Password status
...
Added missing Incorrect Password status to pasta_auth screen when opening client-side encrypted upload
2023-07-08 15:45:00 +03:00
Daniel Szabo
33dc7cc02a
Update .env
...
- Deprecated PURE_HTML arg
- Negated NO_ETERNAL_PASTA
2023-07-08 15:44:02 +03:00
Daniel Szabo
aec6cab275
Merge branch 'master' of https://github.com/szabodanika/microbin
2023-07-04 21:56:47 +03:00
Daniel Szabo
4983ac867d
Fix text-only private pastas crashing server
...
- Fixed a bug that caused encrypted uploads with no file to crash the server, as we tried to decrypt a non-existent file
- Changed wording on pasta auth page
- Removed unused import
2023-07-04 21:56:15 +03:00
Daniel Szabo
d7b4462892
Fix edit saving bug
...
Fixes #177
2023-07-04 19:23:58 +03:00
Daniel Szabo
4c367c0ddf
Bump version to 2.0.1 (beta2)
2023-07-04 19:23:23 +03:00
Daniel Szabo
352d75f2f6
Update reference to new fabvicon
2023-07-04 19:23:04 +03:00
Dániel Szabó
3c4d3a83b4
Update README.md
...
Added link to PTS
2023-07-02 23:59:32 +03:00
Daniel Szabo
c45bca7b05
Merge branch 'master' of https://github.com/szabodanika/microbin
2023-07-02 18:26:55 +03:00
Daniel Szabo
9cd8f455aa
New favicon
2023-07-02 18:26:54 +03:00
Dániel Szabó
a10cde6033
Update README.md
...
updated docker script command
2023-07-02 13:13:27 +03:00
Daniel Szabo
2d66c1abf8
Changed MICROBIN_NO_ETERNAL_PASTA to MICROBIN_ETERNAL_PASTA
2023-07-02 13:04:45 +03:00
Daniel Szabo
7c88276a63
Docker setup script
...
Plus added gitignore for docker volume
2023-07-02 13:04:28 +03:00
Daniel Szabo
b414e1f11f
Merge branch 'master' of https://github.com/szabodanika/microbin
2023-07-01 23:18:10 +03:00
Daniel Szabo
49326f3c52
Update Dockerfile
2023-07-01 23:18:06 +03:00
Daniel Szabo
4eaa259f49
Update release.yml
2023-07-01 22:36:39 +03:00
Dániel Szabó
8e8765dd2e
Update README.md
2023-07-01 22:24:05 +03:00
Daniel Szabo
bbeaab7cf9
Update GitHub Actions
...
Removed duplicate GH release
Updated set-output commands
Bumped softprops/action-gh-release to v0.1.15
2023-07-01 22:16:34 +03:00
Daniel Szabo
41b565f81d
Fix integer overflow issue
...
Project was not compiling on a few targets, there is no need for this unelegant TB calculation here.
2023-07-01 21:43:17 +03:00
Daniel Szabo
38e4fa4fe7
update cargo version number
2023-07-01 21:20:43 +03:00
Daniel Szabo
e05596726b
Update guide.html
2023-07-01 21:06:06 +03:00
Daniel Szabo
4ad9d51aaa
Removed link to non-existent /about
2023-07-01 20:51:47 +03:00
Daniel Szabo
3a1fc7072a
Renamed "How to use" page to Guide page
2023-07-01 20:50:22 +03:00
Daniel Szabo
8c18e423a3
Fix sort path bug
...
- Fixed a bug that caused unset short_path variable to crash the server
- Touched up .env file
2023-07-01 20:49:55 +03:00
Daniel Szabo
eda06a8df7
New logo and index images
2023-07-01 20:30:26 +03:00
Daniel Szabo
79c2b358ba
Applied clippy suggestions
2023-07-01 20:06:49 +03:00
Daniel Szabo
6913beed3b
Update .gitignore
2023-07-01 19:35:09 +03:00
Daniel Szabo
e87603ac2c
Update README.md
...
Preparing for changes in v2
2023-07-01 19:34:14 +03:00
Daniel Szabo
647d030aea
Update default .env
...
Fixed incorrect default values
2023-07-01 19:34:00 +03:00
Daniel Szabo
bc188e3d34
Microbin 2 beta 1 first commit
...
This is the first, early beta version of Microbin 2.
Microbin 2 brings a lot of improvements to Microbin. To name just the most important ones:
- Server-side and client-side encryption for uploads, including file attachments,
- SQLite database support by default,
- Reworked upload settings, 5 privacy levels,
- New administrator console (/admin),
- Automatic syntax highlighting,
- Image and video embedding,
- Refreshed styling and QoL features,
- New user guide page.
Beyond these,
- Added file upload size limits,
- Added sample .env file with description for each environmental variable,
- Removed Info page (moved to admin page),
- Pasta list now sorted from newer to older,
- Pasta terminology replaced with Upload,
- Files are now served with a proper service, not just as a public directory,
- Pastas are now stored in /attachments instead of /public.
As this is the first beta of Microbin v2, and I do not recommend updating to this in critical environments as long as we are in beta stage. I expect many bugs to emerge and v2 is also getting a few more smaller QoL features from the backlog. README and website won't be updated until v2 is stable and well-tested.
Fixes #164
Fixes #156
Fixes #153
Fixes #149
Fixes #139
Fixes #98
Fixes #4
Fixes #105 (sort of)
Fixes #97 (sort of)
Fixes #45 (sort of)
Fixes #22 (sort of)
2023-07-01 19:12:06 +03:00
Dániel Szabó
3d45357be3
Merge pull request #169 from szabodanika/dependabot/cargo/tokio-1.25.1
...
Bump tokio from 1.21.2 to 1.25.1
2023-06-26 12:31:29 +03:00
Dániel Szabó
b0988d08c1
Merge pull request #168 from szabodanika/dependabot/cargo/spin-0.9.8
...
Bump spin from 0.9.4 to 0.9.8
2023-06-26 12:31:20 +03:00
Dániel Szabó
8fdfe0294b
Merge pull request #167 from szabodanika/dependabot/cargo/h2-0.3.19
...
Bump h2 from 0.3.15 to 0.3.19
2023-06-26 12:31:13 +03:00
dependabot[bot]
f581cdd969
Bump tokio from 1.21.2 to 1.25.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.2 to 1.25.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.25.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 07:45:41 +00:00
dependabot[bot]
85d8fa53a3
Bump spin from 0.9.4 to 0.9.8
...
Bumps [spin](https://github.com/mvdnes/spin-rs ) from 0.9.4 to 0.9.8.
- [Changelog](https://github.com/mvdnes/spin-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mvdnes/spin-rs/commits )
---
updated-dependencies:
- dependency-name: spin
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 07:45:31 +00:00
dependabot[bot]
a5406867b6
Bump h2 from 0.3.15 to 0.3.19
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.15 to 0.3.19.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.15...v0.3.19 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 07:44:09 +00:00
Dániel Szabó
4f9c447dee
Merge pull request #154 from egor-tensin/dockerfile
...
Dockerfile: improve caching
2023-06-26 10:26:24 +03:00
Dániel Szabó
92a529dae3
Merge pull request #155 from egor-tensin/monospace
...
Use monospace font in textarea's
2023-06-26 10:24:10 +03:00
Dániel Szabó
2a15f40e71
Merge pull request #161 from mooons/dev-escape-backslash
...
Escape backslash for Copy Text function
2023-06-26 10:21:38 +03:00
mooons
83f3209740
Escape backslash
2023-05-25 17:30:13 -07:00
Egor Tensin
833454b343
Use monospace font in textarea's
...
This commit makes the textareas (notably, when adding a pasta) use
monospace font (which is in line with other pastebin services and
arguably what the user wants/expects).
2023-05-02 22:38:54 +02:00
Egor Tensin
f28f1e2b5c
Dockerfile: improve caching
...
This improves caching in Docker builds somewhat so that apt-get is not
run on every change.
2023-05-02 22:37:06 +02:00
Dániel Szabó
b6841a596d
Merge pull request #151 from frap129/short-path
...
Add short-path for changing URL provided by copy buttons
2023-04-20 19:42:47 +03:00
Joe Maples
95aa514a30
Add shortened endpoints for using short_path
2023-04-12 11:29:52 -04:00
Joe Maples
25d199721b
Add short_path arg, use it for copy urls
2023-04-12 11:15:19 -04:00