Commit graph

157 commits

Author SHA1 Message Date
1069d4c676 added more todos 2023-02-18 00:40:58 +01:00
7bfebb27d9 updated readme and cargo stuff 2023-02-18 00:02:28 +01:00
7abb3c5d11 added support for use of a custom names file 2023-02-17 23:27:39 +01:00
7d5c70ddd6 Some documentation and cleanup of old, commented out code.
Signed-off-by: Jade <obsidianical@gmail.com>
2023-02-17 22:32:21 +01:00
528a7b6899 cleanup of various clippy lints, bad practices and simplificaiton of some code
Signed-off-by: Jade <obsidianical@gmail.com>
2023-02-17 22:14:43 +01:00
fa67edc8c5 Documented microbin args
Signed-off-by: Jade <obsidianical@gmail.com>
2023-02-17 22:14:08 +01:00
39881a036a readme updates 2023-02-17 19:25:29 +01:00
57fd472eda changes like
- xss vuln
- docker shit
+ nix shit
2023-02-17 11:28:09 +01:00
Daniel Szabo
84136f1106 Merge branch 'master' of https://github.com/szabodanika/microbin 2022-11-14 21:43:14 +02:00
Daniel Szabo
ba784da74e Merge branch 'pr/95' 2022-11-14 21:42:35 +02:00
Dániel Szabó
0a80ac1359
Merge pull request #101 from albocc/feature/Add_3_days_expiration_option
Added expiration option for 3 days
2022-11-14 21:30:34 +02:00
Dániel Szabó
6564499c98
Merge pull request #104 from alex3305/cleanup-readme
Clean up README
2022-11-14 21:28:21 +02:00
Dániel Szabó
4fa2cc2a53
Merge branch 'master' into cleanup-readme 2022-11-14 21:28:12 +02:00
Dániel Szabó
4279653ca9
Update README.MD 2022-11-14 21:24:08 +02:00
Alex van den Hoogen
53326b0435
Clean up README
* microbin.eu reference was not working
* Consistent MicroBin spelling
* Link to LICENSE
* Clean up whitespace
* Insert codeblocks
* Set heading 2 instead of heading 3 (as h1 was already used by the title, next in line would be h2)
* Set monospace for some references
2022-11-09 19:55:13 +01:00
figsoda
68f4081745 fix typos 2022-11-09 10:46:51 -05:00
figsoda
089bb95c4f cargo fmt 2022-11-09 10:45:53 -05:00
figsoda
5f05206891
Merge pull request #1 from kwiniarski97/patch-1
doc: fixed invalid link to main website in readme
2022-11-09 10:45:32 -05:00
albocc
4fcd4e9e19 Added expiration option for 3 days 2022-11-09 11:57:49 +01:00
Karol Winiarski
89f902f99f
doc: fixed invalid link to main website
Link to a resource outside the repo itself should be prepended with https.
2022-11-09 10:26:44 +01:00
figsoda
958466818b apply clippy suggestions 2022-11-08 16:30:16 -05:00
figsoda
f41c2eb66b rename README.MD to README.md 2022-11-08 16:22:42 -05:00
Daniel Szabo
76cfc906ef 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 11:46:11 +02:00
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