-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ make Java Forum Stuttgart database URL configurable
Signed-off-by: Marcus Fihlon <[email protected]>
- Loading branch information
Showing
7 changed files
with
100 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/main/java/swiss/fihlon/apus/plugin/event/jfs/JavaForumStuttgartConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/* | ||
* Apus - A social wall for conferences with additional features. | ||
* Copyright (C) Marcus Fihlon and the individual contributors to Apus. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as published | ||
* by the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package swiss.fihlon.apus.plugin.event.jfs; | ||
|
||
public record JavaForumStuttgartConfig(String dbUrl) { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
106 changes: 56 additions & 50 deletions
106
src/main/resources/META-INF/additional-spring-configuration-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,83 +1,89 @@ | ||
{ | ||
"properties" : [ | ||
"properties": [ | ||
{ | ||
"name" : "apus.admin.password", | ||
"type" : "java.lang.String", | ||
"description" : "The password to get admin access (empty = disabled)." | ||
"name": "apus.admin.password", | ||
"type": "java.lang.String", | ||
"description": "The password to get admin access (empty = disabled)." | ||
}, | ||
{ | ||
"name" : "apus.custom.styles", | ||
"type" : "java.lang.String", | ||
"description" : "Inject custom styles into the user interface." | ||
"name": "apus.custom.styles", | ||
"type": "java.lang.String", | ||
"description": "Inject custom styles into the user interface." | ||
}, | ||
{ | ||
"name" : "apus.demo.roomCount", | ||
"type" : "java.lang.String", | ||
"description" : "Number of rooms for the event demo plugin." | ||
"name": "apus.demo.roomCount", | ||
"type": "java.lang.String", | ||
"description": "Number of rooms for the event demo plugin." | ||
}, | ||
{ | ||
"name" : "apus.doag.eventApi", | ||
"type" : "java.lang.String", | ||
"description" : "The URL of the DOAG event API to read the conference agenda." | ||
"name": "apus.doag.eventApi", | ||
"type": "java.lang.String", | ||
"description": "The URL of the DOAG event API to read the conference agenda." | ||
}, | ||
{ | ||
"name" : "apus.doag.eventId", | ||
"type" : "java.lang.Integer", | ||
"description" : "The ID of the DOAG event to read the conference agenda." | ||
"name": "apus.doag.eventId", | ||
"type": "java.lang.Integer", | ||
"description": "The ID of the DOAG event to read the conference agenda." | ||
}, | ||
{ | ||
"name" : "apus.event.updateFrequency", | ||
"type" : "java.lang.Integer", | ||
"description" : "How often (in minutes) to update event data." | ||
"name": "apus.event.updateFrequency", | ||
"type": "java.lang.Integer", | ||
"description": "How often (in minutes) to update event data." | ||
}, | ||
{ | ||
"name" : "apus.filter.length", | ||
"type" : "java.lang.Integer", | ||
"description" : "Hide social media messages which exceed this length." | ||
"name": "apus.filter.length", | ||
"type": "java.lang.Integer", | ||
"description": "Hide social media messages which exceed this length." | ||
}, | ||
{ | ||
"name" : "apus.filter.replies", | ||
"type" : "java.lang.Boolean", | ||
"description" : "Hide social media messages which are replies." | ||
"name": "apus.filter.replies", | ||
"type": "java.lang.Boolean", | ||
"description": "Hide social media messages which are replies." | ||
}, | ||
{ | ||
"name" : "apus.filter.sensitive", | ||
"type" : "java.lang.Boolean", | ||
"description" : "Hide social media messages which contain sensitive information." | ||
"name": "apus.filter.sensitive", | ||
"type": "java.lang.Boolean", | ||
"description": "Hide social media messages which contain sensitive information." | ||
}, | ||
{ | ||
"name" : "apus.filter.words", | ||
"type" : "java.lang.String", | ||
"description" : "Hide social media messages which contain these words." | ||
"name": "apus.filter.words", | ||
"type": "java.lang.String", | ||
"description": "Hide social media messages which contain these words." | ||
}, | ||
{ | ||
"name" : "apus.mastodon.hashtag", | ||
"type" : "java.lang.String", | ||
"description" : "The hashtag for the Mastodon wall." | ||
"name": "apus.jfs.dbUrl", | ||
"type": "java.lang.String", | ||
"description": "The URL of the database file for Java Forum Stuttgart." | ||
}, | ||
{ | ||
"name" : "apus.mastodon.imageLimit", | ||
"type" : "java.lang.Integer", | ||
"description" : "Limit number of images per post." | ||
"name": "apus.mastodon.hashtag", | ||
"type": "java.lang.String", | ||
"description": "The hashtag for the Mastodon wall." | ||
}, | ||
{ | ||
"name" : "apus.mastodon.imagesEnabled", | ||
"type" : "java.lang.Boolean", | ||
"description" : "Enable or disable images in mastodon posts." | ||
"name": "apus.mastodon.imageLimit", | ||
"type": "java.lang.Integer", | ||
"description": "Limit number of images per post." | ||
}, | ||
{ | ||
"name" : "apus.mastodon.instance", | ||
"type" : "java.lang.String", | ||
"description" : "The Mastodon instance used to read the posts from." | ||
"name": "apus.mastodon.imagesEnabled", | ||
"type": "java.lang.Boolean", | ||
"description": "Enable or disable images in mastodon posts." | ||
}, | ||
{ | ||
"name" : "apus.sessionize.eventId", | ||
"type" : "java.lang.String", | ||
"description" : "The ID of the Sessionize event to read the conference agenda." | ||
"name": "apus.mastodon.instance", | ||
"type": "java.lang.String", | ||
"description": "The Mastodon instance used to read the posts from." | ||
}, | ||
{ | ||
"name" : "apus.sessionize.eventApi", | ||
"type" : "java.lang.String", | ||
"description" : "The URL of the Sessionize event API to read the conference agenda." | ||
"name": "apus.sessionize.eventId", | ||
"type": "java.lang.String", | ||
"description": "The ID of the Sessionize event to read the conference agenda." | ||
}, | ||
{ | ||
"name": "apus.sessionize.eventApi", | ||
"type": "java.lang.String", | ||
"description": "The URL of the Sessionize event API to read the conference agenda." | ||
} | ||
] } | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters