Skip to content

Issue 131 - #148

Merged
grantfitzsimmons merged 18 commits into
mainfrom
issue-131
Jul 22, 2026
Merged

Issue 131#148
grantfitzsimmons merged 18 commits into
mainfrom
issue-131

Conversation

@grantfitzsimmons

@grantfitzsimmons grantfitzsimmons commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Added an option to reset all passwords for a database, with progress and success or failure feedback.
    • Database uploads now display the final date-based database name before submission.
    • Added new database management icons and improved action controls.
    • Database exports now use MariaDB-compatible export handling.
    • Docker image results now show only tags supporting ARM64 architecture.
  • Improvements
    • Renamed “Make super user” to “Make Institution Admin.”
    • Added validation for database names during upload and password reset operations.

@grantfitzsimmons
grantfitzsimmons merged commit 7774344 into main Jul 22, 2026
4 of 5 checks passed
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 344147c2-ae90-47b7-a509-347e757384f0

📥 Commits

Reviewing files that changed from the base of the PR and between 4752a73 and a2b4eaf.

📒 Files selected for processing (10)
  • app/components/Icons.tsx
  • app/const/localization.ts
  • app/lib/databaseNameHelper.ts
  • app/lib/passwordUtils.ts
  • app/pages/api/databases/[name]/export.ts
  • app/pages/api/databases/[name]/reset-passwords.ts
  • app/pages/api/databases/upload.ts
  • app/pages/api/dockerhub/[image].ts
  • app/pages/databases/index.tsx
  • app/pages/databases/upload.tsx

📝 Walkthrough

Walkthrough

Database uploads now use date-suffixed names, password resets are exposed through the database UI and API, exports use MariaDB tools, new management icons and localization were added, and Docker Hub tags are filtered for ARM64 support.

Changes

Database Operations

Layer / File(s) Summary
Date-suffixed database naming and upload
app/lib/databaseNameHelper.ts, app/pages/api/databases/upload.ts, app/pages/databases/upload.tsx
Uploads validate names, generate date-suffixed database names, detect conflicts using the final name, display that name, and reset imported database passwords through the shared utility.
Password reset API and utility
app/lib/passwordUtils.ts, app/pages/api/databases/[name]/reset-passwords.ts
Adds the password reset SQL utility and an authenticated POST endpoint with database-name validation and error responses.
Database management controls
app/components/Icons.tsx, app/const/localization.ts, app/pages/databases/index.tsx
Adds database action icons, reset-password modal interactions, status messaging, and updated database list and modal controls.

Database Export

Layer / File(s) Summary
MariaDB export streaming
app/pages/api/databases/[name]/export.ts
The export endpoint invokes mariadb-dump with explicit connection arguments and streams its output to the response.

Docker Hub Architecture Filtering

Layer / File(s) Summary
ARM64 tag selection
app/pages/api/dockerhub/[image].ts
Docker Hub tag data now includes image architectures, and only tags containing an ARM64 image are returned.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue-131

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant