Commit graph

33 commits

Author SHA1 Message Date
Lex Berezhny
5e17ce0a0b minor fixup 2020-10-30 11:37:54 -04:00
Kevin Raoofi
e8d299d3b6 Allow : or # for claim_id
This removes the code for trying multiple patterns and the setup for it

Added a few unit tests to check that the parsed URL is as expected
2020-10-30 11:37:54 -04:00
Kevin Raoofi
7637aa2ab6 Added support for spec compliant URL parsing
Legacy URLs are preserved by attempting to parse the new URL format and,
on failing that, it'll attempt the legacy one.

Tests had to be updated such that the correct things are asserted
against each other.
2020-10-30 11:37:54 -04:00
Victor Shyba
f14004e56b update url regex to cases tom reported 2020-02-09 17:55:29 -05:00
Lex Berezhny
2968f74c6c moved lbry up one level 2020-01-01 15:57:56 -05:00
Lex Berezhny
85d7adc0b5 moved lbrynet into lbry directory 2019-06-20 22:50:39 -04:00
Lex Berezhny
a459ee34be test_url unit test fix 2019-05-18 21:43:46 -04:00
Lex Berezhny
03455310ae rewrote URL parser 2019-05-18 21:43:46 -04:00
Lex Berezhny
71f5061848 exposed new protobuf fields in APIs and updated tests 2019-04-21 00:45:51 -04:00
Lex Berezhny
60080cbd19 updating to new protobufs 2019-04-20 02:33:41 -04:00
Lex Berezhny
a3bd335f7f --languages, --locations fully support all attributes, add BTC 2019-03-29 21:14:20 -04:00
Lex Berezhny
5f8482bdb7 hash -> sd_hash, encoding fixes, update to new protobufs 2019-03-27 21:57:22 -04:00
Lex Berezhny
1d68bef6f2 client side pretty much done 2019-03-25 22:54:08 -04:00
Lex Berezhny
22bacc907b moved test_channel_signing.py from tests/unit/schema to tests/unit/wallet 2019-03-25 22:54:08 -04:00
Lex Berezhny
1e8ad900c7 renamed test_signing.py to test_channel_signing.py 2019-03-25 22:54:08 -04:00
Lex Berezhny
cd2b535afb moved claim signing to TXO 2019-03-25 22:54:08 -04:00
Lex Berezhny
1ec8f0b0b4 wip 2019-03-25 22:54:08 -04:00
Lex Berezhny
d5e37acd8f minor Fee changes 2019-03-25 22:54:08 -04:00
Lex Berezhny
cd15230a92 getting close to a nice model 2019-03-25 22:54:08 -04:00
Victor Shyba
11086b93f1 migrate other fields 2019-03-25 22:54:08 -04:00
Victor Shyba
df5662136d migrate cert + adapt to latest types repo 2019-03-25 22:54:08 -04:00
Victor Shyba
291d65070d move common schema values to constants.py 2019-03-25 22:54:08 -04:00
Victor Shyba
9b64ee33dc fix imports: schema.schema -> schema.legacy_schema_v1 2019-03-25 22:54:08 -04:00
Brannon King
5bdd87c904 removed name-to-claim lookup table
added unit test for Greek and made it work


pylint: revert bad move


revert claim_sequence changes


fixed broken test
2019-03-05 09:32:43 -05:00
Victor Shyba
be6448b74f fix str/bytes confusion from resolve/claimdict on certificate_id 2019-01-17 23:24:58 -05:00
Victor Shyba
b707ee4844 encode and decode detached signatures from claim dict 2019-01-17 23:24:58 -05:00
Victor Shyba
abf94357eb tests and fixes for sig validation on undecode-able claims 2019-01-17 23:24:58 -05:00
Victor Shyba
36aded3830 store original payload for signing and verifying 2019-01-17 23:24:58 -05:00
Victor Shyba
d7ebf50602 detached as a parameter instead of class attribute 2019-01-17 23:24:58 -05:00
Victor Shyba
6339224980 tests for detached signatures 2019-01-17 23:24:58 -05:00
hackrush
6c8cbc1b9e added additional fields to uri parser 2019-01-11 15:10:22 -05:00
Victor Shyba
e46f0e2444 fix namespace lbryschema->lbrynet.schema 2018-11-04 10:50:15 -05:00
Victor Shyba
00bc7995c4 move lbryschema/tests/ into tests/unit/schema/ 2018-11-04 10:50:15 -05:00