efim
c3d496c36c
docs: readme and comments
2023-10-09 15:19:42 +00:00
efim
8842235372
feat: middleware to return error as html
2023-10-09 07:45:29 +00:00
efim
ec47c9d610
fix: logout should set address to / and open /
2023-10-09 05:42:50 +00:00
efim
a367ed9a34
fix: setting Secure behind nginx
...
bug was due to having explicit 'serve --http=address' when running
behind nginx on NixOS server
So either a more complicated check was required, or just setting
Secure=true unconditionally.
This seems to be a better way, because Firefox already allows secure
cookies beng sent and received from localhost for dev purposes, and
Chromium does too
2023-10-09 05:08:59 +00:00
efim
2a3d00839f
feat: securing the cookies
2023-10-09 04:22:09 +00:00
efim
e4c79b2155
refactor: utilizing cool options for nginx
2023-10-09 03:17:47 +00:00
efim
eb2b170335
feat: attempted allowance for nixos ssl
2023-10-08 20:56:19 +00:00
efim
bfee145b6c
fix: removing printlns
...
todo - figure out good logging
2023-10-08 18:42:09 +00:00
efim
c032987952
fix: removing hardcode of js init
2023-10-08 18:23:04 +00:00
efim
ea8d1fab75
feat: adding a license for pushing to repo
2023-10-08 17:00:25 +00:00
efim
59c3b1ce59
feat: initial nixos module impl
2023-10-08 13:36:31 +00:00
efim
4a64f2186f
feat: nix build enabled
...
nix build
will put binary into nix store, and symlink to ./result
running with
./result/bin/auth-pocketbase-attempt serve --dir=./pb_data
if i understood migrations correctly, when using as a framework
migrations will be generated as go files, and will be packaged into the binary
2023-10-08 07:20:48 +00:00
efim
769fe603c7
feat: Makefile for building and running
...
yay, tailwindcss is only executed when templates or config has changed
i can remove out.css from the repository!
2023-10-07 03:20:24 +00:00
efim
f69cb661dc
feat: enable tailwind, committing out.css for now
2023-10-06 14:19:27 +00:00
efim
ffd74c4222
refactor: adding base template for header & nav
2023-10-06 13:42:20 +00:00
efim
2676b87d5b
feat: page reload on auth event
2023-10-06 12:38:09 +00:00
efim
bb418101dd
feat: serving static files
...
for example htmx library
in the future tailwindcss out.css file as well
2023-10-06 10:31:50 +00:00
efim
a9fce1bcbf
feat: moving dialog script to head
...
this way htmx page switch would keep it.
and calling on event DOM loaded means elements should be found
2023-10-06 09:40:28 +00:00
efim
e1346e2f96
feat: logout route and login dialog
2023-10-06 09:20:00 +00:00
efim
c87abb6956
initial hardcoded github oauth button
2023-10-06 06:49:22 +00:00
efim
8c255ed812
init: adding pocketbase as a framework
2023-10-06 05:34:15 +00:00