Skip to content
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

Rebase upstream #3

Closed
wants to merge 120 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
085f688
Reference current interface in config template
benlangfeld Oct 1, 2020
32360d8
Fixed typo with misspell
hsbt Oct 27, 2020
4c70cc0
Merge pull request #575 from hsbt/fix-typo
aried3r Oct 28, 2020
767d5b7
support for webpush with VAPID
jkraemer Feb 20, 2020
a9fc8a5
Merge pull request #574 from planio-gmbh/feature/webpush-vapid
benlangfeld Oct 31, 2020
9eeb10e
Fix APNS2 documentation in README
jamestjw Nov 6, 2020
973019b
Valid Ruby syntax
benlangfeld Nov 6, 2020
07f33fb
Merge pull request #578 from jamestjw/master
benlangfeld Nov 6, 2020
c9681be
set apns-* headers in apns2 delivery
jkraemer Nov 12, 2020
7e3113a
amend README
jkraemer Nov 18, 2020
277d282
Replace deprecated << with ActiveModel::Errors#add
jas14 Dec 22, 2020
c15ff9d
Use \A, \z instead of ^, $ to validate device token
jas14 Dec 22, 2020
909e49c
Merge pull request #582 from splitwise/joe/rails-61
benlangfeld Dec 30, 2020
d822211
Merge pull request #579 from planio-gmbh/feature/apns2-default-headers
benlangfeld Dec 30, 2020
b081c5f
Adds failing specs for Rpush::Client::ActiveRecord::Apnsp8::Notification
gregblake Dec 31, 2020
7da2c10
Rpush::Client::ActiveRecord::Apnsp8::Notification valid up to 4kb
gregblake Dec 31, 2020
e2c9168
Adds failing specs for Rpush::Client::Redis::Apnsp8::Notification
gregblake Dec 31, 2020
1cb7c44
Rpush::Client::Redis::Apnsp8::Notification valid up to 4kb
gregblake Dec 31, 2020
e7ea511
Cleans up Redis data
gregblake Dec 31, 2020
d7a3f58
Only run these examples on the relevant adapter
gregblake Jan 4, 2021
0dea768
Merge pull request #583 from gregblake/apns_p8_4kb_payload_limit
benlangfeld Jan 4, 2021
9cbfa5e
Prepare v5.3.0 release
aried3r Jan 7, 2021
8cf6db5
Use `net-http-persistent` version compatible with Ruby 3
andreaslillebo Feb 2, 2021
bd4c432
Fix hash being passed as keyword argument
andreaslillebo Feb 2, 2021
dce1ea9
Test on Ruby 3.0 & Rails 6.1
andreaslillebo Feb 2, 2021
e6334fc
Exclude incompatible ruby & rails combinations from CI
andreaslillebo Feb 3, 2021
d843926
Ruby 3 is incompatible with Rails 5
andreaslillebo Feb 3, 2021
c3b9073
fix typo in README.md, notification must be Rpush::Apnsp8::Notificati…
yltsrc Feb 8, 2021
ba151ec
Merge pull request #587 from yltsrc/update-readme-apnsp8-app
benlangfeld Feb 12, 2021
1bde7b8
Merge pull request #586 from andreaslillebo/ruby-3.0
aried3r Feb 15, 2021
5cd2ddf
Prepare 5.4.0 release
aried3r Feb 15, 2021
d81dfa3
Updates README to Apple's new EOL date for the APNs legacy binary pro…
gregblake Mar 4, 2021
0dbf80b
Drop support for Rails 5.0 and 5.1 (#597)
ericsaupe Mar 15, 2021
7eb2967
Fix silent APNS notifications for Apns2 and Apnsp8 (#596)
shved270189 Mar 15, 2021
42ef7b3
Remove references and checks for unsupported versions of Rails (#599)
ericsaupe Mar 15, 2021
995a652
Bump gemspec post_install_message (#600)
fdocr Mar 17, 2021
a4c8518
Eliminate deprecated check
rofreg Mar 26, 2021
6458168
Fixed infinite loop issue with Apnsp8 delivery
Apr 13, 2021
f81b8fb
Bump activesupport version to 5.2 or later (#610)
biow0lf Apr 16, 2021
d61366a
Added a comment explaining the hard-coded ma concurrent streams
Apr 21, 2021
85565e0
Merge pull request #608 from diminish7/apnsp8-delivery-loop-fix
aried3r Apr 26, 2021
97ef4fe
Merge pull request #602 from splitwise/rofreg/ruby-3.0-deprecation-fix
aried3r Apr 26, 2021
84647b4
Make ActiveRecord validations work with Apns2 client (#601)
favrik May 6, 2021
d433b24
Update dependencies
aried3r May 6, 2021
9f408b4
Prepare 6.0.0 release
aried3r May 6, 2021
3aa1130
Remove .ruby-gemset file, obsolete
aried3r May 6, 2021
ac44cea
Amend CHANGELOG.md
aried3r May 6, 2021
256d1fb
Merge pull request #613 from rpush/ar/rpush_6.0
aried3r May 6, 2021
e3b6a01
Implement GitHub Actions for CI
aried3r May 7, 2021
d914b07
Merge pull request #615 from rpush/ar/github_actions
aried3r May 8, 2021
7df8ff4
Prepare changelog for 6.0.0 [skip ci]
aried3r May 21, 2021
5f21e77
Merge pull request #569 from rpush/benlangfeld-patch-1
aried3r May 21, 2021
22b9e68
Update README.md
maxsz Jun 16, 2021
31ae99c
Merge pull request #617 from equinux/master
aried3r Jul 7, 2021
eb493bb
Don't limit webpush registration keys (#624)
treyrich Sep 29, 2021
3ab3a98
Prepare 6.0.1 release
aried3r Oct 8, 2021
92eeff4
Add v6.0.1 change log [skip ci]
aried3r Oct 8, 2021
aba0ad6
Test with Rails 7.0.0.alpha2
aried3r Oct 8, 2021
9a72cca
Merge pull request #626 from rpush/ar/test_with_rails_7.0
aried3r Oct 13, 2021
bd1c0e6
Test with Rails 7.0.0.rc1
aried3r Dec 14, 2021
dd6eeb5
Resolves a NoMethodError when running `rpush init` on Rails 7
gregblake Dec 27, 2021
e6ec521
Resolves a NoMethodError in Daemon::Store::ActiveRecord.adapter_name
gregblake Dec 27, 2021
87295af
Test with Rails 7.0.0.rc3
aried3r Dec 15, 2021
74e7ac4
Test with Rails 7.0.0
aried3r Dec 16, 2021
56a5266
Resolves Rails 7 Time.now.to_s deprecation warning
gregblake Dec 27, 2021
f57e4b6
Bumps Rails 7 Gemfile from 7.0.0.rc3 to 7.0.0
gregblake Dec 27, 2021
7db415f
Merge pull request #629 from gregblake/rails_7_support
aried3r Jan 10, 2022
7670a6e
Merge pull request #630 from gregblake/resolve_deprecation_warning
aried3r Jan 10, 2022
bd082b7
Drop support for Ruby 2.3
aried3r Jan 10, 2022
1ccb8d9
Merge pull request #631 from rpush/ar/drop_ruby_2.3_support
aried3r Jan 10, 2022
94ac15a
Test with Ruby 3.1
aried3r Jan 10, 2022
de7ad3c
Use psych 3.x for Rails 6.0.x
aried3r Jan 10, 2022
e628102
Merge pull request #632 from rpush/ar/test_with_ruby_3.1
aried3r Jan 10, 2022
b799a68
Opt-in to mfa requirement
aried3r Jan 21, 2022
a7eafec
Prepare 7.0.0 release
aried3r Jan 21, 2022
81e12b5
Update rubocop
aried3r Jan 21, 2022
afb4ad0
Update development dependencies
aried3r Jan 21, 2022
a87c27e
Fix deprecation warnings from the redis gem
sharang-d Feb 14, 2022
c0da089
Merge pull request #636 from sharang-d/fix-redis-deprecation-warning
aried3r Mar 2, 2022
b5e6bd2
Update modis development dependency
aried3r Mar 2, 2022
b259a66
Update development dependencies
aried3r Mar 2, 2022
7ea4d91
Bump version to v7.0.1
aried3r Mar 2, 2022
b5abcbd
Update CHANGELOG.md
aried3r Mar 2, 2022
74b4258
Implement proof of concept authorization
mirkode May 13, 2021
509dae4
Fix logger error
mirkode May 26, 2021
d8559d6
Add some fields to AndroidNotification
mirkode May 26, 2021
8f3cacf
Remove notification node from message payload for FCM notifications
mirkode May 26, 2021
0279be2
Fix notification handling in fcm/notification.rb
mirkode Apr 27, 2022
9e083a9
Add comment to necessary_data_exists? method
mirkode Apr 27, 2022
e55243d
Stop auto-closing issues
aried3r May 23, 2022
16f9043
Bump rack from 2.2.3 to 2.2.3.1 (#638)
dependabot[bot] Jun 1, 2022
eb48a90
Bump rails-html-sanitizer from 1.4.2 to 1.4.3 (#642)
dependabot[bot] Aug 15, 2022
b3cb24b
Merge branch 'master' into fcm-support-v2
AnilRh Jan 22, 2024
20a3fe4
Fix - missing gcm interface
AnilRh Jan 22, 2024
2f467bd
fix code formatting - no change
AnilRh Jan 22, 2024
8f662c2
Payload Data Size is now calculated based off the message data attribute
AnilRh Jan 23, 2024
3043dd7
Adding tests
AnilRh Jan 23, 2024
0b18e5b
Removing debug line
AnilRh Jan 23, 2024
fb5d567
Adding debug line requested in PR #620
AnilRh Jan 24, 2024
39040cb
Add properties to FCM App to allow operation without env vars
nigimaxx Jan 26, 2024
6a9e199
Merge pull request #1 from nigimaxx/fcm-support-v2
AnilRh Jan 26, 2024
576b336
Adding new attributes to redis model
AnilRh Jan 26, 2024
99b33af
Adding 7.1 migration to active record tests. Updating Gemfile.lock
AnilRh Jan 29, 2024
6498354
FCM returning error when data is sent in Android payload
AnilRh Jan 30, 2024
a5eccd6
Moving notification keys to the correct location - only supporting An…
AnilRh Jan 31, 2024
4429f85
As the FCM code moves around notification keys, it would be good to h…
AnilRh Jan 31, 2024
fd260e5
- Calling hook fcm_invalid_device_token if we get an invalid token re…
AnilRh Feb 1, 2024
3fdf3ca
Adding a google credential cache
AnilRh Feb 12, 2024
06aa50e
Fixing Logging
AnilRh Feb 12, 2024
ccecae3
Adding a google credential cache
AnilRh Feb 13, 2024
4ab0185
Remove content_available from FCM implementation. It doesn't appear t…
AnilRh Apr 11, 2024
5d576f4
Merge pull request #660 from AnilRh/fcm-support-v2
aried3r Jun 22, 2024
a3cb803
Allow all of the CI matrix to run, even on failure
aried3r Jul 18, 2024
4886f40
Use ActiveRecord to fetch Apps instead of Redis.
Apr 18, 2019
e2ddafa
TA-28669. Stop saving all rpush IDs to set.
Feb 6, 2020
4b0cb4e
TA-28669. Stop saving all rpush feedback IDs to set.
Jan 19, 2022
fb21155
Add temp logging to debug SSL error.
Jan 19, 2022
3592d72
BUGS-1850. Retry after Errno::ECONNRESET
yanithx Jul 31, 2024
fb6cace
Allow Rails 5.1
kirbycool Aug 5, 2024
3038055
Allow Rails 5.1
kirbycool Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 0 additions & 25 deletions .github/stale.yml

This file was deleted.

108 changes: 108 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby

name: RPush Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
POSTGRES_USER: postgres
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_DB: rpush_test
PGPASSWORD: postgres # https://www.postgresql.org/docs/13/libpq-envars.html

jobs:
test:
runs-on: ubuntu-20.04

services:
postgres:
image: postgres:13
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432

redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps port 6379 on service container to the host
- 6379:6379

strategy:
fail-fast: false
matrix:
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0']

ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']

client: ['active_record', 'redis']

exclude:
# Rails 5.2 requires Ruby < 3.0
# https://github.com/rails/rails/issues/40938
- ruby: '3.0'
gemfile: 'rails_5.2'
- ruby: '3.1'
gemfile: 'rails_5.2'
# Rails >= 6 requires Ruby >= 2.5
- ruby: '2.4'
gemfile: 'rails_6.0'
- ruby: '2.4'
gemfile: 'rails_6.1'
# Rails >= 7 requires Ruby >= 2.7
- ruby: '2.4'
gemfile: 'rails_7.0'
- ruby: '2.5'
gemfile: 'rails_7.0'
- ruby: '2.6'
gemfile: 'rails_7.0'

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Create PostgreSQL database
run: |
createdb \
--host=$POSTGRES_HOST \
--port=$POSTGRES_PORT \
--username=$POSTGRES_USER \
$POSTGRES_DB

- name: Run tests
run: bundle exec rake
env:
# The hostname used to communicate with the PostgreSQL service container
POSTGRES_HOST: localhost
# The default PostgreSQL port
POSTGRES_PORT: 5432
CLIENT: ${{ matrix.client }}
4 changes: 2 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ require: rubocop-performance

AllCops:
Exclude:
- gemfiles/vendor/bundle/**/* # This dir only shows up on Travis
- lib/generators/**/*
- vendor/bundle/**/*
TargetRubyVersion: 2.3
NewCops: enable
TargetRubyVersion: 2.4

Layout/LineLength:
Enabled: false
Expand Down
Loading
Loading