Commit graph

176 commits

Author SHA1 Message Date
JocelynDelalande 8a80ee343d Merge pull request #519 from lyra833/escape-channel
Fixed a bug preventing logging
2015-12-01 22:09:13 +01:00
Olivier Lambert e5858744a2 Limit preview for large image files (fix #500) 2015-11-09 10:07:47 +01:00
William Boman 8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Alexander Gould 0d6b3b00c3 slashes are replaced with %'s when writing log files 2015-10-14 19:53:27 -04:00
Jérémie Astori df4a91fd05 Merge pull request #409 from kalaksi/fix_topic_on_ui
Fix topic on UI
2015-10-04 14:54:57 -04:00
Olli Mäntylä 4293336f3e Move escaping of topic and improve UI for long topics
- Data should be handled as is and only do the escaping on
the view/template or wherever it is used and escaping is necessary.
Keeps things simple and the focus of escaping values in the right place.
- Remove topic capitalization
- For long topics: hide overflow and add a title to topic span
- Also, simplify the code a tiny bit.
2015-10-03 17:04:05 +03:00
Jocelyn Delande 58aa236dcd Revert "Ignore localhost links" (on prefetch)
This reverts commit 29b66ff0ec.

Rationale:

1) It's not a security feature (abuse of prefetch can be on any server it's not
   more/less risky on localhost), it's pseudo-security measure
2) It's not to us to judge if it has no use-case (in fact it has, ex: two dev
   speaking and experimenting about urls of their local site/app instance,
   local web apps...)

refs #388
2015-09-29 22:22:45 +02:00
Mattias Erming 2cee0ea6ef Increase process.setMaxListeners 2015-04-29 12:55:34 -07:00
Mattias Erming 29b66ff0ec Ignore localhost links 2015-04-06 10:40:12 -07:00
PangeaCake 6c852a849a Prevent HTML injection through /topic!!!!
Really big security issue here.
2015-01-21 19:04:01 -08:00
Mattias Erming bce916ba52 Merge pull request #325 from codl/master
support @foobar-type highlighting
2015-01-11 23:41:27 +01:00
Mattias Erming e54feda878 Fix crash on broken links 2015-01-03 18:58:12 -08:00
Jon Nettleton 13717bd4f7 Catch undefined content-type headers
If content-type is undefined then catch the exception and set it
to empty just as is done for the body.
2015-01-03 10:03:43 +01:00
Corentin Delcourt 5efeffb7b8 support @foobar-type highlighting 2014-12-31 15:02:12 +01:00
Cyrus 36d861fd79 handles errors, increase limit 2014-12-23 09:06:11 +08:00
Cyrus db6c6aaffc unconsole.log 2014-12-22 08:57:29 +08:00
Cyrus bd191c09e5 conserve bandwidth
include application/json

should be using hyperquest

appplication typo

adapt res

res.text

remove superagent dependency
2014-12-22 08:29:26 +08:00
Mattias Erming 67f6e526f2 Fetch max 1 link per message 2014-12-12 00:48:43 +01:00
Mattias Erming 9b03be22b2 Added service shortcuts 2014-12-11 23:34:22 +01:00
Mattias Erming 53faab2f41 Ignore query variables 2014-12-11 23:19:09 +01:00
fbm-static 25e9f24d8b fix commands not being removed 2014-11-10 00:01:22 +08:00
Mattias Erming 4d525eba88 Fix config 2014-11-06 11:48:10 +00:00
Riku Rouvila 9416c492dd add socket.io transports to configuration 2014-11-01 22:06:01 +02:00
Mattias Erming 1dc9929cf7 Remove password argument from add command 2014-10-27 22:55:20 +01:00
Mattias Erming 02d43ad896 Merge pull request #259 from theVDude/master
Fix edit command
2014-10-27 22:49:14 +01:00
thevdude d18f318cad fix command-line scripts to work with username.json files 2014-10-22 22:37:29 -04:00
Orvar Segerström 560de1ac38 Send NOTICE messages to the correct channel
Fixes #177
2014-10-19 13:58:31 +02:00
Mattias Erming 5e6ac19d0f Fix crash on failed TLS connect 2014-10-16 23:33:07 +02:00
Mattias Erming 12152b8104 Ignore folders in 'users/' 2014-10-15 00:24:29 +02:00
Mattias Erming e914ed50eb Fix '--home' option 2014-10-14 22:53:26 +02:00
Mattias Erming 1a620e1d54 Change 'users/' folder structure 2014-10-14 22:05:16 +02:00
Mattias Erming dcdec78c4e Change 'logs/' location 2014-10-14 21:25:36 +02:00
Mattias Erming 193b30b8a7 Remove user reload for now 2014-10-14 21:14:14 +02:00
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