Commit graph

78 commits

Author SHA1 Message Date
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
nekobit
ecb4162ae4 Database config, function arguments
FossilOrigin-Name: cb4cda127244dddb0df8b4979dcbffe93c40b17b7d5ee80e7bf2523f96a03805
2022-10-02 23:20:02 +00:00
nekobit
de3d9a16e0 Update example
FossilOrigin-Name: cf0699dcc95350ce94702c9f6dd86351ccdeee249bb689048604054af6baa5b0
2022-10-02 06:44:11 +00:00
nekobit
1d9239c22b Load config
FossilOrigin-Name: 5162f142788d8c0e0e4ae8af4d3d09c0a964c77502ca7fb1e69c87c183af731f
2022-10-02 06:38:42 +00:00
nekobit
455261a8dc Config singleton
FossilOrigin-Name: 49a2dd0e8e60f2fda887dd815ef38ad140c22ccffbd85338553aa17b033c882c
2022-10-02 05:10:13 +00:00
nekobit
fabd54e26d More options to CMake, Debug/Release connotation
FossilOrigin-Name: d522f2ca07348fd706ca32d175137b20cd8d244705ec57ae6d8c56e3402d1631
2022-10-02 02:36:22 +00:00
nekobit
5b93813094 Strip slashes and fix request check
FossilOrigin-Name: 8323e57ec5ebfc8c0e9f16b7977deb9d51d5607158791c5426bd2c27ae95c52c
2022-10-02 01:59:52 +00:00
nekobit
1c8f6fdd6f Handle failed response
FossilOrigin-Name: 44615c07adcfcd2c37d7db81574f1647085abdf9cfa4b5a525184b99f0d5c9a4
2022-10-02 01:48:14 +00:00
nekobit
8520a03092 Fix logger
FossilOrigin-Name: 499b09c29a9db49e92dd33e0e6cad317f7fefe704ca66c3492fa629622cced61
2022-10-02 00:57:48 +00:00
nekobit
8bc17c9346 Setup global logger
FossilOrigin-Name: 1e2199932bf6044bd7a41cf1d61e2ad2146352d3b714e30da2fe5c46d855fc44
2022-10-02 00:34:51 +00:00
nekobit
d11810f245 Fix parameter reading
FossilOrigin-Name: 28efa596d5281d30b1d211713cdef948fd9f59c5378e1061c04e29a3eef7a24c
2022-10-01 20:54:51 +00:00
nekobit
5f8d1cc3f4 Don't do comparison check. This breaks if the user literally enters :
FossilOrigin-Name: 2b4c8ea15f59d329c85e9803b5ed691a25d4544ecdce0a4d54580365b793f4dd
2022-10-01 04:27:52 +00:00
nekobit
ccd128b839 Read response and send to server
FossilOrigin-Name: eeefe6514dd15f809ce446847147fbd16a194ae1cf732106735a0fcc4498af2c
2022-10-01 04:25:41 +00:00
nekobit
f6bf2d3204 HTTP Handle request
FossilOrigin-Name: 8d08a3204b710db163110b7fac8a1be638bdf44ba6350bac9c3987e7f7df057c
2022-09-30 18:50:42 +00:00
nekobit
23c6cce5a3 Request and response from HTTP
FossilOrigin-Name: d6717095c67fcfb2fcd120f16d392929ef8872c210fb55d2b393ae99c3d21177
2022-09-30 17:55:25 +00:00
nekobit
a68848cdba ?
FossilOrigin-Name: 88c390d6d5cc0560472bfa121e05ab1ba4ce4f0c6f02893901959c3728819ec2
2022-09-30 14:43:47 +00:00
nekobit
5a1cbe1240 match_get_args, operator== Request
FossilOrigin-Name: 61d87753835b7654523cad6800b552d65488fc78737d55928b673b5c1eb507a5
2022-09-30 14:40:54 +00:00
nekobit
948deab79f Remove useless constructor
FossilOrigin-Name: fa8172d48f13c9baf816268d446c4f8e946fadfc080948d61ea895eb61435a37
2022-09-30 03:14:13 +00:00
nekobit
ec5a2626b5 fds
FossilOrigin-Name: 7e912c4e038a7e839539080f6cd8d904f816e15994b59fc0d90ae66951a3ecfc
2022-09-30 03:13:52 +00:00
nekobit
a280af8ea5 Done
FossilOrigin-Name: 46307e86f7e537072d511001621ebfc920ad7d8f9786667c6dc93e5c386dd310
2022-09-29 17:54:22 +00:00
nekobit
83079f70fc Undo all tests
FossilOrigin-Name: d97d14b535776f69daec1de4c972298de03b69270c52bee4592b79d7faf8d25c
2022-09-29 17:00:54 +00:00
nekobit
f3b0b44eaa Undo all tests
FossilOrigin-Name: eebeead12342bedf491da48118688a3cd028d23237419617bd833a1a15555f0d
2022-09-29 16:58:22 +00:00
nekobit
94e68916d0 test
FossilOrigin-Name: 5f115ac2826730dca9313b219d35e4428d59d75d7ca9daffba2cc0b657407bd1
2022-09-29 16:57:47 +00:00