Mirror of NextCloud Server

Roeland Jago Douma 170995b213 Merge pull request #13586 from nextcloud/enh/2fa_backup_codes_improvements 5 years ago
.github f56e7c9afd Add labels to issue templates 6 years ago
.idea 2accc24fa9 Add newline that was removed by 15be763d46d56c57d4f0def7745bb02d513e3a38 10 years ago
.tx 23f9ef54e3 Remove old perl script to update l10n files 6 years ago
3rdparty @ b747496758 4269dd3c9a [3rdparty] Bump symfony/process to 4.2.2 5 years ago
apps da7dd24378 Switch to OCP background jobs 5 years ago
build fdd4b11a1a Bump karma-viewport from 1.0.3 to 1.0.4 in /build 5 years ago
config 72d97b44a7 Expose Swift Mailer streaming options in config, fixes #12702 6 years ago
contribute 08b005fb0e Move GitHub files to .github directory 6 years ago
core 86d30835af Merge pull request #13581 from nextcloud/bugfix/13576/correctly-escape-html 5 years ago
lib c3b22f05bb Merge pull request #13468 from rummatee/issue13276 5 years ago
ocm-provider 5cfe20675d start implementing federated sharing 2.0 6 years ago
ocs 3e21033dfc Fix undefined constant error for STATUS_SERVICE_UNAVAILABLE 6 years ago
ocs-provider f3319f6294 Allow to call the files even when you are in another instance atm 8 years ago
resources 094868d57f Update the CRL 5 years ago
settings 8edd9b0e33 [tx-robot] updated from transifex 5 years ago
tests 5a27e54f4b Merge pull request #13032 from nextcloud/objectstore-write-exists 5 years ago
themes e4c583c186 Small text error 6 years ago
.babelrc 208788173d Npmize (vendor) scripts 5 years ago
.codecov.yml 096c92cbee Disable codecov status and comment 6 years ago
.drone.yml 2f3e18a5e1 Move litmusv2 to php7.2 5 years ago
.gitattributes e7019a0448 Bump other deps as well and rebuild assets 5 years ago
.gitignore 208788173d Npmize (vendor) scripts 5 years ago
.gitmodules eb0d740c1d targets 3rdparty submodule from Nc instead of oC 8 years ago
.htaccess b9f2ce2796 Fix loading of .woff2 files in .htaccess 6 years ago
.jshintrc d790c27a19 Reduce JSHint errors/warnings 7 years ago
.mailmap 4866314ce0 Run updated license header updater 7 years ago
.scrutinizer.yml 3953e4aea1 Migrate Scrutinizer to new PHP Analysis 6 years ago
.tag 1efa338a52 Add .tag file to make tar balls tracable 10 years ago
.user.ini a3c8534b7b Make sure memory limit is > post size and upload filesize 8 years ago
AUTHORS 4866314ce0 Run updated license header updater 7 years ago
CHANGELOG.md e9532cfbbb Add link to real changelog 7 years ago
CODE_OF_CONDUCT.md 89d3c5e5b9 Create CODE_OF_CONDUCT.md 6 years ago
COPYING 03a0f4cbad Rename COPYING-AGPL to COPYING 8 years ago
COPYING-README 03a0f4cbad Rename COPYING-AGPL to COPYING 8 years ago
README.md 4c240cee65 Use `latest` instead of fixed version number 5 years ago
autotest-checkers.sh a34027348b Mergejs is gone 5 years ago
autotest-external.sh 7efc6b2614 Set exit code to 1 if integration test is failing 8 years ago
autotest-js.sh 14bc9ffda4 Fixed tests 6 years ago
autotest.sh 0beb42ebe8 Remove comment about hhvm 6 years ago
composer.json 14be81c5b0 Use classmap to load core files 8 years ago
console.php b149c047b7 Add note for Docker users running console 5 years ago
cron.php 7860c81523 Fix code style 6 years ago
index.html 869a674f29 remove type="text/javascript" from index.html 6 years ago
index.php affdb0e4d1 Log the previous exception during hard failure 6 years ago
occ 68a9376858 Use a more universal shebang 10 years ago
package-lock.json 07760b83fc Use @babel/polyfill instead of es6-shim 5 years ago
package.json 07760b83fc Use @babel/polyfill instead of es6-shim 5 years ago
public.php fb7840b283 returns a 501 instead of exception if app is not installed - #13088 5 years ago
remote.php b0a296e2e1 Do not use HTTP code OC_Response constants anymore 6 years ago
robots.txt 5b77f16d57 Add robot.txt 11 years ago
status.php 79d9841bce Replace hardcoded status headers with calls to http_response_code() 6 years ago
version.php 1751c28c28 Bump versions of server and the requirements of apps 6 years ago

README.md

Nextcloud Server ☁

Scrutinizer Code Quality codecov CII Best Practices irc irc

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 dozens of Apps ...like Calendar, Contacts, Mail 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 Enterprise? Learn about all our Features.

Get your Nextcloud 🚚

Enterprise? Public Sector or Education user? You may want to have a look into the Enterprise Support Subscription provided by the 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 move 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 settings subfolder:

# 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

# clean output files
make clean

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 don’t 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/