Mirror of NextCloud Server

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

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/