Commit Graph

48 Commits

Author SHA1 Message Date
Tiger Oakes
b248451666 [components] Issue https://github.com/mozilla-mobile/android-components/issues/3481 - Fix null checks before Android Q 2019-06-25 10:38:03 +02:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Denys M
b6629cd6fc [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in browser-domains. 2019-06-11 17:48:41 +02:00
Denys M
e0cc1b4c6a [components] For https://github.com/mozilla-mobile/android-components/issues/2346. Enable kotlin warningsAsErrors for browser-domains module.
- Refactor `ShippedDomainsProvider` and `CustomDomainsProvider`. Using
composition instead of inheritance.
- Add tests for `BaseDomainAutocompleteProvider`.
2019-06-05 12:10:59 +02:00
Sebastian Kaspari
5c54ec453d [components] Closes https://github.com/mozilla-mobile/android-components/issues/842: Migrate from support libraries to AndroidX. 2019-05-02 16:08:55 +02:00
Michael Comella
8027f64272 [components] Closes https://github.com/mozilla-mobile/android-components/issues/54: Fix nullable receiver in CustomDomains.
This is the one error I fixed.
2019-03-15 17:47:08 +01:00
Cassidy James Blaede
00a339891d [components] Remove emgn.com
It's erroring out.
2019-02-26 18:07:47 +01:00
Cassidy James Blaede
dd8d664d54 [components] Remove ijreview.com from domains
It's dead
2019-02-26 18:07:36 +01:00
Cassidy James Blaede
975ba320b5 [components] Remove toysrus.com from domains
They've gone bankrupt and no longer offer a store online; the current site is a placeholder
2019-02-26 18:07:17 +01:00
Cassidy James Blaede
618499db73 [components] Remove likes.com from domains
Server is erroring out
2019-02-26 18:07:08 +01:00
Cassidy James Blaede
d3557d2021 [components] Remove fatwallet.com from domains
They've shut down
2019-02-26 18:06:55 +01:00
Cassidy James Blaede
2663721b83 [components] Remove regnok.com from domains
Looks like a dead website
2019-02-25 18:23:44 +01:00
Cassidy James Blaede
932afb2187 [components] Remove conservativetribune
According to [NewsGuard](https://api.newsguardtech.com/6E0FA7E2CF73DA94AB47BB2FCA2F31FEADEFDA6504DAB9BD10FE6EE11958D35751CF3DEEA2E6D8F66DFE9688C3562CB8EF46C880D400F511?cid=6437f3cb-6332-46e6-9000-309663a9e9c8):

>has published misleading headlines, debunked conspiracy theories, and poorly vetted content.
2019-02-25 17:45:08 +01:00
Cassidy James Blaede
f9416d3c58 [components] Remove backpage.com from domains
It was seized by the US government due to soliciting child prostitution.

>The Justice Department today announced the seizure of Backpage.com, the Internet’s leading forum for prostitution ads, including ads depicting the prostitution of children. 

–https://www.justice.gov/opa/pr/justice-department-leads-effort-seize-backpagecom-internet-s-leading-forum-prostitution-ads
2019-02-25 17:44:29 +01:00
Grisha Kruglov
8260324a9b [components] Perform browser-toolbar autocompletion off the UI thread
At this point in the stack, we're not in control over what our
autocomplete providers are, what actions they'll do in order to
field our queries, etc. For example, some providers may hit the disk
and perform expensive DB queries internally. Some may even hit the
network, in theory!

In order to keep things perceptively speedy, let's run the actual work
off the main thread. This patch sets up a new pool thread to process
autocomplete requests. More than one thread is selected so that we maintain
liveliness during quick user input. Background tasks are cancelled as new
queries come in, and stale results are discarded.
2019-02-08 12:22:13 -08:00
Mitchell Hentges
8fd19cdf3a [components] Moves description to be part of project.ext 2019-01-11 10:08:32 +01:00
Mitchell Hentges
3ee4d96a84 [components] Reads componentsVersion from .buildconfig.yml 2019-01-11 10:08:32 +01:00
Sebastian Kaspari
4c18208bcd [components] Closes https://github.com/mozilla-mobile/android-components/issues/1485: browser-domains: Move new classes to "autocomplete" sub package. 2018-11-27 20:37:12 -05:00
Grisha Kruglov
c506ab7082 [components] Refactor 'browser-domains', splitting a single provider into two 2018-11-26 18:51:31 +01:00
ali-abdullah
89f3263d12 [components] included buildSrc in ktlint and detekt checks 2018-11-16 12:40:04 +01:00
Sebastian Kaspari
4fcc11ef9b [components] Issue https://github.com/mozilla-mobile/android-components/issues/404: Build with and target SDK 28 (+ update support libraries)
* Build with and target SDK 28.
* Use Robolectric 4.0-alpha-3.
* Update support libraries to 28.0.0.
* .travis.yml: Update platform version.
2018-11-15 18:12:42 +01:00
Christian Sadilek
e34c22f81b [components] Closes https://github.com/mozilla-mobile/android-components/issues/1305: Upgrade to Kotlin 1.3.0 and Coroutines 1.0.1 2018-11-09 09:26:47 +01:00
Grisha Kruglov
782980355f [components] Stop using deprecated versions of async, launch, etc
This switching to using explicit CoroutineScopes and Dispatchers,
trying to inherit context when appropriate.
2018-11-07 13:04:17 -08:00
Sebastian Kaspari
53b3d1a71f [components] Update repository information in README files. 2018-10-25 15:37:46 +02:00
Sebastian Kaspari
9e17b84339 [components] Simplify build configuration. 2018-10-24 10:21:12 +02:00
Johan Lorenzo
0ca864a1bf [components] Stop Bintray. Update {group,artifact}Ids. Remove massage task 2018-10-22 14:35:51 +02:00
Marco
6e4f04af78 [components] Closes https://github.com/mozilla-mobile/android-components/issues/47: Remove test prefix from method names 2018-10-10 15:59:39 -04:00
Christian Sadilek
7d8fc60d54 [components] Closes https://github.com/mozilla-mobile/android-components/issues/979: Document browser domains component 2018-10-08 11:30:02 +02:00
Sebastian Kaspari
bd6abd84db [components] Closes https://github.com/mozilla-mobile/android-components/issues/960: Remove microsoftonline.com from domain lists. 2018-10-04 16:16:43 -04:00
Wajahat Karim
ed0729232c [components] Closes https://github.com/mozilla-mobile/android-components/issues/922: Update READMEs to point to maven.mozilla.org and use new artifact names. 2018-10-03 09:20:43 +02:00
Sebastian Kaspari
95cbd85360 [components] Revert "Issue https://github.com/mozilla-mobile/android-components/issues/404: Build with and target SDK 28 (+ update support libraries)"
This reverts commit c5038c7fab.
2018-09-26 15:39:38 +02:00
Sebastian Kaspari
68f864a763 [components] Issue https://github.com/mozilla-mobile/android-components/issues/404: Build with and target SDK 28 (+ update support libraries)
* Build with and target SDK 28.
* Use Robolectric 4.0-alpha-3.
* Update support libraries to 28.0.0.
* .travis.yml: Update platform version.
2018-09-25 10:05:55 +02:00
Sebastian Kaspari
bd42ad5da3 [components] Closes https://github.com/mozilla-mobile/android-components/issues/668: Cleanup global domains list.
https://bugzilla.mozilla.org/show_bug.cgi?id=1477059
2018-08-28 10:32:25 +02:00
Sebastian Kaspari
946410ca86 [components] Configure dependencies from buildSrc Kotlin code. 2018-08-21 11:16:21 -04:00
imhenoch
e5b077cff6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/318. Removes kotlin coroutines from build.gradle files 2018-07-09 11:42:27 +02:00
Angelo Rüggeberg
4e497962b0 [components] Closes https://github.com/mozilla-mobile/android-components/issues/291 - Unified lint warnings as error and fail on error 2018-07-03 14:29:55 -04:00
Sebastian Kaspari
b58dd3798a [components] Issue https://github.com/mozilla-mobile/android-components/issues/232: Add READMEs for every component and link them from the root README. 2018-05-28 17:33:12 +02:00
Christian Sadilek
5e51a28d4e [components] Closes https://github.com/mozilla-mobile/android-components/issues/120: Generate and publish JavaDocs 2018-05-14 09:46:20 +02:00
Christian Sadilek
036dcf1321 [components] Closes https://github.com/mozilla-mobile/android-components/issues/79: Review usage of suspend/coroutines 2018-04-30 12:15:31 -04:00
Christian Sadilek
2dd822db0f [components] Closes https://github.com/mozilla-mobile/android-components/issues/100: Autocomplete.ResultCallback is hard to implement 2018-04-23 11:22:54 -04:00
Jeff Boek
43bbb1d589 [components] For https://github.com/mozilla-mobile/android-components/issues/57 - Fixes detektCheck errors for sputnik 2018-04-17 17:04:34 -04:00
Jeff Boek
73457571dc [components] For https://github.com/mozilla-mobile/android-components/issues/57 - Cleans up public API by restricting access to the Doman class 2018-04-17 17:04:34 -04:00
Jeff Boek
808c18535c [components] For https://github.com/mozilla-mobile/android-components/issues/57 - Makes Domain.create public, fixes lint error 2018-04-17 17:04:34 -04:00
Jeff Boek
66c8ef5bf7 [components] For https://github.com/mozilla-mobile/android-components/issues/57 - Passes Domain data class through the result callback 2018-04-17 17:04:34 -04:00
Jeff Boek
f449d0ab76 [components] For https://github.com/mozilla-mobile/android-components/issues/57 - Creates a data class to decompose URLs 2018-04-17 17:04:34 -04:00
Sebastian Kaspari
7fb05557d4 [components] Issue https://github.com/mozilla-mobile/android-components/issues/60: Fix ktlint issues. 2018-04-13 18:01:54 -04:00
Sebastian Kaspari
50392be7e0 [components] Issue https://github.com/mozilla-mobile/android-components/issues/60: Use consistent package names for code and in manifests. 2018-04-13 18:01:54 -04:00
Christian Sadilek
e688f4fc41 [components] Issue https://github.com/mozilla-mobile/android-components/issues/44: Add browser domain list / autocomplete component 2018-04-05 14:11:50 -07:00