• Joined on 2024-05-28
bent closed issue bent/GenericQtClient#28 2026-05-09 11:40:10 +02:00
Add authentication to REST API
bent pushed to develop at bent/GenericQtClient 2026-05-09 11:39:36 +02:00
324663a904 API authentication.
bent pushed to develop at bent/GenericQtClientWidgets 2026-05-09 11:38:37 +02:00
f56a2a3314 Settings dialog: Enabling the line edits for email and password.
bent pushed to develop at bent/GenericQtClientCore 2026-05-09 11:37:50 +02:00
3d92d3179f Merge branch 'feature/apiClienRefactoring' into develop
0feaf09d83 Auth token is stored in settings and deleted if a request is not authorized (with automatic re-login). Failed request need to be resend.
ceaf6b5fbd sendItem(...) & deleteItem(...) use the more generic send...Request(...) functions. (No merging of UUID of sent item into model and no deletion of local item yet.)
760c778c3b fetchItems() uses the more generic sendGetRequest function.
Compare 4 commits »
bent deleted branch feature/apiClienRefactoring from bent/GenericQtClientCore 2026-05-09 11:37:19 +02:00
bent pushed to develop at bent/BeetRound 2026-05-04 12:45:18 +02:00
e61bafc4dc Added TYPE_ROLES when casting item values into JSON.
507754985c Changed the application icon and added credits to icons to the "about" dialog.
Compare 2 commits »
bent pushed to develop at bent/BeetRoundServer 2026-05-04 12:42:14 +02:00
643b252a17 Added favicon icons & robots.txt
851794ba44 Improved README.md & removed unnecessary if clause in home page.
Compare 2 commits »
bent commented on issue bent/GenericQtClient#28 2026-05-04 10:37:01 +02:00
Add authentication to REST API

GQC API auth via token:

Programmstart:

  • weder token noch user credentials -> nothing
  • user credential, but no auth token -> post log_in to fetch token
  • auth token in settings ->…
bent pushed to develop at bent/GenericQtClientCore 2026-05-04 08:21:45 +02:00
b1f7fbff8b Minor refactoring for API authentication.
bent created branch feature/apiClienRefactoring in bent/GenericQtClientCore 2026-05-04 08:21:32 +02:00
bent pushed to feature/apiClienRefactoring at bent/GenericQtClientCore 2026-05-04 08:21:32 +02:00
ceaf6b5fbd sendItem(...) & deleteItem(...) use the more generic send...Request(...) functions. (No merging of UUID of sent item into model and no deletion of local item yet.)
760c778c3b fetchItems() uses the more generic sendGetRequest function.
b1f7fbff8b Minor refactoring for API authentication.
Compare 3 commits »
bent pushed to develop at bent/GenericQtClientWidgets 2026-05-04 08:21:27 +02:00
e3d0782344 GenericCore::postItemToServer(...) -> GenericCore::sendItemToServer(...)
bent pushed to develop at bent/GenericRestServer 2026-05-04 08:21:16 +02:00
d1b05db2d7 Render a "delete" JSON response with the UUID of the deleted item.
bent pushed to develop at bent/GenericQtClientCore 2026-04-27 08:36:32 +02:00
b76523ec75 API authentication token is read from settings and set as bearer token.
178850e0bc Reordered GenericCore function implementations according to their declarations.
Compare 2 commits »
bent pushed to develop at bent/GenericRestServer 2026-04-26 15:38:39 +02:00
44bf1796d0 JSON responses for item(s) have the key "item(s)" instead of "data".
bent pushed to develop at bent/GenericRestServer 2026-04-22 10:33:06 +02:00
b077a1c81c Users can access their items via API. Authentication via API token. No public access to items.
6076654aa4 After 'mix phx.gen.json Items Item items name:string description:string info:string amount:integer factor:float type:string --no-context --no-schema'.
851665ef60 After 'mix phx.gen.live Items Item items name:string description:string info:string amount:integer factor:float type:string'
e930c742b5 Added timeout to flash messages.
0a07cdf5d2 After 'mix phx.gen.auth Accounts User users'.
Compare 5 commits »
bent created branch main in bent/GenericRestServer 2026-04-21 12:23:19 +02:00
bent pushed to main at bent/GenericRestServer 2026-04-21 12:23:19 +02:00
bent created branch develop in bent/GenericRestServer 2026-04-21 12:22:50 +02:00
bent pushed to develop at bent/GenericRestServer 2026-04-21 12:22:50 +02:00
7f840bbf0d After 'mix phx.new generic_rest_server --binary-id --no-install'
6cfd57c3d6 initial commit