Commit Graph

31 Commits

Author SHA1 Message Date
renovate[bot] c08f05f0e0
chore(deps): update dependency gradle to v8.5 (#170)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org)
([source](https://togithub.com/gradle/gradle)) | minor | `8.3` -> `8.5`
|

---

### Release Notes

<details>
<summary>gradle/gradle (gradle)</summary>

### [`v8.5`](https://togithub.com/gradle/gradle/compare/v8.4.0...v8.5.0)

[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.4.0...v8.5.0)

### [`v8.4`](https://togithub.com/gradle/gradle/releases/tag/v8.4.0):
8.4

[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.3.0...v8.4.0)

The Gradle team is excited to announce Gradle 8.4.

Amongst other improvements, this release addresses two security
vulnerabilities:

- [Incorrect permission assignment for symlinked files used in copy or
archiving
operations](https://togithub.com/gradle/gradle/security/advisories/GHSA-43r3-pqhv-f7h9)
- [Possible local text file exfiltration by XML External entity
injection](https://togithub.com/gradle/gradle/security/advisories/GHSA-mrff-q8qj-xvg8)

[Read the Release Notes](https://docs.gradle.org/8.4/release-notes.html)

We would like to thank the following community members for their
contributions to this release of Gradle:
[Ahmed Ehab](https://togithub.com/ahmedehabb),
[Andrei Rybak](https://togithub.com/rybak),
[Baptiste Decroix](https://togithub.com/bdecroix-spiria),
[Björn Kautler](https://togithub.com/Vampire),
[Cesar de la Vega](https://togithub.com/vegaro),
[Ganavi Jayaram](https://togithub.com/ganavijayaram),
[Gaurav Padam](https://togithub.com/Gauravpadam),
[hwanseok](https://togithub.com/hwanseok-dev),
[J.T. McQuigg](https://togithub.com/JT122406),
[Jakub Chrzanowski](https://togithub.com/hsz),
[Jendrik Johannes](https://togithub.com/jjohannes),
[kackey0-1](https://togithub.com/kackey0-1),
[Konstantin Gribov](https://togithub.com/grossws),
[Pratik Haldankar](https://togithub.com/pratik2315),
[Qinglin](https://togithub.com/nodmp),
[Sebastian Schuberth](https://togithub.com/sschuberth),
[Thad House](https://togithub.com/ThadHouse),
[valery1707](https://togithub.com/valery1707),
[Vladimir Sitnikov](https://togithub.com/vlsi),
[wuyangnju](https://togithub.com/wuyangnju),
[Yanming Zhou](https://togithub.com/quaff),
[Yanshun Li](https://togithub.com/Chaoba),
[Yusuke Uehara](https://togithub.com/uskey512),
[zeners](https://togithub.com/zeners)

#### Upgrade instructions

Switch your build to use Gradle 8.4 by updating your wrapper:

    ./gradlew wrapper --gradle-version=8.4

#### Reporting problems

If you find a problem with this release, please file a bug on [GitHub
Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue
guidelines.
If you're not sure you're encountering a bug, please use the
[forum](https://discuss.gradle.org/c/help-discuss).

We hope you will build happiness with Gradle, and we look forward to
your feedback via [Twitter](https://twitter.com/gradle) or on
[GitHub](https://togithub.com/gradle).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOS4yIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 12:51:34 +01:00
renovate[bot] 334d5b9704
chore(deps): update dependency gradle to v8.3 (#110)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [gradle](https://gradle.org)
([source](https://togithub.com/gradle/gradle)) | minor | `8.1.1` ->
`8.3` |

---

### Release Notes

<details>
<summary>gradle/gradle (gradle)</summary>

### [`v8.3`](https://togithub.com/gradle/gradle/releases/tag/v8.3.0):
8.3

[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.2.1...v8.3.0)

The Gradle team is excited to announce Gradle 8.3.

[Read the Release Notes](https://docs.gradle.org/8.3/release-notes.html)

We would like to thank the following community members for their
contributions to this release of Gradle:
[Adam](https://togithub.com/aSemy),
[Ahmed Ehab](https://togithub.com/ahmedehabb),
[Aurimas](https://togithub.com/liutikas),
[Baptiste Decroix](https://togithub.com/bdecroix-spiria),
[Björn Kautler](https://togithub.com/Vampire),
[Borewit](https://togithub.com/Borewit),
[Korov](https://togithub.com/Korov),
[Mohammed Thavaf](https://togithub.com/mthavaf),
[Patrick Brückner](https://togithub.com/madmuffin1),
[Philip Wedemann](https://togithub.com/hfhbd),
[Róbert Papp](https://togithub.com/TWiStErRob),
[Shi Chen](https://togithub.com/CsCherrYY),
[Tony Robalik](https://togithub.com/autonomousapps)

#### Upgrade instructions

Switch your build to use Gradle 8.3 by updating your wrapper:

    ./gradlew wrapper --gradle-version=8.3

#### Reporting problems

If you find a problem with this release, please file a bug on [GitHub
Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue
guidelines.
If you're not sure you're encountering a bug, please use the
[forum](https://discuss.gradle.org/c/help-discuss).

We hope you will build happiness with Gradle, and we look forward to
your feedback via [Twitter](https://twitter.com/gradle) or on
[GitHub](https://togithub.com/gradle).

###
[`v8.2.1`](https://togithub.com/gradle/gradle/compare/v8.2.0...v8.2.1)

[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.2.0...v8.2.1)

### [`v8.2`](https://togithub.com/gradle/gradle/releases/tag/v8.2.0):
8.2

[Compare
Source](https://togithub.com/gradle/gradle/compare/v8.1.1...v8.2.0)

The Gradle team is excited to announce Gradle 8.2.

Amongst other improvements, this release addresses two security
vulnerabilities:

- [Dependency cache path
traversal](https://togithub.com/gradle/gradle/security/advisories/GHSA-2h6c-rv6q-494v)
- [Path traversal vulnerabilities in handling of Tar
archives](https://togithub.com/gradle/gradle/security/advisories/GHSA-84mw-qh6q-v842)

[Read the Release Notes](https://docs.gradle.org/8.2/release-notes.html)

We would like to thank the following community contributors for their
contributions to this release of Gradle:

[Bruno Didot](https://togithub.com/didot),
[Eric Vantillard](https://togithub.com/evantill),
[esfomeado](https://togithub.com/esfomeado),
[Jendrik Johannes](https://togithub.com/jjohannes),
[Jonathan Leitschuh](https://togithub.com/JLLeitschuh),
[Lee Euije](https://togithub.com/euije),
[Stefan Oehme](https://togithub.com/oehme),
[Todor Dinev](https://togithub.com/tdinev),
[Yanshun Li](https://togithub.com/Chaoba)

#### Upgrade instructions

Switch your build to use Gradle 8.2 by updating your wrapper:

`./gradlew wrapper --gradle-version=8.2`

#### Reporting problems

If you find a problem with this release, please file a bug on [GitHub
Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue
guidelines.
If you're not sure you're encountering a bug, please use the
[forum](https://discuss.gradle.org/c/help-discuss).

We hope you will build happiness with Gradle, and we look forward to
your feedback via [Twitter](https://twitter.com/gradle) or on
[GitHub](https://togithub.com/gradle).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/pachli/pachli-android).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-27 15:03:20 +02:00
renovate[bot] 3d67e6a9ff
chore(deps): update dependency gradle to v8.1.1 2023-04-21 13:48:29 +00:00
renovate[bot] 1988c36c4d
chore(deps): update dependency gradle to v8.1 (#3528)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-20 19:13:37 +02:00
renovate[bot] ce6a350267
chore(deps): update dependency gradle to v8.0.2 (#3372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-05 16:56:19 +01:00
Goooler c6f7ecdb5b
Gradle 8.0.1 (#3338)
https://docs.gradle.org/8.0/release-notes.html
2023-02-25 20:59:39 +01:00
Goooler 3592318dc1
Modernize a bit (#3171)
* Remove redundant ignore file

* Add .gitattributes

* Generate new wrapper

* Apply plugins in `plugins`

* Adopt new dsl

* Enable stable config cache

* Ignore all build folders

* Enable build scan

* Disable buildFeatures flags by default

* Migrate to nonTransitive R class

* Tweak flags

* Bump AGP to 7.4.0

* Bump deps

* Run `ktlintFormat`

* Add an icon for IDEA to display

* Revert "Bump deps"

This reverts commit bc0d5b69d59f70289d5d5c4887a85e6af23cc662.

* Revert "Enable build scan"

This reverts commit 1568e5e84f1ee51064b3f426b1da0cf35fb67856.

* Remove com.android.library

* Enable Gradle cache

* Enable room incremental build

* Cleanups

* Cleanups

* Add .editorconfig

* Defer clean task

* Migrate `flavorDimensions`

* Merge instance-build.gradle into app's build.gradle

* Declare compileOptions & kotlinOptions

* Bump jvmTarget to 17

* Fix conflicts

* Xmx4g

* Rename output apks

* Revert "Bump jvmTarget to 17"

This reverts commit e4d1543bda65b6d2979ae0712bceee33fa8298a6.
2023-02-04 19:58:53 +01:00
Konrad Pozniak 157f4adfa1
Upgrade gradle to 7.6 and AGP to 7.3.1 (#2977) 2022-12-05 19:10:55 +01:00
Konrad Pozniak 8ae3e4e173
update Gradle to 7.5.1 (#2640)
* update Gradle to 7.5

* update gradle to 7.5.1
2022-08-07 19:13:44 +02:00
Konrad Pozniak 90ceb9514e
update Gradle and Android Gradle Plugin (#2380) 2022-03-13 16:08:15 +01:00
Konrad Pozniak 1586817c3d
Update gradle, kotlin and other dependencies (#2291)
* update gradle, kotlin and other dependencies

* fix new warnings

* remove unused import

* update Proguard rules

* add explicit dependency on Gson to get the newest version

* remove debug flag from proguard rules again

* fix typo
2022-01-20 21:10:32 +01:00
Konrad Pozniak 9c9f8ebf2c
upgrade gradle to 7.0.2 (#2161) 2021-05-19 07:40:56 +02:00
Konrad Pozniak 3e135b0480
upgrade gradle to 6.8.1 (#2057) 2021-01-31 19:35:53 +01:00
Konrad Pozniak e572e653ee
upgrade gradle and android gradle plugin (#1957) 2020-10-19 14:47:40 +02:00
Konrad Pozniak df5490b5b9
upgrade gradle, AGP and dependencies (#1818)
* upgrade gradle, AGP and dependencies

* fix new layout related warnings
2020-06-04 20:16:48 +02:00
Konrad Pozniak c80fa68dbe
upgrade dependencies, fix some warnings (#1747)
* upgrade dependencies, fix some warnings

* fix tests
2020-04-06 11:46:38 +02:00
Konrad Pozniak 0c159e587d
upgrade Gradle and Android plugin (#1709)
* upgrade Gradle and Android plugin

* upgrade Android Gradle plugin to 3.6.1
2020-03-02 19:58:15 +01:00
Frieder Bluemle ef470bcdb6
Update Gradle Wrapper to 6.1.1 2020-02-01 11:14:31 -08:00
Konrad Pozniak e67d608bb8
upgrade dependencies (#1596) 2019-12-20 21:31:41 +01:00
Frieder Bluemle bd7f0dfe62 Update Gradle wrapper to 5.4.1 (#1233) 2019-05-09 19:21:06 +02:00
Bernd d0ca965cc8 Update Deps (#1176)
* Update Deps

* Update Deps

* Update Deps

* Update build.gradle

* Update build.gradle
2019-04-07 19:37:04 +02:00
Bernd 0db1a23c4f Update Deps + Cleanup (#1158)
* Fix Typo

* Update build.gradle

* Update Deps

* Update Tests

* Fixes Tests

Without this some tests fail on my PC...

+ also:
"Put this in your gradle.properties:

android.enableUnitTestBinaryResources=true"
from http://robolectric.org/migrating/#project-configuration

* Make everything private

* Fix Warning

* Update TimelineFragment.java

* Update build.gradle

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Update gradle-wrapper.properties

* Fix Compile Errors

e.g.

Type inference failed. Expected type mismatch: inferred type is Preference? but Preference was expected

Type inference failed. Please try to specify type arguments explicitly.

* fix crash

* Grandle Wrapper 5.3

* Revert "Fix Compile Errors"

This reverts commit 4a774a4fe3ce82c84bd7b4d78e1a1c64af97cd0d.

* requirePreference

* oops

* Cleanup

* Update gradle-wrapper.properties
2019-03-30 15:18:16 +01:00
Frieder Bluemle 53aae1b3da Update Gradle wrapper to 4.10.3 2019-02-26 18:34:29 +01:00
Conny Duck cdfc8a713d update gradle and build tools 2019-01-15 20:50:50 +01:00
Conny Duck 26b0ad521e upgrade gradle and build tools 2018-09-25 19:05:37 +02:00
HellPie 4759783d10 Add support for collapsible statuses when they exceed 500 characters (#825)
* Update Gradle plugin to work with Android Studio 3.3 Canary

Android Studio 3.1.4 Stable doesn't render layout previews in this project
for whatever reason. Switching to the latest 3.3 Canary release fixes the
issue without affecting Gradle scripts but requires the new Android Gradle
plugin to match the new Android Studio release.

This commit will be reverted once development on the feature is done.

* Update gradle build script to allow installing debug builds alongside store version

This will allow developers, testers, etc to work on Tusky will not having to worry
about overwriting, uninstalling, fiddling with a preinstalled application which would
mean having to login again every time the development cycle starts/finishes and
manually reinstalling the app.

* Add UI changes to support collapsing statuses

The button uses subtle styling to not be distracting like the CW button on the timeline
The button is toggleable, full width to match the status textbox hitbox width and also
is shorter to not be too intrusive between the status text and images, or the post below

* Update status data model to store whether the message has been collapsed

* Update status action listener to notify of collapsed state changing

Provide stubs in all implementing classes and mark as TODO the stubs that
require a proper implementation for the feature to work.

* Add implementation code to handle status collapse/expand in timeline

Code has not been added elsewhere to simplify testing.
Once the code will be considered stable it will be also included in other
status action listener implementers.

* Add preferences so that users can toggle the collapsing of long posts

This is currently limited to a simple toggle, it would be nice to implement
a more advanced UI to offer the user more control over the feature.

* Update Gradle plugin to work with latest Android Studio 3.3 Canary 8

Just like the other commit, this will be reverted once the feature is working.
I simply don't want to deal with what changes in my installation of Android
Studio 3.1.4 Stable which breaks the layout preview rendering.

* Update data models and utils for statuses to better handle collapsing

I forgot that data isn't available from the API and can't really be built
from scratch using existing data due to preferences.
A new, extra boolean should fix the issue.

* Fix search breaking due to newly introduced variables in utils classes

* Fix timeline breaking due to newly introduced variables in utils classes

* Fix item status text for collapsed toggle being shown in the wrong state

* Update timeline fragment to refresh the list when collapsed settings change

* Add support for status content collapse in timeline viewholder

* Fix view holder truncating posts using temporary debug settings at 50 chars

* Add toggle support to notification layout as well

* Add support for collapsed statuses to search results

* Add support for expandable content to notifications too

* Update codebase with some suggested changes by @charlang

* Update more code with more suggestions and move null-safety into view data

* Update even more code with even more suggested code changes

* Revert a0a41ca and 0ee004d (Android Studio 3.1 to Android Studio 3.3 updates)

* Add an input filter utility class to reuse code for trimming statuses

* Update UI of statuses to show a taller collapsible button

* Update notification fragment logging to simplify null checks

* Add smartness to SmartLengthInputFilter such as word trimming and runway

* Fix posts with show more button even if bad ratio didn't collapse

* Fix thread view showing button but not collapsing by implementing the feature

* Fix spannable losing spans when collapsed and restore length to 500 characters

* Remove debug build suffix as per request

* Fix all the merging happened in f66d689, 623cad2 and 7056ba5

* Fix notification button spanning full width rather than content width

* Add a way to access a singleton to smart filter and use clearer code

* Update view holders using smart input filters to use more singletons

* Fix code style lacking spaces before boolean checks in ifs and others

* Remove all code related to collapsibility preferences, strings included

* Update style to match content warning toggle button

* Update strings to give cleaner differentiation between CW and collapse

* Update smart filter code to use fully qualified names to avoid confusion
2018-09-19 19:51:20 +02:00
Ivan Kupalov 3756a1fd20
Add EventHub, add fav, reblog events, improve timelines (#562)
* Add AppStore, add fav, reblog events

* Add events, add handling to Timeline

* Add event handling to Notifications

* Mostly finish events

* Fix unsubscribing

* Cleanup timeline

* Fix newStatusEvent in thread, fix deleteEvent

* Insert new toots only in specific timelines

* Add missing else

* Rename AppStore to EventHub

* Fix tests

* Use DiffUtils for timeline

* Fix empty timeline bug. Improve loading placeholder

* Fix AsyncListDiff, loading indicator, "load more"

* Timeline fixes & improvements.

Fix infinite loading. Remove spinner correctly.
Don't refresh timeline without need.
2018-05-27 11:22:12 +03:00
Conny Duck 92d688523b upgrade gradle & dependencies 2018-03-27 20:12:43 +02:00
Conny Duck 9dc9ee2ef0 upgrade gradle version for android studio 3, fix some lint warnings 2017-10-25 21:56:58 +02:00
Eugen Rochko 7a752be83f Prettify profiles, add floating follow/unfollow button to them 2017-03-06 20:48:31 +01:00
Vavassor ce88450ee6 added README.md and missing files 2017-01-02 20:37:38 -05:00