summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Wiki: Rebundle Content Tools.Matthias Andreas Benkard2022-11-015-56/+60
| | | | | | | | | | | Content Tools was previously wrapped into an ECMAScript module through the use of Snowpack. This mechanism broke some time ago, making the wiki uneditable. Content Tools is now imported as is, which simplifies its packaging and restores it to a working state. Change-Id: I49d2d625bc955a260a63c47bcaceb23b61366123
* fix: TemporalExtensions: Work around template extension type resolution ↵Matthias Andreas Benkard2022-10-231-3/+5
| | | | | | wonkiness. Change-Id: I3e278bd1c8b03dd55d255fab1a0ca6d94cafbdde
* chore: Update dependencies.Matthias Andreas Benkard2022-10-232-138/+135
| | | | Change-Id: I5b94c17f2d2dbd7b19957d212ee879c2cc04ad38
* refactor: Consolidate Qute extensions in a separate package.Matthias Andreas Benkard2022-10-233-70/+58
| | | | Change-Id: I03526ef4f5d99db202cbbf1045e52464e2d83a9a
* Update dependencies.Matthias Andreas Benkard2022-09-042-5609/+2096
| | | | Change-Id: I6ec407e7b73cd579c33344e791ab915799b43881
* 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-062-2/+15
| | | | Change-Id: I9cf42af869056b7c944c891d6dc008a640c82edc
* KB66 Make ESLint happy.Matthias Andreas Benkard2022-06-052-8/+13
| | | | Change-Id: If77c7740cd9b776f9c043b246a444788093b0a42
* 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-042-2/+7
| | | | Change-Id: I63cb2c2350f5183b7fbca335df8a06425193e015
* KB66 Add comment count to post header.Matthias Andreas Benkard2022-06-044-13/+24
| | | | Change-Id: I98fd99327fdfebaddfebe3541e6b1ccb1d78fe3c
* KB66 Add comment notification email.Matthias Andreas Benkard2022-06-044-2/+38
| | | | Change-Id: I27feecfe2d4309397b116552856227eacb7e9600
* KB66 Add comment box.Matthias Andreas Benkard2022-06-0410-37/+157
| | | | Change-Id: I9bf140ded85045b09997145ed2a9fb421fedc7d4
* KB66 Add comment post form.Matthias Andreas Benkard2022-05-245-1/+89
| | | | Change-Id: Iac22d115f0d1c59eb273a26d720c07f6d1b11077
* Fix semantic HTML.Matthias Andreas Benkard2022-05-241-16/+16
| | | | | | | | | | | | Applies recommendations by https://validator.w3.org/nu/: - Replaces untitled sections with divs. (Sections are supposed to represent semantic, not structural, units.) - Replaces bookmark title h1. with h2s. (While not strictly required according to the HTML spec, you are supposed to make heading levels independent of semantic structure tags.) Change-Id: I81c634b67bb1044214b5f88a7e05f00d8ba87d5c
* MlkBookmarkSubmissionForm: Add initializers back.Matthias Andreas Benkard2022-05-201-0/+3
| | | | | | | The initializers were mistakenly removed, but they are needed for bookmarklet-driven bookmark submission. This adds them back. Change-Id: I565e5b3f372da826224d96dddf568295af552744
* Remove runtime container image recipe (moved to “container-images” ↵Matthias Andreas Benkard2022-05-184-88/+0
| | | | | | repository). Change-Id: I35f3c0252b1002afd50e7f4bf9509fe2f5f3992b
* Container image: Trim of unused modules.Matthias Andreas Benkard2022-05-181-1/+1
| | | | | | | | | | | | The list of modules was obtained by: jdeps --print-module-deps \ --multi-release 18 \ --class-path (find target/quarkus-app -name \*.jar | paste -sd:) \ --ignore-missing-deps \ target/quarkus-app/app/*.jar Change-Id: Ie63ff85c459e748270b694b657e1ffbfd7234e4c
* Use a custom OpenJDK base container image.Matthias Andreas Benkard2022-05-185-2/+89
| | | | Change-Id: I9b24bdaf5f07974de12ae408df3b9a25e8268a48
* KB118 MlkBookmarkSubmissionForm: Set descriptionInput.{innerText => value}.Matthias Andreas Benkard2022-05-181-5/+1
| | | | Change-Id: Ie500e369fa414039bcb1a35aab6fcf456d84956c
* Disable dev mode Hibernate validation.Matthias Andreas Benkard2022-05-071-0/+1
| | | | Change-Id: I8988c116680c7ccdcf40b41770ada30573c63ff6
* 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-072-2/+10
| | | | 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-033-2/+10
| | | | Change-Id: Id97c8c7f160e67fbf9f79b00482ebd558727a38e
* Use Blaze Persistence for criteria queries.Matthias Andreas Benkard2022-03-205-65/+103
| | | | | | | | 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-172-1/+2
| | | | Change-Id: I251fbdbe915e32aaeb8daa087691853da17f4799
* KB66 Use type-safe templates everywhere.Matthias Andreas Benkard2021-07-0514-194/+182
| | | | Change-Id: I879e76e5bbaf91349f6df4637d9dc15291a3ada1
* KB66 Add editor role.Matthias Andreas Benkard2021-07-048-3/+98
| | | | Change-Id: Ibcf94b6532ccb1602bf169ffb434b75557767598
* Update dependencies.Matthias Andreas Benkard2021-06-285-5/+5
| | | | 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
* Add name to From header in newsletters.Matthias Andreas Benkard2021-02-061-2/+2
| | | | Change-Id: Ic3c8061b0018fab1cdaa9eba3e1f8392635444d2
* Fix unsubscription email address.Matthias Andreas Benkard2021-02-062-2/+2
| | | | Change-Id: Iac6491ead60a969e38634c72fdec29f00890c2ce
* KB66 Post: Add scope field.Matthias Andreas Benkard2021-01-304-0/+82
| | | | | | | 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
* Turn on JEP 346 (Promptly Return Unused Committed Memory from G1).Matthias Andreas Benkard2021-01-221-0/+1
| | | | | | | | | | | | | | | | | | | This tunes G1 so it performs a full GC and releases the memory reclaimed back to the OS once every 5 minutes. See: https://openjdk.java.net/jeps/346 Before: NAME CPU(cores) MEMORY(bytes) mulkcms2-857469cf-p9rvx 1m 428Mi After: NAME CPU(cores) MEMORY(bytes) mulkcms2-74d8c8f69-wvfz8 3m 337Mi Change-Id: I2f6272ad83665f9ee0810c435d0511fd8807697d
* Switch to Azul Zulu.Matthias Andreas Benkard2020-12-211-2/+2
| | | | | | | | The Alpine Zulu 15-jre Docker image is much smaller than the OpenJDK 15-slim image (65 MB vs. 200 MB), which is a good enough reason to switch to it. Change-Id: Ibde104f6f4217b06af756e842e45f07e243509db
* 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
* Make navigation in portrait mode more finger-friendly again.Matthias Andreas Benkard2020-12-162-10/+27
| | | | Change-Id: I30c20e67c61259d6029055800db3131eeeeb0e46
* Make navigation in portrait mode more compact.Matthias Andreas Benkard2020-12-165-13/+111
| | | | | | | - Moves secondary navigation items to the footer. - Reduces primary navigation items to two lines. Change-Id: Id104bb051c48bcd1f8ff97b0ecd3e198a7531cd1
* Fix <strong> and <b> font weights.Matthias Andreas Benkard2020-11-101-0/+5
| | | | | | Pure CSS defaulted them to 'bolder', which is wrong. Change-Id: Iac8b527f81d1d9cb4c93b301d6eda76641f7a3b7
* KB68 Only put public posts into the newsletter.Matthias Andreas Benkard2020-11-032-3/+10
| | | | Change-Id: Iee7f4dfd14820c19179c43be71759f209caa9989