Commit graph

2438 commits

Author SHA1 Message Date
John Firebaugh
07c997d1d2 Avoid polluting the global scope
Only startBrowse and startExport need to be exposed;
everything else can be scoped inside those functions.
2012-08-27 21:05:52 +01:00
John Firebaugh
5aa09fbfd0 Use a standard application.js bundle
Include map.js and menu.js in the bundle.
2012-08-27 20:31:17 +01:00
John Firebaugh
e2fed14ab8 Remove unused helper 2012-08-27 20:30:16 +01:00
John Firebaugh
2e349ab51a Remove unused gem and add a comment where it was replaced 2012-08-27 20:29:56 +01:00
John Firebaugh
17b23b0756 Extract browse.js static asset 2012-08-27 20:23:24 +01:00
John Firebaugh
2feff4244f Reduce interpolation in browse/start.js.erb 2012-08-27 18:00:48 +01:00
John Firebaugh
cc4f133e64 Extract export.js static asset 2012-08-27 18:00:13 +01:00
John Firebaugh
c2333c603e Reduce interpolation in export/start.js.erb 2012-08-27 18:00:12 +01:00
Tom Hughes
7ad58d1411 Switch to using i18n-js for handling translations in javascript 2012-08-27 18:00:03 +01:00
Alex Barth
0d34f27fd5 Float user image to right correctly on per-user diary listing page 2012-08-25 10:44:58 +01:00
John Firebaugh
dcb25f0c07 Set OpenLayers lang unobtrusively
We output the locale code as the lang attribute, so
use that rather than interpolating into embedded JS.
2012-08-24 19:00:59 -07:00
Tom MacWright
a9a5b6ef38 Revise SOTM logo design 2012-08-21 22:19:56 +01:00
Tom Hughes
7ebaf34eb6 Rework sidebar width calculation to work with jQuery 1.8 2012-08-19 16:55:29 +01:00
Tom Hughes
8ba86337c3 Add a missing </tr> tag 2012-08-15 22:36:39 +01:00
Tom Hughes
573991e5a9 Fixup make_friend and remove_friend properly
Requests using POST are now actioned immediately, while requests
using GET present a confirmation page.
2012-08-15 20:13:14 +01:00
Tom Hughes
31af63f273 Reposition the zoom slider after recreating the SimplePanZoom control 2012-08-15 19:04:40 +01:00
Tom MacWright
2638cd5252 Fix regression - no link to view diary of other users 2012-08-15 00:15:20 +01:00
Tom Hughes
740ba0dd38 Require POST for make_friend and remove_friend
Note that this breaks the make_friend link in friend notfication
emails, but it will do as a temporary measure.
2012-08-14 22:49:52 +01:00
Tom Hughes
fe8d5c0573 Move some helper functions to better homes 2012-08-12 16:14:35 +01:00
Tom Hughes
fb74074555 Remove empty helper files 2012-08-12 16:14:00 +01:00
Tom Hughes
bc009ccd73 Correct API URL shown in data browser sidebar 2012-08-11 10:49:38 +01:00
Tom Hughes
fbabed694b Improve blocks on/by links on user pages
All block related links are now only shown if the user has given
or received any blocks, and include a count of active blocks.
2012-08-10 08:27:37 +01:00
Tom MacWright
221ca3c1fa Improve user page navigation menu
Add counts to edits, blocks, and traces; don't show blocks if there
are none; and move OAuth to the settings page.
2012-08-10 08:26:48 +01:00
Tom Hughes
ada8b184ea Preserve background colour when marking messages read/unread 2012-08-09 00:26:38 +01:00
Tom Hughes
3445f447cd Add a SOTM advert to the sidebar 2012-08-08 21:37:29 +01:00
Tom MacWright
f436a5cd2b Improve presentation of homepage
Collapse search button into icon, deemphasize copy and remove
extraneous borders.
2012-08-08 18:20:48 +01:00
Tom Hughes
b27e74eaac Hide the new layer switcher and zoom controls on printouts 2012-08-08 18:20:41 +01:00
Tom Hughes
442b6d5a86 Hide the SimplePanZoom control on the user page map 2012-08-08 18:20:27 +01:00
Tom Hughes
3b43e4d53a Use SimplePanZoom control in changeset browser maps 2012-08-08 18:20:22 +01:00
Tom Hughes
a29ba66d9d Enable transition support for Firefox and Opera 2012-08-08 18:20:08 +01:00
Tom MacWright
b812c070f1 Replace standard PanZoomBar control with new SimplePanZoom control 2012-08-08 18:20:02 +01:00
Tom Hughes
7f661ec55e Make things a bit more readable 2012-08-07 22:58:03 +01:00
Tom MacWright
f08259a529 Improve styling of inbox counter in greeting bar 2012-08-07 22:57:41 +01:00
Tom Hughes
e885c1249b Break up the "copyright and license" text into smaller pieces 2012-08-02 21:40:12 +01:00
Tom Hughes
2a11b9682c Use a custom OpenLayers theme
Instead of having a customised copy of the default theme in the
app assets, use a custom theme that pulls in the default one and
then overrides things as needed.
2012-08-02 19:15:12 +01:00
Tom Hughes
a357bab334 Style the CSS zoom control to match the layer switcher 2012-08-02 19:15:12 +01:00
Tom Hughes
f9528a7464 Improve "no traces" message 2012-08-01 10:56:19 +01:00
Tom Hughes
abb13e4a91 Add paragraph tags around "no edits" message 2012-08-01 10:55:48 +01:00
Steve Singer
d2db785a2a Replace raw with a translation with the html suffix 2012-07-31 22:56:51 +01:00
Steve Singer
6403fead9c Don't show the changeset container or map if there are no changesets 2012-07-31 22:56:51 +01:00
Steve Singer
69d91bf24a Navigation changes to the GPX traces page
Display a better message when no traces are present and only
display the paging links when multiple pages exist.
2012-07-31 22:56:44 +01:00
Tristen Brown
51079ecafb Show a helpful message when there are no changesets to display 2012-07-31 21:44:22 +01:00
Tristen Brown
0b81013437 Show a helpful message when there are no traces to display 2012-07-31 21:28:52 +01:00
Tom Hughes
888a0be790 Don't try and fix the height of the search box
We have no idea how much space a given browser will need for an input
field so stop pretending we do as we just get it wrong.
2012-07-30 13:41:11 +01:00
Tom Hughes
683c371740 Make links back to the user language copyright page work 2012-07-30 13:35:25 +01:00
Tom Hughes
703c1a83e6 Show the correct reconfirm link for OpenID login attempts 2012-07-27 21:30:06 +01:00
Tom Hughes
d38e476fa6 OpenID attributes returned via AX seem to be arrays now 2012-07-27 21:27:45 +01:00
Tom Hughes
a770d020f9 Replace deprecated update_attribute method 2012-07-27 12:32:13 +01:00
Tom Hughes
07df3f9809 Clear pass_crypt_confirmation when encrypting a new password
If we change pass_crypt (by encrypting it) without clearing the
confirmation then the user record becomes invalid.
2012-07-27 12:05:19 +01:00
Tom Hughes
e4be816ca0 Don't allow hash signs in usernames 2012-07-23 12:59:50 +01:00