alby-hub/api
klabo 4353aa4e57
feat: add HIDE_UPDATE_BANNER environment variable (#2051)
* feat: add HIDE_UPDATE_BANNER environment variable

Add a new HIDE_UPDATE_BANNER env var that allows platform operators
(e.g. Start9) to suppress the built-in version update banner when
they provide their own update notification mechanism.

When set to true, the "What's New" widget is hidden and the header
banner only shows for VSS migration notices. The version comparison
against the Alby API is skipped entirely.

Closes #2048

* chore: simplify

* chore: undo changes

---------

Co-authored-by: Joel Klabo <max@klabo.world>
Co-authored-by: im-adithya <imadithyavardhan@gmail.com>
2026-02-10 22:30:08 +05:30
..
api.go feat: add HIDE_UPDATE_BANNER environment variable (#2051) 2026-02-10 22:30:08 +05:30
api_test.go feat: proposal: custom node commands (#1007) 2025-01-30 18:20:17 +07:00
apps_test.go Feat: NWA auth for self-hosted hubs (#1016) 2025-02-27 19:12:55 +07:00
backup.go fix: disable restore backup when using postgres db backend (#1361) 2025-06-02 14:06:23 +07:00
esplora.go chore: use NewRequestWithContext instead of NewRequest (#1677) 2025-09-02 19:52:30 +07:00
lsp.go chore: enable 0-conf for LDK flashsats channels (#1884) 2025-11-07 00:13:10 +07:00
models.go feat: add HIDE_UPDATE_BANNER environment variable (#2051) 2026-02-10 22:30:08 +05:30
rebalance.go feat: rebalance through node pubkey (#1731) 2025-09-19 12:30:51 +07:00
transactions.go feat: rebalance through node pubkey (#1731) 2025-09-19 12:30:51 +07:00