Commit graph

3733 commits

Author SHA1 Message Date
Tom Hughes
b3ce6fdeec 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.
2010-05-21 19:51:30 +01:00
Siebrand Mazeland
09763ab129 Localisation updates from http://translatewiki.net 2010-05-18 23:13:25 +02:00
Tom Hughes
7f8ed822da 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.
2010-05-18 15:07:46 +01:00
Andrzej Zaborowski
058b94df09 Fix a typo in the native copyright text
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-05-18 13:45:06 +00:00
Andrzej Zaborowski
3dacce23da Add "UMP-pcPL" as CC-BY-SA source in the list of attributions.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
2010-05-18 13:44:20 +00:00
Tom Hughes
798cdc1d19 Tweak resource names to make them fit the normal naming scheme 2010-05-18 00:09:29 +01:00
Ævar Arnfjörð Bjarmason
0fd4a61759 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.
2010-05-18 00:06:43 +01:00
Ævar Arnfjörð Bjarmason
fe8a330fd6 user.login.account suspended so translators don't have to type out anchors 2010-05-17 00:10:41 +01:00
Ævar Arnfjörð Bjarmason
2a2818d055 Change user.suspended.body so translators don't have to type out anchors 2010-05-17 00:10:27 +01:00
Ævar Arnfjörð Bjarmason
71b9bee07c Remove user.terms.legale_button. Added in 9a9e13af but since removed 2010-05-16 17:23:49 +01:00
Siebrand Mazeland
400080ecdb Localisation updates from translatewiki.net 2010-05-16 17:50:01 +02:00
Tom Hughes
4b17b92da0 Merge branch 'master' into openstreetbugs 2010-05-16 14:50:06 +01:00
Tom Hughes
abb2bb74a7 Tidy up addition of icons to relation members 2010-05-16 13:07:25 +01:00
Tom Hughes
6e145a2f38 Rename css_class to link_class for consistency 2010-05-16 12:57:00 +01:00
Tom Hughes
6d3aa7386b Only include tags which affect the icon in the link title 2010-05-16 12:55:10 +01:00
Tom Hughes
7f1ce59f32 Rename browser-icons to browse everywhere and only load CSS when needed 2010-05-16 12:32:51 +01:00
Tom Hughes
b5d0de88ea Merge branch 'master' into openstreetbugs 2010-05-16 12:13:19 +01:00
Dan Karran
10dca1b6df Patch from bug #2787 to add icons to data browser pages 2010-05-16 12:12:59 +01:00
Tom Hughes
8657cd4724 Fix some bogus down migrations 2010-05-16 12:10:28 +01:00
Tom Hughes
273706ae09 Merge branch 'master' into openstreetbugs 2010-05-14 22:50:38 +01:00
Ævar Arnfjörð Bjarmason
407ba399da Bump config/wiki_pages.yml with script/misc/update-wiki-pages 2010-05-14 14:22:14 +00:00
Siebrand Mazeland
83bed32d35 Localisation updates from translatewiki.net (2010-05-09)
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-05-13 23:14:42 +02:00
Tom Hughes
594960dc63 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.
2010-05-13 18:16:31 +01:00
Tom Hughes
c81b5ab1ac Switch to date stamped migrations to make branching easier to handle 2010-05-13 18:16:00 +01:00
Tom Hughes
6ca26591df Ignore unknown countries when doing geolocation 2010-05-13 15:32:46 +01:00
Tom Hughes
568ce75c9a Merge branch 'master' into openstreetbugs 2010-05-13 13:36:43 +01:00
Tom Hughes
70a5a0d9c6 Ubuntu Hardy only has rubygems 1.3.1 and it seems to work 2010-05-13 12:58:22 +01:00
Tom Hughes
691f759da4 Update various files to match current rails versions 2010-05-13 10:54:16 +01:00
Tom Hughes
959442d087 Merge branch 'master' into openstreetbugs 2010-05-11 19:53:57 +01:00
Tom Hughes
2e43a275de Merge branch 'master' of git://git.openstreetmap.org/rails 2010-05-11 19:45:48 +01:00
Tom Hughes
66221ba9b8 Fix site name 2010-05-11 19:44:47 +01:00
Tom Hughes
e005926131 Update test to reflect changes in signup page 2010-05-11 19:17:14 +01:00
Tom Hughes
07f0dddc63 Add parentheses to avoid warning 2010-05-11 19:13:38 +01:00
Tom Hughes
836e926e62 Merge branch 'master' into terms 2010-05-11 19:07:00 +01:00
Tom Hughes
89ec02ea0a Renumber migration to avoid conflict with master 2010-05-11 19:06:30 +01:00
Tom Hughes
703c44eeab Add spam block ACLs with the right key 2010-05-11 08:59:04 +01:00
Siebrand Mazeland
d1eb6d6041 Localisation updates from translatewiki.net (2010-05-09) 2010-05-09 19:06:31 +02:00
Tom Hughes
61e51f88cc Merge branch 'master' into terms 2010-05-09 17:16:43 +01:00
Tom Hughes
0caaf54de5 Merge branch 'master' into openstreetbugs 2010-05-09 17:16:32 +01:00
Ævar Arnfjörð Bjarmason
354a57a9fc 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.
2010-05-09 16:13:15 +00:00
Ævar Arnfjörð Bjarmason
24159b227a README is in Markdown format. Move it to README.mkdn
This way it'll be displayed properly my GitHub and other Markdown
readers.
2010-05-09 15:51:22 +00:00
Tom Hughes
7e5c998a87 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.
2010-05-09 08:44:17 +01:00
Ævar Arnfjörð Bjarmason
50bf6b49a6 Bump config/wiki_pages.yml with script/misc/update-wiki-pages 2010-05-08 18:10:25 +00:00
Ævar Arnfjörð Bjarmason
3a54a20af6 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.
2010-05-08 18:09:49 +00:00
Tom Hughes
dd64ba2e7e 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.
2010-05-08 17:49:27 +01:00
Tom Hughes
160429e62d Merge branch 'master' into openstreetbugs
Conflicts:
	lib/osm.rb
2010-05-07 22:29:09 +01:00
Tom Hughes
303e5d3eb9 Merge branch 'master' into terms
Conflicts:
	config/application.yml
	lib/osm.rb
	public/stylesheets/common.css
2010-05-07 22:23:20 +01:00
Tom Hughes
1eba060929 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.
2010-05-07 14:27:52 +01:00
Tom Hughes
d50cf2b102 Preserve parameters in pagination links 2010-05-07 14:08:07 +01:00
Tom Hughes
c86e52dee9 Preserve the page number when submitting the form 2010-05-07 14:07:39 +01:00