Commit Graph

346 Commits

Author SHA1 Message Date
Niko Abeler 29eea1d837 don't escape notes 2022-12-01 19:43:59 +01:00
Niko Abeler 48a11ab6d7 fix note rendering 2022-12-01 19:37:13 +01:00
Niko Abeler c67535c1d9 render notes fully 2022-12-01 19:32:49 +01:00
Niko Abeler 0db1c7a9ec Smaller note field 2022-12-01 19:20:13 +01:00
Niko Abeler 03f37c6d9e Create Note 2022-12-01 19:18:39 +01:00
Niko Abeler 18a593d2b1 allow definition of primary feed/list 2022-12-01 19:15:16 +01:00
Niko Abeler 58cd92a4b4 list definitions in user config 2022-12-01 19:10:08 +01:00
Niko Abeler 3fe828d31d tests for editor 2022-11-29 21:22:39 +01:00
Niko Abeler 521f7b16aa Refactoring Posts to allow multiple types 2022-11-29 20:58:34 +01:00
Niko Abeler e009505cb3 reject empty post_type 2022-11-29 20:47:33 +01:00
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