summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAgeFilesLines
...
* Web: Remove lit-html, prefixfree, redux.Matthias Andreas Benkard2020-02-152-30/+1
| | | | | | They were unused, so this patch removes them. Change-Id: I53cda07b5622bace3cd0fb004e75d19ddba8b681
* Web: Install TypeScript definitions for Elix.Matthias Andreas Benkard2020-02-152-1/+2
| | | | Change-Id: I6ca8cafde683921d127599e01c7cada9dbbd5223
* Web: Move types.js to cms2/.Matthias Andreas Benkard2020-02-152-1/+1
| | | | Change-Id: I297c74397b944e88989a8320953065e5cdd64c25
* Web: Move the Flow type cast function to its own module.Matthias Andreas Benkard2020-02-152-14/+15
| | | | Change-Id: I572c91e483fdb0a3b9fce4a9315b9dac92f9a31b
* Use Flow to typecheck JavaScript code.Matthias Andreas Benkard2020-02-154-15/+49
| | | | Change-Id: I9c0c9b5aa74d592a04eb6533e64669f1896fb7cd
* MlkBookmarkSubmissionForm: Remove lit-html dependency.Matthias Andreas Benkard2020-02-151-48/+43
| | | | | | | For the MlkBookmarkSubmissionForm component, even lit-html is overkill. This patch removes it and makes the component even simpler. Change-Id: I5de6ffac4a3177c8fba89a1f897ad6b49f9ae562
* Configure log levels explicitly.Matthias Andreas Benkard2020-02-151-0/+7
| | | | Change-Id: I12c16bcfe485a12dc2985cfb0f5287b46a995a83
* OIDC: Use a fixed redirect path of /oidc/login.Matthias Andreas Benkard2020-02-151-0/+1
| | | | Change-Id: I6bd7cff8f37de00d51ef9c394a4b74ca1d2c82de
* MlkBookmarkSubmissionForm: Refactor subelement references.Matthias Andreas Benkard2020-02-151-21/+19
| | | | Change-Id: I8a50c55536c602c2412cae00f0762e4f8d9bb244
* MlkBookmarkSubmissionForm: Refactor attributes.Matthias Andreas Benkard2020-02-151-4/+19
| | | | Change-Id: I47ada5516a37e7d3ad2184d7a3cc920685a20413
* Web: Remove AdminElement and components.js.Matthias Andreas Benkard2020-02-154-55/+0
| | | | Change-Id: Ib829e99069229866a18e2a5356330bcf952b08d4
* Bookmark submission: Select public viewability by default.Matthias Andreas Benkard2020-02-151-2/+2
| | | | Change-Id: Ia8a1feec2d01fd5fc5c7d032f976ae547887f6c8
* Web: Load web components eagerly.Matthias Andreas Benkard2020-02-152-2/+2
| | | | Change-Id: Iacc24bcbc27243f1f9aee7203d9ff5bd69e50c49
* Bookmark submission: Fix stylesheet link.Matthias Andreas Benkard2020-02-151-1/+1
| | | | Change-Id: I797a2d82fb3d0fe229b08e4d000b146d2763ac96
* Bookmark submission: Use CSS grid for form layout.Matthias Andreas Benkard2020-02-132-27/+50
| | | | Change-Id: If06ddb2407dfb3f0e59948a9c437e9af4129da78
* Bookmark submission: Load title if URI was specified but title was not.Matthias Andreas Benkard2020-02-131-0/+1
| | | | Change-Id: Idb956c72a4ecf87a2d40b5b1f382b3292eba5228
* Add /bookmarks/new endpoint.Matthias Andreas Benkard2020-02-134-5/+64
| | | | Change-Id: I903dbf5f918e1478fff82e5ebf6f3e3e2766572d
* Bookmark submission: Make bookmark submission form a reusable WebComponent.Matthias Andreas Benkard2020-02-133-58/+102
| | | | Change-Id: I723d98208040db5b0d2d56d8c5e727c68399f843
* Reformat code.Matthias Andreas Benkard2020-02-122-2/+2
| | | | Change-Id: Ic3ee55d3264e02765eaa0ae965253c2dd2d6330a
* Bookmark submission: Fetch page info through back end.Matthias Andreas Benkard2020-02-122-14/+25
| | | | | | | 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
* Bookmark submission: Automatically fetch title after URI input.Matthias Andreas Benkard2020-02-122-1/+30
| | | | Change-Id: Ieea258e076d1dbaeba2520e583b590822dfdcab8
* Bookmark submission: Rearrange fields, focus URI field on pane expansion.Matthias Andreas Benkard2020-02-122-5/+11
| | | | Change-Id: I2c440905a39ea0126fa6b1024fa7b54e80a59b1a
* Make bookmark submission form always visible.Matthias Andreas Benkard2020-02-101-2/+2
| | | | | | | | The authentication test does not seem to be working in production, which caused the bookmark submission form to never be visible. This patch changes it to always be visible instead. Change-Id: Iaf691ed0a0b6955648046a2debfcc6aa35281fad
* Make bookmark submission authenticated.Matthias Andreas Benkard2020-02-101-0/+2
| | | | Change-Id: I8bb41a106b7b0cc925beac968053f1d5811a652d
* Add a light hover effect on navbar items.Matthias Andreas Benkard2020-02-101-0/+4
| | | | Change-Id: I3e4e42414590cf94713d9ef53123d4e8c51986ea
* Hide bookmark submission form by default.Matthias Andreas Benkard2020-02-102-30/+38
| | | | Change-Id: I542d39164297afa70d66102bd7db0bf064df9e02
* Book Marx: Implement bookmark submission.Matthias Andreas Benkard2020-02-107-100/+103
| | | | Change-Id: Ieb1fef8565ed0e17de9590d5207ba11ebfe6f177
* Desaturate all colors.Matthias Andreas Benkard2020-02-101-4/+4
| | | | Change-Id: Ieb8ab0b2324f015f45406bae044c52ab4f55d2a2
* Configure viewport for mobile devices.Matthias Andreas Benkard2020-02-101-0/+1
| | | | Change-Id: Ie940b5eb76642fbe0600f77412f16cc1023829b6
* Navigation bar: Make navigation items clickable everywhere.Matthias Andreas Benkard2020-02-101-3/+3
| | | | Change-Id: Ic69c8b03e41868b3d28d4463e991f58ea2b82411
* Fix HQL typo.Matthias Andreas Benkard2020-02-091-1/+1
| | | | Change-Id: I81b012588628acaeab43a3a8a4d85bc187e38c0f
* Main Menu: Deeplink to /wiki/Home to avoid a login redirect loop.Matthias Andreas Benkard2020-02-091-1/+1
| | | | Change-Id: I4fbc20973c7e09b945a977a89eac77f35e0fdfba
* Lafargue: Implement basic viewer.Matthias Andreas Benkard2020-02-096-2/+134
| | | | 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-094-3/+67
| | | | Change-Id: Idd6f2c4622d4b1a16c74b2d3af02e637625732fc
* Web: Increase active menu item overlap from 1px to 3px.Matthias Andreas Benkard2020-02-092-1/+6
| | | | Change-Id: I977c6cd7252935645e07585ef3c4328987b02f73
* Book Marx: Implement basic viewer.Matthias Andreas Benkard2020-02-099-94/+140
| | | | Change-Id: I5a878ca82d8489c6a87c86f66a49a085f168f86c
* Rename bookmarx => bookmarks, lafargue => lazychat.Matthias Andreas Benkard2020-02-098-10/+10
| | | | Change-Id: I0938267d9b7e8c9685f18a5e217b62df1bcab49b
* Web: Make navigation bar formatting dynamic.Matthias Andreas Benkard2020-02-093-5/+5
| | | | Change-Id: I65068a6837c325cd4d649696c709d2b6d2b4b3ef
* Wiki: Add top-level redirect to Home.Matthias Andreas Benkard2020-02-091-0/+11
| | | | Change-Id: Ide7605daf4b86d71181875b25ca8a7fb747b0beb
* Create a base design.Matthias Andreas Benkard2020-02-094-5/+138
| | | | Change-Id: Idf90f0e4b1c411edb72d468d9b4c10daac6c67a3
* Wiki: Fix revision list HTML.Matthias Andreas Benkard2020-02-081-3/+5
| | | | Change-Id: Ia01ab8584f3a3591bf3cd7a8ad022a2e531f027d
* Wiki: Mark JavaScript modules as deferrable.Matthias Andreas Benkard2020-02-081-2/+2
| | | | Change-Id: Ie5943a1d409e838e5c24c14d61a29378fcb0b6cc
* Wiki: Show warning if attempt to save the page fails.Matthias Andreas Benkard2020-02-022-7/+30
| | | | Change-Id: I3fbacfca1c5d5f5834797ef029d79228cdb4dde2
* Add Dockerfile for remote development mode.Matthias Andreas Benkard2020-02-021-0/+17
| | | | Change-Id: Ica13917f0fbb3fedbb7bebed7a3995803baa06c4
* Set principal claim to preferred_username.Matthias Andreas Benkard2020-02-021-0/+1
| | | | | | | This clearly defines what the principal name is expected to be passed as. Change-Id: I4e56ee1dc79ac2c7ef8af0e382065e84e2a05fe0
* 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
* wikiPage.html: Fix import statement.Matthias Andreas Benkard2020-02-011-1/+1
| | | | Change-Id: I0c8e1a0514a74b11f9fc07f64265549171f34957
* Implement an alternate JWT security filter.Matthias Andreas Benkard2020-02-014-0/+325
| | | | Change-Id: Ie46b6efc24d045f90f45f7b16f17e4b84ae886c5