├── .editorconfig ├── .eslintignore ├── .eslintrc ├── .gitattributes ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Dockerfile ├── Gruntfile.js ├── LICENSE ├── README.md ├── client ├── audio │ └── pop.ogg ├── css │ ├── bootstrap.css │ ├── fonts │ │ ├── Lato-700 │ │ │ ├── LICENSE.txt │ │ │ ├── Lato-700.eot │ │ │ ├── Lato-700.svg │ │ │ ├── Lato-700.ttf │ │ │ ├── Lato-700.woff │ │ │ └── Lato-700.woff2 │ │ ├── Lato-regular │ │ │ ├── LICENSE.txt │ │ │ ├── Lato-regular.eot │ │ │ ├── Lato-regular.svg │ │ │ ├── Lato-regular.ttf │ │ │ ├── Lato-regular.woff │ │ │ └── Lato-regular.woff2 │ │ ├── Open-Sans-300 │ │ │ ├── LICENSE.txt │ │ │ ├── Open-Sans-300.eot │ │ │ ├── Open-Sans-300.svg │ │ │ ├── Open-Sans-300.ttf │ │ │ ├── Open-Sans-300.woff │ │ │ └── Open-Sans-300.woff2 │ │ ├── Open-Sans-700 │ │ │ ├── LICENSE.txt │ │ │ ├── Open-Sans-700.eot │ │ │ ├── Open-Sans-700.svg │ │ │ ├── Open-Sans-700.ttf │ │ │ ├── Open-Sans-700.woff │ │ │ └── Open-Sans-700.woff2 │ │ ├── Open-Sans-regular │ │ │ ├── LICENSE.txt │ │ │ ├── Open-Sans-regular.eot │ │ │ ├── Open-Sans-regular.svg │ │ │ ├── Open-Sans-regular.ttf │ │ │ ├── Open-Sans-regular.woff │ │ │ └── Open-Sans-regular.woff2 │ │ ├── fontawesome.svg │ │ ├── fontawesome.woff │ │ ├── inconsolatag.ttf │ │ └── inconsolatag.woff │ └── style.css ├── img │ ├── apple-touch-icon-120x120.png │ ├── favicon.png │ ├── logo-64.png │ ├── logo-dark.svg │ ├── logo.svg │ └── touch-icon-192x192.png ├── index.html ├── js │ ├── libs.min.js │ ├── libs │ │ ├── favico.js │ │ ├── handlebars.js │ │ ├── handlebars │ │ │ ├── diff.js │ │ │ ├── equal.js │ │ │ ├── modes.js │ │ │ ├── parse.js │ │ │ ├── stringcolor.js │ │ │ ├── tz.js │ │ │ └── users.js │ │ ├── jquery.js │ │ ├── jquery │ │ │ ├── bootstrap.js │ │ │ ├── cookie.js │ │ │ ├── inputhistory.js │ │ │ ├── jquery-ui.js │ │ │ ├── mousetrap.js │ │ │ ├── stickyscroll.js │ │ │ ├── tabcomplete.js │ │ │ └── tse.js │ │ ├── moment.js │ │ ├── notification.js │ │ ├── socket.io.js │ │ ├── string.contains.js │ │ ├── stringcolor.js │ │ └── uri.js │ ├── shout.js │ └── shout.templates.js ├── robots.txt ├── themes │ ├── crypto.css │ ├── example.css │ ├── morning.css │ └── zenburn.css └── views │ ├── chan.tpl │ ├── chat.tpl │ ├── msg.tpl │ ├── msg_action.tpl │ ├── network.tpl │ ├── toggle.tpl │ └── user.tpl ├── defaults └── config.js ├── docker-compose.yml ├── index.js ├── package.json ├── src ├── client.js ├── clientManager.js ├── command-line │ ├── add.js │ ├── config.js │ ├── edit.js │ ├── index.js │ ├── list.js │ ├── remove.js │ ├── reset.js │ └── start.js ├── helper.js ├── identd.js ├── log.js ├── models │ ├── chan.js │ ├── msg.js │ ├── network.js │ └── user.js ├── plugins │ ├── inputs │ │ ├── action.js │ │ ├── connect.js │ │ ├── invite.js │ │ ├── join.js │ │ ├── kick.js │ │ ├── mode.js │ │ ├── msg.js │ │ ├── nick.js │ │ ├── notice.js │ │ ├── part.js │ │ ├── quit.js │ │ ├── raw.js │ │ ├── services.js │ │ ├── topic.js │ │ └── whois.js │ └── irc-events │ │ ├── ctcp.js │ │ ├── error.js │ │ ├── invite.js │ │ ├── join.js │ │ ├── kick.js │ │ ├── link.js │ │ ├── message.js │ │ ├── mode.js │ │ ├── motd.js │ │ ├── names.js │ │ ├── nick.js │ │ ├── notice.js │ │ ├── part.js │ │ ├── quit.js │ │ ├── topic.js │ │ ├── welcome.js │ │ └── whois.js └── server.js └── test ├── fixtures └── .shout │ └── config.js ├── plugins └── link.js └── util.js /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | [*] 8 | indent_style = tab 9 | 10 | end_of_line = lf 11 | charset = utf-8 12 | trim_trailing_whitespace = true 13 | insert_final_newline = true 14 | 15 | [*.md] 16 | trim_trailing_whitespace = false 17 | 18 | [*.{json,yml}] 19 | indent_style = space 20 | indent_size = 2 21 | 22 | [.eslintrc] 23 | indent_style = space 24 | indent_size = 2 25 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | client/js/libs.min.js 2 | client/js/libs/**/*.js 3 | client/js/shout.templates.js 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | --- 2 | 3 | root: true 4 | 5 | env: 6 | browser: true 7 | mocha: true 8 | node: true 9 | 10 | rules: 11 | comma-dangle: 0 12 | curly: [2, multi-line] 13 | eqeqeq: 2 14 | indent: [2, tab] 15 | linebreak-style: [2, unix] 16 | object-curly-spacing: [2, never] 17 | semi: [2, always] 18 | space-after-keywords: [2, always] 19 | space-before-function-paren: [2, never] 20 | spaced-comment: [2, always] 21 | no-console: 0 22 | no-trailing-spaces: 2 23 | quotes: [2, double, avoid-escape] 24 | 25 | globals: 26 | $: false 27 | Favico: false 28 | Handlebars: false 29 | io: false 30 | Mousetrap: false 31 | 32 | extends: eslint:recommended 33 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | *.eot binary 3 | *.ttf binary 4 | *.woff binary 5 | *.woff2 binary 6 | *.png binary 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' 4 | - '0.12' 5 | - '4.0' 6 | - '4.1' 7 | - '4.2' 8 | sudo: false 9 | deploy: 10 | provider: npm 11 | email: jeremie@astori.fr 12 | api_key: 13 | secure: dbfoL5w4SuXZJxQJ6bIlb5dXLdafJt4n9nOgTsAaFTkzBbf/L9JDTWAsSXqnelwVFgu+jNqFN5l9CyMpQ0o9IBdWEaryh3FzFeaNGIGV4+2StYKoxx2c4ZUBejbr++HVa0Ha9HWZCWkpIGiLI1W52hEu+QuFnoAbeQvG+lyhQsY= 14 | on: 15 | node: '0.12' 16 | tags: true 17 | repo: erming/shout 18 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 0.53.0 / 2016-01-07 2 | =================== 3 | 4 | [See the full changelog](https://github.com/erming/shout/compare/v0.52.0...v0.53.0) 5 | 6 | * Added a Dockerfile ([PR #477](https://github.com/erming/shout/pull/477) by [@bencevans](https://github.com/bencevans)) 7 | * Fixed a bug preventing logging on channels that contain slashes ([PR #519](https://github.com/erming/shout/pull/519) by [@lyra833](https://github.com/lyra833)) 8 | * Added missing `grunt-cli` as a required development dependencies ([PR #522](https://github.com/erming/shout/pull/522) by [@williamboman](https://github.com/williamboman)) 9 | * Added [@floogulinc](https://github.com/floogulinc) as a project maintainer 10 | * Added consistent coding style enforcement using `ESLint` ([PR #504](https://github.com/erming/shout/pull/504) by [@williamboman](https://github.com/williamboman), [PR #547](https://github.com/erming/shout/pull/547) by [@JocelynDelalande](https://github.com/JocelynDelalande)) 11 | * Added an `.editorconfig` file ([PR #526](https://github.com/erming/shout/pull/526) by [@williamboman](https://github.com/williamboman)) 12 | * Added a size limit for image previews ([PR #503](https://github.com/erming/shout/pull/503) by [@olivierlambert](https://github.com/olivierlambert), [issue #500](https://github.com/erming/shout/issues/500)) 13 | * Fixed the development setup command ([PR #536](https://github.com/erming/shout/pull/536) by [@jancborchardt](https://github.com/jancborchardt), [issue #535](https://github.com/erming/shout/issues/535)) 14 | * Improved the [CONTRIBUTING.md](https://github.com/erming/shout/blob/master/CONTRIBUTING.md) file regarding rebasing ([PR #548](https://github.com/erming/shout/pull/548) by [@JocelynDelalande](https://github.com/JocelynDelalande)) 15 | * Made channel names in chat clickable to let users join them ([PR #385](https://github.com/erming/shout/pull/385) by [@AmShaegar13](https://github.com/AmShaegar13), [issue #361](https://github.com/erming/shout/issues/361)) 16 | 17 | 0.52.0 / ??? 18 | ============ 19 | 20 | ??? 21 | 22 | 0.51.2 / 2015-09-18 23 | ================== 24 | 25 | * Fix XSS vulnerability (thanks @ohaal) 26 | 27 | 0.51.1 / 2015-04-29 28 | =================== 29 | 30 | * Increase process.setMaxListeners to prevent link preview to cause a crash 31 | 32 | 0.51.0 / 2015-04-16 33 | ================== 34 | 35 | * Added 'Crypto' theme by @aynik 36 | * Link preview now ignores links from localhost 37 | * Added 'displayNetwork' setting 38 | 39 | 0.49.3 / 2015-01-04 40 | =================== 41 | 42 | * Fully expand chat when userlist is hidden 43 | * Remove vertical whitespace in chat windows 44 | * Support @mention 45 | 46 | 0.49.2 / 2015-01-04 47 | =================== 48 | 49 | * Fix crash on broken links 50 | 51 | 0.49.1 / 2015-01-04 52 | =================== 53 | 54 | * Fix undefined content-type (link plugin) 55 | 56 | 0.49.0 / 2014-12-23 57 | =================== 58 | 59 | * Replaced superagent with request 60 | * Solves a problem where some links would crash the server 61 | 62 | 0.48.0 / 2014-12-12 63 | =================== 64 | 65 | * Fetch max 1 link per message 66 | * Fix '/me' message color 67 | * Periodically hide older messages for inactive channels 68 | * Only confirm exit in public mode 69 | * Added '/ns' NickServ and '/cs' ChanServ shortcuts 70 | 71 | 0.47.0 / 2014-11-19 72 | =================== 73 | 74 | * Shout now supports fullscreen on iOS 75 | 76 | 0.46.0 / 2014-11-14 77 | =================== 78 | 79 | * Fix commands being removed from user.json 80 | * Added dynamic title 81 | * Turn off input autocomplete 82 | 83 | 0.45.5 / 2014-11-05 84 | =================== 85 | 86 | * Minor bugfixes 87 | 88 | 0.45.4 / 2014-11-05 89 | =================== 90 | 91 | * Added username input 92 | * Added 'morning' theme by @rikukissa 93 | 94 | 0.45.3 / 2014-10-27 95 | =================== 96 | 97 | * Remove password argument from add command 98 | * Support MIRC style terminators 99 | * Fix edit command 100 | * Fix URLs preventing proper closure of bold and color tags 101 | * Send NOTICE messages to the correct channel 102 | 103 | 0.45.2 / 2014-10-16 104 | =================== 105 | 106 | * Fix crash on failed TLS connect 107 | * Hide mode from badge count 108 | 109 | 0.45.0 / 2014-10-14 110 | =================== 111 | 112 | * Added identd daemon 113 | * Remember user networks and channels on restart 114 | * Show link thumbnails 115 | * Pull link description from meta tags 116 | * Allow binding to local IP via `--bind ` 117 | * Change 'users/' folder structure 118 | * Change 'logs/' location 119 | 120 | 0.44.0 / 2014-10-11 121 | =================== 122 | 123 | * Added text color 124 | * Added 'prefetch' option 125 | * Added drag-and-drop tolerance 126 | * Always show right toggle 127 | 128 | 0.43.1 / 2014-10-09 129 | =================== 130 | 131 | * Disable login button on authentication 132 | * Fix 'shout edit' command 133 | 134 | 0.43.0 / 2014-10-08 135 | =================== 136 | 137 | * Smarter nick completion 138 | * Prevent multiple logins 139 | * Fix highlight checking by lower-casing everything 140 | * Allow relative '--home' path 141 | 142 | 0.42.0 / 2014-10-04 143 | =================== 144 | 145 | * Split users by mode in the sidebar 146 | * Show user mode in channel 147 | 148 | 0.41.1 / 2014-10-03 149 | =================== 150 | 151 | * Now installs properly on Windows 152 | 153 | 0.41.0 / 2014-10-03 154 | =================== 155 | 156 | * Use 'bcrypt-nodejs' package 157 | * No need to compile with node-gyp during install 158 | 159 | 0.40.3 / 2014-10-02 160 | =================== 161 | 162 | * Fix issue where actions from other users do not display 163 | 164 | 0.40.2 / 2014-10-01 165 | =================== 166 | 167 | * Fix existsSync 168 | 169 | 0.40.1 / 2014-10-01 170 | =================== 171 | 172 | * Fix config overwrite 173 | 174 | 0.40.0 / 2014-10-01 175 | =================== 176 | 177 | * Prevent private mode when no user exists 178 | * Move config to ~/.shout/ 179 | 180 | 0.39.1 / 2014-09-30 181 | =================== 182 | 183 | * Scrolling now works correctly when loading thumbnails 184 | * List users on server start 185 | 186 | 0.39.0 / 2014-09-30 187 | =================== 188 | 189 | * Added changelog 190 | * Added colored nicknames (optional) 191 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing 2 | 3 | Welcome to the Shout community, it's great to have you here! We thank you in 4 | advance for your contributions. 5 | 6 | ### I have a question 7 | 8 | Find us on the #shout-irc channel. You might not get an answer right away, but 9 | this channel is filled with nice people who will be happy to help you. 10 | 11 | ### I want to report a bug 12 | 13 | First of all, look at the 14 | [open issues](https://github.com/erming/shout/issues) and [closed 15 | issues](https://github.com/erming/shout/issues?q=is%3Aissue+is%3Aclosed) 16 | to see if this was not alredy discussed before. 17 | 18 | ### I want to contribute to the code 19 | 20 | A good starting point if you want to help us but do not have a clear idea of 21 | what you can do specifically is to 22 | look at the open issues labeled as [*quick and 23 | easy*](https://github.com/erming/shout/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3A%22quick+and+easy%22) 24 | or [*help 25 | wanted*](https://github.com/erming/shout/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3A%22help+wanted%22). 26 | 27 | When you submit some code, make sure it respects the overall coding style that 28 | is currently in place. If you do not, our reviewers will surely let you know you 29 | should :smile: (that is, until an automated checker takes over the yelling). 30 | 31 | Also, make sure that your PRs do not contain unnecessary commits. If you think 32 | some of your commits should be merged into a single one, feel free to [squash 33 | them](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History). 34 | 35 | Please [rebase](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) outdated 36 | PRs on master to help with the reviews (rebasing is preferred over merging to 37 | keep a clean history in a branch/PR). 38 | 39 | Additionally, give extra care to your commit messages, as they will help us 40 | review your PRs as well as help other contributors in the future, when exploring 41 | the history. The general rules are to [use the imperative present 42 | tense](https://git-scm.com/book/ch5-2.html#Commit-Guidelines), to start with a 43 | single concise line, followed by a blank line and a more detailed explanation 44 | when necessary. Tim Pope wrote an [excellent 45 | article](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) 46 | on how one should format their commit messages. 47 | 48 | When you send a PR, expect two different reviews from the [project 49 | maintainers](https://github.com/erming/shout/blob/master/CONTRIBUTING.md#project-maintainers). 50 | If necessary, they will make comments and ask for changes. When everything looks 51 | good to them, they will both express their consent by commenting your PR with a 52 | :+1:. Typically, the first reviewer will give a thorough report and exchange 53 | with you, give his :+1:, then ask the second reviewer to confirm the changes. 54 | When this happens (when you get your second required :+1:), then your PR can be 55 | merged. 56 | 57 | Please document any relevant changes in the shout documentation that can be 58 | found [in its own repository](https://github.com/erming/shout-website). 59 | 60 | ### Labels 61 | 62 | When you open an [issue](https://github.com/erming/shout/issues) or send us a 63 | [PR](https://github.com/erming/shout/pulls), it will most likely be given one or 64 | several labels. Here is what they mean: 65 | 66 | - **bug**: Issues that report and PRs that solve any defects that cause 67 | unexpected behaviors. 68 | - **documentation**: Tickets that mention a lack of documentation, suggest their 69 | improvement, or PRs that address these. 70 | - **duplicate**: Tickets already solved in the past or already open. Such 71 | tickets should always link to the previous one on the subject. 72 | - **enhancement**: Tickets that describe a desired feature or PRs that add them 73 | to the project. 74 | - **help wanted**: Tickets that we would like the community to help us with, by 75 | either answering questions or send us PRs. 76 | - **priority**: Tickets that the core team deemed critical and PRs that the core 77 | team should look at before others. 78 | - **question**: Tickets that are actually support cases. 79 | - **quick and easy**: Tickets that should be fairly simple to implement, even 80 | for developers not yet involved in the project. 81 | - **second review needed**: A first reviewer gave his :+1: but now expects a 82 | second reviewer to step in before this PR can be merged. 83 | - **security**: Tickets that describe a security concern or PRs that must be 84 | reviewed with extra care regarding security. 85 | - **wontfix**: Tickets that, after discussion and explanation, will not be fixed 86 | or implemented. 87 | 88 | ### Project maintainers 89 | 90 | - [Mattias Erming](https://github.com/erming) (`erming` on IRC) 91 | - [Jocelyn Delalande](https://github.com/JocelynDelalande) (`JocelynD` on IRC) 92 | - [Jérémie Astori](https://github.com/astorije) (`astorije` on IRC) 93 | - [Paul Friederichsen](https://github.com/floogulinc) (`floogulinc` on IRC) 94 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | # 2 | # Thanks to @Xe for the Dockerfile template 3 | # https://github.com/Shuo-IRC/Shuo/pull/87/files 4 | # 5 | 6 | FROM node:4.0-onbuild 7 | 8 | # Create a non-root user for shout to run in. 9 | RUN useradd --create-home shout 10 | 11 | # Needed for setup of Node.js 12 | ENV HOME /home/shout 13 | 14 | # Customize this to specify where Shout puts its data. 15 | # To link a data container, have it expose /home/shout/data 16 | ENV SHOUT_HOME /home/shout/data 17 | 18 | # Expose HTTP 19 | EXPOSE 9000 20 | 21 | # Drop root. 22 | USER shout 23 | 24 | # Don't use an entrypoint here. It makes debugging difficult. 25 | CMD node index.js --home $SHOUT_HOME 26 | -------------------------------------------------------------------------------- /Gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | var libs = "client/js/libs/**/*.js"; 3 | grunt.initConfig({ 4 | watch: { 5 | files: libs, 6 | tasks: ["uglify"] 7 | }, 8 | uglify: { 9 | options: { 10 | compress: false 11 | }, 12 | js: { 13 | files: { 14 | "client/js/libs.min.js": libs 15 | } 16 | } 17 | } 18 | }); 19 | grunt.loadNpmTasks("grunt-contrib-uglify"); 20 | grunt.loadNpmTasks("grunt-contrib-watch"); 21 | grunt.registerTask( 22 | "build", 23 | function() { 24 | grunt.util.spawn({ 25 | cmd: "node", 26 | args: [ 27 | "node_modules/handlebars/bin/handlebars", 28 | "client/views/", 29 | "-e", "tpl", 30 | "-f", "client/js/shout.templates.js" 31 | ] 32 | }, function(err) { 33 | if (err) console.log(err); 34 | }); 35 | } 36 | ); 37 | grunt.registerTask( 38 | "default", 39 | ["uglify", "build"] 40 | ); 41 | }; 42 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Mattias Erming and contributors 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # (~~Shout~~) DEPRECATED 2 | 3 | Use this very active fork instead: https://github.com/thelounge/thelounge 4 | 5 | ## Install 6 | 7 | ``` 8 | sudo npm install -g shout 9 | ``` 10 | 11 | ## Usage 12 | 13 | When the install is complete, go ahead and run this in your terminal: 14 | 15 | ``` 16 | shout --help 17 | ``` 18 | 19 | ## Official forks 20 | 21 | Check out [The Lounge](https://github.com/thelounge) which is an actively maintained fork: https://github.com/thelounge 22 | 23 | ## License 24 | 25 | Available under the [MIT License](http://mths.be/mit). 26 | -------------------------------------------------------------------------------- /client/audio/pop.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/audio/pop.ogg -------------------------------------------------------------------------------- /client/css/fonts/Lato-700/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato" 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | This license is copied below, and is also available with a FAQ at: 5 | http://scripts.sil.org/OFL 6 | 7 | 8 | ----------------------------------------------------------- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | ----------------------------------------------------------- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide 14 | development of collaborative font projects, to support the font creation 15 | efforts of academic and linguistic communities, and to provide a free and 16 | open framework in which fonts may be shared and improved in partnership 17 | with others. 18 | 19 | The OFL allows the licensed fonts to be used, studied, modified and 20 | redistributed freely as long as they are not sold by themselves. The 21 | fonts, including any derivative works, can be bundled, embedded, 22 | redistributed and/or sold with any software provided that any reserved 23 | names are not used by derivative works. The fonts and derivatives, 24 | however, cannot be released under any other type of license. The 25 | requirement for fonts to remain under this license does not apply 26 | to any document created using the fonts or their derivatives. 27 | 28 | DEFINITIONS 29 | "Font Software" refers to the set of files released by the Copyright 30 | Holder(s) under this license and clearly marked as such. This may 31 | include source files, build scripts and documentation. 32 | 33 | "Reserved Font Name" refers to any names specified as such after the 34 | copyright statement(s). 35 | 36 | "Original Version" refers to the collection of Font Software components as 37 | distributed by the Copyright Holder(s). 38 | 39 | "Modified Version" refers to any derivative made by adding to, deleting, 40 | or substituting -- in part or in whole -- any of the components of the 41 | Original Version, by changing formats or by porting the Font Software to a 42 | new environment. 43 | 44 | "Author" refers to any designer, engineer, programmer, technical 45 | writer or other person who contributed to the Font Software. 46 | 47 | PERMISSION & CONDITIONS 48 | Permission is hereby granted, free of charge, to any person obtaining 49 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 50 | redistribute, and sell modified and unmodified copies of the Font 51 | Software, subject to the following conditions: 52 | 53 | 1) Neither the Font Software nor any of its individual components, 54 | in Original or Modified Versions, may be sold by itself. 55 | 56 | 2) Original or Modified Versions of the Font Software may be bundled, 57 | redistributed and/or sold with any software, provided that each copy 58 | contains the above copyright notice and this license. These can be 59 | included either as stand-alone text files, human-readable headers or 60 | in the appropriate machine-readable metadata fields within text or 61 | binary files as long as those fields can be easily viewed by the user. 62 | 63 | 3) No Modified Version of the Font Software may use the Reserved Font 64 | Name(s) unless explicit written permission is granted by the corresponding 65 | Copyright Holder. This restriction only applies to the primary font name as 66 | presented to the users. 67 | 68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 69 | Software shall not be used to promote, endorse or advertise any 70 | Modified Version, except to acknowledge the contribution(s) of the 71 | Copyright Holder(s) and the Author(s) or with their explicit written 72 | permission. 73 | 74 | 5) The Font Software, modified or unmodified, in part or in whole, 75 | must be distributed entirely under this license, and must not be 76 | distributed under any other license. The requirement for fonts to 77 | remain under this license does not apply to any document created 78 | using the Font Software. 79 | 80 | TERMINATION 81 | This license becomes null and void if any of the above conditions are 82 | not met. 83 | 84 | DISCLAIMER 85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 93 | OTHER DEALINGS IN THE FONT SOFTWARE. 94 | -------------------------------------------------------------------------------- /client/css/fonts/Lato-700/Lato-700.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-700/Lato-700.eot -------------------------------------------------------------------------------- /client/css/fonts/Lato-700/Lato-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-700/Lato-700.ttf -------------------------------------------------------------------------------- /client/css/fonts/Lato-700/Lato-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-700/Lato-700.woff -------------------------------------------------------------------------------- /client/css/fonts/Lato-700/Lato-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-700/Lato-700.woff2 -------------------------------------------------------------------------------- /client/css/fonts/Lato-regular/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato" 2 | 3 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 4 | This license is copied below, and is also available with a FAQ at: 5 | http://scripts.sil.org/OFL 6 | 7 | 8 | ----------------------------------------------------------- 9 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 10 | ----------------------------------------------------------- 11 | 12 | PREAMBLE 13 | The goals of the Open Font License (OFL) are to stimulate worldwide 14 | development of collaborative font projects, to support the font creation 15 | efforts of academic and linguistic communities, and to provide a free and 16 | open framework in which fonts may be shared and improved in partnership 17 | with others. 18 | 19 | The OFL allows the licensed fonts to be used, studied, modified and 20 | redistributed freely as long as they are not sold by themselves. The 21 | fonts, including any derivative works, can be bundled, embedded, 22 | redistributed and/or sold with any software provided that any reserved 23 | names are not used by derivative works. The fonts and derivatives, 24 | however, cannot be released under any other type of license. The 25 | requirement for fonts to remain under this license does not apply 26 | to any document created using the fonts or their derivatives. 27 | 28 | DEFINITIONS 29 | "Font Software" refers to the set of files released by the Copyright 30 | Holder(s) under this license and clearly marked as such. This may 31 | include source files, build scripts and documentation. 32 | 33 | "Reserved Font Name" refers to any names specified as such after the 34 | copyright statement(s). 35 | 36 | "Original Version" refers to the collection of Font Software components as 37 | distributed by the Copyright Holder(s). 38 | 39 | "Modified Version" refers to any derivative made by adding to, deleting, 40 | or substituting -- in part or in whole -- any of the components of the 41 | Original Version, by changing formats or by porting the Font Software to a 42 | new environment. 43 | 44 | "Author" refers to any designer, engineer, programmer, technical 45 | writer or other person who contributed to the Font Software. 46 | 47 | PERMISSION & CONDITIONS 48 | Permission is hereby granted, free of charge, to any person obtaining 49 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 50 | redistribute, and sell modified and unmodified copies of the Font 51 | Software, subject to the following conditions: 52 | 53 | 1) Neither the Font Software nor any of its individual components, 54 | in Original or Modified Versions, may be sold by itself. 55 | 56 | 2) Original or Modified Versions of the Font Software may be bundled, 57 | redistributed and/or sold with any software, provided that each copy 58 | contains the above copyright notice and this license. These can be 59 | included either as stand-alone text files, human-readable headers or 60 | in the appropriate machine-readable metadata fields within text or 61 | binary files as long as those fields can be easily viewed by the user. 62 | 63 | 3) No Modified Version of the Font Software may use the Reserved Font 64 | Name(s) unless explicit written permission is granted by the corresponding 65 | Copyright Holder. This restriction only applies to the primary font name as 66 | presented to the users. 67 | 68 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 69 | Software shall not be used to promote, endorse or advertise any 70 | Modified Version, except to acknowledge the contribution(s) of the 71 | Copyright Holder(s) and the Author(s) or with their explicit written 72 | permission. 73 | 74 | 5) The Font Software, modified or unmodified, in part or in whole, 75 | must be distributed entirely under this license, and must not be 76 | distributed under any other license. The requirement for fonts to 77 | remain under this license does not apply to any document created 78 | using the Font Software. 79 | 80 | TERMINATION 81 | This license becomes null and void if any of the above conditions are 82 | not met. 83 | 84 | DISCLAIMER 85 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 86 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 87 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 88 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 89 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 90 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 91 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 92 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 93 | OTHER DEALINGS IN THE FONT SOFTWARE. 94 | -------------------------------------------------------------------------------- /client/css/fonts/Lato-regular/Lato-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-regular/Lato-regular.eot -------------------------------------------------------------------------------- /client/css/fonts/Lato-regular/Lato-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-regular/Lato-regular.ttf -------------------------------------------------------------------------------- /client/css/fonts/Lato-regular/Lato-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-regular/Lato-regular.woff -------------------------------------------------------------------------------- /client/css/fonts/Lato-regular/Lato-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Lato-regular/Lato-regular.woff2 -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-300/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-300/Open-Sans-300.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-300/Open-Sans-300.eot -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-300/Open-Sans-300.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-300/Open-Sans-300.ttf -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-300/Open-Sans-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-300/Open-Sans-300.woff -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-300/Open-Sans-300.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-300/Open-Sans-300.woff2 -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-700/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-700/Open-Sans-700.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-700/Open-Sans-700.eot -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-700/Open-Sans-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-700/Open-Sans-700.ttf -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-700/Open-Sans-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-700/Open-Sans-700.woff -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-700/Open-Sans-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-700/Open-Sans-700.woff2 -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-regular/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-regular/Open-Sans-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-regular/Open-Sans-regular.eot -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-regular/Open-Sans-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-regular/Open-Sans-regular.ttf -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-regular/Open-Sans-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-regular/Open-Sans-regular.woff -------------------------------------------------------------------------------- /client/css/fonts/Open-Sans-regular/Open-Sans-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/Open-Sans-regular/Open-Sans-regular.woff2 -------------------------------------------------------------------------------- /client/css/fonts/fontawesome.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/fontawesome.woff -------------------------------------------------------------------------------- /client/css/fonts/inconsolatag.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/inconsolatag.ttf -------------------------------------------------------------------------------- /client/css/fonts/inconsolatag.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/css/fonts/inconsolatag.woff -------------------------------------------------------------------------------- /client/img/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/img/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /client/img/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/img/favicon.png -------------------------------------------------------------------------------- /client/img/logo-64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/img/logo-64.png -------------------------------------------------------------------------------- /client/img/logo-dark.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /client/img/logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /client/img/touch-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/erming/shout/943891b6b1fb7eed9ef44c8e8227806e0cf22097/client/img/touch-icon-192x192.png -------------------------------------------------------------------------------- /client/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | Shout 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | "> 25 | 26 |
27 |
28 | 36 |
37 | 38 | 39 | 40 | 41 |
42 |
43 |
44 |
45 |
46 |
47 | 48 |
49 |
50 |
51 |
52 |

Sign in

53 |
54 |
55 | 59 |
60 |
61 | 65 |
66 |
67 | 71 |
72 | 75 |
76 | 79 |
80 |
81 |
82 |
83 |
84 |
85 | 86 |
87 |
88 |
89 |
90 |

Connect

91 |
92 |
> 93 |
94 |

Network settings

95 |
96 |
97 | 98 |
99 |
100 | 101 |
102 |
103 | 104 |
105 |
106 | 107 |
108 |
109 |
110 | 111 |
112 |
113 |
114 |
115 | 116 |
117 |
118 | 119 |
120 |
121 |
122 | 126 |
127 |
128 |
129 |
130 |

User preferences

131 |
132 |
133 | 134 |
135 |
136 | 137 |
138 |
139 |
140 | 141 |
142 |
143 | 144 |
145 |
146 |
147 | 148 |
149 |
150 | 151 |
152 |
153 | 154 |
155 |
156 | 157 |
158 |
159 |
160 | 163 |
164 |
165 |
166 |
167 |
168 |
169 | 170 |
171 |
172 |
173 |
174 |

Settings

175 |
176 |
177 |

Messages

178 |
179 |
180 | 184 |
185 |
186 | 190 |
191 |
192 | 196 |
197 |
198 | 202 |
203 |
204 | 208 |
209 |
210 | 214 |
215 |
216 |

Visual Aids

217 |
218 |
219 | 223 |
224 | <% if (typeof prefetch === "undefined" || prefetch !== false) { %> 225 |
226 |

Links and URLs

227 |
228 |
229 | 233 |
234 |
235 | 239 |
240 | <% } %> 241 |
242 |

Notifications

243 |
244 |
245 | 249 |
250 |
251 | 255 |
256 |
257 |
258 | 259 |
260 |
261 | 262 |
263 | 267 |
268 |
269 |

About Shout

270 |
271 |
272 |

273 | You're currently running version <%= version %>
274 | Check for updates 275 |

276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 | 286 |
287 | 288 | 289 |
290 |
291 |
292 |
293 |
294 |
295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/diff.js: -------------------------------------------------------------------------------- 1 | var diff; 2 | 3 | Handlebars.registerHelper( 4 | "diff", function(a, opt) { 5 | if (a != diff) { 6 | diff = a; 7 | return opt.fn(this); 8 | } else { 9 | return opt.inverse(this); 10 | } 11 | } 12 | ); 13 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/equal.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "equal", function(a, b, opt) { 3 | a = a.toString(); 4 | b = b.toString(); 5 | if (a == b) { 6 | return opt.fn(this); 7 | } else { 8 | return opt.inverse(this); 9 | } 10 | } 11 | ); 12 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/modes.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "modes", function(mode) { 3 | var modes = { 4 | "~": "owner", 5 | "&": "admin", 6 | "@": "op", 7 | "%": "half-op", 8 | "+": "voice", 9 | "" : "normal" 10 | }; 11 | return modes[mode]; 12 | } 13 | ); 14 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/parse.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "parse", function(text) { 3 | var wrap = wraplong(text); 4 | text = escape(text); 5 | text = colors(text); 6 | text = uri(text); 7 | if (wrap) { 8 | return "" + text + ""; 9 | } else { 10 | return text; 11 | } 12 | } 13 | ); 14 | 15 | function wraplong(text) { 16 | var wrap = false; 17 | var split = text.split(" "); 18 | for (var i in split) { 19 | if (split[i].length > 40) { 20 | wrap = true; 21 | } 22 | } 23 | return wrap; 24 | } 25 | 26 | function escape(text) { 27 | var e = { 28 | "<": "<", 29 | ">": ">", 30 | "'": "'" 31 | }; 32 | return text.replace(/[<>']/g, function (c) { 33 | return e[c]; 34 | }); 35 | } 36 | 37 | function uri(text) { 38 | return URI.withinString(text, function(url, start, end, source) { 39 | if (url.indexOf("javascript:") === 0) { 40 | return url; 41 | } 42 | var split = url.split("<"); 43 | url = "" + split[0] + ""; 44 | if (split.length > 1) { 45 | url += "<" + split.slice(1).join("<"); 46 | } 47 | return url; 48 | }); 49 | } 50 | 51 | 52 | /** 53 | * MIRC compliant colour and style parser 54 | * Unfortuanately this is a non trivial operation 55 | * See this branch for source and tests 56 | * https://github.com/megawac/irc-style-parser/tree/shout 57 | */ 58 | var styleCheck_Re = /[\x00-\x1F]/, 59 | back_re = /^([0-9]{1,2})(,([0-9]{1,2}))?/, 60 | colourKey = "\x03", 61 | // breaks all open styles ^O (\x0F) 62 | styleBreak = "\x0F"; 63 | 64 | 65 | function styleTemplate(settings) { 66 | return "" + settings.text + ""; 67 | } 68 | 69 | var styles = [ 70 | ["normal", "\x00", ""], ["underline", "\x1F"], 71 | ["bold", "\x02"], ["italic", "\x1D"] 72 | ].map(function(style) { 73 | var escaped = encodeURI(style[1]).replace("%", "\\x"); 74 | return { 75 | name: style[0], 76 | style: style[2] != null ? style[2] : "irc-" + style[0], 77 | key: style[1], 78 | keyregex: new RegExp(escaped + "(.*?)(" + escaped + "|$)") 79 | }; 80 | }); 81 | 82 | function colors(line) { 83 | // http://www.mirc.com/colors.html 84 | // http://www.aviran.org/stripremove-irc-client-control-characters/ 85 | // https://github.com/perl6/mu/blob/master/examples/rules/Grammar-IRC.pm 86 | // regexs are cruel to parse this thing 87 | 88 | // already done? 89 | if (!styleCheck_Re.test(line)) return line; 90 | 91 | // split up by the irc style break character ^O 92 | if (line.indexOf(styleBreak) >= 0) { 93 | return line.split(styleBreak).map(colors).join(""); 94 | } 95 | 96 | var result = line; 97 | var parseArr = result.split(colourKey); 98 | var text, match, colour, background = ""; 99 | for (var i = 0; i < parseArr.length; i++) { 100 | text = parseArr[i]; 101 | match = text.match(back_re); 102 | if (!match) { 103 | // ^C (no colour) ending. Escape current colour and carry on 104 | background = ""; 105 | continue; 106 | } 107 | colour = "irc-fg" + +match[1]; 108 | // set the background colour 109 | if (match[3]) { 110 | background = " irc-bg" + +match[3]; 111 | } 112 | // update the parsed text result 113 | result = result.replace(colourKey + text, styleTemplate({ 114 | style: colour + background, 115 | text: text.slice(match[0].length) 116 | })); 117 | } 118 | 119 | // Matching styles (italics/bold/underline) 120 | // if only colours were this easy... 121 | styles.forEach(function(style) { 122 | if (result.indexOf(style.key) < 0) return; 123 | result = result.replace(style.keyregex, function(match, text) { 124 | return styleTemplate({ 125 | "style": style.style, 126 | "text": text 127 | }); 128 | }); 129 | }); 130 | 131 | return result; 132 | } 133 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/stringcolor.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "stringcolor", function(str) { 3 | return stringcolor(str); 4 | } 5 | ); 6 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/tz.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "tz", function(time) { 3 | if (time) { 4 | var utc = moment.utc(time, "HH:mm:ss").toDate(); 5 | return moment(utc).format("HH:mm"); 6 | } else { 7 | return ""; 8 | } 9 | } 10 | ); 11 | -------------------------------------------------------------------------------- /client/js/libs/handlebars/users.js: -------------------------------------------------------------------------------- 1 | Handlebars.registerHelper( 2 | "users", function(count) { 3 | return count + " " + (count == 1 ? "user" : "users"); 4 | } 5 | ); 6 | -------------------------------------------------------------------------------- /client/js/libs/jquery/cookie.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jQuery Cookie Plugin v1.4.1 3 | * https://github.com/carhartl/jquery-cookie 4 | * 5 | * Copyright 2013 Klaus Hartl 6 | * Released under the MIT license 7 | */ 8 | (function (factory) { 9 | if (typeof define === 'function' && define.amd) { 10 | // AMD 11 | define(['jquery'], factory); 12 | } else if (typeof exports === 'object') { 13 | // CommonJS 14 | factory(require('jquery')); 15 | } else { 16 | // Browser globals 17 | factory(jQuery); 18 | } 19 | }(function ($) { 20 | 21 | var pluses = /\+/g; 22 | 23 | function encode(s) { 24 | return config.raw ? s : encodeURIComponent(s); 25 | } 26 | 27 | function decode(s) { 28 | return config.raw ? s : decodeURIComponent(s); 29 | } 30 | 31 | function stringifyCookieValue(value) { 32 | return encode(config.json ? JSON.stringify(value) : String(value)); 33 | } 34 | 35 | function parseCookieValue(s) { 36 | if (s.indexOf('"') === 0) { 37 | // This is a quoted cookie as according to RFC2068, unescape... 38 | s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); 39 | } 40 | 41 | try { 42 | // Replace server-side written pluses with spaces. 43 | // If we can't decode the cookie, ignore it, it's unusable. 44 | // If we can't parse the cookie, ignore it, it's unusable. 45 | s = decodeURIComponent(s.replace(pluses, ' ')); 46 | return config.json ? JSON.parse(s) : s; 47 | } catch(e) {} 48 | } 49 | 50 | function read(s, converter) { 51 | var value = config.raw ? s : parseCookieValue(s); 52 | return $.isFunction(converter) ? converter(value) : value; 53 | } 54 | 55 | var config = $.cookie = function (key, value, options) { 56 | 57 | // Write 58 | 59 | if (value !== undefined && !$.isFunction(value)) { 60 | options = $.extend({}, config.defaults, options); 61 | 62 | if (typeof options.expires === 'number') { 63 | var days = options.expires, t = options.expires = new Date(); 64 | t.setTime(+t + days * 864e+5); 65 | } 66 | 67 | return (document.cookie = [ 68 | encode(key), '=', stringifyCookieValue(value), 69 | options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE 70 | options.path ? '; path=' + options.path : '', 71 | options.domain ? '; domain=' + options.domain : '', 72 | options.secure ? '; secure' : '' 73 | ].join('')); 74 | } 75 | 76 | // Read 77 | 78 | var result = key ? undefined : {}; 79 | 80 | // To prevent the for loop in the first place assign an empty array 81 | // in case there are no cookies at all. Also prevents odd result when 82 | // calling $.cookie(). 83 | var cookies = document.cookie ? document.cookie.split('; ') : []; 84 | 85 | for (var i = 0, l = cookies.length; i < l; i++) { 86 | var parts = cookies[i].split('='); 87 | var name = decode(parts.shift()); 88 | var cookie = parts.join('='); 89 | 90 | if (key && key === name) { 91 | // If second argument (value) is a function it's a converter... 92 | result = read(cookie, value); 93 | break; 94 | } 95 | 96 | // Prevent storing a cookie that we couldn't decode. 97 | if (!key && (cookie = read(cookie)) !== undefined) { 98 | result[name] = cookie; 99 | } 100 | } 101 | 102 | return result; 103 | }; 104 | 105 | config.defaults = {}; 106 | 107 | $.removeCookie = function (key, options) { 108 | if ($.cookie(key) === undefined) { 109 | return false; 110 | } 111 | 112 | // Must not alter options, thus extending a fresh object... 113 | $.cookie(key, '', $.extend({}, options, { expires: -1 })); 114 | return !$.cookie(key); 115 | }; 116 | 117 | })); 118 | -------------------------------------------------------------------------------- /client/js/libs/jquery/inputhistory.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * inputhistory 3 | * https://github.com/erming/inputhistory 4 | * v0.3.1 5 | */ 6 | (function($) { 7 | $.inputhistory = {}; 8 | $.inputhistory.defaultOptions = { 9 | history: [], 10 | preventSubmit: false 11 | }; 12 | 13 | $.fn.history = // Alias 14 | $.fn.inputhistory = function(options) { 15 | options = $.extend( 16 | $.inputhistory.defaultOptions, 17 | options 18 | ); 19 | 20 | var self = this; 21 | if (self.size() > 1) { 22 | return self.each(function() { 23 | $(this).history(options); 24 | }); 25 | } 26 | 27 | var history = options.history; 28 | history.push(""); 29 | 30 | var i = 0; 31 | self.on("keydown", function(e) { 32 | var key = e.which; 33 | switch (key) { 34 | case 13: // Enter 35 | if (self.val() != "") { 36 | i = history.length; 37 | history[i - 1] = self.val(); 38 | history.push(""); 39 | if (history[i - 1] == history[i - 2]) { 40 | history.splice(-2, 1); 41 | i--; 42 | } 43 | } 44 | if (!options.preventSubmit) { 45 | self.parents("form").eq(0).submit(); 46 | } 47 | self.val(""); 48 | break; 49 | 50 | case 38: // Up 51 | case 40: // Down 52 | // NOTICE: This is specific to the Shout client. 53 | if (e.ctrlKey || e.metaKey) { 54 | break; 55 | } 56 | history[i] = self.val(); 57 | if (key == 38 && i != 0) { 58 | i--; 59 | } else if (key == 40 && i < history.length - 1) { 60 | i++; 61 | } 62 | self.val(history[i]); 63 | break; 64 | 65 | default: 66 | return; 67 | } 68 | 69 | e.preventDefault(); 70 | }); 71 | 72 | return this; 73 | } 74 | })(jQuery); 75 | -------------------------------------------------------------------------------- /client/js/libs/jquery/stickyscroll.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * stickyscroll 3 | * https://github.com/erming/stickyscroll 4 | * v2.2.0 5 | */ 6 | (function($) { 7 | $.fn.sticky = function() { 8 | if (this.size() > 1) { 9 | return this.each(function() { 10 | $(this).sticky(options); 11 | }); 12 | } 13 | 14 | var isBottom = false; 15 | var self = this; 16 | 17 | this.unbind(".sticky"); 18 | this.on("beforeAppend.sticky", function() { 19 | isBottom = isScrollBottom.call(self); 20 | }); 21 | 22 | this.on("afterAppend.sticky", function() { 23 | if (isBottom) { 24 | self.scrollBottom(); 25 | } 26 | }); 27 | 28 | var overflow = this.css("overflow-y"); 29 | if (overflow == "visible") { 30 | overflow = "auto"; 31 | } 32 | this.css({ 33 | "overflow-y": overflow 34 | }); 35 | 36 | $(window).unbind(".sticky"); 37 | $(window).on("resize.sticky", function() { 38 | self.scrollBottom(); 39 | }); 40 | 41 | this.scrollBottom(); 42 | return this; 43 | }; 44 | 45 | $.fn.scrollBottom = function() { 46 | return this.each(function() { 47 | $(this).animate({scrollTop: this.scrollHeight}, 0); 48 | }); 49 | }; 50 | 51 | $.fn.isScrollBottom = isScrollBottom; 52 | 53 | function isScrollBottom() { 54 | if ((this.scrollTop() + this.outerHeight() + 1) >= this.prop("scrollHeight")) { 55 | return true; 56 | } else { 57 | return false; 58 | } 59 | }; 60 | 61 | var append = $.fn.append; 62 | $.fn.append = function() { 63 | this.trigger("beforeAppend"); 64 | append.apply(this, arguments).trigger("afterAppend") 65 | return this; 66 | }; 67 | })(jQuery); 68 | -------------------------------------------------------------------------------- /client/js/libs/jquery/tabcomplete.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * tabcomplete 3 | * http://github.com/erming/tabcomplete 4 | * v1.3.1 5 | */ 6 | (function($) { 7 | var keys = { 8 | backspace: 8, 9 | tab: 9, 10 | up: 38, 11 | down: 40 12 | }; 13 | 14 | $.tabcomplete = {}; 15 | $.tabcomplete.defaultOptions = { 16 | after: "", 17 | arrowKeys: false, 18 | caseSensitive: false, 19 | hint: "placeholder", 20 | minLength: 1 21 | }; 22 | 23 | $.fn.tab = // Alias 24 | $.fn.tabcomplete = function(args, options) { 25 | if (this.length > 1) { 26 | return this.each(function() { 27 | $(this).tabcomplete(args, options); 28 | }); 29 | } 30 | 31 | // Only enable the plugin on and