summaryrefslogtreecommitdiff
path: root/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Lazychat: Add paging.Matthias Andreas Benkard2020-03-222-28/+55
| | | | Change-Id: I1db0b0733397d5e7a77b925ba185a39a72041f3e
* Make paged post queries generic over Bookmark and LazychatMessage.Matthias Andreas Benkard2020-03-224-86/+109
| | | | Change-Id: Ie0ac96bfc80c3c31bb948681ef90a9a50a512cf4
* Move post list query method to Post class.Matthias Andreas Benkard2020-03-224-67/+97
| | | | Change-Id: I8dbb664d2522a3012a477b850b67cb642bae9aa8
* Make post list querying generic over all subtypes of Post.Matthias Andreas Benkard2020-03-221-16/+28
| | | | Change-Id: I41d1c2e75675ba0ae2176a9d02ea76fb0bb0d76c
* Bookmarks: Add paging.Matthias Andreas Benkard2020-03-161-16/+125
| | | | Change-Id: Icd53dd04a74b94e1fa80f23703348070d598c413
* Add contact information.Matthias Andreas Benkard2020-03-011-0/+23
| | | | Change-Id: If94f79fa2e51c8cb7a9c8b63524ff992395aa96f
* BookmarkResource: Add missing selection to authenticated bookmark list query.Matthias Andreas Benkard2020-02-231-2/+1
| | | | Change-Id: I965dba4ae0027e2a9f24836b16aa4614c713cca6
* BookmarkResource: Fix user feed IDs and links.Matthias Andreas Benkard2020-02-221-7/+14
| | | | Change-Id: If5238caf54334f6ac47eeefae04f2134dc4de856
* BookmarkResource: Remove code duplication.Matthias Andreas Benkard2020-02-221-6/+4
| | | | Change-Id: I63cc5452b6690e6ef9a5a0d080d97e03a6952b13
* BookmarkResource: Use JPA metamodel for type-safe Criteria queries.Matthias Andreas Benkard2020-02-221-6/+7
| | | | Change-Id: I7571a749275d733c9738eed01dad9fb2de7d77ba
* Bookmarks: Add owner bookmark pages (~{user}, ~{user}/feed).Matthias Andreas Benkard2020-02-223-20/+75
| | | | Change-Id: I04395a6454d8c187e23683db72100f49b80fc655
* Bookmarks: Add Atom feed.Matthias Andreas Benkard2020-02-162-22/+119
| | | | Change-Id: I902473b6bffa10afa0cb2295d365d50335de9021
* Add /bookmarks/new endpoint.Matthias Andreas Benkard2020-02-131-0/+17
| | | | Change-Id: I903dbf5f918e1478fff82e5ebf6f3e3e2766572d
* Reformat code.Matthias Andreas Benkard2020-02-122-2/+2
| | | | Change-Id: Ic3ee55d3264e02765eaa0ae965253c2dd2d6330a
* Bookmark submission: Fetch page info through back end.Matthias Andreas Benkard2020-02-121-4/+17
| | | | | | | CORS prevents us from fetch the target page directly. This patch makes the front end use the back end to fetch it instead. Change-Id: I2d33a68d00b6ce1bb7a7b8dfcb7687f0bd1fdebd
* Make bookmark submission authenticated.Matthias Andreas Benkard2020-02-101-0/+2
| | | | Change-Id: I8bb41a106b7b0cc925beac968053f1d5811a652d
* Book Marx: Implement bookmark submission.Matthias Andreas Benkard2020-02-105-100/+60
| | | | Change-Id: Ieb1fef8565ed0e17de9590d5207ba11ebfe6f177
* Fix HQL typo.Matthias Andreas Benkard2020-02-091-1/+1
| | | | Change-Id: I81b012588628acaeab43a3a8a4d85bc187e38c0f
* Lafargue: Implement basic viewer.Matthias Andreas Benkard2020-02-094-2/+88
| | | | Change-Id: If24f58aa069a14139454708d02ac40109c2181ef
* Wiki: Make /wiki main resource unauthenticated.Matthias Andreas Benkard2020-02-091-1/+0
| | | | Change-Id: I6a2356a6c77110947e5b0e5fd65a70ed7ee96c9b
* Book Marx: Properly format bookmarks.Matthias Andreas Benkard2020-02-092-0/+47
| | | | Change-Id: Idd6f2c4622d4b1a16c74b2d3af02e637625732fc
* Web: Increase active menu item overlap from 1px to 3px.Matthias Andreas Benkard2020-02-091-0/+5
| | | | Change-Id: I977c6cd7252935645e07585ef3c4328987b02f73
* Book Marx: Implement basic viewer.Matthias Andreas Benkard2020-02-097-94/+103
| | | | Change-Id: I5a878ca82d8489c6a87c86f66a49a085f168f86c
* Rename bookmarx => bookmarks, lafargue => lazychat.Matthias Andreas Benkard2020-02-097-8/+8
| | | | Change-Id: I0938267d9b7e8c9685f18a5e217b62df1bcab49b
* Wiki: Add top-level redirect to Home.Matthias Andreas Benkard2020-02-091-0/+11
| | | | Change-Id: Ide7605daf4b86d71181875b25ca8a7fb747b0beb
* Remove the JWT cookie filters again.Matthias Andreas Benkard2020-02-022-302/+0
| | | | | | | | | | | They were pointless: quarkus-oidc's CodeAuthenticationMechanism already takes care of setting a session cookie, which it uses in preference over an IdP redirect. The reason the cookie did not stick before is still unclear, but it was fixed by tweaking the Keycloak settings for the MulkCMS client. Change-Id: Ie547ee0af23b6532515a990c2699ba9ffa686a5a
* Make the JwtCookieLoginFilter an IdentityProvider instead of a filter.Matthias Andreas Benkard2020-02-021-92/+92
| | | | Change-Id: I0107d66affe438739d5405bc33960a02e3bb9828
* Implement an alternate JWT security filter.Matthias Andreas Benkard2020-02-012-0/+302
| | | | Change-Id: Ie46b6efc24d045f90f45f7b16f17e4b84ae886c5
* Wiki: Provide feedback after editing.Matthias Andreas Benkard2020-01-271-2/+14
| | | | Change-Id: I6530be803f5f4218008c07d00ad3c6f739a1eb7a
* Wiki: Render WikiWord links and autolinks on the server side.Matthias Andreas Benkard2020-01-271-1/+76
| | | | Change-Id: I46f972bcebf765a3d9fb55b7b35f40deb978dc5d
* JPA: Make all element collections sets.Matthias Andreas Benkard2020-01-271-5/+5
| | | | Change-Id: I01360f982259608ba214e360d3189ac43ba59966
* JPA: Make all many-to-many collections sets.Matthias Andreas Benkard2020-01-272-2/+2
| | | | | | This improves performance when inserting new elements. Change-Id: I7c85d893984deb9ac4ba93ea34075c589a27e82e
* Wiki: Make editing work.Matthias Andreas Benkard2020-01-271-6/+25
| | | | Change-Id: Ibff52be5c595deba96b3f7642307ba1208eff9cf
* Data model mapping: Mark all ID fields @GeneratedValue, make boxed.Matthias Andreas Benkard2020-01-2718-19/+78
| | | | | | | | - Marks all SERIAL columns with @GeneratedValue. - Makes all SERIAL columns type Integer instead of type int. This enables Hibernate to autogenerate values on insert. Change-Id: I826d3a58e065c3dd3fa5f588a23226dfe954fb7d
* Benki: Clean up the data model mapping some more.Matthias Andreas Benkard2020-01-2711-199/+47
| | | | | | | | - Replaces user attribute table mappings with element collections and join table mappings. - Adds an explicit schema specifier to all join table specifiers. Change-Id: I0e251e1939faa895155cbe868220d98be2c1e70c
* Implement POST /wiki/{pageName}.Matthias Andreas Benkard2020-01-262-8/+50
| | | | Change-Id: Idf82cac81b13eb2ac4098b847f6415b01cdb0605
* Add wiki page revision list.Matthias Andreas Benkard2020-01-262-7/+30
| | | | Change-Id: I21a6ff469ef4dbf64a8d77eb4626765ae43ed37e
* Web: Extract base template.Matthias Andreas Benkard2020-01-251-11/+13
| | | | Change-Id: I20a4fbb04aa75a94f96617b0c4d1be00ab3e4aca
* GET /wiki/{pageName}: Optimize HQL query.Matthias Andreas Benkard2020-01-241-1/+6
| | | | Change-Id: I2e1852aa230fed5dc106629fb9b0aa0d85a8a0cf
* Start implementing /wiki/{pageName}.Matthias Andreas Benkard2020-01-242-33/+60
| | | | Change-Id: Ia9adf24209be8eddcfec72a66434ea4100855533
* Assume that Benki entities are in the “benki” schema.Matthias Andreas Benkard2020-01-2446-45/+47
| | | | | | | | | Since PostgreSQL does not support multiplexing access to several databases through one connection, everything is easier if all data lives in separate schemas in the same database. This change modifies the Hibernate entities accordingly. Change-Id: Ibe410ab340d77f35549208daf59a15520805c23a
* Rename OpenIds => OpenId.Matthias Andreas Benkard2020-01-243-4/+4
| | | | Change-Id: I5d6f1764b07a56a22c883a566e31d2af0abc5736
* Fix build.Matthias Andreas Benkard2020-01-241-0/+1
| | | | Change-Id: I6369a9f245fa6f049c0bb18bbf1c99af2d5bedfb
* Add example Qute resource.Matthias Andreas Benkard2020-01-241-0/+25
| | | | Change-Id: Ie5be7967d6d8536270873d01641f5ff825e31e07
* Reformat.Matthias Andreas Benkard2020-01-241-2/+1
| | | | Change-Id: Ib15fa81caa44ecaa17fce773d06f9168695e3250
* Make user.ownedRole relationship @OneToOne.Matthias Andreas Benkard2020-01-242-4/+5
| | | | Change-Id: I8c0194960e15192ba36834fa666c3f9fb2826df8