Kai Krueger
eac7348ad2
Split comment field out of map bugs table
...
Rather than have all comments in a single text field, have each comment in its own entry
and only combine them back on output
2010-03-01 21:05:40 +00:00
Tom Hughes
5e9ae68fb2
Make friend notification messages include a link to add a reciprocal
...
friendship if it doesn't already exist. Closes #2754 .
2010-03-01 12:08:11 +00:00
Kai Krueger
42822a8b89
An initial (incomplete) "proof of concept" integration of an OpenStreetBugs interface into the rails port
...
This is a (start of a) reimplementation of the api at http://github.com/emka/openstreetbugs/tree/master/api/0.1/
into rails
The client side code is taken from http://wiki.openstreetmap.org/wiki/OpenStreetBugs/New_Client
This is ment as a mockup to perhaps use as a basis to further discuss how best to integrate a map bug reporting system
It currently uses (more or less) the openstreetbugs api specification. But this api feels rather inconsistent with the
rest of the rails_port api, so depending on discussions might still need some significant changes.
2010-02-28 09:30:40 +00:00
Tom Hughes
0b913efd05
Use Nominatim to reverse geocode diary location information and display
...
a friendly human readable location instead of some coordinates.
2010-02-27 12:41:56 +00:00
Kai Krueger
bbf30e76e4
merge 19889:20181 of rails_port into the openID branch
...
merge conflicts with the remember_me functionality
2010-02-27 11:21:15 +00:00
Tom Hughes
9deeae3f96
Remove validates_associated_of calls which target the user model as
...
we have a number of users with minor validation failures.
2010-02-25 21:50:09 +00:00
Tom Hughes
7f28b7342c
Improve email address validation and add validation of the new
...
email address field. Closes #2744 .
2010-02-25 19:15:54 +00:00
Kai Krueger
17a7c69e8d
merge 19601:19888 of rails_port into the openID branch
2010-02-06 13:13:52 +00:00
Tom Hughes
5d658d5a34
Fix expiry of cached diary views.
2010-01-27 09:12:25 +00:00
Kai Krueger
84db1d66b7
merge 19364:19600 of rails_port into the openID branch
...
renamed migration 049_add_open_id_authentication_tables.rb to
050_add_open_id_authentication_tables.rb
2010-01-23 15:31:01 +00:00
Tom Hughes
86cbb404e9
Add a sweeper to clean up cache entries when a user's visibility or
...
display name changes.
2010-01-21 11:39:28 +00:00
Tom Hughes
aa27228dea
The new message route want the display name now, not the id. Closes #2642 .
2010-01-17 09:12:40 +00:00
Tom Hughes
e29e49dc7c
Add some caching for trace views.
2010-01-10 17:44:57 +00:00
Kai Krueger
ca558c692e
This is the initial implementation of login via OpenID
...
This is the patch presented in trac ticket #2500
With this commit, it is possible to assosciate an openID
to an existing OSM account. Once associated, it is possible
to either login via OpenID, or as always via username and password.
Other aspects, such as account creation and the need for a valid email
are unchanged.
2010-01-10 17:41:32 +00:00
Tom Hughes
314b734aa5
Introduce some caching for diary views.
2010-01-09 16:43:38 +00:00
Shaun McDonald
094855be22
Actually the changeset doesn't need an id attribute in the xml. It is simply fetched as a parameter in the url. Thanks for pointing it out Frederik. We really need more tests so that things like this are thought about more before committing potentially significant changes.
2009-12-15 23:53:19 +00:00
Shaun McDonald
43a28065b1
Change the way that the changeset parsing is done, so that it is in line with the nodes/ways/relations and gives much nicer error messages. Adding some tests too to back up those changes.
2009-12-06 02:13:30 +00:00
Tom Hughes
57a05a40fc
Make diary comment creation work again.
2009-11-15 11:00:54 +00:00
Tom Hughes
634565c5d3
Add support for logical deletion of diary entries and comments.
2009-11-14 15:57:08 +00:00
Tom Hughes
19e6486870
Quote the from address explicitly as rails seems to be failing to do
...
it, though it looks like it should from a quick glance at the source.
2009-11-06 16:03:19 +00:00
Tom Hughes
23b8672bc9
Add support for processing incoming mail messages in reply to message
...
notifications and diary comment notifications, turning the maill messages
into reply messages through the site messaging system.
2009-11-05 23:16:20 +00:00
Tom Hughes
5a2ad3655b
Replace a couple calls to inject with more readble constructs.
2009-10-01 20:39:04 +00:00
Tom Hughes
8217c55523
Correct comment.
2009-10-01 20:24:53 +00:00
Matt Amos
1e3b3c1f10
Refactored user_role and controller. Now much more DRY.
2009-10-01 17:15:34 +00:00
Matt Amos
77851bac7b
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
2009-09-30 17:39:42 +00:00
Matt Amos
95c3d640a4
Tried to DRY the user_blocks controller. Moved the configuration of the blocking periods into application.yml.
2009-09-30 15:44:29 +00:00
Matt Amos
ca06b3c7b1
New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages.
2009-09-29 16:44:03 +00:00
Matt Amos
daa2496024
First version of blocking feature. Allows both time-based (for map protection) and notice-based (for education) blocks on users. Also introduces user roles and a simple UI for displaying and administering these.
2009-09-28 16:01:00 +00:00
Tom Hughes
77ce1b2809
Ignore empty tags. Closes #2311 .
2009-09-24 23:27:13 +00:00
Tom Hughes
63b399c9b2
Update to rails 2.3.4 for security fixes.
2009-09-04 08:45:38 +00:00
Tom Hughes
73340e1780
Add support for reloading the language table.
2009-09-03 21:55:42 +00:00
Tom Hughes
d227589a63
Merge oauth branch at r17138 to trunk.
2009-08-18 20:01:56 +00:00
Tom Hughes
0f6dda6050
Qualify SCALE properly - apparently object visibility when running the
...
test suite is not the same as when running live... Rails FAIL!
2009-08-16 10:36:16 +00:00
Matt Amos
d0e47d30e4
Fixes bug #2152 by preventing over-expansion of bboxes beyond the world range.
2009-08-16 00:19:18 +00:00
Tom Hughes
908a6ef409
Merge 16891:17044 from trunk.
2009-08-13 17:18:08 +00:00
Tom Hughes
565171486f
Add extra visibility options for GPS traces, and enhance the API call
...
that returns trace data to return more information if the owner of the
trace has allowed it. Based on a patch from Matt Amos.
2009-08-13 17:06:11 +00:00
Matt Amos
bb84a78a09
Made XML parsing routines raise an exception if the document is valid XML, but not valid as an OSM document. This is now the same behaviour as when the document isn't valid XML.
2009-08-06 17:28:49 +00:00
Tom Hughes
cbbfdf3948
Merge 16743:16811 from trunk.
2009-08-03 23:50:47 +00:00
Tom Hughes
e890528aac
Rework password reset system to do away with the second email and instead
...
just allow the user (providing they possess a valid token from the first
email) to enter a new password on the site.
2009-08-03 23:42:29 +00:00
Tom Hughes
254ce1eca0
Exclude deleted messages from the new_messages relationship.
2009-08-03 14:33:53 +00:00
Matt Amos
eff06faf46
Moved find_token method into the token class, since that seems a more appropriate place for it.
2009-08-03 14:00:29 +00:00
Matt Amos
e1ad636f53
Removed debugging statements accidentally committed.
2009-08-03 13:58:59 +00:00
Matt Amos
05e2120273
Merged 16488:16743 from trunk.
2009-07-31 10:42:06 +00:00
Tom Hughes
70cf737626
Ignore deleted traces when returning a user's traces. Fixes #2093 .
2009-07-23 17:45:28 +00:00
Tom Hughes
581c243e0e
Allow messages to be deleted from the outbox as well as the inbox.
2009-07-23 17:41:50 +00:00
Tom Hughes
f3bf0c8b14
Add the ability for a recipient to (logically) delete a message from
...
their INBOX so they no longer see it.
2009-07-23 15:22:44 +00:00
Tom Hughes
291350850d
Say which way is too long.
2009-07-15 13:34:14 +00:00
Tom Hughes
64fb530581
Merge 16110:16487 from trunk.
2009-07-14 08:03:24 +00:00
Štefan Baebler
9afb533280
added comment for future generations
2009-07-07 22:50:46 +00:00
Štefan Baebler
ebbcf63f0d
Introducing comma as tag separator (if present, otherwise it behaves as before), allowing spaces in tags. fixes #2032
2009-07-07 22:05:03 +00:00