LuK1337
70a666a854
Set charset=utf-8 for /raw/{id} response
...
This matches `<meta charset="utf-8">` in HTML and thus lets browser
decode content properly.
2023-12-23 19:02:49 +01:00
Dániel Szabó
b8a0c5490d
Update FUNDING.yml
2023-07-15 11:06:43 +03:00
Dániel Szabó
c1fc2e22e5
Update compose.yaml
...
Fixes #181
2023-07-12 08:04:43 +03:00
Dániel Szabó
9688f913da
Fix typo in README
2023-07-11 22:05:57 +03:00
Daniel Szabo
4c57c27851
Fixed removal bug
...
Fixed a bug that caused private and secret uploads not to accept the correct password when being deleted
2023-07-11 21:22:26 +03:00
Daniel Szabo
7fdc89a48d
Disabled ediiting for secrets
...
Realistically this privacy level should not allow modifying the data, but even if we did support that, the UX would be very annoying - it is better to make a new upload
2023-07-11 21:21:41 +03:00
Daniel Szabo
4a7360b90e
Replaced "pasta" on all user-facing places with "upload"
...
- We understand what a pasta is, but let's avoid the situation when you send a link to your mom that ends with microbin.eu/pasta/dog-bat-cat and they misunderstand it.
- Also replaced /pastalist with just /list
- Internally kept "pasta" instead of "upload" to confuse everyone adopting MicroBin after v2
2023-07-11 20:58:34 +03:00
Daniel Szabo
a46312bf62
Fix upload list on mobile devices
...
Fixed bug that caused the table on /pastalist to break on narrow screens
2023-07-11 20:33:21 +03:00
Daniel Szabo
571bfbff1f
Bump version for v2 release
2023-07-11 20:16:05 +03:00
Daniel Szabo
c7c54e35b4
Implemented uploader password
...
Minimal implementation of an auth mode that is read-only unless a password is provided. Enable MICROBIN_READONLY and set MICROBIN_UPLOADER_PASSWORD to try it out.
Fixes #106
2023-07-11 20:04:52 +03:00
Daniel Szabo
638f1bf510
Enabled HTML for footer text
...
Fixes #110
2023-07-11 19:16:47 +03:00
Daniel Szabo
8382457fc3
Merge branch 'master' of https://github.com/szabodanika/microbin
2023-07-11 17:36:37 +03:00
Daniel Szabo
917ce3c713
Update checking and telemetry improvements
...
- Implemented configuration telemetry
- Added option to disable version checking
- Updated URL for versioning and telemetry endpoint
- Added option to opt-in for a public MicroBin server list in the future
2023-07-11 17:36:33 +03:00
Dániel Szabó
6beb094d52
Update issue templates
2023-07-11 13:52:41 +03:00
Daniel Szabo
9e03864090
set openssl dependency as vendored
...
Fixes build github action error caused by dependency of a non-included openssl system binary in the action used to build MicroBin
2023-07-10 14:45:21 +03:00
Dániel Szabó
6e76cb750b
Install libss-dev for build action
2023-07-10 14:33:29 +03:00
Dániel Szabó
6505bdb262
Update website links
2023-07-10 14:25:19 +03:00
Daniel Szabo
590e3022e8
Bump version for v2 beta 4
2023-07-10 14:21:14 +03:00
Daniel Szabo
05126fee68
Improved password protection
...
- Implemented password protection for removals
- Added success message on password-protected upload creation and editing for clarity
- Made auth page focus password field when it's left empty
2023-07-10 14:19:11 +03:00
Daniel Szabo
4372158ed3
Polish Readme wording and ordering
2023-07-10 13:56:56 +03:00
Daniel Szabo
d06e3aca07
Update LICENSE
2023-07-10 13:56:42 +03:00
Daniel Szabo
6322d6cbb0
Added simple update checker
...
By parsing some json served by the MicroBin website, MicroBin can now check whether there is a newer version out there, and display the update information on the admin screen.
2023-07-09 14:00:29 +03:00
Daniel Szabo
f6c6908ea2
Update .env
2023-07-08 23:19:25 +03:00
Daniel Szabo
2e87b41d37
Added file upload progress reporting
...
The "Save" button will now show file upload progress as a percentage if submission is taking more than 1000 milliseconds
2023-07-08 22:53:21 +03:00
Daniel Szabo
a4ab03322c
update sqlite directory and gitignore
...
- Missed one place where the data directory changes in commit 668b460
- Updated gitignore to reflect new default data directory path
2023-07-08 22:42:02 +03:00
Daniel Szabo
668b4608ac
Added option to change data directory
...
Fixes #46
2023-07-08 22:26:26 +03:00
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