Commit f29aeb9
authored
Refactor (#124)
Implemented CQRS, IUnitOfWork on endpoints.
Fixed issue with web socket connecting before the user is logged in.
Add some rudimentary ML to license plate prediction.
Add tests.
Switched to alpine linux.
Adding log severity filtering.
Better error handling when camera commands fail.
Data migrations occur before application startup via migration bundles.
Commands to obfuscate db and delete images.
Fixed [counting
bug](#114).
replace fluentassertions and mediatr with free alternatives.
switched to microsoft identity.
added 2fa.1 parent 258c134 commit f29aeb9
1,069 files changed
Lines changed: 102019 additions & 17133 deletions
File tree
- .github
- workflows
- OpenAlprWebhookProcessor.Server
- Alerts
- GetAlerts
- Pushover
- UpsertAlert
- WebPush
- CameraUpdateService
- Dahua
- Hikvision
- Cameras
- Dahua
- DeleteCamera
- GetMask
- GetPlateCaptures
- TestCamera
- UpsertMask
- ZoomAndFocus
- Data
- Migrations
- Repositories
- Features
- Alerts
- Commands
- AddAlert
- DeleteAlert
- TestPushover
- TestWebPush
- UpdateAlert
- UpsertPushover
- UpsertWebPush
- Queries
- GetAlerts
- GetPushover
- GetWebPush
- Cameras
- Commands
- DeleteCamera
- SetZoomAndFocus
- TestCameraDayMode
- TestCameraNightMode
- TestCameraOverlay
- TriggerAutofocus
- UpsertCameraMask
- UpsertCamera
- Configuration
- Queries
- GetCameraMask
- GetCameras
- GetPlateCaptures
- GetZoomAndFocus
- ImageRelay
- GetCropImage
- GetImage
- ImageCompression
- SnapshotRelay
- LicensePlates
- Commands
- DeletePlate
- EditPlate
- EnrichPlate
- LicensePlateData
- UpdatePlateNumber
- Queries
- GetHourlyStats
- GetLicensePlateCounts
- GetMostSeenPlates
- GetPlateFilters
- GetPlate
- GetQuickStats
- GetStatistics
- SearchLicensePlates
- MachineLearning
- Commands
- TriggerTraining
- UpsertConfiguration
- Configuration
- Models
- Queries
- GetConfiguration
- GetModelInfo
- GetModelStatus
- GetTopPredictions
- GetTrainingStatus
- PredictBatch
- PredictNextSeen
- Services
- Filesystem
- Settings
- Commands
- AddIgnore
- AgentScrape
- CleanupDatabase
- DeleteDebugPlates
- DeleteIgnore
- DisableAgent
- EnableAgent
- TestEnrichers
- UpdateIgnore
- UpsertAgent
- UpsertEnrichers
- UpsertIgnores
- UpsertWebhookForwards
- Queries
- GetAgentStatus
- GetAgentVideoStreams
- GetAgent
- GetDebugPlates
- GetEnrichers
- GetIgnores
- GetScheduledJobs
- GetVersion
- GetWebhookForwards
- SystemLogs
- Queries/GetLogs
- Users
- Commands
- Authenticate
- CreateUser
- DeleteUser
- DisableTwoFactor
- EnableTwoFactor
- GetRecoveryCodes
- Logout
- RegisterUser
- SetupTwoFactor
- UpdateUser
- VerifyTwoFactor
- Data
- Migrations
- Queries
- CanRegister
- GetAllUsers
- GetCurrentUser
- GetTwoFactorStatus
- GetUserById
- Register
- Services
- WebPushSubscriptions
- Commands
- AddWebPushSubscription
- DeleteWebPushSubscription
- Queries/GetWebPushPublicKey
- VapidKeys
- WebSockets
- Queries
- GetAccountInfo
- GetWebSocket
- Webhooks
- Commands
- ProcessAlertWebhook
- ProcessHeartbeatWebhook
- ProcessPlateGroupWebhook
- ProcessSinglePlateWebhook
- Queries/GetWebhookStatus
- WebhookProcessor
- OpenAlprAgentScraper
- OpenAlprWebhook
- OpenAlprWebsocket
- Hydration
- ImageRelay
- GetImage
- SnapshotRelay
- SnapshotWebSocketRelay
- Infrastructure
- Behaviors
- Extensions
- Middleware
- LicensePlates
- DeletePlate
- GetLicensePlateCounts
- GetMostSeenPlates
- GetPlateFilters
- GetPlate
- GetStatistics
- SearchLicensePlates
- UpsertPlate
- ProcessorHub
- Properties
- Settings
- AgentHydration
- DeleteDebugPlateGroups
- DisableAgent
- EnableAgent
- Enrichers
- GetDebugPlateGroups
- GetIgnores
- GetWebhookForwards
- UpsertIgnore
- UpsertWebhookForwards
- SystemLogs
- Users
- Data
- Migrations
- Utilities
- WebPushSubscriptions
- VapidKeys
- WebhookProcessor
- OpenAlprAgentScraper
- OpenAlprWebsocket
- scripts
- Tests
- Alerts
- CameraUpdateService
- Dahua
- Hikvision
- Controllers
- Data/Repositories
- Features
- Alerts
- Commands
- Queries
- GetPushover
- GetWebPush
- Cameras
- Commands
- Queries
- ImageRelay
- LicensePlates
- Commands
- DeletePlate
- EditPlate
- EnrichPlate
- UpdatePlateNumber
- Queries
- GetHourlyStats
- GetLicensePlateCounts
- GetMostSeenPlates
- GetPlateFilters
- GetPlate
- GetQuickStats
- GetStatistics
- SearchLicensePlates
- MachineLearning
- Configuration
- GetConfiguration
- Models
- UpsertConfiguration
- Settings
- Commands
- AddIgnore
- AgentScrape
- CleanupDatabase
- DeleteDebugPlates
- DisableAgent
- EnableAgent
- TestEnrichers
- UpsertAgent
- UpsertEnrichers
- UpsertIgnores
- UpsertWebhookForwards
- Queries
- GetAgentStatus
- GetAgentVideoStreams
- GetAgent
- GetDebugPlates
- GetEnrichers
- GetIgnores
- GetScheduledJobs
- GetWebhookForwards
- SystemLogs/Queries/GetLogs
- Users
- Commands
- UpdateUser
- Queries
- Services
- WebSockets/Queries
- GetAccountInfo
- Webhooks
- Commands
- WebhookProcessor
- Hydration
- Infrastructure/Middleware
- TestHelpers
- Utilities
- WebPushSubscriptions
- WebhookProcessor
- openalprwebhookprocessor.client
- .claude
- .vscode
- scripts
- src
- app
- _components
- _helpers
- _models
- _services
- account
- login
- register
- setup-2fa
- verify-2fa
- home
- charts
- most-seen
- predictions-section
- quick-stats
- plates
- edit-plate
- plate-filters
- plate-item
- plate-list
- plate
- plate-images
- plate-notes
- plate-statistics
- services
- settings
- alerts
- pushover
- webpush
- cameras
- camera
- add-camera
- camera-image
- edit-camera
- camera-basic-info
- camera-daynight
- camera-mask
- camera-openalpr
- camera-overlay
- debug
- scheduled-jobs
- signalr-connection-monitor
- enrichers
- forwards
- ignores
- machine-learning
- configuration-actions
- configuration-card
- configuration-field
- configuration-header
- configuration-table
- machine-learning
- model-metrics-card
- training-status-card
- openalpr-agent
- agent-video-streams
- system-logs
- users
- edit
- user-2fa
- signalr
- snackbar
- theme-picker
- style-manager
- theme-storage
- assets
- highlight
- icons/vehicle-logos
- environments
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 59 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
1 | 35 | | |
2 | 36 | | |
3 | 37 | | |
| |||
55 | 89 | | |
56 | 90 | | |
57 | 91 | | |
58 | | - | |
| 92 | + | |
59 | 93 | | |
60 | 94 | | |
61 | 95 | | |
| |||
64 | 98 | | |
65 | 99 | | |
66 | 100 | | |
| 101 | + | |
67 | 102 | | |
68 | | - | |
69 | 103 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments