Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit f1201ca

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop
Conflicts: core/src/plugins/action.compression/class.PluginCompression.php
2 parents f9dd3d8 + ba7950e commit f1201ca

File tree

3,841 files changed

+109850
-248302
lines changed

Some content is hidden

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

3,841 files changed

+109850
-248302
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: php
22

33
php:
4-
- 5.4
5-
- 5.5
4+
- 5.5.9
65
- 5.6
76
- 7.0
87

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,29 @@ PLEASE READ THE FOLLOWING BEFORE POSTING A BUG.
1919
**POST A GITHUB ISSUE / SUBMIT PR**
2020
> Make sure to put as many details as possible. If you are referring to a discussion on the Forum, add the link. The more info you give, the more easily we can reproduce the bug, the quicker we can fix it.
2121
> If you are submitting a Pull Request, please sign the [Contributor License Agreement](https://pydio.com/en/community/contribute/contributor-license-agreement-cla).
22+
23+
24+
#### Setting up your dev environment
25+
26+
Pydio 7 requires **PHP5.6** and upper.
27+
28+
The web root of the application is located in ***core/src/***. Create a virtual host to point to this folder, set up your webserver to use index.php as default page. This is generally done by default.
29+
30+
Pydio uses Composer and NPM to manage dependencies respectively in PHP and JS. It uses Grunt to build javascript sources. In order to start Pydio locally after a fresh `git clone`, you will first have to run these tools in both the core and in many plugins.
31+
32+
- First install Composer (see https://getcomposer.org) and NPM (https://docs.npmjs.com/getting-started/installing-node)
33+
- Install Grunt globally by running `npm install -g grunt-cli``
34+
- Inside the core folder (under webroot, i.e. core/src/core/ from root of git repository), run `composer install`
35+
- For each plugin that contains a composer.json file, run `composer install` as well.
36+
- For each plugin tat contains a package.json file, run
37+
- `npm install`
38+
- `grunt`
39+
40+
On a unix-based machine, this can be achieved by the following command (from the webroot directory):
41+
```
42+
find . -maxdepth 5 -name Gruntfile.js -execdir bash -c "npm install && grunt" \;
43+
find . -maxdepth 5 -name composer.json -execdir composer install \;
44+
```
45+
46+
You should be good to go. When modifying JS files that require transpilation, there is generally a `grunt watch` task available to automatically run grunt on each file change.
47+

LICENSE

Lines changed: 661 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
[Homepage](https://pydio.com/) |
44
[GitHub-Repository](https://github.com/pydio/pydio-core) |
5-
[Issue-Tracker](https://github.com/pydio/pydio-core/issues) |
6-
[![Codacy Badge](https://api.codacy.com/project/badge/3b5cafea44e949e789d1928687e04032)](https://www.codacy.com/app/charles_3085/pydio-core) |
7-
[![Build Status](https://travis-ci.org/pydio/pydio-core.svg)](https://travis-ci.org/pydio/pydio-core)
5+
[Issue-Tracker](https://github.com/pydio/pydio-core/issues)
6+
| ![Latest Stable](https://img.shields.io/badge/stable-6.4.2-brightgreen.svg)
7+
| ![License Badge](https://img.shields.io/badge/License-AGPL%203%2B-blue.svg)
8+
| [![Codacy Badge](https://api.codacy.com/project/badge/3b5cafea44e949e789d1928687e04032)](https://www.codacy.com/app/charles_3085/pydio-core)
9+
| [![Build Status](https://travis-ci.org/pydio/pydio-core.svg)](https://travis-ci.org/pydio/pydio-core)
810

911
This is the main source code repository of Pydio (formerly AjaXplorer), containing all the PHP server and HTML5 Web GUI.
1012

11-
* Latest Stable release : 6.4.1
13+
* Latest Stable release : 6.4.2
1214
* Latest Dev release : 6.3.1 (was RC for Pydio 6.4)
1315
* License: [AGPLv3](https://www.gnu.org/licenses/agpl.html)
1416
* Lead developer : Charles du Jeu (cdujeu): [Github](https://github.com/cdujeu) | [Twitter](https://twitter.com/Pydio)
@@ -20,6 +22,31 @@ Please DO NOT send emails to Charles, but use the forum located on https://pydio
2022

2123
### How to contribute / Developer Resources
2224

25+
#### Setting up your dev environment
26+
27+
Pydio 7 requires **PHP5.5.9** and upper.
28+
29+
The web root of the application is located in ***core/src/***. Create a virtual host to point to this folder, set up your webserver to use index.php as default page. This is generally done by default.
30+
31+
Pydio uses Composer and NPM to manage dependencies respectively in PHP and JS. It uses Grunt to build javascript sources. In order to start Pydio locally after a fresh `git clone`, you will first have to run these tools in both the core and in many plugins.
32+
33+
- First install Composer (see https://getcomposer.org) and NPM (https://docs.npmjs.com/getting-started/installing-node)
34+
- Install Grunt globally by running `npm install -g grunt-cli``
35+
- Inside the core folder (under webroot, i.e. core/src/core/ from root of git repository), run `composer install`
36+
- For each plugin that contains a composer.json file, run `composer install` as well.
37+
- For each plugin tat contains a package.json file, run
38+
- `npm install`
39+
- `grunt`
40+
41+
On a unix-based machine, this can be achieved by the following command (from the webroot directory):
42+
```
43+
find . -maxdepth 5 -name Gruntfile.js -execdir bash -c "npm install && grunt" \;
44+
find . -maxdepth 5 -name composer.json -execdir composer install \;
45+
```
46+
47+
You should be good to go. When modifying JS files that require transpilation, there is generally a `grunt watch` task available to automatically run grunt on each file change.
48+
49+
2350
#### Coding guidelines
2451

2552
To enforce some coding standards, please run scripts in

core/src/.gitignore

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/plugins/access.ajxp_home/res/build
2-
/plugins/access.inbox/res/build
3-
/plugins/core.mailer/js/build
4-
/plugins/gui.ajax/res/js/ui/reactjs/build/
51
.idea/
62
data/cache/*
73
data/files/*
@@ -10,9 +6,17 @@ data/personal/*
106
data/plugins/*
117
data/public/*
128
data/tmp
13-
node_modules/
9+
node_modules
1410
.DS_Store
1511
.jshintignore
1612
.jshintrc
17-
/plugins/gui.ajax/res/mui/mui-sources
18-
.validate.json
13+
.validate.json
14+
composer.lock
15+
/core/vendor/
16+
/plugins/*/vendor/
17+
/plugins/access.ajxp_user/build
18+
/plugins/access.ajxp_home/res/build
19+
/plugins/access.inbox/res/build
20+
/plugins/core.mailer/js/build
21+
/plugins/uploader.html/js/build
22+
/plugins/core.tasks/js/build

core/src/.htaccess

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ RewriteEngine on
88
RewriteBase /
99
RewriteCond %{REQUEST_FILENAME} !-f
1010
RewriteCond %{REQUEST_FILENAME} !-d
11-
RewriteRule ^shares ./dav.php [L]
12-
RewriteRule ^api ./rest.php [L]
13-
RewriteRule ^ocs/ ./opencollab.php [L]
14-
RewriteRule ^ocs-provider/ ./opencollab.php [L]
15-
RewriteRule ^user ./index.php?get_action=user_access_point [L]
16-
RewriteCond %{REQUEST_URI} !^/index
17-
RewriteCond %{REQUEST_URI} !^/plugins
18-
RewriteCond %{REQUEST_URI} ^/dashboard|^/settings|^/welcome|^/ws-
1911
RewriteRule (.*) index.php [L]
2012

2113
#Following lines seem to be necessary if PHP is working
@@ -29,8 +21,8 @@ RewriteRule (.*) index.php [L]
2921
# to make sure that authorization is transmitted.
3022
# Just remove the # at the beginning of the line
3123

32-
#SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
24+
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
3325

3426
</IfModule>
3527

36-
AddType application/json .json
28+
AddType application/json .json

core/src/base.conf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* You should have received a copy of the GNU Affero General Public License
1717
* along with Pydio. If not, see <http://www.gnu.org/licenses/>.
1818
*
19-
* The latest code can be found at <http://pyd.io/>.
19+
* The latest code can be found at <https://pydio.com>.
2020
*
2121
* This is the main configuration file for configuring the core of the application.
2222
* In a standard usage, you should not have to change any variables.

0 commit comments

Comments
 (0)