Commit graph

275 commits

Author SHA1 Message Date
Sean Yesmunt
71fbcfda80 fix: add isNameValid to global exports 2018-04-23 22:27:53 -04:00
akinwale
fa21fe153c
Mobile settings constants added (#10)
* BACKGROUND_PLAY_ENABLED and FOREGROUND_NOTIFICATION_ENABLED mobile settings constants added
2018-04-23 21:01:44 +01:00
Akinwale Ariwodola
bdf7639bb2 Added version call to lbry.js since proxy polyfill still doesn't work properly 2018-04-21 21:40:54 +01:00
akinwale
8c8c937ea7
Merge pull request #8 from lbryio/proxy-polyfill-rn
changed proxy-polyfill to 0.1.6. Added 'umd' libraryTarget for react native.
2018-04-21 21:26:10 +01:00
Akinwale Ariwodola
81f45c3f6b changed proxy-polyfill to 0.1.6 as newer versions break on React Native. Added 'umd' libraryTarget for react native. 2018-04-21 21:24:40 +01:00
Igor Gassmann
adaea6c816
Merge pull request #5 from lbryio/cleanup
Overall clean-up and improvement of the project
2018-04-21 12:47:11 -04:00
Igor Gassmann
38b239ddb6 Merge branch 'master' into cleanup 2018-04-21 12:43:43 -04:00
Sean Yesmunt
76a00293f9
Merge pull request #6 from lbryio/do-notify
Finish doNotify changes
2018-04-19 15:24:35 -04:00
Sean Yesmunt
2d90a737ad update build 2018-04-19 15:17:21 -04:00
Sean Yesmunt
b786f1cfb7 remove modal/snack constants 2018-04-19 14:59:08 -04:00
Sean Yesmunt
c278824b3d update doNotify and add doHideNotification 2018-04-19 14:55:37 -04:00
ProfessorDey
40ae42c5f6
Simplify Media Identification Function
Rebased from LBRY/lbry-app PR# 1304 with corrections requested by Codacy (Though may still complain regarding spacing).

This just makes the code for finding documents a lot easier. the regex patterns and the media type are converted into keypairs, [regex, mediatype] which is then reduced to a single value, which will either be the original filename if there are no matching extensions, or the mediatype. So long as the mediatype does not contain an extension at the end of the string, this system should work far more simply.

This will also allow for easier addition of new extensions to the function, so long as they all follow the same pattern for the regex:
^ = Start of string
.+ = 1 or more characters of any type
. = A literal dot
(a|b|c) = A list of ORed extensions within a capture group '( )'
$ = End of string, so it is certain this is the actual extension of the filename

Won't be hard to add things like Archives, Executables, etc with just a single extra line now.
2018-04-19 17:59:24 +00:00
Igor Gassmann
1a2c4645c5 chore: final cleanup 2018-04-05 14:00:21 -04:00
Sean Yesmunt
800083dc24
Merge pull request #4 from lbryio/search-fix
fix: check that claim exists before checking value
2018-04-05 11:46:42 -04:00
Sean Yesmunt
006963322e fix: check that claim exists before checking value 2018-04-05 11:45:17 -04:00
Igor Gassmann
2e0752286f chore: clean gitignore file 2018-04-05 11:29:14 -04:00
Igor Gassmann
c7d65ad378 fix: linting errors 2018-04-05 11:27:29 -04:00
Igor Gassmann
950277f243 fix: commit Yarn lock file 2018-04-05 11:22:16 -04:00
Igor Gassmann
915acacf6c feat: add ESLint as a githook 2018-04-05 11:21:43 -04:00
akinwale
6418b5a9f2
Common components refactor (#1) 2018-04-05 03:57:29 +01:00
Alex Grin
8f766fa930
Merge pull request #2 from lbrydocs/patch-1
create initial LICENSE file
2018-02-28 09:41:18 -05:00
LBRY Docs
773b317208
create initial LICENSE file 2018-02-05 12:49:16 -08:00
Akinwale Ariwodola
57e5b4a086 added lbryapi.js and removed electron-specific code from lbry.js 2018-01-15 19:06:44 +01:00
Akinwale Ariwodola
e127e3c38d updated index for cost_info reducer 2018-01-11 13:12:37 +01:00
Akinwale Ariwodola
cf9b0cfdaf Initial commit 2018-01-11 12:54:20 +01:00