Skip to content

Commit fac6001

Browse files
authored
Merge branch 'master' into better-slug
2 parents 65df04c + 319439f commit fac6001

File tree

81 files changed

+2380
-391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+2380
-391
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1-
Please check the following instructions before submitting a bug :
2-
* Make sure you are using the latest version.
3-
* Make sure you read [installation](http://unisharp.github.io/laravel-filemanager/installation), [integration](http://unisharp.github.io/laravel-filemanager/integration), and [upgrade](http://unisharp.github.io/laravel-filemanager/upgrade) document.
4-
5-
And provide the followings :
6-
* Operating system :
7-
* Laravel version :
8-
* Package version :
9-
* Steps to reproduce your issue :
10-
* Screenshots of browser console :
1+
## Delete this section after you read them:
2+
* Make sure you are using the latest version.
3+
* Make sure you read [installation](http://unisharp.github.io/laravel-filemanager/installation), [integration](http://unisharp.github.io/laravel-filemanager/integration), and [upgrade](http://unisharp.github.io/laravel-filemanager/upgrade) document.
4+
5+
## Expected Behavior
6+
7+
8+
## Actual Behavior
9+
10+
11+
## Steps to Reproduce the Problem
12+
13+
1.
14+
1.
15+
1.
16+
17+
## Specifications
18+
19+
* Operating system :
20+
* Laravel version :
21+
* Package version :
22+
* Screenshots of browser console :

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,25 @@ about: Create a report to help us improve
44

55
---
66

7-
Please check the following instructions before submitting a bug :
8-
* Make sure you are using the latest version.
9-
* Make sure you read [installation](http://unisharp.github.io/laravel-filemanager/installation), [integration](http://unisharp.github.io/laravel-filemanager/integration), and [upgrade](http://unisharp.github.io/laravel-filemanager/upgrade) document.
10-
11-
And provide the followings :
12-
* Operating system :
13-
* Laravel version :
14-
* Package version :
15-
* Steps to reproduce your issue :
16-
* Screenshots of browser console :
7+
## Delete this section after you read them:
8+
* Make sure you are using the latest version.
9+
* Make sure you read [installation](http://unisharp.github.io/laravel-filemanager/installation), [integration](http://unisharp.github.io/laravel-filemanager/integration), and [upgrade](http://unisharp.github.io/laravel-filemanager/upgrade) document.
10+
11+
## Expected Behavior
12+
13+
14+
## Actual Behavior
15+
16+
17+
## Steps to Reproduce the Problem
18+
19+
1.
20+
1.
21+
1.
22+
23+
## Specifications
24+
25+
* Operating system :
26+
* Laravel version :
27+
* Package version :
28+
* Screenshots of browser console :

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ about: Suggest an idea for this project
44

55
---
66

7-
**Is your feature request related to a problem? Please describe.**
7+
## Is your feature request related to a problem? Please describe.
88
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
99

10-
**Describe the solution you'd like**
10+
## Describe the solution you'd like
1111
A clear and concise description of what you want to happen.
1212

13-
**Describe alternatives you've considered**
13+
## Describe alternatives you've considered
1414
A clear and concise description of any alternative solutions or features you've considered.
1515

16-
**Additional context**
16+
## Additional context
1717
Add any other context or screenshots about the feature request here.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ composer.lock
33
/docs/Gemfile.lock
44
/docs/_site
55
.DS_Store
6+
/.idea

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
language: php
22

33
php:
4-
- 7.2
5-
- 7.1
6-
- 7.0
4+
- 8.0
5+
- 7.4
76
- 5.6
87

98
matrix:
109
fast_finish: true
1110
allow_failures:
11+
- php: 7.4
1212
- php: 5.6
1313

1414
before_script:

README.md

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
<p align="center"><img src="https://unisharp.github.io/laravel-filemanager/images/logo_vertical_colored.png"></p>
22

33
<p align="center">
4+
<a href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/packagist/v/unisharp/laravel-filemanager" alt="Latest Stable Version"></a>
45
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/downloads"></a>
56
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/packagist/dm/unisharp/laravel-filemanager.svg"></a>
6-
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/stable-2.0.0-blue.svg"></a>
7+
<!-- <a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/stable-2.6.4-blue.svg"></a> -->
78
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://poser.pugx.org/unisharp/laravel-filemanager/license"></a>
89
<br>
9-
<a target="_blank" href="https://travis-ci.org/UniSharp/laravel-filemanager"><img src="https://img.shields.io/travis/UniSharp/laravel-filemanager.svg"></a>
10+
<a href="https://github.styleci.io/repos/39873788?branch=master"><img src="https://github.styleci.io/repos/39873788/shield?branch=master" alt="StyleCI"></a>
11+
<a target="_blank" href="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/?branch=master"><img src="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/badges/build.png?b=master"></a>
1012
<a target="_blank" href="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/"><img src="https://scrutinizer-ci.com/g/UniSharp/laravel-filemanager/badges/quality-score.png?b=master"></a>
1113
<a target="_blank" href="https://codeclimate.com/github/UniSharp/laravel-filemanager/maintainability"><img src="https://api.codeclimate.com/v1/badges/e51f2ef8f4d9f97268db/maintainability" /></a>
12-
<a target="_blank" href="https://packagist.org/packages/unisharp/laravel-filemanager"><img src="https://img.shields.io/badge/unstable-dev--master-orange.svg"></a>
1314
</p>
1415

16+
![RWD demo](https://unisharp.github.io/laravel-filemanager/images/screenshots-v2.png)
17+
1518
<p align="center">
1619
<a href="http://unisharp.github.io/laravel-filemanager/">Documents</a>
1720
@@ -32,43 +35,42 @@
3235
<a href="https://github.com/UniSharp/laravel-filemanager/wiki">FAQ</a>
3336
</p>
3437

35-
## v2.0 progress
36-
🎉 Finally v2.0.0 has been released! 🎉
37-
38-
These are primary features of this update:
39-
* Redesigned RWD user interface.
40-
* Supporting multiple files selection.
41-
* Supporting cloud storages integration(with Laravel file system).
42-
* Refactored code and increased test coverage.
43-
44-
Although it is not perfect enough, we decided to release it. Now users who want the above features won't need to install alpha versions anymore.
38+
## Features
39+
* File upload and management
40+
* Uploading validation
41+
* Cropping and resizing of images
42+
* RWD user interface, and can be entirely customized
43+
* Supporting multiple files selection
44+
* Supporting cloud storages integration(with Laravel file system)
45+
* Multiple integration options:
46+
* WYSIWYG editors integration (CKEditor, TinyMCE, Summernote)
47+
* Standalone upload button
48+
* Iframe
49+
* Multi-user mode:
50+
* Shared folders: all users can upload and manage files
51+
* Private folders: dedicated folder for each user, only the owner can upload or manage files within
52+
* Customizable routes, middlewares, views, and folder path
53+
* Supports two categories: files and images. Each type works in different directory.
54+
* Supported locales : ar, az, bg, cs, de, el, en, es, eu, fa, fr, he, hu, id, it, ka, nl, pl, pt, pt-BR, ro, rs, ru, sk, sv, tr, uk, vi, zh-CN, zh-TW
4555

46-
There are still some thing we need to do make this package better:
47-
* [ ] Documents for v2.0.0
48-
* [ ] Events should pass object instead of only file path
49-
* [ ] Add more events for files and folders manipulation
50-
51-
We are also going to gain more integration like vue.js and Laravel Nova. Any PR is welcome!
52-
53-
![RWD demo](https://unisharp.github.io/laravel-filemanager/images/screenshots-v2.png)
56+
## Maintainers
5457

55-
## Contributors & Credits
58+
* [Stream](https://github.com/streamtw)
59+
* [Youchen Lee](https://github.com/youchenlee)
60+
* [Willem Leuverink](https://github.com/gwleuverink)
5661

57-
### Developers / Maintainers
62+
## Contributors
5863

59-
* [Stream](https://github.com/g0110280)
60-
* [@gwleuverink](https://github.com/gwleuverink)
6164
* All [@UniSharp](https://github.com/UniSharp) members
62-
63-
### Contributors
64-
65-
* [All contibutors](https://github.com/UniSharp/laravel-filemanager/graphs/contributors) from GitHub. (issues / PR)
66-
* [@taswler](https://github.com/tsawler) the original author of this package.
67-
* Nathan for providing security suggestions.
65+
* Security contributors (sort by alphabet)
66+
* Ayon Hasan (@lollipopl337)
67+
* Nathan
6868
* [@mdnazmulhasan27771](https://github.com/mdnazmulhasan27771) the designer of our logo. (Licensed CC BY 4.0)
69+
* [All contibutors](https://github.com/UniSharp/laravel-filemanager/graphs/contributors) from GitHub. (issues / PR)
6970

70-
### Credits
71+
## Credits
7172

73+
* [@taswler](https://github.com/tsawler) the original author of this package.
7274
* [@olivervogel](https://github.com/olivervogel) for the awesome [image library](https://github.com/Intervention/image).
7375
* SVG Loaders by [Sam](http://samherbert.net/svg-loaders/) (Licensed MIT)
7476
* Articles and videos which helped promoting this package.

composer.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unisharp/laravel-filemanager",
3-
"description": "A file upload/editor intended for use with Laravel 5 to 6 and CKEditor / TinyMCE",
3+
"description": "A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE",
44
"license": "MIT",
55
"keywords": [
66
"filemanager",
@@ -23,19 +23,20 @@
2323
}
2424
],
2525
"require": {
26-
"php": ">=7.2.0",
26+
"php": ">=8.1",
2727
"ext-exif": "*",
2828
"ext-fileinfo": "*",
29-
"intervention/image": "2.*",
30-
"illuminate/config": "5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0",
31-
"illuminate/filesystem": "5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0",
32-
"illuminate/support": "5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0",
33-
"illuminate/http": "5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0",
34-
"illuminate/container": "5.4.* || 5.5.* || 5.6.* || 5.7.* || 5.8.* || ^6.0 || ^7.0"
29+
"intervention/image": ">=3.11.3",
30+
"illuminate/config": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
31+
"illuminate/filesystem": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
32+
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
33+
"illuminate/http": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
34+
"illuminate/container": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0",
35+
"league/flysystem": ">=2.0.0"
3536
},
3637
"require-dev": {
37-
"phpunit/phpunit": "^6.2",
38-
"mockery/mockery": "^0.9.9",
38+
"phpunit/phpunit": "~8.0",
39+
"mockery/mockery": "~1.3.0",
3940
"squizlabs/php_codesniffer": "^3.1"
4041
},
4142
"suggest": {

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ theme: jekyll-theme-cayman
33
# Setup
44
title: Laravel File Manager
55
description: It's like Dropbox for your Laravel app.
6-
google_analytics: UA-92410814-4
6+
google_analytics: G-X9XY279785
77

88
# About/contact
99
author:

docs/_layouts/default.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
<!DOCTYPE html>
22
<html lang="en-us">
33
<head>
4+
{% if site.google_analytics %}
5+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
11+
gtag('config', '{{ site.google_analytics }}');
12+
</script>
13+
{% endif %}
414
<meta charset="UTF-8">
515
<title>{{ page.title | default: site.title }}</title>
616
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -125,17 +135,5 @@ <h2 class="project-tagline">{{ site.description | default: site.github.project_t
125135
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
126136
</footer>
127137
</section>
128-
129-
{% if site.google_analytics %}
130-
<script type="text/javascript">
131-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
132-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
133-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
134-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
135-
136-
ga('create', '{{ site.google_analytics }}', 'auto');
137-
ga('send', 'pageview');
138-
</script>
139-
{% endif %}
140138
</body>
141139
</html>

0 commit comments

Comments
 (0)