Sarven Capadisli
|
1cc86baba6
|
Setting the geo location cookie expire date far into the future: 2029 ;)
|
2010-01-26 01:59:21 +01:00 |
|
Sarven Capadisli
|
b3121d09c9
|
An update to geolocation cookie to use a single file and set the
expiry date to 30 days from now.
|
2010-01-25 23:42:40 +01:00 |
|
Sarven Capadisli
|
c9aafe2d4f
|
Fixed innerHTML problem in IE7 and 8 for badge script
|
2010-01-22 19:18:14 +01:00 |
|
Brion Vibber
|
c9c7bb3234
|
Merge commit 'origin/testing' into 0.9.x
|
2010-01-21 16:33:11 -08:00 |
|
Brion Vibber
|
4b0f953ccf
|
Quick hack to avoid breaking with geonames off when there's some old cookie state. This code's a little rough and tumble; any breakage halts JS execution and leaves the spinner going and no message submitted.
|
2010-01-21 16:30:03 -08:00 |
|
Sarven Capadisli
|
42601b1ff0
|
Some JS cleaning up for NoticeLocationAttach (which fixes also fixes a
few bugs in WebKit)
|
2010-01-18 12:55:14 +00:00 |
|
Sarven Capadisli
|
602dbb5f87
|
Moved farbtastic's stylesheet to use relative paths for its own images
|
2010-01-18 11:12:05 +00:00 |
|
Sarven Capadisli
|
4978810c81
|
Took out focus out of textare when location share is enabled/disabled.
Also avoids the conflict with the URL fragment on the conversation page.
|
2010-01-17 22:31:47 +00:00 |
|
Sarven Capadisli
|
d22cdad5fe
|
Added missing position paramater
|
2010-01-16 20:10:46 +00:00 |
|
Sarven Capadisli
|
8896df22af
|
JSLinting on JSON
|
2010-01-16 19:44:37 +00:00 |
|
Sarven Capadisli
|
6494cb17e9
|
Some JSlint-ing
|
2010-01-16 19:42:32 +00:00 |
|
Sarven Capadisli
|
407e425aed
|
Removed extra comma in object
|
2010-01-16 19:16:44 +00:00 |
|
Craig Andrews
|
26edf3a5e5
|
Revert "Drop the Google Client API-based AJAX geolocation lookup shim -- it fails to ask for user permission, causing us quite a bit of difficulty."
This reverts commit 749b8b5b8c .
|
2010-01-13 22:05:22 -05:00 |
|
Sarven Capadisli
|
acc48289e5
|
Update geo location UI for notice form where the geo data info is only
visible on @title of the enable/disable button.
|
2010-01-14 01:48:57 +00:00 |
|
Sarven Capadisli
|
d84c33c328
|
Unchecks location sharing for geo location if it timesout
|
2010-01-13 15:51:32 +00:00 |
|
Sarven Capadisli
|
af97a14f7c
|
Timeout should be 10000, not 10
Revert "Unchecks location sharing for geo location if it timesout"
This reverts commit 8887d7a314 .
|
2010-01-13 15:50:45 +00:00 |
|
Sarven Capadisli
|
8887d7a314
|
Unchecks location sharing for geo location if it timesout
|
2010-01-13 15:48:26 +00:00 |
|
Sarven Capadisli
|
2000d2d36b
|
Added timeout error handling for geo location
|
2010-01-13 15:36:42 +00:00 |
|
Sarven Capadisli
|
9b2fdefe39
|
Using a JSON object for NoticeDataGeo text instead
|
2010-01-13 15:21:43 +00:00 |
|
Sarven Capadisli
|
70bdaeeb09
|
Explicitly reseting notice_in-reply-to value
|
2010-01-11 12:19:53 +00:00 |
|
Sarven Capadisli
|
8901e01692
|
Added i18n text for @title values in geo sharing actions
|
2010-01-08 18:07:02 +00:00 |
|
Sarven Capadisli
|
febe64625e
|
Focus on the notice textarea after share, minimize, close button actions
|
2010-01-08 16:51:18 +00:00 |
|
Sarven Capadisli
|
17913d4427
|
Makes sure that if geo location sharing is disabled, it doesn't use
the HTML output. If cookie is set, use those values for XHR notice post
|
2010-01-08 16:43:03 +00:00 |
|
Sarven Capadisli
|
064f13f3ab
|
Stores geo view's minimized state in a cookie
|
2010-01-08 14:23:37 +00:00 |
|
Sarven Capadisli
|
54c18e68da
|
Some code cleaning for geo UI
|
2010-01-08 13:58:23 +00:00 |
|
Sarven Capadisli
|
69f567c7be
|
Using cookies to minimize lookups to Geonames
|
2010-01-08 13:36:52 +00:00 |
|
Sarven Capadisli
|
835a3f1e53
|
Added minified version of json2.js to parse and stringify JSON objects
|
2010-01-08 13:21:55 +00:00 |
|
Sarven Capadisli
|
a08e683ac3
|
Reuse cookie location_enabled before .change()
|
2010-01-05 01:31:34 +00:00 |
|
Sarven Capadisli
|
eb9514120a
|
Retain the geo data when FormNoticeXHR is complete because form gets
reset
|
2010-01-05 01:15:08 +00:00 |
|
Sarven Capadisli
|
db1a7d6f88
|
Remove input geo data as well
|
2010-01-05 00:37:53 +00:00 |
|
Sarven Capadisli
|
9fadfd850e
|
If user checked shared location but didn't enter their location, don't
show the checkbox
|
2010-01-05 00:15:26 +00:00 |
|
Sarven Capadisli
|
d59ffeaab5
|
Refactored NoticeLocationAttach(). It works better in UAs that don't
support Geolocation API.
|
2010-01-04 23:36:22 +00:00 |
|
Sarven Capadisli
|
a0f7896f22
|
Ran NoticeLocationAttach() through jslint
|
2010-01-04 13:44:32 +00:00 |
|
Sarven Capadisli
|
dcd3292f57
|
Relocated @title removal
|
2010-01-04 12:44:48 +00:00 |
|
Sarven Capadisli
|
ad323575e6
|
Refactored geo location removal to removeNoticeDataGeo()
|
2010-01-04 10:07:32 +00:00 |
|
Sarven Capadisli
|
fe8927a42c
|
Added errorCallback() to geoCurrentPosition() i.e., if user doesn't
grant permission, removes the Geo processing and (if any) existing geo
location data from notice form.
|
2010-01-04 09:52:35 +00:00 |
|
Sarven Capadisli
|
d1998adb13
|
Trim whitespace from label's textContent
|
2010-01-04 09:29:41 +00:00 |
|
Sarven Capadisli
|
9f9dcd2bf5
|
Using object value instead of inline string
|
2010-01-04 09:14:14 +00:00 |
|
Sarven Capadisli
|
50af9c5c40
|
Open geoname URL in a new window
|
2010-01-04 09:10:21 +00:00 |
|
Sarven Capadisli
|
94af0d1279
|
Fix end tag
|
2010-01-03 02:07:55 +00:00 |
|
Sarven Capadisli
|
467ae9d9e7
|
Button should return false
|
2010-01-03 02:00:12 +00:00 |
|
Sarven Capadisli
|
aef31280f3
|
Moved location container's buttons inside enabled state
|
2010-01-03 01:48:41 +00:00 |
|
Sarven Capadisli
|
4983564949
|
Reset location icon when container button.close is clicked
|
2010-01-03 01:17:51 +00:00 |
|
Sarven Capadisli
|
503d0acd49
|
Added minimize functionality to selected location container
|
2010-01-03 01:02:32 +00:00 |
|
Sarven Capadisli
|
ec5850d26a
|
Changed location share representation to be more like the file
attachment. Init UI. Probably a little buggy.
|
2010-01-03 00:33:41 +00:00 |
|
Sarven Capadisli
|
01dbee2ba5
|
Initial UI for geo location share option in notice form
|
2009-12-31 18:41:10 +00:00 |
|
Sarven Capadisli
|
9496f2735e
|
Moving notice_data-location_wrap after notice form fieldset
|
2009-12-31 18:27:05 +00:00 |
|
Sarven Capadisli
|
dde6415a6a
|
Moved JavaScript dependant stuff out of noticeform.
|
2009-12-31 18:08:21 +00:00 |
|
Sarven Capadisli
|
e84bf0aa98
|
jQuery select SN.C.S.NoticeLocationName once.
|
2009-12-31 17:02:02 +00:00 |
|
Sarven Capadisli
|
5a66d27637
|
Using semicolon to seperate lat and long; RFC2426
|
2009-12-31 16:37:46 +00:00 |
|