summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-0313-2/+311
| | | | Change-Id: Ic79fe64f03ce887879bffc7623e59cb697065ee6
* KB68 Implement newsletter sending.Matthias Andreas Benkard2020-11-018-4/+296
| | | | Change-Id: I1d56e40d7f35d6be77fde1a1e8519a91bd2dc3b8
* KB68 Add privacy policy.Matthias Andreas Benkard2020-10-315-3/+402
| | | | Change-Id: Ib55cd55b2c9f53211ea6c18c2890f715a61d9d9b
* KB73 Add full text search to post lists.Matthias Andreas Benkard2020-09-177-16/+211
| | | | Change-Id: Ib8333b39cef1d7035ab7fac0ff8a03b400adcb40
* Update to OpenJDK 15.Matthias Andreas Benkard2020-09-161-1/+1
| | | | Change-Id: I1ec0958b83b5250da1fa855e3754228e11f132f5
* Change post view page title.Matthias Andreas Benkard2020-09-121-1/+1
| | | | Change-Id: I01dc16df134a613f4c9d76e748e344f2e5837e97
* Add missing Fira Code files.Matthias Andreas Benkard2020-09-126-0/+0
| | | | Change-Id: Ibbeb7d357079e62766b7a533d5fd8cb97919e90a
* Design: Configure Iosevka with discretionary ligatures.Matthias Andreas Benkard2020-09-121-1/+2
| | | | Change-Id: Ie4b2f9481c786e4dc5a6f35d379ec36f529cee46
* Design: Make the sidebar minimum 12 em wide.Matthias Andreas Benkard2020-09-121-1/+1
| | | | Change-Id: I4752c7b92df2ff835b12d0b7e00cb29e1128e0f5
* Design: Revert to Source Sans Pro.Matthias Andreas Benkard2020-09-121-2/+2
| | | | | | | | While Fira Sans looks nice, it is too wide for the overall design. Source Sans Pro conserves space and is therefore the better choice for now. Change-Id: I84bfef149ce52c698ffe8ac3371efbc671c65b6f
* Design: Use Iosevka and Fira Sans as the main fonts.Matthias Andreas Benkard2020-09-12201-3/+856
| | | | Change-Id: Ie9652ab9d2ea8e7f331eb52de7aaea77594cd8d3
* Give the sidebar minimal width.Matthias Andreas Benkard2020-09-121-1/+4
| | | | Change-Id: I6a4edd89800726a37a9f295a5b50286878325adf
* KB56 PostText: Inherit from PanacheEntityBase.Matthias Andreas Benkard2020-09-111-1/+2
| | | | | | | | PostText did not inherit from PanacheEntityBase. This meant that automatic setter and getter generation (and thus dirtiness tracking) was not working, making updates to existing post texts impossible. Change-Id: I0901b15acc73827276322feb000831a8e93d5717
* KB56 Add Rochester font, use for the login name.Matthias Andreas Benkard2020-09-114-2/+10
| | | | Change-Id: Iada14b30e17e1c006939009c423593bde6c3799e
* KB56 Move AboutResource.java back to where it belongs.Matthias Andreas Benkard2020-09-101-0/+0
| | | | Change-Id: I13151679db9aa75c4e9cd04d0d8726b408b1ab3f
* KB56 Hide wiki when not logged in.Matthias Andreas Benkard2020-09-101-0/+3
| | | | Change-Id: I060766a74bf941705ebc9653632b60bd7a248cc4
* KB56 Add login button and status box.Matthias Andreas Benkard2020-09-106-5/+75
| | | | Change-Id: I72658014b2198a1a01ffa02ad4bafcdf9d66ab2b
* Update settings to latest Quarkus version.Matthias Andreas Benkard2020-09-101-5/+6
| | | | Change-Id: Ice72ee120d467f822d4331fbe632bef7583b7f9b
* Remove Scala again.Matthias Andreas Benkard2020-08-292-18/+22
| | | | | | | | | At this time, Scala support is not worth very much, and as Scala 3 is not here yet the compiler slows down the build significantly. This change may be reverted in the future. Change-Id: Ie172489284f324e8c2313919b293fdf98754c2f6
* Add localized texts to Benki post model.Matthias Andreas Benkard2020-08-2719-85/+580
| | | | Change-Id: I123cfe2ff06f85dc14c705b21d723d1c68fd2e00
* Scala: More compact imports.Matthias Andreas Benkard2020-08-231-5/+2
| | | | Change-Id: I54a8ff7825ce443ad82ce34ae4c6c1a331382a6e
* Scala: Fewer semicolons.Matthias Andreas Benkard2020-08-221-8/+8
| | | | Change-Id: I1ca6f4b4bcd732602f16c7114d7bb91c5a5fcd92
* Scala: Stylistic improvements.Matthias Andreas Benkard2020-08-221-3/+3
| | | | Change-Id: I6f6cc25dd432d43e89e7bb54fa101be9da157754
* Add Scalafmt to Spotless configuration.Matthias Andreas Benkard2020-08-221-3/+3
| | | | Change-Id: I789221c34222c263507ade58efda3bf29a6a7fdb
* Add Scala compiler.Matthias Andreas Benkard2020-08-221-8/+6
| | | | Change-Id: I68ffcf35b1b6ea2e42a479bdb71f868a486781db
* Docker: Switch to openjdk:14 as the base image.Matthias Andreas Benkard2020-07-181-2/+1
| | | | Change-Id: Iff9a94d8069099ee38051c9f89b4f20cbf713bcc
* POM: Do not build and push container image by default.Matthias Andreas Benkard2020-06-161-2/+2
| | | | Change-Id: I508f1ab70a1d9e1c82acb81a94b9ab2787153dad
* Remove hibernate.properties.Matthias Andreas Benkard2020-06-161-1/+0
| | | | Change-Id: Idc1c2a477f988174ea4ee4658ea6b6dfaab77b86