Commit graph

124 commits

Author SHA1 Message Date
Harsh Shandilya
d103d6d4ba
Add tests for GitServerConfigActivity (#783)
* Add tests for GitServerConfigActivity

* github: disable animations before running UI tests

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-05-17 01:14:09 +05:30
Fabian Henneke
d695d21497
Make APS buildable on F-Droid (#762)
* 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-12 11:17:08 +02:00
Harsh Shandilya
041cf00510
Treewide codestyle cleanup (#765)
- 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-10 19:21:39 +05:30
Harsh Shandilya
f99a14d95b
github: implement path filtering to run actions only when required (#760) 2020-05-04 20:59:52 +05:30
Harsh Shandilya
9696af4024
Update Actions caching and add workflow to validate Gradle wrapper (#754) 2020-05-01 15:20:57 +05:30
Harsh Shandilya
92131bc6d4
CODEOWNERS: update for current development scenario (#755)
- 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-05-01 14:11:18 +05:30
Fabian Henneke
cd0621864c
Run tests for debug/release on 23/29 (#720)
* Also run unit tests for release build

* Only test on API levels 23 and 29
2020-04-18 20:16:40 +02:00
Harsh Shandilya
4ffd7ed9bf
Enable emulator tests (#708)
* 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-04-17 00:24:13 +05:30
Fabian Henneke
bebe434683
Add support for Oreo Autofill (#653)
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-03-24 14:03:40 +01:00
Harsh Shandilya
bea3cd5457
CI workflow improvements (#642)
* 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-02-25 15:22:05 +05:30
Harsh Shandilya
052467518e
github: Add action to deploy nightly snapshots (#618)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2020-01-26 11:40:01 +05:30
Harsh Shandilya
d5a744bd37 Prepare for new Play Store listing (#602)
* 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 3f249e4bff.

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-31 20:57:38 +05:30
Harsh Shandilya
e61551bf37
Setup snapshot deployment (#599)
* 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-16 03:19:18 +05:30
Harsh Shandilya
5e1927d068 Remove extraneous GitHub metadata (#586)
Funding is now configured at an organisation level
HCL workflow files are deprecated

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 20:17:59 +05:30
Harsh Shandilya
241986e4fa github: Remove zeapo from codeowners (#584)
zeapo has not had time to work on APS for a while now and has formally let the rest of us know that he'll be stepping away

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-29 14:15:17 +05:30
Harsh Shandilya
f78962ec77
Create FUNDING.yml (#576) 2019-11-18 20:06:57 +05:30
Harsh Shandilya
cbda39c0ea
CODEOWNERS: Adding Skrilltrax as a maintainer (#575)
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-11-18 20:06:44 +05:30
Harsh Shandilya
36c2518f90
github: Add PR and issue templates
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-27 22:52:40 +05:30
Harsh Shandilya
90b534e2ea
github: Update workflow settings
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-13 11:31:47 +05:30
Harsh Shandilya
f1f59dc1ed
Add Spotless to regulate codestyle (#550)
* Add Spotless to regulate codestyle

* treewide: Run spotless

* Add spotlessCheck to CI test

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 18:04:18 +05:30
Harsh Shandilya
27592dde10
Migrate to GitHub actions for CI
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-10-02 10:44:16 +05:30
Harsh Shandilya
e37ea38f01
CODEOWNERS: Update to my new username
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-07-28 09:57:11 +05:30
Harsh Shandilya
dcb9fd1c4d
Add CODEOWNERS
[ci skip]

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-05-24 23:11:24 +05:30
Harsh Shandilya
655b3a11f4
Add github action to automatically delete merged branches
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-04-25 09:13:12 +05:30