Commit Graph

72 Commits (ce0abcdc251332ebadeb736b0350c19cde60af3b)

Author SHA1 Message Date
Jef Roosens 94da7584aa
refactor(lander): fully integrate new lnm framework router
ci/woodpecker/push/build Pipeline was successful Details
2024-03-03 09:46:20 +01:00
Jef Roosens cc9dc6aec5
chore: properly compile picohttpparser in lnm; remove old http header
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
files
2023-12-07 11:02:20 +01:00
Jef Roosens 8ae59f1031
feat(lander): full initial migration to lnm
ci/woodpecker/push/build Pipeline was successful Details
2023-12-05 19:36:54 +01:00
Jef Roosens f3da5c78ef
feat(lander): implement redirect posting using lnm 2023-12-05 19:12:19 +01:00
Jef Roosens 8ec667af3b
feat(lander): initial lnm integration test
ci/woodpecker/push/build Pipeline was successful Details
2023-12-02 20:22:05 +01:00
Jef Roosens 1587b923c1
refactor(http): pass Server & Content-Length as proper headers
ci/woodpecker/push/build Pipeline was successful Details
2023-11-20 22:41:49 +01:00
Jef Roosens 380605ea08
feat(http): allow arbitrary number of response headers
ci/woodpecker/push/build Pipeline was successful Details
2023-11-20 22:25:58 +01:00
Jef Roosens 6af3e6ad6d
chore: integrate cppcheck into workflow 2023-11-14 10:49:12 +01:00
Jef Roosens b053aa6c93
feat(lander): serve content-disposition header 2023-11-12 16:35:55 +01:00
Jef Roosens 6a5b23afaa
feat(lander): store filename if provided 2023-11-12 16:13:54 +01:00
Jef Roosens 64af94ce7a
refactor(lander): clean up code a bit 2023-11-12 14:55:40 +01:00
Jef Roosens c026e13c44
feat(lander): server content-type header for file entries 2023-11-12 14:29:46 +01:00
Jef Roosens 70f622d9f3
feat(lander): support sendind extra attributes as custom headers 2023-11-12 14:12:13 +01:00
Jef Roosens 7fac278ead
feat(lander): introduce file entry type 2023-11-12 13:57:11 +01:00
Jef Roosens 3d48ee8019
feat(lander): support DELETE requests 2023-11-12 13:43:21 +01:00
Jef Roosens 9b223d04a0
feat(lsm): sync database when closing handle 2023-11-09 22:40:06 +01:00
Jef Roosens 715e1f9a58
refactor(lsm): clean up disk write code 2023-11-09 21:07:51 +01:00
Jef Roosens 35c301955f
refactor(lsm): switch to uint8_t attr types; refactor disk code 2023-11-08 13:42:46 +01:00
Jef Roosens b5fc3a3612
refactor(lsm): decouple attribute types 2023-11-08 12:25:47 +01:00
Jef Roosens 535b92a6b6
feat(lander): integrate persistent insert & get lsm store 2023-11-08 11:19:33 +01:00
Jef Roosens eb9157281b
chore(http): rename step to http_step 2023-11-03 15:02:03 +01:00
Jef Roosens 72fae76ef6
fix(http): don't segfault on non-routed requests 2023-11-03 14:41:55 +01:00
Jef Roosens 711eaa2bde
feat(lander): initial integration of lsm 2023-11-03 14:10:14 +01:00
Jef Roosens fbf6557c05
feat(http): add step for parsing content-length header 2023-11-03 13:22:25 +01:00
Jef Roosens afd18d3a37
feat(http): add custom processing to responses using response steps 2023-11-02 10:27:34 +01:00
Jef Roosens 6d74c8c550
feat(http): fully decouple HTTP loop functionality 2023-10-30 21:14:06 +01:00
Jef Roosens fb4a9a3b2e
refactor: decouple trie into static library 2023-07-28 18:48:44 +02:00
Jef Roosens 7f2a45c37a
feat: env vars for configuring data dir & tcp port
ci/woodpecker/push/docker Pipeline was successful Details
2023-07-27 14:09:56 +02:00
Jef Roosens 12362fe7ac
fix: mime type names are now indexed correctly
ci/woodpecker/push/docker Pipeline was successful Details
2023-07-21 12:28:00 +02:00
Jef Roosens a6b407ebaf
fix: accept more headers and bigger requests for browsers
ci/woodpecker/push/docker Pipeline was successful Details
2023-07-21 12:20:27 +02:00
Jef Roosens 62c42331d4
docs: document event & http loop 2023-05-31 16:49:15 +02:00
Jef Roosens 323fa65921
feat: configure api key using env var 2023-05-31 13:29:13 +02:00
Jef Roosens 3b1df332a3
feat: allow setting log level 2023-05-31 13:12:22 +02:00
Jef Roosens bbfea5876e
feat: abstract http body 2023-05-31 11:46:34 +02:00
Jef Roosens 58e2d8a02e
feat: add long & custom redirect urls 2023-05-30 19:36:58 +02:00
Jef Roosens f07042e798
refactor: modularize the http header files 2023-05-30 16:00:08 +02:00
Jef Roosens 89fb77db7f
feat: add mime types 2023-05-30 15:18:39 +02:00
Jef Roosens 87312f2d84
feat: PoC uploading of pastes 2023-05-30 10:17:46 +02:00
Jef Roosens dfbd179c7a
feat: paved the way for uploading pastes 2023-05-30 09:37:40 +02:00
Jef Roosens 1e42dc04dc
feat: add auth step 2023-05-29 23:37:23 +02:00
Jef Roosens 16103f9b24
feat: add step to receive request body in buffer 2023-05-29 23:26:15 +02:00
Jef Roosens ff0795bb55
feat: separate lander code into separate module 2023-05-29 21:52:18 +02:00
Jef Roosens 00fa4a7c8c
feat: first working redirect 2023-05-29 18:53:52 +02:00
Jef Roosens 7913201f89
chore: fix repo compilation after rebase with main 2023-05-29 18:40:36 +02:00
Jef Roosens acbe8dc314
fix: wrong header name 2023-05-29 18:28:46 +02:00
Jef Roosens 095f86ad72
feat: support serving files 2023-05-29 18:28:46 +02:00
Jef Roosens 464753d627
feat: allow matching regex routes 2023-05-29 18:28:46 +02:00
Jef Roosens dd0ba31506
feat: support adding up to 4 headers 2023-05-29 18:28:46 +02:00
Jef Roosens 18d67fb69f
feat: routes now specify a method 2023-05-29 18:28:46 +02:00
Jef Roosens 9b66223a57
refactor: move some stuff, add some docs 2023-05-29 18:28:45 +02:00