Cloud personnel
Find a file
Daniel Calviño Sánchez f5eb93e29a Add integration tests for creating and updating a mail share
In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.

To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.

In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.

For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-05-29 15:24:53 +02:00
.github Move away from fixupbot 2019-12-06 11:46:10 +01:00
.idea
.tx Add accessibility translations 2019-03-03 19:49:44 +01:00
3rdparty@642cd66f3d Update ID3Parser to v1.1.0 for php7.4 compat 2020-01-07 16:02:49 +01:00
apps Fix creating a mail share with a password 2020-05-29 14:42:16 +02:00
build Add integration tests for creating and updating a mail share 2020-05-29 15:24:53 +02:00
config clarified trash bin retention by storage shortage override 2020-05-04 11:40:07 +00:00
contribute Move GitHub files to .github directory 2018-10-09 11:35:46 +02:00
core [tx-robot] updated from transifex 2020-05-29 02:16:39 +00:00
lib Fix disabling send password by Talk without new password in mail shares 2020-05-29 14:42:16 +02:00
ocm-provider start implementing federated sharing 2.0 2018-07-02 11:29:27 +02:00
ocs Update license headers 2019-12-05 15:38:45 +01:00
ocs-provider
resources Remove entries from locales.json incompatible with punic 2020-05-18 09:54:02 +00:00
tests Fix disabling send password by Talk without new password in mail shares 2020-05-29 14:42:16 +02:00
themes Properly theme firstrunwizard logo in example theme 2019-02-22 11:23:42 +01:00
.codecov.yml Disable codecov status and comment 2018-06-28 16:34:16 +02:00
.drone.yml Bump integration to php7.3 with redis 2019-11-28 12:34:24 +01:00
.editorconfig Remove special php setting as it is the default 2019-11-12 17:48:17 +01:00
.eslintrc.js Bump eslint-config-nextcloud from 0.0.6 to 0.1.0 2019-12-19 11:55:33 +01:00
.gitattributes Add a transfer ownership background job 2019-12-02 15:28:47 +01:00
.gitignore Ignore .phpunit.result.cache 2019-12-04 13:22:25 +01:00
.gitmodules
.htaccess Fix security header setting in .htaccess by adding 'onsuccess unset' 2020-04-25 18:02:48 +00:00
.jshintrc
.mailmap Update license headers for 18 2019-12-20 09:23:25 +01:00
.scrutinizer.yml Migrate Scrutinizer to new PHP Analysis 2018-10-17 19:46:38 +02:00
.tag
.user.ini Remove the upload and memory setting 2019-03-04 12:14:22 +01:00
AUTHORS Update license headers for 18 2019-12-20 09:23:25 +01:00
autotest-checkers.sh Move settings to an app 2019-09-28 09:39:28 +00:00
autotest-external.sh
autotest-js.sh Fixed tests 2018-07-19 08:16:59 +02:00
autotest.sh No need to wait 10 minutes for the DB to get up. 2019-09-03 15:38:52 +02:00
babel.config.js Transpile also dependencies in node_modules 2019-10-29 12:56:00 +01:00
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json Move settings to an app 2019-09-28 09:39:28 +00:00
console.php Update license headers 2019-12-05 15:38:45 +01:00
COPYING
COPYING-README
cron.php Update license headers 2019-12-05 15:38:45 +01:00
index.html remove type="text/javascript" from index.html 2018-08-20 20:13:40 +09:00
index.php Update license headers 2019-12-05 15:38:45 +01:00
Makefile Add OCA.Files.Sidebar 2019-10-29 12:56:00 +01:00
occ
package-lock.json [Security] Bump acorn from 6.3.0 to 6.4.1 2020-03-13 21:39:01 +00:00
package.json Bump @nextcloud/vue 2020-01-30 10:30:42 +01:00
public.php Update license headers 2019-12-05 15:38:45 +01:00
README.md Update README.md 2019-10-05 15:16:17 +02:00
remote.php Update license headers 2019-12-05 15:38:45 +01:00
robots.txt
status.php Update license headers 2019-12-05 15:38:45 +01:00
version.php 18.0.5 RC1 2020-05-21 09:36:46 +02:00
webpack.common.js Transpile the nextcloud-vue-collection package 2019-12-10 18:10:35 +01:00
webpack.dev.js Move webpack config to root 2019-02-13 09:03:11 +01:00
webpack.prod.js Move webpack config to root 2019-02-13 09:03:11 +01:00

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 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 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 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/