31 Commits
Author SHA1 Message Date
tom goriunovandGitHub 8638b62d6c Update 429 page wording (#2959)
Fixes #2956
2025-08-20 19:50:54 +02:00
tom goriunovandGitHub 06acc48e35 Changes in ReCaptcha behavior (#2829)
* migrate to v2 API URLs for CSV exports

* don't ask user to solve recaptcha for first response; pass token in header as well

* hide "Try again" button if no bypass allowed

* fix tests
2025-07-04 09:23:00 +02:00
tom goriunovandGitHub 4b42c5fa70 Call the API logout endpoint when the user logs out (#2469)
* Call the API logout endpoint when the user logs out

* fix tests

* one more fix
2024-12-16 13:22:09 +01:00
tom goriunovandGitHub da6b2f2b87 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 9b1d5fa1a0 refine Sentry setup (#1229)
* [skip ci] reusable workflow for publishing docker image

* [skip ci] clean up

* remove sentry/nextjs

* refine config and fetch error payload

* log 404

* make ENV variables for instance and enviroment optional

* add release and enviroment to csp
2023-10-02 13:46:28 -03:00
tom goriunovandGitHub 4c905b061c Highlight Safe wallets (#1174)
* add tag and icon for safe contracts

* surpress sentry error log and describe feature in the docs

* refine logs at container start
2023-09-19 11:18:07 -03:00
tom goriunovandGitHub 4fa0edfae3 support 429 "Too many requests" API error (#1004)
* get client key on 429 error

* set key to cookie and pass it in query params

* move csrf-token header to useApiFetch

* pin host for preview

* actual layout

* support new changes in API

* proxy headers from API

* add header to request

* remove next.js proxy flag

* fix ts

* refactor

* add tests
2023-08-02 19:45:06 -04:00
tom 0fd789f05c pass csrf token in header 2023-03-09 11:31:38 -06:00
tom 530185520e add meta data to sentry errors 2023-02-28 18:49:43 -05:00
tom 23759d31b9 submit form to api 2023-02-01 17:39:30 -05:00
tom 493b03f60f Merge branch 'main' of github.com:blockscout/frontend into cors-refactoring 2023-01-18 09:22:43 -06:00
tom fcd1bdf6cf add body for DELETE methods 2023-01-16 08:55:54 -06:00
tom 247946f69f Merge branch 'main' of github.com:blockscout/frontend into search-bar 2023-01-12 17:50:10 -06:00
tom fb91086e65 call api from client on preview stands 2023-01-12 09:51:02 -06:00
tom 4e44453182 add header for POST/PUT requests 2023-01-12 09:09:10 -06:00
tom e6ac8bab19 Merge branch 'main' of github.com:blockscout/frontend into search-bar 2022-12-30 11:35:28 +03:00
tom 22b0ae8ba1 refactoring and clean up 2022-12-29 11:30:24 +03:00
tom a4bf5587cd pass csrf token in body again 2022-12-26 18:55:26 +03:00
tom 265b425ca9 add api 2022-12-26 16:26:10 +03:00
tom c54d0ce149 pass csrf token in header instead of body 2022-12-24 10:48:55 +04:00
tom cf76b6b265 rollback csrf 2022-12-20 15:07:37 +03:00
tom 443f5a5f11 more debug 2022-12-20 13:22:17 +03:00
tom 9534edd439 debug 2022-12-20 13:06:37 +03:00
tom 8ea2bf43cf stats api 2022-12-20 12:52:47 +03:00
tom 19ef04ff3c custom abi resources 2022-12-19 17:11:53 +03:00
tom 41798ff7ac fix ts 2022-12-19 13:30:57 +03:00
tom d8ad7d612b first two resources and hook 2022-12-19 13:23:54 +03:00
tom 295bbac704 Merge branch 'main' of github.com:blockscout/frontend into client-api-calls 2022-10-18 16:20:30 +03:00
tom 441e49a660 init sentry at run time 2022-09-30 13:35:12 +03:00
tom b7d9cce206 call api from client for user profile data 2022-09-22 18:35:50 +03:00
tom 5fa1a2da34 pass csrf token for state changing requests 2022-09-14 13:53:40 +03:00