224 Commits
Author SHA1 Message Date
zeekay 901b8be9c3 Patch over newest 2025-02-02 13:02:47 -06:00
zeekay d80edcc0d8 Fix build, packages sync, pnpm support 2025-02-01 14:31:19 -06:00
zeekay 0f9eebebb9 Add envs in for now 2025-02-01 14:31:03 -06:00
tom goriunovandGitHub b9c24fea17 Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +01:00
tom goriunovandGitHub d632a4ac64 OG image: automatically generate image on container start (#2496)
* make script to generate OG image at container start

* add prod service URL

* remove og_image.png

* update path to file

* [skip ci] remove app url from payload
2025-01-14 12:01:18 +01:00
tom goriunovandGitHub dca3598161 Generate sitemap.xml and robots.txt files (#2502)
* base implementation of sitemap generator

* move generator to separate directory to optimize docker image size

* generate robots.txt file
2025-01-14 11:56:47 +01:00
tom 39f9ebf644 append hash to sprite file name base on its content 2024-12-23 15:37:28 +01:00
tom goriunovandGitHub f6a002b180 Migrate from web3modal to reown (#2321)
* migrate from `web3modal` to `reown`

Fixes #2316

* bump up package versions
2024-12-13 18:32:26 +01:00
tom goriunovandGitHub a93e992291 ReCaptcha: migrate back to v2 solution (#2446)
* show recaptcha in the site footer

* replace badge in footer with text

* add invisible reCaptcha v2

* handle unsolved reCaptcha case

* migrate the rest of components to invisible reCaptcha v2

* remove unused code

* refactoring

* add env for demo

* fix tests

* update values for demo

* update link to secret in vault

* mock recaptcha for tests

* ohhh victor victor

* fix token metadata update test

* deprecate variable for ReCaptcha v3
2024-12-09 18:06:56 +01:00
tom goriunovandGitHub 00993d0a5a Add Nouns pfps (#2447)
Fixes #2428
2024-12-09 18:01:53 +01:00
tom goriunovandGitHub bf73089cd2 Migrate from Sentry.io to Rollbar monitoring solution (#2403)
* basic Rollbar setup

* remove sentry code

* add rollback env to values for demo

* [skip ci] adjust instance name

* fix validator

* don't log errors from API by default and change error levels

* [skip ci] change default value for environment property

* [skip ci] do not log api errors of address endpoint
2024-11-29 15:25:59 +01:00
tom goriunovandGitHub 39771804db Bump up Node.js to v22 (#2410)
* Bump up Node.js to v22

Fixes #2404

* update Playwright to v1.49.0

* fix tests

* one more fix

* fix screenshots
2024-11-25 12:43:05 +01:00
tom goriunovandGitHub b21f57a9ba Try @helia/verified-fetch for fetching NFT images from IPFS (#2363)
* prototype

* fetch video poster from ipfs

* add a constraint to the asset type

* add ENV variable

* fix tests

* [skip ci] clean up
2024-11-25 10:03:18 +01:00
Igor StuevandGitHub bc87bdf0f1 up dappscout-iframe for react version compatibility (#2405) 2024-11-18 18:30:13 +07:00
tom c472120f1f [skip ci] fix eslint run command 2024-11-13 13:00:15 +01:00
tom 5c286d6517 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom b26307bce5 update nextjs version 2024-11-12 13:41:23 +01:00
tom goriunovandGitHub 29ee20ff02 Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
94e289c068 Account v2 (#2262)
* simple profile button and auth modal layout

* connect email and code screens to API

* add screens to modal for wallet authentication

* migrate to pin input

* user profile menu

* refactor otp field

* fix passing set-cookie from api response

* add wallet info into profile menu

* add mobile menu

* show connected wallet address in button

* my profile page re-design

* custom behaviour of connect button on dapp page

* style pin input

* add logout

* handle case when account is disabled

* handle case when wc is disabled

* remove old components

* refactoring

* workflow to link wallet or email to account

* link wallet from profile

* show better OTP code errors

* add email alert on watchlist and verified addresses pages

* deprecate env and remove old code

* remove code for unverified email page

* add auth guard to address action items

* move useRedirectForInvalidAuthToken hook

* add mixpanel events

* refetch csrf token after login and fix connect wallet from contract page

* Add NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY env

* migrate to reCAPTCHA v3

* resend code and change email from profile page

* better wallet sign-in message error

* fix demo envs

* update some screenshots

* profile button design fixes

* fix behaviour "connect wallet" button on contract page

* fix linking email and wallet to existing account

* bug fixes

* restore the login page

* update screenshots

* tests for auth modal and user profile

* add name field to profile page and write some tests

* [skip ci] clean up and more tests

* update texts

* change text once more

* fix verified email checkmark behaviour

* pass api error to the toast while signing in with wallet

* [skip ci] disable email field on profile page

* bug fixes

* update screenshot

* Blockscout account V2

Fixes #2029

* fix texts and button paddings

* Form fields refactoring (#2320)

* text and address fields for watchlist form

* checkbox field component

* refactor private tags form

* refactor api keys and custom abi

* refactor verifiy address and token info forms (pt. 1)

* refactor token info forms (pt. 2)

* refactor token info forms (pt. 3)

* refactor public tags form

* refactor contract verification form

* refactor contract audit form

* refactor auth, profile and csv export forms

* renaming and moving

* more refactoring and test fixes

---------

Co-authored-by: aagaev <[email protected]>
2024-10-30 12:56:57 +01:00
Igor StuevandGitHub a133c89b30 Merge pull request #2269 from blockscout/bump-pw-1-47
Bump Playwright to v1.47.2
2024-09-27 16:01:45 +02:00
tom 655328b10a remove --ignore-optional flag 2024-09-25 18:13:51 +02:00
tom 7a80de6fad add rollup-linux to optional dependencies 2024-09-25 17:31:35 +02:00
tom 2f36c862b6 Bump Playwright to v1.47.2 2024-09-25 16:36:08 +02:00
isstuev c13b919832 design fixes 2024-09-25 10:16:02 +02:00
isstuev aec7b6b2f2 stats updates 2024-09-25 10:16:02 +02:00
isstuev 19f663965a up nextjs version 2024-09-23 14:36:59 +02:00
tom goriunovandGitHub 3a7ef09724 Bump up packages versions (#2229)
* Bump up packages vertions

* fix wagmi config, wc csp policy and id type in account resources
2024-09-11 19:24:16 +02:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>tom
2a67979e83 Bump path-to-regexp from 6.2.1 to 8.1.0 (#2228)
* Bump path-to-regexp from 6.2.1 to 8.0.0

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.1 to 8.0.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v6.2.1...v8.0.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* bump path-to-regexp up to v8.1.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: tom <[email protected]>
2024-09-11 16:11:46 +02:00
omnusandGitHub d7a264b6ee Next.js compliant command for production builds (#2219)
* feat: Vercel compliant command for prod builds

* feat: simplify to a single command, rename command

Also included the script to download assets.

* fix: exclude vercel injected env vars

Vercel injects a number of environment variables, that in some cases can result in run time errors when the app is reading from envs.js. Exclude these.
2024-09-11 12:20:27 +02:00
tom goriunovandGitHub 3a0e318834 SolidityScan API response schema validation (#2190)
* add schema validation to solidity scan report resource

* report invalid API schema event to prometheus
2024-08-26 11:28:53 +02:00
tom goriunovandGitHub b300a8ce0c ENS: add offchain support and fix bugs (#2156)
* ens: add offchain support and fix bugs

Fixes #2136

* fix ts
2024-08-12 18:08:20 +02:00
Max Alekseenko 1036d9c52c Merge branch 'main' into dapp-rating 2024-07-15 13:38:28 +02:00
tom goriunovandGitHub 7a3982654a Syncronize dev ENVs presets (#2093)
* base functionality

* update presets

* update docs
2024-07-12 18:27:20 +02:00
Max Alekseenko ddb6bf29f2 Merge branch 'main' into dapp-rating 2024-07-10 14:49:34 +02:00
Max Alekseenko 8bb9a6f066 add dapp ratings 2024-07-09 16:26:56 +02:00
tom goriunovandGitHub 98f279bc88 Merge pull request #2062 from blockscout/tom2drum/issue-1970
Identicon render issue on `Name details` page on mobile
2024-07-05 20:55:44 +04:00
tom goriunovandGitHub 508ddf2699 Merge pull request #2054 from blockscout/release/v1_32_0-fixes
Fixes for release v.1.32.0
2024-07-03 18:19:40 +04:00
tom goriunovandGitHub 4645e51452 Migrate to @blockscout/stats-types and @blockscout/visualizer-types (#2063)
* migrate to stats-types package

* migrate to visualizer-types package

* update package.json
2024-07-02 16:27:13 +02:00
tom c8b88f77eb Identicon render issue on Name details page on mobile
Fixes #1970
2024-07-02 10:43:26 +02:00
Max Alekseenko fa4b582f88 bump dappscout-iframe from 0.2.1 to 0.2.2 2024-06-27 17:03:01 +02:00
tom goriunovandGitHub 80cd43ad5e Implement NFT instance metadata refetch button (#2039)
* refactor token instance page title

* add menu item and modal with recaptcha

* initialize refresh and show loading state

* handle error state

* fix metadata atributes parser

* refactoring

* tests
2024-06-25 18:19:39 +02:00
dependabot[bot]andGitHub fd36e038b6 Bump ws from 8.11.0 to 8.17.1
Bumps [ws](https://github.com/websockets/ws) from 8.11.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.11.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
2024-06-21 11:16:27 +00:00
tom goriunovandGitHub 14eccfa482 Migrate to bens-types (#2023)
migrate to BENS types
2024-06-13 20:13:10 +02:00
tom 39df59154c bump version of web3modal to v4.2.1 2024-05-17 19:33:47 +02:00
tom goriunovandGitHub a03da72b30 bump Next.js version to v14.2.3 (#1885) 2024-05-03 18:48:06 +02:00
tom goriunovandGitHub da8c180f2c Monitoring: social preview bots request counter (#1781)
* add counter metric and logger for bot request

* add script for grafana local instance

* add log endpoint

* add ENV to enable monitoring

* [skip ci] change metric labels and add telegram bot

* [skip ci] remove 404 from /metrics route
2024-04-04 12:49:21 +02:00
tom 0275981007 [skip ci] update web3modal to next minor version 2024-04-01 18:19:44 +02:00
tom goriunovandGitHub 8a5738730f Playwright tests refactoring, pt.1 (#1744)
* abort all requests for external resources and single mock for text ad

* render and mockApiResponse fixtures

* move fixtures into separate files

* rewrite Blocks test

* refactor mockApiResponse signature

* test with auth

* rewrite test with other API domains

* fix test

* separate script for installing deps in pw docker
2024-04-01 14:48:30 +02:00
Max Alekseenko 0a7b14693b upgrade dappscout-iframe 2024-03-26 12:56:51 +01:00
tom goriunovandGitHub 7dd2cafada update web3modal to v4 (#1731)
* update hooks and methods

* fix typescript

* options fix

* fix pw test build

* try to fix tests

* more pw test fixes

* update screenshots and fix address verification test
2024-03-25 08:41:20 +01:00