Open
Conversation
Created comprehensive JSON Schema (draft-07) for validating team print infrastructure exports. This schema defines: - Print servers with optional API tokens and printers - Printers with PPD options, URIs, and language support - Client applications with printer access mappings - ULID-based portable identifiers - Proper nullable field handling The schema supports migration between WebPrint-Server versions by preserving complete configuration including hashed API tokens.
Added comprehensive export functionality for team print infrastructure: **Export Action:** - Created ExportTeamConfiguration action to export complete team config - Exports print servers, printers, client applications, and API tokens - Generates JSON conforming to team-configuration-export-schema.json - Includes metadata (version, export date, exporter ULID) **Livewire Component:** - Created ExportTeamConfigurationForm with password confirmation - Uses Jetstream's ConfirmsPasswords trait for security - Provides download as JSON file with proper naming - Includes detailed export confirmation modal with security notice **Artisan Command:** - Created team:export-configuration command - Takes team ULID as parameter - Supports custom output path via --output option - Shows export statistics (servers, printers, applications count) **Authorization:** - Added export() method to TeamPolicy - Requires team owner role (ownsTeam) - Excludes personal teams from export **UI Integration:** - Added export section to team settings page (teams/show.blade.php) - Positioned before delete team section - Only visible to team owners The export includes all necessary data for migration between WebPrint-Server instances, including hashed API tokens.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.