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

2420 Commits

Author SHA1 Message Date
Mihai Branescu
432d5fbff4 For #5848 Wrong toolbar colour - edit bookmark fragment (#6047)
- Moved toolbar coloring to extension method
- Refactored classes using it
- Removed selection mode colouring for EditBookmarkFragment toolbar,
making it only black and white (normal mode)
2019-10-25 21:41:48 -07:00
Mihai Branescu
4efc661db8 For #5733 - Private mode notification - wrong home screen (#6188)
- added PRIVATE MODE intent extra to the notification action
 (could use also the OPEN_FROM_NOTIFICATION, but I considered this one to
 be more explicit. Kept the old one in case other checks will be done
 filtering for it)
- added intent? param to the getPrivateModeFromIntent method, because
onNewIntent() method does not set the activities intent, and it was needed
to be used both in onCreate() and onNewIntent()
2019-10-25 21:41:31 -07:00
ValentinTimisica
27cac54d53 For #5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
2019-10-25 13:28:38 -07:00
ValentinTimisica
c09a3d1620 Fixes #5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
2019-10-25 13:28:38 -07:00
ekager
fb17ae2258 For #6229 - Remove all tab options from custom tab context menu 2019-10-25 13:25:31 -07:00
Emily Kager
6435a503ca For #6219 - Reset default setting if user opts out of experiments 2019-10-25 12:50:16 -07:00
Mozilla L10n Automation Bot
0242b40ce2 Import l10n. 2019-10-25 10:19:49 -07:00
Mihai Branescu
9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 2019-10-25 08:09:38 -07:00
Jonathan Almeida
59c0fb504e Revert "For #373 - Integrate leanplum-fcm"
This reverts commit ed239ec250.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See #6250 and #6251 for related info.
2019-10-25 10:24:40 -04:00
Mozilla L10n Automation Bot
e26f4a9a6e Import l10n. 2019-10-24 22:02:26 -07:00
Daphne Liu
4cbffc4989 Add intent-filter to support nfc tags (#6257) 2019-10-24 20:04:57 -07:00
Daphne Liu
72171918b1 Replaced beta square icon with round icons (#6261) 2019-10-24 20:04:49 -07:00
Sawyer Blatz
4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 2019-10-24 17:16:49 -07:00
Denys M
6290c0c826 Closes #2441. Update LeakCanary to 2.0-beta-3 version. 2019-10-24 11:19:09 -07:00
wpanas
7ab534705a Closes #6236: Fix padding lint issues (#6240) 2019-10-24 10:52:30 -07:00
mcarare
4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 2019-10-24 10:32:59 -07:00
ekager
4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 2019-10-24 10:32:29 -07:00
ekager
f49331de55 For #5544: Bare Minimum Logins UI 2019-10-24 10:29:03 -07:00
Mozilla L10n Automation Bot
6f5fba7718 Import l10n. 2019-10-24 10:27:53 -07:00
RaviGarbuja
8c876b5b16 Closes #6237: Change android:text to tools:text (#6246) 2019-10-24 10:24:39 -07:00
Tiger Oakes
97433dc145
Use tools:listitem with collection creation (#6140) 2019-10-24 10:24:08 -07:00
psy0ch
165b1420b7 Add explanation to @Ignore in CollectionTest (#6238)
#6235
2019-10-24 10:23:03 -07:00
obarzpaw
f7840498ed Closes mozilla-mobile#4558 Change height of bookmark linearlayout 2019-10-24 09:46:09 -07:00
Ardlan Khalili
eb4150db2a Closes 6168: Globe icon for exceptions 2019-10-24 09:44:49 -07:00
ValentinTimisica
bdb2fa71fc For #6145: Switch drawableTint to app compat version. (#6151)
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
2019-10-24 09:38:58 -07:00
Jeff Boek
6de7b7d733 For #2477 - Adjust padding to be visually consistent with the separator 2019-10-24 09:35:21 -07:00
Jeff Boek
d1643b785e For #2477 - Adds accessibility setting to force enable zoom 2019-10-24 09:35:21 -07:00
Alessio Placitelli
47dfcc119e Pick up forUnitTest library for the Glean SDK test 2019-10-24 08:57:30 -07:00
Sebastian Kaspari
b3ce0b421b Update to Mozilla Android Components 19.0.0-SNAPSHOT. 2019-10-24 08:57:30 -07:00
Sebastian Kaspari
9543f38978 Use new toolbar API of AC 18.0.0. 2019-10-24 08:57:30 -07:00
Sawyer Blatz
2cba624609
No issue: Fixes string issues for l10n (#6158)
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
2019-10-24 08:24:19 -07:00
isabelrios
210e358cdb For #6208 - Sync Int Tests fix path for showing the html report file (#6209) 2019-10-23 15:03:30 -07:00
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