Commit graph

1000 commits

Author SHA1 Message Date
Shell Turner cb588dc22f Don't sudo when editing the config 2014-10-01 19:38:35 +02:00
Shell Turner b7fd64c2d8 Change config command to edit config.js in the Shout home directory
Also, copy config.js to the Shout home directory if it's not already
there.
2014-10-01 19:38:28 +02:00
Shell Turner 791a5914df Move config.js into the Shout home directory by default 2014-10-01 19:34:55 +02:00
Shell Turner 7e4534afa9 Always go through the Helper object to load config 2014-10-01 18:53:54 +02:00
Mattias Erming bf8939cf06 List users on server start 2014-09-30 13:23:14 -07:00
Mattias Erming 9947b537b6 Fix bug causing users to disconnect 2014-09-29 08:49:38 -07:00
Mattias Erming e4b4e0e065 Fix log highlight 2014-09-27 17:14:52 -07:00
Mattias Erming 6c6e76afda Persist inline links 2014-09-27 16:47:04 -07:00
Mattias Erming 3a28afe408 Fetch page titles 2014-09-27 13:39:14 -07:00
Mattias Erming 2a00fb1bb6 Added link plugin 2014-09-27 12:17:13 -07:00
Mattias Erming ea5f7b2517 Call trim() on input string 2014-09-27 08:57:25 -07:00
Mattias Erming 35f6f1a677 Hide ctcp messages 2014-09-27 08:46:32 -07:00
Mattias Erming 3e22b6e88a Added https support 2014-09-26 16:26:21 -07:00
Mattias Erming 4c94a67d49 Use express 2014-09-26 15:12:53 -07:00
Mattias Erming 7936dab6e3 Show current nick 2014-09-25 16:51:53 -07:00
Mattias Erming 4d9b58ecd5 Autoload users 2014-09-24 15:23:54 -07:00
Mattias Erming 8793551371 Sync sidebar order 2014-09-24 12:42:36 -07:00
Suyeol Jeon 1839162421 Add username field to user info.
Most of the networks don't allow unicode username. This patch allows users to specify username optionally. When specified, username is used for connecting IRC networks instead of nickname.
2014-09-24 20:08:14 +09:00
Mattias Erming 69af79a635 Merge pull request #156 from dremex/custom-quit-message
Added custom quit message functionality. Resolves erming/shout#71
2014-09-22 19:15:16 +02:00
Mattias Erming bd113dd46e Minor fix 2014-09-21 09:48:35 -07:00
Mattias Erming 11f3d452dd Server-side tracking of new message count 2014-09-21 09:46:43 -07:00
Kerry Peterson 6ed1a70f1c Added custom quit message functionality. Resolves erming/shout#71 2014-09-16 19:46:14 -06:00
Mattias Erming ea1aaf2d6e Minor changes 2014-09-16 13:39:19 -07:00
Mattias Erming f3aee8f6cb Minor changes 2014-09-16 13:06:13 -07:00
Mattias Erming 695e76a544 Added logging 2014-09-16 12:47:01 -07:00
Mattias Erming 56b72071ec Fix login 2014-09-16 10:43:02 -07:00
Mattias Erming 216030710a Minor changes 2014-09-16 10:33:15 -07:00
Mattias Erming c3552319cd Update 'add' command 2014-09-15 14:31:25 -07:00
Mattias Erming 78d36d6750 Added 'Remember' login option 2014-09-15 14:13:03 -07:00
Mattias Erming 7defba55eb Added '-v, --version' option 2014-09-15 12:51:04 -07:00
Mattias Erming 3c76399cd0 Added '--public' and '--private' options 2014-09-15 12:37:05 -07:00
Mattias Erming b52b860167 Fix login 2014-09-14 12:13:34 -07:00
Mattias Erming 66785be200 Fix bugs 2014-09-14 11:49:42 -07:00
Fredrik Pettersen fabbb43e18 Added boolean flag if message was sent from "me"
Your own messages now have a different color, and the possibility of
changing colors etc in css of all things sent by yourself
2014-09-14 19:06:56 +02:00
Mattias Erming caae8b859f Merge pull request #144 from kode54/master
Corrected user list prefix priority and added an extra mode prefix.
2014-09-14 12:53:01 +02:00
Mattias Erming 9553aa1888 Merge pull request #145 from sdepold/hotfix/merge-conflict
Remove legacy access to home variable
2014-09-14 12:52:52 +02:00
Sascha Depold 24803a73d7 Remove legacy access to home variable 2014-09-14 07:08:08 +02:00
Chris Moeller e83be28223 Corrected user list prefix priority and added an extra mode prefix. 2014-09-14 01:11:19 +01:00
Mattias Erming 136213da73 Hidden password reset 2014-09-13 17:10:06 -07:00
Mattias Erming 2b41e2e88e Fix password reset 2014-09-13 15:42:11 -07:00
Mattias Erming 0d38f004d9 Add missing require 2014-09-13 14:55:07 -07:00
Mattias Erming 41027adc69 Normalize line endings 2014-09-13 14:29:45 -07:00
YuviPanda 9b2095fcbc Fix scope error in ClientManager.loadUser 2014-09-13 18:51:34 +01:00
YuviPanda f015e4bfd4 Add missing semicolons 2014-09-13 18:51:34 +01:00
YuviPanda f752d55b37 Add missing semicolon 2014-09-13 18:51:34 +01:00
YuviPanda 77484ccdf3 Remove duplicate definition of path variable 2014-09-13 18:51:10 +01:00
Mattias Erming b3b36282aa Refactoring 2014-09-13 10:10:32 -07:00
Mattias Erming 221ed4b980 Change config.json to config.js 2014-09-13 09:41:11 -07:00
Mattias Erming ead12493ff Merge pull request #123 from sdepold/feature/configurable-home
Load home directory from helper and make it configurable.
2014-09-13 18:29:33 +02:00
YuviPanda 8bbfb9618c Don't echo password on commandline when reading 2014-09-13 16:21:57 +01:00
Sascha Depold aa2406eb4b Load home directory from helper and make it configurable. 2014-09-13 14:26:45 +02:00
Chris Moeller 1076ee4e06 Server correctly sends text/html MIME type and response code 200 for the root index. 2014-09-13 05:54:17 +01:00
Chris Moeller b32520b1f9 Add a 500ms between network connections, to prevent hitting operating system rate limiting. 2014-09-13 05:52:03 +01:00
Mattias Erming 0f68823298 Fix 'shout add' crash 2014-09-11 16:55:50 -07:00
Mattias Erming d53c0716e6 Added 'shout reset' command 2014-09-11 14:00:18 -07:00
Mattias Erming 428f63946b Added password hashing 2014-09-11 13:37:16 -07:00
Mattias Erming 815ed887f4 Fix multiple query windows 2014-09-11 11:05:33 -07:00
Mattias Erming 666f21cd66 Added MOTD messages 2014-09-11 10:24:32 -07:00
Mattias Erming 05a51f74a7 Fix the 'Show More' button 2014-09-10 12:23:56 -07:00
Mattias Erming 0e00f894a8 Set default port based on TLS setting 2014-09-10 09:22:58 -07:00
Mattias Erming ef22d84d97 Add TLS/SSL support 2014-09-10 08:56:32 -07:00
Mattias Erming 1731fcdcad Fix custom name 2014-09-09 15:32:26 -07:00
Mattias Erming 0f754ea703 Allow custom network name 2014-09-09 15:20:07 -07:00
Mattias Erming 43e74d2908 Fix query windows 2014-09-09 14:28:01 -07:00
Mattias Erming 74d0765e00 Better --help output 2014-09-09 13:06:36 -07:00
Mattias Erming c66fab06a4 Allow commands on connect 2014-09-09 12:31:23 -07:00
Mattias Erming 965981e112 Fix login 2014-09-09 10:23:46 -07:00
Stuart P. Bentley 3cfa1f42b2 Use PORT and IP environment variables
This makes Shout Heroku / Dokku / Plusku compatible.
2014-09-09 11:20:24 +00:00
Mattias Erming 25afe0f0c3 Merge pull request #55 from roccozanni/master
Add server password. Add rejectUnauthorized to disable SSL verification
2014-09-09 11:16:37 +02:00
Mattias Erming 404442f138 Bump version 2014-09-09 01:21:09 -07:00
Mattias Erming b50deee77e Merge pull request #68 from JonathanHuot/master
Added listen IP parameter
2014-09-09 10:18:54 +02:00
Mattias Erming 04da27617e Create 'users/' if not exist 2014-09-09 01:10:09 -07:00
Jonathan Huot 3a093dacd8 Added listen IP parameter. Listening on localhost allow to put Nginx/Varnish in front of shout server 2014-09-09 09:48:53 +02:00
Rocco Zanni 86271f6ad0 Add server password. Add rejectUnauthorized to disable SSL verification 2014-09-08 23:24:20 +02:00
Yuki Morishita 41837210e1 Customizable server name
Read server name from config if "name" is present.
2014-09-08 14:45:54 -05:00
Mattias Erming 2f5be12d00 Minor change 2014-09-08 10:28:12 -07:00
Mattias Erming 53e08ebff3 Added CTCP replies 2014-09-03 14:43:27 -07:00
Mattias Erming 5594d49d11 Fix broken queries 2014-08-27 07:34:03 -07:00
Mattias Erming 90cce21e3a Minor changes 2014-08-26 11:15:17 -07:00
Mattias Erming 752c4c491b Save users in ~/.shout/ 2014-08-26 11:01:26 -07:00
Mattias Erming 0199fb4657 Added '/quote' command 2014-08-25 03:35:27 -07:00
Mattias Erming 34b729440e Fix name prettify 2014-08-25 03:14:28 -07:00
Mattias Erming 86134ba72f Trigger event when sending messages 2014-08-25 02:50:38 -07:00
Mattias Erming 6be53fba43 Rename cli folder 2014-08-25 02:40:13 -07:00
Mattias Erming 4c2e1e24f7 Added 'shout edit' command 2014-08-24 17:19:21 -07:00
Mattias Erming 100d3dee18 Added 'shout config' command 2014-08-18 18:53:17 -07:00
Mattias Erming 5e9c032591 Move cli code 2014-08-18 18:18:40 -07:00
Mattias Erming 523a9cd734 Fix failing thumbnails 2014-08-18 17:07:21 -07:00
Mattias Erming a904de5d7a Minor changes 2014-08-18 17:07:21 -07:00
Mattias Erming 357578e20c Use superagent for image download 2014-08-17 14:40:26 -07:00
Mattias Erming b36e069895 Update cli commands 2014-08-17 06:33:48 -07:00
Mattias Erming ac156544f0 Fetch remote images 2014-08-16 14:19:15 -07:00
Mattias Erming 0fcdbeadec Added thumbnail plugin 2014-08-16 12:49:28 -07:00
Mattias Erming 67375a2600 Updated the cli 2014-08-14 10:26:03 -07:00
Mattias Erming eb7c40276e Run private server by default
Use `shout start --public` or edit your `config.json` to override.
2014-08-14 09:37:26 -07:00
Mattias Erming 43b6310481 Added user loading 2014-08-13 18:52:02 -07:00
Mattias Erming c870dc8c15 Added ClientManager class 2014-08-13 16:43:25 -07:00
Mattias Erming cd1383c1f0 Added --port option 2014-08-05 01:44:29 -07:00
Mattias Erming 4b21c319c2 Turn index.js into an executable 2014-08-05 01:32:50 -07:00
Mattias Erming 928220c6c1 Rename lib to src 2014-08-05 00:48:14 -07:00