Commit Graph

1341 Commits

Author SHA1 Message Date
Felipe Knorr Kuhn
9e46cde9b7
Updates to the e2e suite (#659)
* initial version of the update config script

* fix duplicated content

* update cypress ci settings

* add workflow to run e2e tests when pushing

* record cypress results to the dashboard

* pull the cypress record key and project id from the secrets

* add start-server-and-test to replace concurrently

* replace concurrently with start-server-and-test

* remove concurrently

* add new cypress target to record

* update cypress to 7.7.0

* add tests for signet

* add tests for testnet

* run tests on chrome and firefox

* update test matrix: add edge and run firefox on container

* fix copypasta

* update docker image for firefox

* fix task name again

* fix edge tests task name

* improve bisq tests

* update workflow config

* enable cypress debug logs

* add a manual trigger for the e2e tests

* add config:defaults target

* use more of the GHA options

* fix config command

* add cypress-fail-on-console-error

* upgrade cypress to v8.0.0

* add helper to wait for the loader skeleton to be gone

* use skeleton waiter on the tests

* remove manual test trigger

* fix tv test when only one mempool block is available

* add waiter for pagination

* add extra steps to debug firefox launch issue

* remove whoami step

* Revert "upgrade cypress to v8.0.0"

This reverts commit cb3ff7d906.

* remove userinfo debug step

* enable test retries in run mode

* update proxy config to reduce ECONNRESET errors

* add mock-socket dev dependency

* add helpers to mock websockets and detect page idleness

* stabilize mainnet tests

* fix tv mode test on Liquid

* add basic tests for the mainnet status page

* cleanup mainnet tests

* update bisq tests

* update signet tests

* update testnet tests

* add initial support for parameterized websocket mocks

* move testing dependencies to optionalDependencies

* comment out mempool size check until the live updates are fixed

* comment out tx regex test

* update fixture for the new difficulty adjustment component

* fix the assertions on the status page
2021-07-25 21:03:47 +03:00
softsimon
723034b3d3
Status page wasn't updated due to multiple want events.
fixes #658
2021-07-25 19:43:06 +03:00
wiz
59898f1269
Patch sysconf dep for blockstream/electrs build in start scripts 2021-07-25 15:20:35 +09:00
softsimon
195b9bf542
Bumping the mempool-js lib. 2021-07-25 02:32:31 +03:00
softsimon
0333d91b15
Updating from transfex. 2021-07-25 01:49:35 +03:00
softsimon
f0bd487ea9
Update i18n messages. 2021-07-25 01:35:12 +03:00
Miguel Medeiros
cd8e308870
Add previous adjustment retarget. (#655)
* Add previous adjustment retarget.

* Fix green color.
Add + symbol to difficulty change.

* Add previousRetarget to websocket.

* Add previous retarget.
2021-07-25 01:26:48 +03:00
Miguel Medeiros
f6a889298c
Bugfix: Change mempool block time precision. (#650)
* Fix time precision.

* Fix rounding numbers only for minutes range.
Fix reflected avg time to ETA transactions.

* Fix now variable update.
2021-07-25 01:26:29 +03:00
Miguel Medeiros
11f5e99187
Doc: Add new endpoints to api documentation. (#654)
* Add difficulty adjustment api doc.
Change fee tab to general tab.

* Add block header examples.

* Change tab orders.
Add fees tabs.
Change CPFP instructions to Transactions tab.

* Reorder alphabetically.
Fix typo.
2021-07-24 23:00:11 +03:00
wiz
334f9358b0
Add new page for Trademark Policy and Guidelines (#647)
* Add new page for Trademark Policy and Guidelines

* Fix attribution footer at bottom of Trademark Policy

* Add our Trademark Notice and Trademark Policy URL to LICENSE

* Last minute fixes to Trademark Policy and Guidelines page
2021-07-24 22:40:11 +03:00
wiz
820561610a
Merge pull request #642 from unruhschuh/patch-2
fixed rsync command for frontent
2021-07-25 04:08:25 +09:00
wiz
2c895e7b03
Merge pull request #643 from mempool/wiz/nginx-cache-lang-updates
Update nginx configuration for cache settings and new locales
2021-07-24 03:21:21 +09:00
wiz
f36f48b11c
Add Marina Wallet as Community Integration on About page (#651)
* Add Marina Wallet as Community Integration on About page

* Shift logo for Marina wallet by a few pixels on About page
2021-07-23 21:12:48 +03:00
wiz
f12f1b4a4e
Merge pull request #641 from unruhschuh/patch-1 2021-07-23 20:56:19 +09:00
softsimon
037d6a75ea
Adding previous difficulty retarget to the difficulty adjustment api. (#652)
refs #640
2021-07-23 14:35:04 +03:00
softsimon
775323de3e
Removing angular CLI analytics. 2021-07-22 15:37:40 +03:00
Miguel Medeiros
d91dfa2f41
Check if feeRange is undefined. (#636) 2021-07-21 18:35:27 +03:00
softsimon
3ac06bb983
Updating i18n from transifex. Moving hindi location. 2021-07-20 15:43:01 +03:00
Miguel Medeiros
1ba0075829
Feature: Reflect difficulty estimation into mempool blocks. (#637)
* Add time until to mempool blocks.
Reflect difficulty estimate time.

* Fix estimate calculation.
Turn off the auto refresh.

* Change Math.floor to Math.round.
2021-07-20 15:04:53 +03:00
Miguel Medeiros
95436d398d
Fix undefined asset and colored coinbase tx. (#645) 2021-07-19 23:13:34 +03:00
wiz
f2f5749769
Update nginx configuration for cache settings and new locales
* Consolidates add_header statements into single top-level section
* Updates locales to match frontend/src/app/app.constants.ts
* Re-orders locales to match locale selector for easier checking
2021-07-19 18:36:13 +09:00
softsimon
cb90b09a0e
Changing block header link to icon. Setting api response header to match electrs. 2021-07-19 02:34:01 +03:00
Rishabh
2e54f4ca94
Added missing block header API (#630)
* header API frontend

* Block Header API endpoint added to Node.js backend

* updated package-lock.json

Co-authored-by: Rishabh <rishabh@Rajeshs-MacBook-Pro.local>
2021-07-19 02:26:16 +03:00
softsimon
853e2fcb8f
Minor fixes to difficulty adjustment api. 2021-07-19 00:50:09 +03:00
Priyansh
9e0a5300b0
Expose the difficulty adjustment information in an API #622 (#628)
* Added difficulty adjustment information API

* Added Difficulty API in API docs frontend

* Added link to API

* Updated the API implementation of difficulty-adjustment

* Updated API End Point in frontend

* Updated sample API response in frontend
2021-07-19 00:45:45 +03:00
Thomas Leitz
1b5930887c
fixed rsync command for frontent
nginx-mempool.conf has "root /var/www/mempool/browser;"
2021-07-18 23:20:28 +02:00
Thomas Leitz
5b39c018db
Fixed 'cp' command for nginx.conf and nginx-mempool.conf
The destination path was a file, should be a directory.
2021-07-18 22:54:47 +02:00
Miguel Medeiros
ad08c3a907
Add min-height to mempool-info-data. (#639) 2021-07-18 16:42:02 +03:00
Miguel Medeiros
08328cbf0f
Bugfix: Overflow in difficulty adjustment component. (#638)
* Remove green progress bar.

* Fix itens overflow.
2021-07-18 15:47:47 +03:00
Miguel Medeiros
03ce592ab0
Fix time-span calculation. (#635) 2021-07-18 15:42:59 +03:00
softsimon
21db5a4102
Removing shortened date i18n strings. 2021-07-18 01:02:02 +03:00
softsimon
7234734056
Updated "mins per block" i18n string. 2021-07-17 18:23:50 +03:00
softsimon
7bf9d604b9
Reusing hard coded In~1 min with base date minute i18n string. 2021-07-17 16:36:21 +03:00
softsimon
08fd4a4835
Updating from transifex. 2021-07-17 15:37:34 +03:00
softsimon
9a715871c5
Updating i18n strings. 2021-07-17 14:59:10 +03:00
Miguel Medeiros
d405334109
UI/UX - New component for difficult adjustment. (#602)
* Add next difficulty blocks.
Add next difficulty target date.
Add next difficulty total progress.
Add ajustment difficulty avg min per block.

* Fix typo.

* Trigger difficulty calculation every 5 seconds.

* Add rxjs timer to difficultyEpoch.

* Fix pipe.

* Fix small bar position.

* Change i18n strings.

* Fix typo.

* Add time-until component.

* Speed up difficultyEpoch timer to 1000 ms.

* Fix values to 2 decimal places.

* Add title to fee and difficulty adjustment cards.

* Add title outside the card.

* Fix title to center position.

* Add other titles.

* Add new transalations strings.
Refactor time span component.

* Fix difficulty adjustment i18n string.
Fix duplicated i18n strings.
2021-07-17 14:58:16 +03:00
Miguel Medeiros
38aee1a897
UI/UX - Scroll by clicking on the pagination button. (#613)
* Add scrollIntoView when click on pagination.

* Add padding top.

* Fix access DOM from ViewChild.

* Fix scrolling position.

* Fix chrome and firefox compatibility.
2021-07-16 15:33:22 +03:00
Miguel Medeiros
52aea12f22
UI/UX - Fix arrow position. (#627)
* Fix arrow position.

* Add arrows from font-awesome.

* Add icons to bisq transfers.

* Fix icon size in mobile view.
2021-07-15 23:23:37 +03:00
softsimon
ecbd18087b
Effective fee could go below 0 due to rounding error. (#623)
fixes #606
2021-07-14 22:42:48 +03:00
softsimon
d13e18a72a
Fix for liquid network redirect in staging proxy. 2021-07-14 14:40:31 +03:00
softsimon
8749b8b0fa
Updating @mempool/node-bitcoin to support new methods 2021-07-13 18:43:10 +03:00
softsimon
f2e0a71b01
Only display Trade Mark sign on english language. (#608) 2021-07-13 12:00:05 +03:00
softsimon
b4eea3dc72
Updating from transifex. 2021-07-13 11:49:46 +03:00
softsimon
cdfc03f352
Adding Hindi 2021-07-13 11:49:04 +03:00
Miguel Medeiros
2c5ccab77c
UI/UX - Blocks not visible on the TV page. (#626)
* Fix blocks not visible on the TV page.

* Add e2e testing for tv screen.
2021-07-12 17:19:58 +03:00
softsimon
80d76ad1f4
Updating from transifex. 2021-07-11 22:06:14 +03:00
softsimon
9a2428ad79
Update i18n. 2021-07-10 18:20:15 +03:00
Miguel Medeiros
71cf41362f
UI/UX - Add skeleton for blocks preload. (#615)
* Add skeleton for blocks preload.

* Add e2e testing for skeleton blocks preloader.

* Fix reduce mempool blocks to fit the screen.

* Fix variable naming.
2021-07-10 16:04:15 +03:00
Miguel Medeiros
652f88770e
Fix mouse over tooltip width. (#614) 2021-07-07 22:20:17 +03:00
Miguel Medeiros
7de2cf89f4
Fix table overflow. (#612)
fixes #303
2021-07-07 15:22:25 +03:00