]> git.openstreetmap.org Git - rails.git/log
rails.git
14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Sun, 23 May 2010 17:36:40 +0000 (19:36 +0200)]
Localisation updates from http://translatewiki.net

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoAdd a timeout to the change list pages
Tom Hughes [Fri, 21 May 2010 19:21:41 +0000 (20:21 +0100)]
Add a timeout to the change list pages

14 years agoConvert lat and lon values to integers
Tom Hughes [Fri, 21 May 2010 18:51:30 +0000 (19:51 +0100)]
Convert lat and lon values to integers

Make sure the lat and lon values in changeset bounding box queries
are integers or Postgres will refuse to use the index.

14 years agoLocalisation updates from http://translatewiki.net
Siebrand Mazeland [Tue, 18 May 2010 21:13:25 +0000 (23:13 +0200)]
Localisation updates from http://translatewiki.net

14 years agoResource whose value starts with a colon need to be quoted
Tom Hughes [Tue, 18 May 2010 14:07:46 +0000 (15:07 +0100)]
Resource whose value starts with a colon need to be quoted

Stop resources looking like symbols when they start with a colon by
quoting them.

14 years agoFix a typo in the native copyright text
Andrzej Zaborowski [Wed, 12 May 2010 22:32:07 +0000 (00:32 +0200)]
Fix a typo in the native copyright text

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
14 years agoAdd "UMP-pcPL" as CC-BY-SA source in the list of attributions.
Andrzej Zaborowski [Wed, 12 May 2010 22:32:07 +0000 (00:32 +0200)]
Add "UMP-pcPL" as CC-BY-SA source in the list of attributions.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
14 years agoTweak resource names to make them fit the normal naming scheme
Tom Hughes [Mon, 17 May 2010 23:09:29 +0000 (00:09 +0100)]
Tweak resource names to make them fit the normal naming scheme

14 years agoAllow for formatting of the nominatim prefix in the i18n system
Ævar Arnfjörð Bjarmason [Sun, 16 May 2010 15:54:11 +0000 (15:54 +0000)]
Allow for formatting of the nominatim prefix in the i18n system

It's a pain to translate nominatim as-is because the context forces me
to translate things in the accusative case. Now I can change
"{{name}}" into "{{name}}:" and translate things in the nominative
case.

Not putting the message in search_osm_nominatim so I don't infringe
upon its namespace.

14 years agouser.login.account suspended so translators don't have to type out anchors
Ævar Arnfjörð Bjarmason [Sun, 16 May 2010 16:39:16 +0000 (16:39 +0000)]
user.login.account suspended so translators don't have to type out anchors

14 years agoChange user.suspended.body so translators don't have to type out anchors
Ævar Arnfjörð Bjarmason [Sun, 16 May 2010 16:35:22 +0000 (16:35 +0000)]
Change user.suspended.body so translators don't have to type out anchors

14 years agoRemove user.terms.legale_button. Added in 9a9e13af but since removed
Ævar Arnfjörð Bjarmason [Sun, 16 May 2010 16:22:01 +0000 (16:22 +0000)]
Remove user.terms.legale_button. Added in 9a9e13af but since removed

14 years agoLocalisation updates from translatewiki.net
Siebrand Mazeland [Sun, 16 May 2010 15:50:01 +0000 (17:50 +0200)]
Localisation updates from translatewiki.net

14 years agoTidy up addition of icons to relation members
Tom Hughes [Sun, 16 May 2010 12:07:25 +0000 (13:07 +0100)]
Tidy up addition of icons to relation members

14 years agoRename css_class to link_class for consistency
Tom Hughes [Sun, 16 May 2010 11:57:00 +0000 (12:57 +0100)]
Rename css_class to link_class for consistency

14 years agoOnly include tags which affect the icon in the link title
Tom Hughes [Sun, 16 May 2010 11:55:10 +0000 (12:55 +0100)]
Only include tags which affect the icon in the link title

14 years agoRename browser-icons to browse everywhere and only load CSS when needed
Tom Hughes [Sun, 16 May 2010 11:23:12 +0000 (12:23 +0100)]
Rename browser-icons to browse everywhere and only load CSS when needed

14 years agoPatch from bug #2787 to add icons to data browser pages
Dan Karran [Tue, 20 Apr 2010 08:08:51 +0000 (09:08 +0100)]
Patch from bug #2787 to add icons to data browser pages

14 years agoFix some bogus down migrations
Tom Hughes [Sun, 16 May 2010 11:10:28 +0000 (12:10 +0100)]
Fix some bogus down migrations

14 years agoBump config/wiki_pages.yml with script/misc/update-wiki-pages
Ævar Arnfjörð Bjarmason [Fri, 14 May 2010 14:22:14 +0000 (14:22 +0000)]
Bump config/wiki_pages.yml with script/misc/update-wiki-pages

14 years agoLocalisation updates from translatewiki.net (2010-05-09)
Siebrand Mazeland [Thu, 13 May 2010 21:14:42 +0000 (23:14 +0200)]
Localisation updates from translatewiki.net (2010-05-09)

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoAdd user_id + created_at index to changesets
Tom Hughes [Thu, 13 May 2010 17:16:31 +0000 (18:16 +0100)]
Add user_id + created_at index to changesets

Browsing changesets for a user will be much faster if we can get the
user's changesets in date order.

14 years agoSwitch to date stamped migrations to make branching easier to handle
Tom Hughes [Thu, 13 May 2010 17:16:00 +0000 (18:16 +0100)]
Switch to date stamped migrations to make branching easier to handle

14 years agoIgnore unknown countries when doing geolocation
Tom Hughes [Thu, 13 May 2010 14:32:46 +0000 (15:32 +0100)]
Ignore unknown countries when doing geolocation

14 years agoUbuntu Hardy only has rubygems 1.3.1 and it seems to work
Tom Hughes [Thu, 13 May 2010 11:58:22 +0000 (12:58 +0100)]
Ubuntu Hardy only has rubygems 1.3.1 and it seems to work

14 years agoUpdate various files to match current rails versions
Tom Hughes [Thu, 13 May 2010 09:54:16 +0000 (10:54 +0100)]
Update various files to match current rails versions

14 years agoMerge branch 'master' of git://git.openstreetmap.org/rails
Tom Hughes [Tue, 11 May 2010 18:45:48 +0000 (19:45 +0100)]
Merge branch 'master' of git://git.openstreetmap.org/rails

14 years agoFix site name
Tom Hughes [Tue, 11 May 2010 18:44:47 +0000 (19:44 +0100)]
Fix site name

14 years agoUpdate test to reflect changes in signup page
Tom Hughes [Tue, 11 May 2010 18:17:14 +0000 (19:17 +0100)]
Update test to reflect changes in signup page

14 years agoAdd parentheses to avoid warning
Tom Hughes [Tue, 11 May 2010 18:13:38 +0000 (19:13 +0100)]
Add parentheses to avoid warning

14 years agoMerge branch 'master' into terms
Tom Hughes [Tue, 11 May 2010 18:07:00 +0000 (19:07 +0100)]
Merge branch 'master' into terms

14 years agoRenumber migration to avoid conflict with master
Tom Hughes [Tue, 11 May 2010 18:06:30 +0000 (19:06 +0100)]
Renumber migration to avoid conflict with master

14 years agoAdd spam block ACLs with the right key
Tom Hughes [Tue, 11 May 2010 07:59:04 +0000 (08:59 +0100)]
Add spam block ACLs with the right key

14 years agoLocalisation updates from translatewiki.net (2010-05-09)
Siebrand Mazeland [Sun, 9 May 2010 17:06:31 +0000 (19:06 +0200)]
Localisation updates from translatewiki.net (2010-05-09)

14 years agoMerge branch 'master' into terms
Tom Hughes [Sun, 9 May 2010 16:16:43 +0000 (17:16 +0100)]
Merge branch 'master' into terms

14 years agoUpdated README to points to the wiki, git etc.
Ævar Arnfjörð Bjarmason [Sun, 9 May 2010 15:56:00 +0000 (15:56 +0000)]
Updated README to points to the wiki, git etc.

Link to the documentation page on the wiki, and hint at say how to
send patches.

14 years agoREADME is in Markdown format. Move it to README.mkdn
Ævar Arnfjörð Bjarmason [Sun, 9 May 2010 15:51:22 +0000 (15:51 +0000)]
README is in Markdown format. Move it to README.mkdn

This way it'll be displayed properly my GitHub and other Markdown
readers.

14 years agoOnly set pending users to active on a password reset
Tom Hughes [Sun, 9 May 2010 07:44:17 +0000 (08:44 +0100)]
Only set pending users to active on a password reset

When resetting a password only activate pending users, otherwise a
confirmed user's account gets set back to active and may then get
suspended by the spam scorer.

14 years agoBump config/wiki_pages.yml with script/misc/update-wiki-pages
Ævar Arnfjörð Bjarmason [Sat, 8 May 2010 18:10:25 +0000 (18:10 +0000)]
Bump config/wiki_pages.yml with script/misc/update-wiki-pages

14 years agoImplicitly update config/wiki_pages.yml if it exists, and chmod +x
Ævar Arnfjörð Bjarmason [Sat, 8 May 2010 18:09:40 +0000 (18:09 +0000)]
Implicitly update config/wiki_pages.yml if it exists, and chmod +x

This makes:

    script/misc/update-wiki-pages

from the top-level just work.

14 years agoAdd script to update spam block ACLs
Tom Hughes [Sat, 8 May 2010 16:49:27 +0000 (17:49 +0100)]
Add script to update spam block ACLs

Maintain a set of ACLs which block account creation for an IP address
which has had more than two users suspended or removed in the last 28 days.

14 years agoMerge branch 'master' into terms
Tom Hughes [Fri, 7 May 2010 21:23:20 +0000 (22:23 +0100)]
Merge branch 'master' into terms

Conflicts:
config/application.yml
lib/osm.rb
public/stylesheets/common.css

14 years agoRedirect after processing user changes
Tom Hughes [Fri, 7 May 2010 13:08:25 +0000 (14:08 +0100)]
Redirect after processing user changes

After we have processed the requested user changes, redirect back
to the list so that the resulting page is reloadable without getting
resubmission warnings from the browser.

14 years agoPreserve parameters in pagination links
Tom Hughes [Fri, 7 May 2010 13:08:07 +0000 (14:08 +0100)]
Preserve parameters in pagination links

14 years agoPreserve the page number when submitting the form
Tom Hughes [Fri, 7 May 2010 13:07:39 +0000 (14:07 +0100)]
Preserve the page number when submitting the form

14 years agoFix statistics script to reflect changes to user model
Tom Hughes [Fri, 7 May 2010 10:09:54 +0000 (11:09 +0100)]
Fix statistics script to reflect changes to user model

14 years agoRedirect back to settings after updating user settings
Tom Hughes [Fri, 7 May 2010 09:01:24 +0000 (10:01 +0100)]
Redirect back to settings after updating user settings

When we've saved a user's settings, redirect back to their settings
page instead of just rerendering so that a suspended user check will
be done.

14 years agoRedirect suspended users to an information page
Tom Hughes [Fri, 7 May 2010 09:00:24 +0000 (10:00 +0100)]
Redirect suspended users to an information page

If the current session is for a logged in user and that user has
been suspended then log them out and redirect them to a page
explaining that their account has been suspended.

14 years agoDon't try and display IP address for users without one
Tom Hughes [Fri, 7 May 2010 08:29:38 +0000 (09:29 +0100)]
Don't try and display IP address for users without one

14 years agoDisplay total user count correctly in user list
Tom Hughes [Fri, 7 May 2010 08:05:55 +0000 (09:05 +0100)]
Display total user count correctly in user list

14 years agoLink the username in the user list to their profile
Tom Hughes [Fri, 7 May 2010 08:03:12 +0000 (09:03 +0100)]
Link the username in the user list to their profile

14 years agoFix tests for changes to user model
Tom Hughes [Thu, 6 May 2010 21:11:55 +0000 (22:11 +0100)]
Fix tests for changes to user model

14 years agoFix user visibility check
Tom Hughes [Thu, 6 May 2010 21:11:38 +0000 (22:11 +0100)]
Fix user visibility check

14 years agoFix typo
Tom Hughes [Thu, 6 May 2010 21:01:45 +0000 (22:01 +0100)]
Fix typo

14 years agoFix user visibility check
Tom Hughes [Thu, 6 May 2010 20:52:27 +0000 (21:52 +0100)]
Fix user visibility check

14 years agoAdd a user list view for administrators
Tom Hughes [Tue, 4 May 2010 13:44:28 +0000 (14:44 +0100)]
Add a user list view for administrators

14 years agoTell users their account has been suspended when they try and login
Tom Hughes [Mon, 3 May 2010 16:09:37 +0000 (17:09 +0100)]
Tell users their account has been suspended when they try and login

14 years agoMerge all the user status changing methods into one
Tom Hughes [Sat, 1 May 2010 17:28:41 +0000 (18:28 +0100)]
Merge all the user status changing methods into one

14 years agoShow administrators the status and spam score for a user
Tom Hughes [Sat, 1 May 2010 16:30:37 +0000 (17:30 +0100)]
Show administrators the status and spam score for a user

14 years agoSuspend users if their spam score gets too high
Tom Hughes [Sat, 1 May 2010 16:03:18 +0000 (17:03 +0100)]
Suspend users if their spam score gets too high

Use an observer to watch all diary and user updates and, if the user
is not confirmed, chek their spam score and suspend then if it has got
too high.

14 years agoAdd support for suspended and confirmed users
Tom Hughes [Sat, 1 May 2010 15:13:47 +0000 (16:13 +0100)]
Add support for suspended and confirmed users

Replace the existing "active" and "visible" with an enumerated status
that allows for extra cases. Currently we have "suspended" for users
who hve triggered the spam detector and "confirmed" for users that have
triggered the detector but have been confirmed as vald by an admin.

14 years agoInclude the user description in the spam score
Tom Hughes [Sat, 1 May 2010 10:22:37 +0000 (11:22 +0100)]
Include the user description in the spam score

14 years agoAdd a user index to diary comments
Tom Hughes [Thu, 29 Apr 2010 23:21:57 +0000 (00:21 +0100)]
Add a user index to diary comments

14 years agoAdd a spam_score method to the user model
Tom Hughes [Thu, 29 Apr 2010 23:18:53 +0000 (00:18 +0100)]
Add a spam_score method to the user model

14 years agoImplement OSM.spam_score to return a spam score for a piece of text
Tom Hughes [Wed, 28 Apr 2010 23:29:49 +0000 (00:29 +0100)]
Implement OSM.spam_score to return a spam score for a piece of text

14 years agoUpdate to OpenLayers 2.9.1
Tom Hughes [Thu, 6 May 2010 14:08:47 +0000 (15:08 +0100)]
Update to OpenLayers 2.9.1

14 years agoLocalisation updates from translatewiki.net (2010-05-05)
Siebrand Mazeland [Wed, 5 May 2010 22:24:27 +0000 (00:24 +0200)]
Localisation updates from translatewiki.net (2010-05-05)

14 years agoMerge branch 'master' into terms
Tom Hughes [Wed, 5 May 2010 14:29:48 +0000 (15:29 +0100)]
Merge branch 'master' into terms

14 years agoLocalisation updates from translatewiki.net (2010-05-04)
Siebrand Mazeland [Mon, 3 May 2010 22:37:48 +0000 (00:37 +0200)]
Localisation updates from translatewiki.net (2010-05-04)

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoswf update with Surrey imagery support
Grant Slater [Sun, 2 May 2010 13:32:54 +0000 (14:32 +0100)]
swf update with Surrey imagery support

14 years agoAdd tag for Surrey Air Survey
Grant Slater [Sat, 1 May 2010 15:01:45 +0000 (16:01 +0100)]
Add tag for Surrey Air Survey

14 years agoMove email configuration out of the model and into the config file
Andy Allan [Sat, 1 May 2010 11:36:22 +0000 (12:36 +0100)]
Move email configuration out of the model and into the config file

14 years agoLocalisation updates from translatewiki.net (2010-04-30)
Siebrand Mazeland [Fri, 30 Apr 2010 11:57:31 +0000 (13:57 +0200)]
Localisation updates from translatewiki.net (2010-04-30)

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoUpdated rails translations from http://github.com/svenfuchs/rails-i18n
Tom Hughes [Fri, 30 Apr 2010 08:18:35 +0000 (09:18 +0100)]
Updated rails translations from http://github.com/svenfuchs/rails-i18n

14 years agoFix YAML syntax error introduced in d67b9d73024558587828273dd8afa3da8d27889b. Thanks...
Siebrand Mazeland [Thu, 29 Apr 2010 21:25:51 +0000 (23:25 +0200)]
Fix YAML syntax error introduced in d67b9d73024558587828273dd8afa3da8d27889b. Thanks to avar for helping out.

14 years ago* updates in newline usage on the license_page messages
Siebrand Mazeland [Thu, 29 Apr 2010 21:12:24 +0000 (23:12 +0200)]
* updates in newline usage on the license_page messages
* remove trailing whitespace

14 years agoMerge branch 'master' of git://git.openstreetmap.org/rails
Siebrand Mazeland [Thu, 29 Apr 2010 20:58:18 +0000 (22:58 +0200)]
Merge branch 'master' of git://git.openstreetmap.org/rails

14 years agoUpdate config/wiki_pages.yml with script/misc/update-wiki-pages
Ævar Arnfjörð Bjarmason [Thu, 29 Apr 2010 13:21:40 +0000 (13:21 +0000)]
Update config/wiki_pages.yml with script/misc/update-wiki-pages

16 new values. Mainly French and Russian.

14 years agoFix mangling of wikipedia links
Tom Hughes [Wed, 28 Apr 2010 17:48:56 +0000 (18:48 +0100)]
Fix mangling of wikipedia links

Bail out straight away if the tag value is a URL rather than waiting
until we have parsed the key as we may change the value in the process
of parsing the key.

14 years agoFix link broken in feb9582 due to routes.rb changes
Ævar Arnfjörð Bjarmason [Tue, 27 Apr 2010 15:18:24 +0000 (15:18 +0000)]
Fix link broken in feb9582 due to routes.rb changes

14 years agoTweak the copyright page translation
Tom Hughes [Tue, 27 Apr 2010 15:00:10 +0000 (16:00 +0100)]
Tweak the copyright page translation

14 years agoMerge branch 'master' into terms
Tom Hughes [Tue, 27 Apr 2010 10:22:25 +0000 (11:22 +0100)]
Merge branch 'master' into terms

14 years agoImprove layout of buttons on contributor terms page
Tom Hughes [Tue, 27 Apr 2010 10:04:41 +0000 (11:04 +0100)]
Improve layout of buttons on contributor terms page

14 years agoMake the decline button a real button
Tom Hughes [Tue, 27 Apr 2010 09:45:49 +0000 (10:45 +0100)]
Make the decline button a real button

Make the decline button on the terms page a real form submit button
and have the server redirect to the wiki as it's the only way to get
something that will actually look the same as a button on all the
different browsers.

14 years agoPressing agree creates the account now rather than activating it
Tom Hughes [Tue, 27 Apr 2010 09:06:40 +0000 (10:06 +0100)]
Pressing agree creates the account now rather than activating it

14 years agoAjaxify the country selection on the terms page
Tom Hughes [Tue, 27 Apr 2010 09:01:40 +0000 (10:01 +0100)]
Ajaxify the country selection on the terms page

14 years agoSome styling changes. Changed drop-down into radio buttons. Tried, and failed, to...
Matt Amos [Mon, 26 Apr 2010 23:36:44 +0000 (00:36 +0100)]
Some styling changes. Changed drop-down into radio buttons. Tried, and failed, to get the 'decline' link to look like a button.

14 years agoLocalisation updates from translatewiki.net (2010-04-26)
Siebrand Mazeland [Mon, 26 Apr 2010 20:04:27 +0000 (22:04 +0200)]
Localisation updates from translatewiki.net (2010-04-26)

Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
14 years agoChange misleading wording on copyright page
Ævar Arnfjörð Bjarmason [Mon, 26 Apr 2010 18:05:51 +0000 (18:05 +0000)]
Change misleading wording on copyright page

Previously it said that you may distribute derived works "under the
same or similar license", now it just says "under the same".

The former form is derived from the cc-by-sa summary:

    http://creativecommons.org/licenses/by-sa/2.0/

But the legal code itself says:

    You may distribute, publicly display, publicly perform, or publicly
    digitally perform a Derivative Work only under the terms of this
    License, a later version of this License with the same License
    Elements as this License, or a Creative Commons iCommons license that
    contains the same License Elements as this
    License (e.g. Attribution-ShareAlike 2.0 Japan)

The intent is obviously to refer to other creative commons
licenses. This makes sense in the context of the creative commons
website. but on our site the reader could infer that he's able to
distribute the map data under similar licenses, such as the GPL, GFDL,
Apache 2 and others.

14 years agoTranslate "Copyright & license" into Icelandic
Ævar Arnfjörð Bjarmason [Mon, 26 Apr 2010 18:01:27 +0000 (18:01 +0000)]
Translate "Copyright & license" into Icelandic

14 years agoEnable localization of the copyright page
Ævar Arnfjörð Bjarmason [Mon, 26 Apr 2010 18:00:02 +0000 (18:00 +0000)]
Enable localization of the copyright page

The copyright page introduced in ecbd526 wasn't localize-able. Rectify
that with a page that:

   * Displays a header in non-English languages indicating that the
     version you're looking at isn't canonical.

   * Links back to the local version from the English one in a
     non-English locale.

Additionally I fixed a regression with the cc_button.png. It now has a
meaningful alt="" text again.

14 years agoAdd some extra translations from OpenLayers 2.9
Tom Hughes [Fri, 23 Apr 2010 15:13:39 +0000 (16:13 +0100)]
Add some extra translations from OpenLayers 2.9

14 years agoFix data browser navigation tooltips
Tom Hughes [Thu, 22 Apr 2010 22:38:07 +0000 (23:38 +0100)]
Fix data browser navigation tooltips

14 years agoImprove layout of data browser pages
Tom Hughes [Thu, 22 Apr 2010 22:05:20 +0000 (23:05 +0100)]
Improve layout of data browser pages

Use float to position the navigation controls and map on the right
rather than a table so that we get more consistent positioning and
avoid forcing the map of the right hand side of the viewport.

14 years agoUpdate to OpenLayers 2.9
Tom Hughes [Thu, 22 Apr 2010 17:51:46 +0000 (18:51 +0100)]
Update to OpenLayers 2.9

14 years agoMerge branch 'copyright'
Tom Hughes [Thu, 22 Apr 2010 10:13:14 +0000 (11:13 +0100)]
Merge branch 'copyright'

14 years agoLink to API usage policy
Tom Hughes [Thu, 22 Apr 2010 09:49:50 +0000 (10:49 +0100)]
Link to API usage policy

14 years agoTweak wikipedia links stuff
Tom Hughes [Thu, 22 Apr 2010 09:41:53 +0000 (10:41 +0100)]
Tweak wikipedia links stuff

14 years agoMerge remote branch 'avar/avar/browse-pages-link-to-wikipedia'
Tom Hughes [Thu, 22 Apr 2010 08:09:36 +0000 (09:09 +0100)]
Merge remote branch 'avar/avar/browse-pages-link-to-wikipedia'

14 years agoCase #2908: Escape user name in user not found error
Tom Hughes [Wed, 21 Apr 2010 23:43:31 +0000 (00:43 +0100)]
Case #2908: Escape user name in user not found error