Commit graph

143 commits

Author SHA1 Message Date
Mattias Erming 377e778f5d Move config.js 2014-10-14 21:10:09 +02:00
Mattias Erming fea9fb7a85 Fix indentation 2014-10-14 20:51:27 +02:00
Mattias Erming 4dc9c66859 Bring back process.env variables 2014-10-14 20:47:49 +02:00
Mattias Erming 62b15ab193 Merge pull request #232 from xeoncore/autoload
Refactored Autoload system
2014-10-12 17:09:11 +02:00
Mattias Erming c07c0f215a Merge pull request #228 from xeoncore/ogimage
Pull in extra meta data for links
2014-10-12 15:22:00 +02:00
Mattias Erming f50568b6ec Merge pull request #230 from xeoncore/bug/illegalusernames
Replace illegal characters in username
2014-10-12 15:11:28 +02:00
XeonCore 8a61e4e969 Refactored Autoload
Autoload now uses kernel events to watch files on disk. This greatly increases performance and reliability. Autoload will also watch user.json files for changes and reload the users data.
2014-10-12 19:30:22 +11:00
XeonCore 0ba67481fb Listen to SIGHUP and reload users
Listens for a 'SIGHUP' signal and reloads users when it gets one. The signal won't be listened to if its running on Windows as a SIGHUP indicates a console window closing.
2014-10-12 17:52:51 +11:00
XeonCore 3998998871 Don't save when running in public mode 2014-10-12 16:15:03 +11:00
XeonCore 35f347472a Replace illegal characters in username
When a user has an _ or any other non-alphanumeric characters in their nickname, Shout would fail to connect to some IRC servers. This replaces all non-alphanumeric characters in the nickname before sending it as the username.
2014-10-12 15:52:43 +11:00
XeonCore 76f3646249 Restore old No description found message
When there is no meta tags, keep the old No Description found message
2014-10-12 12:53:01 +11:00
XeonCore 20d1e1b212 Add thumbnail to toggles when sites have them
Displays a small thumbnail above each toggle that comes from either og:image or twitter:image meta tags.
2014-10-12 12:42:30 +11:00
XeonCore 81d49c8e69 Pull description information from meta tags
Tries to extract a description from the page by looking at meta and og description tags
2014-10-12 12:38:38 +11:00
Mattias Erming 40f8a4ddc4 Delay save function 2014-10-12 02:20:30 +02:00
Mattias Erming 152395d303 Remember network and channels 2014-10-12 01:59:01 +02:00
Mattias Erming aa02b0eaa7 Added client save 2014-10-12 00:47:24 +02:00
Mattias Erming 81401cec0f Added network export function 2014-10-11 22:44:56 +02:00
Mattias Erming 95bebfe12c Refactoring 2014-10-11 19:33:28 +02:00
Mattias Erming 3918c0ab61 Merge pull request #226 from wizardfrag/identd 2014-10-11 17:26:41 +02:00
Mattias Erming d1296abf12 Clean up server options 2014-10-11 14:35:28 +02:00
David White acd0b29671 Remove old debug/logging lines 2014-10-11 11:26:28 +01:00
David White ea0e66afd0 Set up identd and make it work on connection 😎 2014-10-11 11:09:27 +01:00
XeonCore dbd423e5a1 Allow binding to a local IP 2014-10-11 17:17:41 +11:00
Mattias Erming 681d3dac1a Added 'prefetch' option 2014-10-10 23:12:08 +02:00
Mattias Erming f42a6487d6 Emit topic over socket 2014-10-10 22:05:25 +02:00
David White 924bc39a95 Fix cut/paste error in close event 2014-10-09 16:56:32 +01:00
David White 898fed76c6 Add initial support for identd 2014-10-09 16:46:12 +01:00
David White df1578689f Replace "vi" with $EDITOR in config command 2014-10-09 13:40:16 +01:00
David White a6aa40b1c1 Fix missing Helper method in edit and use $EDITOR
* Fix the missing Helper method in the edit command to use Helper.HOME and the correct path assembly method (path.join) instead of joining strings together!
* Use $EDITOR instead of "vi" in the event a user doesn't have "vi" installed or doesn't understand it. Fallback to "vi" in case user doesn't have $EDITOR set.
2014-10-09 09:27:36 +01:00
Mattias Erming 2e964ca629 Prevent multiple logins 2014-10-08 22:16:10 +02:00
David White 6bb0650a2b Fix highlight checking by lower-casing everything 2014-10-08 16:51:46 +01:00
Mattias Erming 0944456ade Allow relative '--home' path 2014-10-04 16:22:23 -07:00
Mattias Erming 72354700f0 Fix add user 2014-10-04 15:05:19 -07:00
Mattias Erming b801689eaa Show user modes in channel 2014-10-04 05:31:45 -07:00
Mattias Erming 17ef33808a Fallback to USERPROFILE environment variable 2014-10-03 16:42:39 -07:00
Mattias Erming 2ed7d6364c Added '--home <path>' option 2014-10-03 16:33:44 -07:00
Mattias Erming 316fba3c08 Use 'bcrypt-nodejs' package 2014-10-03 02:57:35 -07:00
David White 58af356843 Replace bad regex with a substring test 2014-10-02 15:46:51 +01:00
David White 58709d021d Fix an issue where the word ACTION in a /me can be stripped 2014-10-02 15:25:31 +01:00
David White 18b41b8516 Fix issue #208 where actions from other users do not display 2014-10-02 15:25:06 +01:00
Shell Turner 3abec636fa Fix fs.exists to existsSync where necessary 2014-10-01 23:25:25 +02:00
Mattias Erming 354dac6a52 Fix config overwrite 2014-10-01 14:17:20 -07:00
Mattias Erming 656900448b Prevent private mode when no user exists 2014-10-01 12:05:07 -07:00
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