-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from BBS-Lab/develop
v0.3.0
- Loading branch information
Showing
86 changed files
with
20,664 additions
and
19,965 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Path-based git attributes | ||
# https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html | ||
|
||
# Ignore all test and documentation with "export-ignore". | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/.scrutinizer.yml export-ignore | ||
/tests export-ignore | ||
/.editorconfig export-ignore | ||
/docs export-ignore | ||
/.github export-ignore |
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Contributing | ||
|
||
## Running the package on a local Laravel Nova instance | ||
|
||
If you are looking to contribute to this package and run the tool on your local Laravel Nova installation, you may start | ||
by forking the repository and configure your `composer.json` repositories section. | ||
|
||
It may look like this : | ||
|
||
```json | ||
{ | ||
"repositories": [ | ||
{ | ||
"type": "git", | ||
"url": "<your-fork-repository-git-url>" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## Building locally | ||
|
||
When building locally, the following requirements are to be met : | ||
|
||
- NodeJS `18.3.0` | ||
- PHP `^8.0` | ||
|
||
You may use [nvm](https://github.com/nvm-sh/nvm) to automatically set your node version. | ||
|
||
Next step is running the following command | ||
|
||
```bash | ||
nvm use | ||
``` | ||
|
||
You are also required to meet the requirements of the `package-lock.json`. | ||
|
||
You may run the following command to install the dependencies : | ||
|
||
```bash | ||
npm ci | ||
npm run nova:install:dependency | ||
``` | ||
|
||
And then to build the package : | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
## Reference | ||
If you are encountering any issues, please refer to the [Laravel Nova Documentation](https://nova.laravel.com/docs/4.0/customization/frontend.html#using-nova-mixins). Or you may open a new issue/discussion at https://github.com/BBS-Lab/nova-file-manager |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Events | ||
|
||
The file manager dispatches events when certain actions are performed. | ||
You may subscribe to these events by adding a listener to the event bus. | ||
|
||
## FileUploaded | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `path` | `string` | | ||
|
||
## FileRenamed | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `oldPath` | `string` | | ||
| `newPath` | `string` | | ||
|
||
## FileDeleted | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `path` | `string` | | ||
|
||
## FolderCreated | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `path` | `string` | | ||
|
||
## FolderRenamed | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `oldPath` | `string` | | ||
| `newPath` | `string` | | ||
|
||
## FolderDeleted | ||
|
||
| Parameter | Type | | ||
|-----------|----------| | ||
| `disk` | `string` | | ||
| `path` | `string` | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,37 @@ | ||
{ | ||
"NovaFileManager.meta.size": "Size", | ||
"NovaFileManager.meta.mime": "Mime type", | ||
"NovaFileManager.actions.delete": "Delete", | ||
"NovaFileManager.actions.deselect": "Deselect", | ||
"NovaFileManager.actions.close": "Close", | ||
"NovaFileManager.actions.copy": "Copy", | ||
"NovaFileManager.actions.copy.success": "Copied path to clipboard !", | ||
"NovaFileManager.actions.createFolder": "Create folder", | ||
"NovaFileManager.actions.download": "Download", | ||
"NovaFileManager.actions.rename": "Rename", | ||
"NovaFileManager.actions.submit": "Submit", | ||
"NovaFileManager.actions.upload": "Upload", | ||
"NovaFileManager.createFolderTitle": "Create a new folder", | ||
"NovaFileManager.deleteFileContent": "This will will delete the file from the storage. This action cannot be undone.", | ||
"NovaFileManager.deleteFileTitle": "Are you sure you want to delete this file?", | ||
"NovaFileManager.deleteFolderContent": "This will will delete the folder from the storage. This action cannot be undone.", | ||
"NovaFileManager.deleteFolderTitle": "Are you sure you want to delete this folder?", | ||
"NovaFileManager.drag": "or drag and drop", | ||
"NovaFileManager.dropzone.prompt": "Drop your files here to start uploading", | ||
"NovaFileManager.meta.aspectRatio": "Aspect ratio", | ||
"NovaFileManager.meta.height": "Height", | ||
"NovaFileManager.meta.lastModifiedAt": "Last modified", | ||
"NovaFileManager.meta.mime": "Mime type", | ||
"NovaFileManager.meta.size": "Size", | ||
"NovaFileManager.meta.type": "Type", | ||
"NovaFileManager.meta.width": "Width", | ||
"NovaFileManager.meta.height": "Height", | ||
"NovaFileManager.meta.aspectRatio": "Aspect ratio", | ||
"NovaFileManager.title": "File Manager", | ||
"NovaFileManager.openBrowser": "Open File Manager", | ||
"NovaFileManager.totalFilesCount": ":count files", | ||
"NovaFileManager.selectionCount": ":count selected", | ||
"NovaFileManager.deleteFileContent": "This will will delete the file from the storage. This action cannot be undone.", | ||
"NovaFileManager.deleteFolderContent": "This will will delete the folder from the storage. This action cannot be undone.", | ||
"NovaFileManager.deleteFileTitle": "Are you sure you want to delete this file?", | ||
"NovaFileManager.deleteFolderTitle": "Are you sure you want to delete this folder?", | ||
"NovaFileManager.createFolderTitle": "Create a new folder", | ||
"NovaFileManager.preview.information": "Information", | ||
"NovaFileManager.renameFileTitle": "Rename file", | ||
"NovaFileManager.renameFolderTitle": "Rename folder", | ||
"NovaFileManager.selectionCount": ":count selected", | ||
"NovaFileManager.title": "File Manager", | ||
"NovaFileManager.toolbar.selection": "selected", | ||
"NovaFileManager.toolbar.clear": "clear", | ||
"NovaFileManager.totalFilesCount": ":count files", | ||
"NovaFileManager.upload": "Upload a file", | ||
"NovaFileManager.drag": "or drag and drop" | ||
"NovaFileManager.fileMissing": "File missing at path :path." | ||
} |
Oops, something went wrong.