Commit graph

168 commits

Author SHA1 Message Date
mooons
83f3209740 Escape backslash 2023-05-25 17:30:13 -07: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
Dániel Szabó
0dbe9498f8
add crates.io badge url 2023-03-26 23:09:40 +03:00
Daniel Szabo
c9c60aa546 increment version number and update homepage in Cargo.toml 2023-03-26 23:07:07 +03:00
Daniel Szabo
0eedf1c8e0 increment version number in Cargo.lock 2023-03-26 23:06:46 +03:00
Dániel Szabó
a2c8eacbf9
Merge pull request #115 from jchia/fix-edit
Follow-up to 7522d419
2023-03-26 22:34:37 +03:00
Dániel Szabó
b27ac0831f
Merge pull request #141 from DhruvaSambrani/master
Update header.html to fix extra space
2023-03-26 22:27:14 +03:00
Dániel Szabó
86f18f34d2
Merge pull request #128 from Tyfui90/defect/issue-127-default-expiry-option-never-unselected
default expiry of never selected in dropdown when passed as env var
2023-03-26 22:14:05 +03:00
Daniel Szabo
1c3493202f revert option grouping 2023-03-26 22:13:10 +03:00
Dániel Szabó
18e056106b
Merge pull request #146 from rissson/fix-create-no-expiration-data
Fix expiration on create if it's not specified and no_eternal_pasta is set
2023-03-26 22:01:51 +03:00
Dániel Szabó
ded125c89b
Merge pull request #143 from 7a6163/bugfix/xss
bugfix: stored XSS
2023-03-26 21:44:35 +03:00
Marc 'risson' Schmitt
d6f5c0ca52
create: refactor expiry conversion to timestamp
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2023-02-24 23:31:50 +01:00
Marc 'risson' Schmitt
2f0ee11cae
Fix expiration on create if it's not specified and no_eternal_pasta is set
If no_eternal_pasta is specified, when calling /upload with no
expiration, the expiration currently defaults at 0. This change
makes it default to the maximal expiry.

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
2023-02-24 23:07:29 +01:00
Zac
6907bb4f13 bugfix: stored XSS
bugfix: Copy Text is not working when the button Copy Url does not exist.
2023-02-21 09:52:00 +08:00
Dhruva Sambrani
d8d05637db
Update header.html 2023-02-06 13:25:57 +05:30
tyfui90
5773c36699 default expiry of never selected in dropdown when passed as env var 2022-12-05 16:33:33 -08:00
Joshua Chia
04035269f3 Follow-up to 7522d419
In addition to the case of creating, #88 also affects the case of editing. This commit fixes editing.
2022-11-18 11:32:35 +08: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