Files
ntfy/server
binwiederhier 4e5f95ba0c Refactor webpush store to eliminate code duplication
Consolidate SQLite and Postgres store implementations into a single
commonStore with database-specific SQL queries passed via configuration.
This eliminates ~100 lines of duplicate code while maintaining full
functionality for both backends.

Key changes:
- Move all store methods to commonStore in store.go
- Remove sqliteStore and postgresStore wrapper structs
- Refactor SQLite to use QueryRow() pattern like Postgres
- Pass database-specific queries via storeQueries struct
- Make store types unexported, only expose Store interface

All tests pass for both SQLite and PostgreSQL backends.
2026-02-16 19:53:34 -05:00
..
2025-07-19 21:32:05 +02:00
2025-07-19 15:37:05 +02:00
2023-11-16 20:54:58 -05:00
2026-01-17 14:43:43 -05:00
2026-01-17 14:43:43 -05:00
2023-11-16 20:54:58 -05:00
2023-11-16 20:54:58 -05:00
2026-01-18 16:04:42 -05:00
2026-01-18 16:04:42 -05:00
2026-02-08 14:28:27 -05:00
2026-02-08 14:28:27 -05:00
2026-01-13 20:50:31 -05:00
2023-11-16 20:54:58 -05:00
2023-11-16 20:54:58 -05:00
2023-05-15 22:06:43 -04:00
2025-08-08 15:16:53 -04:00
2026-01-18 10:46:15 -05:00
2024-09-29 13:12:51 -04:00
2024-09-29 13:12:51 -04:00
2024-08-07 17:29:54 -07:00
2025-07-21 11:46:22 +02:00
2024-09-29 13:12:51 -04:00
2023-11-16 20:54:58 -05:00
2025-07-07 16:49:15 +02:00
2025-07-04 10:16:49 +02:00