aboutsummaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2020-10-16Revamp build configuration (#1156)Harsh Shandilya
* release: move scripts to scripts directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Move CI secrets to secrets directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: uprev to 6.7 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: suppress warnings about unsupported options Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move Gradle plugins to ext Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move configuration tasks to buildSrc Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for #1137 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fix lint warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-13github: fix release draft workflow (#1152)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-10github: update release draft workflowHarsh Shandilya
Switch to $GITHUB_ENV since set-env has been deprecated Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-10github: update PSL workflowHarsh Shandilya
- Use the pull request action utilized by GitHub for their own projects - Switch to $GITHUB_ENV since set-env has been deprecated Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-10github: lay down some ground rules in issue templatesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-02github: switch PR workflow from an allowlist to a blocklistHarsh Shandilya
This is going to be less work to maintain going forward since we won't need to change it every time we include a new subproject. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01github: run apiCheck task in pull requestsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-10-01github: update workflows to use gradle-cache-actionHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-21Revert "github: remove ci-gradle.properties" (#1113)Harsh Shandilya
GitHub's runners are still too weak for us to go by without doing this: https://pipelines.actions.githubusercontent.com/eRaLlgv7QgiQrEiMWvOVzCfcXl8ehv3iNil9w7DRw7wdT9P1kT/_apis/pipelines/1/runs/2741/signedlogcontent/3?urlExpires=2020-09-21T07%3A46%3A57.1297541Z&urlSigningMethod=HMACV1&urlSignature=6e1r7tlUIn9E2EuEm2i4skqgQwZ4jCmO9ARlGZ6a3SU%3D This reverts commit 098c765132a823225e2b2ef82c1302e02f68cd31.
2020-09-20github: remove ci-gradle.propertiesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-17github: remove nonFree flavor from tests (#1102)Harsh Shandilya
Our tests have zero differences between these flavors so running 4 jobs rather than 2 just slows us down Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-16Autofill: Extract AutofillParser into separate subproject (#1101)Vincent Breitmoser
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Fabian Henneke <fabian@henneke.me>
2020-09-07Fix changelog links (#1083)Harsh Shandilya
* changelog: fix links Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: prepend 'v' to version passed in changelog action Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-03github: also run presubmit tests for buildSrc changes (#1074)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-02github: update workflows to use peter-evans/create-pull-request (#1072)Harsh Shandilya
Turns out the workflow we use currently is far too unreliable. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-21github: switch to debug builds (#1037)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-08-13github: set git config for PSL workflow (#1018)Harsh Shandilya
user.name and user.email are not set by default in a standard Actions workflow Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-29github: fix derp in PSL update workflow (#983)Harsh Shandilya
2020-07-26github: upload test reports on failureHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-24Expand OTP and PasswordEntry tests (#968)Harsh Shandilya
2020-07-22github: create release as draftHarsh Shandilya
Allows us to verify manually that the generated release is correct before we spam our users with notifications Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-22github: fix paths to binariesHarsh Shandilya
Fixes: 9fb492b572d7 ("Deploy both variants to snapshot directory (#914)") Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14github: update all Actions (#934)Harsh Shandilya
Switch publicsuffix update workflow to use the same pull-request action as release drafter. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14github: remove freeDebug variant from pull request matrix (#932)Harsh Shandilya
We don't need this tested and it slows down CI. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-14Fix navigation bar theming and reformat (#930)Harsh Shandilya
2020-07-02Deploy both variants to snapshot directory (#914)Harsh Shandilya
* Deploy both free and non-free variants Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: add product flavor to APK name Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-07-02Fill OTP fields with SMS codes (#900)Fabian Henneke
* Fill OTP fields with SMS codes * Allow SMS OTP fill also for web origins * Introduce free and nonFree build variants * Fix up workflow * Improve layout and feature detection * Workflow changes * Add Changelog entry * github: update release workflow for nonFree/Free split Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Switch to lifecycleScope * github: make snapshot deploy free variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-28Rework GitHub Actions (#893)Harsh Shandilya
2020-06-25github: update actions for updated branching logicHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-23Remove API 30 from pull request test matrix (#879)Harsh Shandilya
* Revert "github: run instrumentation tests against API 30 (#847)" API 30 is too flaky to be a part of our active test suite. This reverts commit bf33fb2c88a208931340201e95a524b274d70b31. * github: bump android-emulator-runner action Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-18Automate release steps (#849)Harsh Shandilya
2020-06-12github: add flow to purge Cloudflare cache after snapshot deploy (#848)Harsh Shandilya
This will ensure that APKs served from Cloudflare's edge will always be fresh. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-06-12github: run instrumentation tests against API 30 (#847)Harsh Shandilya
2020-06-09Update changelog and pull request template (#842)Harsh Shandilya
2020-05-29github: run PSL update workflow weekly (#809)Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-23github: Switch to dynamic filtering (#786)Harsh Shandilya
Also update cache layout for snapshot deployment workflows
2020-05-17Add tests for GitServerConfigActivity (#783)Harsh Shandilya
* Add tests for GitServerConfigActivity * github: disable animations before running UI tests Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-12Make APS buildable on F-Droid (#762)Fabian Henneke
* Include lib-publicsuffixlist in tree with proper license attribution * Exclude lib-publicsuffixlist from code style * Move applicationId to app/build.gradle * build: add distributionSha256Sum to Gradle Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial workflow configuration for PSL update Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Initial check-in of PSL data Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-10Treewide codestyle cleanup (#765)Harsh Shandilya
- Updated gitignore and checked in the IDE's codestyle config - Removed spotless as the underlying ktlint backend has failed to resolve the super frustrating import order bug[1] in nearly a year - Reformat the entire codebase based on the previously committed code style configuration. 1: https://github.com/pinterest/ktlint/issues/527
2020-05-04github: implement path filtering to run actions only when required (#760)Harsh Shandilya
2020-05-01Update Actions caching and add workflow to validate Gradle wrapper (#754)Harsh Shandilya
2020-05-01CODEOWNERS: update for current development scenario (#755)Harsh Shandilya
- zidhuss while around has been unable to find enough time for doing code review. - FabianHenneke has been working on all parts of the app, triaging issues and has agreed to continue as a maintainer for the next few months while he can devote the time to this project. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-04-18Run tests for debug/release on 23/29 (#720)Fabian Henneke
* Also run unit tests for release build * Only test on API levels 23 and 29
2020-04-17Enable emulator tests (#708)Harsh Shandilya
* github: Enable instrumentation testing in PRs Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Upgrade to Gradle 6.3 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove outdated and broken tests, redo PasswordEntryTest in Kotlin Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Remove now unused test assets Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * github: Disable debug APK uploads in PR testing Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Update .github/workflows/pull_request.yml * Update .github/workflows/pull_request.yml Switching to Ubuntu fails due to the SDK 29 missing. Co-authored-by: Fabian Henneke <FabianHenneke@users.noreply.github.com>
2020-03-24Add support for Oreo Autofill (#653)Fabian Henneke
Adds support for the Autofill feature first available in Android Oreo. In compatible apps and browsers, login forms are automatically detected and the user is presented with options to fill or generate credentials. In most apps and certain browsers, the service will also offer to create new Password Store entries from credentials entered into login forms. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
2020-02-25CI workflow improvements (#642)Harsh Shandilya
* github: Only run debug tasks in PRs * github: Remove nightly deploys * github: Setup automatic debug branch deployment * Tweak Gradle config in CI Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Aditya Wasan <adityawasan55@gmail.com>
2020-01-26github: Add action to deploy nightly snapshots (#618)Harsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-31Prepare for new Play Store listing (#602)Harsh Shandilya
* Gradle cleanup * Update package name * Remove release APK from git This should have never been here * Move package name to dependencies.gradle * github: Setup caching for gradle * Update Play Store art * gradle: Use constraints API in place of deprecated force * Update dependencies * Raise minSdk to 23 * Target SDK 28 for now External storage handling changes are atrocious to support in this codebase so we'll be holding out as far as we can. * Revert "Opt into legacy external storage handling (#595)" Not needed on SDK 28 This reverts commit 3f249e4bffffe0ba30e7546735c7fb4576918c69. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-16Setup snapshot deployment (#599)Harsh Shandilya
* Setup snapshot deployment * README: Update repository links * README: Update workflow badge link * README: Add link to Snapshot builds * Fix snapshot/pull-request build conflict * Deploy from feature/deploy-snapshots as well * Revert "Deploy from feature/deploy-snapshots as well" Confirmed it works well This reverts commit 06f6bc0e8c19f238643655d09ca20f83dd416283. Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02Remove extraneous GitHub metadata (#586)Harsh Shandilya
Funding is now configured at an organisation level HCL workflow files are deprecated Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>