Commit Graph

186 Commits

Author SHA1 Message Date
Niko Abeler f380f94043 WIP editor 2022-11-29 20:36:50 +01:00
h4kor b5dca6fa53 Merge pull request 'WIP micropub' (#28) from micropub into main
Reviewed-on: #28
2022-11-19 15:35:30 +00:00
Niko Abeler 0934aaa121 use 'note' as slug for untitled posts 2022-11-19 16:08:48 +01:00
Niko Abeler 396b84c9bb title substitute if no title set 2022-11-19 16:02:41 +01:00
Niko Abeler ecc12333e1 show error in h value 2022-11-19 15:55:38 +01:00
Niko Abeler 33ca1fba6f set date 2022-11-19 15:54:26 +01:00
Niko Abeler abc11e112f don't reject multiple acces tokens 2022-11-19 14:08:16 +01:00
Niko Abeler 1039a905bc smaller fixes + allow entries without title/name 2022-11-19 13:43:10 +01:00
Niko Abeler 2246cae3f7 WIP micropub 2022-11-08 21:22:02 +01:00
Niko Abeler fbf14704e7 refactor handler 2022-11-08 20:10:50 +01:00
Niko Abeler f377ce032a move response structs out of function 2022-11-08 20:07:21 +01:00
Niko Abeler b65230db88 error rendering 2022-11-08 19:57:20 +01:00
Niko Abeler b83cd2f73c split auth handler in own file 2022-11-08 19:27:54 +01:00
Niko Abeler 9c6a9cd499 split webmention into html and http 2022-11-08 19:24:09 +01:00
Niko Abeler 25fbed4d44 SameSite + httpOnly CSRF cookie 2022-11-07 21:24:39 +01:00
h4kor 5c3b6351d8 Merge pull request 'IndieAuth' (#25) from auth into master
Reviewed-on: #25
2022-11-07 19:38:20 +00:00
Niko Abeler 23d07d56f7 show requested scope 2022-11-07 20:35:05 +01:00
Niko Abeler 0dc200e0b0 show requested scope 2022-11-07 20:24:21 +01:00
Niko Abeler 3495822ec3 fix iss 2022-11-07 20:05:20 +01:00
Niko Abeler f2999ba53e iss param 2022-11-07 20:00:18 +01:00
Niko Abeler fc4f5a1623 check age of auth code 2022-11-07 19:53:32 +01:00
Niko Abeler 703531834d use .well-known 2022-11-07 19:50:13 +01:00
Niko Abeler 37936a450f indieauth-metadata 2022-11-07 19:44:10 +01:00
Niko Abeler 9389cc0266 first successfull token issuing (tested with quill.p3k.io) 2022-11-06 19:57:44 +01:00
Niko Abeler ff563c6f05 WIP access token 2022-11-06 19:38:27 +01:00
Niko Abeler fa30d4fd8e test for same host 2022-11-06 16:50:31 +01:00
Niko Abeler 1d793c325b allow redirect_uris from same host and scheme 2022-11-06 16:40:26 +01:00
Niko Abeler 4d5af131c2 PKCE implementation 2022-11-06 16:27:35 +01:00
Niko Abeler ae387f3d7d redirect uri verification 2022-11-06 14:36:37 +01:00
Niko Abeler 3975f08441 WIP redirect_uri verification 2022-11-06 14:17:14 +01:00
Niko Abeler f3f72d8111 CSRF 2022-11-05 21:17:31 +01:00
Niko Abeler 269262b381 fix auth page action 2022-11-05 20:24:28 +01:00
Niko Abeler 2246cad5df WIP auth codes and profile 2022-11-05 20:12:23 +01:00
Niko Abeler da9111c186 include request data in password form 2022-11-04 21:53:14 +01:00
Niko Abeler 1072f48e9f WIP Login Page 2022-11-03 21:22:55 +01:00
Niko Abeler 2acca40afe verifying password 2022-11-03 20:30:05 +01:00
Niko Abeler 7165e4c30a setting user password 2022-11-03 20:25:53 +01:00
Niko Abeler 76ef9c1fe6 Refactoring tests (done) 2022-11-03 19:23:13 +01:00
Niko Abeler 4aef1ca2ee WIP more cleaning up tests 2022-11-02 22:12:58 +01:00
Niko Abeler c92ab958a6 WIP clean up tests. Moving checks into assertions functions 2022-11-02 22:02:49 +01:00
Niko Abeler 73def1b477 warning 2022-11-01 22:00:01 +01:00
Niko Abeler 5f3978eaac updated docs 2022-11-01 21:57:51 +01:00
Niko Abeler 8c1d7fd8c7 General rel=me support. Resolves #13 2022-11-01 21:35:47 +01:00
Niko Abeler 94918b5b62 favicon. #19 2022-11-01 21:14:03 +01:00
Niko Abeler 7667190a9c added some OpenGraph meta tags 2022-10-19 21:14:31 +02:00
Niko Abeler 5abd9f4b4b removed unused data 2022-10-19 20:59:43 +02:00
Niko Abeler 5fb96ee6fd description in rss items 2022-10-14 21:06:26 +02:00
Niko Abeler edf74aa330 resolved warnings 2022-10-13 21:03:16 +02:00
Niko Abeler a42da82516 remove ioutil 2022-10-13 21:00:28 +02:00
Niko Abeler 0a3af85b02 nicer file names for posts 2022-10-13 20:58:16 +02:00