Commit graph

173 commits

Author SHA1 Message Date
Daniel Szabo
5e2513eb1f Fix empty pasta content showing code field
content has to be "No Text Content" to hide the code field on the pasta view
2022-11-07 00:27:25 +02:00
Daniel Szabo
7522d41919 Fix #88
Apparently if a multipart field contains multiple dashes, it will be read in multiple chunks and these chunks should be concatenated in order to read the entire field correctly.
2022-11-06 23:47:56 +02:00
Daniel Szabo
c6e5c6f018 Merge branch 'master' into szabodanika 2022-11-06 23:21:45 +02:00
Dániel Szabó
6a0c6b736d
Merge pull request #86 from henry40408/feature/issue-54
hashids
2022-11-06 22:58:46 +02:00
Daniel Szabo
2198cbdff9 Getting ready for 1.2 & new site release
- improved support for serving static resources from the binary, now supporting images
- added new logo
- changed save button
- fixed footer attribution text, it is not true anymore that MicroBin is made by myself
- replaced footer GitHub link with microbin.eu link
2022-11-01 20:56:07 +02:00
Heng-Yi Wu
b5da40fbdc
feat: hashids 2022-11-01 21:19:54 +08:00
Daniel Szabo
44b55ae08e Getting ready for 1.2.0 release: many smaller requests implemented
- Implements #7
- Implements #42 and therefore #64
- Improved #53
- Implements #59
- Implements #61
- Implements #63
- Implements #80
- Implements #84
- Added Info page
- Removed Help page
- Bumped version number to 1.2.0
- Fixed a bug where wide mode was still 720px wide
- Created FUNDING.yml
- Reorganised arguments in README.MD and documented new options
- Updated SECURITY.MD
- Added display of last read time and read count
- Increased default width to 800px to make UI less cluttered
- Reorganised index page
- New, better attach file button

I want to spend some time testing these changes and let everyone have a look at them before tagging and releasing new artifacts.
2022-10-29 14:11:55 +03:00
Daniel Szabo
769901c895 Added copy button for URL redirects
Fixes #80
2022-10-27 17:23:39 +03:00
Dániel Szabó
d2e7234d96 small ui improvements
- fix width for pure html mode
- improve copy button look and placement
- make input field heights more consistent on pasta creation page
2022-10-27 14:12:11 +03:00
Daniel Szabo
e258bcc2bd
added missing bracket in args.rs 2022-10-25 12:51:59 +03:00
Dániel Szabó
dc2c7094a8
Merge pull request #78 from HeapUnderfl0w/public-path
Public Url for Paths
2022-10-25 12:24:33 +03:00
HeapUnderflow
43061699f5
Merge branch 'master' into public-path 2022-10-24 12:57:21 +02:00
HeapUnderflow
4980d72df2
Add example to README.MD 2022-10-24 12:55:09 +02:00
Dániel Szabó
2e981b3128
Merge pull request #68 from hay-kot/chores/gitignore
Add gitignore
2022-10-22 21:46:37 +03:00
Dániel Szabó
3e58ba325a
Merge pull request #70 from hay-kot/feat/implement-copy-button
feat: add copy button to viewer
2022-10-22 21:42:51 +03:00
Hayden
b1ccb43855 remove hash 2022-10-22 10:37:43 -08:00
Hayden
fd8a66bcbc use proper semantics for a tag as button 2022-10-22 10:34:39 -08:00
Hayden
e031ea0e95 use a tag instead of button 2022-10-22 10:30:16 -08:00
Dániel Szabó
ec4d764f5a
Merge pull request #71 from hay-kot/feat/add-site-favicon
feat: add site favicon
2022-10-22 21:15:06 +03:00
Hayden
e8e21d561e remove icon and change styles 2022-10-22 10:12:15 -08:00
Hayden
487de0fcf7 use gray favicon 2022-10-22 10:02:52 -08:00
Hayden
7f4f784f2b add pasta_data 2022-10-22 09:55:11 -08:00
Dániel Szabó
52d87652ea
Merge pull request #69 from hay-kot/docker/expose-port
Expose port 8080 in dockerfile
2022-10-22 20:49:44 +03:00
Dániel Szabó
bc26fe87a5
Merge pull request #72 from hay-kot/feat/disable-file-attachment
feat: disable file attachment
2022-10-22 20:39:30 +03:00
Dániel Szabó
4926c578ec
Merge pull request #73 from stavros-k/patch-1
Fix --footer-text reference
2022-10-22 19:39:28 +03:00
HeapUnderflow
cfd494f80d
Do not append a second slash when no public path is set 2022-10-12 17:42:42 +02:00
HeapUnderflow
a404f9a997
Allow setting a public url for all paths 2022-10-12 17:13:21 +02:00
Stavros Kois
e786fa5a22
Fix --footer-text reference 2022-10-03 00:36:29 +03:00
Hayden
c39b778234 properly escape content 2022-10-01 20:50:05 -08:00
Hayden
0b5dea5dd1 add flag to docs 2022-09-30 22:12:24 -08:00
Hayden
82c30ce6cd conditionally render file upload 2022-09-30 22:11:25 -08:00
Hayden
fc3998243b ignore file processing if no_file_upload is true 2022-09-30 22:11:03 -08:00
Hayden
e17b26994f add cli args to disable file upload 2022-09-30 22:10:43 -08:00
Hayden
ef5d07392b add in template and as static resource 2022-09-30 21:52:08 -08:00
Hayden
cc504f781e add favicon resource 2022-09-30 21:51:52 -08:00
Hayden
1e8b17bb89 add copy button to viewer 2022-09-30 21:37:26 -08:00
Hayden
8223dd4973 export port 8080 in dockerfile 2022-09-30 21:11:16 -08:00
Hayden
6cea6262b8 init git ignore 2022-09-30 21:08:02 -08:00
Dániel Szabó
3ca89291dc
Merge pull request #57 from frdmn/patch-1
Fix Docker repository link in README to allow non-authenticated Docker Hub users.
2022-09-27 21:23:24 +03:00
Jonas Friedmann
2322c6713e
Fix Docker repository link 2022-09-27 20:09:44 +02:00
Dániel Szabó
05ad1d46c1
Update README.MD
Updated docker volume path according to 08871e1. Fixes #55
2022-09-27 16:19:41 +00:00
Dániel Szabó
d36472bcac
Update README.MD 2022-09-26 12:10:01 +00:00
Dániel Szabó
ff28faa222
Update README.MD 2022-09-26 11:53:54 +00:00
Dániel Szabó
60aac1aea7
Merge pull request #49 from arghyadipchak/master
Automated docker build for DockerHub + updated cargo.toml
2022-09-26 10:48:40 +03:00
Dániel Szabó
afa3c516ee
Merge branch 'master' into master 2022-09-26 10:35:38 +03:00
Dániel Szabó
7cd136cd7b
Merge pull request #50 from techiall/fix/dockerfile
Replace base docker image with Bitnami Minideb to fix #50 and #39
2022-09-16 19:37:57 +03:00
techial
a593ea0160
Update runing image 2022-08-28 16:27:38 +08:00
techial
5ae641fda0 Update Dockerfile 2022-08-26 22:25:59 +08:00
Arghyadip Chakraborty
08871e15b6 Automated docker build 2022-08-25 22:25:03 +05:30
Dániel Szabó
f55a5eba96
Merge pull request #43 from FoxFromDarkness66/patch-3
Update AUR installation method
2022-08-06 22:55:15 +01:00