Skip to content

Commit

Permalink
Merge pull request #17 from sebrock/master
Browse files Browse the repository at this point in the history
V1.3.2 Píthikos
  • Loading branch information
sebrock authored Sep 29, 2020
2 parents ce1d5af + ae2f2aa commit 9421422
Show file tree
Hide file tree
Showing 11 changed files with 245 additions and 21 deletions.
143 changes: 143 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# NODEJS
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# WINDOWS
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk
53 changes: 53 additions & 0 deletions _locales/el/messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"extDescription": {
"message": "Εδώ μπορείτε να δείτε όλα τα στατιστικά στοιχεία και τα κέρδη σας στο Folding @ home ως μέλος της ομάδας www.banano.cc."
},
"findMe": {
"message": "Βρείτε την κατάταξη σας "
},
"yourUser": {
"message": " το Όνομα Χρήστη σας "
},
"errEmpty": {
"message": "Εισαγετε το όνομα χρήστη"
},
"errShort": {
"message": "Το όνομα χρήστη πρέπει να αποτελείται από 7 χαρακτήρες. ΠΑΡΑΚΑΛΩ προσπαθησε ξανα."
},
"update": {
"message": "Αναβάθμιση"
},
"lastUpdate": {
"message": "Τελευταία αναβάθμιση"
},
"banAdr": {
"message": "Διεύθυνση banano "
},
"AccCreated": {
"message": "Ο λογαριασμός σας δημιουργήθηκε στις:"
},
"banEarned": {
"message": "Συνολικά banano που έχετε κερδίσει"
},
"lastWU": {
"message": "Απόδοση της τελευταίας εργασίας σας "
},
"totalWU": {
"message": "Σύνολο μονάδων εργασίας:"
},
"lang": {
"message": "Αγγλικά"
},
"extName": {
"message": "Ρολόι Banano miner"
},
"langCode": {
"message": "el"
},
"errNotfound": {
"message": "Το όνομα χρήστη δεν υπάρχει. ΠΑΡΑΚΑΛΩ προσπαθησε ξανα."
},
"StoreLongDesc": {
"message": "Το BananoMiner Watch είναι μια επέκταση που σας δείχνει όλα τα στατιστικά στοιχεία σχετικά με τις συνεισφορές σας στην ομάδα www.banano.cc στο Folding @ home, συμπεριλαμβανομένου του ποσού των $ BAN που έχετε ήδη κερδίσει χρησιμοποιώντας τη διεύθυνση https://bananominer.com/. Αυτό είναι ένα έργο της κοινότητας του BANANO. Κατασκευάστηκε από Banano Jungle Monkeys για Banano Jungle Monkeys. Εάν θέλετε να μάθετε περισσότερα σχετικά με το BANANO, επισκεφθείτε τη διεύθυνση www.banano.cc Οι ειλικρινείς ευχαριστίες μας απευθύνονται σε όλους στην κοινότητα BANANO που συνέβαλαν και υποστήριξαν στη δημιουργία αυτού του πρότζεκτ. οικογένεια του Banano - Η καλύτερη οικογένεια! 💛\n\nTranslation and Proofreading:\nAhmedDhaif93 for Arabic\nGoose for Chinese\nKryptopia for Danish\nATH for Dutch\nLiberty_Seed and iazid for French\nsebrock for German\nSkittish for Hindi\nPramono for Bahasa Indonesia\nLore and macaleon for Italian\nAfrica by Toto for Japanese\nmina_hanem for Farsi\nnknown for Portuguese\npygo for Norwegian\nMidNightSonne and andrecrjr or Brazilian Portuguese\nYaroslavaWise and Nomina for Russian\nCristalla for Spanish\nTahadorukk | Guns'NRoses\nTu Hoang for Vietnamese\nbbedward for reminding the jungle to support\n\nGraphic Design support\nOops\n\nKeywords:\nfolding foldingathome folding@home crypto cryptocurrency banano"
}
}
2 changes: 1 addition & 1 deletion _locales/vi/message.json → _locales/vi/messages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extDescription": {
"message": "Hiển thị tất cả các số liệu thống kê và thu nhập đóng góp Folding @ home của bạn cho nhóm www.banano.cc."
"message": "Hiển thị tất cả các số liệu thống kê và thu nhập đóng góp Folding@home của bạn cho nhóm www.banano.cc."
},
"findMe": {
"message": "Mỏ"
Expand Down
Binary file modified assets/BananoMiner-Watch_1.3.1_store1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 15 additions & 8 deletions banano.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ main {
margin: 30px 0;
}

section.banano__info {
display: flex;
}
.banano__menu {
width: 100%;
display: flex;
Expand Down Expand Up @@ -184,12 +181,22 @@ input.banano__input {
margin-top: 1px;
border-radius: 15px;
border: 2px solid red;
width: 100%;
}

.banano__suspended p {
align-items: initial;
background: rgb(78, 212, 78);
height: 19px;
.banano__info {
display: flex;
}
.banano__suspended--info {
display: inherit;
background: #4dc44d;
height: auto;
margin: 0 auto;
padding: 10px;
border-radius: 5px;
}
.banano__suspended--info p {
display: initial;
text-align: center;
}

button.get__banano {
Expand Down
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Bananominer-Watch Changelog
## V1.3.2

- Added Greek language (locale: el)
- Fixed an error that prevented Vietnamese locale to show
- Edited account inactivity warning to be understood better.


## V1.3.1 Bonobo


Expand All @@ -16,3 +23,6 @@ Extension now checks for this and warns user if that is the case.

- Results screen now shows Team number and provides a link to the team stats on foldingathome.org
- Results screen now provides a link to PPD-BAN calculator at https://ban.family/fah



4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "__MSG_extName__",
"version": "1.3.1",
"version": "1.3.2",
"description": "__MSG_extDescription__",
"default_locale": "en",
"icons": {
Expand All @@ -17,7 +17,7 @@
},
"default_title": "BananoMiner Watch"
},
"version_name": "1.3.1 Bonobo",
"version_name": "V1.3.2 Píthikos",
"homepage_url": "https://github.com/andrecrjr/bananominer-watch",
"content_scripts": [],
"event_rules": [],
Expand Down
20 changes: 13 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Introduction to BananoMiner Watch V1.3.1 "Bonobo"
# Introduction to BananoMiner Watch V1.3.2 Píthikos

![Chrome Web Store](https://img.shields.io/chrome-web-store/users/pdnkikfbjfhikkpopfoaihhfbhaplpfc?label=chrome%20web%20store-users&style=plastic)
![Chrome Web Store](https://img.shields.io/chrome-web-store/rating/pdnkikfbjfhikkpopfoaihhfbhaplpfc?label=chrome%20web%20store-rating&style=plastic)
![GitHub top language](https://img.shields.io/github/languages/top/sebrock/bananominer-watch-DEV_TEST?style=plastic)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/sebrock/bananominer-watch-DEV_TEST?style=plastic)
![GitHub](https://img.shields.io/github/license/sebrock/bananominer-watch-DEV_TEST?style=plastic)
[![Discord](https://img.shields.io/badge/discord-join%20chat-orange.svg)](https://chat.banano.cc/)

![](./assets/BananoMiner-Watch_1.3.1_screen1.png)

Expand All @@ -14,11 +15,11 @@ BananoMiner Watch is a **Chrome Browser Extension** that shows you all stats abo

![](./assets/BananoMiner-Watch_1.3.1_store1.png)

Version 1.3.1 "Bonobo" has been published in the [Google Chrome Webstore](https://chrome.google.com/webstore/detail/pdnkikfbjfhikkpopfoaihhfbhaplpfc?authuser=0&hl=en), is available for download in all regions, and in 18 different languages (locale identifiers in brackets):

Version 1.3.2 V1.3.2 Píthikos has been published in the [Google Chrome Webstore](https://chrome.google.com/webstore/detail/pdnkikfbjfhikkpopfoaihhfbhaplpfc?authuser=0&hl=en), is available for download in all regions, and in 19 different languages covering 21 locales (locale identifiers in brackets):
- Arabic (ar)
- Danish (da)
- German (de)
- Greek (el)
- English - default (en)
- Spanish (es)
- Latin Amrican Spanish (es_419)
Expand Down Expand Up @@ -72,10 +73,11 @@ Our sincere thanks go to everyone in the BANANO community who contributed and su

- AhmedDhaif93 for Arabic
- Goose for Chinese
- Kryptnonite for Danish
- Kryptopia for Danish
- ATH for Dutch
- Liberty_Seed and iazid for French
- sebrock for German
- Demetrius for Greek
- Skittish for Hindi
- Pramono for Bahasa Indonesia
- Lore and macaleon for Italian
Expand All @@ -93,11 +95,15 @@ Our sincere thanks go to everyone in the BANANO community who contributed and su
# Graphic Design support
- Oops

*That's it guys. If you need to talk with us you can find André on [twitter](https://twitter.com/andrecrjr) and both of us [andrecrjr](https://discordapp.com/users/2731
) and sebrock [sebrock|42 세브로크-마흔 둘](https://discordapp.com/users/4242) on the [Banano Discord Server](https://chat.banano.cc/).
*That's it guys. If you need to talk to us you can find us on Twitter:
- [André´s twitter](https://twitter.com/andrecrjr)
- [sebrock´s twitter](https://twitter.com/sebrock)
- or both of us on the [Banano Discord Server](https://chat.banano.cc/)
andrecrjr / sebrock|42 세브로크-마흔 둘

# Contribution Guide
Feel free to open Issues or improvents to the code in [https://github.com/sebrock/bananominer-watch-DEV_TEST/](https://github.com/sebrock/bananominer-watch-DEV_TEST/) (to a separate branch and create PRs towards the DEV_TEST master.)
Feel free to open Issues for bugs, feature requests, improvents to the code in [https://github.com/sebrock/bananominer-watch-DEV_TEST/](https://github.com/sebrock/bananominer-watch-DEV_TEST/).
Please commit to a separate branch and create PRs towards the DEV_TEST master.

![https://github.com/sebrock/bananominer-watch-DEV_TEST/](./assets/DEVTEST_repository-card-small.png)

Expand Down
5 changes: 3 additions & 2 deletions scripts/components/renderUser/checkWus.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ export const checkYourWus = (dataBanano, dataFold) => {
} else {
return `
<section class="banano__suspended">
<section class="banano__info">
<p>It seems your bananominer ID is suspended. Please re-enter your ban_ address on &nbsp; <a href="http://www.bananominer.com" target="_blank" title="click here to visit"> bananominer.com</a></p>
<section class="banano__suspended--info">
<p>It seems your bananominer ID is inactive due to lack of recent folding activity.<br>
Please re-enter your ban_ address on <a href="http://www.bananominer.com" target="_blank" title="click here to visit">bananominer.com</a></p>
</section>
</section>
`;
Expand Down
2 changes: 1 addition & 1 deletion scripts/components/renderUser/fetchBananoMiner.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const renderComponent = (data) => {
"totalWU"
)}</h2><p>${data[1].wus}</p></section>`;
template += `<img class="monkey__user"
src="https://bananomonkeys.herokuapp.com/image?address=${data[0].user.name}"
src="https://monkey.banano.cc/api/v1/monkey/${data[0].user.name}"
title="monKey for ban_XXX"/>
<button class="remove">
<img src="./assets/trash.png" width="25" />
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


0 comments on commit 9421422

Please sign in to comment.