Commit graph

100 commits

Author SHA1 Message Date
nekobit
192261d374 Key info (testing)
FossilOrigin-Name: 0965627cdb0a20883909cfcc62c0b4b7a1dff9e3ddb8cf78f20748e2121840f1
2022-10-11 03:01:14 +00:00
nekobit
2ed52959f8 Fix Webfinger link resource
FossilOrigin-Name: 9ea701d53b503d124c996852004950187e609b79c6ac3ce7ed110d30d5936a48
2022-10-11 02:44:51 +00:00
nekobit
bf91f46985 Lazy host meta compliance
FossilOrigin-Name: c0dac7fc28989b9cdc1d3c07f61381560135f2d67c8caf6183f51e3bd617698b
2022-10-11 02:17:33 +00:00
nekobit
7b8a29b0c6 Don't duplicate https://
FossilOrigin-Name: b150cbc4ddb1fba391e729dfed4574afaeab71d02743ed1c46b8452b47a58b25
2022-10-11 02:01:38 +00:00
nekobit
97928081ed Fix request == check
FossilOrigin-Name: dba1d77709084619626c91bdd498e9d2c2b7da0e4b61194c1351f7bf0b53ee06
2022-10-11 01:47:59 +00:00
nekobit
8981ad724f Add space
FossilOrigin-Name: 7a1c6e8464ec5ffb9491e7d9b3fbf4cae3cccae58316c327229b3df2f8bf23b8
2022-10-11 01:32:12 +00:00
nekobit
06517ba0a2 URL logging
FossilOrigin-Name: 2e0af08207be9087bce0d16e13f97f909eb2e40dedec828e12e6909d6e356f44
2022-10-11 01:31:19 +00:00
nekobit
6b047d9160 More sample exposed api's
FossilOrigin-Name: fe08857971fcd1f3c48db6f7b464327c977134b938a600963328b04a6f624b83
2022-10-11 01:14:49 +00:00
nekobit
2a06ffa86c Split CMake components to libraries, import OpenSSL
FossilOrigin-Name: fc69966ec9877debf721b13592fe218090d57c92f967c4c0ec9f95f36aedfff5
2022-10-11 00:22:45 +00:00
nekobit
c7825a6fa3 REST: user -> users
FossilOrigin-Name: bf5c049cfe87b42ead299c237812aea75fb1a3b6106981ef0a3f05d276689814
2022-10-10 20:37:31 +00:00
nekobit
5e47a98f0e Fix order
FossilOrigin-Name: fe4a523c06fc771378f564d640bf9c40950cc43483ce25d2dba7c5554f41d081
2022-10-10 20:00:12 +00:00
nekobit
694195eb21 Fix request logic
FossilOrigin-Name: 4219e9ef91ba94f5e23fe56a253865e8c53fcf95de0e32e32e9d89e2365e41ae
2022-10-10 19:45:19 +00:00
nekobit
408b84f1aa Improve activitypup stuff
FossilOrigin-Name: 03b65097f4845d858c012caeb69abcfff344e1646f556b0763d7ebc831ffa0d5
2022-10-10 18:47:23 +00:00
nekobit
1d18f47baa ActivityPub route
FossilOrigin-Name: 9fb5599c35ce0e0c0bffb3bcd4c36e966bfff2e0f767686fbcd6bade38f45748
2022-10-10 18:14:02 +00:00
nekobit
e3a211a6e7 Fix request args
Logic _should_ be correct now, need to fix tests

FossilOrigin-Name: 5b9e408a73daa2cfa51a4402662c59cd5440ec3c284603043a2fc11cace89bca
2022-10-10 18:13:50 +00:00
nekobit
dee19b7f24 Fix webfinger compliance
FossilOrigin-Name: a4edb1df167850117e12d1749c5589bec6da14c5b5caac27a56950fe67338a6e
2022-10-10 04:42:54 +00:00
nekobit
d72d15b888 Work around yaml's greedy assignment
FossilOrigin-Name: 2efd8985a336d99de5381702ef0f94f1af272c25c04178006fbf67699c559769
2022-10-10 04:39:06 +00:00
nekobit
cd3d5cf2b2 Copy each node for traversal
FossilOrigin-Name: cabd0bffc2cba658d73277da657449b4423d164156d928499cbc45707e51fbec
2022-10-10 03:59:05 +00:00
nekobit
0ccdc61fc4 Update webfinger url's
FossilOrigin-Name: 51cf84ee100a30d1c13997003de8d63ffbc0c14c0f19279e3677d7f4ebeb75dc
2022-10-10 03:51:12 +00:00
nekobit
c914ff1f2d Check multiple host prefix formats, /user/{user}, @{user}
FossilOrigin-Name: 96effaf566d917d695bbaea799a594df9c932478803d5aa16b5f83ff51e83c48
2022-10-10 03:48:42 +00:00
nekobit
2ff4ce015f Instance with https helper
FossilOrigin-Name: 91d6b95d07e28d41208ba07e07dd8740022128313b210e53faca22af841f8ff7
2022-10-10 03:37:30 +00:00
nekobit
d0936aff15 Config instance
FossilOrigin-Name: 7cd7e303c9c6b2a7c58b6da17055d00ce26e8cf922c22d3fb818565e02dc1b9d
2022-10-10 03:37:19 +00:00
nekobit
f6105a06ce Get user if exists in webfinger
FossilOrigin-Name: 162b65228eb28d41e662e5eee605b5ebfc85f9f5a989349f48bc4430f221228f
2022-10-10 02:57:29 +00:00
nekobit
c527e18c85 Error handling and sqlite3_stmt cleanup
FossilOrigin-Name: 485452c07c34e0ba67a85afdcc404ed6819efc0ff1978d2d4d5c8381f196ee61
2022-10-09 19:27:08 +00:00
nekobit
ecf5241d6d Better naming
FossilOrigin-Name: 575ce0178019cef852dcdbec36d13dd307c95f52a974519abc20980d513ac997
2022-10-09 18:57:34 +00:00
nekobit
a2c5e343d0 JSON helpers
FossilOrigin-Name: 234c0b083e3993333b564795a008e660fccff1a4e6832f67d4480f7eba21367c
2022-10-09 18:53:37 +00:00
nekobit
6174968fc5 Bind correctly (everything is fine!)
FossilOrigin-Name: acbd5c8a2a8781b63182e71e8f5cb787eb3ca6735a5a8f9fe05c33cc41d8847d
2022-10-08 06:57:21 +00:00
nekobit
0ade3e421e Cleanup ugly function
FossilOrigin-Name: 5c0ec775ebba2b7c5926159a43ea037df373031e86b44acaee0c3606c0723c76
2022-10-08 05:58:22 +00:00
nekobit
620e246d42 Bind types
FossilOrigin-Name: 8881ec4fc258c93b327f367bf0a7da27460d6347b322b4b9ebd7c85e07a3c30a
2022-10-08 05:43:17 +00:00
nekobit
42d243674c Changes
FossilOrigin-Name: 2ead0fcb65cb38aac1e347f4aa142318dea39ad3b7a09afafcee6d6a974088df
2022-10-07 18:47:50 +00:00
nekobit
4d40aebe2f Setup SQLite cache index
FossilOrigin-Name: 50ad6c1df26eea21aad896587d998dce0b7a090a1b96df3a47aef642b3c5bcaf
2022-10-07 18:40:37 +00:00
nekobit
f52889537c Database SQLite cache
FossilOrigin-Name: 10fda8d5faef071bf20a2f361e96dc39463f92f7c4bd0e7c3fc35a3f4cf3ae74
2022-10-07 15:10:59 +00:00
nekobit
634b86fe1a Ugly webfinger show-off
FossilOrigin-Name: f1d46a480c7f0447faf0a5184f5b72e9e50270f591e51fd28e95bad03b8b8b45
2022-10-07 01:34:01 +00:00
nekobit
a45c13f4b5 Fix response constructors
FossilOrigin-Name: c77f391407ef1d875a3c5c1c6fe54291b5fc14b3109f192350f8f7760abbb1ba
2022-10-07 00:54:49 +00:00
nekobit
739a6c6e78 Insert get values
FossilOrigin-Name: 77ad58c567d4daf74172c85719903614b908aa176cddf20f2c24abf917c6e417
2022-10-07 00:34:57 +00:00
nekobit
5f77d0705c Response value
FossilOrigin-Name: 076a1107f3339a8894486d41208d911529615b66558f23326a53c5c23ff8ca1f
2022-10-06 22:56:19 +00:00
nekobit
b149674924 HTTP Constants
FossilOrigin-Name: 4a9bdf23934573a8af40c1b48bbfe942a99154cebb078e09f464c17f9cea249e
2022-10-06 21:10:28 +00:00
nekobit
e7bc31911d (ugly) get_user methods
FossilOrigin-Name: 84aabcad70b126674bc512a53c0954300745913e2a7d58955cdcc7aec58462d3
2022-10-05 17:53:39 +00:00
nekobit
b5b412437f Compile-time Module system
FossilOrigin-Name: 201dd545a95e0aeca03a6a6795485c7831b7815fcebf8a6e6ebe1a1c3a559e15
2022-10-05 12:53:44 +00:00
nekobit
157a1c1227 Build webfinger fake data
FossilOrigin-Name: 6891ce4a310c34f0527227a54c0fce0d1b5b85ebd282ad114579b6002843c776
2022-10-05 05:04:43 +00:00
nekobit
ace295b683 Fix webfinger response
FossilOrigin-Name: 23d6ff8d0f2ecbb1fc3b695d4471194180f62cb7bb6c5738935a87199f666156
2022-10-04 18:15:23 +00:00
nekobit
a26e6aae4e RapidJSON Import / webfinger init
FossilOrigin-Name: 73722d6d805a5aa9e23edd816061370e206067ef3aa7cf6bd4090a097e0f7f44
2022-10-04 17:35:24 +00:00
nekobit
d1aa37677b Improve doxygen style
FossilOrigin-Name: 553dda283e9dc1dc456f67aaa6477715816785cdeb48d5bb46e4cacd8deab669
2022-10-04 16:49:39 +00:00
nekobit
ff399f7423 Undo
FossilOrigin-Name: cf499c240a6ee97687a75871d606e0636b93ad07c6d94f7b0c0890db36df231b
2022-10-04 16:43:16 +00:00
nekobit
4d6dbacbc5 C++FS compat
FossilOrigin-Name: 417a466d2fd1e14e7b2efc8b1275286cafd46fbbb138387010dcf566f1cd9c81
2022-10-04 16:04:01 +00:00
nekobit
15000d2f86 Fix multiple slashes
FossilOrigin-Name: b30d5f0a62a6fded32d2946b44e5be2340c56254964f5a69493397e145110de6
2022-10-04 15:11:52 +00:00
nekobit
bbb40970ae Root page
FossilOrigin-Name: a1b7aaf303c3a0bfb092c2cc83baee95f313cd8f1052b33b1c4524b24667c3c5
2022-10-04 15:11:05 +00:00
nekobit
504c99f1cd instances table
FossilOrigin-Name: cfe9340af5d410d092ed3e85ae39b55cf9455f3611647f2637215d8921f7d540
2022-10-03 17:00:56 +00:00
nekobit
6762e27c80 SQLite migration
FossilOrigin-Name: 70676412a922280b2c445ada1839340176d0a15adb0313a0383e84d5db395231
2022-10-03 04:04:10 +00:00
nekobit
04f9710a6a Init database
FossilOrigin-Name: 5a38a1f8591b6f7387937cf36357b1bf10bc5f1e5d10a154c6d4bd87dc40b08e
2022-10-03 01:04:20 +00:00