summaryrefslogtreecommitdiff
path: root/src/main/java/eu
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Enable authentication via Keycloak.Matthias Andreas Benkard2020-01-241-0/+17
| | | | Change-Id: I81a05d2e965394b13d7344f4f20475b4e468c761
* Benki: Model join tables properly.Matthias Andreas Benkard2020-01-248-262/+43
| | | | Change-Id: I24bfd7a65ad72330a1862cbc408d7911263b6329
* Set all fetch types to LAZY.Matthias Andreas Benkard2020-01-2421-46/+66
| | | | Change-Id: I0b0c96fe177260ece2a68381c71c4959c3a82dcb
* Replace UserVisible{Bookmark,Post,LazychatMessage} with a @ManyToMany.Matthias Andreas Benkard2020-01-245-123/+15
| | | | Change-Id: Ie807f3eed9da1e5bcaefb10104d989f3b3ddbf7b
* Benki: Sort into a sane folder structure, fix mapping bugs.Matthias Andreas Benkard2020-01-2445-432/+360
| | | | Change-Id: I55f5c0349dc580a24506648284ce6483dd952d8a
* Move CMS-related entities into a “cms” package.Matthias Andreas Benkard2020-01-2436-44/+44
| | | | Change-Id: Ie350230552fa6f970f26412b40974ca4af7a9260
* Benki: Simplify with Panache.Matthias Andreas Benkard2020-01-2427-1569/+174
| | | | Change-Id: I341a9d0ded3ee20e84841bf8494ef4d4eba55b74
* Import Benki data model.Matthias Andreas Benkard2020-01-2438-0/+3040
| | | | Change-Id: If17035f96afa56eb409fcab9d8038d885adf607b
* Category: Add #articles mapping.Matthias Andreas Benkard2020-01-191-0/+3
| | | | Change-Id: Iac78840f98950fc9d79bbbc802baf4ecc961f8b4
* Reorganize packages.Matthias Andreas Benkard2020-01-1935-35/+49
| | | | Change-Id: Ie40dbeb7a05edf4e847b9ca88b1d9179e50dee5f
* Disable Scala, use Java everywhere.Matthias Andreas Benkard2020-01-141-0/+14
| | | | Change-Id: Ieec7d20f3e7d7a15e7db951d2a0b4ebdcf8503a5
* Implement equals() and hashCode for composite ID classes.Matthias Andreas Benkard2020-01-122-0/+37
| | | | Change-Id: I7fd6be62f62f8dc43fa2863f52287654d307e8e0
* Simplify JPA entities with Panache.Matthias Andreas Benkard2020-01-1233-1783/+200
| | | | Change-Id: I09cbea27e6f81e4092dcbbc2f56e5abb9494a945
* Add fetch = FetchType.LAZY to all relationship declarations.Matthias Andreas Benkard2020-01-1220-40/+61
| | | | Change-Id: I22435019234ed092ae07ffd8e61b212416b4dd0f
* Move Java files from src/main/scala to src/main/java.Matthias Andreas Benkard2020-01-1235-0/+2886
Change-Id: I80c9b4cea5e50a4467ea75e9b425409fdbe36aa1