Commit graph

3844 commits

Author SHA1 Message Date
Tom Hughes
ae8c0b3baf Add a user list view for administrators 2010-05-06 20:55:02 +01:00
Tom Hughes
5d3992daca Tell users their account has been suspended when they try and login 2010-05-06 17:18:34 +01:00
Tom Hughes
552a647810 Merge all the user status changing methods into one 2010-05-06 17:18:34 +01:00
Tom Hughes
200a1ab5c7 Show administrators the status and spam score for a user 2010-05-06 17:18:34 +01:00
Tom Hughes
980c2fa301 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.
2010-05-06 17:18:34 +01:00
Tom Hughes
5a54630b57 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.
2010-05-06 17:18:34 +01:00
Tom Hughes
8b781bb18b Include the user description in the spam score 2010-05-06 17:18:34 +01:00
Tom Hughes
752f737497 Add a user index to diary comments 2010-05-06 17:18:34 +01:00
Tom Hughes
937b576bf5 Add a spam_score method to the user model 2010-05-06 17:18:33 +01:00
Tom Hughes
d80f260b8b Implement OSM.spam_score to return a spam score for a piece of text 2010-05-06 17:18:33 +01:00
Tom Hughes
d75c99b62d Update to OpenLayers 2.9.1 2010-05-06 15:08:47 +01:00
Siebrand Mazeland
1853231f56 Localisation updates from translatewiki.net (2010-05-05) 2010-05-06 00:24:27 +02:00
Tom Hughes
ffd7b02b0c Merge branch 'master' into terms 2010-05-05 15:29:48 +01:00
Siebrand Mazeland
3190cd88de Localisation updates from translatewiki.net (2010-05-04)
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-05-04 00:37:48 +02:00
Grant Slater
684aad13df swf update with Surrey imagery support 2010-05-03 16:47:26 +01:00
Ævar Arnfjörð Bjarmason
c7876b4477 Runaway HTML in f28f28f24a made all the interface BOLD 2010-05-03 16:47:26 +01:00
Ævar Arnfjörð Bjarmason
109ef833be Translate the most common OpenID messages into Icelandic 2010-05-03 16:47:22 +01:00
Grant Slater
6155eabbf8 swf update with Surrey imagery support 2010-05-02 14:32:54 +01:00
Ævar Arnfjörð Bjarmason
ffd929800d Idiot proof message, say "using the form below" 2010-05-02 11:04:42 +00:00
Ævar Arnfjörð Bjarmason
7fe2f07e47 Make "Your OpenID is not associated with a OpenStreetMap account yet" message valid HTML
It was introduced in ebcc988376 by Kai Krueger
2010-05-02 11:02:25 +00:00
Ævar Arnfjörð Bjarmason
acf518e5c3 M-x untabify Kai Krueger's ebcc988376 2010-05-02 10:48:06 +00:00
Ævar Arnfjörð Bjarmason
6a6814e41d Only apply openid_url class to <input> boxes
This was already implicitly the case since it was only used on
<input>. Just narrow down the CSS rule.
2010-05-02 10:46:31 +00:00
Ævar Arnfjörð Bjarmason
e219011760 Merge remote branch 'apmon/openID' into openID 2010-05-02 10:24:06 +00:00
Kai Krueger
9fbd888e04 Merge branch 'master' of git://git.openstreetmap.org/rails into openID 2010-05-02 11:15:13 +01:00
Kai Krueger
92af0eccd5 Add test for OpenID login and signup
The tests need the ROTS (Ruby OpenID Test Server) running.
ROTS can be found at http://github.com/roman/rots
If ROTS is not running, there will be 4 failed test cases, but otherwise
things should work
2010-05-02 11:04:51 +01:00
Kai Krueger
9faf30fb45 Add an extra null pointer check that can trigger in tests 2010-05-02 11:03:45 +01:00
Ævar Arnfjörð Bjarmason
441b92c3c3 Merge branch 'master' into openID 2010-05-02 08:57:50 +00:00
Kai Krueger
900fdde664 Make a missing string translatable. Add a note about not needing a password with OpenID 2010-05-02 01:06:30 +01:00
Tom Hughes
c079c1f574 Improve hiding of openid field on signup screen 2010-05-01 19:18:06 +01:00
Kai Krueger
2b21b7f841 Forgott to commit a javascript file 2010-05-01 19:03:31 +01:00
Kai Krueger
799bbc3d9f Hide OpenID url on signup page to make it less confusing 2010-05-01 18:48:20 +01:00
Kai Krueger
6159b48b8f Remove a superfluous styling 2010-05-01 17:55:16 +01:00
Grant Slater
4d1fa7adfb Add tag for Surrey Air Survey 2010-05-01 16:01:45 +01:00
Kai Krueger
ebcc988376 Make it a bit clear when you try and login with openID and your openID isn't associated with a OSM account yet 2010-05-01 13:49:51 +01:00
Andy Allan
cd89a3c662 Move email configuration out of the model and into the config file 2010-05-01 12:36:22 +01:00
Kai Krueger
31d497fb0a Fine tweek the size of the OpenID logos 2010-05-01 11:29:23 +01:00
Kai Krueger
058217bc69 Add the OpenID logo to all openid url entry textfields for clarity 2010-05-01 11:25:47 +01:00
Siebrand Mazeland
4ef2cb9a71 Localisation updates from translatewiki.net (2010-04-30)
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-04-30 13:57:31 +02:00
Tom Hughes
b2c3c8e710 Updated rails translations from http://github.com/svenfuchs/rails-i18n 2010-04-30 09:18:35 +01:00
Siebrand Mazeland
2b46a0b0e4 Fix YAML syntax error introduced in d67b9d7302. Thanks to avar for helping out. 2010-04-29 23:25:51 +02:00
Siebrand Mazeland
d67b9d7302 * updates in newline usage on the license_page messages
* remove trailing whitespace
2010-04-29 23:12:24 +02:00
Siebrand Mazeland
1ae014afa1 Merge branch 'master' of git://git.openstreetmap.org/rails 2010-04-29 22:58:18 +02:00
Ævar Arnfjörð Bjarmason
f8119bf169 Update config/wiki_pages.yml with script/misc/update-wiki-pages
16 new values. Mainly French and Russian.
2010-04-29 13:21:40 +00:00
Tom Hughes
90d2ed759f 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.
2010-04-28 18:48:56 +01:00
Kai Krueger
65bcddf7a1 Replaced the Google and Yahoo logos with nicer ones 2010-04-27 22:06:10 +01:00
Ævar Arnfjörð Bjarmason
433464ecc2 Merge remote branch 'remotes/apmon/openID' into openID 2010-04-27 20:50:01 +00:00
Ævar Arnfjörð Bjarmason
2d0d6339a5 Don't display an image border for images in the OpenID login box 2010-04-27 20:48:08 +00:00
Kai Krueger
8df391f41f Merge branch 'openID' of git://github.com/avar/osm-website into openID 2010-04-27 21:37:40 +01:00
Kai Krueger
5027a70fec It was not possible to remove an OpenID from your user profile 2010-04-27 21:34:41 +01:00
Ævar Arnfjörð Bjarmason
79e140641c Tweak the OpenID login page
* Replace 'foo' alt text with a real alt text and add title="" text
    too

  * Don't display an "Or" between the two, it's obvious from context
    that it's either-or

  * Display a small OpenID logo next to the login form (from
    http://openid.net/foundation/news/logos/)

  * Fix some indenting / HTML errors in the login table

  * Don't add border: 1px style to the OpenID provider logos. Prettier
    this way and doesn't include inline CSS
2010-04-27 20:32:43 +00:00