Skip to content

Commit

Permalink
new build 13.2.13
Browse files Browse the repository at this point in the history
  • Loading branch information
licobc committed Oct 24, 2019
1 parent 1a2e617 commit d0bb166
Show file tree
Hide file tree
Showing 11 changed files with 189 additions and 24 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ OBFS4PROXY_BIN=$(top_builddir)/src/obfs4/obfs4proxy/obfs4proxy$(EXEEXT)
DEPLOY_OBFS4PROXY_BIN=$(top_builddir)/release/obfs4proxy$(EXEEXT) DEPLOY_OBFS4PROXY_BIN=$(top_builddir)/release/obfs4proxy$(EXEEXT)
BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT) BITCOIN_WIN_INSTALLER=$(PACKAGE)-$(PACKAGE_VERSION)-win$(WINDOWS_BITS)-setup$(EXEEXT)
BITCOIN_LINUX_INSTALLER=kore-installer BITCOIN_LINUX_INSTALLER=kore-installer
TOR_BROWSER_VERSION=8.5.5 TOR_BROWSER_VERSION=9.0
TOR_BROWSER_LINUX_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/tor-browser-linux64-$(TOR_BROWSER_VERSION)_en-US.tar.xz TOR_BROWSER_LINUX_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/tor-browser-linux64-$(TOR_BROWSER_VERSION)_en-US.tar.xz
TOR_BROWSER_WINDOWS_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/torbrowser-install-win64-$(TOR_BROWSER_VERSION)_en-US.exe TOR_BROWSER_WINDOWS_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/torbrowser-install-win64-$(TOR_BROWSER_VERSION)_en-US.exe
TOR_BROWSER_MAC_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/TorBrowser-$(TOR_BROWSER_VERSION)-osx64_en-US.dmg TOR_BROWSER_MAC_DOWNLOAD=https://www.torproject.org/dist/torbrowser/$(TOR_BROWSER_VERSION)/TorBrowser-$(TOR_BROWSER_VERSION)-osx64_en-US.dmg
Expand Down
8 changes: 8 additions & 0 deletions changelog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,11 @@
kore (0.13.2.13) stable; urgency=medium
* only works for testnet
* update torbrowser to 9.0
* update kore addon for torbrowser is now a menu with 4 options

-- Kore <dev@kore.com> Thu, 24 Oct 2019 15:42:00 -0300


kore (0.13.2.12) stable; urgency=medium kore (0.13.2.12) stable; urgency=medium
* only works for testnet * only works for testnet
* Adjusting testnet parameters * Adjusting testnet parameters
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_PREREQ([2.69])
define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 13) define(_CLIENT_VERSION_MINOR, 13)
define(_CLIENT_VERSION_REVISION, 2) define(_CLIENT_VERSION_REVISION, 2)
define(_CLIENT_VERSION_BUILD, 12) define(_CLIENT_VERSION_BUILD, 13)
define(_CLIENT_VERSION_IS_RELEASE, true) define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2019) define(_COPYRIGHT_YEAR, 2019)
AC_INIT([Kore Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[www.kore.org],[kore]) AC_INIT([Kore Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[www.kore.org],[kore])
Expand Down
7 changes: 0 additions & 7 deletions share/tor-browser-conf/addon-whistle/background.js

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 17 additions & 9 deletions share/tor-browser-conf/addon-whistle/manifest.json
Original file line number Original file line Diff line number Diff line change
@@ -1,19 +1,27 @@
{ {


"description": "Adding Whistle Blowing toolbar button", "description": "WhistleBlowing Menu",
"manifest_version": 2, "manifest_version": 2,
"name": "Whistle Blowing", "name": "Kore Whistle Blowing",
"version": "1.0", "version": "1.1",

"background": {
"scripts": ["background.js"]
},


"browser_action": { "browser_action": {
"browser_style": true,
"default_popup": "popup/choose_page.html",
"default_icon": { "default_icon": {
"16": "icons/whistle-16.png", "16": "icons/whistle-16.png",
"32": "icons/whistle-32.png" "32": "icons/whistle-32.png"
} }
} },


"permissions": [
"browsingData",
"history",
"cookies",
"webNavigation",
"webRequest",
"webRequestBlocking",
"<all_urls>"
]
} }

93 changes: 93 additions & 0 deletions share/tor-browser-conf/addon-whistle/popup/choose_page.css
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,93 @@
html, body {
font-family: Arial, Helvetica, sans-serif;
}


/* define a fixed width for the entire menu */
.navigation {
width: 200px;
}

/* reset our lists to remove bullet points and padding */
.mainmenu, .submenu {
list-style: none;
padding: 0;
margin: 0;
}

/* make ALL links (main and submenu) have padding and background color */
.mainmenu a {
display: block;
background-color: white;
text-decoration: none;
padding-left: 30px;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
color: #000;
}


/* add hover behaviour */
.mainmenu a:hover {
background-color: #e9e9e9;
}


/* when hovering over a .mainmenu item,
display the submenu inside it.
we're changing the submenu's max-height from 0 to 200px;
*/

.mainmenu li:hover .submenu {
display: block;
max-height: 200px;
}

/*
we now overwrite the background-color for .submenu links only.
CSS reads down the page, so code at the bottom will overwrite the code at the top.
*/

.submenu a {
padding-left: 50px;
}


/* hover behaviour for links inside .submenu */
.submenu a:hover {
background-color: #bbb;
}

/* this is the initial state of all submenus.
we set it to max-height: 0, and hide the overflowed content.
*/
/*
.submenu {
overflow: hidden;
max-height: 0;
-webkit-transition: all 0.5s ease-out;
}
*/

.separator {
border-bottom: 1px solid #ccc;
}

/* Menus Identification for icons */
.mainmenu li #wikileaks {

background-image: url("../icons/whistle-16.png");
background-position: 5px 7px;
background-repeat: no-repeat;
}

.mainmenu li #tools {

background-image: url("../icons/tools.png");
background-size: 16px;
background-position: 5px 10px;
background-repeat: no-repeat;

}
29 changes: 29 additions & 0 deletions share/tor-browser-conf/addon-whistle/popup/choose_page.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>

<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="choose_page.css"/>
</head>

<body>
<nav class="navigation">
<ul class="mainmenu">
<li><a href="" id="wikileaks">Research</a>
<ul class="submenu">
<li><a href="https://wikileaks.org/#submit_help_tips"> WikiLeaks</a></li>
<li><a href="https://whisper.exposefacts.org"> Whisper</a></li>
</ul>
</li>
<li><a href="" id="tools">Tools</a>
<ul class="submenu">
<li><a href="" class="clear_cookies">Clear Cookies</a></li>
<li><a href="" class="clear_history">Clear History</a></li>
</ul>
</li>
</ul>
</nav>
<script src="choose_page.js"></script>
</body>

</html>
20 changes: 20 additions & 0 deletions share/tor-browser-conf/addon-whistle/popup/choose_page.js
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,20 @@

function onRemovedCookies() {
console.log("Removed all cookies");
}

function onRemovedHistory() {
console.log("Removed History");
}

function onError(error) {
console.log(`Error removing cookie: ${error}`);
}

document.addEventListener("click", function(e) {
if (e.target.classList.contains("clear_cookies")) {
browser.browsingData.removeCookies({}).then(onRemovedCookies, onError);
} else if (e.target.classList.contains("clear_history")) {
browser.browsingData.removeHistory({}).then(onRemovedHistory, onError);
}
});
26 changes: 20 additions & 6 deletions share/tor-browser-conf/howto-create-addon.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,16 +2,30 @@


https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Add_a_button_to_the_toolbar https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Add_a_button_to_the_toolbar


2. login at Access http://addons.mozilla.org 2. Publish the addon
https://extensionworkshop.com/documentation/publish/package-your-extension/
zip -r -FS ../kore.zip * --exclude *.git*

3. login at Access http://addons.mozilla.org
user: coredev@coreblockch user: coredev@coreblockch
password: ********* password: *********


3. Deploy the addon, after being reviewed it will get an uuid 4. Deploy the addon, after being reviewed it will get an uuid


4. Install the addon in a tor browser 5. Install the addon in a tor browser


5. Get the xpi from tor browser installation directory: <install>tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default/extensions 6. Get the xpi from tor browser installation directory: <install>tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default/extensions


6. In order to deploy the addon with the tor broser. 7. In order to deploy the addon with the tor broser.
It is only necessary to create the directory: to tor-browser_en-US/Browser/distribution/extensions It is only necessary to create the directory: to tor-browser_en-US/Browser/distribution/extensions
copy the xpi file to tor-browser_en-US/Browser/distribution/extensions copy the xpi file to tor-browser_en-US/Browser/distribution/extensions

======================================================
Updating the Addon
1. Login to mozilla

2. Click on "Developer hub"

3. Find the Add on and Click in the "Approved"

4. "Upload a new version"
Binary file not shown.

0 comments on commit d0bb166

Please sign in to comment.