495 Commits

Author SHA1 Message Date
softsimon
84f2103469 Display a red RBF button when RBF is not enabled.
fixes #279
2021-01-16 00:24:23 +07:00
softsimon
b0576cf05d Reduce displayed address length on mobile. 2021-01-13 02:10:04 +07:00
softsimon
d7851f98e9 Renaming minimum fee to rejecting.
Adding progressbar to mempool size.
refs #171
2021-01-12 20:45:41 +07:00
wiz
6b28235e26 Bump version string on about page to 2.1-SNAPSHOT 2021-01-12 18:10:48 +09:00
softsimon
689848efb6 Removing the term ELECTRS from ELECTRS_ITEMS_PER_PAGE setting. 2021-01-11 21:11:09 +07:00
softsimon
9fcede2cb6 Adding missing error output on /blocks page. 2021-01-10 22:41:52 +07:00
softsimon
ba48e27995 Bitcoind: Display the suggestion message on address page when address lookups is not implemented. 2021-01-10 22:24:36 +07:00
softsimon
ccb36b1048 Loading progressbar for loading address, block transactions and blocks 2021-01-08 21:44:36 +07:00
softsimon
c289210dc9 Inform client when Electrum server limit exceeded 2021-01-05 17:30:53 +07:00
wiz
3c00eeac27 Merge remote-tracking branch 'origin/master' into simon/angular-universal 2020-12-22 06:14:12 +09:00
wiz
9dc3107e13 Add missing websocket subscription for 'blocks' in status-view component 2020-12-15 03:48:07 +09:00
TechMiX
a053e77dd9 add left-to-right mark character to blockchain and mempool block components size 2020-12-09 21:47:27 +01:00
TechMiX
705e7794e5 fix blockchain scrolling on mobile mode when RTL layout 2020-12-09 21:46:13 +01:00
TechMiX
a4b46d4053 add left-to-right mark character to amount component 2020-12-09 02:33:20 +01:00
TechMiX
dab6e07cca add text-align for Details title + swap text-left class with style so that it always remains aligned to left 2020-12-09 02:22:16 +01:00
TechMiX
38f858a7e7 add rtl-layout class to base component 2020-12-09 01:57:18 +01:00
softsimon
1d57c53e75 Status view live data now works again... 2020-12-09 01:37:14 +07:00
softsimon
a4b2c99232 i18n: Fixed stacked mempool block issue and enabled vietnamese. 2020-12-09 01:31:49 +07:00
softsimon
044a03d11d i18n: reuse vB/s string 2020-12-08 18:40:00 +07:00
softsimon
5d84eefe3b i18n: Fixed translations for the footer component. Merged some duplicates. 2020-12-08 18:24:02 +07:00
softsimon
69b121ddb0 Merge branch 'master' into simon/angular-universal
* master: (42 commits)
  i18n: Added missing Bisq translations. Minor missing space and character fixes.
  add missing 'sat/vb' string for i18n
  i18n: Removed CR from "In X minutes" translation
  i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers.
  Update translation strings from Transifex
  Enable 'ka' locale for Georgian
  Update translation strings from Transifex
  Disable Vietnamese locale 'vi' until translations are completed
  Update translation strings from Transifex
  add 'sat' string for i18n
  Update translation strings from Transifex
  Update translation strings from Transifex
  i18n update
  Remove extra garbage characters from OP_RETURN tooltip. fixes #254
  Fix for changing locale on other networks than mainnet. fixes #253
  i18n: Asset search box
  Update translation strings from Transifex
  i18n: Added X of X transaction. Flipped collapse/expand
  i18n: Added "miner identification" and updated "navigate to sponsor"
  Update translations from Transifex
  ...

# Conflicts:
#	frontend/src/app/components/app/app.component.ts
#	frontend/src/app/components/mempool-block/mempool-block.component.ts
2020-12-08 00:11:38 +07:00
softsimon
da7f2b4be4 i18n: Added missing Bisq translations. Minor missing space and character fixes. 2020-12-07 17:35:05 +07:00
TechMiX
0871c0d759 add missing 'sat/vb' string for i18n 2020-12-07 00:07:16 +01:00
softsimon
bc2868641b i18n: Removed CR from "In X minutes" translation 2020-12-07 00:23:13 +07:00
softsimon
3fb4d987a9 i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers. 2020-12-06 23:44:08 +07:00
TechMiX
aba945b6a1 add 'sat' string for i18n 2020-12-05 14:59:08 +01:00
softsimon
98fd5bd8f8 Remove extra garbage characters from OP_RETURN tooltip.
fixes #254
2020-12-05 02:32:16 +07:00
softsimon
b500e14e77 i18n: Added X of X transaction. Flipped collapse/expand 2020-12-05 00:16:23 +07:00
softsimon
d5952fdb45 i18n: Added "miner identification" and updated "navigate to sponsor" 2020-12-04 23:07:53 +07:00
softsimon
1b52dc2aa3 Adding missing Asset page strings. Fixed block title translations. 2020-12-04 22:30:09 +07:00
softsimon
3c661435ca Fixing about-link title translation. 2020-12-04 21:49:03 +07:00
softsimon
30de67e31e Merge commit '768fbdfbfa8e0064b86e168c59762909f4c1763b' into simon/i18n-everything
* commit '768fbdfbfa8e0064b86e168c59762909f4c1763b':
  Update translated strings from Transifex
  More fixes for RTL
  Always render app-mempool-graph using LTR
  Implement auto RTL support for i18n locales like Arabic, Persian, etc.
  Update extracted i18n strings from source
  Enable 'ar' locale for Arabic
  Update translated strings from Transifex
  Fix incorrectly used 'nn' locale, rename it to 'nb' instead
  Update transifex-client configuration to use master branch

# Conflicts:
#	frontend/src/locale/messages.xlf
2020-12-04 21:30:51 +07:00
softsimon
2f3741e9e0 i18n correcctions based on feedback. Added even more missing i18n strings. 2020-12-04 21:29:31 +07:00
wiz
c18d983b5b More fixes for RTL 2020-12-04 22:54:09 +09:00
wiz
3b906b2bcf Always render app-mempool-graph using LTR 2020-12-04 22:41:58 +09:00
wiz
2d92e6e9d3 Implement auto RTL support for i18n locales like Arabic, Persian, etc.
Fixes #255
2020-12-04 05:56:40 +09:00
softsimon
4d097ea92a i18n all the remaining strings. 2020-12-03 18:34:19 +07:00
softsimon
52c3a2beff Adding virtual size to transaction details.
fixes #248
2020-12-02 22:22:14 +07:00
softsimon
787cee0d7a Merge branch 'master' into simon/angular-universal
* master:
  Update list of supported locales
  Add one more fix to nginx.conf for i18n
  Remove unused i18n tags in frontend/src/index.html
  Update translations from Transifex
  Enable 'fr' locale for French
  Corrected some missing spaces on transactions page and a blank render bug when confirmation time is below 1 minute.
  Implement i18n support in frontend using Angular + Transifex + NGINX

# Conflicts:
#	frontend/src/app/app.constants.ts
#	frontend/sync-assets.js
2020-12-02 20:05:49 +07:00
softsimon
e88ada3e06 Corrected some missing spaces on transactions page and a blank render bug when confirmation time is below 1 minute. 2020-12-02 17:03:04 +07:00
wiz
46ad261d84 Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:

* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify

* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`

* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data

* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages

* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.

This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.

This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:

* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)

The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.

Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.

When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.

Fixes #81
2020-12-02 04:19:33 +09:00
softsimon
d6528460a8 Merge branch 'master' into simon/angular-universal
* master:
  correcting merge
  Remove extra space in price server URL
  Modify upgrade script to append repo before tag name
  Merge "getInitData" method from simon/angular-universal.
  Replace opennode usd price source with wiz api. fixes #166
  Display confidential instead of nothing for confidential assets. fixes #110
  Detect confidential assets and display properly. fixes #109
  Allow searching for and viewing assets not in the asset registry. fixes #111

# Conflicts:
#	backend/src/api/websocket-handler.ts
2020-11-23 14:08:50 +07:00
softsimon
d2cd595da6 Frontend config support for AU. New absolute server url settings.
refs #104
2020-11-23 02:30:46 +07:00
softsimon
bd1440ce96 Transaction, address and block page now works. 2020-11-22 23:47:27 +07:00
softsimon
24aed09489 Merge branch 'master' into simon/angular-universal
* master:
  Tweak ASM opcode styling colors
  Add some color and styling to the Bitcoin ASM opcodes
  Correcting title text on graph invert button.
  Modify upgrade script to include "tag @ hash" in notification msg
  Adding a button to invert the graph globally.
  Display P2PK instead of OP_RETURN fixes #161
  Improved utxo script design. fixes #46
  Adding prevout script. Fixed padding. refs #46
  Correcting details button padding on mobile.
  Fix nginx.conf reverse proxy cache URL path for sponsor images
  Add missing "engines" metadata into package-lock.json
  Upgrade backend/package-lock.json to version 2
  Toggle display UTXO details and scripts for transactions fixes #46
  Axios error handle sponsor proxy requests.
  Replacing request.js with axios fixes #153
  Add basic websocket error handler as emergency fix for site crashing

# Conflicts:
#	frontend/src/app/services/storage.service.ts
2020-11-22 20:53:12 +07:00
softsimon
6541379a84 Display confidential instead of nothing for confidential assets.
fixes #110
2020-11-22 16:30:36 +07:00
softsimon
11baac3ed0 Detect confidential assets and display properly.
fixes #109
2020-11-22 16:19:57 +07:00
softsimon
26773c45da Allow searching for and viewing assets not in the asset registry.
fixes #111
2020-11-22 16:03:23 +07:00
wiz
7dbe7a7584 Add some color and styling to the Bitcoin ASM opcodes
Fixes #164
2020-11-21 05:29:50 +09:00
softsimon
5818dce386 Correcting title text on graph invert button. 2020-11-16 21:58:16 +07:00