58 Commits

Autor SHA1 Mensagem Data
Joshua Gross 7fe6758c6d Added message sending, status setting capabilities; remove old im.js; reconnect
* Sending messages between users now works
* Setting status now works (status message not working yet)
* Reconnecting setup
* Temporarily disabled "not connected" tooltip
2011-04-19 11:18:21 -05:00
Joshua Gross d0508b4b7f Automatically start the IM on DOM Ready; setup scrollers; add right scroller 2011-03-14 18:54:22 -04:00
Joshua Gross 3f75e46a67 Use base64-encoded images in default theme; autogrow textarea fixed; chat store
* Convert pngs to base64-encoded files and embed them in the default theme.css
* Use autogrow.js library in place of home-grown textarea autogrow; new library
  is more reliable
* Fix chat storage such that it restores and saves from/to the proper key
2011-03-13 00:24:43 -05:00
Joshua Gross 5f158cc907 Add localization file; break templates down more; local storage working
* Localization file added (necessary for error/state message and date formats)
* Message templates broken down further into containers and individual messages
* Chat & friends list storage saving/restoration works
2011-03-12 14:23:11 -05:00
Joshua Gross 5a58becdea Some progress on the new client; fix server bugs; temp. disable auto-compress
* Client partially rewritten to support socket.io
* Fix some typos in the server code that would cause it to crash on sess purge
* Add xxtea library for client-side encryption of localStorage data
* Convert theme.html to templates.js to simplify IM loading procedure
* Uglifyjs crashes on xxtea library; temporarily disable until another solution
  is found
* Remove google-compliler and build dir (for now)
2011-03-06 00:22:35 -06:00
Joshua Gross 1be565833d Serve client files from the server (with optional automatic JS compression). 2011-03-03 10:56:16 -06:00
Joshua Gross bd0f2562df Implement socket.io and break apart message/session/auth libraries.
* Library modularization inspired heavily by pjriot
  (http://bitbucket.org/pjriot/nodeim)
* Remove dev server
* Remove daemon library (not working)
* Nix middleware scripts
* Nix express.js usage
2011-03-03 00:09:47 -06:00
Joshua Gross 5f67201e39 Merge latest changes from master. 2011-03-02 21:34:27 -06:00
Joshua Gross 053795c875 Add wiki link to README 2010-12-30 11:51:55 -05:00
Joshua Gross 4cd2d4f406 Adjust /dev jade layout for latest version of Jade (0.6.0) 2010-12-22 00:13:25 -05:00
Joshua Gross e43ecf2c82 Update README 2010-11-22 13:46:33 -06:00
Joshua Gross dc8a4ab000 Add status message display to friends list; status message propigated. 2010-11-22 13:34:23 -06:00
Joshua Gross 00de205459 Fix issue #38, pass active request object to authentication library 2010-11-21 13:37:24 -06:00
Joshua Gross 263b00b5cd Fix issue #37; some code cleanup. 2010-11-21 11:59:17 -06:00
Joshua Gross 409199ea97 Status panel implementation completed; offline/reconnect feature added. 2010-11-21 11:39:52 -06:00
Joshua Gross 3d667cf94b Merge branch '35-remove-ext' 2010-09-29 08:51:29 -05:00
Joshua Gross df28002475 Fix for jade chat template throwing error 2010-09-27 14:29:47 -05:00
Joshua Gross 1793897395 Working with the socket.io test script 2010-09-27 14:27:11 -05:00
Joshua Gross e90343e072 Replace stray references to ext.js functions 2010-09-24 19:54:45 -05:00
Joshua Gross 3a2b35f2db Initial removal of ext.js; replace functions with small utils library 2010-09-23 15:49:54 -05:00
Joshua Gross e070dd3b76 Begin socket.io server implementation; add test client script & view. 2010-09-23 13:55:40 -05:00
Joshua Gross 20a765be7f Replace message polling with socket.io acceptor. 2010-09-13 22:59:44 -05:00
Joshua Gross 46fdfb74c3 Update README install instructions; replace connect refs with express. 2010-09-13 22:58:16 -05:00
Johan Euphrosine a16b250bd1 add ext.js dependency in installation instructions 2010-09-10 10:40:42 +02:00
Joshua Gross 115480d535 Add testing instructions to README 2010-08-08 19:07:32 -04:00
Joshua Gross bf45db98a5 Fix listener response issues; add debug function to client-side. 2010-08-05 23:58:53 -04:00
Joshua Gross 1d66d44a5d Stop storing tab object using data; fix textbox autosizing. 2010-08-05 15:35:33 -04:00
Joshua Gross 8338810e21 Replace jQuery.md5.js with md5.js (GPL vs BSD); add jQuery-inspired Makefile 2010-08-05 11:34:39 -04:00
Joshua Gross 5f8c4d02c6 Workaround authentication for /dev URLs; get IM working across pages 2010-08-03 02:25:37 -04:00
Joshua Gross 1806a93762 Breakout client/js/im.js into multiple files for clarity. 2010-07-28 01:40:53 -07:00
Joshua Gross 728711939f Add daemonizing module, settings, and compile instructions. 2010-07-27 20:04:08 -07:00
Joshua Gross 78ac74f202 Add contribution and style guide to README.md 2010-07-26 17:22:35 -07:00
Joshua Gross b7b5a874c4 Updated server for Express 1.0.0; reorganized modules; updated README
* Server now works with Express 1.0.0 (beta or beta2) and Connect
* `AjaxIM` is now `Hub` and functions as both manager and session middleware
* Authentication directory structure neatened
* Development controllers and views separated into `dev/` folder
* Client-side content moved to `client/` folder
* Updated installation instructions in README
2010-07-25 17:35:24 -07:00
Joshua Gross 27255ac23d Get listening, friends list, and basic messaging working. 2010-07-06 09:51:56 -07:00
Joshua Gross 67927622fb Replace references to jStore with store; cleanup stray whitespace. 2010-07-04 14:00:14 -07:00
Joshua Gross a73d883a76 bugs 23, 24
* Remove "Comet" and Short Polling methods (bug 23)
* Remove cookieName, storeSession, and checkResume options from im.js (bug 24)
2010-07-04 11:27:45 -07:00
Joshua Gross 0b921b5afa Goodbye PHP! (bug 14) 2010-07-03 01:22:28 -07:00
Joshua Gross 065d5f84a7 Server-side objects; Error messages; reaping and sign off (bugs 12, 13, 18, 21)
* Server-side has been mostly broken down into smaller modular components
* IM now works on Node.js (as a consequence of refactor/redesign)
* `Error` and `Success` `Package` types added (essentially, generic types)
* Users notified of sign off when user is reaped by `Session.IM` reaper
2010-06-30 00:43:01 -07:00
Joshua Gross 833883928a Give Ajax IM a proper web framework with Express.js (bug 17)
Start bugs 17, 12, 13

* Begin integration of Express.js grammar into Ajax IM server (bug 17)
* Add basic framework for various chat object (User, Message, Room,
  Notification) (bug 12)
* Begin bringing Ajax IM up to speed with Node.js (assisted by bug 17) (bug 13)
2010-06-20 19:01:14 -07:00
Joshua Gross 7fd52d5454 Move in-process work to development branch. 2010-06-20 15:31:19 -07:00
Joshua Gross 1308dca732 Fixed minor bugs. Modifying connection and authentication methods.
Fixed: When numeric message was sent, client would only see {message}
Partially Added: REST API, which will replace the Memcache API
Changed: Session creation and user creation separated.
2010-03-21 11:21:21 -05:00
Joshua Gross 3da4903542 Fixed a mis-checked "typeof" statement.
Fixed: Server 'get' function was looking for typeof 'array' rather than typeof 'object'
2010-03-09 19:00:20 -05:00
Joshua Gross 2fe92d49be Merge branch 'master' of git://github.com/loe/AjaxIM 2010-03-09 18:56:31 -05:00
Joshua Gross 1d34639a7c Updated URL handling on Node.js server.
* Improved: Adding multiple URL handlers can be done in one go now, rather than using multiple function calls.
2010-03-09 18:55:34 -05:00
W. Andrew Loe III 7b44b2aede Updating to use Node.js v0.1.31-14-g74614c1 2010-03-09 15:26:23 -08:00
Joshua Gross 7a33c1a039 Updated link to jQuery in install.php 2010-02-19 09:06:34 -06:00
Joshua Gross 02d51c63ae Upgraded jQuery and jQuery-JSONP.
Upgraded: jQuery from 1.3.2 to 1.4.1
Upgraded: jQuery-JSONP plugin from 1.1.0 to 1.1.3
Removed: non-minified copy of jStore
2010-02-18 10:54:35 -06:00
Joshua Gross 18b44b6312 Fixed some game-stopping issues; corrected guest login.
Fixed: ajaxim.php would return an error if no DB_ENGINE was set. Now checks if DB_ENGINE has length before trying to import and create the Database class.
Fixed: server.js would crash on a Memcache "get username/someone" request if "someone" didn't exist.
Fixed: im.js tried to set document.domain with a period at the beginning for requests to subdomains.
Fixed: Actions that involve requesting to a subdomain now use JSONP instead of POST requests, since same-domain policies are a pain in my ass.
Fixed: Guest login in im.load.js fixed to use im.js "noSession" and "sessionNotResumed" hooks (ensures reconnect regardless of circumstance).
2010-02-15 11:15:20 -06:00
Joshua Gross 6db27c17af Fixed installer option selection.
Fixed: Selecting a database or server option on the list executed no
actions in WebKit.
4.0a
2010-02-14 23:45:54 -06:00
Joshua Gross 131d0357f7 Small problem make installer go boom. 2010-02-14 23:31:21 -06:00