Compare commits

...

4 commits

Author SHA1 Message Date
woodser
7e4e950710 update flatpak release date
Some checks failed
CI / build (macos-13) (push) Has been cancelled
CI / build (ubuntu-22.04) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
Codacy Coverage Reporter / Publish coverage (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2024-12-19 06:58:34 -05:00
woodser
323d14feb0 bump version to 1.0.15 2024-12-19 06:04:55 -05:00
woodser
5c79380e63 remove padding from no deposit slider 2024-12-18 12:15:11 -05:00
woodser
af3c7059a9 play chime when buyer can send payment 2024-12-18 11:06:39 -05:00
7 changed files with 18 additions and 9 deletions

View file

@ -610,7 +610,7 @@ configure(project(':desktop')) {
apply plugin: 'com.github.johnrengelman.shadow'
apply from: 'package/package.gradle'
version = '1.0.14-SNAPSHOT'
version = '1.0.15-SNAPSHOT'
jar.manifest.attributes(
"Implementation-Title": project.name,

View file

@ -28,7 +28,7 @@ import static com.google.common.base.Preconditions.checkArgument;
public class Version {
// The application versions
// We use semantic versioning with major, minor and patch
public static final String VERSION = "1.0.14";
public static final String VERSION = "1.0.15";
/**
* Holds a list of the tagged resource files for optimizing the getData requests.

View file

@ -657,6 +657,8 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
ThreadUtils.submitToPool(() -> {
if (newValue == Trade.Phase.DEPOSIT_REQUESTED) startPolling();
if (newValue == Trade.Phase.DEPOSITS_PUBLISHED) onDepositsPublished();
if (newValue == Trade.Phase.DEPOSITS_CONFIRMED) onDepositsConfirmed();
if (newValue == Trade.Phase.DEPOSITS_UNLOCKED) onDepositsUnlocked();
if (newValue == Trade.Phase.PAYMENT_SENT) onPaymentSent();
if (isDepositsPublished() && !isPayoutUnlocked()) updatePollPeriod();
if (isPaymentReceived()) {
@ -2892,10 +2894,16 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
ThreadUtils.submitToPool(() -> xmrWalletService.freezeOutputs(getSelf().getReserveTxKeyImages()));
}
private void onPaymentSent() {
if (this instanceof SellerTrade) {
HavenoUtils.notificationService.sendTradeNotification(this, Phase.PAYMENT_SENT, "Payment Sent", "The buyer has sent the payment"); // TODO (woodser): use language translation
private void onDepositsConfirmed() {
HavenoUtils.notificationService.sendTradeNotification(this, Phase.DEPOSITS_CONFIRMED, "Trade Deposits Confirmed", "The deposit transactions have confirmed");
}
private void onDepositsUnlocked() {
HavenoUtils.notificationService.sendTradeNotification(this, Phase.DEPOSITS_UNLOCKED, "Trade Deposits Unlocked", "The deposit transactions have unlocked");
}
private void onPaymentSent() {
HavenoUtils.notificationService.sendTradeNotification(this, Phase.PAYMENT_SENT, "Payment Sent", "The buyer has sent the payment");
}
///////////////////////////////////////////////////////////////////////////////////////////

View file

@ -60,6 +60,6 @@
</content_rating>
<releases>
<release version="1.0.14" date="2024-11-15"/>
<release version="1.0.15" date="2024-12-19"/>
</releases>
</component>

View file

@ -5,10 +5,10 @@
<!-- See: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -->
<key>CFBundleVersion</key>
<string>1.0.14</string>
<string>1.0.15</string>
<key>CFBundleShortVersionString</key>
<string>1.0.14</string>
<string>1.0.15</string>
<key>CFBundleExecutable</key>
<string>Haveno</string>

View file

@ -1039,6 +1039,7 @@ public abstract class MutableOfferView<M extends MutableOfferViewModel<?>> exten
securityDepositAndFeeBox.getChildren().addAll(getSecurityDepositBox(), tradeFeeFieldsBox);
buyerAsTakerWithoutDepositSlider = FormBuilder.addSlideToggleButton(gridPane, ++gridRow, Res.get("createOffer.buyerAsTakerWithoutDeposit"));
buyerAsTakerWithoutDepositSlider.setPadding(new Insets(0, 0, 0, 0));
buyerAsTakerWithoutDepositSlider.setOnAction(event -> {
// popup info box

View file

@ -41,7 +41,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public class SeedNodeMain extends ExecutableForAppWithP2p {
private static final long CHECK_CONNECTION_LOSS_SEC = 30;
private static final String VERSION = "1.0.14";
private static final String VERSION = "1.0.15";
private SeedNode seedNode;
private Timer checkConnectionLossTime;