forked from SebastienMelki/gorush
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android fcm sync #1
Open
jean-kesrewani
wants to merge
362
commits into
master
Choose a base branch
from
android_fcm_sync
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
* refactor: remove config from notification struct. * chore: update Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
…boy#625) Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.6. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v6.1.0...v6.1.6) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: fix some lint Signed-off-by: Bo-Yi Wu <[email protected]> * update Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
…eboy#630) Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.11. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](isaacs/node-tar@v6.1.6...v6.1.11) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Signed-off-by: Bo-Yi Wu <[email protected]>
Co-authored-by: rsmnarts <[email protected]>
Co-authored-by: Romanenko Aleksei <[email protected]> Co-authored-by: rsmnarts <[email protected]>
Co-authored-by: Bo-Yi Wu <[email protected]>
Vulnerable versions: < 1.9.3 Patched version: 1.9.3 GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack. Signed-off-by: Bo-Yi Wu <[email protected]>
- Update the version of the `go-redis` dependency from `v9.5.3` to `v9.6.1` Signed-off-by: Bo-Yi Wu <[email protected]>
- Update `gin` dependency from version `1.9.1` to `1.10.0` - Upgrade `sonic` dependency from version `1.11.3` to `1.11.6` and add `sonic/loader` version `0.1.1` - Replace `base64x` and `iasm` dependencies with `cloudwego` versions `0.1.4` and `0.2.0` - Update `validator` dependency from version `10.19.0` to `10.20.0` - Upgrade `go-toml` dependency from version `2.1.1` to `2.2.2` - Update `arch` dependency from version `0.7.0` to `0.8.0` Signed-off-by: Bo-Yi Wu <[email protected]>
* fix: use mutable content and content available when set. Content available is for background notifications hence the notification shouldn't have an alert or sound. Ref: https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification * fix: put correct header for IOS push notifications. * fix: improve content-available support. * feat: only log FCM message in development mode.
- Update Apple documentation reference link in `PushNotification` struct - Rename variables in `TestIOSAlertNotificationStructure` for consistency with camelCase convention - Remove unnecessary blank lines in `notification_fcm.go` Signed-off-by: appleboy <[email protected]>
Snyk has created this PR to upgrade async from 3.2.5 to 3.2.6. See this package in npm: async See this project in Snyk: https://app.snyk.io/org/appleboy/project/fcfc2ba6-1b67-4528-bc1d-2f9febf86663?utm_source=github&utm_medium=referral&page=upgrade-pr Co-authored-by: snyk-bot <[email protected]>
- Update golangci-lint-action from version 4 to version 6 in GitHub workflow Signed-off-by: appleboy <[email protected]>
…#812) - Add `errors` and `math` packages to imports - Introduce `safeIntToInt32` function to safely convert `int` to `int32` with error handling for out-of-range values - Replace direct `int32` conversion with `safeIntToInt32` in `Send` function - Add unit tests for `safeIntToInt32` function with various test cases including valid, overflow, and underflow scenarios Signed-off-by: appleboy <[email protected]>
- Update `grpc` dependency to version `1.66.2` - Update `protobuf` dependency to version `1.34.2` Signed-off-by: Bo-Yi Wu <[email protected]>
- Add i386 architecture to the builds configuration in `.goreleaser.yaml` Signed-off-by: Bo-Yi Wu <[email protected]>
- Change architecture identifier from `i386` to `386` Signed-off-by: Bo-Yi Wu <[email protected]>
- Update `golang.org/x/crypto` to v0.26.0 - Update `golang.org/x/net` to v0.28.0 - Update `golang.org/x/sync` to v0.8.0 - Update `google.golang.org/grpc` to v1.67.1 - Update `cloud.google.com/go/compute/metadata` to v0.5.0 - Update `github.com/golang/glog` to v1.2.2 - Update `golang.org/x/oauth2` to v0.22.0 - Update `golang.org/x/sys` to v0.24.0 - Update `golang.org/x/text` to v0.17.0 - Update `google.golang.org/genproto/googleapis/api` to v0.0.0-20240814211410-ddb44dafa142 - Update `google.golang.org/genproto/googleapis/rpc` to v0.0.0-20240814211410-ddb44dafa142 Signed-off-by: appleboy <[email protected]>
- Update Codecov action from v4 to v5 in GitHub workflows - Remove `exportloopref` linter and add `copyloopvar` linter in GolangCI configuration - Update Go version from 1.21 to 1.22 in go.mod Signed-off-by: Bo-Yi Wu <[email protected]>
- Update `golang.org/x/crypto` to v0.31.0 - Update `golang.org/x/sync` to v0.10.0 - Update `github.com/golang-jwt/jwt/v4` to v4.5.1 - Update `golang.org/x/sys` to v0.28.0 - Update `golang.org/x/text` to v0.21.0 Signed-off-by: Bo-Yi Wu <[email protected]>
…eboy#822) - Enhance `DispatchFeedback` function documentation with detailed parameters and return values - Add context timeout handling in `DispatchFeedback` function - Trim header values before setting them in the request - Add error handling for non-OK HTTP response status in `DispatchFeedback` - Support proxy configuration from the environment in `global.go` Signed-off-by: Bo-Yi Wu <[email protected]>
- Update base image in Dockerfile from `alpine:3.18` to `alpine:3.21` Signed-off-by: Bo-Yi Wu <[email protected]>
- Update `github.com/golang-queue/nats` to v0.1.0 - Update `github.com/golang-queue/nsq` to v0.2.0 - Update `github.com/golang-queue/queue` to v0.1.4-0.20221230133718-0314ef173f98 - Update `github.com/golang-queue/redisdb-stream` to v0.0.4 - Update `github.com/redis/go-redis/v9` to v9.7.0 - Update `github.com/stretchr/testify` to v1.10.0 - Add `github.com/appleboy/com` v0.2.1 as an indirect dependency - Update `github.com/goccy/go-json` to v0.10.4 - Update `github.com/klauspost/compress` to v1.17.11 - Update `github.com/nats-io/nats.go` to v1.38.0 - Update `github.com/nats-io/nkeys` to v0.4.9 - Add `github.com/onsi/ginkgo` v1.16.5 as an indirect dependency - Add `github.com/onsi/gomega` v1.24.1 as an indirect dependency Signed-off-by: appleboy <[email protected]>
- Update `golang.org/x/net` dependency from `v0.28.0` to `v0.33.0` Signed-off-by: appleboy <[email protected]>
…boy#827) * feat: improve consistency and add Redis username configuration - Add `username` field to Redis configuration in multiple files - Simplify JSON formatting for `gc_pause` array - Standardize table formatting in README.md - Update JavaScript example to use double quotes instead of single quotes for consistency - Fix missing semicolon in JavaScript example - Add tests for the new `username` field in Redis configuration Signed-off-by: appleboy <[email protected]> * test: refactor codebase to improve performance and reliability - Add assertion to check that `Redis.Username` is an empty string in the `TestValidateConf` test function Signed-off-by: appleboy <[email protected]> --------- Signed-off-by: appleboy <[email protected]>
- Add `fetch-depth: 0` to the checkout action in the goreleaser workflow Signed-off-by: appleboy <[email protected]>
- Rename `name_template` to `version_template` in the snapshot section of `.goreleaser.yaml` Signed-off-by: appleboy <[email protected]>
- Add version 2 specification to `.goreleaser.yaml` Signed-off-by: appleboy <[email protected]>
- Change changelog source from git to GitHub in `.goreleaser.yaml` - Update download links in `README.md` to use gorush version 1.18.9 - Update Go version requirement in `README.md` to at least Go 1.22 Signed-off-by: appleboy <[email protected]>
- Update `github.com/golang-queue/redisdb-stream` dependency from version `v0.0.4` to `v0.1.0` Signed-off-by: appleboy <[email protected]>
fix appleboy#808 - Update error message to request at least one device token - Clarify error message for empty device token Signed-off-by: appleboy <[email protected]>
- Update Go version to `1.22.7` and add toolchain `go1.23.1` - Upgrade `firebase.google.com/go/v4` to `v4.15.1` - Upgrade `github.com/appleboy/go-fcm` to `v1.2.2` - Upgrade `golang.org/x/crypto` to `v0.32.0` - Upgrade `golang.org/x/net` to `v0.34.0` - Upgrade `google.golang.org/grpc` to `v1.68.0` - Upgrade `google.golang.org/protobuf` to `v1.35.2` - Add new indirect dependencies including `cel.dev/expr`, `cloud.google.com/go/monitoring`, and `github.com/GoogleCloudPlatform/opentelemetry-operations-go` - Upgrade various indirect dependencies such as `cloud.google.com/go`, `github.com/googleapis/gax-go/v2`, and `google.golang.org/api` - Remove older versions of indirect dependencies and replace them with newer versions Signed-off-by: appleboy <[email protected]>
- Add a help target to print usage information - Remove vet and embedmd targets - Add comments for install, build, and test targets - Remove release-related targets - Add comments for various build targets for different platforms - Add a detailed comment for the clean target - Add comments for proto_install, generate_proto_js, generate_proto_go, and generate_proto targets - Add comments for air and dev targets - Add a version target to print the version Signed-off-by: appleboy <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.