2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
Commit Graph

2438 Commits

Author SHA1 Message Date
Aaron Train
23c98f9908
Closes #6172 - Convert waitNotNull into extension function for UI tests (#6220) 2019-10-23 17:40:28 -04:00
Emily Kager
c31adf2e12 Add Slack to readme (#6200) 2019-10-23 13:22:15 -07:00
MozLando
cc9ee5a3d8 Merge #5332
5332: For #2483 #2629: Close tab with no history on back press and return to parent if available r=ekager a=mawen7



Co-authored-by: mawen7 <mawen7@users.noreply.github.com>
2019-10-23 18:20:36 +00:00
Severin Rudie
f812ae4259 For #3676: fix duplicate uri events on first load (#6128) 2019-10-23 10:21:46 -07:00
Aaron Train
c677fc6109
Closes #6031 - Wrap waits with assert check; adjust timer check (#6084)
See #6031

- Adjust waits with assert check
- Adjusts timer to speed things up
- Test fix and cleanup

fix: review comments

- fixed proper resource name selectors
- re-added waits for slow devices

fix: ktlint
2019-10-23 10:55:19 -04:00
mawen7
3af307b47f Close tab with no history on back press and return to parent if available 2019-10-23 12:54:28 +02:00
MozLando
885e81699e Merge #6115
6115: Clean up automation folder from what was used by the old decision task r=mitchhentges a=JohanLorenzo



Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
2019-10-23 07:20:29 +00:00
liuche
0f23679b00
For #4947 - Add Fenix Beta icons. (#6173) 2019-10-22 18:10:39 -07:00
Severin Rudie
aa8642f534
#4596 migrate collections (#5911)
* For #4596: move code from CollectionCreationComponent to CollectionCreationStore

Other than adding comments, no changes were made. The code will be updated in a following commit. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreateStore to libstate

* For 4596: copied CollectionCreationUIView into CollectionCreationView

Otherwise, no code was changed. The next commit will update this code. This is in order to make the commit diff more readable.

* For 4596: update CollectionCreationView to LibState

Note that the minimal changes possible to enable migration were made.  Refactoring will happen in a later commit.

* For 4596: updated CollectionCreationTabListAdapter to work with the new View

* For 4596: updated SaveCollectionListAdapter to work with the new View

* For 4596: implemented CollectionCreationController

For now, it has an identical interface to the interactor. In a later commit several of its responsibilities will be moved around, some to the interactor and some to the reducer

* For 4596: copied over previous reducer code

No other changes were made. The code will be updated in the following commit. This is done to make changes more readable for the reviewer

* For 4596: update reducer code param names

Otherwise, no changes at this time

* For 4596: add arguments to CreateCollectionFragment in nav_graph

These will be used to replace the current CreateCollectionViewModel, which shares data between fragments in a way that doesn't fit within our architecture.

* For 4596: pass arguments to collection via transaction instead of VM

The VM will be removed in a later commit

* For 4596: update BrowserToolbarController to share state to collection via its Direction

* For 4596: removed CreateCollectionViewModel

* For 4596: test tab retrieval in CreateCollectionFragment

* For 4596: fix crashing CreateCollectionFragmentTest

* For 4596: removed classes create collection classes used by old architecture

* For 4596: collection interactor rename + kdoc

* For 4596: moved collection interactor interface

* For 4596: renamed CreateCollectionFragment

All related classes followed the pattern of CollectionCreationX

* For 4596: kdoc CollectionCreationController

There's no effective difference between these calls and their interactor equivalent, so I linked to them

* For 4596: fix bug that caused rename to not work

* For 4596: removed unused collection actions

These were unused before the LibState refactor

* For 4596: kdoc StepChanged

* For 4596: removed todos about moving logic to the reducer

saveTabsToCollection: this could be moved, but that would involve creating a new action. SaveCollectionStep should probably be refactored out, so adding this layer of indirection seemed counterproductive

handleBackPress: needs to be able to call dismiss(). The reducer doesn't (and shouldn't) be able to do that, so this needs to live here

stepBack: called by handleBackPress. See above

* For 4596: wrote tests for CollectionCreationController#stepback

* For 4596: fixed tests broken by changes to collections

* For 4596: small readability refactor for CollectionController#stepBack

No change to functionality (see tests)

* For 4596: broke apart CollectionView#update

There's probably a lot more that could be done here, but smaller changes were made to reduce scope

* For 4596: remove unnecessary todos

It looks like we don't follow the suggested pattern in this project

* For 4596: test CollectionCreationController#normalSessionSize

* For 4596: updated naming in CollectionCreationController per review
2019-10-22 17:33:54 -07:00
Pawel Obarzanek
40cda1d758 Closes #2435 Change edit icon to share icon on the book… (#6137)
* Closes mozilla-mobile#2435 Change edit icon to share icon on the bookmark toolbar

* Closes mozilla-mobile#2435 Changed raw string to string resources

* Pass bookmark arguments to share fragment

* Closes mozilla-mobile#2435 add orEmpty
2019-10-22 14:34:05 -07:00
Tiger Oakes
cbc449d3b6 Refactor asCamelCase to use string builder (#6141) 2019-10-22 14:33:44 -07:00
Sebastian Kaspari
5d5358ae45 Issue #36170: BaseBrowserFragment: Use new feature-prompts API. 2019-10-22 16:04:33 -04:00
Grisha Kruglov
9ffff79a88 Perform Fennec data migration within fennecProduction 2019-10-22 16:04:08 -04:00
Severin Rudie
a0ca8b84bb For #5799: document architecture choices (#5800)
* For #5799: add architecture document outline for review

* For 5799: update architecture doc outline

- Remove references to old architecture (Soon it will all have been replaced. No need for the additional cognitive load)
- Add some subheadings
- 'Simplified Example' seems like a good idea. Update the language to clarify that it will be done

* For 5799: add additional known limitations

* For 5799: wrote first draft for architecture 'overview' and 'important objects'

* For 5799: wrote first draft for arch doc 'important notes'

* For 5799: wrote arch doc 'known limitations' section

* For 5799: wrote example code for architecture doc

* For 5799: added example app wireframe for arch docs

* For 5799: update arch docs 'Simplified Example section'

* For 5799: improve formatting for architecture docs

* For 5799: minor tweaks to architecture docs

* For 5799: link 'simplified example' section to example code

* For 5799: update arch doc per review
2019-10-21 13:58:09 -07:00
Tiger Oakes
4e3a3665d6 For #3366 - Use one layout for edit/add bookmark (#5900) 2019-10-21 10:06:08 -07:00
Mitchell Hentges
5ce1968d67 Removes versionName check from gradle (#5934) 2019-10-21 10:03:21 -07:00
Mitchell Hentges
4d7d6ff211 Enables the Fenix beta (#5936) 2019-10-21 10:03:03 -07:00
Sören Hentzschel
7cf1a9e195 for #6008 - fix address bar layout on home fragment for RTL (#6016) 2019-10-21 10:02:13 -07:00
Sören Hentzschel
8921a46f27 For #6011 - fixed truncated clipboard icon in RTL (#6017) 2019-10-21 10:01:51 -07:00
isabelrios
06c1ef49b2 Fix #6004: Add UI sync integration test for Bookmarks (#6019)
* Fix #6004: Add UI sync integration test for Bookmarks

* fix two typos
2019-10-21 10:01:17 -07:00
Mihai Adrian
fbec001e28 For #1383: Fix updating description of close button on title change. (#6020) 2019-10-21 10:00:26 -07:00
ValentinTimisica
ef42d3e4dc Fixes #5030: Modified Dialog to match the others. (#6022)
I changed the Dialog from permissions exceptions and used AlertDialog
instead of Context.alert extension function.
2019-10-21 09:59:04 -07:00
Mihai Branescu
e23528291a For #6063 - changed ETP blocking info title strings (#6082) 2019-10-21 09:58:47 -07:00
Shangeeth Sivan
d223a0bd35 Closes #5465: Added OnCheckListener to all checkboxes ,when there are no items checked delete button will be disabled (#6098) 2019-10-21 09:57:29 -07:00
ValentinTimisica
485ccba189 Fixes #5323: Show a snackbar while browsing data is deleting. (#6105) 2019-10-21 09:57:06 -07:00
Jeffrey Starke
2de6a9aca7 Don't show fingerprinters section of the standard tracking policy UI (#6125) 2019-10-21 09:56:46 -07:00
Sören Hentzschel
9995199caa fixed alignment of open tabs header for RTL languages (#6138) 2019-10-21 09:53:21 -07:00
Sören Hentzschel
a76cd9cc67 no issue - removed unused feature flags (#6143) 2019-10-21 09:52:01 -07:00
MozLando
fed0c88c6f Merge #6059
6059: Add verify items tests for settings menus r=kglazko a=rpappalax

Also closes #6006

All UI tests are passing with the exception of 1 which was just uncovered by a new test in this PR.  Issue here:
https://github.com/mozilla-mobile/fenix/issues/6053



Co-authored-by: Richard Pappalardo <rpappalax@gmail.com>
2019-10-21 16:11:57 +00:00
Richard Pappalardo
744d177dd0 Add verify items tests for settings menus 2019-10-21 08:24:47 -07:00
MozLando
d575c25fe6 Merge #6058
6058: Import strings from android-l10n r=ekager a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
2019-10-19 18:42:25 +00:00
Mozilla L10n Automation Bot
b785fc41bf Import l10n. 2019-10-19 17:40:27 +00:00
MozLando
b963a3eab5 Merge #6102 #6106
6102: For #6018 Re-add Search Shortcuts Button r=boek a=BranescuMihai



6106: For #5872 & #6075: Set TabHeader buttons to invisible instead of gone. r=boek a=mcarare

At least one button has to be invisible instead of gone to keep layout height.
Tabs overflow button kept gone to avoid empty space on view end in private mode.



Co-authored-by: Mihai Branescu <branescu.mihai2@gmail.com>
Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-18 18:59:20 +00:00
MozLando
a5755d131f Merge #6107
6107: Fix #3122 - Hide the "Bookmark saved" Snackbar when user closes BrowserFragment r=boek a=Mugurell

Previously the Snackbar was being inflated in the parent of this Fragment so
surviving it being closed.
Tying the Snackbar with the Fragment from which it is shown ensures it will be
effectively hidden whenever the user navigates from the Fragment.



Co-authored-by: Mugurell <mugurell@users.noreply.github.com>
2019-10-18 18:34:49 +00:00
MozLando
3aa06000f9 Merge #5613
5613: Fixes #5225 - Intent receiver cleanup r=rocketsroger a=NotWoods


### Pull Request checklist
<!-- Before submitting the PR, please address each item -->
- [x] **Quality**: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
- [ ] **Tests**: This PR includes thorough tests or an explanation of why it does not
- [ ] **Screenshots**: This PR includes screenshots or GIFs of the changes made or an explanation of why it does not
- [x] **Accessibility**: The code in this PR follows [accessibility best practices](https://github.com/mozilla-mobile/shared-docs/blob/master/android/accessibility_guide.md) or does not include any user facing features

### After merge
- [ ] **Milestone**: Make sure issues finished by this pull request are added to the [milestone](https://github.com/mozilla-mobile/fenix/milestones) of the version currently in development.

### To download an APK when reviewing a PR:
1. click on Show All Checks,
2. click Details next to "Taskcluster (pull_request)" after it appears and then finishes with a green checkmark,
3. click on the "Fenix - assemble" task, then click "Run Artifacts".
4. the APK links should be on the left side of the screen, named for each CPU architecture

Co-authored-by: Tiger Oakes <toakes@mozilla.com>
2019-10-18 17:59:49 +00:00
Tiger Oakes
e572562c7a Cleanup shortcut code 2019-10-18 10:57:51 -07:00
Tiger Oakes
a598148b29 Fixes #5225 - Hide AuthCustomTabActivity 2019-10-18 10:56:06 -07:00
MozLando
ba086a8c2d Merge #6046
6046: Update to Mozilla Android Components 18.0.0-SNAPSHOT. r=Baron-Severin a=pocmo

We haven't updated in a while and therefore some fixes didn't make it into Fenix (Nightly) yet.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2019-10-18 16:36:33 +00:00
MozLando
d0a39f0c16 Merge #6114
6114: Fix #6110 - Raptor fenix jobs are broken (test name not found) r=csadilek a=rwood-moz



Co-authored-by: Robert Wood <rwood@roberts-macbook-pro-1927.local>
2019-10-18 15:57:04 +00:00
Sebastian Kaspari
94c5aaac53 Update to Mozilla Android Components 18.0.0-SNAPSHOT. 2019-10-18 17:54:05 +02:00
Johan Lorenzo
dd5a1a5d0c Clean up automation folder from what was used by the old decision task 2019-10-18 17:35:03 +02:00
MozLando
b488e4ac70 Merge #6101
6101: For #6100: Mirror ETP graphic in RTL r=Amejia481 a=mcarare



Co-authored-by: mcarare <mihai.carare.dev@gmail.com>
2019-10-18 15:15:46 +00:00
Robert Wood
d70098e1ee Fix #6110 - Raptor fenix jobs are broken (test name not found) 2019-10-18 11:11:56 -04:00
mcarare
86217eb105 For #5872 & #6075: Set TabHeader buttons to invisible instead of gone.
At least one button has to be invisible instead of gone to keep layout height.
Tabs overflow button kept gone to avoid empty space on view end in private mode.
2019-10-18 17:00:26 +03:00
Mihai Branescu
be81a14b04 For #6018 - Added unit tests for interactor and controller 2019-10-18 15:43:39 +03:00
mcarare
6b1bfcc079 For #6100: Mirror ETP graphic in RTL 2019-10-18 15:24:49 +03:00
Mihai Branescu
2be4d08228 For #6018 - Added back shortcuts button in awesomebar
Refactored logic for adding providers, since shortcut providers should
be alone in the list, while all others can be as list
2019-10-18 14:48:58 +03:00
Mugurell
faddf368e1 Fix #3122 - Hide the "Bookmark saved" Snackbar when user closes BrowserFragment
Previously the Snackbar was being inflated in the parent of this Fragment so
surviving it being closed.
Tying the Snackbar with the Fragment from which it is shown ensures it will be
effectively hidden whenever the user navigates from the Fragment.
2019-10-18 08:11:56 +03:00
MozLando
f41783c4b3 Merge #6038
6038: ExtTest for BookmarkNode r=mcomella a=kglazko



Co-authored-by: Kate Glazko <katglazko@gmail.com>
2019-10-17 20:39:35 +00:00
Kate Glazko
6210bb1da2 ExtTest for BookmarkNode 2019-10-17 12:54:03 -07:00