|
415450ccae
|
add TYPE_INSTANCED, BLOB is INSTANCED by FS_FILE
|
2021-06-06 23:50:27 +02:00 |
|
|
9df88d1ad5
|
fix clippy hints
|
2021-04-24 00:08:17 +02:00 |
|
|
7420fd45d8
|
add /api/files endpoint, refactor retrieve_file()
|
2021-04-23 23:28:58 +02:00 |
|
|
c2705d328d
|
get rid of uneccessary expects/unwraps in open_upend; logging
|
2021-04-19 00:34:01 +02:00 |
|
|
c422f89d18
|
add mime type to filesystem update step
|
2021-03-22 23:07:39 +01:00 |
|
Tomáš Mládek
|
b773dbc49c
|
TYPE_ID attr, type of TYPE
(todo: clean up, deduplicate code...)
|
2021-03-19 00:03:34 +01:00 |
|
Tomáš Mládek
|
0f006ea32c
|
fix invariant calculation/insertion
|
2021-03-18 22:42:03 +01:00 |
|
Tomáš Mládek
|
e38bab5957
|
remove ensure_invariant now that it's unnecessary
|
2021-03-15 22:37:09 +01:00 |
|
Tomáš Mládek
|
2ffbd4934b
|
refer to types via address, not identifier
also rework invariant entries, add addressable trait
|
2021-03-15 22:32:04 +01:00 |
|
Tomáš Mládek
|
ce36c97f2a
|
add basic types
|
2021-03-14 22:16:28 +01:00 |
|
Tomáš Mládek
|
21e7ee7538
|
finish renaming target/key/value to entity/attribute/value
|
2021-03-14 10:44:13 +01:00 |
|
Tomáš Mládek
|
05d0fa7a87
|
ignore UniqueViolation errors in inserts
|
2021-03-06 18:23:31 +01:00 |
|
Tomáš Mládek
|
8751e57433
|
add latest_files endpoint
|
2021-02-21 19:51:23 +01:00 |
|
Tomáš Mládek
|
dc05b05873
|
fix object deletion, identity attr insertion
|
2021-02-21 17:36:41 +01:00 |
|
Tomáš Mládek
|
e462801823
|
fix entry addresses for /api/obj
|
2021-02-21 17:08:33 +01:00 |
|
Tomáš Mládek
|
5096e1eece
|
refactoring: remove query_entries(), from_sexp into TryFrom, query_to_sqlite is a method
|
2021-02-20 12:39:19 +01:00 |
|
Tomáš Mládek
|
001fad3145
|
remove "unsafe unwraps"
|
2021-02-20 12:39:18 +01:00 |
|
Tomáš Mládek
|
f5dd4141b1
|
adjacent tagging for EntryValue
|
2021-02-20 12:10:03 +01:00 |
|
Tomáš Mládek
|
3fb436708b
|
attempt (?) to return hash from insert_entry, improve error logging
|
2021-02-19 22:18:31 +01:00 |
|
Tomáš Mládek
|
3ad31a482d
|
add an "insert entry" (PUT) endpoint
|
2021-02-19 21:58:35 +01:00 |
|
Tomáš Mládek
|
dc71bec67a
|
implement Serialize/Deserialize for Entry, Address, remove as_json
+ cosmetics (to_str -> to_string)
|
2021-02-19 21:56:25 +01:00 |
|
Tomáš Mládek
|
99f6c6c052
|
remove InnerEntry, consolidate into Entry
|
2021-02-19 20:27:30 +01:00 |
|
Tomáš Mládek
|
db5235bbd5
|
run cargo update , fix incorrect imports
|
2021-02-18 19:20:52 +01:00 |
|
Tomáš Mládek
|
22dd315c47
|
cargo clippy fixes
|
2021-02-17 21:45:20 +01:00 |
|
Tomáš Mládek
|
1bbcc00d65
|
add "contains" symbol
|
2021-02-17 21:40:51 +01:00 |
|
Tomáš Mládek
|
ac02450b8b
|
fix "OR TRUE" variant; remove Option<> from query_to_sqlite()
|
2021-02-12 11:56:29 +01:00 |
|
Tomáš Mládek
|
98a9c88173
|
add upend query lang -> sqlite conversion; first working prototype
|
2021-02-12 02:06:39 +01:00 |
|
Tomáš Mládek
|
f950e02113
|
add s-exp query language parsing
also rename t/k/v to e/a/v, misc. fixes
|
2021-02-07 20:18:55 +01:00 |
|
|
2307c7bd57
|
expand query_entries for fuzzier queries; fix filename lookup
|
2020-09-29 00:30:00 +02:00 |
|
|
9a5a7383a4
|
add bulk_retrieve_objects, add base inspect view, upgrade typescript, add swrv...
fix type issues, better http errors on mangled addresses
|
2020-09-25 02:45:17 +02:00 |
|
|
80541fe978
|
non-duplicate updates (without updating virtual fs structure yet)
|
2020-09-22 00:41:59 +02:00 |
|
|
63ffe42907
|
lock update pool behind r/w lock; increase timeout to 30s
to-do - integrate r/w lock into pool directly?
|
2020-09-20 20:14:05 +02:00 |
|
|
00e0dc288c
|
remove DbExecutor, store plain pool in state; refactor into functions
also put loggersink in util.rs
|
2020-09-15 19:26:47 +02:00 |
|
|
36e3c4a145
|
move LoggerSink to util.rs
|
2020-09-14 21:18:53 +02:00 |
|
|
01a737285c
|
clippy fixes
|
2020-09-14 01:16:01 +02:00 |
|
|
ff457faca3
|
hierarchy listing endpoint, fix trailing slash upath parsing
|
2020-09-13 20:10:18 +02:00 |
|
|
d505653866
|
reorganize code in database.rs
|
2020-09-13 16:30:01 +02:00 |
|
|
267bca92bf
|
/raw/ endpoint does not take plain hash but an encode, add Entry.as_json()
|
2020-09-13 14:28:58 +02:00 |
|
|
b245b50e15
|
fix retrieveobject
|
2020-09-13 13:24:35 +02:00 |
|
|
0464d2712e
|
remove encode() where unnecessary, add /get/{object} route
|
2020-09-13 13:22:18 +02:00 |
|
|
fc7635bf70
|
--reinitialize param, logging
|
2020-09-12 15:02:03 +02:00 |
|
|
6895b076be
|
display methods
|
2020-09-12 14:43:42 +02:00 |
|
|
1d952b34dd
|
various fixes, fleshing out, directory retrieval / creation
|
2020-09-12 14:31:53 +02:00 |
|
|
e49d4c9ff5
|
implement entity system, first step
|
2020-09-07 21:21:54 +02:00 |
|
|
6b32235896
|
fix "new" db detection, add initial update
|
2020-08-30 22:11:32 +02:00 |
|
|
ec0f4f5ec6
|
return a struct on database open
|
2020-08-30 17:13:46 +02:00 |
|
|
0b24990436
|
filter only to valid files
|
2020-08-27 01:30:55 +02:00 |
|
|
a67b970cd1
|
add lookup endpoint, index on path and valid
|
2020-08-27 01:30:53 +02:00 |
|
|
c18625285b
|
clippy improvements
|
2020-08-28 13:51:22 +02:00 |
|
|
f1c5a59073
|
log migrations to logger, not to stdout directly
|
2020-08-27 01:02:28 +02:00 |
|