You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/Extensions.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -11,4 +11,5 @@ In the future we would like to expand quite a few sections in PrashFour IRC Clie
11
11
6. Username typeahead: Currently we are using Bootstrap's typeahead() which always displays the results BELOW the input field (atleast in our CSS where we have absolute positioning), and to work around this we position it relatively a fixed position above, which never makes it look just "right". We could have implemented javascript to make it look right however we'd like to have more adaptive typeahead solution than Bootstrap provides (multiple words, not just the first word, command support, etc)
12
12
7. Easter Eggs: I mean, who doesn't love easter eggs?
13
13
8. A more advanced /list. Currently we're relying on a "message" view to display the list of things. This restricts the way we can display the data visually. We could have created a new view hoever we did not want to clutter how our views work at the moment.
14
-
9. ROUTER Support: We did not have enough time to implement a router, that is, a #hash based url for each location on the app. Even though there is only one REAL page ("/"), there are other dynamically generated pages, that should be /#/channel/name /#/pm/user, etc. An individual URL for each different window on the navbar (chat window either public or private, or LIST or STATUS)
14
+
9. ROUTER Support: We did not have enough time to implement a router, that is, a #hash based url for each location on the app. Even though there is only one REAL page ("/"), there are other dynamically generated pages, that should be /#/channel/name /#/pm/user, etc. An individual URL for each different window on the navbar (chat window either public or private, or LIST or STATUS)
15
+
10. SSL support that isn't broken: We have the options to select SSL and "self-signed certificates", unfortunately when we tested it with irc.tawx.net +6697, we couldn't connect...even though this is just as simple as passing the SSL parameters to node-irc, we couldn't diagnose why this didn't work...so it'd be good to fix this, as non-SSL IRC makes us sad.
Copy file name to clipboardexpand all lines: docs/Files.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Files
11
11
12
12
/views/
13
13
======
14
-
* index.jade: Loads the javascript files used to manipulate the DOM (Backbone) and access to the templates
14
+
* index.jade: Loads the javascript files used to manipulate the DOM (Backbone) and access to the templates (mainly client.js, which has the others via connect-assets)
15
15
* template.jade: Contains all the templates used to populate the visuals on the client side
Copy file name to clipboardexpand all lines: lib/ircsocketconnect.js
+17-14
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ var irc = require('irc');
2
2
varmongoose=require('mongoose');
3
3
varconfig=require('../config').config;
4
4
5
-
// establish models
5
+
// establish models from mongoose model
6
6
varUser=mongoose.model('User');
7
7
varMessage=mongoose.model('Message');
8
8
@@ -29,8 +29,8 @@ var IRCSocketConnect = function (hostname, port, ssl, selfSigned, nick, realName
29
29
autoRejoin: rejoin,
30
30
autoConnect: true,//Setting autoConnect to false prevents the Client from connecting on instantiation. You will need to call connect() on the client instance:
31
31
channels: channels,//Starting channels, for this will be null usually (no client fields yet)
32
-
secure: ssl,
33
-
selfSigned: selfSigned,
32
+
secure: ssl,//SORT OF BROKEN
33
+
selfSigned: selfSigned,//SORT OF BROKEN
34
34
certExpired: false,
35
35
floodProtection: true,
36
36
floodProtectionDelay: 1000,
@@ -45,7 +45,7 @@ var IRCSocketConnect = function (hostname, port, ssl, selfSigned, nick, realName
0 commit comments