Ayaz Salikhov
f518936e69
docs: Fix some doxygen issues ( #2370 )
2025-07-29 12:54:49 +01:00
Alex Kremer
b29e2e4c88
chore: Update boost usages to match 1.88 ( #2355 )
2025-07-23 15:49:19 +01:00
github-actions[bot]
4919b57466
style: clang-tidy auto fixes ( #2317 )
2025-07-10 10:50:03 +01:00
Alex Kremer
44d39f335e
fix: ASAN heap-buffer-overflow issue in DBHelpers ( #2310 )
2025-07-09 21:17:25 +01:00
Sergey Kuznetsov
bfe5b52a64
fix: Add sending queue to ng web server ( #2273 )
2025-07-09 17:29:57 +01:00
github-actions[bot]
cc506fd094
style: Update pre-commit hooks ( #2290 )
...
Update versions of pre-commit hooks to latest version.
Co-authored-by: mathbunnyru <12270691+mathbunnyru@users.noreply.github.com >
2025-07-02 16:36:34 +01:00
Ayaz Salikhov
57dda8ac50
chore: Update fmt to 11.2.0 ( #2281 )
...
Seems that new clang-tidy fails with our old fmt lib
2025-07-02 14:11:35 +01:00
Peter Chen
371237487b
feat: Support single asset vault ( #1979 )
...
fixes #1921
---------
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
2025-06-27 15:27:34 +01:00
Sergey Kuznetsov
837a547849
chore: Revert "feat: Use new web server by default ( #2182 )" ( #2187 )
...
There is an issue found in the new web server, so we couldn't use it by
default for now.
This reverts commit b3f3259b14 .
2025-06-05 17:35:21 +01:00
Sergey Kuznetsov
b3f3259b14
feat: Use new web server by default ( #2182 )
...
Fixes #1781 .
2025-06-04 15:01:30 +01:00
Ayaz Salikhov
550f0fae85
refactor: Use std::expected instead of std::variant for errors ( #2160 )
2025-06-03 13:34:25 +01:00
Ayaz Salikhov
aef3119efb
fix: Fix some doxygen docs errors ( #2130 )
2025-05-21 15:06:31 +01:00
Peter Chen
cdb5882688
refactor: remove old config ( #2097 )
...
fixes #1805
---------
Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com >
Co-authored-by: Maria Shodunke <maria-robobug@users.noreply.github.com >
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
2025-05-15 11:53:47 -04:00
github-actions[bot]
a369381594
style: clang-tidy auto fixes ( #2112 )
...
Fixes #2111 . Please review and commit clang-tidy fixes.
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com >
2025-05-14 11:28:40 +01:00
Ayaz Salikhov
02ccbf850f
style: Use codespell instead of typos pre-commit hook ( #2104 )
2025-05-13 15:15:38 +01:00
Sergey Kuznetsov
b87b32db86
feat: Dosguard API weights ( #2082 )
...
Experimental support for Dosguard API weights.
2025-05-13 15:02:21 +01:00
Alex Kremer
59282f764d
fix: Guarantee async behaviour of WsBase::send ( #2100 )
2025-05-12 19:05:43 +01:00
Ayaz Salikhov
9b83eb4033
style: Add C++ pre-commit hooks ( #2039 )
2025-04-29 15:12:38 +01:00
Ayaz Salikhov
af0a8af287
style: Add typos pre-commit hook ( #2041 )
2025-04-29 09:59:11 +01:00
Sergey Kuznetsov
bd9e39ee85
fix: Fix incorrect requests logging ( #2005 )
...
Fixes #2004 .
2025-04-17 17:49:44 +01:00
Alex Kremer
1d011cf8d9
feat: ETLng integration ( #1986 )
...
For #1594
2025-04-04 15:52:22 +01:00
Sergey Kuznetsov
d3df6d10e4
fix: Fix ssl in new webserver ( #1981 )
...
Fixes #1980 .
An SSL handshake was missing and WsConnection should be build from
stream not socket because in case SSL connection stream already
completed SSL handshake.
2025-04-01 16:12:16 +01:00
Sergey Kuznetsov
915a8beb40
style: Use error code instead of exception when parsing json ( #1942 )
2025-03-04 18:34:45 +00:00
Sergey Kuznetsov
f7db030ad7
fix: Fix dangling reference in new web server ( #1938 )
...
Also delete move constructors where moving may be dangerous.
2025-03-04 16:45:47 +00:00
Sergey Kuznetsov
d11e7bc60e
fix: Data race in new webserver ( #1926 )
...
There was a data race inside `CoroutineGroup` because internal timer was
used from multiple threads in the methods `asyncWait()` and
`onCoroutineComplete()`. Changing `registerForeign()` to spawn to the
same `yield_context` fixes the problem because now the timer is accessed
only from the same coroutine which has an internal strand.
During debugging I also added websocket support for `request_gun` tool.
2025-02-27 15:08:46 +00:00
Sergey Kuznetsov
540e938223
refactor: Use mutex from utils ( #1851 )
...
Fixes #1359 .
2025-01-27 15:28:00 +00:00
github-actions[bot]
35b9a066e3
style: clang-tidy auto fixes ( #1847 )
...
Fixes #1846 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2025-01-23 09:34:00 +00:00
Sergey Kuznetsov
957028699b
feat: Graceful shutdown ( #1801 )
...
Fixes #442 .
2025-01-22 13:09:16 +00:00
nkramer44
fbedeff697
fix: Remove InvalidHotWallet Error from gateway_balances RPC handler ( #1830 )
...
Fixes #1825 by removing the check in the gateway_balances RPC handler
that returns the RpcInvalidHotWallet error code if one of the addresses
supplied in the request's `hotwallet` array does not have a trustline
with the `account` from the request.
As stated in the original ticket, this change fixes a discrepancy in
behavior between Clio and rippled, as rippled does not check for
trustline existence when handling gateway_balances RPCs
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
2025-01-21 12:17:54 +00:00
Alex Kremer
820b32c6d7
chore: No ALL_CAPS ( #1760 )
...
Fixes #1680
2025-01-02 11:39:31 +00:00
Alex Kremer
285d4e6e9b
feat: Repeating operations for util::async ( #1776 )
...
Async framework needed a way to do repeating operations (think simplest
cases like AmendmentBlockHandler).
This PR implements the **absolute minimum**, barebones repeating
operations that
- Can't return any values (void)
- Do not take any arguments in the user-provided function
- Can't be scheduled (i.e. a delay before starting repeating)
- Can't be stopped from inside the user block of code (i.e. does not
have stop token or anything like that)
- Can be stopped through the RepeatedOperation's `abort()` function (but
not from the user-provided repeating function)
2024-12-20 13:24:01 +00:00
Sergey Kuznetsov
7d4e3619b0
fix: Fix bugs in new webserver ( #1780 )
...
Fixes #919 .
Fixes bugs for new webserver:
- Unhandled exception when closing already closed websocket
- No pings for plain websocket connection
- Server drops websocket connection when client responds to pings but
doesn't send anything
Also changing API of ng connections. Now timeout is set by a separate
method instead of providing it for each call.
2024-12-19 15:14:04 +00:00
cyan317
8dc7f16ef1
feat: Migration framework ( #1768 )
...
This PR implemented the migration framework, which contains the command
line interface to execute migration and helps to migrate data easily.
Please read README.md for more information about this framework.
2024-12-17 14:50:51 +00:00
github-actions[bot]
15a441b084
style: clang-tidy auto fixes ( #1786 )
...
Fixes #1785 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2024-12-17 09:45:14 +00:00
Peter Chen
3c4903a339
refactor: Replace all old instances of Config with New Config ( #1627 )
...
Fixes #1184
Previous PR's found [here](https://github.com/XRPLF/clio/pull/1593 ) and
[here](https://github.com/XRPLF/clio/pull/1544 )
2024-12-16 15:33:32 -08:00
Sergey Kuznetsov
7bef13f913
feat: Add dosguard to new webserver ( #1772 )
...
For #919 .
2024-12-10 14:59:12 +00:00
Alex Kremer
475e309f25
chore: Add clang-tidy 19 checks ( #1774 )
...
Fix #1664
2024-12-09 16:27:53 +00:00
Alex Kremer
fd73b90416
feat: Healthcheck endpoint ( #1751 )
...
Fixes #1759
2024-11-26 13:56:25 +00:00
github-actions[bot]
b5da61931f
style: clang-tidy auto fixes ( #1749 )
...
Fixes #1748 .
2024-11-22 10:28:17 +00:00
Alex Kremer
6af86367fd
feat: GrpcSource for ETL ng ( #1745 )
...
For #1596 and #1597
2024-11-21 17:03:37 +00:00
Sergey Kuznetsov
c77154a5e6
feat: Integrate new webserver ( #1722 )
...
For #919 .
The new web server is not using dosguard yet. It will be fixed by a
separate PR.
2024-11-21 14:48:32 +00:00
Peter Chen
67d99457f2
feat: Add Support Credentials for Clio ( #1712 )
...
Rippled PR: [here](https://github.com/XRPLF/rippled/pull/5103 )
2024-11-14 19:52:03 +00:00
cyan317
1c82d379d9
fix: Add queue size limit for websocket ( #1701 )
...
For slow clients, we will disconnect with it if the message queue is too
long.
---------
Co-authored-by: Sergey Kuznetsov <skuznetsov@ripple.com >
2024-10-25 13:30:52 +01:00
Sergey Kuznetsov
c62e9d56b8
fix: Fix issues clang-tidy found ( #1708 )
...
Fixes #1706 .
2024-10-25 11:48:18 +01:00
github-actions[bot]
2a5d73730f
style: clang-tidy auto fixes ( #1705 )
...
Fixes #1704 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2024-10-25 09:05:28 +01:00
Sergey Kuznetsov
cffda52ba6
refactor: Coroutine based webserver ( #1699 )
...
Code of new coroutine-based web server. The new server is not connected
to Clio and not ready to use yet.
For #919 .
2024-10-24 16:50:26 +01:00
cyan317
d60654c3dc
fix: Remove log ( #1694 )
2024-10-18 17:11:15 +01:00
cyan317
9b0b4f5ad7
chore: Add counter for total messages waiting to be sent ( #1691 )
2024-10-16 17:06:27 +01:00
Alex Kremer
b761fffa2d
style: Update code formatting ( #1682 )
...
For #1664
2024-10-14 17:15:36 +01:00
github-actions[bot]
0ff1edaac8
style: clang-tidy auto fixes ( #1604 )
...
Fixes #1603 . Please review and commit clang-tidy fixes.
Co-authored-by: kuznetsss <15742918+kuznetsss@users.noreply.github.com >
2024-08-14 08:48:23 +01:00