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

changes to enable unified push notifications in generic build. Signed… #4169

Open
wants to merge 1,182 commits into
base: master
Choose a base branch
from

Conversation

gavine99
Copy link

@gavine99 gavine99 commented Sep 7, 2024

changes to allow a UnifiedPush distributor to deliver push messages in generic/f-droid build.

added a setting item to reset push notification registrations in case of issues with push (UnifiedPush distributor can sometimes get out of sync). this same setting item can also be used to reset firebase push in case of issues with it too.

a similar pr has been submitted for the nextcloud android client app - nextcloud/android#13516

this pr is related to, but not dependent on, 3 other pr's;
nextcloud server - nextcloud/server#47763 (to provide enhanced ability for multiple notification handlers)
nextcloud notifications app - nextcloud/notifications#2027 (to provide enhanced ability for multiple notification handlers)
3rd party unified push app - https://codeberg.org/NextPush/uppush/pulls/17 (to allow existing 3rd party nextcloud unifiedpush app to send nextcloud notifications via unifedpush)

altogether, the prs above provide an end-to-end solution for nextcloud to deliver push notifications via UnifiedPush.

@@ -303,6 +303,9 @@ dependencies {
implementation 'com.github.nextcloud.android-common:ui:0.23.0'
implementation 'com.github.nextcloud-deps:android-talk-webrtc:121.6167.0'

// unified push library for generic flavour
genericImplementation 'org.codeberg.UnifiedPush:android-connector:2.4.0'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
genericImplementation 'org.codeberg.UnifiedPush:android-connector:2.4.0'
genericImplementation 'org.unifiedpush.android:connector:2.5.0'

Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

sowjanyakch and others added 24 commits January 8, 2025 17:22
Replace Popup bubble with Material Button
Signed-off-by: tobiasKaminsky <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…v6.0.28

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…spotbugs.snom-spotbugs-gradle-plugin-6.x

Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.28
….tools.build-gradle-8.x

Update dependency com.android.tools.build:gradle to v8.8.0
…v6.1.0

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
$s -> $d

Signed-off-by: Marcel Hibbe <[email protected]>
…llsDelete

fix translation for polls_option_delete
- Also converted dialog fragment to compose

Signed-off-by: rapterjet2004 <[email protected]>
Signed-off-by: rapterjet2004 <[email protected]>
Added string res
Fixed bug with embedded date picker boundaries, animated size change

Signed-off-by: rapterjet2004 <[email protected]>
Signed-off-by: rapterjet2004 <[email protected]>
Signed-off-by: rapterjet2004 <[email protected]>
mahibi and others added 20 commits February 6, 2025 14:58
…licatedMessagesAfterSend

avoid duplicated messages after sending
…ions' into unified_push_nextcloud_notifications

# Conflicts:
#	app/src/main/java/com/nextcloud/talk/diagnose/DiagnoseActivity.kt
#	app/src/main/res/values/strings.xml
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: sowjanyakch <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: Marcel Hibbe <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ql-action-3.x

chore(deps): update github/codeql-action action to v3.28.9
@Fuseteam
Copy link

Fuseteam commented Feb 7, 2025

@gavine99 you may want checkout the DCO error message, if you click on "details" it will explain what you need to do

mahibi and others added 7 commits February 7, 2025 13:13
userManager.currentUser was called too often. I was not able to prove that a bug is related to it but i think it may fix some hidden bugs.

CurrentUserProviderImpl is now used throughout the code to access the current user.
userManager.currentUser is only used from CurrentUserProviderImpl whenever the _currentUser was null (should only happen on app startup)

To avoid multiple initialization of CurrentUserProviderImpl it was changed to be a @singleton

The handling should soon be replaced with coroutine flows. However for the v21.0.0 release it's still done with RxJava to avoid bugs.

Signed-off-by: Marcel Hibbe <[email protected]>
…yByCurrentUserprovider

replace userManager.currentUser usage by currentUserProvider usage
…ion background job to execute

Signed-off-by: gavine99 <[email protected]>
Signed-off-by: gavine99 <[email protected]>
…ions' into unified_push_nextcloud_notifications. Signed-off-by: Gavin Element <[email protected]>
@gavine99
Copy link
Author

gavine99 commented Feb 8, 2025

@Fuseteam i'm not sure what i'm supposed to do to fix ?? dco results say 8 commits not signed off my 4 commit messages all have sign-off string; Signed-off-by: Gavin Element <[email protected]>

the other 4 commits listed dco results are nextcloud android bot and i can't sign them off;

Commit sha: [36716fa](https://github.com/nextcloud/talk-android/pull/4169/commits/36716fa78871d4bd24376d11adebdb4749d745d1), Author: Nextcloud Android Bot, Committer: Nextcloud Android Bot; The sign-off is missing. Commit sha: [d450c47](https://github.com/nextcloud/talk-android/pull/4169/commits/d450c470fe56138b1c1bc345d95a67e0adc427d7), Author: Nextcloud Android Bot, Committer: Nextcloud Android Bot; The sign-off is missing. Commit sha: [be235c8](https://github.com/nextcloud/talk-android/pull/4169/commits/be235c8141e8e1c6906198ace61ae17c307445e6), Author: Nextcloud Android Bot, Committer: Nextcloud Android Bot; The sign-off is missing. Commit sha: [667a67b](https://github.com/nextcloud/talk-android/pull/4169/commits/667a67b7fc0858d20549133d17386a23a98a6bf1), Author: Nextcloud Android Bot, Committer: Nextcloud Android Bot; The sign-off is missing.

@Fuseteam
Copy link

Fuseteam commented Feb 9, 2025

@gavine99 then i think you need to drop the commits that are not yours, i assume those should be in the main tree already

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.