Commit graph

4642 commits

Author SHA1 Message Date
Tom Hughes
7b626f31be Use augment.js for improved cross browser compatibility
Remove the quick hack for that I added for Array.forEach and pull
in augment.js instead to add missing JS methods to older browsers.
2012-08-29 12:29:47 +01:00
Tom Hughes
a35cff243e Implement Array.forEach for browsers which don't have it 2012-08-29 09:30:14 +01:00
Tom Hughes
367303f6d8 Move a chunk of non-markup ruby code from a view to the controller 2012-08-28 20:39:18 +01:00
Tom Hughes
d9054cfe29 Move some javascript from the layout to application.js 2012-08-28 19:47:20 +01:00
Tom Hughes
96a4fb0805 Potlatch 2 localisation updates 2012-08-28 11:54:12 +01:00
Siebrand Mazeland
6d76f89e5c Localisation updates from http://translatewiki.net. 2012-08-28 10:01:13 +00:00
Tom Hughes
b2bc61c5b1 Update the image size when we switch to the mapnik export format 2012-08-27 22:54:04 +01:00
Tom Hughes
3d874a5d61 Use start.html.erb views instead of _sidebar.html.erb partials 2012-08-27 21:28:41 +01:00
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
Siebrand Mazeland
9638d6ea7f Localisation updates from http://translatewiki.net. 2012-08-25 21:24:42 +00: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 Hughes
2ce968b571 Update Potlatch 2 to 2.3-443-g151b833 build 2012-08-22 22:52:27 +01:00
Tom MacWright
a9a5b6ef38 Revise SOTM logo design 2012-08-21 22:19:56 +01:00
Tom Hughes
755162d66e Potlatch 2 localisation updates 2012-08-20 21:29:56 +01:00
Siebrand Mazeland
f7f3cddd1b Localisation updates from http://translatewiki.net. 2012-08-19 16:18:23 +00:00
Tom Hughes
7ebaf34eb6 Rework sidebar width calculation to work with jQuery 1.8 2012-08-19 16:55:29 +01:00
Tom Hughes
3ec1a05988 Update tests for changes to HTML escaping in rails 3.2.8 2012-08-17 22:57:58 +01:00
Tom Hughes
d0db18da82 Update rails to 3.2.8 2012-08-17 22:40:52 +01:00
Tom Hughes
05515d644a Test the links in the menu of the user view page 2012-08-15 22:36:40 +01:00
Tom Hughes
8ba86337c3 Add a missing </tr> tag 2012-08-15 22:36:39 +01:00
Tom Hughes
3d5a613c5e Add tests for make_friend and remove_friend 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
a8396f8871 Update Potlatch 2 to 2.3-438-g86fce48 build 2012-08-15 19:22:53 +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
69fb269f26 Fix incorrect interpolation variables 2012-08-14 22:56:28 +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
Siebrand Mazeland
250fbf556a Localisation updates from http://translatewiki.net. 2012-08-12 18:25:26 +00: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
c93745af0c Potlatch 2 localisation updates 2012-08-10 12:28:16 +01:00
Tom Hughes
9a7f93ecd9 Update Potlatch 2 to 2.3-430-g8cee913 build 2012-08-10 12:27:53 +01:00
Tom Hughes
3ca027f3d6 Update schema 2012-08-10 08:42:38 +01:00
Tom Hughes
491da05584 Fix incorrect interpolation variable 2012-08-10 08:42:10 +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 Hughes
ec92881dd0 Fix test failure caused by moving OAuth settings link 2012-08-10 08:27:28 +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
Siebrand Mazeland
378dd2222c Localisation updates from http://translatewiki.net. 2012-08-09 14:07:45 +00: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