websub-hub
3 years agoupdate dependencies and devDependencies to latest
Justin Wind [Fri, 27 Aug 2021 21:37:55 +0000 (14:37 -0700)]
update dependencies and devDependencies to latest

3 years agoexpired subscriptions and deleted topics with no subscribers are now removed from...
Justin Wind [Sat, 21 Aug 2021 21:51:47 +0000 (14:51 -0700)]
expired subscriptions and deleted topics with no subscribers are now removed from the database

Expired subscriptions are removed when a topic is updated, and topics
set to deleted state are removed when the last subscriber is notified.

3 years agopublish requests may now include multiple topic urls
Justin Wind [Fri, 20 Aug 2021 22:28:36 +0000 (15:28 -0700)]
publish requests may now include multiple topic urls

All publish notification urls passed in are now considered for topic
updates.

3 years agoupdate changelog
Justin Wind [Mon, 23 Aug 2021 22:09:54 +0000 (15:09 -0700)]
update changelog

3 years agoMerge branch 'v1.1-dev' as v1.1.5 v1.1.5
Justin Wind [Mon, 23 Aug 2021 22:06:12 +0000 (15:06 -0700)]
Merge branch 'v1.1-dev' as v1.1.5

3 years agobump package version to 1.1.5
Justin Wind [Mon, 23 Aug 2021 22:05:17 +0000 (15:05 -0700)]
bump package version to 1.1.5

3 years agoverifications will not be processed until their topic is active
Justin Wind [Mon, 23 Aug 2021 21:56:09 +0000 (14:56 -0700)]
verifications will not be processed until their topic is active

Updates db schema to 1.0.1, replaces the view of needed verification
work.

3 years agofix sqlite subscription data to return native dates
Justin Wind [Mon, 23 Aug 2021 21:51:51 +0000 (14:51 -0700)]
fix sqlite subscription data to return native dates

This resolves the admin subscription page not displaying, when using
sqlite backend.

3 years agoworker tasks return to having their own db conncetions
Justin Wind [Mon, 23 Aug 2021 20:19:05 +0000 (13:19 -0700)]
worker tasks return to having their own db conncetions

This reverts the intent of 9f9d3c8.  Sharing a connection apparently
means transactions will become interleved.

3 years agoMerge branch 'v1.1-dev' as v1.1.4 v1.1.4
Justin Wind [Mon, 16 Aug 2021 22:37:50 +0000 (15:37 -0700)]
Merge branch 'v1.1-dev' as v1.1.4

3 years agobump package version to 1.1.4
Justin Wind [Mon, 16 Aug 2021 22:36:05 +0000 (15:36 -0700)]
bump package version to 1.1.4

3 years agoallow customizing html footer via config
Justin Wind [Mon, 16 Aug 2021 20:29:39 +0000 (13:29 -0700)]
allow customizing html footer via config

3 years agofix a postgres-listener test
Justin Wind [Mon, 16 Aug 2021 18:45:50 +0000 (11:45 -0700)]
fix a postgres-listener test

3 years agofix db schema version check
Justin Wind [Mon, 16 Aug 2021 18:42:50 +0000 (11:42 -0700)]
fix db schema version check

3 years agoignore invocation of worker process if already running
Justin Wind [Mon, 16 Aug 2021 18:38:48 +0000 (11:38 -0700)]
ignore invocation of worker process if already running

also catch any errors thrown when invoking by admin api

3 years agoupdate devDependencies to latest
Justin Wind [Mon, 16 Aug 2021 18:35:54 +0000 (11:35 -0700)]
update devDependencies to latest

3 years agoMerge branch 'v1.1-dev' as v1.1.3 v1.1.3
Justin Wind [Fri, 13 Aug 2021 22:55:14 +0000 (15:55 -0700)]
Merge branch 'v1.1-dev' as v1.1.3

3 years agobump package version to 1.1.3
Justin Wind [Fri, 13 Aug 2021 22:54:08 +0000 (15:54 -0700)]
bump package version to 1.1.3

3 years agoworker tasks now share one db context, rather than one per task
Justin Wind [Fri, 13 Aug 2021 18:57:20 +0000 (11:57 -0700)]
worker tasks now share one db context, rather than one per task

When using Postgres, each context is a connection.  Moved the context
creation into the worker so that all tasks can use one connection when
its processing, which is much healthier for the database.

3 years agocorrect some method names in error logs
Justin Wind [Fri, 13 Aug 2021 18:55:43 +0000 (11:55 -0700)]
correct some method names in error logs

3 years agoMerge branch 'v1.1-dev' as v1.1.2 v1.1.2
Justin Wind [Wed, 11 Aug 2021 19:58:12 +0000 (12:58 -0700)]
Merge branch 'v1.1-dev' as v1.1.2

3 years agobump package version to 1.1.2
Justin Wind [Wed, 11 Aug 2021 19:57:34 +0000 (12:57 -0700)]
bump package version to 1.1.2

3 years agomention github mirror in html footer
Justin Wind [Wed, 11 Aug 2021 19:56:37 +0000 (12:56 -0700)]
mention github mirror in html footer

3 years agoparse topic content-types to recode content with non-utf8 charsets
Justin Wind [Wed, 11 Aug 2021 19:00:20 +0000 (12:00 -0700)]
parse topic content-types to recode content with non-utf8 charsets

Parse the entire content-type header, to make use of any charset
parameter, before parsing content for links.

3 years agofix feed parser links to always be list
Justin Wind [Tue, 10 Aug 2021 22:33:46 +0000 (15:33 -0700)]
fix feed parser links to always be list

3 years agoMerge branch 'v1.1-dev' as v1.1.1 v1.1.1
Justin Wind [Tue, 10 Aug 2021 21:33:07 +0000 (14:33 -0700)]
Merge branch 'v1.1-dev' as v1.1.1

3 years agobump package version to 1.1.1
Justin Wind [Tue, 10 Aug 2021 21:32:22 +0000 (14:32 -0700)]
bump package version to 1.1.1

3 years agoignore content-type encoding when choosing a parser for topic data
Justin Wind [Tue, 10 Aug 2021 21:25:42 +0000 (14:25 -0700)]
ignore content-type encoding when choosing a parser for topic data

Now it will properly strip any encoding from content-type header before
comparing against available parsers.

3 years agoMerge branch 'v1.1-dev' as v1.1.0 v1.1.0
Justin Wind [Mon, 9 Aug 2021 16:54:43 +0000 (09:54 -0700)]
Merge branch 'v1.1-dev' as v1.1.0

3 years agobump package version to 1.1.0
Justin Wind [Mon, 9 Aug 2021 16:53:29 +0000 (09:53 -0700)]
bump package version to 1.1.0

3 years agofix and enforce indent rules
Justin Wind [Sun, 8 Aug 2021 19:05:24 +0000 (12:05 -0700)]
fix and enforce indent rules

3 years agoadd caching for topic content db calls (Postgres only)
Justin Wind [Thu, 5 Aug 2021 22:11:21 +0000 (15:11 -0700)]
add caching for topic content db calls (Postgres only)

Cache topicContentGetById responses, to avoid many large-payload db
calls when updating subscribers.  Currently only enabled for Postgres,
which uses the LISTEN/NOTIFY mechanism on topic updates to invalidate
cache entries, ensuring data consistency.

3 years agorenamed database schemaCheck method to initialize
Justin Wind [Thu, 5 Aug 2021 16:18:19 +0000 (09:18 -0700)]
renamed database schemaCheck method to initialize

As more functionality had been heaped onto this method, it's name was
updated to be more fitting.

3 years agominor tweaks to theme.css and html footer
Justin Wind [Mon, 2 Aug 2021 17:14:41 +0000 (10:14 -0700)]
minor tweaks to theme.css and html footer

- adjusted body margins so that short pages shouldn't have a scroll bar
- fixed footer links to be proper list
- fixed footer list css

3 years agoInitial release v1.0.0
Justin Wind [Fri, 2 Jul 2021 04:07:11 +0000 (21:07 -0700)]
Initial release

3 years agoroot commit (empty) v0.0.0
Justin Wind [Fri, 16 Apr 2021 17:46:37 +0000 (10:46 -0700)]
root commit (empty)