0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-07 01:30:06 +00:00

ZIP Exports: Built out initial import view

Added syles for non-custom, non-image file inputs.
Started planning out back-end handling.
This commit is contained in:
Dan Brown 2024-10-29 14:21:32 +00:00
parent 4051d5b803
commit a56a28fbb7
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
4 changed files with 62 additions and 15 deletions
app/Exports/Controllers

View file

@ -14,11 +14,17 @@ class ImportController extends Controller
public function start(Request $request)
{
// TODO - Show existing imports for user (or for all users if admin-level user)
return view('exports.import');
}
public function upload(Request $request)
{
// TODO
// TODO - Read existing ZIP upload and send through validator
// TODO - If invalid, return user with errors
// TODO - Upload to storage
// TODO - Store info/results from validator
// TODO - Send user to next import stage
}
}