Andy Allan
a8e8ba1a64
Refactor the account edit/update pages out into a separate accounts controller
2021-12-08 15:17:50 +00:00
Andy Allan
d797de4317
Use user_account_path for links to settings page
...
Much easier to read than having to be explicit about controllers etc
2021-08-12 17:09:07 +01:00
Andy Allan
dddef7672e
Use _html suffix to avoid using raw when displaying translated strings
...
This is safer than raw, since any user input is still escaped.
2019-12-22 11:28:18 +01:00
Tom Hughes
a2ad08b2e2
Use correct link for settings page
2019-12-12 19:12:38 +00:00
Tom Hughes
9153fd3559
Fix link in error page when a user has public edits disabled
2019-12-12 18:50:30 +00:00
Andy Allan
6d0100b91d
erblint: prefer double quoted strings
2019-03-27 10:57:00 +01:00
Andy Allan
74b91c0e3e
erblint: Add or remove curly braces around hash parameters as required
2019-03-27 10:30:48 +01:00
Andy Allan
38cfc35eb2
Whitespace fixes for site erb files
2019-03-26 20:23:35 +00:00
Tom Hughes
141df02e67
Move status into the settings object
...
Only the very early boot code needs to look at the value
from the environment directly.
2019-03-17 11:15:34 +00:00
Andy Allan
8d45f1a5cf
Use lazy lookups for site translations
2018-04-25 16:04:34 +08:00
Andy Allan
c819bec8b7
Use a current_user helper for accessing the logged in user in all views.
2017-07-27 10:07:51 +01:00
John Firebaugh
85e6bbde9b
Eliminate edit.js
2013-10-13 14:46:07 -07:00
John Firebaugh
6adcce4e5d
Frontpage redesign
2013-10-13 14:45:58 -07:00
John Firebaugh
e83d43ca82
Move edit JS to page-specific script file
2012-09-30 11:59:49 +01:00
John Firebaugh
0ec2843b0f
Eliminate interpolation in edit JS
2012-09-30 11:57:24 +01:00
John Firebaugh
5966792af5
Extract home_link partial
2012-09-29 18:04:56 +01:00
John Firebaugh
e338d11408
Move resize JS to application bundle
2012-09-07 13:05:25 -07:00
Tom Hughes
434e603cd6
Use custom events to resize the map on sidebar open/close
2012-08-30 20:27:11 +01:00
Tom Hughes
420ebbbb87
Fix maximisation of Potlatch
2012-08-29 15:37:26 +01:00
Tom Hughes
344c5534ee
Tidy up generation of UJS data attributes
2012-06-18 14:36:59 +01:00
Tom Hughes
490226ad6d
Replace link_to_function with UJS based code
2012-06-01 19:34:22 +01:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
0033fcbf12
Don't escape HTML in the message shown to anonymous users
2011-11-22 22:53:31 +00:00
Tom Hughes
7e4ceec192
Wait for dom:loaded to fire before initialising the map
...
Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
2011-07-07 10:02:42 +01:00
Tom Hughes
599843c72d
Fix resizing of the map area in RTL layouts
2011-07-02 16:19:47 +01:00
Tom Hughes
c3453cf57d
Make JOSM remote control based editing work
2010-11-29 12:20:22 +00:00
Matt Amos
cd66a5db99
Initial work on support for multiple editors
2010-11-29 12:20:21 +00:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
2e202460e6
Check that the token is valid before using it.
2010-04-20 11:05:55 +01:00
Tom Hughes
7dd06b4f88
Fix a few nominatim issues.
2009-11-10 13:35:58 +00:00
Ævar Arnfjörð Bjarmason
801182d2ea
Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently
2009-09-29 10:12:01 +00:00
Ævar Arnfjörð Bjarmason
0197460689
Escape user-supplied JavaScript. Fixes http://lists.openstreetmap.org/pipermail/talk/2009-September/042846.ht
2009-09-29 09:23:11 +00:00
Richard Fairhurst
00332614f9
add ability to specify custom background in the query string
2009-09-18 14:11:18 +00:00
Štefan Baebler
1f007b289c
localized link to home location
2009-08-18 18:26:01 +00:00
Thomas Wood
bda35008c8
Fix translation for private data users.
2009-07-31 14:37:37 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00