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

[QA] ocis accounts don't have Activities enabled #10814

Closed
2 tasks done
HanaGemela opened this issue May 8, 2023 · 5 comments · Fixed by #10944
Closed
2 tasks done

[QA] ocis accounts don't have Activities enabled #10814

HanaGemela opened this issue May 8, 2023 · 5 comments · Fixed by #10944
Assignees
Labels
Milestone

Comments

@HanaGemela
Copy link
Contributor

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the QA issue

Are the activities disabled for ocis accounts because ocis doesn't support them? It looks like I can enable it somewhere. Could the message be different for ocis accounts? Or is the feature coming soon?

ownCloud 4.0.0.10776-daily20230427
mac

Steps to reproduce the issue

  1. Add a new ocis account
  2. Open the Activity tab - Server activities

Screenshots

Screenshot 2023-05-08 at 13 04 19

Expected behavior

ocis accounts don't have Activities at all

Actual behavior

ocis accounts don't have Activities enabled

@HanaGemela HanaGemela added this to the inbox milestone May 8, 2023
@michaelstingl
Copy link
Contributor

michaelstingl commented May 8, 2023

No activities in /ocs/v1.php/cloud/capabilities?format=json 🤷‍♂️

% curl -s 'https://ocis.ocis-traefik.latest.owncloud.works/ocs/v1.php/cloud/capabilities?format=json' \
-X 'GET' \
-H 'Pragma: no-cache' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Authorization: Bearer eyJhbGciOiJQUzI1NiIsImtpZCI6InByaXZhdGUta2V5IiwidHlwIjoiSldUIn0.eyJhdWQiOiJ3ZWIiLCJleHAiOjE2ODM1NDQ1NTgsImlhdCI6MTY4MzU0NDI1OCwiaXNzIjoiaHR0cHM6Ly9vY2lzLm9jaXMtdHJhZWZpay5sYXRlc3Qub3duY2xvdWQud29ya3MiLCJqdGkiOiJackNEU2VDQU5xM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acti

But also no activity in oC10 capabilities?

curl -s 'https://demo.owncloud.org/ocs/v1.php/cloud/capabilities?format=json' \
-X 'GET' \
-H 'Pragma: no-cache' \
-H 'Accept: application/json, text/plain, */*' \
-u 'demo:demo' | jq | grep acti

@fmoc how does the desktop app know if activities are enabled?

@michaelstingl
Copy link
Contributor

Proposal would be to rename does not have activities enabled to does not have activities available or does not provide activities

@michaelstingl
Copy link
Contributor

@fmoc how does the desktop app know if activities are enabled?

@fmoc ping

@fmoc fmoc assigned erikjv and unassigned fmoc Jun 16, 2023
@fmoc
Copy link
Contributor

fmoc commented Jun 16, 2023

Let's just rename the message on the activities page as @michaelstingl suggested to "does not provide activities".

erikjv added a commit that referenced this issue Jun 19, 2023
Some servers do not provide activities at all. In that case, the label
should not read "have activities enabled", because that implies that
they could be provided, but are disabled. Which is misleading.

Fixes: #10814
@erikjv erikjv linked a pull request Jun 19, 2023 that will close this issue
TheOneRing added a commit that referenced this issue Jun 23, 2023
* Fix misleading message

Some servers do not provide activities at all. In that case, the label
should not read "have activities enabled", because that implies that
they could be provided, but are disabled. Which is misleading.

Fixes: #10814

* Update src/gui/activitywidget.cpp

Co-authored-by: Hannah von Reth <hannah.vonreth@owncloud.com>

---------

Co-authored-by: Hannah von Reth <hannah.vonreth@owncloud.com>
@S-Panta
Copy link

S-Panta commented Jul 3, 2023

Tested with ownCloud 5.0.0.11369-daily20230703 [511b96]

Screenshot from 2023-07-03 12-49-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants