Commit graph

126 commits

Author SHA1 Message Date
AKP
1c542bd35b
Do not mistakenly transform unsafe characters into JSON notation when sending from the server as pre-set form values 2025-02-11 16:26:03 +00:00
AKP
940680fc1b
Flip inverted boolean check 2025-02-11 12:19:56 +00:00
AKP
6b54dfa01d
v0.4.3 2025-02-11 00:59:55 +00:00
AKP
b95ae4d4bd
Use batch insert when loading OPML
This is many many times faster (very noticeably) than using one query per feed as it was before.
2025-02-10 22:59:03 +00:00
AKP
83a0816f8c
Do not update feed item index when sending test emails
Previously this caused items to be missed from the main, scheduled emails.
2025-02-10 22:19:24 +00:00
AKP
53b85e8fab
Do not index feed items at addition time
This is now handled gracefully in the processor logic.
2025-02-10 22:13:37 +00:00
AKP
b8181ee20e
Use old time-based new item detection method when no known feed items exist in the database
This can happen after a database migration, when a set of feeds are imported/first added.
2025-02-10 22:12:34 +00:00
AKP
30f4549463
Prevent nil dereference when feeds without published dates are processed 2025-02-09 23:58:14 +00:00
AKP
b647a12e4f
v0.4.1 2025-02-09 23:51:10 +00:00
AKP
cb7bfd7b18
Update CHANGELOG.md 2025-02-09 23:50:12 +00:00
AKP
10c1604d37
Disable unused function 2025-02-09 23:46:07 +00:00
AKP
759c3ee920
Handle zero length lists of new feed items 2025-02-09 23:45:44 +00:00
AKP
612ffa3257
Filter by unseen posts 2025-02-09 23:40:02 +00:00
AKP
59b1fb1753
Cache feed items when adding new feed 2025-02-09 23:29:13 +00:00
AKP
0a94d685fd
Use errors.As in HTTP error handler 2025-02-09 23:25:15 +00:00
AKP
9fc768ba08
Enable foreign key support in SQLite 2025-02-09 22:56:16 +00:00
AKP
aed9fe5d5f
Cache feed data in database 2025-02-09 22:46:06 +00:00
AKP
4dbbdadd90
Conver migrations to plain SQL 2025-02-09 22:17:19 +00:00
AKP
816df8a320
v0.4.0 2025-02-09 01:31:44 +00:00
AKP
1ac2492682
Fixup email settings
Adds support for switching between STARTTLS, TLS and no TLS. Adds support for not specifying a username and password.

Fixes #5
2025-02-09 01:29:09 +00:00
AKP
948108217c
Always build with latest Go v1 release 2025-01-25 13:13:13 +00:00
AKP
112c0777e8
Make including contact information in the user agent optional 2025-01-25 13:11:49 +00:00
AKP
e70a4c43cd
fix: clear cached content when feed URL changes
Also prepare release 0.3.8
2025-01-18 12:49:58 +00:00
AKP
31a45aa27a
Add logo_light_square.png 2023-04-13 15:53:50 +01:00
AKP
e9a34200b0
Prepare v0.3.7
Signed-off-by: AKP <tom@tdpain.net>
2023-04-08 16:56:43 +01:00
AKP
2f3caba65e
Fix potential race condition
Due to a use of `RLock` in place of `Lock` in test email status
reporting code, a race condition could arise when more than one
user is running a test email.

Signed-off-by: AKP <tom@tdpain.net>
2023-04-08 16:53:45 +01:00
AKP
7823331522
Tweak URL paths
Signed-off-by: AKP <tom@tdpain.net>
2023-04-08 16:52:43 +01:00
AKP
f8e4745cd6
Alter 2 files
Update `CHANGELOG.md`
Update `Dockerfile`
2023-02-25 12:59:26 +00:00
akp
07570ed1ea
Merge pull request #4 from codemicro/dependabot/go_modules/golang.org/x/crypto-0.1.0
Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0
2023-02-25 12:54:43 +00:00
dependabot[bot]
2d2d661426
Bump golang.org/x/crypto from 0.0.0-20220214200702-86341886e292 to 0.1.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20220214200702-86341886e292 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 12:54:14 +00:00
akp
0bb9cd1bb3
Merge pull request #3 from codemicro/dependabot/go_modules/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.0.0-20220624214902-1bab6f366d9e to 0.7.0
2023-02-25 12:53:37 +00:00
dependabot[bot]
b03951ab7f
Bump golang.org/x/net from 0.0.0-20220624214902-1bab6f366d9e to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220624214902-1bab6f366d9e to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-25 12:52:31 +00:00
AKP
1d63955383
Add space for contact information in user agent
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 18:15:32 +00:00
AKP
71a66855bc
Update changelog format
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 17:44:34 +00:00
AKP
c2b9060482
Include version number in email footer
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 17:42:14 +00:00
AKP
5a132ac1bb
Update CHANGELOG.md 2023-01-19 17:36:47 +00:00
AKP
cd1c867e10
Support Last-Modified header
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 17:35:21 +00:00
AKP
4a3458b9a8
Alter user agent when in debug mode
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 15:11:18 +00:00
AKP
7508401462
Support checking ETags on RSS feeds
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 15:10:48 +00:00
AKP
b495673714
Update schema to store ETags and cached content
Signed-off-by: AKP <tom@tdpain.net>
2023-01-19 15:00:34 +00:00
AKP
a902dcd07c
Update CHANGELOG.md 2022-08-31 12:55:54 +01:00
AKP
14ca4920e1
Replace faulty error assertion
mattn/go-sqlite3 returns errors as `sqlite3.Error`, not
`*sqlite3.Error` as was in use. This commit switches references of
the latter with the former in user registration logic.

This commit also removes some duplicated code from the user
registration process.

Fixes #2

Signed-off-by: AKP <tom@tdpain.net>
2022-08-31 12:51:29 +01:00
AKP
d78c2af7aa
Change call to database instance to NewDelete() from NewSelect()
This was introduced in v0.3.0

Fixes #1

Signed-off-by: AKP <tom@tdpain.net>
2022-08-31 12:43:11 +01:00
akp
42b4756f67
Update README.md 2022-08-15 20:03:43 +01:00
akp
c7f91d227e
Update README.md 2022-08-15 20:02:16 +01:00
AKP
46931ba343
Update CHANGELOG.md 2022-08-13 23:03:13 +01:00
AKP
2f0fdd25d6
Add OIDC support
Signed-off-by: AKP <tom@tdpain.net>
2022-08-13 23:01:45 +01:00
AKP
b91f9d6a5e
Update version.go 2022-08-13 20:11:01 +01:00
AKP
9b0e1c7470
Set version number when building in CI
Signed-off-by: AKP <tom@tdpain.net>
2022-08-13 20:10:43 +01:00
AKP
d2d07b70ff
Update CHANGELOG.md 2022-08-13 18:34:36 +01:00