Brian Picciano
|
57b56934a9
|
Switch to using a config file
|
2023-07-09 16:09:00 +02:00 |
|
Brian Picciano
|
9c1bdc1e8a
|
Introduce origin config
|
2023-07-09 14:07:07 +02:00 |
|
Brian Picciano
|
82290d8b0b
|
Get rid of read_file_into, use streams to serve files from domain manager
|
2023-07-08 15:53:40 +02:00 |
|
Brian Picciano
|
8b75b141f4
|
Alias BoxByteStream, and test git get_file implementation
|
2023-07-08 15:22:44 +02:00 |
|
Brian Picciano
|
60b90746fc
|
Implement origin::Store::get_file, to deprecate read_file_into
|
2023-07-08 14:43:36 +02:00 |
|
Brian Picciano
|
5e264093ec
|
Get rid of origin::Origin trait completely, move read_file_into onto the origin::Store itself
|
2023-07-05 19:03:51 +02:00 |
|
Brian Picciano
|
773001b158
|
Changes suggested by clippy
|
2023-07-04 19:42:12 +02:00 |
|
Brian Picciano
|
6863694293
|
Pass descr around as a reference, generally
|
2023-07-04 19:33:03 +02:00 |
|
Brian Picciano
|
9c36ae1c7b
|
Test mux store... kinda
|
2023-07-03 14:30:41 +02:00 |
|
Brian Picciano
|
7a35befffe
|
Don't include Send/Sync in trait requirements
|
2023-07-03 13:39:44 +02:00 |
|
Brian Picciano
|
fa85fe7fd8
|
Fix more tests
|
2023-07-03 13:23:07 +02:00 |
|
Brian Picciano
|
bd96581c6a
|
Don't return Box from constructors
|
2023-06-29 16:54:55 +02:00 |
|
Brian Picciano
|
0b22801503
|
Basic, untested implementation of mux origin store
|
2023-06-29 16:15:15 +02:00 |
|
Brian Picciano
|
dd07bbf7ac
|
Fix tests in git store
|
2023-06-25 14:52:44 +02:00 |
|
Brian Picciano
|
51cb6aadce
|
use Box for origin::Store
|
2023-06-21 13:24:00 +02:00 |
|
Brian Picciano
|
52f87dc625
|
Get rid of origin::store::BoxedManager and domain::manager::BoxedManager
|
2023-06-18 13:12:26 +02:00 |
|
Brian Picciano
|
4317d7f282
|
Simplify git origin a bit
|
2023-06-17 16:04:26 +02:00 |
|
Brian Picciano
|
420f1ff42a
|
implement error::unexpected, use it everywhere
This is an improved form of the previous `error::Unexpected` type, now
with more capabilities and generally better naming.
|
2023-06-17 15:41:39 +02:00 |
|
Brian Picciano
|
0f42327a57
|
Implemented acme store, started on manager
|
2023-05-18 12:22:35 +02:00 |
|
Brian Picciano
|
1fdd023f50
|
Replace usage of boxed dyn errors with new error::Unexpected
|
2023-05-17 14:08:17 +02:00 |
|
Brian Picciano
|
cab7a837a7
|
Introduced separate 'Boxed' traits, to allow for mocks
|
2023-05-16 17:17:47 +02:00 |
|
Brian Picciano
|
d9676a4ce7
|
Issues from clippy
|
2023-05-16 16:20:01 +02:00 |
|
Brian Picciano
|
6d68b4e5ab
|
Implemented periodic origin syncing
|
2023-05-15 21:18:33 +02:00 |
|
Brian Picciano
|
9e724d3903
|
got manager being shared properly into render context
|
2023-05-12 16:43:28 +02:00 |
|
Brian Picciano
|
742523d0a0
|
make git origin store types private
|
2023-05-11 14:31:48 +02:00 |
|
Brian Picciano
|
386b02023c
|
implement most of main, including config and http server
|
2023-05-11 14:25:51 +02:00 |
|
Brian Picciano
|
796b90e91d
|
move git store to its own file
|
2023-05-11 11:54:25 +02:00 |
|
Brian Picciano
|
a0bdf610d9
|
small note in origin store
|
2023-05-11 11:53:27 +02:00 |
|
Brian Picciano
|
79ba735fd6
|
Use GATs to remove dynamic dispatch when using origin store
|
2023-05-11 11:47:38 +02:00 |
|
Brian Picciano
|
d1842943cd
|
Add locks around git store syncing and getting
|
2023-05-10 15:12:34 +02:00 |
|
Brian Picciano
|
f2a3c78a83
|
re-organize imports for clarity
|
2023-05-09 16:37:06 +02:00 |
|
Brian Picciano
|
be84742e94
|
make origin store errors be actual errors, and implement a mock
|
2023-05-09 13:40:49 +02:00 |
|
Brian Picciano
|
696c92a292
|
tried getting the origin store mock working, but couldn't
|
2023-05-08 18:34:39 +02:00 |
|
Brian Picciano
|
4460aae75a
|
keep refactoring git store to make this iterator work nice
|
2023-05-08 17:18:28 +02:00 |
|
Brian Picciano
|
53e253b362
|
refactor Store to return an Origin
|
2023-05-08 13:47:21 +02:00 |
|
Brian Picciano
|
563f072e09
|
implement domain config store
|
2023-05-07 18:07:31 +02:00 |
|
Brian Picciano
|
2d57353244
|
initial implementation of domain::Checker
|
2023-05-07 17:06:51 +02:00 |
|
Brian Picciano
|
71dcc94e29
|
refactor errors in store.rs
|
2023-05-07 14:33:22 +02:00 |
|
Brian Picciano
|
a7d5819a78
|
fixes from clippy
|
2023-05-07 13:22:55 +02:00 |
|
Brian Picciano
|
c921e8a479
|
rustfmt
|
2023-05-07 13:03:59 +02:00 |
|
Brian Picciano
|
599ad7f4dc
|
Implement all_descrs on the store
|
2023-05-06 15:38:43 +02:00 |
|
Brian Picciano
|
a4febdc40e
|
implement git store write_file
|
2023-05-04 18:13:44 +02:00 |
|
Brian Picciano
|
2663838af0
|
implement git store sync (maybe)
|
2023-05-04 14:56:31 +02:00 |
|
Brian Picciano
|
72df0f0b21
|
Implemented origin::Descr
|
2023-05-03 12:53:33 +02:00 |
|