summaryrefslogtreecommitdiff
path: root/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Simplify POM, add more precise JPA annotations.Matthias Andreas Benkard2023-12-021-4/+5
| | | | Change-Id: I2ad299c90d578c2151b2f0b0394d50d3dab3d24f
* Change from RESTEasy Classic to RESTEasy Reactive.Matthias Andreas Benkard2023-09-067-0/+14
| | | | Change-Id: I3a3386c3a3a380b8217ac1667cc623625aeee532
* Remove dots after question mark titles.Matthias Andreas Benkard2023-08-291-0/+17
| | | | | Fixes: #18 Change-Id: I2915d246e2b614da69c2761864a3e5bd5300db14
* Fetch comments separately.Matthias Andreas Benkard2023-08-291-4/+11
| | | | | | This avoids in-memory fetch limit application. Change-Id: I37535d4e085a8be6602e45fe4a96df2b36176fd7
* HibernateFunctionContributor: Use websearch_to_tsquery database function.Matthias Andreas Benkard2023-08-071-2/+1
| | | | Change-Id: I753550e35d911a3adf428a2b789e5b30418248e1
* HibernateFunctionContributor: Fix parameter types.Matthias Andreas Benkard2023-08-071-1/+2
| | | | Change-Id: I960825eac14ece945c5b52e6889bfce6504b0821
* More Hibernate 6.2 compatibility.Matthias Andreas Benkard2023-08-067-13/+21
| | | | Change-Id: Ib06822de4e2d64419a8285c0a46b2d8931cea4c8
* Revert "De-generics-ize Post, PostText."Matthias Andreas Benkard2023-08-0610-57/+38
| | | | | | This reverts commit 475bf006583288e6544374ba7c5d085f0b4235f2. Change-Id: I78bc6e061c3cd8ecc7c8794168596e26de1e6af8
* PostTextPK: Rely on basic columns only.Matthias Andreas Benkard2023-08-061-11/+9
| | | | | | This seems to make Hibernate happier and less confused. Change-Id: I15709c54b7eddd1cc65f651738f673bf02331174
* Fix various Hibernate mapping oversights.Matthias Andreas Benkard2023-08-063-3/+3
| | | | Change-Id: Iff22c68a718d6f65734e166cd08f4049ccc196ec
* De-generics-ize Post, PostText.Matthias Andreas Benkard2023-08-0610-38/+55
| | | | | | Hibernate 6 did not like the old scheme. Change-Id: I060e077648ab54589d5b7574137c10517b4c4114
* Updates for Quarkus 3.Matthias Andreas Benkard2023-08-0679-557/+558
| | | | Change-Id: I14aff18aa1e31944619dfb6cc57955484227b298
* fix(newsletter): Do not pass DISTINCT through to SQL.Matthias Andreas Benkard2022-11-081-10/+13
| | | | | | | | This was causing an error: ERROR: for SELECT DISTINCT, ORDER BY expressions must appear in select list Change-Id: I2de3713fa1d7ca9d6f3592840a944e16cc8faa1d
* style: Reformat.Matthias Andreas Benkard2022-11-023-9/+0
| | | | Change-Id: Ie32d4f528cec794d03536eaf402de31ab2e9468e
* feat(wiki): Implement new Wiki page creation.Matthias Andreas Benkard2022-11-021-15/+37
| | | | Change-Id: I807147f3a4d105c08a9ffda130afec36dc13228a
* fix: TemporalExtensions: Work around template extension type resolution ↵Matthias Andreas Benkard2022-10-231-3/+5
| | | | | | wonkiness. Change-Id: I3e278bd1c8b03dd55d255fab1a0ca6d94cafbdde
* refactor: Consolidate Qute extensions in a separate package.Matthias Andreas Benkard2022-10-233-70/+58
| | | | Change-Id: I03526ef4f5d99db202cbbf1045e52464e2d83a9a
* KB66 Post: Order comments by date ascending rather than descending.Matthias Andreas Benkard2022-06-061-1/+1
| | | | Change-Id: If3205486b9a2acbc5578479395237f2d41be0c40
* KB66 NewsletterSender: Only consider top-level posts.Matthias Andreas Benkard2022-06-061-6/+8
| | | | Change-Id: I8a57dbdbad27e01297263b382ce557859d9b462d
* Upgrade to Quarkus 2.9.2.Final.Matthias Andreas Benkard2022-06-061-2/+2
| | | | Change-Id: I9cf42af869056b7c944c891d6dc008a640c82edc
* KB66 PostResource#postComment: Return Uni<Response>.Matthias Andreas Benkard2022-06-051-5/+6
| | | | Change-Id: I58ea7a2abd24b2f45b80f401ad0506a698993a9b
* KB66 Assign comment owner if logged in.Matthias Andreas Benkard2022-06-041-0/+5
| | | | Change-Id: I63cb2c2350f5183b7fbca335df8a06425193e015
* KB66 Add comment count to post header.Matthias Andreas Benkard2022-06-041-10/+11
| | | | Change-Id: I98fd99327fdfebaddfebe3541e6b1ccb1d78fe3c
* KB66 Add comment notification email.Matthias Andreas Benkard2022-06-042-2/+29
| | | | Change-Id: I27feecfe2d4309397b116552856227eacb7e9600
* KB66 Add comment box.Matthias Andreas Benkard2022-06-047-27/+129
| | | | Change-Id: I9bf140ded85045b09997145ed2a9fb421fedc7d4
* KB66 Add comment post form.Matthias Andreas Benkard2022-05-241-0/+4
| | | | Change-Id: Iac22d115f0d1c59eb273a26d720c07f6d1b11077
* MarkdownConverter: Permit abbr, acronym tags.Matthias Andreas Benkard2022-05-071-1/+6
| | | | Change-Id: I5669fa48e0ff1521838ae62e2439a5feb6b1445b
* Format tables with a bit more spacing.Matthias Andreas Benkard2022-05-071-2/+6
| | | | Change-Id: Iba0dcabce7a0841dbb0f5cf795cb2d684faf7462
* MarkdownConverter: Add AbbreviationExtension.Matthias Andreas Benkard2022-05-041-1/+2
| | | | Change-Id: Ib718177935b05b35c4be2d9979975c261e774743
* MarkdownConverter: Enable FootnoteExtension.Matthias Andreas Benkard2022-05-031-1/+4
| | | | Change-Id: I6c7018edfd4e41e54390c397a3ba675d30ccabc6
* Post: Fix typo in bookmarks query for logged-in users.Matthias Andreas Benkard2022-04-091-1/+1
| | | | Change-Id: Ibe6cd7cbdcf3abd9af189c9dd026a8562ad2b67c
* Update dependencies.Matthias Andreas Benkard2022-04-032-1/+9
| | | | Change-Id: Id97c8c7f160e67fbf9f79b00482ebd558727a38e
* Use Blaze Persistence for criteria queries.Matthias Andreas Benkard2022-03-204-63/+101
| | | | | | | | Blaze Persistence is more flexible, but also less type-safe than JPA Criteria. This change explores what the changes look like and how efficient the resulting queries are. Change-Id: Ia47e4f0280d451e0381f58ece297c5bc06604289
* Update dependencies.Matthias Andreas Benkard2022-03-193-4/+9
| | | | Change-Id: I94904259a5d8dd4b8011ae578632fb9cd646c93e
* KB66 LazychatMessage: Make LazychatReference into a @ManyToMany association.Matthias Andreas Benkard2021-08-013-92/+14
| | | | Change-Id: I6616c0e9dc6416abcc2e85c38924e5ca7045c062
* KB66 Sanitize HTML in posts.Matthias Andreas Benkard2021-07-181-1/+4
| | | | Change-Id: I4987c74e90befb226f1bf1f06129a665f32544bf
* KB66 Use a MessageLogger for logging.Matthias Andreas Benkard2021-07-177-25/+37
| | | | Change-Id: Ice21e79d23725beb104a3dcf999f5e68960e9435
* KB66 Upgrade to Quarkus 2.0.2, fix authentication.Matthias Andreas Benkard2021-07-171-1/+1
| | | | Change-Id: I251fbdbe915e32aaeb8daa087691853da17f4799
* KB66 Use type-safe templates everywhere.Matthias Andreas Benkard2021-07-0510-100/+108
| | | | Change-Id: I879e76e5bbaf91349f6df4637d9dc15291a3ada1
* KB66 Add editor role.Matthias Andreas Benkard2021-07-046-2/+90
| | | | Change-Id: Ibcf94b6532ccb1602bf169ffb434b75557767598
* Update dependencies.Matthias Andreas Benkard2021-06-283-3/+3
| | | | Change-Id: Ibca1be39b37f76ad9dfe743087959559d3f65d2a
* Newsletter: Address to self.Matthias Andreas Benkard2021-02-061-0/+4
| | | | | | | | | | An empty To: header is rejected by WEB.DE. Therefore, adding a primary recipient is necessary even if no obvious one exists. This change makes the NewsletterSender's own address the primary recipient, circumventing the problem. Change-Id: I78febdd1f57b3f5737d83334972867ec9e4781d8
* Replace raw-type uses of Post with Post<?>.Matthias Andreas Benkard2021-02-062-4/+4
| | | | Change-Id: I3ba2094ea9471d8d86af7c8d6a537d7eb43961de
* KB66 Post: Add scope field.Matthias Andreas Benkard2021-01-302-0/+23
| | | | | | | The scope field defines whether a post is a top-level post or a comment and is used to select posts for the main feed. Change-Id: I44363e3e67acbecff9844730a513ddb1d554afaf
* Act as if everything was fine if an invalid registration key is used.Matthias Andreas Benkard2020-12-171-7/+1
| | | | Change-Id: I78066954fef2e6afd9e49d56bd4c4060ad59796c
* Work around authentication check blocking-call bug in Quarkus 1.10.x.Matthias Andreas Benkard2020-12-171-3/+4
| | | | | | | | | | | | | A bug causes authentication checks to fail when performed from inside a reactive operation: https://github.com/quarkusio/quarkus/issues/13835 To avoid such a reactive operation, we now render the HTML template eagerly even in NewsletterResource#register, which is otherwise a reactive implementation. Change-Id: I26d6c1cc76eaa041a04c106b7cf06f024a0cded3
* KB68 Only put public posts into the newsletter.Matthias Andreas Benkard2020-11-032-3/+10
| | | | Change-Id: Iee7f4dfd14820c19179c43be71759f209caa9989
* KB68 Automatic expiry of unconfirmed newsletter subscriptions.Matthias Andreas Benkard2020-11-031-0/+25
| | | | Change-Id: Iae05f0cac1bacc7e1929a0b3a72d506241c2ece3
* KB68 Newsletter registration and deregistration.Matthias Andreas Benkard2020-11-035-2/+188
| | | | Change-Id: Ic79fe64f03ce887879bffc7623e59cb697065ee6
* KB68 Implement newsletter sending.Matthias Andreas Benkard2020-11-014-4/+191
| | | | Change-Id: I1d56e40d7f35d6be77fde1a1e8519a91bd2dc3b8