summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Factor common parts of BookmarkResource and LazychatResource into PostResource.Matthias Andreas Benkard2020-03-2912-330/+316
| | | | 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
* Configure cookie path for q_session cookie.Matthias Andreas Benkard2020-03-281-0/+1
| | | | | | | | | | | While Gecko defaults to / as the cookie path if not set, Safari defaults to the page that set the cookie. This means that the session cookie is only valid for the page a login flow was started from but not any other pages and so a new login is required for each page, which makes no sense and is very inconvenient. This patch fixes the problem by explicity setting the cookie path to /. Change-Id: I8edc59958fe9120f70af1c00ebc8ae103ef756f7
* Lazy Chat: Default to semiprivate sharing.Matthias Andreas Benkard2020-03-281-2/+2
| | | | Change-Id: I1d8900e3384dc491ca6af0f7b319953c981b194a
* Update yarn.lock.Matthias Andreas Benkard2020-03-261-397/+1144
| | | | Change-Id: I83eb8a0aeaf9944006fa7b2156618bb8356c3f64
* Enable lazy chat message submission.Matthias Andreas Benkard2020-03-268-10/+168
| | | | 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-2312-86/+88
| | | | Change-Id: I86cc78c8164d6672d8b5cfbc2a3433954068967e
* Lazychat: Add paging.Matthias Andreas Benkard2020-03-225-48/+96
| | | | 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-164-39/+200
| | | | Change-Id: Icd53dd04a74b94e1fa80f23703348070d598c413
* Update dependencies.Matthias Andreas Benkard2020-03-161-1/+1
| | | | Change-Id: I883dfb802e6db8b720f3de3cfc9b8a415b3d94be
* Contact info page: Fix area code in phone number.Matthias Andreas Benkard2020-03-011-1/+1
| | | | Change-Id: Ic81e3bb2e7eab4e59198c43b0304589257a90e7a
* Add contact information.Matthias Andreas Benkard2020-03-014-1/+66
| | | | 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-222-8/+15
| | | | 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-164-23/+124
| | | | Change-Id: I902473b6bffa10afa0cb2295d365d50335de9021
* MlkBookmarkSubmissionForm: Make type-only import Flow-commented.Matthias Andreas Benkard2020-02-161-1/+1
| | | | Change-Id: Ie1b6461e5ae8ef7888412a4cfbc3d9543a2ddbeb
* MlkBookmarkSubmissionForm: Implement disconnectedCallback().Matthias Andreas Benkard2020-02-151-0/+4
| | | | Change-Id: Id93112b47d092711cd533c678901177fa73e3255
* Web: Add ESLint.Matthias Andreas Benkard2020-02-154-9/+900
| | | | Change-Id: I3c7fb3cb2b11de29dab0f3be0d1587ee3d41e72f
* 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