Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta Release 3.1.3 #142

Merged
merged 28 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e882138
modify laucher to easily reproduce reconnection bug.
DivineThreepwood Jan 3, 2024
d2552db
update jul
DivineThreepwood Mar 12, 2024
ff30ffc
Merge remote-tracking branch 'origin/dev' into feature/126-openhab-de…
DivineThreepwood Mar 12, 2024
4b9faa9
plain transformation to kotlin and some cleanup
DivineThreepwood Mar 13, 2024
95707f1
fix log level
DivineThreepwood Mar 19, 2024
c6cc521
use kotlin locks instead of the java ones.
DivineThreepwood Mar 19, 2024
4dc259f
Improve exception handling during reconnect. Optimize kotlin code
DivineThreepwood Mar 19, 2024
c0d95a9
code cleanup
DivineThreepwood Mar 19, 2024
15243da
remove detect wich was never properly configured.
DivineThreepwood Mar 19, 2024
85a1489
fix syntax
DivineThreepwood Mar 19, 2024
723888e
fix bco-actions startup by registering the javafx gradle plugin.
DivineThreepwood Mar 20, 2024
646b2bf
fix action declaration of scene action tasks to execute scene actions…
DivineThreepwood Mar 20, 2024
4564d20
Improve Autostart handling by making sure agents and apps are automat…
DivineThreepwood Mar 20, 2024
9ce8c42
Merge pull request #134 from openbase/133-bco-actions-startup-issues
DivineThreepwood Mar 24, 2024
9c33831
Merge dev into 135-fix-high-priority-duration-of-scene-execution
github-actions[bot] Mar 24, 2024
9f9612e
Merge dev into feature/126-openhab-device-manager-reconnection-issues
github-actions[bot] Mar 24, 2024
4e44099
Merge dev into 137-improve-autostart-handling
github-actions[bot] Mar 24, 2024
debc4d6
port further stuff to kotlin and make sure activatable controller onl…
DivineThreepwood Mar 24, 2024
2ffd745
shutdown fix
DivineThreepwood Mar 24, 2024
96de5b6
Merge pull request #136 from openbase/135-fix-high-priority-duration-…
DivineThreepwood Mar 24, 2024
016a968
Merge dev into 137-improve-autostart-handling
github-actions[bot] Mar 24, 2024
67cbf7d
Merge dev into feature/126-openhab-device-manager-reconnection-issues
github-actions[bot] Mar 24, 2024
81b0618
Merge pull request #132 from openbase/feature/126-openhab-device-mana…
lhuxohl Mar 26, 2024
4a236dc
Merge dev into 137-improve-autostart-handling
github-actions[bot] Mar 26, 2024
c9c888a
introduce java compatebility again.
DivineThreepwood Mar 26, 2024
80d787a
Merge pull request #138 from openbase/137-improve-autostart-handling
lhuxohl Mar 26, 2024
3f9089f
Merge branch 'beta' into dev
DivineThreepwood Apr 1, 2024
1b1cf03
remove dev pull test trigger
DivineThreepwood Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build and Test

on:
push:
branches:
- dev
pull_request:
branches:
- dev
Expand Down
103 changes: 0 additions & 103 deletions .github/workflows/detekt-analysis.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* it under the terms of the GNU 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 General Public License for more details.
*
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/gpl-3.0.html>.
Expand All @@ -34,7 +34,6 @@
import org.openbase.jul.communication.iface.RPCServer;
import org.openbase.jul.exception.CouldNotPerformException;
import org.openbase.jul.exception.InitializationException;
import org.openbase.jul.exception.InstantiationException;
import org.openbase.jul.exception.NotAvailableException;
import org.openbase.jul.extension.type.processing.MetaConfigPool;
import org.openbase.jul.extension.type.processing.MetaConfigVariableProvider;
Expand Down Expand Up @@ -65,14 +64,12 @@ public class CloudConnectorApp extends AbstractAppController implements CloudCon
private static final Logger LOGGER = LoggerFactory.getLogger(CloudConnectorApp.class);

private final CloudConnectorTokenStore tokenStore;
private final JsonParser jsonParser;
private final Map<String, SocketWrapper> userIdSocketMap;

public CloudConnectorApp() throws InstantiationException {
public CloudConnectorApp() {
super();
this.userIdSocketMap = new HashMap<>();
this.tokenStore = new CloudConnectorTokenStore();
this.jsonParser = new JsonParser();
}

@Override
Expand Down Expand Up @@ -235,7 +232,8 @@ public Future<AuthenticatedValue> connect(final AuthenticatedValue authenticated
socketWrapper.activate();
socketWrapper.getLoginFuture().get(10, TimeUnit.SECONDS);
}
} catch (CouldNotPerformException | ExecutionException | InterruptedException | TimeoutException ex) {
} catch (CouldNotPerformException | ExecutionException | InterruptedException |
TimeoutException ex) {
if (ex instanceof InterruptedException) {
Thread.currentThread().interrupt();
}
Expand Down Expand Up @@ -278,7 +276,7 @@ public Future<AuthenticatedValue> register(AuthenticatedValue authenticatedValue

try {
// parse string as json
final JsonObject params = jsonParser.parse(jsonString).getAsJsonObject();
final JsonObject params = JsonParser.parseString(jsonString).getAsJsonObject();

// validate that password hash is available
if (!params.has(PASSWORD_HASH_KEY)) {
Expand Down
Loading
Loading