Commit Graph

273 Commits

Author SHA1 Message Date
Daniel Micay 9355f54956 update Material library 2022-05-26 20:39:57 -04:00
dependabot[bot] 5dfdaa2c17 Bump gradle from 7.2.0 to 7.2.1
Bumps gradle from 7.2.0 to 7.2.1.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-25 16:39:38 -04:00
June 3411fb0426 Update pdf.js to v2.14.305
Signed-off-by: June <june@eridan.me>
2022-05-14 13:27:14 -04:00
dependabot[bot] af567a5c0c Bump gradle from 7.1.3 to 7.2.0
Bumps gradle from 7.1.3 to 7.2.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 18:04:52 -04:00
Daniel Micay 6a7982ce80 move snackbar to root view 2022-05-06 10:12:30 -04:00
Daniel Micay 1a3e816cfc simplify error string for error while opening PDF 2022-05-06 10:10:18 -04:00
Daniel Micay c6113df31d extend Permissions Policy
These aren't supported by Chromium yet but they're standardized and it
makes sense to explicitly forbid them.
2022-05-06 10:07:59 -04:00
Daniel Micay db98371c9d increment version to 14 2022-05-06 10:07:59 -04:00
Pratyush 87c71ddac2 added support for encrypted PDF
based on https://github.com/GrapheneOS/PdfViewer/pull/17

Signed-off-by: Pratyush <codelab@pratyush.dev>
Co-authored-by: Tommy-Geenexus <tomgapplicationsdevelopment@gmail.com>
Co-authored-by: empratyush <codelab@pratyush.dev>
2022-05-06 10:07:59 -04:00
Daniel Micay 7dab1cdc91 reorder action strings 2022-05-06 10:07:59 -04:00
Daniel Micay 61d204d188 move share action lower in the menu 2022-05-06 10:07:59 -04:00
Daniel Micay 96651d02af remove obsolete zoom in / zoom out menu actions 2022-05-06 10:07:59 -04:00
Daniel Micay 21d7b9d76e fix warning about non-positional format parameters 2022-05-06 10:07:59 -04:00
Pratyush eb6eb8046c added feature to save document 2022-05-06 10:07:50 -04:00
dependabot[bot] c1a1263bd5 Bump kotlin-gradle-plugin from 1.6.20 to 1.6.21
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.6.20 to 1.6.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 04:36:50 -04:00
smdyv d71f804b5a Replace feature graphic 2022-04-22 15:14:36 -04:00
Pratyush ba9a6c8206 replace deprecated startActivityForResult 2022-04-22 04:24:25 -04:00
Daniel Micay c0eea02bb1 update CI JDK to 18 2022-04-20 06:27:40 -04:00
Patryk Mis eb6c14740f Update Gradle Wrapper 2022-04-14 07:12:13 -04:00
dependabot[bot] 6847883605 Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 22:07:49 -04:00
dependabot[bot] 975dfb966c Bump gradle from 7.1.2 to 7.1.3
Bumps gradle from 7.1.2 to 7.1.3.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 18:20:58 -04:00
dependabot[bot] ec965ddaaa Bump kotlin-gradle-plugin from 1.6.10 to 1.6.20
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.6.10 to 1.6.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 17:10:35 -04:00
June 087a01cf72 Update gradle wrapper to 7.4.2
Signed-off-by: June <june@eridan.me>
2022-03-31 18:32:13 -04:00
Daniel Micay 94c947305b increment version to 13 2022-03-20 05:15:49 -04:00
emschu 0c21e13459 add basic support to share documents via an additional item in options menu, add share icon
Signed-off-by: emschu <emschu@mailbox.org>
2022-03-20 05:14:05 -04:00
June cb4a0e8684 Target SDK 12L/12.1
GrapheneOS is now on 12.1

Signed-off-by: June <june@eridan.me>
2022-03-13 06:00:59 -04:00
June ea519819c6 Update gradle to 7.4.1
Signed-off-by: June <june@eridan.me>
2022-03-12 11:49:02 -05:00
June 26e6d77574 Update pdf.js to 2.13.216
tag 070a365be5a7579f4ddd5a9a2d4efcd281c2d64f

Signed-off-by: June <june@eridan.me>
2022-03-08 17:47:33 -05:00
dependabot[bot] b9da0073b7 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 16:34:36 -05:00
Daniel Micay 5c5bd0851d rename package to app.grapheneos.pdfviewer too 2022-02-25 16:26:22 -05:00
Daniel Micay e68880b45d add separate release target for Play Store 2022-02-25 12:26:41 -05:00
Daniel Micay 74a9f9983d increment version to 12 2022-02-25 11:20:16 -05:00
smdyv e6add76a9f Handle out-of-date WebView
Disable the open document menu item and show the user a relevant view.
2022-02-25 09:59:58 -05:00
Daniel Micay 2571335eeb increment version to 11 2022-02-23 17:15:05 -05:00
smdyv 6ed3aed8ad Display content edge-to-edge 2022-02-23 17:14:28 -05:00
dependabot[bot] 587d3a5c96 Bump gradle from 7.1.1 to 7.1.2
Bumps gradle from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-23 14:15:56 -05:00
Daniel Micay d26851dfcf rename to app.grapheneos.pdfviewer 2022-02-23 08:50:50 -05:00
smdyv 660321cb38 Use vectors for menu icons
Material icons (rounded)
2022-02-20 12:23:43 -05:00
smdyv 7b0948383a Add margins to toolbar 2022-02-20 12:23:13 -05:00
smdyv 1fbfc86199 Disable animated layout changes for the top app bar
At least temporarily. Prevents unsightly layout shifts
2022-02-20 08:04:26 -05:00
smdyv 8453e2f2c6 Use M3 theme 2022-02-19 09:06:31 -05:00
smdyv 6468f5012f Use default window color in dark theme 2022-02-19 08:58:03 -05:00
MHShetty c7a0ae858e Use a grey background while viewing a document 2022-02-19 08:48:09 -05:00
smdyv f07b6350df Center canvas 2022-02-19 08:37:38 -05:00
smdyv c743c0d6a7 Create layout for the PDF viewer activity
Updating insets is no longer necessary because the layout reserves the
space for the top app bar and frees it up in full-screen mode so the
WebView can fill the entire screen.
2022-02-19 08:32:15 -05:00
smdyv fdf2cf8c27 Use view binding instead of findViewById
Provides null safety and type safety
2022-02-18 06:09:22 -05:00
MHShetty 5f5e1682a0 Add dark app theme support 2022-02-13 04:19:20 -05:00
June f91ba5298e Update gradle wrapper to 7.4
Signed-off-by: June <june@eridan.me>
2022-02-10 22:56:16 -05:00
Daniel Micay 89e898d81c increment version to 10 2022-02-09 07:08:03 -05:00
smdyv b5a05055e9 Replace launcher icon 2022-02-09 07:07:39 -05:00