• 0.0.1-rc.3 fc3dc01229

    0.0.1-rc.3 Pre-Release

    wanderer released this 2023-09-09 16:19:28 +02:00 | 6 commits to development since this release

    Changelog

    • e8515d9 chore(tmpl): alignment [skip ci]
    • 0c8f867 chore(tmpl): code readability [skip ci]
    • 5527caa fix(go): prevent panic on manage/api-keys
    • f4bd798 fix(go): reject empty/same passwd on init change
    • 73915fc fix(go): resolve signin/logout issues for all time
    • 83f0ec7 fix(go): set correct cookie params
    • fa1253a fix(go): set logout cache-control header+add check
    • fd2916e fix(go): show LastLogin on Manage Users page
    • b1e2168 fix(go,tmpl): require minlength on username/passwd
    • 1b2d860 fix(go,tmpl): solve the Chromium/Safari logout...
    • 010e541 go(app/server): skip logging /assets visits
    • fcea85e go(sessionMiddleware): render err page on 401
    • 5d494fc go,tmpl(api-keys): add tooltips, disable buttons
    • 96c0b53 go,tmpl: implement+activate validator
    • 1d159e4 go,tmpl: unify handling of CSP
    • 07d19e6 go: handle demoting admin to regular-user level
    • e10fdc5 go: update last_login for users w/ finished setup
    • 1b457aa goreleaser: only build for arm64 linux atm [skip ci]
    • ff87c35 head.tmpl: set 'og:description' meta tag
    • fc3dc01 release 0.0.1-rc.3
    • 15994c9 tmpl(signin): add link tooltip [skip ci]
    • c10b432 tmpl(signin): green -> plain border on username
    • 0cb77e0 tmpl(signin): rm red borders on invalid
    • d0867f0 tmpl: add text to home page [skip ci]
    • 34babd8 tmpl: indent input field params for clarity
    • 4e17a6c tmpl: reflect default value in checkbox [skip ci]
    Downloads
  • 0.0.1-rc.2 047471e6d4

    0.0.1-rc.2 Pre-Release

    wanderer released this 2023-09-04 10:31:39 +02:00 | 32 commits to development since this release

    Changelog

    • 047471e tmpl: fix init user password not changing
    Downloads
  • 0.0.1-rc.1 ff07d14368

    0.0.1-rc.1 Pre-Release

    wanderer released this 2023-08-25 03:04:53 +02:00 | 33 commits to development since this release

    Changelog

    • e859f4c add atlas.hcl [skip ci]
    • 50e7596 chore(ent): re-run go generate
    • e45cb25 chore: bump npm deps
    • 7602c71 ci: simplify godocs,goreportcard steps
    • 2e49dd5 config: add comments [skip ci]
    • a70b52d containerfile: bump base to alpine3.18 (also npm)
    • 12764bc db: add baseline atlas migration
    • 74546f9 ent: add/extend entities, tests, validation
    • 1c67191 feat: implement user deletion
    • 70af5cc fix: repair broken routes
    • 01907c3 fix: stop looking for the CSRF token logout GET
    • 7b7d1b1 go(app): echoSettings.go -> server.go
    • 1106359 go(app/server.go): rename func
    • eff9b1e go(deps): use gopkg.in/yaml.v3
    • d83cda7 go(ent(user)): add last_login field+gen
    • 9fb9cc2 go(hibp): add AllBreachesForAccount + amend tests
    • c3a565a go(localbreach): add test+testdata
    • d9c3fc1 go(localbreach): tweak code,test for multidoc yaml
    • 52dfe44 go(logout): let only authorised users log out
    • c8a48cd go(logout): redir to /home if valid session exists
    • 1e1f540 go(run.go): add a way to load local breach data
    • 096b486 go(run.go): add comment [skip ci]
    • afcd7c4 go(run.go): consolidate flag names
    • 81ca7d8 go,tmpl: add a way to manage API keys [wip]
    • ab93161 go,tmpl: allow conditionally disabling the sign-up
    • 536b590 go,tmpl: use CSRF token in relevant places
    • 3077eb8 go: add HIBPSchema + adjust ent model fields
    • 600ef9d go: add a way to display upcoming db migrations
    • 7c86500 go: add a way to reduce printing
    • f202539 go: add basic hibp handling, requests scheduling
    • f836460 go: add handling of argon2 to the password module
    • 6b45213 go: add user onboarding, HIBP search functionality
    • e7849b5 go: fix setting port from config
    • 7a877b0 go: implement import of local breach data
    • 9b4aa6e go: mv flags to flag.go
    • ec7a8ca go: run requests scheduler from main
    • 247c95f go: save all breaches as cache, search by name
    • f0bda26 handlers: add helper newPage func w/ pre-filling
    • cc07995 justfile,readme: bump postgres to 15.3-alpine3.18
    • cd2a7ed localbreach: add hashPeppered field
    • 5579d77 pre-commit-config: use check-added-large-files ...
    • f899017 readme: add icon [skip ci]
    • 649590f readme: extend, reword, add sections [skip ci]
    • ff07d14 release 0.0.1-rc.1
    • e7be74d routes: add extra handling for signin/signup
    • 1b64571 routes: group certain endpoints
    • 7f87d0f routes: regroup, reorganise, break out csrf config
    • 9dd5f05 tmpl(manage/api-keys): update layout [skip ci]
    • 8d67e88 tmpl(user-new): add forgotten page adjustment [skip ci]
    • 180229d tmpl(users): add outline on hover [skip ci]
    • 08b49f5 tmpl(users): add table zebra striping [skip ci]
    • 29c8721 tmpl: change cursor shape on help notes [skip ci]
    • 3e777f8 tmpl: disable buttons w/ api keys unset [skip ci]
    • 1d47942 tmpl: fix display of field invalid state [skip ci]
    • 5240dce tmpl: fixate footer in the bottom [skip ci]
    • 0a77dea tmpl: make footer dots bold [skip ci]
    • dcb3dfd tmpl: populate navbar's about link [skip ci]
    • 8d8d8e5 tmpl: reword text on the buttons [skip ci]
    • df79afc tmpl: rm broad capitalisation,prefix [skip ci]
    • 6f0e3e9 tmpl: rm cruft [skip ci]
    • 94589b2 tmpl: use select-all where appropriate [skip ci]
    Downloads
  • 0.0.1-rc.0 393b1af830

    0.0.1-rc.0 Pre-Release

    wanderer released this 2023-08-05 16:04:07 +02:00 | 94 commits to development since this release

    Changelog

    • 31e8683 MiddlewareSession: simplify logic
    • 574693e add .air.toml [skip ci]
    • 4dfb7a7 add .golangci.yml [skip ci]
    • fee253b add .pre-commit-config.yaml,readme badge [skip ci]
    • ac7c1ae add TODOs [skip ci]
    • b78fc99 add application that handles basic config
    • f129606 add bulk changes
    • 1fcee6c add support for goreleaser [skip ci]
    • 547f6e7 add user creation
    • 97ea29d add user listing
    • c762bc1 air: build in app version [skip ci]
    • 24b62da air: don't rebuild on tmpl changes [skip ci]
    • 798f245 air: run in devel mode [skip ci]
    • 8bcb133 air: thoroughly ignore node_modules [skip ci]
    • e651235 air: update config [skip ci]
    • bef3cb2 app(logger): restore the old behaviour
    • 61760fa app/assets.go: add info on what path failed
    • 61ec8bf app: add routes_test.go
    • 741af20 app: call logger consistently
    • 5b63997 app: clarify log msg [skip ci]
    • ba869f9 app: handle global debug mode better
    • 9fd55db app: pre-declare errors
    • 9bbfbe9 app: set debug lvl also to gommon Echo logger
    • 3439ec7 app: set devel mode earlier
    • 38f7282 app: switch a couple of Info statements to Debug
    • 733f232 banner: add moar bling
    • 532934b browserSync: update what gets watched [skip ci]
    • 631013c chore: bump js deps
    • 771dc0d chore: bump npm deps
    • 8e06a87 chore: bump npm deps
    • 3328d0b chore: bump npm deps
    • 8622539 chore: clean up app pkg
    • 2533529 chore: clean up handlers pkg
    • dc0ce9b chore: clean up run.go
    • 066d5da chore: rm empty app/config.go [skip ci]
    • 02ba8bc ci,containerfile: bump golang to 1.20.6
    • 6ebf092 ci,just,pre-commit: add Containerfile
    • b33a9cf ci: add .drone.ci
    • 77a5f19 ci: add golangci-lint|godocs pipeline
    • 3250069 ci: bump curl to 8.2.0
    • 092a8c1 ci: bump golanci-lint to v1.53.3
    • 2a56ba3 ci: bump golang to 1.20.4
    • 2c3b41a ci: bump golang to 1.20.5-alpine3.18
    • 18adb45 ci: make frontend depend on pull
    • 1f427ab ci: rename 'npm i' to 'frontend'
    • fe9fd0f ci: rm vet,fmt from os pipelines
    • 48e3c49 ci: run tests sooner
    • f3b6075 ci: set GOPATH on arch to make use of caching
    • 613bb0d ci: use dedicated runners
    • dfdcc77 conf: add pretty printing,raw conf, conf tests
    • 70ec7f5 config: add fields
    • 1dc22cb config: add schemaCompatibility
    • 7eb13cf config: also take into account PCMT_DEVEL
    • ac4cc4a config: expand comment [skip ci]
    • 3a86905 config: rename LoadConfig to Load
    • 7d1c65e config: rename dir testconfigs to testdata
    • bfafc4a config: update schema
    • d9265ca config: use new form + add example [skip ci]
    • a053103 config: use the in-house logger
    • 4ceb19f containerfile: build pcmt with -trimpath [skip ci]
    • f53953e containerfile: install npm, gen stylesheet
    • ad6bcac css: stage the tailwind-built file
    • 258c6ac devenv: bump nixpkgs to 4a56ce9
    • 68b97f2 devenv: bump to latest nixpkgs
    • 44025cc dhall: create a package for config [skip ci]
    • f8df3f3 dhall: switch to using the versioned config
    • fcd723d dockerignore: add node_modules [skip ci]
    • 813d0c2 echo settings: enable rate-limiting
    • 0125bff embed: add specificity
    • 744090a enable erasing ENVs
    • e58c15f ent: add HIBP model
    • 78774ac errorPage.tmpl: increase msg font size
    • c205c5d errorPage.tmpl: update appearance [skip ci]
    • 6ce05ea feat: add initial admin user creation
    • 3a2f85f feat: add license headers (+spdx id)
    • 9eb8111 feat: bump configuration schema to 0.0.1-rc.2
    • ef6ef17 feat: don't compare pcmt.css in ci
    • 7256007 fix justfile: trimpaths -> trimpath [skip ci]
    • 0c835d0 fix(config.dhall): correct the port range
    • ecd3330 fix(just): mount actual data folder [skip ci]
    • 1ba95c3 fix(run.go): use a non-blocking channel receive
    • be17097 fix(session panic): check if nil before use
    • bde8cfc fix: properly redirect /static/* to /assets/*
    • 258d9a5 fix: set develMode again
    • 30347cd gitignore: ignore vim sessions [skip ci]
    • d99d86a go(app): use embedded variable value
    • 852cc60 go(funcmap): add sha384,sha512 funcs
    • aa63daf go(handlers): add bluemonday HTML sanitiser
    • 46cc1d6 go(handlers): split get,set funcMap funcs
    • 72723d9 go(refactor): clean up run.go
    • 094a478 go(settings): add const defaults
    • fb74533 go(settings): add domain fallback
    • e941e73 go(settings): expose default server timeouts
    • 4ccec78 go(settings): improve function docs [skip ci]
    • 416012f go(user_test): add explicit FailNow()
    • 8e25f30 go,containerfile: fix embedding version, add flag
    • ae5c4f1 go,tmpl: add usr details listing
    • eafc9c1 go,tmpl: conditionally show content to users
    • 1655d6b go: /static -> /assets in varnames,routes,dirs
    • eb555cf go: add + use sessionMaxAge
    • d5ed25f go: add a TODO [skip ci]
    • 5937a24 go: add a handler for admin endpoint(s)
    • c945c9f go: add a method to setup routes
    • f1bb52c go: add a setting val for whether db is set up
    • ffc9b74 go: add a simple caching middleware for assets
    • 6194f36 go: add app struct bearing e,logger; own startup
    • b1ab686 go: add db module for preps/checks
    • 1b2679a go: add generate mechanism for frontend
    • 2559092 go: add getters for Session{Auth,Encr}IsHex
    • 7cf26a7 go: add importFlag
    • 11de8de go: add local breach data schema
    • ed14e45 go: add more tests (+return instead of exit)
    • 345838c go: add secure middleware
    • c4d0cb2 go: add settings struct
    • 4de0576 go: add some more startup checks for DB
    • 593454d go: add user email handling + improve sessions
    • 5f85489 go: add usr updating [wip]
    • 32aa8d8 go: add+enable compression middleware
    • 0a34bca go: allow choosing db type, setting connstr
    • 64f330b go: bump deps
    • 9ac8810 go: change how logger is initialised
    • adeb6f5 go: create funcmap,bluemonday modules
    • edf720b go: create proper (non-string) ctx key in user pkg
    • fc4460d go: delete pertinent ENVs after loading settings
    • 672132a go: die even more reliably on error
    • 5cf5ba5 go: enable HEAD method for some routes
    • 6937eb7 go: explicitly close chan
    • 118c34d go: fix csrf issues
    • ff68a7d go: fix port default,flag handling
    • aadb409 go: fully switch to slogging
    • f728a97 go: handle SIGINT gracefully
    • 9ab2d0a go: handle host+port combinations,shutdown better
    • 1359750 go: handle long running shutdowns better
    • 1d42146 go: have a dynamic {asset,tmpl}Path
    • dbd0e9d go: implement session auth middleware
    • 9dbc475 go: implement the Echo renderer for templates
    • 5cfad66 go: make StartupSettings a method
    • 746eb82 go: make sure flags are properly checked
    • a879704 go: partially rework how slogging works
    • c4f8cf8 go: redirect signed users from / to /home
    • df0c280 go: redo asset handling
    • 2215383 go: refactor handlers
    • 122ea63 go: refactor template rendering
    • 85fe3d4 go: replace deprecated 'ioutil' imports by 'os'
    • 8c7c84f go: rm deadcode from app/routes.go
    • a2c1769 go: save,verify a bcrypt hash of the passwd
    • 044ed58 go: set global default {read,write} timeouts
    • 8cc43bb go: switch to a custom slog-based logging solution
    • 172703a go: use '__Host' prefix with the csrf cookie
    • 0a5d4e7 go: use enttest in tests
    • 695039e handlers(echo): use c.Bind in sign{in,up}
    • e0a7656 handlers(types): add validation
    • e2a29fa handlers,tmpl: render+log signin better errors
    • 864e2ec handlers.go: change msg log level
    • f80e060 handlers/home: redirect w/ 303 instead of 301
    • a385b19 handlers/home: render success with StatusOK
    • 468e20d handlers/index: refactor to use c.Render
    • f00b5bd handlers: add a TODO [skip ci]
    • b77c2fe handlers: add func addHeaders
    • 31ab083 handlers: add health-check endpoints
    • 608b095 handlers: clean up
    • 58c9446 handlers: clean up deadcode
    • 773b10e handlers: handle err on redirects
    • 847d4aa handlers: rename helper.go -> error.go
    • 4dad751 handlers: rm pages.go [skip ci]
    • 6ba0998 handlers: set cookie with SameSiteStrictMode
    • ff252df handlers: streamline SignupPost
    • 555bc65 handlers: update error handling
    • 50c3c93 head.tmpl: add Content Security Policy meta attr
    • 9c6fd89 head.tmpl: add referrer meta element
    • 82bc22e head.tmpl: use canonical /assets to avoid redirect
    • afc9740 healthz: use proper JSON
    • 1f8bbf7 home.tmpl: simplify layout
    • ce70bbe index.tmpl: credit gopher design
    • 7ff8aa9 initial commit
    • 5a1ec4f js: correct the commands [skip ci]
    • 17540bf just(svgo): look for tmpls in subdirs [skip ci]
    • 874cdce just,pre-commit: fix typos [skip ci]
    • 6c061fb just: add db{start,stop} targets [skip ci]
    • 279514f just: add prod target [skip ci]
    • 7b5366d just: fix db init args [skip ci]
    • f23ec56 just: fix svgo tgt by not quoting * [skip ci]
    • 9159cc3 just: make sure the db folder exists [skip ci]
    • 395ab70 just: run db with --replace [skip ci]
    • 6c47b6e just: run pg with user namespaces [skip ci]
    • 723c3fe justfile: add db init args [skip ci]
    • f33f87f justfile: add pg healthchecking
    • ecfa845 justfile: enable SELinux labelling for pg volume
    • 73ad9ad justfile: fix typo [skip ci]
    • b1c926b justfile: foolproof+document targets [skip ci]
    • 6bd3b28 log: add Debugf method
    • 9b22ec3 log: allow setting log level dynamically
    • 269c63c log: return logger on Init
    • 3c240d3 manage/user.tmpl: add CreatedAt column [skip ci]
    • fd9d1e1 manage/user.tmpl: change title style [skip ci]
    • faefe3b mod/user: add check for when usr is not found
    • 5a3ce50 mod/user: don't print out the raw usr object
    • 4f23021 mod/user: rewrite some if statements as switches
    • 0ac668d mod/usr: fix typo [skip ci]
    • e8ac4e3 modules/funcmap: add funcs to calculate SRI hashes
    • c6896bd modules/password: simplify return
    • cca2b36 navbar: fix background
    • 13b9c3b navbar: reduce the top gap + persist topside
    • 7bfa6a6 navbar: stretch to larger screen sizes
    • bb4854c nix: add devenv
    • c6378d7 pass logger ctx under key 'l'
    • e09d395 pre-commit: add go-fumpt hook [skip ci]
    • ee98ace pre-commit: rm gofumpt hook
    • 16be42a pre-commit: run golangci-lint
    • f8bfad1 readme: add custom config section [skip ci]
    • 7c200b7 readme: add goreportcard|godocs labels [skip ci]
    • 298e838 readme: add instructions on running pcmt [skip ci]
    • 774aa74 readme: add logo [skip ci]
    • af87336 readme: add pods example [skip ci]
    • 11b28e3 readme: fixes and corrections [skip ci]
    • d1c05a9 readme: update instructions [skip ci]
    • 23bd5df readme: update link to logo [skip ci]
    • 0490786 refactor(handlers): break out signin funcs
    • ce383b5 refactor: mv ctx to a later point
    • 393b1af release 0.0.1-rc.0
    • d83a4bb rename app/startup.go to app/echoSettings.go
    • 3cb2da4 routes: change 303 -> 301 for /static -> /assets
    • b537360 run.go: add license flag
    • c1e2384 run.go: make use of the ok chan
    • 9972551 run: improve config load err message
    • 355f09b set embeds early to prevent nil pointer derefs
    • 3cacea8 signin.go: change login failed msg
    • 9429870 signin.tmpl: change msg [skip ci]
    • 946360e signin.tmpl: reorder attrs [skip ci]
    • d89314e signup.tmpl:signify input field validity [skip ci]
    • 62e038f simplify: funcMap member func
    • 06c2c79 singin.tmpl: improve form
    • 1fb7479 slogger: rename Logger to Slogger
    • e442386 slogging: add a default if unknown level is set
    • 63e5a86 slogging: clean up deadcode
    • e122e26 templates(navbar): condition the link target
    • 4f69728 templates: align footer with the main container
    • 0efb419 tmpl,just: process SVGs with svgo
    • 33c9b8a tmpl: fix 500 on logout
    • 15918d4 tmpls: set required attr for form fields
    • 1d1e09e update .editorconfig [skip ci]
    • e5980b1 update TODOs [skip ci]
    • 1f11b71 user-mgmt: clear err messages + page rendering
    • 653ff23 user_details.tmpl: add email field [skip ci]
    • 61af0eb user_details.tmpl: add label padding
    • f7bcc20 user_details.tmpl: don't capitalise debug msgs
    Downloads