Skip to content

Commit 453bb86

Browse files
committed
Merge branch 'release/v1.3.0'
2 parents 52fd0a9 + 982deb0 commit 453bb86

File tree

303 files changed

+5622
-1629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

303 files changed

+5622
-1629
lines changed

.github/README-en.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ by [Jetpack Compose](https://developer.android.com/develop/ui/compose)
2121
[![GitHub downloads](https://img.shields.io/github/downloads/master-lzh/PiPixiv/total?label=downloads&labelColor=27303D&color=0D1117&logo=github&logoColor=FFFFFF&style=flat)](https://github.com/master-lzh/PiPixiv/releases)
2222
[![F-Droid Version](https://img.shields.io/f-droid/v/com.mrl.pixiv)](https://f-droid.org/packages/com.mrl.pixiv/)
2323

24-
### Supports **[Android 6.0]()** or higher
24+
### Supports **[Android 8.0]()** or higher
2525

2626
## Features
2727

@@ -30,29 +30,20 @@ by [Jetpack Compose](https://developer.android.com/develop/ui/compose)
3030
* Log in using a Pixiv account.
3131
* Homepage recommended illustrations.
3232
* Search illustrations and sort by popularity, latest, etc.
33+
* View rankings (Daily, Weekly, Monthly, etc.).
3334
* Bookmark illustrations/Follow artists.
35+
* View browsing history.
3436
* View illustration details and recommended illustrations.
35-
* Long press on an image to download the original illustration.
37+
* Long press on an image to download the original illustration or GIF.
38+
* App settings (Language, Network, Feature Switch, etc.).
39+
* Deep link support.
40+
* Block illustrations and users.
3641

3742
### To-do List
3843

3944
* **Features and PRs are welcome**
4045
* More...
4146

42-
### v1.1.0
43-
44-
- [x] Refactor the network layer, replacing OkHttp with Ktor
45-
- [x] Refactor datastore to MMKV
46-
- [x] Refactor some global states into a singleton pattern for code simplification and easier
47-
dependency injection
48-
- [x] Adapt new navigation
49-
- [x] Settings page
50-
- [x] Favourites page
51-
- [x] Followed page
52-
- [x] History page
53-
- [x] Translation
54-
- [x] Deep link support (open from https://www.pixiv.net/illust/xxxxxx)
55-
5647
</div>
5748

5849
## App Preview
@@ -82,4 +73,4 @@ This project uses or references several open-source projects:
8273

8374
</div>
8475

85-
</div>
76+
</div>

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repository
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
- name: Setup Java
2020
uses: actions/setup-java@v5

.github/workflows/fastlane.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
- name: Validate Fastlane Supply Metadata
1616
uses: ashutoshgngwr/validate-fastlane-supply-metadata@v2

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout Repository
19-
uses: actions/checkout@v5
19+
uses: actions/checkout@v6
2020

2121
- name: Setup Java
2222
uses: actions/setup-java@v5

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ local.properties
1818
/.kotlin/
1919
/app/default
2020
/app/foss
21-
*.base64.txt
21+
*.base64.txt
22+
GEMINI.md
23+
CLAUDE.md
24+
AGENTS.md

README.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
[![GitHub downloads](https://img.shields.io/github/downloads/master-lzh/PiPixiv/total?label=下载量&labelColor=27303D&color=0D1117&logo=github&logoColor=FFFFFF&style=flat)](https://github.com/master-lzh/PiPixiv/releases)
2323
[![F-Droid Version](https://img.shields.io/f-droid/v/com.mrl.pixiv)](https://f-droid.org/packages/com.mrl.pixiv/)
2424

25-
### 支持 **[Android 6.0]()** 或更高版本
25+
### 支持 **[Android 8.0]()** 或更高版本
2626

2727
## 功能
2828

@@ -31,28 +31,20 @@
3131
* 使用 Pixiv 账号登录。
3232
* 首页推荐插图。
3333
* 搜索插图,按照人气、最新等排序。
34+
* 查看排行榜(日榜、周榜、月榜等)。
3435
* 收藏插图/关注作者。
36+
* 查看浏览历史。
3537
* 查看插图详情和推荐插图。
36-
* 长按图片下载原始插图。
38+
* 长按图片下载原始插图或GIF。
39+
* 应用设置(语言、网络、功能开关等)。
40+
* 深度链接支持。
41+
* 屏蔽作品和用户。
3742

3843
### 待办事项
3944

4045
* **欢迎提出Feature和PR**
4146
* 更多...
4247

43-
### v1.1.0
44-
45-
- [x] 重构网络层,将OkHttp换成Ktor
46-
- [x] 重构datastore为MMKV
47-
- [x] 将一些全局状态重构成单例模式,简化代码,便于依赖注入
48-
- [x] 适配新的导航
49-
- [x] 设置页面
50-
- [x] 收藏页面
51-
- [x] 关注页面
52-
- [x] 历史页面
53-
- [x] 英文翻译
54-
- [x] 深度链接支持(从 https://www.pixiv.net/illust/xxxxxx 打开)
55-
5648
</div>
5749

5850
## 应用预览

app/build.gradle.kts

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ android {
1919

2020
defaultConfig {
2121
applicationId = "com.mrl.pixiv"
22-
versionCode = 10201
23-
versionName = "1.2.1"
22+
versionCode = 10300
23+
versionName = "1.3.0"
2424

2525
vectorDrawables {
2626
useSupportLibrary = true
@@ -95,9 +95,26 @@ android {
9595
}
9696

9797
dependencies {
98-
implementation(project(":lib_common"))
99-
implementation(project(":lib_feature"))
100-
10198
baselineProfile(project(":baselineprofile"))
102-
ksp(libs.koin.ksp.compiler)
99+
implementation(project(":common:data"))
100+
implementation(project(":common:network"))
101+
implementation(project(":common:repository"))
102+
implementation(project(":common:ui"))
103+
implementation(project(":common:core"))
104+
rootDir.resolve("feature").listFiles()?.filter { it.isDirectory }?.forEach {
105+
implementation(project(":feature:${it.name}"))
106+
}
107+
108+
// splash screen
109+
implementation(androidx.splashscreen)
110+
// ProfileInstaller
111+
implementation(androidx.profileinstaller)
112+
// Navigation3
113+
api(compose.bundles.navigation3)
114+
// Coil3
115+
implementation(platform(libs.coil3.bom))
116+
implementation(libs.bundles.coil3)
117+
// MMKV
118+
implementation(libs.mmkv)
119+
implementation(libs.mmkv.kotlin)
103120
}

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
<uses-permission android:name="android.permission.INTERNET" /> <!-- 读写权限 -->
77
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
88
<uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" />
9+
<uses-permission
10+
android:name="android.permission.READ_EXTERNAL_STORAGE"
11+
android:maxSdkVersion="32" />
12+
<uses-permission
13+
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
14+
android:maxSdkVersion="28" />
915

1016
<application
1117
android:name=".App"
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
package com.mrl.pixiv.di
22

33
import com.mrl.pixiv.AppModule
4-
import com.mrl.pixiv.FeatureModule
54
import com.mrl.pixiv.common.CommonModule
65
import org.koin.ksp.generated.module
76

87
val allModule = listOf(
98
AppModule.module,
109
CommonModule.module,
11-
FeatureModule.module,
1210
)

0 commit comments

Comments
 (0)