* Implemented CAKE build script
* cake script now deals with all of iOS's .plists
* cake now updates iOS bundleid's / Android packagename in codefiles
* iOS Bundle ID / Name should be correctly handled now + refactor
* tabs -> spaces
* Additional code files are now handled by cake
* Additional iOS codefile changes required
* Android's Autofill Label is now changed
* Removed dash from packagenames / bundleIDs
* Fixed CFBundleURLName set
* Added google-services.json to cake preprocessing
* Add CAKE to build workflow
- Android
* Add debug
* Updated cake's GitVersion.Tool
* AndroidManifest manual parsing needs to happen first
* Added Android Constants to build.cake
* [SG-747] Add Android QA build to mobile build pipeline (#2144)
* Add checkout depth
* Build and upload QA artifacts
* Remove missing .aab
* Update build.yml
* Update paths
* Update var names
* Build and upload QA artifacts
* Add in matrix to path.
* Lets not fail all the jobs if something pukes
* Add in some flow logic for QA
* We need strings in pwsh
* Remove extra quotes
* Testing, remove uneeded runs
* Test folder items
* [SG-747] Added more debug info to find problem
* [SG-747] copy signed apk to correct file name for each app variant
* [SG-747] try to fix if statement
* [SG-747] separate decrypt google services into another step with condition.
* [SG-747] fixed typo and line break
* [SG-747] added debug to check output path
* [SG-747] fix package name
* [SG-747] Fixed condition of step execution
* [SG-747] test if cases
* [SG-747] Code clean up
* [SG-747] Added FDroid and iOS steps.
* [SG-747] Removed test step
* [SG-747] Step name changes
* Update condition to be more inclusive
Co-authored-by: Álison Fernandes <vvolkgang@users.noreply.github.com>
* [SG-747] Expand if condition to allow more build types other than QA
* [SG-747] removed execution condition
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
* Apply suggestions from code review
Linter suggestions
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Micaiah Martin <mmartin@bitwarden.com>
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Álison Fernandes <vvolkgang@users.noreply.github.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
* Base bundle ID refactor and cleaned up TODOs
- Added base vars for the bundle IDs
- Removed a TODO and explained the remaining ones
- Commented a unused var, keeping it in the code as this might be useful later
Co-authored-by: Micaiah Martin <mmartin@bitwarden.com>
Co-authored-by: Federico Andrés Maccaroni <fedemkr@gmail.com>
Co-authored-by: Todd Martin <tmartin@bitwarden.com>
Co-authored-by: André Bispo <abispo@bitwarden.com>
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
Co-authored-by: Todd Martin <106564991+trmartin4@users.noreply.github.com>
* [SG-166] Update fonts to have necessary icons
* [SG-166] Add new custom view to hold a button with a font icon and a label.
* [SG-166] Two Step login flow - Mobile (#2153)
* [SG-166] Add UI elements to Home and Login pages. Change VMs to function with new UI. Add new string resources.
* [SG-166] Pass email parameter from Home to Login page.
* [SG-166] Pass email to password hint page.
* [SG-166] Remove remembered email from account switching.
* [SG-166] Add GetKnownDevice endpoint to ApiService
* [SG-166] Fix GetKnownDevice string uri
* [SG-166] Add Renderer for IconLabel control. Add RemoveFontPadding bool property.
* [SG-166] include IconLabelRenderer in Android csproj file
* [SG-166] Add new control. Add styles for the control.
* [SG-166] Add verification to start login if email is remembered
* [SG-166] Pass default email to hint page
* [SG-166] Login with device button only shows if it is a known device.
* [SG-166] Change Remember Email to Remember me. Change Check to Switch control.
* [SG-166] Add command to button for SSO Login
* Revert "[SG-166] Update fonts to have necessary icons"
This reverts commit 472b541cef.
* [SG-166] Remove IconLabel Android renderer. Add RemoveFontPadding effect.
* [SG-166] Update font with new device and suitcase icon
* [SG-166] Fix RemoveFontPadding effect
* [SG-166] Remove unused property in IconLabel
* [SG-166] Fix formatting on IconLabelButton.xaml
* [SG-166] Update padding effect to IconLabel
* [SG-166] Add control variable to run code once on create
* [SG-166] Add email validation before continue
* [SG-166] Refactor icons
* [SG-166] Update iOS Extension font
* [SG-166] Remove HomePage login btn step
* [SG-166] Make clickable area smaller
* [SG-166] Fix hint filled by default
* [SG-166] Fix IconButton font issue
* [SG-166] Fix iOS extension
* [SG-166] Move style to Base instead of platforms
* [SG-166] Fix layout for IconLabelButton
* [SG-166] Switched EventHandler for Command
* [SG-166] Removed event handler
* [SG-166] Fix LoginPage layout options
* [SG-166] Fix extensions Login null email
* [SG-166] Move remembered email logic to viewmodel
* [SG-166] Protect method and show dialog in case of error
* [SG-166] Rename of GetKnownDevice api method
* [SG-166] rename text resource key name
* [SG-166] Add close button to iOS extension
* [SG-166] Switch event handlers for commands
* [SG-166] Change commands UI thread invocation.
* [SG-166] Remove Login with device button from the UI
* [SG-166] Fixed appOptions and close button on iOS Extensions
* [SG-705] Added pop up to perform account switching if the user receives a login request from another account.
* [SG-705] missing resource designer
* [SG-705] Fixed wrong key for state service variable.
* [SG-705] Fix formatting of account switch alert.
* [SG-705] dotnet format run
* [SG-705] Removed async
* [SG-705] Refactor on App
* EC-519 Refactored IDeviceActionService to be split into IFileService and IAutofillManager also some cleanups were made
* EC-519 Fix format
* EC-519 Fix merge to use the new AutofillHandler
* [SG-702] Tap notification now switches accounts if it is a passwordless notification.
* [SG-702] Fix compilation errors
* [SG-702] Fixed iOS notification tap fix
* [SG-702] Notification data model
* [SG-702] Change method signature with object containing properties. PR fixes.
* SG-666 SG-667 - Email is now prefilled for plus addressed email username type
* Username is auto generated upon navigation
* SG-666 - Fixed PR comments
* Added missing property initialization
* [SG-690] Add timeout of 15 for android notifications. Add condition to not prompt login requests if 15mins have passed. Add constant for timeout time.
* [SG-690] Added dialog on click confirm/deny if the request is expired.
* [SG-690] PR fixes
* [SG-690] PR fixes
* [SG-471] Passwordless device login screen (#2017)
* [SSG-471] Added UI for the device login request response.
* [SG-471] Added text resources and arguments to Page.
* [SG-471] Added properties to speed up page bindings
* [SG-471] Added mock services. Added Accept/reject command binding, navigation and toast messages.
* [SG-471] fixed code styling with dotnet-format
* [SG-471] Fixed back button placement. PR fixes.
* [SG-471] Added new Origin parameter to the page.
* [SG-471] PR Fixes
* [SG-471] PR fixes
* [SG-471] PR Fix: added FireAndForget.
* [SG-471] Moved fire and forget to run on ui thread task.
* [SG-381] Passwordless - Add setting to Mobile (#2037)
* [SG-381] Added settings option to approve passwordless login request. If user has notifications disabled, prompt to go to settings and enable them.
* [SG-381] Update settings pop up texts.
* [SG-381] Added new method to get notifications state on device settings. Added userId to property saved on device to differentiate value between users.
* [SG-381] Added text for the popup on selection.
* [SG-381] PR Fixes
* [SG-408] Implement passwordless api methods (#2055)
* [SG-408] Update notification model.
* [SG-408] removed duplicated resource
* [SG-408] Added implementation to Api Service of new passwordless methods.
* removed qa endpoints
* [SG-408] Changed auth methods implementation, added method call to viewmodel.
* [SG-408] ran code format
* [SG-408] PR fixes
* [SG-472] Add configuration for new notification type (#2056)
* [SG-472] Added methods to present local notification to the user. Configured new notification type for passwordless logins
* [SG-472] Updated code to new api service changes.
* [SG-472] ran dotnet format
* [SG-472] PR Fixes.
* [SG-472] PR Fixes
* [SG-169] End-to-end testing refactor. (#2073)
* [SG-169] Passwordless demo change requests (#2079)
* [SG-169] End-to-end testing refactor.
* [SG-169] Fixed labels. Changed color of Fingerprint phrase. Waited for app to be in foreground to launch passwordless modal to fix Android issues.
* [SG-169] Anchored buttons to the bottom of the screen.
* [SG-169] Changed device type from enum to string.
* [SG-169] PR fixes
* [SG-169] PR fixes
* [SG-169] Added comment on static variable
* [SG-671] removed unnecessary calc of otpauth period. protected cal of otpauth from crashing the app if url has a wrong format.
* [SG-671] changed logger
* [SG-671] Refactored GetQueryParams code to used HttpUtility.ParseQueryString.
* [SG-671] refactor and null protection.
* [SG-671] code format
* [SG-671] fixed bug where totp circle countdown was fixed to 30.
* [SG-167] added fallback for uri check. Changed all default totp timers to constant.
* [SG-671] missed unsaved file
* [SG-671] simplified code