felipeal
fc1e641c79
Removed temporary stats code
2012-08-02 18:00:25 +00:00
felipeal
79adf622d5
Refactored application and server-side to use GCM instead of C2DM; removed and or deprecated C2DM code; removed unused code
2012-08-01 23:37:36 +00:00
felipeal
87f64215f9
Added a new entity to hold device type stats, as querying all objects from AppEngine takes too long
2012-07-31 02:30:16 +00:00
felipeal
4713e53e29
Fixed ConcurrentModificationException
2012-07-30 20:42:22 +00:00
felipeal
fff2a80789
Removed temporary debug statements
2012-07-27 23:18:28 +00:00
felipeal
9ccc0225c4
Few minor changes in preparation to the GCM migration:
...
- fixed warnings (like un-thrown exceptions)
- fixed code that unregister in case of NotRegistered error
- updated server code to use AppEngine 1.7
- changed code so it can be used in a local app engine server
- added a new device type called gcm
- created a servlet that displays how many devices are registered per type (ac2dm, chrome, gcm)
- created a servlet used to send messages without the need for the chrome plugin
2012-07-27 23:13:40 +00:00
burke.davey
c105df2eab
Defer view intents for the browser until user present.
...
Fix target SDK so menu button appears always.
Add URL matching for YT; include https in regex.
2012-06-15 04:22:33 +00:00
burke.davey
5c5bbbb65a
Fix device pruning
2011-08-20 23:49:20 +00:00
burke.davey
ab87cf988b
Fix character encoding issue
2011-07-12 16:25:45 +00:00
burke.davey
6f0d6f2030
Change warning to info
2011-05-12 21:28:19 +00:00
burke.davey
b8272b427e
Remove temp logging
2011-05-12 20:45:48 +00:00
burke.davey
768ea20aa1
Change share from device to only go to Chrome (simpler mental model for now).
...
More robustness to browser channel.
Temporary logging.
2011-05-11 20:34:49 +00:00
burke.davey
cdcab027dc
Log send type
2011-05-11 14:55:53 +00:00
burke.davey
6a46132ec6
Reduce severity of log for non-OAuth (phone uses non-OAuth)
2011-05-11 10:50:03 +00:00
costin
da5781fa44
LoginRequired need status 200 for backward compat.
2011-04-27 18:11:39 +00:00
costin
88cdc19a72
A couple of updates to make it easier to use OAuth1 instead of cookies from the extension.
...
- Use JSON because it's cleaner and url-encoded with oauth1 is mostly broken.
- Refactor common code
- Update the version of the appengine SDK
- change to version 9 ( will not be live ) to avoid breaking existign devices. In theory everything should be backward compatible.
2011-04-27 16:48:38 +00:00
costin
5f34997cab
Add the XMPP sending to the config, fix build issue.
2011-03-07 22:09:26 +00:00
burke.davey
3e73e0b03d
Remove experiment code.
...
Support for multiple deviceNames.
2011-02-12 21:30:24 +00:00
costin
316ed87550
Add another option for sending URLs via an XMPP bot. Experimental - I'm testing.
2011-02-09 17:56:39 +00:00
costin
6aff08cddc
Fix bug in unregistering old devices, if the oldest didn't include the id.
2010-12-08 23:46:49 +00:00
burke.davey
11f231304a
One more cleanup
2010-10-24 19:47:31 +00:00
burke.davey
7b63fbffbd
Clean up class path
2010-10-24 19:45:11 +00:00
burke.davey
c65fcced21
Update SDK. Turn on experiment.
2010-10-24 19:26:30 +00:00
costin
c24fa2c027
Add check for empty registration id
2010-09-25 00:09:20 +00:00
costin
1e277ec754
Possible fix for re-registration bug, if the device id is not changed.
2010-09-25 00:08:00 +00:00
costin
f987d1a833
Set the charset for proper decoding
2010-09-25 00:06:06 +00:00
costin
71684cb5cf
Fix issue with multiple devices and upgrade. The 'bare' registration will be removed if registrations with ID are found - which is not worse than
...
having a single device. Also fix few PersistentManager bugs - removal must be done with same PM, previous code was leaving one unclossed.
2010-09-18 06:03:10 +00:00
burke.davey
ac5cb5d77d
Fix JDO so it returns blank not null strings. All unregistration to prune multiple devices (in case duplicates were accidentally introduced inan unorthodox upgrade. Misc cleanups.
2010-09-16 23:28:25 +00:00
burke.davey
0cde7bf17c
Bug fix
2010-09-13 14:07:20 +00:00
burke.davey
bf8fce0fe3
Bug fixes.
2010-09-12 23:40:37 +00:00
burke.davey
44a2ab3f9d
Refactoring (phone-to-chrome now uses same code paths as chrome-to-phone). Bumped version number.
2010-09-12 21:56:06 +00:00
costin
fdd86e78c0
Better fix suggested by Dave: trim title first, trim sel if still needed. Refactored
...
the code a bit to be testable ( test needs a bit of cleanup, later ).
2010-09-10 00:05:41 +00:00
costin
1e833c971f
Make title optional. Trim title, sel if the message is too long.
2010-09-09 23:28:04 +00:00
burke.davey
b581e46278
Remove superfluous import
2010-08-30 20:38:22 +00:00
costin
f887a71bed
Add support for multiple devices. Chrome extension will send to all until it is modified to specify a device by ID or name.
...
This change also removes the legacy code that had security problems, i.e. accepting GET and requests without the XSRF header.
If a registration is reported as invalid ( i.e. application uninstalled ) - we clean up our database.
2010-08-30 20:25:41 +00:00
burke.davey
9b3454aaef
Add browser channel support and bump SDK ver to 1.3.6
2010-08-30 20:22:55 +00:00
costin
e4d848959b
Allow customization of the C2DM URL. It is used for testing with a different server or to use HTTP or an intermediate server.
2010-08-24 20:39:32 +00:00
burke.davey
8b3be565c5
Expand XSS regex
2010-08-04 04:54:48 +00:00
burke.davey
a1424f809f
Change regex for Firefox
2010-07-22 01:44:08 +00:00
burke.davey
05ded87c1c
Add extret permissible values for Firefox.
...
Deprecate GET for send.
Log version number only if not supported as warning.
2010-07-19 00:59:48 +00:00
burke.davey
b1c50187d4
XSS protection in signin / signout.
...
XSRF protection for register / unregister.
Support only v3 and upwards.
Rev to version 4.
2010-07-19 00:15:37 +00:00
burke.davey
a6fefc655a
Fix problem with new primitive field in JDO - see http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Object_Fields_and_Entity_Properties
2010-07-12 21:52:38 +00:00
costin
82d9b03eb9
Add per-device 'debug' option, allow OAuth auth, more GET->POST conversions.
2010-06-21 22:37:07 +00:00
costin
714a16b463
Allow more parameters. Move too verbose status line ( 200 doesn't need extra logging, next log will catch it)
2010-06-21 22:35:04 +00:00
burke.davey
11e794d477
Turn on XSRF for Firefox
2010-06-17 22:44:43 +00:00
burke.davey
9d7e78abea
Rollback XSS for Firefox temporarily
2010-06-12 00:35:33 +00:00
burke.davey
f3d8665f9e
Turn on XSS protection.
...
Explicit device not registered error.
2010-06-12 00:11:50 +00:00
burke.davey
6d5b57de0d
Change GET to POST.
...
Neater login experience.
Signout option.
Improved options / about page.
Set correct version on Chrome Extension.
Changed appengine version to 3.
Update appengine SDK version in Eclipse prefs.
2010-06-09 16:32:50 +00:00
burke.davey
c63f9ff2b5
Bug
2010-05-26 23:40:30 +00:00
burke.davey
12af156d26
Log error to upgrade
2010-05-26 00:22:52 +00:00