Skip to content

feat: use lazy app config values and small fixes - #191

Merged
kyteinsky merged 8 commits into
mainfrom
feat/lazy-config
Dec 5, 2025
Merged

feat: use lazy app config values and small fixes#191
kyteinsky merged 8 commits into
mainfrom
feat/lazy-config

Conversation

@kyteinsky

@kyteinsky kyteinsky commented Nov 14, 2025

Copy link
Copy Markdown
Contributor
  • use isEnabledForAnyone instead of isInstalled to check for app_api
  • type annotations for both OCP and the OCA IContentProvider
  • migrate all config values to be lazy

@kyteinsky kyteinsky left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

a few confusion points here. It'd nice to have a piece of your mind on them.

Comment thread lib/BackgroundJobs/SchedulerJob.php Outdated
Comment thread lib/Migration/Version4000Date20241108004215.php Outdated
Comment thread lib/Logger.php Outdated
- use `isEnabledForAnyone` instead of `isInstalled` to check for app_api
- type annotations for both OCP and the OCA IContentProvider
- make `indexed_files_count` app config non-lazy

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
- use `isEnabledForAnyone` instead of `isInstalled` to check for app_api
- type annotations for both OCP and the OCA IContentProvider
- make `indexed_files_count` app config non-lazy

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Comment thread lib/Migration/Version005000001Date20251124093628.php Outdated
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>

@marcelklehr marcelklehr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

woop woop

@kyteinsky
kyteinsky enabled auto-merge (squash) December 4, 2025 13:20
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
@kyteinsky
kyteinsky merged commit e6036fc into main Dec 5, 2025
34 of 35 checks passed
@kyteinsky
kyteinsky deleted the feat/lazy-config branch December 5, 2025 08:42
@kyteinsky kyteinsky mentioned this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants