Commit Graph

27 Commits (382ca721c4788c348da1bc4c24f702a26fdbe707)

Author SHA1 Message Date
Alexandru2909 6f8dbbcc3c [fenix] For https://github.com/mozilla-mobile/fenix/issues/22770 - Use String.toShortUrl from A-C 2 years ago
mcarare 932823c871 [fenix] For https://github.com/mozilla-mobile/fenix/issues/26844: Fix ktlint issues and remove them from baseline. 2 years ago
Mugurell 7185eee3df [fenix] For https://github.com/mozilla-mobile/fenix/issues/24333 - Replace the xml based CollectionViewHolder with a composable 2 years ago
Grisha Kruglov 4ad2c1c592 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22569: Remove allopen plugin and Mockable annotations 3 years ago
Roger Yang 0a2cdff945 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/2783: Add snackbar to collection deletion 3 years ago
Roger Yang 125e70ae1b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19090: Show snackbar on adding to bookmarks from tabs tray (https://github.com/mozilla-mobile/fenix/pull/19807) 3 years ago
Sebastian Kaspari 7e4471eda6 [fenix] Switch to new SessionStorage / session restore API. 4 years ago
Sebastian Kaspari 52267f2764 [fenix] Switch to new feature-tab-collections API. 4 years ago
Codrut Topliceanu 6c07bc316f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16629 - Fix for collection snackbar View button (https://github.com/mozilla-mobile/fenix/pull/16679) 4 years ago
Michael Comella a6cef89dc2 [fenix] No issue: move StrictModeManager to perf package.
While StrictMode is not exclusively used for performance purposes, it's
primarily used for perf purposes so let's move it to the perf package
and code owner it.
4 years ago
Michael Comella 8a9472e540 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13959: move resetAfter into StrictModeManager.
In a followup PR, we need to add state to strictModeManager (the
number of suppressions). This is much simpler to do when this is defined
as a class rather than an object. However, when this is defined as a
class, `resetAfter` needs access to the strictModeManager. Instead of
passing it in as an argument, it made sense to move this function onto
the strictModeManager instead.

Since folks are used to calling:
```
StrictMode.ThreadPolicy.allowThreadDiskReads().resetAfter
```

We're going to have to add a lint check to prevent them from doing that.
4 years ago
ekager b276e9daca [fenix] No issue: Update AC to 61.0.20200925190057 4 years ago
Tiger Oakes e77e039413 [fenix] Enforce IO thread inside of components (https://github.com/mozilla-mobile/fenix/pull/14704)
* Automatically run PermissionStorage on IO thread

* Run TabCollectionStorage on dedicated scope + IO

* Update findSitePermissionsBy calls
4 years ago
ValentinTimisica f27c27360a [fenix] For https://github.com/mozilla-mobile/fenix/issues/11763: Shows confirmation dialog when deleting last tab from collection 4 years ago
Sachin e56cc28342 [fenix] for https://github.com/mozilla-mobile/fenix/issues/11617 added a resetPoliciesAfter ext function for StrictMode, and replaced all existing calls to "resetAfter" with "resetPoliciesAfter" (https://github.com/mozilla-mobile/fenix/pull/11619) 4 years ago
Tiger Oakes 0fbed9aa3c [fenix] Convert flow from AC to livedata 4 years ago
Sachin c17dc6a61b [fenix] for https://github.com/mozilla-mobile/fenix/issues/7225, Changed strictMode thread penalty to dialog on startup and back to logs after startup is done. (https://github.com/mozilla-mobile/fenix/pull/10831)
for https://github.com/mozilla-mobile/fenix/issues/7225, refactored and cleanup the branch.

for https://github.com/mozilla-mobile/fenix/issues/7225, change strict mode policy only on main process.

for https://github.com/mozilla-mobile/fenix/issues/7225, setting thread policy inside a seperate thread to keep it from getting overridden in activities.

for https://github.com/mozilla-mobile/fenix/issues/7225 removed Handler().postAtFrontOfQueue as a solution due to unknown side effects. moved the enableStrictMode function to be static so we can reuse it.

for https://github.com/mozilla-mobile/fenix/issues/7225 lint check

for https://github.com/mozilla-mobile/fenix/issues/7225 created strict mode manager and moved enabledStrictMode function inside it.

for https://github.com/mozilla-mobile/fenix/issues/7225 removed penalty death on network

for https://github.com/mozilla-mobile/fenix/issues/7225 added allow disk access on thread for already existing violation


strict mode running in main process to see if it passes the gitlab check, will revert it if it doesnt

allowed diskread for super.onCreate for home activity

added comments for disk violation oncreate homeactivity

added fragment manager inside strictmode manager

allowed disk read for onboarding

allowed disk read for cachedTopSites
4 years ago
Michael Comella b9fe826cef [fenix] No issue: Move Do and OpenClass to utils pkg.
They were both in their packages by themselves, which feels unnecessary.
Unfortunately, a utils pkg is discouraged by kotlin but we don't have a
better place for them right now. Maybe an annotations/ pkg for the
latter?
4 years ago
David Walsh 221a696949 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8016 - Prevent duplicate domains from displaying inthe collection description on the home screen 4 years ago
Severin Rudie 1199424753 [fenix] 4844 fix url elision (https://github.com/mozilla-mobile/fenix/pull/6588)
* For https://github.com/mozilla-mobile/fenix/issues/4844: add test cases for url elision

* For 4844: implement toShortUrl to pass test cases

* For 4844: update plumbing to use toShortUrl

* For 4844: adds/handles suggested url elision test case
5 years ago
Emily Kager ef1e6a91fa [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/3332 - Do not alter text of hosts of tabs in collection 5 years ago
Tiger Oakes 8d3020ebcf [fenix] No issue: Normalize license header comment (https://github.com/mozilla-mobile/fenix/pull/3909) 5 years ago
Sawyer Blatz 4677c9e143 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3323 Runs PublicSuffixList synchronously 5 years ago
Sawyer Blatz e8ffef6b52 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2648: Updates trimming of url hostname (https://github.com/mozilla-mobile/fenix/pull/3191)
* For https://github.com/mozilla-mobile/fenix/issues/2648: Updates trimming of url hostname

* For https://github.com/mozilla-mobile/fenix/issues/2648: Fix nits
5 years ago
Emily Kager 8df5e095f1 [fenix] No issue: Sets up observers for tab collection changes (https://github.com/mozilla-mobile/fenix/pull/3248) 5 years ago
Sawyer Blatz 9cb3781789 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1574: Displays previous tab collections when creating 5 years ago
Sawyer Blatz 848fbe390c [fenix] For https://github.com/mozilla-mobile/fenix/issues/2205 & https://github.com/mozilla-mobile/fenix/issues/1578: Integrates tab collection storage (https://github.com/mozilla-mobile/fenix/pull/2478)
* For https://github.com/mozilla-mobile/fenix/issues/2205: Adds TabCollectionStorage

* For https://github.com/mozilla-mobile/fenix/issues/1578: Adds delete to TabCollection
5 years ago