Skip to content

Commit

Permalink
1.0.1.7 release commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Exslims committed Aug 13, 2017
1 parent e13cae0 commit 0b61585
Show file tree
Hide file tree
Showing 34 changed files with 32 additions and 59 deletions.
5 changes: 0 additions & 5 deletions app-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@
<dependency>
<groupId>com.1stleg</groupId>
<artifactId>jnativehook</artifactId>
<version>2.0.2</version>
</dependency>
<dependency>
<groupId>lc.kra.system</groupId>
<artifactId>system-hook</artifactId>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
* Created by Frost on 14.01.2017.
*/
public class ClientChannelInitializer extends ChannelInitializer<SocketChannel> {

private static final Logger LOGGER = LogManager.getLogger(ClientChannelInitializer.class.getSimpleName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
import org.apache.logging.log4j.Logger;

import java.net.InetSocketAddress;
import java.util.Random;
import java.util.concurrent.TimeUnit;

/**
* Created by Frost on 14.01.2017.
*/
public class UpdaterClient {

private static final Logger LOGGER = LogManager.getLogger(UpdaterClient.class.getSimpleName());
Expand Down Expand Up @@ -71,7 +69,7 @@ public void operationComplete(ChannelFuture future) throws Exception {
future.channel().close();
future.channel().eventLoop().schedule(() -> {
bootstrap.connect().addListener(this);
},3,TimeUnit.MINUTES);
},new Random().nextInt(5),TimeUnit.MINUTES);
} else {
channel = future.channel();
connectionEstablished = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ public void parse() {
.collect(Collectors.toList());

List<String> resultMessages = filteredMessages.stream().filter(message -> {
message = StringUtils.substring(message, 0, 20);
Matcher matcher = datePattern.matcher(message);
if(matcher.find()) {
if(message.contains("2017") || message.contains("2018")) { //todo
Date date = new Date(StringUtils.substring(message, 0, 20));
return date.after(lastMessageDate);
}else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.mercury.platform.shared.config.descriptor.HotKeyType;
import com.mercury.platform.shared.config.descriptor.ProfileDescriptor;
import com.mercury.platform.shared.store.MercuryStoreCore;
import lc.kra.system.keyboard.event.GlobalKeyEvent;
import org.jnativehook.keyboard.NativeKeyEvent;

import java.util.HashMap;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import com.mercury.platform.shared.entity.message.MercuryError;
import com.mercury.platform.shared.entity.message.Message;
import com.mercury.platform.shared.config.descriptor.SoundDescriptor;
import lc.kra.system.keyboard.event.GlobalKeyEvent;
import rx.subjects.PublishSubject;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
import com.mercury.platform.ui.manager.FramesManager;
import com.mercury.platform.ui.misc.AppThemeColor;
import com.mercury.platform.ui.misc.MercuryStoreUI;
import com.mercury.platform.ui.misc.note.Note;
import com.mercury.platform.ui.misc.note.NotesLoader;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;

Expand Down Expand Up @@ -114,6 +117,23 @@ private JPanel getOperationsButtons(){
root.add(this.componentsFactory.wrapToSlide(openTutorial));
root.add(this.componentsFactory.wrapToSlide(checkUpdates));
root.add(this.componentsFactory.wrapToSlide(openTests));

JButton patchNotes = componentsFactory.getBorderedButton("Open patch notes");
patchNotes.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
if(SwingUtilities.isLeftMouseButton(e)){
NotesLoader notesLoader = new NotesLoader();
java.util.List<Note> patchNotes = notesLoader.getPatchNotes();
if(patchNotes.size() != 0){
NotesFrame patchNotesFrame = new NotesFrame(patchNotes, NotesFrame.NotesType.PATCH);
patchNotesFrame.init();
patchNotesFrame.showComponent();
}
}
}
});
// root.add(patchNotes);
return root;
}

Expand Down
Binary file removed app-ui/src/main/resources/app/adr_readme_logo.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/adr_showcase_logo.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/app-icon-donate.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/arrows/down-arrow.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/arrows/left-arrow.png
Binary file not shown.
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/arrows/up-arrow.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/chatFilter.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/clear-trades.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/clear_trades.pdn
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/collapse.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/expand.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/logo.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/mercury_logo.pdn
Binary file not shown.
Binary file modified app-ui/src/main/resources/app/paypal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app-ui/src/main/resources/app/reload.gif
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/rw-resize.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/standard-mode.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/supertrade-mode.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/timer-pause.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/timer-play.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/timer-reset.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/timer-stop.png
Binary file not shown.
Binary file removed app-ui/src/main/resources/app/timer.png
Binary file not shown.
6 changes: 3 additions & 3 deletions app-ui/src/main/resources/notes/patch/patch-notes.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"version":"1.0.1.6.1",
"version":"1.0.1.7.0",
"notes":[
{
"title" : "Hotfix",
"text" : "Overseer:\n- Fixed a bug with tracker not working properly with multiple simultanious key presses.\n- Fixed a bug with components not being removed properly.\n- Improved the icon selection dialog performance.\n- Now you can bind left/midle/right mouse buttons as a hotkey.\n\nThanks for your fast feedback and support. New features are coming soon!",
"title" : "Update",
"text" : "More than 5000 unique users this week! Here is an update for you!\n-Completely reworked Settings GUI.\n-All the issues with non-English keyboard layouts should be gone. Also now you can bind absolutely any mouse / keyboard button you have.\n-Fixed an issue when you couldn't close Notification panel.\n-Now components are cleaned up properly on a profile switch.\nCheck out the Overseer channel on Discord - post your setups, share profiles and converse!\n\nStay with us as there are more mind-blowing features to come. And don't forget to support the app, judging from all the activity looks like it's probably worth some!",
"image" : "",
"layout" : "VERTICAL"
}
Expand Down
22 changes: 6 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<properties>
<project.version>1.0.0.5</project.version>

<systemhook.version>3.1</systemhook.version>
<jnativehook.version>2.0.2</jnativehook.version>
<devjna.version>4.4.0</devjna.version>
<commonsio.version>2.5</commonsio.version>
<junit.version>4.12</junit.version>
Expand All @@ -42,16 +42,16 @@

<dependencyManagement>
<dependencies>
<dependency>
<groupId>lc.kra.system</groupId>
<artifactId>system-hook</artifactId>
<version>${systemhook.version}</version>
</dependency>
<dependency>
<groupId>net.jodah</groupId>
<artifactId>expiringmap</artifactId>
<version>${expiringmap.version}</version>
</dependency>
<dependency>
<groupId>com.1stleg</groupId>
<artifactId>jnativehook</artifactId>
<version>${jnativehook.version}</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
Expand Down Expand Up @@ -144,16 +144,6 @@
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>system-hook-mvn-repo</id>
<url>https://raw.github.com/kristian/system-hook/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
Expand Down

0 comments on commit 0b61585

Please sign in to comment.