summaryrefslogtreecommitdiff
path: root/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Wiki: Render WikiWord links and autolinks on the server side.Matthias Andreas Benkard2020-01-272-3/+79
| | | | 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-272-8/+49
| | | | 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
* Use embedded properties authentication in dev mode.Matthias Andreas Benkard2020-01-262-1/+12
| | | | Change-Id: I3a10cac96568fb990eab5b9eaf27bf8780fe207d
* Add wiki page revision list.Matthias Andreas Benkard2020-01-263-7/+68
| | | | Change-Id: I21a6ff469ef4dbf64a8d77eb4626765ae43ed37e
* Sort package.json.Matthias Andreas Benkard2020-01-261-3/+3
| | | | Change-Id: I4735d8df29f36adcc37a15a9a60aa5c2874c2021
* Add Bosonic web components as a dependency.Matthias Andreas Benkard2020-01-262-0/+14
| | | | Change-Id: I2ccdfcd00d8f6f2a6955a3cd51e1e03684682771
* Add standard import map tag to base template.Matthias Andreas Benkard2020-01-261-0/+1
| | | | Change-Id: I3a796978039a979de8c1fd5ff3d2f92dedc5979c
* Rename {common => base}.css.Matthias Andreas Benkard2020-01-262-1/+1
| | | | Change-Id: I5099a8d8c955ae2d8f200b22678283b1985ddd7e
* Add Normalize-Opentype.css.Matthias Andreas Benkard2020-01-263-0/+10
| | | | Change-Id: I3281ddecf7fd9cfe26b57e95b82c04ea4978c189
* Wiki: Add ContentTools to all wiki pages.Matthias Andreas Benkard2020-01-254-1/+28
| | | | Change-Id: I30e3c59458b2754439c9edfd5029d260816dd9de
* Web: Extract base template.Matthias Andreas Benkard2020-01-253-35/+46
| | | | Change-Id: I20a4fbb04aa75a94f96617b0c4d1be00ab3e4aca
* Add Elix web component library as a dependency.Matthias Andreas Benkard2020-01-252-0/+7
| | | | Change-Id: I2a1c98c50e72c27ee45b322d1e01a3c307e5118c
* Always log in color.Matthias Andreas Benkard2020-01-251-0/+2
| | | | Change-Id: Ib43374258500b29a6abfc9981ba3153d405ff9d8
* Wiki: Remove author and change date from wiki pages.Matthias Andreas Benkard2020-01-251-4/+0
| | | | Change-Id: I733222105a2b74d0478a4232d39bff5338e9ba57
* Clean up CSS and JavaScript files, change wiki layout a bit.Matthias Andreas Benkard2020-01-255-11/+35
| | | | Change-Id: Ib47bf59db5e4e65ef58515b45d63bd7f1572c88b
* GET /wiki/{pageName}: Optimize HQL query.Matthias Andreas Benkard2020-01-241-1/+6
| | | | Change-Id: I2e1852aa230fed5dc106629fb9b0aa0d85a8a0cf
* Start implementing /wiki/{pageName}.Matthias Andreas Benkard2020-01-244-34/+72
| | | | 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-242-0/+35
| | | | 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-242-0/+21
| | | | Change-Id: I81a05d2e965394b13d7344f4f20475b4e468c761
* Web: Add purecss/buttons.css.Matthias Andreas Benkard2020-01-241-1/+1
| | | | Change-Id: I0c4b049de17629510619ff9fcca3f0bd263a93b5
* 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
* Web: Add PureCSS, Prism.js, Prefixfree.Matthias Andreas Benkard2020-01-242-5/+62
| | | | Change-Id: I228ebf02e254c20fcf3aed8c6804aa3eacbbd510
* Web: Import JavaScript modules by path, without an import map.Matthias Andreas Benkard2020-01-243-6/+3
| | | | Change-Id: I2142ddb12e4eb39ec2a80947f6f77d5a6c9812a6
* 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
* Use Snowpack for web module management.Matthias Andreas Benkard2020-01-234-13/+1551
| | | | Change-Id: Id4ed0471166cfe82caeca7b5e8b53c9ef1765d66
* Frontend: Put import map into its own file.Matthias Andreas Benkard2020-01-232-13/+10
| | | | Change-Id: I0357d6961acedbae5b8ed8b65c45e7c8a5469178
* Frontend: Add all remaining JavaScript modules to the import map.Matthias Andreas Benkard2020-01-231-0/+2
| | | | Change-Id: I6bdc929a29ebf7e2de893ce984b42862680e21c6
* AdminElement: Use Redux.Matthias Andreas Benkard2020-01-234-2379/+51
| | | | | | | | | - Imports es-module-shims. - Adds an importmap via es-module-shims. - Makes the “switch” button flip a boolean flag in the state and uses it to modify the value shown. Change-Id: Ie8042a4c434206f590ebde21fd67e84f48446c03
* WebComponents: Use lit-html for templating.Matthias Andreas Benkard2020-01-221-4/+3
| | | | Change-Id: Ic2fac595c5fc0275a4859d8c8bf470c77907be19
* Add an example WebComponent.Matthias Andreas Benkard2020-01-225-0/+2466
| | | | Change-Id: I74a6b63912f431db150e6cd4707c405621a922dd
* 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-142-12/+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