Athou
f979f5426f
reformat using google-java-format 2.0
2026-10-30 19:39:53 +01:00
Athou
911a5ca099
reorder imports using google java format
2026-07-29 20:36:03 +02:00
Athou
1bd9b71215
use google java formatter to avoid downloading eclipse during build
2026-07-05 11:14:17 +02:00
Athou
a5f84a3f6d
search now also works for starred entries ( #2217 )
2026-07-04 17:57:08 +02:00
Athou
f207bfaddd
format empty records and anonymous types as a single line
2026-05-08 17:56:26 +02:00
Athou
6d2fb5acc2
refactor
2026-04-10 15:17:27 +02:00
Ingo Kegel
1d23907652
Use batched IN clause for GUID existence check during feed refresh
...
Instead of fetching all existing GUID hashes for a feed from the database only check the GUIDs present in the current feed XML using a SQL IN clause. GUIDs are partitioned into batches of 1000.
Also adds an integration test verifying that refreshing an up-to-date feed does not create duplicate entries.
2026-04-10 10:13:37 +02:00
Ingo Kegel
76dbbdfbf9
batch guid existence check on feed refresh
...
Instead of querying the database once per entry to check if it already
exists, fetch all existing guids for a feed in a single query upfront
and filter new entries in memory before the per-entry loop.
The per-entry findExisting call inside addEntry is kept as a safety net
for concurrent inserts, but is now only reached for new entries.
Profiling in real usage showed a ~50% reduction in guidHash queries,
with the check falling from the most expensive query to sixth in the ranking.
2026-03-18 18:56:40 +01:00
Athou
3fd5cfdecd
add a setting to mark entries of a feed as read after a number of days ( #2041 )
2026-02-20 13:24:40 +01:00
Athou
6fa8d4be34
keep starred entries ( #1581 )
2026-02-09 06:59:41 +01:00
Athou
a080ede15b
add a setup landing page instead of creating a default admin account
2026-01-10 17:30:22 +01:00
Athou
297c76006a
use more records
2025-10-02 21:54:40 +02:00
Athou
58bf86d25d
remove warnings
2025-07-30 13:30:27 +02:00
Athou
d6df979d0d
remove more warnings
2025-07-19 23:47:22 +02:00
Athou
3f09e3ca64
remove warnings
2025-07-19 11:33:38 +02:00
Athou
d46ee7f673
remove deprecated usage of saveOrUpdate in preparation of hibernate 7
2025-06-13 14:49:22 +02:00
Athou
fb7f041454
normalize line endings
2025-03-10 08:48:26 +01:00
Athou
1aa263a6c0
simplify UnitOfWork code
2025-03-03 22:29:21 +01:00
Athou
c1305b56e3
insert jakarta imports where javax import were positioned
2025-03-02 11:37:06 +01:00
Athou
ba496c1395
no longer fetch feeds without subscriptions
2024-09-10 11:16:25 +02:00
Athou
e38ca66c51
try to fix "Illegal attempt to associate a ManagedEntity with two open persistence contexts"
2024-08-17 16:22:46 +02:00
Athou
5b77860189
use join to speed up cleanup
2024-08-16 17:42:15 +02:00
Athou
ab334a7bc6
feed needs to be known to be deleted
2024-08-16 07:31:22 +02:00
Athou
643954f7c9
timeout should be an Integer
2024-08-16 05:48:01 +02:00
Athou
47d39831d3
use Duration for query timeout
2024-08-15 09:05:56 +02:00
Athou
cc32f8ad16
WIP
2024-08-13 12:48:37 +02:00
Athou
fa197c33f1
rename field accordingly
2024-07-14 20:37:01 +02:00
Athou
f13368cb96
remove unnecessary joins
2024-07-06 13:40:53 +02:00
Athou
d4c9bd1dd7
remove warnings
2024-07-03 20:11:51 +02:00
Athou
0dec0e3788
fix a race condition where a feed could be refreshed before it was created
2024-07-03 14:21:40 +02:00
Athou
93acc9ded1
we don't need the user we already have the subscription
2024-07-01 13:55:50 +02:00
Athou
82bf8cd807
fetch all tags at once
2024-07-01 08:52:05 +02:00
Athou
c2f2780c3f
remove unused onlyIds parameter
2024-07-01 08:52:05 +02:00
Athou
08f71d1f6f
implement faster querying by fetching directly what we need
2024-07-01 08:52:05 +02:00
Athou
347b41cf35
fix exception when trying to mark starred entries as read
2024-06-30 16:50:37 +02:00
Athou
468f2e4c76
remove warnings
2024-06-11 07:02:38 +02:00
Athou
f171d05088
querydsl is no longer maintained, use an active fork
2024-06-10 12:17:36 +02:00
Athou
c624955ea4
websocket notification now takes entry filtering into account ( #1191 )
2024-01-24 15:47:37 +01:00
Athou
69c9988404
migrate from java.util.Date to java.time
2024-01-08 21:58:40 +01:00
Athou
1292018de0
add setting to delete old entries
2024-01-07 20:49:02 +01:00
Athou
da4143fa13
multiple feeds may have the same url hash
2024-01-07 17:51:22 +01:00
Athou
deb51f2ccc
rename FixedSizeSortedSet to FixedSizeSortedList because it's actually a list
2024-01-07 17:51:22 +01:00
Athou
7b335e2fd4
feed refresh engine now uses its own immutable model
2024-01-07 17:51:22 +01:00
Athou
9cd1cde571
apply intellij fixes
2023-12-27 09:22:55 +01:00
Athou
00faf44c94
remove wonky pubsub support
2023-12-18 10:15:43 +01:00
Athou
fd0e5426e5
upgrade to dropwizard 4.x
2023-12-17 15:10:57 +01:00
Athou
d7b0d572c1
add fever-compatible api
2023-09-05 11:04:52 +02:00
Athou
922346bef6
fetch only ids to improve performance during cleanup
2023-07-01 22:54:28 +02:00
Athou
c835d805b1
restore a version of findNextUpdatable that handles inactive users better than the one we removed a while ago
2023-06-16 15:27:39 +02:00
Athou
bb25e0ede6
intellij autofixes
2023-05-31 07:27:24 +02:00