Skip to content

Commit

Permalink
Release v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wb14123 committed Jul 28, 2024
1 parent e554096 commit cde7104
Show file tree
Hide file tree
Showing 17 changed files with 7,467 additions and 1,706 deletions.
2 changes: 1 addition & 1 deletion bin/download-rsshub-rules.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/sh
#!/bin/sh

wget -c 'https://rsshub.js.org/build/radar-rules.js'
(echo "var a = " ; cat radar-rules.js ; echo "; console.log(JSON.stringify(a, null, 2));") > radar-rules-tmp.js
Expand Down
2 changes: 2 additions & 0 deletions make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ rsync --delete -av --exclude .git --filter=':- .gitignore' . ../rss_brain_releas

if [ $RELEASE_VERSION = 'amend' ] ; then
echo "Amend existing commit"
git tag --delete $RELEASE_VERSION
git tag $RELEASE_VERSION
cd ../rss_brain_release
git add -A .
git commit --amend --no-edit
Expand Down
5 changes: 3 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ sbt assembly
## Download and Generate RSSHub rules

```
./bin/download-rsshub-rules.sh
sbt compile convertRsshubRules
cd ./bin && ./download-rsshub-rules.sh
sbt compile generateRsshubRules
sbt validateRsshubRules
```

## Test
Expand Down
9 changes: 9 additions & 0 deletions src/main/protobuf/grpc-api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1361,19 +1361,28 @@ message GetApiVersionRequest {

}

message CheckPaymentEnabledRequest {

}

message VersionIsCompatibleRequest {
string version = 1;
}
message GetApiVersionResponse {
string result = 1;
}

message CheckPaymentEnabledResponse {
bool result = 1;
}

message VersionIsCompatibleResponse {
bool result = 1;
}

service SystemAPI {
rpc GetApiVersion (GetApiVersionRequest) returns (GetApiVersionResponse);
rpc CheckPaymentEnabled (CheckPaymentEnabledRequest) returns (CheckPaymentEnabledResponse);
rpc VersionIsCompatible (VersionIsCompatibleRequest) returns (VersionIsCompatibleResponse);
}

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ redis {
}

api {
version = "0.1.0"
version = "1.1.0"
}

grpc {
Expand Down Expand Up @@ -62,6 +62,8 @@ website {
}

payment {
# change this to false to disable payment, still need to set `stripe` section with empty strings like below
enabled = true

stripe {
apiKey = ""
Expand Down
Loading

0 comments on commit cde7104

Please sign in to comment.