xbgmsharp
a3475dfe99
Update UUID v7 function
2024-01-09 22:03:45 +01:00
xbgmsharp
88de5003c2
feat: Add new metadata fields platform and configuration. This allow to do pre-defined configuration for well know device like Victron VenusOS decives.
2024-01-07 22:16:52 +01:00
xbgmsharp
db3bd6b06f
Update metrics_trigger_fn, silently ignore invalid status.
2023-12-31 21:09:42 +01:00
xbgmsharp
e7d8229e83
Feat: Add grafana cron job
2023-12-29 18:23:07 +01:00
xbgmsharp
f14342bb07
Fix grafana cron job. update cron_process_grafana_fn
2023-12-29 18:16:59 +01:00
xbgmsharp
f8c1f43f48
Fix typo
2023-12-29 12:16:43 +01:00
xbgmsharp
0d5089af2d
Add new settings for Grafana HTTP API URL
2023-12-29 11:43:49 +01:00
xbgmsharp
da1952ed31
Feat: Add pre_logbook validation
2023-12-29 11:35:22 +01:00
xbgmsharp
a5d5585366
feat: Add pre logbook check. Split logbook process function
2023-12-29 11:34:19 +01:00
xbgmsharp
5f9a889a44
Feat: Add grafana provisioning on first contact from vessel
...
Feat: Add pre logbook validation
2023-12-29 11:32:57 +01:00
xbgmsharp
f9719bd174
Feat: Add cron for pre logbook check
...
Feat: Add cron for Grafana provisioning
2023-12-29 11:28:57 +01:00
xbgmsharp
8d1b8cb389
fix: Update template email message
2023-12-29 11:27:00 +01:00
xbgmsharp
acfd058d3b
feat: Add uuid v7 helpers
2023-12-29 11:26:16 +01:00
xbgmsharp
eeae7c40c6
Feat: Add proper Grafana provisioning via HTTP API
2023-12-29 11:24:54 +01:00
xbgmsharp
2ba81a935f
Update reindex conr_job to use CONCURENTLY options, remove metrics reindex as managed by timescale.
2023-12-03 17:02:05 +01:00
xbgmsharp
0fbac67895
Remove Duplicate Indexes
2023-12-01 23:51:13 +01:00
xbgmsharp
228b234582
Disable remove duplicate index
2023-12-01 22:25:12 +01:00
xbgmsharp
2b48a66cd2
Update overpass_py_fn, Enforce area with a proper name tag
2023-12-01 22:01:11 +01:00
xbgmsharp
94e123c95e
Update badges processing, update time properties to be at the logbook date
2023-12-01 13:15:12 +01:00
xbgmsharp
9787328990
Update badges, set badges time to log time versus processed time
...
Add dereprecated comment to unused functions.
2023-11-30 22:16:49 +01:00
xbgmsharp
de62d936d5
Update api.monitoring_view, add new properties wind and speed in to the geojson.
2023-11-30 21:50:21 +01:00
xbgmsharp
293a33da08
Update overpass_py_fn, improve geo location detection, first check against area, then find around with 400m
2023-11-30 21:47:56 +01:00
xbgmsharp
2b105db5c7
Update public.logbook_update_geojson_fn, fix geojson properties for the wind and add notes geojson properties for each Point.
...
Update process_logbook_queue_fn, improve invalid logbook detection mostly do to multiple GPS, remove logbook with more than 60% of metric are with 100m.
2023-11-30 16:10:50 +01:00
xbgmsharp
af003d5a62
Update api.export_moorages_gpx_fn, fix moorage id and url path.
...
Update api.delete_logbook_fn, set api.metrics to moored and substract -1 to moorage count
2023-11-30 15:53:50 +01:00
xbgmsharp
ecc9fd6d9f
Update comment order
2023-11-30 12:50:46 +01:00
xbgmsharp
1bfa04a057
Update pgcron jobs.
...
Fix clean_up process logs.
Add vaccum for auth schema.
Add reindex for api schema.
Run notificiation every minute instead of 2
2023-11-29 22:00:19 +01:00
xbgmsharp
a1e8827479
Release 0.5.1
2023-11-27 22:50:31 +01:00
xbgmsharp
6ecb345758
Fix Enforce public vessel name to be alphanumeric.
...
Fix typo for pushover notification
2023-11-27 22:44:26 +01:00
xbgmsharp
0709bc83c4
Fix api.monitoring_view, api.stays_view, api.stay_view and api.moorages_stays_view
2023-11-27 22:43:27 +01:00
xbgmsharp
5af24a1878
Release 0.5.0
2023-11-24 12:00:35 +01:00
xbgmsharp
0aae8d002b
Update process_logbook enforce more than 2 metrics to be consider a log
2023-11-24 12:00:10 +01:00
xbgmsharp
ead2b99e7f
Update comments on api schema
2023-11-23 15:02:06 +01:00
xbgmsharp
711d5a0d40
Update auth.accounts, add public_id for future use.
2023-11-23 10:27:34 +01:00
xbgmsharp
7e52065ef8
Update metadata trigger, Ignore and overwrite the time sent be the vessel, fix #3
2023-11-23 10:24:16 +01:00
xbgmsharp
347299d76e
Add missing description to python function
2023-11-21 20:44:09 +01:00
xbgmsharp
9329a6d04b
Add triiger on vessel creation to set the public_vessel name
2023-11-20 21:16:17 +01:00
xbgmsharp
70be4fb295
Update logs_view, show only processed logbook
2023-11-20 21:15:37 +01:00
xbgmsharp
5960447297
Update/fix trigger, remove the actual data
2023-11-20 21:15:15 +01:00
xbgmsharp
0218f2fa73
Follow best practive don't use timestamp(0)
2023-11-19 22:17:47 +01:00
xbgmsharp
21f96483f5
Follow best practive don't use timestamp(0)
...
https://wiki.postgresql.org/wiki/Don%27t_Do_This#Don.27t_use_timestamp.280.29_or_timestamptz.280.29
2023-11-19 21:49:19 +01:00
xbgmsharp
de651ea7ab
Replace type SERIAL by IDENTITY as per best practice.
...
https://wiki.postgresql.org/wiki/Don%27t_Do_This#Don.27t_use_serial
2023-11-19 21:34:20 +01:00
xbgmsharp
fddd3df05e
Replace type TIMESTAMP WITHOUT TIME ZONE by TIMESTAMPZ with timezone forcing UTC as per best practice.
2023-11-19 21:10:28 +01:00
xbgmsharp
472131efbd
refactor metrics_trigger_fn, set previous_metric as record instead of individual value
2023-11-19 18:03:54 +01:00
xbgmsharp
1f7bb433e2
Update gpx moorages export, make urk link dynamic
2023-11-18 23:03:42 +01:00
xbgmsharp
c4fa9f5512
Update reverse geo loc, avoid loop
2023-11-18 23:03:07 +01:00
xbgmsharp
b005f592e9
Update project description
2023-11-18 22:48:48 +01:00
xbgmsharp
fdb466abde
Refactor anonymous access, update public.check_jwt, api.ispublic_fn to allow anoymous base on public vessel name
2023-11-18 21:37:20 +01:00
xbgmsharp
ee131e0e70
Update metrics_trigger_fn, fix stay postprocessing, only when gone.
2023-11-15 00:16:25 +01:00
xbgmsharp
8fff17dee3
Update process_stay_queue_fn, process stays only when gone
2023-11-14 23:51:23 +01:00
xbgmsharp
c879c4bdab
Refactor Logs,Moorages,Stays
...
Update Logs,Moorages,Stays view
Add public.process_lat_lon_fn
Add public.moorage_update_trigger_fn
Add public.moorage_delete_trigger_fn
Update debug on metrics_trigger_fn
Deprecated public.process_moorage_queue_fn
2023-11-14 23:24:30 +01:00