Pavel Djundik
82e192cd2c
Enable link fetcher
2016-04-07 16:04:40 -04:00
Pavel Djundik
356851c3f2
Handle kick
2016-04-07 16:04:40 -04:00
Pavel Djundik
627b698221
Fix creating duplicate query windows when our nick is not known
2016-04-07 16:04:40 -04:00
Pavel Djundik
9ab71b2588
Handle nick
2016-04-07 16:04:40 -04:00
Pavel Djundik
4d986537bc
Handle error
2016-04-07 16:04:40 -04:00
Pavel Djundik
360563528a
Handle channel and user modes
2016-04-07 16:04:40 -04:00
Pavel Djundik
e380319400
Handle parts, quits, topics and topic set by
2016-04-07 16:04:40 -04:00
Pavel Djundik
da425fefaf
Start working on moving to irc-framework
2016-04-07 16:04:28 -04:00
Maxime Poulin
7209bcd58a
Add config option to limit in-memory history size
...
This adds a (temporary?) config option to limit the amount of messages stored per channel to avoid the server's memory usage to grow as channels fills up with messages.
2016-04-06 03:29:35 -04:00
Pavel Djundik
93d7b16cd4
Harden url fetcher and don't crash on non-ASCII urls
2016-03-27 12:50:53 +03:00
Pavel Djundik
05ec819f2d
Merge pull request #222 from maxpoulin64/fix-part
...
Fix /part command
2016-03-27 01:27:54 +02:00
Maxime Poulin
d5e67d6503
Fix /part command
...
Fixes the /part command closing the wrong window. The current implementation simply passes all arguments to slate, which ended up parting every arguments.
This changes the command to `/part message`, and always parts the current window. This will be fixed further once irc-framework is merged.
2016-03-26 16:13:34 -04:00
Jérémie Astori
fefc6c5132
Disallow /query on non-nicks
2016-03-26 13:18:55 -04:00
Pavel Djundik
7d7c3edcec
Add a query command that simply opens a query window
2016-03-24 22:40:36 +02:00
Jérémie Astori
eadcca0b5e
Merge pull request #208 from thelounge/xpaw/remove-commands
...
Remove join, nick and whois inputs, they are cleanly handled by the server
2016-03-22 02:03:50 -04:00
Pavel Djundik
83021cf0ac
Fix #195 : Support port in connect command
2016-03-20 19:35:20 +02:00
Pavel Djundik
9deb0489f6
Disallow parting from lobbies
2016-03-20 18:34:36 +02:00
Pavel Djundik
52b953c492
Remove join, nick and whois inputs, they are cleanly handled by the server
...
Fixes #201
2016-03-20 16:14:37 +02:00
Max-P
c74811c894
Merge pull request #191 from thelounge/astorije/direct-inputs
...
Load input plugins at startup and call them directly when a command is received
2016-03-14 20:38:47 -04:00
Jérémie Astori
93a393f10d
Load input plugins at startup and call them directly when a command is received
2016-03-14 00:21:42 -04:00
Pavel Djundik
96ef274838
Keep track of highlights when user is offline
2016-03-13 18:05:05 +02:00
Pavel Djundik
842b8d620c
Send unknown commands to the server
2016-03-10 10:05:56 +02:00
Pavel Djundik
42a7c54c0a
Fix #153 : Do not intercept service commands
2016-03-09 17:40:57 +02:00
Jérémie Astori
c8664b7cfa
Merge pull request #161 from xPaw/whois-tpl
...
Make whois a client template
2016-03-09 00:16:47 -05:00
Jérémie Astori
6a6c41732d
Make sure highlight lookup stops as soon as a candidate is detected
2016-03-08 01:54:23 -05:00
Jérémie Astori
977b48649b
Fix #156 : Make sure self messages are never highlighted
2016-03-08 01:39:00 -05:00
Pavel Djundik
a61973a156
Make whois a client template
2016-03-07 17:10:46 +02:00
Pavel Djundik
f6563d0ea9
Fix #116 : Move 'you' handling in invites to the client
2016-02-28 10:21:19 +02:00
Pavel Djundik
357e238a45
Fix how highlights are handled
2016-02-28 01:30:20 +02:00
Jérémie Astori
31d938440b
Merge pull request #94 from xPaw/action-templates
...
Move actions to templates
2016-02-26 01:26:48 -05:00
Jocelyn Delande
05ae17328d
Fix /invite command broken by lodash update
...
Broken by #38 / 19bc4f3
2016-02-25 12:43:32 +01:00
Pavel Djundik
2c8c84aec5
Move actions to templates
2016-02-23 18:22:41 +02:00
Alistair McKinlay
b2625aebae
Merge pull request #38 from xPaw/lodash
...
Update lodash
2016-02-21 15:31:44 +00:00
Jérémie Astori
eb794ab080
Add a simplified way to invite a user in the current channel
2016-02-20 16:32:41 +00:00
Alistair McKinlay
761958e3ee
Merge pull request #7 from xPaw/invites
...
Handle invite event
2016-02-19 21:58:22 +00:00
Alistair McKinlay
972aadd674
Merge pull request #58 from maxpoulin64/userlist-lag
...
Only update the users list when needed
2016-02-19 21:24:09 +00:00
Pavel Djundik
19bc4f37e0
Update lodash
2016-02-19 15:13:53 +02:00
Jérémie Astori
172c8d534a
Merge pull request #34 from xPaw/fix-closing-channel
...
Fix #30 : Close channel on the client as soon as close event is registered
2016-02-18 23:23:36 -05:00
Maxime Poulin
5bf205195d
Only update the users list when needed
...
Currently, for join/part/kick/nick/... the server will send an updated list of users and the client will re-render the list entirely. This ends up being a very expensive operation when joined on large channels and causes the client to slow down a lot.
2016-02-17 04:35:55 -05:00
Pavel Djundik
533ec1071b
Handle invite event
2016-02-15 19:23:10 +02:00
Pavel Djundik
937126a43e
Fix #30 : Close channel on the client as soon as close event is registered
2016-02-14 12:08:38 +02:00
Pavel Djundik
b8dbbf8219
Fix #29 : Correctly send sorted user list whenever an user joins
2016-02-14 11:50:48 +02:00
Jérémie Astori
39dc4e8957
Update name and link to repo to new project
2016-02-10 06:20:05 +00:00
Mattias Erming
62672e4b1b
Merge pull request #588 from xPaw/user-actions
...
Render user actions separately
2016-01-24 16:03:12 +01:00
Pavel Djundik
12d798f0e2
Send useragent with link expander requests
2016-01-24 17:01:11 +02:00
Pavel Djundik
bb98be475a
Render user actions separately
2016-01-24 16:59:13 +02:00
Pavel Djundik
06ce48c565
Render user actions separately
2016-01-17 23:18:43 +02: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
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
Orvar Segerström
560de1ac38
Send NOTICE messages to the correct channel
...
Fixes #177
2014-10-19 13:58:31 +02:00
Mattias Erming
fea9fb7a85
Fix indentation
2014-10-14 20:51:27 +02: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
152395d303
Remember network and channels
2014-10-12 01:59:01 +02: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
6bb0650a2b
Fix highlight checking by lower-casing everything
2014-10-08 16:51:46 +01:00
Mattias Erming
b801689eaa
Show user modes in channel
2014-10-04 05:31:45 -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
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
35f6f1a677
Hide ctcp messages
2014-09-27 08:46:32 -07:00
Mattias Erming
7936dab6e3
Show current nick
2014-09-25 16:51:53 -07: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
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
216030710a
Minor changes
2014-09-16 10:33:15 -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
41027adc69
Normalize line endings
2014-09-13 14:29:45 -07:00
Mattias Erming
221ed4b980
Change config.json to config.js
2014-09-13 09:41:11 -07:00
Sascha Depold
aa2406eb4b
Load home directory from helper and make it configurable.
2014-09-13 14:26:45 +02: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
43e74d2908
Fix query windows
2014-09-09 14:28:01 -07:00
Mattias Erming
c66fab06a4
Allow commands on connect
2014-09-09 12:31:23 -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
0199fb4657
Added '/quote' command
2014-08-25 03:35:27 -07:00
Mattias Erming
86134ba72f
Trigger event when sending messages
2014-08-25 02:50:38 -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
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
928220c6c1
Rename lib to src
2014-08-05 00:48:14 -07:00