Permalink
Switch branches/tags
Nothing to show
Commits on Nov 28, 2012
  1. Update README.md

    Scenic released!
    committed Nov 28, 2012
  2. Fix 'Show Pictures' scroll problem.

    'overflow' should be auto, not hidden to show scroll bar
    when the height overflows.
    committed Nov 28, 2012
Commits on Nov 27, 2012
  1. Remove useless 'debug' option in settings.js.

    'debug' is not used and I think it'll never be used
    cause we use 'forever' and forever help us to catch
    exceptions and keep the process running.
    committed Nov 27, 2012
  2. Fix adjustHeight function in channel picture view.

    If there's paddingTop for canvas, the height of canvas
    should be decreased by the paddingTop.
    committed Nov 27, 2012
  3. Change console.log to alert in filedrop error handler.

    It's better idea to show what error happened than
    do nothing.
    committed Nov 27, 2012
  4. Add drag-and-drop status bar.

    Drag-and-drop status bar displays the helper text and
    the loading effect.
    committed Nov 27, 2012
Commits on Nov 26, 2012
  1. Handle gm().size error.

    When invalid image file uploaded, error occurs when gm try to
    get the image size.
    committed Nov 26, 2012
  2. Add drag-and-drop upload feature.

    Using jquery.filedrop plugin.
    committed Nov 26, 2012
  3. Add jquery filedrop plugin.

    Modified version of jquery.filedrop plugin.
    Authored by weixiyen, modified by noraesae.
    committed Nov 26, 2012
Commits on Nov 22, 2012
  1. Add 'Show Pictures' feature.

    Now can see the pictures in the channel and when a picture clicked,
    the channel's picture is changed to it.
    committed Nov 22, 2012
  2. Convert mongoose field's dictionary keys to string.

    Code refactoring with jshint.
    committed Nov 22, 2012
  3. Fix thumbnail size manipulation.

    Thumbnail size should be minimum 300px, not
    maximum 300px.
    committed Nov 22, 2012
  4. Move delete-dialog lines from handler to app-view.

    Code refactoring.
    committed Nov 22, 2012
Commits on Nov 19, 2012
  1. Ready to create 'Show Pictures' function.

    Client-side preperation for 'Show Pictures' functions.
    Not yet added a handler.
    committed Nov 19, 2012
  2. Add a handler to get picture lists in the channel.

    The handler returns a picture id list sorted by
    descending order of the uploaded date as JSON format.
    committed Nov 19, 2012
  3. Add change_picture handler and notice.

    Server-side handler for picture changing, and
    add the notice about picture changing for users.
    committed Nov 19, 2012
Commits on Nov 18, 2012
  1. IE support.

    Tested with MSIE 8.
    committed Nov 18, 2012
  2. Apply 'scroll to bottom' to notice function.

    Bottom scrolling should be applied to notice function but
    I missed it.
    committed Nov 18, 2012
  3. Fix the bug that chat input is disabled when using Korean.

    There was the bug that when type Korean continuously,
    suddenly the chat input is disabled. This patch fix it and
    refactor key events with browser tests.
    committed Nov 18, 2012
Commits on Nov 17, 2012
  1. Serve the current picture on channel join.

    If the current picture is set with the last image in the channel.
    When a picture uploaded, the current picture is changed with it.
    If there's no picture in the channel, serve null.
    committed Nov 17, 2012
  2. Add empty channel view.

    It'll be used when there's no image uploaded in the channel.
    committed Nov 17, 2012
  3. Refactoring the client channel view.

    Remove channel template, cause it's useless.
    And refactor the codes with jshint.
    committed Nov 17, 2012
  4. Add picture ids to channel model's pictures list.

    If a picture is uploaded, it should be pushed to
    the channel's picture list so that users can
    see them or change the channel's picture with them.
    committed Nov 17, 2012
Commits on Nov 16, 2012
  1. Add client functions to load picture from server.

    On 'picture_changed', load picture and show in the
    middle of the main view.
    committed Nov 16, 2012
  2. Set pictures' width and height.

    Set pictures model's width and height property,
    and serve them to client.
    committed Nov 16, 2012
Commits on Nov 15, 2012
  1. Implement server-side logic to change current picture.

    Now when a picture uploaded, change the channel's
    current_picture and emit the picture's id to the clients.
    committed Nov 15, 2012
  2. Fix the bug that fail to create thumbnail of gif file format.

    There is the bug in node-gm that it can't parse the size
    of gif properly. Thus if the file is gif, convert it to jpg
    and then get size.
    committed Nov 15, 2012
  3. Show error message from server in upload-picture dialog.

    For debug purpose.
    committed Nov 15, 2012
  4. Add get handlers for pictures.

    Can get pictures' original, minified and thumbnail version.
    committed Nov 15, 2012
Commits on Nov 14, 2012
  1. Main script can contain initializing process.

    scenic.js has a waterfall-flow initializing process.
    committed Nov 14, 2012
  2. Create thumbnail and minified image for original.

    With gm, create a thumbnail and a minified image.
    The thumbnail'll be used to show pictures in the channel,
    and the minified image will be provided as a default image
    cause of traffic issue.
    committed Nov 14, 2012
  3. Change gm version from 1.5 to 1.6.

    Size getter is very slow on 1.5.
    committed Nov 14, 2012
  4. Remove models from client.

    They would not be used.
    committed Nov 14, 2012
Commits on Nov 13, 2012
  1. Use 'findOne' instead of 'find' for mongoose models.

    Replace 'find' with 'findOne' for refactoring issue.
    committed Nov 13, 2012