Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Aug 13, 2025

For all enabled apps, get lexicon and filters entries that returns different default value based on Preset


$ ./occ config:preset --compare
+------+------------------------------+-------+--------+-------+--------+------------+--------+------+--------+---------+------+
| app  | config key                   | LARGE | MEDIUM | SMALL | SHARED | UNIVERSITY | SCHOOL | CLUB | FAMILY | PRIVATE | NONE |
+------+------------------------------+-------+--------+-------+--------+------------+--------+------+--------+---------+------+
| core | shareapi_allow_custom_tokens | 0     | 0      | 0     | 0      | 0          | 0      | 0    | 1      | 1       | 0    |
+------+------------------------------+-------+--------+-------+--------+------------+--------+------+--------+---------+------+

Also, admin endpoint:

$ curl https://cloud.example.net/settings/preset -X GET | jq .
{
  "core": [
    {
      "entry": {
        "key": "shareapi_allow_custom_tokens",
        "type": "BOOL",
        "definition": "",
        "lazy": true,
        "deprecated": false,
        "note": ""
      },
      "defaults": {
        "LARGE": "0",
        "MEDIUM": "0",
        "SMALL": "0",
        "SHARED": "0",
        "UNIVERSITY": "0",
        "SCHOOL": "0",
        "CLUB": "0",
        "FAMILY": "1",
        "PRIVATE": "1",
        "NONE": "0"
      }
    }
  ],
  "cloud_federation_api": [],
  "comments": [],
  "contactsinteraction": [],
  "dashboard": [],
  "dav": [],
  "federatedfilesharing": [],
  "federation": [],
  "files": [],
  "files_reminders": [],
  "files_sharing": [],
  "files_trashbin": [],
  "files_versions": [],
  "lookup_server_connector": [],
  "oauth2": [],
  "profile": [],
  "provisioning_api": [],
  "settings": [],
  "sharebymail": [],
  "systemtags": [],
  "theming": [],
  "twofactor_backupcodes": [],
  "updatenotification": [],
  "user_status": [],
  "viewer": [],
  "weather_status": [],
  "webhook_listeners": [],
  "workflowengine": []
}

@ArtificialOwl ArtificialOwl requested a review from a team as a code owner August 13, 2025 18:33
@ArtificialOwl ArtificialOwl requested review from Altahrim, leftybournes and yemkareems and removed request for a team August 13, 2025 18:33
@ArtificialOwl ArtificialOwl added the 3. to review Waiting for reviews label Aug 13, 2025
@ArtificialOwl ArtificialOwl added this to the Nextcloud 32 milestone Aug 13, 2025
@ArtificialOwl ArtificialOwl force-pushed the feat/noid/compare-defaults-on-preset branch 2 times, most recently from 73096ca to 676a913 Compare August 13, 2025 22:27
@ArtificialOwl ArtificialOwl force-pushed the feat/noid/compare-defaults-on-preset branch from af9d034 to e1c7f60 Compare August 19, 2025 11:56
@ArtificialOwl ArtificialOwl merged commit 8a2b02a into master Aug 19, 2025
196 checks passed
@ArtificialOwl ArtificialOwl deleted the feat/noid/compare-defaults-on-preset branch August 19, 2025 13:31
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
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 enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants