☁️ Nextcloud server, a safe home for all your data
Switch branches/tags
Clone or download
rullzer Merge pull request #10890 from nextcloud/bugfix/10857/app-menu-resize
Fix app menu calculation for random size of the right header
Latest commit b978399 Nov 3, 2018
Permalink
Failed to load latest commit information.
Image .github Move GitHub files to .github directory Oct 9, 2018
Image .idea Add newline that was removed by 15be763 Dec 10, 2014
Image .tx Remove old perl script to update l10n files Feb 8, 2018
Image 3rdparty @ 214c415 [3rdparty] Bump sabre/dav to 3.2.3 Nov 1, 2018
Image apps [tx-robot] updated from transifex Nov 3, 2018
Image build Fix tests Nov 1, 2018
Image config Merge pull request #12089 from Rayn0r/master Oct 31, 2018
Image contribute Move GitHub files to .github directory Oct 9, 2018
Image core Merge pull request #10890 from nextcloud/bugfix/10857/app-menu-resize Nov 3, 2018
Image lib Merge pull request #12071 from nextcloud/addressbook-uid-check-migration Nov 2, 2018
Image ocm-provider start implementing federated sharing 2.0 Jul 2, 2018
Image ocs-provider Allow to call the files even when you are in another instance atm Oct 6, 2016
Image ocs Fix undefined constant error for STATUS_SERVICE_UNAVAILABLE Jul 26, 2018
Image resources add the tag fulltextsearch Nov 1, 2018
Image settings [tx-robot] updated from transifex Nov 2, 2018
Image tests Merge pull request #12071 from nextcloud/addressbook-uid-check-migration Nov 2, 2018
Image themes Small text error Jul 6, 2018
Image .bowerrc ability to add bower resources Nov 3, 2014
Image .codecov.yml Disable codecov status and comment Jun 28, 2018
Image .drone.yml Extract acceptance tests for tags to their own feature file Oct 29, 2018
Image .gitignore Do not ignore cloud_federation_api Sep 21, 2018
Image .gitmodules targets 3rdparty submodule from Nc instead of oC Jun 28, 2016
Image .htaccess Merge pull request #11396 from nextcloud/wellknown-webfinger Oct 24, 2018
Image .jshintrc Reduce JSHint errors/warnings Nov 6, 2017
Image .mailmap Run updated license header updater Nov 7, 2017
Image .scrutinizer.yml Migrate Scrutinizer to new PHP Analysis Oct 17, 2018
Image .tag Add .tag file to make tar balls tracable Jun 14, 2014
Image .user.ini Make sure memory limit is > post size and upload filesize Sep 13, 2016
Image AUTHORS Run updated license header updater Nov 7, 2017
Image CHANGELOG.md Add link to real changelog Jul 19, 2017
Image CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Jan 10, 2018
Image COPYING Rename COPYING-AGPL to COPYING Sep 13, 2016
Image COPYING-README Rename COPYING-AGPL to COPYING Sep 13, 2016
Image README.md Readme: Simply use emojis instead of images for tools section Nov 1, 2018
Image autotest-checkers.sh Add test to check if new files are added to the root of the repository Jul 12, 2017
Image autotest-external.sh Set exit code to 1 if integration test is failing Dec 20, 2016
Image autotest-js.sh Fixed tests Jul 19, 2018
Image autotest.sh Remove comment about hhvm Oct 9, 2018
Image bower.json Pin Bower versions Oct 10, 2018
Image composer.json Install phan manually Jul 19, 2017
Image console.php Adds a memory limit warning for console commands if the limit is belo… Aug 20, 2018
Image cron.php Fix code style May 23, 2018
Image index.html remove type="text/javascript" from index.html Aug 20, 2018
Image index.php Log the previous exception during hard failure Nov 1, 2018
Image occ Use a more universal shebang Nov 19, 2014
Image public.php Return 404 when the service is not available Oct 10, 2018
Image remote.php Do not use HTTP code OC_Response constants anymore Jun 26, 2018
Image robots.txt Add robot.txt Jan 28, 2013
Image status.php Replace hardcoded status headers with calls to http_response_code() Jun 26, 2018
Image version.php allow to add labels to shares Nov 1, 2018

README.md

Nextcloud Server ☁

Scrutinizer Code Quality codecov CII Best Practices irc irc

A safe home for all your data.

Image

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/