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

Bugfix/noid/archive conversations handle old nc servers #4427

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Nov 8, 2024

followup fix to #4333

hide archive conversation features (archive/unarchive button in conversation info + "archived" label in filters) for NC versions that don't support it.

Important: By commit 1968d43 the feature is disabled until v20.1.0, see commit message..

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi added the 3. to review Waiting for reviews label Nov 8, 2024
@mahibi mahibi added this to the 20.1.0 milestone Nov 8, 2024
@mahibi mahibi self-assigned this Nov 8, 2024
@migulen
Copy link

migulen commented Nov 8, 2024

@mahibi , do you have a release date for some the minor version ? There is a lot of "annoying" improvements fixed. :-)

@mahibi
Copy link
Collaborator Author

mahibi commented Nov 11, 2024

@mahibi , do you have a release date for some the minor version ? There is a lot of "annoying" improvements fixed. :-)

today or in the next days

only more complex checks should be made in CapabilitiesUtil, just checking a capability should be done directly via hasSpreedFeatureCapability

Signed-off-by: Marcel Hibbe <[email protected]>
Otherwise it would be shown for older NC versions without to be useful

Signed-off-by: Marcel Hibbe <[email protected]>
For archived conversations, require "-v2".
This is done because on server api, "archived-conversations" was already released for 20.0.2 by mistake which should have only be done for 20.1

As it's planned to release android talk 20.0.3 with a fresh master state, the archived conversations feature must be hidden manually, This is done by required "-v2".
Either it's served as this in the future or it can be removed for the 20.1.0 release.

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the bugfix/noid/archiveConversationsHandleOldNcServers branch from 4991bb8 to 1968d43 Compare November 11, 2024 14:44
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings94152
Errors13289

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1616
Dodgy code7474
Internationalization33
Malicious code vulnerability33
Performance55
Security11
Total108108

Lint increased!

Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/4427-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

@mahibi mahibi merged commit 681e941 into master Nov 11, 2024
17 of 18 checks passed
@mahibi mahibi deleted the bugfix/noid/archiveConversationsHandleOldNcServers branch November 11, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants