Gabriel Herbert
e68c850348
Cleanup of requests that can use 2 DB transactions
2025-02-27 15:04:01 +01:00
Gabriel Herbert
83239618e7
Fix: API not applying query fixed result limit
2025-01-02 09:03:52 +01:00
Gabriel Herbert
20cfe7c6da
API filter via URL parameter
2025-01-01 23:42:33 +01:00
Gabriel Herbert
6413840171
Join filtering for backend calls (APIs, ICS, etc.)
2024-12-13 16:18:14 +01:00
Gabriel Herbert
6ddadd6ca8
Context timeouts for authentication requests
2024-12-06 22:02:50 +01:00
Gabriel Herbert
249924cf76
Apply context with timeout to more DB requests
2024-12-06 17:05:13 +01:00
Gabriel Herbert
82a07c72d7
Apply context with timeout to more DB requests
2024-12-05 23:53:41 +01:00
Gabriel Herbert
62ebe85bd9
Fix: Login ID not available in trigger functions via API handler
2024-08-09 19:48:56 +02:00
Gabriel Herbert
b595d81357
Migrated to slices.Contain(), cleaned up tools pkg
...
Replaced old 'slice contains' methods with generic version from Go 1.21 for easier to read code.
Removed not-used methods from and refactored internal tools package.
2023-10-01 11:19:20 +02:00
Gabriel Herbert
0b986a49fd
Fixed: Empty join blocks DELETE in API call
2023-03-22 21:27:00 +01:00
Gabriel Herbert
a353ef19af
API fixes, warnings in UI
...
* Use "Forbidden" status code in case of authenticated but not authorized access.
* Use module fallback language for verbose input/output in case of not supported user language.
* Fixed preview URL not showing port.
* Show warnings in API UI for known handling issues.
2023-03-07 10:16:27 +01:00
Gabriel Herbert
fe9fe13d99
Preset/role filter in backend, API UI cleanup
...
* Enabled preset as backend filter.
* Enabled 'login has role' as backend filter.
* Small changes to API UI after feedback.
2023-03-06 23:05:12 +01:00
Gabriel Herbert
ad7e3628ba
API translations, comments, fixes
...
* Translatable columns in API GET/POST.
* Fixed non-functioning sub queries in GET columns.
* Added API comments.
2023-03-06 14:20:36 +01:00
Gabriel Herbert
65e9fd730f
API role access
2023-03-05 23:45:46 +01:00
Gabriel Herbert
739d0dfd09
Consolidated CSV and API importers, fixes
...
* Fixed: CSV upload/download still using column display options instead of new attribute content use property.
* Fixed: Missing captions in column display options.
2023-03-05 20:54:31 +01:00
Gabriel Herbert
9228385ed0
API DELETE call, fixes, UI improvements
...
* API name check.
* DELETE call handling.
* Missing version property for new APIs.
* Error messages not properly escaped.
2023-03-05 13:21:38 +01:00
Gabriel Herbert
ee002bddcf
API features/fixes
...
* Greatly expanded API example UI.
* API calls now check API version.
2023-03-04 13:51:13 +01:00
Gabriel Herbert
49d787e00e
API features/fixes
...
* Example calls in API Builder UI (work in progress).
* API version numbers.
* Better verbose API calls with optional relation references for better readability.
* Record IDs, mapped by relation index, returned for POST calls.
* Help text in query lookup UI.
2023-03-04 00:20:11 +01:00
Gabriel Herbert
3bb30a4f02
API features/fixes
...
* Enabled use of PK attributes as lookups.
* Improved API call handling.
* API Builder improvements.
2023-03-02 23:06:00 +01:00
Gabriel Herbert
b7955257b8
API Builder UIs (work in progress)
2023-02-28 11:53:24 +01:00
Gabriel Herbert
a4d3fd5600
API first steps (work in progress)
...
Got base API schema & handler running with simple GET requests.
Still open:
* Builder UIs
* Most HTTP methods (POST, PATCH, PUT, DELETE)
2023-02-27 09:52:11 +01:00