Commit graph

134 commits

Author SHA1 Message Date
Daniel Szabo
66f6e0e46f Update docker.yml
Fix out of memory error on GH Actions build and automate GitHub Release with artifacts ( #47). See https://github.com/docker/build-push-action/issues/654#issuecomment-1285190151 and https://github.com/docker/build-push-action/issues/621
2022-11-08 00:23:17 +02:00
Dániel Szabó
4362d934e3
Merge pull request #85 from szabodanika/szabodanika
Merge personal branch to master
2022-11-07 20:34:14 +02:00
Daniel Szabo
d7f0f9637d Update build date - v1.2.0 is ready 2022-11-07 20:33:33 +02:00
Daniel Szabo
edd46eae58 Improved /pasta and /pastalist UX
- adjusted table column widths so buttons dont wrap into next row
- added Open button to url pastas so clicking on their keys redirect to their /pasta view, consistent with the rest of the pastas
- added copy redirect button to /pasta view of url pastas to make it easier to get the /url endpoint url
2022-11-07 20:30:33 +02:00
Daniel Szabo
c6e2b026e6 Improved QR code view
- added backlink to pasta page
- added link on QR SVG to its destination
- 404 if incorrect id
- QR code of URL pasta will now redirect to /url endpoint
2022-11-07 20:28:45 +02:00
Daniel Szabo
5854572e87 Reduced QR code size to fit phone screens 2022-11-07 20:26:44 +02:00
Daniel Szabo
5e1fcff979 Fixed a bug that caused url pastas to become plain text pastas 2022-11-07 20:25:42 +02:00
Daniel Szabo
ca1cd91635 Removed logo from README.MD
Because GitHub does not render HTML in Markdown files (correctly anyway)
2022-11-07 17:59:47 +02:00
Daniel Szabo
dac9ae8385 Moved FUNDING.yml out of workflows folder 2022-11-07 17:58:03 +02:00
Daniel Szabo
719691dfac Update README.MD
- Moved documentation to website
- Updated screenshots
- Added logo
- Reorganised feature list
- Added licence at the bottom
- Moved screenshot to .git folder
2022-11-07 17:57:50 +02:00
Daniel Szabo
b9a6717ba0 Add drag-and-drop to new file attachment button 2022-11-07 00:30:17 +02:00
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