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
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
2507545d3f
Update anonymous access, add check to allow public access if header x-public-id is present with a base64 value mapping a path and an id.
2023-11-02 21:42:03 +01:00
xbgmsharp
53daaa9947
Update vessel_fn to handle empty vessel name from signalk in api.metadata
2023-10-25 09:28:10 +02:00
xbgmsharp
e2e3e5814e
Update api.vessel_fn expose data from the signalk rather than from user input
...
Update api.settings_fn expose accounts.public_id in settings
Update api.eventlogs_view, cleanup formating
Add api.ispublic_fn, check is a page is publicly accessible from user preferences
2023-10-18 23:21:22 +02:00
xbgmsharp
047f243758
Fix api.update_logbook_observations_fn.
2023-10-11 17:19:10 +02:00
xbgmsharp
69b6490534
Update api.vessels_view LIMIT to last metrics.
...
Add Rowlevel security measures to view
2023-10-09 16:26:02 +02:00
xbgmsharp
427d30681e
Update vessels views and fn, add plugin version, offline status and duration
2023-09-29 22:42:43 +02:00
xbgmsharp
7b11de9d0d
Add support for logbook observations jsonb
2023-09-13 21:57:38 +02:00
xbgmsharp
3a4aadc81a
Update postgrest version parsing
2023-08-23 12:46:35 +02:00
xbgmsharp
b2f1e5e0e9
Update versions, add postgrest version
2023-08-22 16:41:01 +02:00
xbgmsharp
2edff87269
Update foreign key comment. Update eventlogs_view output orderi.
2023-08-14 17:37:34 +02:00
xbgmsharp
ea2f3ec6d1
Add eventlogs view, list process_queue table by ref_id. Add has_vessel_metadata_fn to expose vessel metadata
2023-07-18 15:19:30 +02:00
xbgmsharp
4d833999e8
Update vessel dependency to vessel.id instead of client_id.
...
Large commit, to fix a long pending issue for vessel wihtout a proper client_id from signalk.
2023-06-25 09:53:25 +02:00
xbgmsharp
8f5cd4237d
dd new API endpoint, api.vessel_details_fn(), extend additionals vessels properties
2023-06-22 23:26:44 +02:00
xbgmsharp
a1df7b218c
Update versions to include used extensions
2023-05-02 18:27:04 +02:00
xbgmsharp
5a74914eac
Export helpers function to a separate file
2023-04-23 11:06:49 +02:00
xbgmsharp
2ffcbc5586
Remove unused api essel funtions
2023-04-03 22:51:57 +02:00
xbgmsharp
2f6bb6d5d9
Add new public function public.jsonb_diff_val
2023-04-01 19:25:14 +02:00
xbgmsharp
95d3c5bded
Add new public function jsonb_recursive_merge and input validation: isdate, istimestamptz
2023-03-28 19:12:35 +02:00
xbgmsharp
763c9ae802
Update versions fn and view
...
Add new fn public.has_vessel_fn()
Deprecated unused and bad api.vessels2_view,api.vessel_p_view
2023-02-24 15:57:32 +01:00
xbgmsharp
a6da3cab0a
Fix vessel_fn to use the latest location rather than the first know location
2023-02-15 16:24:11 +01:00
xbgmsharp
ca92a15eba
boat-listing, make last_contact retrun null rather than empty string
2023-02-07 11:19:30 +01:00
xbgmsharp
0ec3f7fe02
Sending null to no value entry when no metadata available
2023-02-06 21:38:02 +01:00
xbgmsharp
665a9d30e6
Fix/update vessel_fn sub query because of function owner
2023-02-04 23:42:38 +01:00
xbgmsharp
cb0b89c8f3
vessel function and view, remove the millisecond from the timestamp result
2022-12-28 22:04:50 +01:00
xbgmsharp
5ce5b606e9
Remove mmsi dependency, update to use vessel_id instead
2022-12-05 23:19:58 +01:00
xbgmsharp
2e269b9424
Update RSL to 'user.email' settings
...
Remove dependency to jwt for auth tables
2022-11-29 22:51:07 +01:00
xbgmsharp
0682f06ae9
Update update_user_preferences_fn to allow email or telegram user auth (to be improve)
2022-11-28 21:49:57 +01:00
xbgmsharp
db1d7c63e2
Add function api.update_user_preferences_fn to allow user update their preferences via api
2022-11-20 23:22:29 +01:00
xbgmsharp
07c7628973
Limit scope of process functions
2022-09-24 23:53:47 +02:00
xbgmsharp
0f399293eb
Add API endpoint for versions and vessels
2022-09-21 09:52:36 +02:00
xbgmsharp
023ad56926
Add more api endpoint with dependencies
2022-09-01 19:27:11 +02:00