-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #710 from wireapp/release/2019-04-09
Release/2019-04-09
- Loading branch information
Showing
135 changed files
with
2,268 additions
and
2,329 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,17 @@ emailSMS: | |
templateDir: resources/templates | ||
emailSender: [email protected] | ||
smsSender: "<insert-sender-number-here>" | ||
|
||
templateBranding: | ||
brand: Wire | ||
brandUrl: https://wire.com | ||
brandLabelUrl: wire.com # This is the text in the label for the above URL | ||
brandLogoUrl: https://wire.com/p/img/email/logo-email-black.png | ||
brandService: Wire Service Provider | ||
copyright: © WIRE SWISS GmbH | ||
misuse: [email protected] | ||
legal: https://wire.com/legal/ | ||
forgot: https://wire.com/forgot/ | ||
support: https://support.wire.com/ | ||
user: | ||
activationUrl: http://127.0.0.1:8080/activate?key=${key}&code=${code} | ||
smsActivationUrl: http://127.0.0.1:8080/v/${code} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Editor setup {#DevEditor} | ||
|
||
This page provides tips for setting up editors to work with the Wire codebase. | ||
|
||
## Emacs {#DevEmacs} | ||
|
||
### Jump-to-definition {#DevEmacsJump} | ||
|
||
Jump-to-definition is possible with [hasktags][]. First you need to install it and make sure it's on your PATH (if you don't want hasktags to be on your PATH, do `M-x customize-variable haskell-hasktags-path`): | ||
|
||
[hasktags]: https://hackage.haskell.org/package/hasktags | ||
|
||
```bash | ||
stack install hasktags # or cabal install hasktags | ||
``` | ||
|
||
To generate tags, do `M-x haskell-mode-generate-tags`. You can also add a Git hook to regenerate tags on checkout: | ||
|
||
```bash | ||
echo "hasktags -e -x ." > .git/hooks/post-checkout | ||
chmod +x .git/hooks/post-checkout | ||
``` | ||
|
||
To jump to an identifier, press `M-.`. You can also do `C-u M-x xref-find-definitions` to get interactive search through identifiers. Press `M-,` to return to where you were before the jump. | ||
|
||
Jump-to-definition is case-insensitive by default, which is probably not what you want. To change that, do `M-x customize-variable tags-case-fold-search`. | ||
|
||
By default hasktags only generates tags for the current package. The Wire backend is composed of many packages, and it's useful to be able to jump to any identifier in wire-server. One way to do it is to setup Emacs to check if there's a Projectile project that the current directory belongs to, and if so, override the "current package" default. | ||
|
||
Install the [projectile][] package for Emacs and do `M-x projectile-add-known-project <path to wire-server>`. Then add the following snippet to your `init.el`: | ||
|
||
[projectile]: https://www.projectile.mx/en/latest/installation/ | ||
|
||
``` | ||
(require 'haskell) | ||
(require 'projectile) | ||
;; When inside a project, even if there is a cabal file in the current | ||
;; folder, use the project folder to generate tags. This is useful for | ||
;; projects with several services or subprojects. | ||
(defadvice haskell-cabal--find-tags-dir (around project-tags act) | ||
(setq ad-return-value | ||
(if (projectile-project-root) | ||
(projectile-project-root) | ||
ad-do-it))) | ||
``` | ||
|
||
## Vim {#DevVim} | ||
|
||
TODO. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.