summaryrefslogtreecommitdiff
path: root/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* KB68 Add privacy policy.Matthias Andreas Benkard2020-10-312-0/+26
| | | | Change-Id: Ib55cd55b2c9f53211ea6c18c2890f715a61d9d9b
* KB73 Add full text search to post lists.Matthias Andreas Benkard2020-09-173-11/+41
| | | | Change-Id: Ib8333b39cef1d7035ab7fac0ff8a03b400adcb40
* Change post view page title.Matthias Andreas Benkard2020-09-121-1/+1
| | | | Change-Id: I01dc16df134a613f4c9d76e748e344f2e5837e97
* 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 Move AboutResource.java back to where it belongs.Matthias Andreas Benkard2020-09-101-0/+22
| | | | Change-Id: I13151679db9aa75c4e9cd04d0d8726b408b1ab3f
* KB56 Add login button and status box.Matthias Andreas Benkard2020-09-103-3/+50
| | | | Change-Id: I72658014b2198a1a01ffa02ad4bafcdf9d66ab2b
* Add localized texts to Benki post model.Matthias Andreas Benkard2020-08-2711-81/+390
| | | | Change-Id: I123cfe2ff06f85dc14c705b21d723d1c68fd2e00
* Add Scalafmt to Spotless configuration.Matthias Andreas Benkard2020-08-221-3/+3
| | | | Change-Id: I789221c34222c263507ade58efda3bf29a6a7fdb
* Add Scala compiler.Matthias Andreas Benkard2020-08-221-23/+0
| | | | Change-Id: I68ffcf35b1b6ea2e42a479bdb71f868a486781db
* Benki: Cache HTML renderings of posts in the database.Matthias Andreas Benkard2020-06-136-11/+58
| | | | Change-Id: I3367ceb8769d354f64165d23ec7ed1f2155c4c49
* Feed: Add alternate links to every post.Matthias Andreas Benkard2020-05-021-8/+22
| | | | Change-Id: I2abbccabe3d53b6efade8266e11ccc9071cc1a46
* Feed: Add generated titles to lazy chat messages.Matthias Andreas Benkard2020-05-021-0/+12
| | | | Change-Id: I691cbc0a1440960a5dc8a46863d7291927ff3390
* URL-encode URI fields in the news feed.Matthias Andreas Benkard2020-05-021-8/+15
| | | | Change-Id: I69ff4dfea602f17dbbdbd72366c7647aba00e105
* KB54 Group posts by date, use floating to make style sheet even more compact.Matthias Andreas Benkard2020-04-261-3/+28
| | | | Change-Id: I41346eb51481d4c2c4e7066373fba5b7073e3e4f
* KB54 Put posts in date buckets for templating.Matthias Andreas Benkard2020-04-262-4/+31
| | | | Change-Id: Ic17b2dede722f5962a55b9c4d3b4663a71480e9c
* KB53 Support bookmark edition.Matthias Andreas Benkard2020-04-191-0/+40
| | | | Change-Id: Ieacbb5c448b9afa4bc9524167e0c73618de6db48
* PostResource: Rearrange methods.Matthias Andreas Benkard2020-04-191-25/+25
| | | | Change-Id: I1066712c9230688e672a84fc2cfe03e91f88e3a1
* KB49 Vary feed URI based on resource type rendered.Matthias Andreas Benkard2020-04-191-2/+2
| | | | Change-Id: I02025bc5ce86aa6cda1b083c7a542cefb561c25d
* KB49 Add private news feeds.Matthias Andreas Benkard2020-04-196-40/+102
| | | | Change-Id: Ib9488351b9734795e02ddaeb26aa81eeb79c0b4d
* Fix problems found by static analysis.Matthias Andreas Benkard2020-04-1812-47/+46
| | | | Change-Id: I02c51279f18f629b2d2fb1095692a6ae98b0e25e
* Add nullability constraints everywhere.Matthias Andreas Benkard2020-04-1839-23/+170
| | | | Change-Id: I80577b7784006070f29ce11af4e6fd87c10363bf
* Fix feed links.Matthias Andreas Benkard2020-04-181-4/+3
| | | | Change-Id: I1c04bdbbef852b65a23375d6725714bbc06b95e8
* KB51 Add handler for post links.Matthias Andreas Benkard2020-04-182-8/+29
| | | | Change-Id: Icb36da42fcf085ec541ba70c1421e8635d295974
* KB51 Promote LazychatResource#getMessage => PostResource#getPost, handle ↵Matthias Andreas Benkard2020-04-184-25/+49
| | | | | | null login. Change-Id: I31601b00f1d72ec2282b6f6deedf971644b93a15
* KB46 Post#queryViewable: Fix visible posts query logic for Post.class.Matthias Andreas Benkard2020-04-181-2/+4
| | | | Change-Id: Ic7f16a9dec8e639133ab266540b5f25d8f1594c9
* KB46 Add All Posts resource.Matthias Andreas Benkard2020-04-182-1/+12
| | | | Change-Id: Ifc8ae0693d7e17addf4a84ed4eedcb43d5ea2f57
* Bookmark: Implement stubbed methods.Matthias Andreas Benkard2020-04-131-2/+2
| | | | Change-Id: I2f159cb7ea068f7d1fb26680b89aa9d3be1f46c2
* Lazy Chat: Implement editing of messages.Matthias Andreas Benkard2020-04-137-37/+160
| | | | Change-Id: I291201da1fbc7c2b6563f0837f7ce3e2f7f8555c
* Implement news feed for Lazy Chat.Matthias Andreas Benkard2020-03-294-53/+67
| | | | Change-Id: I3621b77da5277f38c5f50fab24ff7bea580f11cd
* Factor common parts of BookmarkResource and LazychatResource into PostResource.Matthias Andreas Benkard2020-03-2911-328/+315
| | | | Change-Id: I6e5e123c67340e564c47448cf43b803f7d0cc809
* Show bookmark and lazy chat submission forms if and only if logged in.Matthias Andreas Benkard2020-03-292-6/+4
| | | | | | | With the recent session cookie fix, this now works as it should and can therefore be enabled. Change-Id: I96cfdcd99952e7f91ae468de80d6445a024c74b5
* Enable lazy chat message submission.Matthias Andreas Benkard2020-03-262-0/+49
| | | | Change-Id: I9e9060e29bb63a78591f618cc54acdfb5b49575f
* Make various fields final.Matthias Andreas Benkard2020-03-232-8/+8
| | | | Change-Id: I115ca235d66f70d1429c28c2fe49af3231f70734
* Use generic page template for bookmark and lazy chat lists.Matthias Andreas Benkard2020-03-235-10/+40
| | | | Change-Id: I86cc78c8164d6672d8b5cfbc2a3433954068967e