Commit graph

374 commits

Author SHA1 Message Date
Daniel
0d7e6dae96 Clarify and clean up record key functions 2020-10-19 11:34:31 +02:00
Daniel
ac1e00b0fe Fix locking when updating the interface cache in Put methods
Also, update the cache when fetching records from the database.
2020-10-16 15:23:30 +02:00
Daniel
85e985c493
Merge pull request #89 from safing/feature/database-writecache
Add a write-cache to the database interface options
2020-10-13 15:31:55 +02:00
Daniel
34e12860e4 Fix another locking issue 2020-10-13 14:58:27 +02:00
Daniel
6a58ce5a7a Fix locking in PutMany implementations 2020-10-12 13:54:27 +02:00
Daniel
e5a72ffa37 Implement review suggestions 2020-10-12 13:54:14 +02:00
Daniel
4aa5c66e8e Improve write-cache flush timing 2020-10-11 20:26:05 +02:00
Daniel
abaf5ee879 Add a write-cache to the database interface options 2020-10-11 14:27:54 +02:00
Daniel
d4bb5ae522
Merge pull request #86 from safing/feature/shadowdelete-expiry
Add shadowDelete support to record maintenance
2020-09-25 10:14:04 +02:00
Daniel
74dd5eea37 Improve docs for confusing and contradicting case 2020-09-25 09:11:19 +02:00
Daniel
bd90e5a5df Add shadowDelete support to record maintenance 2020-09-24 23:13:42 +02:00
Daniel
30a53cf840
Merge pull request #85 from safing/feature/db-purge
Add Purge method/interface to database system
2020-09-24 16:56:48 +02:00
Daniel
da57ca5792 Fix linter errors 2020-09-24 16:38:55 +02:00
Daniel
82af986224 Add Purge method/interface to database system
Also, implement Purger interface in bbolt storage.
2020-09-24 15:02:51 +02:00
Daniel
1c765dfbb8
Merge pull request #82 from safing/feature/deletemany
Make shadow deletes conditional
2020-09-24 15:01:16 +02:00
Daniel
349e9a7774
Merge pull request #83 from safing/feature/improve-stack-printing
Improve stack printing
2020-09-24 15:01:06 +02:00
Daniel
362539692e Improve interfaces and fix more linter errors 2020-09-24 09:50:38 +02:00
Daniel
c4e24102f6 Fix linter error 2020-09-24 08:57:42 +02:00
Daniel
dae5481203 Improve stack printing 2020-09-23 17:11:51 +02:00
Daniel
5bb73a7b4c Make shadow deletes conditional
Also, Move maintenance to separate interface.
2020-09-23 17:10:33 +02:00
Patrick Pacher
c479430d46
Merge pull request #70 from safing/fix/failing-worker-shutdown
Fix shutdown of failing service workers
2020-08-12 13:44:01 +02:00
Daniel
2ad0ead72b Fix shutdown of failing service workers 2020-08-11 18:14:22 +02:00
Patrick Pacher
2b726810cc
Merge pull request #69 from safing/feature/fetch-comment
Add URL fetch comment to registry
2020-07-23 12:41:02 +02:00
Daniel
26f54ffbb9 Add User-Agent to request made by the registry 2020-07-23 12:16:44 +02:00
Daniel
5a642efc83
Merge pull request #68 from safing/feautre/updater-context
Use context for network connections in updater
2020-07-21 15:44:25 +02:00
Daniel
02bb6d1d9b Use context for network connections in updater 2020-07-21 15:04:05 +02:00
Patrick Pacher
91f759d148
Merge pull request #65 from safing/feature/make-db-registry-persistance-optional
Make DB registry persistence optional
2020-07-12 08:49:15 +02:00
Patrick Pacher
fc31a72d7d
Merge pull request #64 from safing/fix/post-factum-reviews-1
Implement Post Factum Review Suggestions
2020-07-12 08:46:13 +02:00
Daniel
6fcd1d3ef7 Make DB registry persistence optional
This increases resilience when persistence is not needed.
2020-07-11 14:20:04 +02:00
Daniel
2fa29789de Improve authenticator error handling
From PR Review https://github.com/safing/portbase/pull/59
2020-07-10 13:21:10 +02:00
Daniel
eb0cbf58a8 Rename Cnt() to Size() and split up tests
From PR Review https://github.com/safing/portbase/pull/57
2020-07-10 12:02:55 +02:00
Daniel
5f2c861e2d Move forceCnt into the goroutine
From PR Review https://github.com/safing/portbase/pull/56
2020-07-10 11:48:50 +02:00
Daniel
f4fcd0c67c Add Path to Token Cookie
From PR Review https://github.com/safing/portbase/pull/55
2020-07-10 11:46:59 +02:00
Daniel
fda2943c0a
Merge pull request #61 from safing/fix/api-auth-token-cleaner
Fix cleaner start condition
2020-06-27 14:59:38 +02:00
Daniel
e11dbac9b6
Merge pull request #60 from safing/fix/index-update-path-creation
Check path to index file when saving
2020-06-27 14:54:38 +02:00
Daniel
210017b42e
Fix cleaner start condition 2020-06-27 14:52:56 +02:00
Daniel
56a7b8c16e
Merge pull request #59 from safing/fix/api-auth-token-cleaner
Fix starting the api auth token cleaner task
2020-06-27 14:50:53 +02:00
Daniel
38902d8c82 Check path to index file when saving 2020-06-26 22:44:32 +02:00
Daniel
34e076f9ff Fix starting the api auth token cleaner task 2020-06-26 22:41:47 +02:00
Daniel
545e8e6821
Merge pull request #58 from safing/feature/improve-module-states
Improve exported module and subsystem states
2020-06-15 16:00:15 +02:00
Daniel
4dcec099e6 Improve exported module and subsystem states 2020-06-15 15:49:32 +02:00
Daniel
ddba5b44b9
Merge pull request #57 from safing/feature/stablepool
Add StablePool
2020-06-11 16:48:11 +02:00
Daniel
6bf91e1232 Add StablePool 2020-06-11 16:41:49 +02:00
Daniel
3c7af2102d Increase test timeout to mitigate false positive fails 2020-06-05 13:58:02 +02:00
Daniel
ebfb744fbc
Merge pull request #56 from safing/feature/force-exiting
Add force exiting
2020-06-05 13:56:07 +02:00
Daniel
df271461fc
Merge pull request #55 from safing/feature/api-improvements
API Improvements
2020-06-05 13:55:48 +02:00
Daniel
1990465032 Add force exiting 2020-06-05 13:07:27 +02:00
Daniel
37189b07cf Detect close errors 2020-06-05 13:04:45 +02:00
Daniel
fe7b09c9fb Improve authentication handling, enable auth cookies 2020-06-05 13:04:27 +02:00
Daniel
d6f7a159ad Improve api middlewares 2020-06-05 13:02:19 +02:00