Commit Graph

25 Commits

Author SHA1 Message Date
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
burke.davey
af2cec6c34 XSRF protection 2010-05-25 23:17:15 +00:00
burke.davey
006c846e99 Embarrassing bug fix. (Time to start code reviews). 2010-05-24 12:36:32 +00:00
burke.davey
379ed80936 Fix status code (say if the account can't be authorized) 2010-05-23 18:34:20 +00:00
burke.davey
24f849073e Fix npe 2010-05-23 13:44:03 +00:00
burke.davey
4ad00c31d6 Handle selection 2010-05-22 22:00:55 +00:00
daveburke
fb546ea471 Project import 2010-05-20 14:55:05 +00:00