Permalink
Commits on Mar 21, 2014
  1. Merge pull request #316 from pschichtel/patch-1

    Added a nginx configuration and an init script
    thedjpetersen committed Mar 21, 2014
Commits on Mar 20, 2014
  1. Create README.md

    pschichtel committed Mar 20, 2014
  2. Update README.md

    thedjpetersen committed Mar 20, 2014
  3. Update README.md

    Link to refactored issue
    thedjpetersen committed Mar 20, 2014
Commits on Mar 14, 2014
Commits on Mar 5, 2014
  1. Merge pull request #303 from hermansc/home-button

    Improves home-button design and form-design
    thedjpetersen committed Mar 5, 2014
  2. Merge pull request #299 from hermansc/remember-me

    Adds cookie based login, also called "remember me"-functionality.
    thedjpetersen committed Mar 5, 2014
  3. Merge pull request #311 from jsolis/master

    fixed notification close bug
    thedjpetersen committed Mar 5, 2014
  4. fixed notification close bug

    jsolis committed Mar 5, 2014
Commits on Feb 20, 2014
  1. Improves home-button design and form-design

    Adds a glyphicon icon for the home button, adds some styling and removes
    styles which are already implemented in bootstrap. Lastly it writes some
    classes in ids in "jade-style" and not inside parentheses.
    hermansc committed Feb 20, 2014
Commits on Feb 18, 2014
Commits on Feb 17, 2014
  1. Merge pull request #300 from hermansc/new-channel

    Adds button for joining a channel without writing /join
    thedjpetersen committed Feb 17, 2014
  2. Adds button for joining a channel without writing /join

    Fixes issue #123 and adds a button under the channel list for easily inputing a
    channel name and pressing enter. This should make it more easy for new users to
    IRC, joining channels. Someone with a better feel for UI may want to look at
    how to make this prettier and even simpler.
    hermansc committed Feb 17, 2014
Commits on Feb 16, 2014
  1. Adds cookie based login, also called "remember me"-functionality.

    This commit fixes issue #284 by adding cookies/authentication tokens at the
    client side and validating these in the DB. When a user either registers or
    logs in, without already having a cookie, a sha1-hash is generated using the
    username and a secret key. This hash is stored in a DB-table calles 'Session'
    and client side using the jquery-cookie plugin. When closing and opening the
    application again we check if the users have a 'auth_token' in their cookies,
    if this is the case we check its validity in the DB. If everything is OK, we
    'jump through the hoops' and sets the user as logged in, restores his/hers
    connections and render the chat_application. If it is not valid we delete the
    cookie at the client and render the overview page.
    
    As I've never actually implemented a cookie-based login system using javascript
    before, I do not know if this solution is optimal and I'm more than happy to
    discuss alternative approaches or restructure the code.
    hermansc committed Feb 16, 2014
  2. Merge pull request #291 from totokaka/desktop-notifications

    Changed desktop notifications to support Firefox.
    thedjpetersen committed Feb 16, 2014
  3. Merge pull request #293 from hermansc/close-confirmation-dialog

    Adds confirmation dialog and help text to server and channel close.
    thedjpetersen committed Feb 16, 2014
  4. Merge pull request #295 from hermansc/login-form-fix

    Fixes bug where one could register with empty username or password.
    thedjpetersen committed Feb 16, 2014
  5. Merge pull request #298 from hermansc/irssi-aliases

    Adds some common command shortcuts
    thedjpetersen committed Feb 16, 2014
  6. Merge pull request #297 from hermansc/register-form-alerts

    Gives user notification when a username is already registered.
    thedjpetersen committed Feb 16, 2014
  7. Adds some common command shortcuts

    This commit introduces aliases found, among other clients, in irssi:
    
        /j -> /join
        /t -> /topic
        /q -> /query
    hermansc committed Feb 16, 2014
  8. Gives user notification when a username is already registered.

    The server actually sent an event called 'register_error', but there were
    nothing client-side that listened for it. This commit mitigates this.
    It also clears up any old messages, so that they don't stack up, but rather
    flashes when entering multiple bad passwords or already registered usernames.
    hermansc committed Feb 16, 2014
Commits on Feb 15, 2014
  1. Fixes bug where one could register with empty username or password.

    After commit 48bf2d6 it became possible to register with an empty username
    and/or password. In fact, the checks ensuring a value in the username and
    password fields were referencing legacy classes and no longer working. I thus
    changed to a horizontal form per Twitter Bootstrap documentation[0] and added
    some validation states informing the user of what is wrong.
    
    [0]: http://getbootstrap.com/2.3.2/base-css.html#forms
    hermansc committed Feb 15, 2014
  2. Adds confirmation dialog and help text to server and channel close.

    In order to improve the UX this commit adds a confirmation dialog when
    closing the connection to the server. It also adds a 'title'-tag over
    the close-icon (an 'x') informing the user that pressing this button
    will result in either leaving network or channel.
    hermansc committed Feb 15, 2014
Commits on Feb 14, 2014
  1. Changed desktop notifications to support Firefox.

    Pretty much everything of the notification handling was redone.
    This is tested on Chromium version '32.0.1700.107 (248368)' and
    Firefox version 29 and 27 under linux. More testing would be nice.
    totokaka committed Feb 14, 2014
Commits on Jan 19, 2014
  1. Merge pull request #287 from BYK/gitignore

    Ignore IntelliJ files.
    thedjpetersen committed Jan 19, 2014
  2. Ignore IntelliJ files.

    BYK committed Jan 19, 2014
  3. Merge pull request #286 from BYK/master

    Fix port mismatch when used behind a reverse proxy
    thedjpetersen committed Jan 19, 2014
Commits on Jan 18, 2014
  1. Fix port mismatch when used behind a reverse proxy

    Websockets port is always the same as the static web server port so
    instead of having some tricks, this patch simply removes that and uses
    `document.location.protocol` for the port.
    BYK committed Jan 18, 2014
Commits on Jan 2, 2014
  1. Merge pull request #280 from nrn/master

    Set connected to false on disconnect
    thedjpetersen committed Jan 2, 2014
Commits on Jan 1, 2014
  1. Set connected to false on disconnect

    Make leave dialog only pop up when connected
    and logged in.
    nrn committed Jan 1, 2014
Commits on Nov 23, 2013
  1. Merge pull request #275 from badosu/add-list-command

    Add list command
    ericbarch committed Nov 23, 2013
  2. Merge pull request #276 from badosu/avoid-locking-with-logging

    Avoid locking with logging
    ericbarch committed Nov 23, 2013
Commits on Nov 22, 2013