Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nc branding #1

Merged
merged 5 commits into from
Aug 29, 2016
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If your issue appears to be a bug, and hasn't been reported, open a new issue.

Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues.

[template]: https://raw.github.com/owncloud/mail/master/.github/issue_template.md
[template]: https://raw.github.com/nextcloud/mail/master/.github/issue_template.md

## Contributing to Source Code

Expand All @@ -24,4 +24,4 @@ Thanks for wanting to contribute source code to the Mail app. That's great!
## Translations
Please submit translations via [Transifex][transifex].

[transifex]: https://www.transifex.com/projects/p/owncloud/
[transifex]: https://www.transifex.com/projects/p/nextcloud/
6 changes: 3 additions & 3 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Insert your config.php content here
Insert your webserver log here
```

##### Server log (data/owncloud.log or data/nextcloud.log)
##### Server log (data/nextcloud.log)
<details>
```
Insert your server log here
Expand All @@ -81,14 +81,14 @@ Insert your server log here
##### Horde IMAP log (data/horde_imap.log)
<details>
```
Insert your horde IMAP log here, see https://github.com/owncloud/mail#debug-mode
Insert your horde IMAP log here, see https://github.com/nextcloud/mail#debug-mode
```
</details>

##### Horde SMTP log (data/horde_smtp.log)
<details>
```
Insert your horde SMTP log here, see https://github.com/owncloud/mail#debug-mode
Insert your horde SMTP log here, see https://github.com/nextcloud/mail#debug-mode
```
</details>

Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ before_install:
- make install-composer-deps
- make start-imap-docker
- cd ..
- git clone https://github.com/owncloud/core.git --recursive --depth 1 -b $CORE_BRANCH core
- git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b $CORE_BRANCH core
- mv mail core/apps/

before_script:
Expand Down Expand Up @@ -106,5 +106,5 @@ matrix:
- php: 5.4
env: "DB=mysql CORE_BRANCH=stable9 PACKAGE=TRUE"
- php: 5.4
env: "DB=mysql CORE_BRANCH=stable9.1"
env: "DB=mysql CORE_BRANCH=stable10"
fast_finish: true
47 changes: 23 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,42 @@
# Mail
# Nextcloud Mail

[![Build Status](https://travis-ci.org/owncloud/mail.svg?branch=master)](https://travis-ci.org/owncloud/mail)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/owncloud/mail/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/owncloud/mail/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/owncloud/mail/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/owncloud/mail/?branch=master)
[![Build Status](https://travis-ci.org/nextcloud/mail.svg?branch=master)](https://travis-ci.org/nextcloud/mail)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/mail/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/mail/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/nextcloud/mail/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/mail/?branch=master)
[![PHP Dependency Status](https://www.versioneye.com/user/projects/54e50fadd1ec5734f400078a/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54e50fadd1ec5734f400078a)
[![JS Dependency Status](https://www.versioneye.com/user/projects/567bd06ba7c90e003500033f/badge.svg?style=flat)](https://www.versioneye.com/user/projects/567bd06ba7c90e003500033f)
[![Bountysource](https://img.shields.io/bountysource/team/owncloud/activity.svg)](https://www.bountysource.com/teams/owncloud/issues?tracker_ids=216487)

**An email app for [ownCloud](https://owncloud.org) and [Nextcloud](https://nextcloud.com)**
**An email app for [Nextcloud](https://nextcloud.com)**

![](https://raw.githubusercontent.com/owncloud/screenshots/master/mail/mail.png)
![](screenshots/mail.png)


## Why is this so awesome?

* :rocket: **Integration with other ownCloud apps!** Currently Contacts, Calendar & Files – more to come.
* :rocket: **Integration with other Nextcloud apps!** Currently Contacts, Calendar & Files – more to come.
* :inbox_tray: **Multiple mail accounts!** Personal and company account? No problem, and a nice unified inbox.
* :lock: **Send & receive encrypted emails!** Using the great [Mailvelope](https://mailvelope.com) browser extension.
* :see_no_evil: **We’re not reinventing the wheel!** Based on the great [Horde](http://horde.org) libraries.

And in the works for the [coming versions](https://github.com/owncloud/mail/milestones/):
* :books: [Proper grouping of message threads](https://github.com/owncloud/mail/issues/21)
* :zap: [Caching to make everything faster](https://github.com/owncloud/mail/issues/480)
* :paperclip: [Even better attachment support](https://github.com/owncloud/mail/issues/462)
* :package: [Folder management & moving mails](https://github.com/owncloud/mail/issues/411)
And in the works for the [coming versions](https://github.com/nextcloud/mail/milestones/):
* :books: Proper grouping of message threads
* :zap: Caching to make everything faster
* :paperclip: Even better attachment support
* :package: Folder management & moving mails

## Installation

In your ownCloud, simply navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it.
In your Nextcloud, simply navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it.
Then open the Mail app from the app menu. Put in your email account credentials and off you go!

If you experience any issues or have enhancement suggestions you can report them in our [issue tracker](https://github.com/owncloud/mail/issues). Please follow the [issue template](https://raw.githubusercontent.com/owncloud/mail/master/issue_template.md) so we get the info we need to be able to debug and fix the problem. Thanks!
If you experience any issues or have enhancement suggestions you can report them in our [issue tracker](https://github.com/nextcloud/mail/issues). Please follow the [issue template](https://raw.githubusercontent.com/nextcloud/mail/master/issue_template.md) so we get the info we need to be able to debug and fix the problem. Thanks!


## Maintainers

[Christoph Wurst](https://github.com/ChristophWurst), [Thomas Müller](https://github.com/DeepDiver1975), [Jan-Christoph Borchardt](https://github.com/jancborchardt), [Steffen Lindner](https://github.com/Gomez) [and many more](https://github.com/owncloud/mail/graphs/contributors)
[Christoph Wurst](https://github.com/ChristophWurst), [Thomas Müller](https://github.com/DeepDiver1975), [Jan-Christoph Borchardt](https://github.com/jancborchardt), [Steffen Lindner](https://github.com/Gomez) [and many more](https://github.com/nextcloud/mail/graphs/contributors)

If you’d like to join, just go through the [issue list](https://github.com/owncloud/mail/issues) and fix some. :) We’re also in [#owncloud-mail on freenode IRC](https://webchat.freenode.net/?channels=owncloud-mail).
If you’d like to join, just go through the [issue list](https://github.com/nextcloud/mail/issues) and fix some. :) We’re also in [#nextcloud-mail on freenode IRC](https://webchat.freenode.net/?channels=nextcloud-mail).

## Troubleshooting

Expand All @@ -47,11 +46,11 @@ If you can not access your Gmail account use https://accounts.google.com/Display

### Outlook.com

If you can not access your Outlook.com account try to enable the 'Two-Factor Verification' (https://account.live.com/proofs/Manage) and setup an app password (https://account.live.com/proofs/AppPassword), which you then use for the ownCloud Mail app.
If you can not access your Outlook.com account try to enable the 'Two-Factor Verification' (https://account.live.com/proofs/Manage) and setup an app password (https://account.live.com/proofs/AppPassword), which you then use for the Nextcloud Mail app.

### Dovecot IMAP

If your Dovecot IMAP server prefixes all folders with `INBOX`, ownCloud Mail does not work correcty.
If your Dovecot IMAP server prefixes all folders with `INBOX`, Nextcloud Mail does not work correctly.

Check `/etc/dovecot/dovecot.conf`:

Expand All @@ -69,7 +68,7 @@ namespace inbox {

## Developer setup info

Just clone this repo into your apps directory ([ownCloud core installation needed](https://doc.owncloud.org/server/8.2/developer_manual/general/devenv.html)). Additionally, [npm](https://docs.npmjs.com/getting-started/installing-node) is needed for installing JavaScript dependencies. On Debian and Ubuntu Systems it can be installed with the following command:
Just clone this repo into your apps directory (Nextcloud server installation needed). Additionally, [npm](https://docs.npmjs.com/getting-started/installing-node) is needed for installing JavaScript dependencies. On Debian and Ubuntu Systems it can be installed with the following command:
```bash
sudo apt-get install nodejs-legacy npm
```
Expand All @@ -84,7 +83,7 @@ make optimize-js
Instead of setting everything up manually, you can just [download the nightly builds](https://en0ch.se/index.php/s/3v5J3XXeQCCp73p) instead. These builds are updated every 12 hours - 00:00 (12:00 AM) and 12:00 (12:00 PM) UTC+0200, and are pre-configured with all the needed dependencies.

1. Download
2. Extract the tar archive to 'path-to-owncloud/apps'
2. Extract the tar archive to 'path-to-nextcloud/apps'
3. Navigate to »Apps«, choose the category »Productivity«, find the Mail app and enable it.

The nightly builds are provided by [Daniel Hansson](https://github.com/enoch85)
Expand All @@ -97,7 +96,7 @@ DROP TABLE oc_mail_accounts;
DROP TABLE oc_mail_collected_addresses;
```

Go to ownCloud Mail in the browser and run this from the developer console to clear the cache:
Go to Nextcloud Mail in the browser and run this from the developer console to clear the cache:
```
localStorage.clear();
```
Expand All @@ -108,7 +107,7 @@ localStorage.clear();
Certain advanced or experimental features need to be specifically enabled in your `config.php`:

### Debug mode
You can enable IMAP and SMTP backend logging. A horde_imap.log for IMAP and horde_smtp.log for SMTP will appear in the same directory as your owncloud.log.
You can enable IMAP and SMTP backend logging. A horde_imap.log for IMAP and horde_smtp.log for SMTP will appear in the same directory as your nextcloud.log.
#### IMAP logging:
```php
'app.mail.imaplog.enabled' => true
Expand All @@ -119,7 +118,7 @@ You can enable IMAP and SMTP backend logging. A horde_imap.log for IMAP and hord
```

### Server-side caching
Mailbox messages and accounts can be cached on the ownCloud server to reduce mail server load:
Mailbox messages and accounts can be cached on the Nextcloud server to reduce mail server load:
This requires a valid memcache to be configured
```php
'app.mail.server-side-cache.enabled' => true
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<licence>AGPL</licence>
<author>Christoph Wurst, Thomas Müller, Jan-Christoph Borchardt, Steffen Lindner &amp; many more …</author>
<documentation>
<admin>https://github.com/owncloud/mail#readme</admin>
<admin>https://github.com/nextcloud/mail#readme</admin>
</documentation>
<dependencies>
<owncloud min-version="9.0" max-version="9.2" />
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Mail app",
"main": "mail.js",
"license": "AGPLv3",
"homepage": "https://github.com/owncloud/mail",
"homepage": "https://github.com/nextcloud/mail",
"ignore": [
"**/.*",
"node_modules",
Expand Down
6 changes: 2 additions & 4 deletions js/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# JavaScript Development

All source files are stored inside this directory or subdirectories of it. With the help of [requirejs](http://www.requirejs.org/)
any .js and .html template file is loaded into the browser asynchronously if needed. Make sure you have
[debug mode](https://doc.owncloud.org/server/8.2/developer_manual/general/devenv.html#enabling-debug-mode) enabled in your development
any .js and .html template file is loaded into the browser asynchronously if needed. Make sure you have debug mode enabled in your development
setup because this loads source files instead of the compressed one.

## Optimizing file loading for production use
Expand All @@ -14,8 +13,7 @@ be easily executed with the Makefile in the root of this repository. Simply run
make optimize-js
```
inside the project's root directory. This combines and compresses all used JavaScript source files and HTML template
files into one file: ``js/mail.min.js``. If [debug mode](https://doc.owncloud.org/server/8.2/developer_manual/general/devenv.html#enabling-debug-mode)
is disabled, this compressed file is then used.
files into one file: ``js/mail.min.js``. If debug mode is disabled, this compressed file is then used.

## Coding guidelines

Expand Down
2 changes: 1 addition & 1 deletion js/controller/aliasescontroller.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @author Tahaa Karim <tahaalibra@gmail.com>
*
* ownCloud - Mail
* Mail
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
Expand Down
2 changes: 1 addition & 1 deletion js/models/alias.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion js/models/aliasescollection.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion js/service/aliasesservice.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @author Tahaa Karim <tahaalibra@gmail.com>
*
* ownCloud - Mail
* Mail
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
Expand Down
2 changes: 1 addition & 1 deletion js/views/accountsettings.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion js/views/aliases-list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion js/views/aliases.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ownCloud - Mail
* Mail
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason of why we are not simply replacing that with Nextcloud - Mail ?! 😁 Does not matter anyway - but yeah 😅

*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion l10n/.tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
host = https://www.transifex.com
lang_map = ja_JP: ja

[owncloud.mail]
[nextcloud.mail]
file_filter = <lang>/mail.po
source_file = templates/mail.pot
source_lang = en
Expand Down
2 changes: 1 addition & 1 deletion lib/db/alias.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion lib/db/aliasmapper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* ownCloud - Mail
* Mail
*
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
Expand Down
2 changes: 1 addition & 1 deletion lib/service/aliasesservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @author Tahaa Karim <tahaalibra@gmail.com>
*
* ownCloud - Mail
* Mail
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
},
"repository": {
"type": "git",
"url": "https://github.com/owncloud/mail.git"
"url": "https://github.com/nextcloud/mail.git"
},
"keywords": [
"mail"
],
"author": "Christoph Wurst, Thomas Müller, Jan-Christoph Borchardt, Steffen Lindner and many more …",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/owncloud/mail/issues"
"url": "https://github.com/nextcloud/mail/issues"
},
"homepage": "https://github.com/owncloud/mail",
"homepage": "https://github.com/nextcloud/mail",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-cli": "^0.1.13",
Expand Down
Binary file added screenshots/mail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/controller/proxycontrollertest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ protected function setUp() {
public function redirectDataProvider() {
return [
[
'http://owncloud.org',
'http://nextcloud.com',
false
],
[
'https://owncloud.org',
'https://nextcloud.com',
false
],
[
Expand Down
8 changes: 4 additions & 4 deletions tests/data/mail-message-123.txt
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ notfoundexception.php
0 fixed results


owncloud.php
nextcloud.php
0 new results
0 fixed results

Expand Down Expand Up @@ -1060,7 +1060,7 @@ google.php
0 fixed results


owncloud.php
nextcloud.php
0 new results
0 fixed results

Expand Down Expand Up @@ -1135,7 +1135,7 @@ mountconfig.php
0 fixed results


owncloudfunctions.php
nextcloudfunctions.php
0 new results
0 fixed results

Expand Down Expand Up @@ -4335,7 +4335,7 @@ errorlog.php
0 fixed results


owncloud.php
nextcloud.php
0 new results
0 fixed results

Expand Down