Commit Graph

29 Commits (f9a5fc14e52eac1c64ac94aa8a3df1a9c570db23)

Author SHA1 Message Date
Jef Roosens f9a5fc14e5
feat: add some more tests; some optimisations 2022-11-29 20:59:28 +01:00
Jef Roosens e1e3d7cb46
fix: ignore remove function in tests for now 2022-11-29 17:37:22 +01:00
Jef Roosens ccbc55350c
test: added test framework for testing trie 2022-11-29 16:25:24 +01:00
Jef Roosens 2d7cce138d
chore: ran formatter; added TRIE description file 2022-11-29 15:17:43 +01:00
Jef Roosens 1e5442379f
feat: remove edge case checking for empty key 2022-11-29 15:10:12 +01:00
Jef Roosens 88ea0db2ee
feat: allow skips up to 8 characters long 2022-11-29 15:08:07 +01:00
Jef Roosens 4bcdd5c4d9
refactor: rename TernaryTrie to Trie
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-29 11:27:28 +01:00
Jef Roosens cc8cfaeace
refactor: don't compile trie as separate library
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-27 20:20:09 +01:00
Jef Roosens 55474b485f
feat: add very simple index page linking to my site
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-27 19:49:38 +01:00
Jef Roosens 22a7b5b3fc
feat: added secure random URL option
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 21:02:33 +01:00
Jef Roosens b66c0f0e00
feat: allow adding paste with predefined key
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 20:15:49 +01:00
Jef Roosens 91bba2e9ff
fix: free key when adding paste
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 19:48:01 +01:00
Jef Roosens 425695596b
fix: assume server runs in working directory
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 16:48:34 +01:00
Jef Roosens 97ed770166
feat: serve paste entries
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 16:28:27 +01:00
Jef Roosens 7f42d540b5
feat: add route for adding pastes 2022-11-21 16:22:52 +01:00
Jef Roosens a22a2e5cfa
feat: create pastes directory; separate routes 2022-11-21 15:45:31 +01:00
Jef Roosens f1ec643f80
feat: pave way for pastebin integration 2022-11-21 15:28:02 +01:00
Jef Roosens 689a878978
chore: added some comments 2022-11-21 14:46:53 +01:00
Jef Roosens 494946d24a
feat: use more std::string
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 14:19:56 +01:00
Jef Roosens 26318de22e
feat: return full URL of added entry
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 12:21:01 +01:00
Jef Roosens 51fc2867a8
feat: added randomly generated URLs
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-21 12:03:16 +01:00
Jef Roosens 94f7400169
Added a readme
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-11-16 13:05:09 +01:00
Jef Roosens 9c3af74e1b
Add very simple add-only persistence model
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-15 22:49:36 +01:00
Jef Roosens 919976073f
Started dockerfile
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-11-15 21:30:10 +01:00
Jef Roosens a2fcbb4224
Basic working version without persistent storage 2022-11-15 21:12:08 +01:00
Jef Roosens cae62ce7d2
Proof-of-concept 2022-11-15 17:25:04 +01:00
Jef Roosens 614ae1c711
I will murder cmake 2022-11-15 17:05:14 +01:00
Jef Roosens 0b97f124c5
added ternary trie implementation 2022-11-15 16:21:27 +01:00
Jef Roosens d7f95f0fbf
Configured start of project 2022-11-15 16:05:47 +01:00