Skip to content

feat: Add missing CLI flags for user management #5351

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

Merged
merged 1 commit into from
Aug 9, 2025

Conversation

wx-11
Copy link
Contributor

@wx-11 wx-11 commented Aug 6, 2025

Add support for --dateFormat and --hideDotfiles flags in user management commands.

These fields already exist in the User struct but were not exposed via CLI:

  • --dateFormat: Controls time display format (absolute vs relative)
  • --hideDotfiles: Controls visibility of dotfiles

This allows administrators to set these preferences directly via CLI when creating or updating users, instead of requiring manual database manipulation.

fix #5355

@wx-11 wx-11 requested review from o1egl and hacdias as code owners August 6, 2025 08:40
@wx-11
Copy link
Contributor Author

wx-11 commented Aug 6, 2025

这个提交我两年前就在想优化 可惜不太会写代码 现在终于可以通过ai修复我喜欢的程序 感谢作者和贡献者的开发

@wx-11 wx-11 closed this Aug 7, 2025
@wx-11 wx-11 force-pushed the add-missing-cli-flags branch from 2bbaf1d to 6d620c0 Compare August 7, 2025 12:38
@wx-11 wx-11 reopened this Aug 7, 2025
@wx-11
Copy link
Contributor Author

wx-11 commented Aug 7, 2025

第一次提交pr 有点不熟练 把新的提交合并进来看有没有冲突了 实际上不需要合并新的分支 会影响项目git 历史的美观 但是先force提交后 再pr就不会有fp的记录了

Add support for --dateFormat and --hideDotfiles flags in user management commands.

These fields already exist in the User struct but were not exposed via CLI:
- --dateFormat: Controls time display format (absolute vs relative)
- --hideDotfiles: Controls visibility of dotfiles

This allows administrators to set these preferences directly via CLI when creating or updating users, instead of requiring manual database manipulation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@hacdias hacdias force-pushed the add-missing-cli-flags branch from 1e7c528 to 8d97185 Compare August 9, 2025 05:38
@hacdias hacdias merged commit cd51a59 into filebrowser:master Aug 9, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

feat: Restore direct download link and fix missing CLI parameters
2 participants