Go to file
Christoph Wurst 0022b63fe8
Fix serializing indexed unified search array as object
We expect an array of results from the search provider. If the search
provider returns an array with indexes, php will serialize it as object,
not as array (to preserve the keys). The client doesn't need this info,
so we should just discard it and take the values only to always render a
JSON array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-11 15:57:04 +02:00
.github Delete dependabot.yml 2020-09-08 08:56:33 +02:00
.idea
.tx
3rdparty@10acc20198 Use PSR container interface and deprecate our own abstraction 2020-07-16 13:35:45 +02:00
apps announce added user and group backend later as there might be interdeps 2020-09-11 00:14:06 +02:00
build Merge pull request #22665 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.7.0 2020-09-10 12:52:31 +02:00
config Allow to disable share emails 2020-08-19 09:03:58 +02:00
contribute
core Merge pull request #22780 from nextcloud/bugfix/20921 2020-09-10 19:01:15 +02:00
lib Fix serializing indexed unified search array as object 2020-09-11 15:57:04 +02:00
ocm-provider
ocs Fix invalid usage of \Exception::getResult 2020-06-16 15:37:20 +02:00
ocs-provider
resources Merge pull request #22552 from nextcloud/bugfix/noid/opendocument-templates 2020-09-10 12:42:29 +02:00
tests Don't break when the IP is empty 2020-09-10 14:20:27 +02:00
themes
.codecov.yml
.drone.yml Disable fragile comments tests 2020-07-21 13:31:19 +02:00
.editorconfig
.eslintrc.js
.gitattributes Add binary attributes for dashboard bundles 2020-08-05 17:01:29 +02:00
.gitignore new weather status used in dashboard 2020-08-20 00:21:08 +02:00
.gitmodules
.htaccess
.jshintrc
.mailmap
.php_cs.dist Exclude stubs from code style check 2020-08-18 08:58:19 +02:00
.scrutinizer.yml
.tag
.user.ini
AUTHORS Update license headers for Nextcloud 20 (again) 2020-09-07 14:37:44 +02:00
CHANGELOG.md
CODE_OF_CONDUCT.md
COPYING
COPYING-README Add user-status app 2020-07-31 16:45:27 +02:00
Makefile Add user-status app 2020-07-31 16:45:27 +02:00
README.md Update link to set up new dev env 2020-06-24 16:50:29 +02:00
SECURITY.md
autotest-checkers.sh Move check for missing since tag to autotest-checkers.sh 2020-07-14 21:43:19 +02:00
autotest-external.sh Remove the prefix setting attempt from our CI 2020-05-26 16:56:41 +02:00
autotest-js.sh
autotest.sh Move check for missing since tag to autotest-checkers.sh 2020-07-14 21:43:19 +02:00
babel.config.js
composer.json Add psalm as composer dependency 2020-08-18 08:58:19 +02:00
composer.lock Bump psalm/phar from 3.12.2 to 3.15 2020-09-08 06:37:34 +00:00
console.php Update license headers for 19 2020-04-29 11:57:22 +02:00
cron.php Update license headers for 19 2020-04-29 11:57:22 +02:00
index.html
index.php
occ
package-lock.json Merge pull request #22635 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.4.1 2020-09-10 16:20:59 +02:00
package.json Merge pull request #22635 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-1.4.1 2020-09-10 16:20:59 +02:00
psalm.xml Add stubs for gd, intl, IntlChar, ldap, redis_cluster and xsl 2020-08-18 13:01:10 +02:00
public.php
remote.php
robots.txt
status.php
version.php Update repair step apply new opendocument template mimes 2020-09-04 08:42:32 +02:00
webpack.common.js new weather status used in dashboard 2020-08-20 00:21:08 +02:00
webpack.dev.js Bump webpack-merge from 4.2.2 to 5.0.9 2020-07-30 16:38:05 +02:00
webpack.prod.js Bump webpack-merge from 4.2.2 to 5.0.9 2020-07-30 16:38:05 +02:00

README.md

Nextcloud Server ☁

Scrutinizer Code Quality codecov CII Best Practices

A safe home for all your data.

Why is this so awesome? 🤩

  • 📁 Access your Data You can store your files, contacts, calendars and more on a server of your choosing.
  • 🔄 Sync your Data You keep your files, contacts, calendars and more synchronized amongst your devices.
  • 🙌 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with hundreds of Apps ...like Calendar, Contacts, Mail, Video Chat and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentication.

You want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and at your organization? Learn about all our Features.

Get your Nextcloud 🚚

Enterprise? Public Sector or Education user? You may want to have a look into Nextcloud Enterprise provided by Nextcloud GmbH.

Get in touch 💬

You can also get support for Nextcloud!

Join the team 👪

There are many ways to contribute, of which development is only one! Find out how to get involved, including as translator, designer, tester, helping others and much more! 😍

Development setup 👩‍💻

  1. 🚀 Set up your local development environment
  2. 🐛 Pick a good first issue
  3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using git commit -sm "Your commit message"
  4. ⬆ Create a pull request and @mention the people from the issue to review
  5. 👍 Fix things that come up during review
  6. 🎉 Wait for it to get merged!

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder.

Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Note they should never be used on production systems.

Building front-end code 🏗

We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:

# install dependencies
make dev-setup

# build for development
make build-js

# build for development and watch edits
make watch-js

# build for production with minification
make build-js-production

When making changes, also commit the compiled files!

We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.

If you dont have Handlebars installed yet, you can do it with this terminal command:

sudo npm install -g handlebars

Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a .handlebars file to compile it:

./build/compile-handlebars-templates.sh

Tools we use 🛠

Contribution guidelines 📜

All contributions to this repository from June, 16 2016 on are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds following line to the header of a file, if they changed it substantially:

@copyright Copyright (c) <year>, <your name> (<your email address>)

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information how to contribute: https://nextcloud.com/contribute/