Commit graph

15 commits

Author SHA1 Message Date
Alex Liebowitz de08c04158 Add regexp option to FormField
Still needs logic to notify the form when there's invalid input

Add address validation to Send page

Trim address input on Send page

Adds trim prop to FormField

Improve LBRY address regexp

On Send page, don't prevent form submit, and only show error on blur

This isn't a full fix (it only handles blur, it's still the form's
job to do validation on submit). A proper solution to this (that can
generalize to other forms) will probably involve looking at all of the
inputs and asking each one whether it has an error, which will
require some tricky state management.

On Send page, use error message from daemon

Update CHANGELOG.md

Further improve invalid address regexp

 - Remove incorrect check for second character
 - Add "O" to chars excluded from b58 section
 - Allow for 33-character addresses

Don't internationalize daemon error message on Send page

remove console, add i18n
2017-09-06 14:53:57 -04:00
hackrush 0f4bc36bcd The URL name is automatically suggested.
Fixes #347

minor clean up
2017-07-24 17:56:18 -04:00
6ea86b96 8325828f6e Progress towards working publish 2017-07-13 13:52:47 +07:00
Jeremy Kauffman b815f78a50 more pending and publishing fixes 2017-06-28 18:08:16 -04:00
Jeremy Kauffman df286da300 stupid pending publish hacks 2017-06-28 15:54:33 -04:00
Jeremy Kauffman 429ca37e55 fix undefined count 2017-06-28 15:45:24 -04:00
Jeremy Kauffman 289bb0b4ae hackish fix for pending publishes not working 2017-06-28 11:24:16 -04:00
Alex Grintsvayg aaec1f3a48 prettify all the files 2017-06-20 08:08:52 -04:00
Sean Yesmunt c8b949f020 format with prettier 2017-06-05 21:21:55 -07:00
Mayesters 01cb3f583e lots of stuff translated 2017-05-26 22:26:06 +02:00
Jeremy Kauffman 9d8fa102ee bug fixes, file info and my claims refactor, list claims in channel 2017-05-18 19:14:26 -04:00
Jeremy Kauffman c823ccd056 fix infinite resolve, add valid uri check 2017-05-12 16:49:15 -04:00
Jeremy Kauffman f2d6bc3dcf fix search result uri building and empty array reduce warning 2017-04-20 19:26:29 -04:00
Alex Liebowitz ca6d55da21 Add special support for building channel claims in lbryuri module
Extends lbryuri.build() and lbryuri.parse() to support special
keys, contentName and channelName. These put the right values in the
"name" and "path" position for both anonymous claims and channel
content claims, which lets us write code that can deal with either type
without special logic.
2017-04-19 14:06:29 -04:00
Alex Liebowitz 7a4e9ad656 Rename uri module and its functions 2017-04-18 15:14:56 -04:00
Renamed from ui/js/uri.js (Browse further)