Commit graph

366 commits

Author SHA1 Message Date
Patrick Pacher
50a10485e1
Fix race condition in database package. Simplify db locking 2020-09-22 16:53:03 +02:00
Patrick Pacher
93a0b27ea2
Merge pull request #81 from safing/feature/option-categories
Add category annotations to options
2020-09-22 16:45:36 +02:00
Patrick Pacher
62d2737849
Add category annotations to options 2020-09-22 15:40:56 +02:00
Patrick Pacher
19f75bb6ca
Fix locking in runtime and hashmap storage 2020-09-18 12:11:05 +02:00
Patrick Pacher
75ab99d681
Merge pull request #78 from safing/feature/runtime-db
Add runtime module providing a simple injected DB
2020-09-18 12:00:46 +02:00
Patrick Pacher
bcaa793123
Add runtime module providing a simple injected DB 2020-09-18 11:56:54 +02:00
Patrick Pacher
205756e7d5
Merge pull request #76 from safing/feature/notif-refactor
Notification system refactoring
2020-09-16 08:46:40 +02:00
Patrick Pacher
4665ae8dca
Refactor notification system 2020-09-16 08:46:12 +02:00
Patrick Pacher
903447b65f
Merge pull request #74 from safing/fix/notifications
Drop support for peristent notifications. Fixes #71
2020-09-16 08:45:38 +02:00
Patrick Pacher
6c82df5523
Merge pull request #72 from safing/feature/options
Extend config options
2020-09-16 08:45:13 +02:00
Patrick Pacher
330e6bd1f1
Add PossibleValues support and option annotations 2020-09-15 09:00:58 +02:00
Patrick Pacher
1810855f64
Drop support for peristent notifications. Fixes #71
This path drops support for persistent notifications as
they were always broken and not used anyway (see #71). As
a result, the locking strategy of the injected notification
backend has been updated and should improve database push
updates (i.e. the "upd" is now correct and no additional "new"
updates with partial data will be sent anymore)
2020-09-14 11:21:23 +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
Patrick Pacher
1cb93512f1
Merge pull request #54 from safing/feature/api-auth-err-messages
Add authentication failure error messages
2020-06-04 08:37:59 +02:00
Daniel
5136bf91ed Add authentication failure error messages 2020-06-03 23:16:23 +02:00
Patrick Pacher
38d8a6e5df
Merge pull request #53 from safing/feature/improve-print-stack-on-exit
Improve -print-stack-on-exit
2020-06-02 09:50:25 +02:00
Daniel
9309fe431f Improve -print-stack-on-exit
The stack is now also printed when there is an error during startup
2020-05-29 15:30:28 +02:00
Patrick Pacher
03eaf58e69
Merge pull request #52 from safing/fix/make-second-os-rng-feed-async
Make second OS rng feed async
2020-05-29 14:46:01 +02:00
Patrick Pacher
3fc438df10
Merge pull request #51 from safing/fix/increase-module-timeouts
Increase module start/stop timeouts
2020-05-29 14:40:04 +02:00
Daniel
91181f38bf Make second OS rng feed async to improve resilience against empty rand pool 2020-05-29 10:56:50 +02:00
Daniel
0e779b8df6 Increase module start/stop timeouts 2020-05-29 10:52:33 +02:00