Commit Graph
60 Commits
Author SHA1 Message Date
dni ⚡andGitHub eb0b06f98c [DEV] add ruff for linting and combine linters into one workflow (#1875)
* remove unused and update black + precommit
* makefile add ruff remove unused
* F541 fix
* complete ruff ignore
* remove unused workflow and combine linters into one
add lnbits/static to ruff ignore
save preview and linelength for later
define target version for black
* ignore upgrades for mypy
* remove flake8
* ignore F401 for __init__ files
* unused pylint comment
* unused noqa
* ignore upgrades for black
* run linting on py3.9 and py3.10
* dont assume python
2023-08-19 07:38:04 +02:00
dni ⚡andGitHub 5e03f8eed8 [TEST] update pytest-cov to remove warning (#1867)
cleanup this warning when running tests
2023-08-16 16:26:48 +02:00
dni ⚡andGitHub f0a66e41fb [CHORE] flake8 issues E402, E721 and F821 (#1874)
* F821: undefine name
disabled and logged webhook_listener for opennode and lnpay because they are obviously not working
* E402: module level import not at top of file
* E721 fixes, only popped up for python3.9 not 3.10
2023-08-16 12:22:14 +02:00
dni ⚡andGitHub f478c1848a update embit to 0.7.0 (#1777) 2023-07-21 10:42:35 +02:00
dni ⚡andGitHub 963fd5de50 add github workflow for checking openapi (#1551)
* add github workflow for checking openapi

* verbose errors

* actual fix? remove env_names from BaseSettings class?

* dont kill process in workflow

* poetry version 1.5.1 for openapiu
2023-07-19 12:28:27 +01:00
dni ⚡andGitHub f7cbe74d77 Update poetry to 1.5.1 (#1804)
* update poetry to 1.5.1 inside workflows

* update lock file to poetry 1.5.1

* test run 1

* test run 2

* run 3

* try different sortorder

* cli should use --no-root

here  are the refereneces.
https://python-poetry.org/docs/basic-usage/#installing-dependencies-only
https://pip.pypa.io/en/stable/topics/local-project-installs/#regular-installs

* cache migrations aswell

* test flake

* optimize docker image for regtest building

* playng

* remove test run 1

* remove run 2

* remove run 3

* run 4

* run 6

* run 7

* run 8

* run 9

* run 10
2023-07-11 12:46:40 +02:00
7e1f43933d Adds security tools, such as a rate limiter, IP block/allow, server logs (#1606)
* added ratelimiter
* Adds server logs to admin ui
* Added IP allow/ban list
* fixed remove ips
* Split rate limit number and unit
* security tab and background tasks for killswitch
* fix test for auditor api

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-06-20 11:26:33 +02:00
dni ⚡andGitHub bb9ef7f88c FEAT: precommit git hooks, based on fusions #913 (#1645)
* init commit for precommit

* some reformatting precommit does
2023-05-09 09:41:40 +01:00
dni ⚡andGitHub 1b84ebf13d FEAT: build static files with npm (sass, concat, minify), remove build step from python, include minified bundle files (#1601) 2023-04-21 14:51:46 +02:00
dni ⚡andGitHub bef2d4a72e remove boltz_client as dependecy (#1610) 2023-04-21 14:42:52 +02:00
dni ⚡andGitHub 04471b8b5b remove python38 from pyproject.toml (#1632) 2023-04-21 14:37:26 +02:00
dni ⚡andGitHub fe315d0a9b FEAT: remove python 3.7 and update dependencies (#1629)
* FEAT: remove python 3.7 and update dependencies

* readd pylint
2023-04-17 09:44:08 +02:00
Pavol Rusnak f860c170fc Bump shortuuid dependency to fix build on Python 3.10 2023-03-10 11:54:23 +01:00
dni ⚡andGitHub b151004476 fix/unused deps (#1473)
* remove unused packages

fixup

* typo in log
2023-02-07 18:09:22 +01:00
Pavol Rusnak c8efe41e1a add flake8 and pylint as dev dependencies 2023-01-30 11:46:43 +00:00
calleandGitHub 80a94aa9ce Fix/cashu update protocol (#1433)
* updates NOTE: fix pyproject and requirements

* revert GET to POST

* update cashu on pip and change name of models

* adjust client to spendable

* refactor spendable
2023-01-30 09:29:44 +01:00
calleandGitHub 12d037901e Dependencies: update protobuf and grpcio to latest versions (#1420)
* update protobuf and grpcio to latest versions

* fix their versions
2023-01-26 14:24:17 +01:00
calleandGitHub 9a39a5d5ba fix all library versions (#1419) 2023-01-26 13:51:12 +01:00
calleandGitHub f6e0301209 Dependencies: fix cashu and boltz version (#1418)
* fix cashu version

* fix boltz version
2023-01-26 13:35:27 +01:00
d89a6a337a boltz extension v2, recurring swaps (#981)
* add status to statusdialog

* first commits for boltz update

* formatting

* add latest boltz-clien package

* big refactor, depending on boltz_client package, clean up, mypy issues, not tested yet

* blacking, sorting and stuff

* remove unused req_wrap helper

* remove api docs from frontend

* bug: frontend boltz limits error

* clean up buttons

* update to boltz-client 0.0.8

* fix tests to poetry version 1.3.1

* update requirements

* formatting

* recurring swap works now, need more finetuning

* add exceptions for multiple auto swaps and swapping in with active auto swap

* black

* auto reverse swap actually works :)

* remove swap status dialogs

* update to boltz_client 0.0.9

* update to boltz-client 0.1.1, and fix startup

* update requirement.txt for boltz-client

* fixup columns in table, remove unused payment.extra, change deezy label

* remove balance check for auto swap out

* update boltzc-lient to 0.1.2, fix mypy issue inside boltz package

* nitpicks calle tasks.py

* calle nitpicks crud

* calle nitpicks crud

* refactor

* fix formatting

* circular import

* black :)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-01-19 10:30:47 +01:00
calleandGitHub 17f5b734b2 Cashu 0.8 (#1370)
* support cashu 0.8

* dont comment out script

* update cashu logo on mint page

* fixing versions

* installing cashu from pypi works

* update requirements.txt
2023-01-15 11:24:11 +01:00
callebtc dbaf8a165b update poetry.lock to 1.3.1 2023-01-11 12:19:35 +01:00
dni ⚡ 7218057ca2 update lock file and workflows to poetry 1.3.1 2022-12-27 13:20:07 +01:00
Vlad StanandGitHub 2eeef5c1ed Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
callebtc cef4244bfc update to cashu 0.6.0 2022-12-15 00:33:24 +01:00
dni ⚡ 4702448ecf fix satspay settings 2022-12-01 12:28:28 +01:00
callebtcanddni ⚡ 33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calleanddni ⚡ 2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtcanddni ⚡ e790a5567b update cashu 2022-12-01 12:21:25 +01:00
callebtcanddni ⚡ c2d2366390 adjust versions to import cashu 2022-12-01 12:21:24 +01:00
callebtcanddni ⚡ 544765cf6b can install cashu 0.4.1 2022-12-01 12:21:24 +01:00
callebtcanddni ⚡ df59e5475e restore pyproject 2022-12-01 12:21:24 +01:00
callebtcanddni ⚡ b41bd694a1 endpoints work 2022-12-01 12:21:24 +01:00
callebtcanddni ⚡ 70ca997c11 Revert "adjust versions"
This reverts commit 4303af4f14.
2022-12-01 12:21:24 +01:00
callebtcanddni ⚡ 2ea636ec9b adjust versions 2022-12-01 12:21:24 +01:00
callebtc ca0a13346b bump cashu to 0.5.5 2022-11-30 17:44:55 +01:00
callebtc 35c5542b2f restore 7f64f426c2 2022-11-30 16:24:13 +01:00
calleandGitHub 5c09469d61 Revert "Extension: Cashu" 2022-11-27 18:03:20 +01:00
callebtc e3187a1d89 lock cashu version 2022-11-26 15:26:32 +01:00
callebtc 9864f2a19c update cashu 2022-11-26 03:01:06 +01:00
callebtc 0735b5bf7d update to cashu 0.5.3 with db fix 2022-11-26 02:14:39 +01:00
callebtc dd37368d98 cashu update 2022-11-04 19:43:23 +01:00
dni ⚡ 8fbf109099 fix poetry lockCCC 2022-10-25 09:25:37 +02:00
dni ⚡ 74ffd72879 fix poetry lock in main 2022-10-25 09:24:14 +02:00
dni ⚡ 17c0deef48 update poerty lock 2022-10-25 09:24:12 +02:00
callebtc e8e4c7f9c3 works 2022-10-24 09:26:32 +02:00
callebtc ec6bb1624a adjust versions to import cashu 2022-10-21 15:15:43 +02:00
callebtc c10a2b647f can install cashu 0.4.1 2022-10-18 11:24:45 +02:00
callebtc ef056d1647 restore pyproject 2022-10-18 11:20:53 +02:00
callebtc d40298673c endpoints work 2022-10-13 22:10:33 +02:00