Commit graph

186 commits

Author SHA1 Message Date
1f69a77a03 update Cargo.lock 2023-03-10 08:23:56 +01:00
f3ca7e3328 bump version to 2.0.1 2023-03-10 08:22:16 +01:00
42aceb2a01 Fix error codes, handle bad requests for creation
Fix that invalid UTF-8 or continuing the read mid-character crashes
server thread.
2023-03-10 08:18:11 +01:00
1652a850b8 add nix flake installation guide 2023-03-09 20:44:38 +01:00
181ebb3a63 Fix XSS attack (again)
Now escaping only for slashes, since HTML is apparently case insensitive and using a script closing tag that wasn't entirely lowercase bypassed the earlier fix.
2023-03-09 20:05:57 +01:00
c83a775ac2 add direnv directory to gitignore 2023-03-09 20:05:23 +01:00
e3a5527a8c README: reorganize TODOs to roadmap 2023-03-06 12:12:47 +01:00
5d0f73a5f3 flake.lock: Update
Flake lock file updates:

• Updated input 'naersk/nixpkgs':
    'github:NixOS/nixpkgs/8c66bd1b68f4708c90dcc97c6f7052a5a7b33257' (2023-02-16)
  → 'github:NixOS/nixpkgs/f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb' (2023-03-03)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8c66bd1b68f4708c90dcc97c6f7052a5a7b33257' (2023-02-16)
  → 'github:NixOS/nixpkgs/f5ffd5787786dde3a8bf648c7a1b5f78c4e01abb' (2023-03-03)
2023-03-05 19:35:07 +01:00
c5b0a8ef79 docker! 2023-03-05 17:02:18 +01:00
75755052c3 removed keyword 2023-03-05 16:10:19 +01:00
01eb19e732 removed unnecessary import 2023-03-05 16:08:26 +01:00
91568a1590 updated readme 2023-03-05 16:07:08 +01:00
8039fe75a2 fixed gitignore result ignore 2023-03-05 15:44:28 +01:00
86e41865bb ignored result 2023-03-05 15:43:49 +01:00
b313b5ce73 updated readme 2023-03-05 15:37:48 +01:00
f1de42e5c0 updated readme a bit 2023-03-05 15:23:11 +01:00
e4575d7d6e rebrand + added dockerfile agian 2023-03-05 15:21:12 +01:00
d1c583d4b0 ideas 2023-03-04 01:10:16 +01:00
8623bcb9ae fixed some links 2023-03-04 01:02:17 +01:00
353cb5dfde removed attempt at rewriting in other template system, it's not that important for now 2023-03-04 00:28:57 +01:00
1f2589976d templating rewrite start 2023-03-03 23:52:16 +01:00
3f2bdfdaed added markup crate 2023-02-27 09:55:16 +01:00
27fe305640 added that if you click the logo you get to / 2023-02-27 00:55:27 +01:00
1ebbe5d922 added embedded images at pasta view 2023-02-27 00:47:40 +01:00
51751e3ee2 added customizability for /pasta/, /url/ and /raw/ endpoints 2023-02-27 00:18:00 +01:00
f352129c78 removed light mode 2023-02-22 21:45:39 +01:00
8db35b80d9 Update README.md with a new idea! 2023-02-19 00:13:20 +00:00
56332c61f3 small changes to info thing 2023-02-19 00:46:26 +01:00
fa31a0a51a more todos! 2023-02-18 00:53:37 +01:00
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