]>
git.openstreetmap.org Git - rails.git/log
Tom Hughes [Wed, 7 Apr 2010 10:59:19 +0000 (10:59 +0000)]
Load timecop in the test environment only.
Tom Hughes [Wed, 7 Apr 2010 09:45:41 +0000 (09:45 +0000)]
Revert copyright page from the trunk for now.
Tom Hughes [Wed, 7 Apr 2010 09:44:30 +0000 (09:44 +0000)]
Make a branch for working on the copyright page.
Translatewiki [Tue, 6 Apr 2010 22:32:09 +0000 (22:32 +0000)]
Localisation updates from translatewiki.net (2010-04-07)
Translatewiki [Tue, 6 Apr 2010 22:30:21 +0000 (22:30 +0000)]
Localisation updates from translatewiki.net (2010-04-07)
Translatewiki [Tue, 6 Apr 2010 22:25:20 +0000 (22:25 +0000)]
Localisation updates from translatewiki.net (2010-04-07)
Translatewiki [Tue, 6 Apr 2010 22:20:45 +0000 (22:20 +0000)]
Localisation updates from translatewiki.net (2010-04-07)
Tom Hughes [Tue, 6 Apr 2010 20:11:33 +0000 (20:11 +0000)]
Tweak the new copyright page a bit.
Richard Fairhurst [Tue, 6 Apr 2010 14:22:21 +0000 (14:22 +0000)]
add OS StreetView (and a D keypress for the Ubuntu types)
Richard Fairhurst [Tue, 6 Apr 2010 13:55:33 +0000 (13:55 +0000)]
New, more helpful and compliant copyright page
Shaun McDonald [Sat, 3 Apr 2010 21:31:35 +0000 (21:31 +0000)]
Seems that the Rails.env doesn't consistently work. Removing condition in config/environment.rb
Shaun McDonald [Sat, 3 Apr 2010 21:02:20 +0000 (21:02 +0000)]
Adding timecop as a gem dependency when in development env. This allows for time based tests to be accurate/consistent. It will stop the random error on the api_controller_test#test_changes_simple, when you are on a slow machine/have bad timing.
Translatewiki [Sat, 3 Apr 2010 13:36:40 +0000 (13:36 +0000)]
Localisation updates from translatewiki.net (2010-04-03)
Translatewiki [Sat, 3 Apr 2010 13:35:56 +0000 (13:35 +0000)]
Localisation updates from translatewiki.net (2010-04-03)
Kai Krueger [Sat, 27 Mar 2010 11:45:36 +0000 (11:45 +0000)]
Fixed some minor bugs and add tests to spot them
Translatewiki [Tue, 23 Mar 2010 20:21:01 +0000 (20:21 +0000)]
Localisation updates from translatewiki.net (2010-03-23)
Translatewiki [Tue, 23 Mar 2010 20:20:45 +0000 (20:20 +0000)]
Localisation updates from translatewiki.net (2010-03-23)
Matt Amos [Mon, 22 Mar 2010 22:56:45 +0000 (22:56 +0000)]
Patching fix to test from branch.
Kai Krueger [Sun, 21 Mar 2010 12:12:05 +0000 (12:12 +0000)]
Reuse the map_bug_comment table as a more general history table of map_bugs including close and reopen events
This helps the rss feed to work on a per event basis rather than on a per bug basis
Kai Krueger [Sun, 21 Mar 2010 12:04:15 +0000 (12:04 +0000)]
minor improvement to the map_bugs tests
Tom Hughes [Sun, 21 Mar 2010 11:33:58 +0000 (11:33 +0000)]
Restrict the fragment caching of the reverse geocode result to only cover
that lookup and not anything else as the geocode result is only cached once
for all languages.
Kai Krueger [Sat, 20 Mar 2010 12:34:59 +0000 (12:34 +0000)]
Convert openstreetbugs javascript to new style api
Kai Krueger [Sat, 20 Mar 2010 11:59:23 +0000 (11:59 +0000)]
Don't limit get map_bugs to a small Area, by disabling the quadtile index for those searches
The volumn of bugs seem small enough to get away with normal or GiST indexes (not included yet)
Also includes some other fixes
Tom Hughes [Sat, 20 Mar 2010 00:02:37 +0000 (00:02 +0000)]
Remove old segment view directory.
Tom Hughes [Sat, 20 Mar 2010 00:01:57 +0000 (00:01 +0000)]
Disable autocompletion for the password fields on the settings page.
Tom Hughes [Thu, 18 Mar 2010 22:33:05 +0000 (22:33 +0000)]
Add placeholder file for nb translations and arrange to merge nb and
no translations at startup.
Tom Hughes [Thu, 18 Mar 2010 21:47:02 +0000 (21:47 +0000)]
Rename no-NB and no-NN translations to the correct nb and nn codes.
Tom Hughes [Thu, 18 Mar 2010 21:36:15 +0000 (21:36 +0000)]
Update rails translations.
Kai Krueger [Thu, 18 Mar 2010 12:42:23 +0000 (12:42 +0000)]
Merge -r 20198:20540 from trunc into openstreetbugs branch
Kai Krueger [Wed, 17 Mar 2010 23:43:32 +0000 (23:43 +0000)]
Add some rudimentary initial tests for the map bugs api
Kai Krueger [Wed, 17 Mar 2010 23:39:59 +0000 (23:39 +0000)]
Fixup some error handling in map bugs
Translatewiki [Wed, 17 Mar 2010 21:48:01 +0000 (21:48 +0000)]
Localisation updates from translatewiki.net (2010-03-17)
Translatewiki [Wed, 17 Mar 2010 21:47:18 +0000 (21:47 +0000)]
Localisation updates from translatewiki.net (2010-03-17)
Tom Hughes [Wed, 17 Mar 2010 21:42:48 +0000 (21:42 +0000)]
Load ethnio script over https to avoid browser warnings.
Tom Hughes [Tue, 16 Mar 2010 21:13:16 +0000 (21:13 +0000)]
Add UX review recruiting script to signup page.
Kai Krueger [Mon, 15 Mar 2010 00:10:41 +0000 (00:10 +0000)]
List bugs submited or commented on by user
Tom Hughes [Sun, 14 Mar 2010 16:02:30 +0000 (16:02 +0000)]
Update the inbox link in the greeting bar when messages are marked
as read or unread.
Tom Hughes [Sun, 14 Mar 2010 15:48:42 +0000 (15:48 +0000)]
Make disabled tabs more obvious. Based on patch from Adrian Cochrane.
Tom Hughes [Sun, 14 Mar 2010 15:29:53 +0000 (15:29 +0000)]
Require the session ID to log somebody out - if it isn't given we just
show a confirmation page. Closes #2792.
Kai Krueger [Sun, 14 Mar 2010 10:47:16 +0000 (10:47 +0000)]
Fixup some of the rss output and geocode bugs using nominatim
Tom Hughes [Sun, 14 Mar 2010 08:48:48 +0000 (08:48 +0000)]
Use Prototype methods to find the anchor nodes to make sure they get
extended with the Prototype extensions on all browsers.
Kai Krueger [Sun, 14 Mar 2010 00:14:35 +0000 (00:14 +0000)]
back out the registration of the gpx mime type, as it didn't seem work
Kai Krueger [Sat, 13 Mar 2010 22:21:48 +0000 (22:21 +0000)]
try and make the OpenStreetBugs API a bit more consistent with the rest of the API
Kai Krueger [Sat, 13 Mar 2010 13:45:02 +0000 (13:45 +0000)]
Add a browse page for bugs
Translatewiki [Fri, 12 Mar 2010 23:54:23 +0000 (23:54 +0000)]
Localisation updates from translatewiki.net (2010-03-13)
Translatewiki [Fri, 12 Mar 2010 23:53:51 +0000 (23:53 +0000)]
Localisation updates from translatewiki.net (2010-03-13)
Tom Hughes [Thu, 11 Mar 2010 18:52:35 +0000 (18:52 +0000)]
Fix warnings.
Tom Hughes [Thu, 11 Mar 2010 18:29:35 +0000 (18:29 +0000)]
Use the small PanZoom control on the user map instead of the
full PanZoomBar control.
Tom Hughes [Thu, 11 Mar 2010 18:23:22 +0000 (18:23 +0000)]
Improve user popups on friend/nearby mapper maps.
Tom Hughes [Thu, 11 Mar 2010 08:58:48 +0000 (08:58 +0000)]
Use CSS to style the disabled tabs.
Kai Krueger [Wed, 10 Mar 2010 08:42:07 +0000 (08:42 +0000)]
Record time of closure of a bug.
Kai Krueger [Wed, 10 Mar 2010 08:38:53 +0000 (08:38 +0000)]
Escape javascript in output
Richard Fairhurst [Sun, 7 Mar 2010 23:09:26 +0000 (23:09 +0000)]
couple of little fixes
Richard Fairhurst [Sun, 7 Mar 2010 21:44:37 +0000 (21:44 +0000)]
yay for case-insensitive systems
Kai Krueger [Sun, 7 Mar 2010 19:09:32 +0000 (19:09 +0000)]
Change comment type from varchar(255) to text
Some bug comments in the current OSB have more than 255 characters,
so the format needs to be extended to accomodate
Kai Krueger [Sun, 7 Mar 2010 18:41:01 +0000 (18:41 +0000)]
support json format in getBugs, add a limit and name parameter
Translatewiki [Sat, 6 Mar 2010 23:57:17 +0000 (23:57 +0000)]
Localisation updates from translatewiki.net (2010-03-07)
Translatewiki [Sat, 6 Mar 2010 23:56:16 +0000 (23:56 +0000)]
Localisation updates from translatewiki.net (2010-03-07)
Tom Hughes [Sat, 6 Mar 2010 15:38:13 +0000 (15:38 +0000)]
Use a better HTML sanitizer that makes sure the HTML is well formed and
can add rel="nofollow" to links.
Tom Hughes [Sat, 6 Mar 2010 11:37:38 +0000 (11:37 +0000)]
Fix broken </div> tag.
Kai Krueger [Sat, 6 Mar 2010 09:44:54 +0000 (09:44 +0000)]
Fixed small bug where clicking on the "Report a Problem" link would directly create a bug-report
Tom Hughes [Sat, 6 Mar 2010 00:26:32 +0000 (00:26 +0000)]
Fix the selection of the message to be deleted.
Kai Krueger [Thu, 4 Mar 2010 22:30:42 +0000 (22:30 +0000)]
Allow for different formats to the getBugs call
This is a rudimentary initial version of a GPX and a rss
format for looking at bugs in an area.
Tom Hughes [Wed, 3 Mar 2010 15:46:16 +0000 (15:46 +0000)]
Tidy up the stylesheets, removing lots of ancient, unused junk and
trying to group everything else together in more logical fashion.
Grant Slater [Wed, 3 Mar 2010 11:41:43 +0000 (11:41 +0000)]
Update robots.txt to Disallow browser [node|way|relation] history. Content now worth indexing in most cases.
Tom Hughes [Tue, 2 Mar 2010 16:42:45 +0000 (16:42 +0000)]
Don't try and show distances to friends if the user has no
home location set. Closes #2766.
Kai Krueger [Mon, 1 Mar 2010 21:05:40 +0000 (21:05 +0000)]
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
Tom Hughes [Mon, 1 Mar 2010 12:12:02 +0000 (12:12 +0000)]
Move image size hint to avoid issues with LTR languages. Closes #2755.
Tom Hughes [Mon, 1 Mar 2010 12:08:11 +0000 (12:08 +0000)]
Make friend notification messages include a link to add a reciprocal
friendship if it doesn't already exist. Closes #2754.
Tom Hughes [Mon, 1 Mar 2010 00:55:27 +0000 (00:55 +0000)]
Monkey patch rails to work around stupid I18n bug where it looks up
time.formats in the locale and then looks for the requested format in
that hash, thereby not doing fallback correctly. To make things worse
it then defaults to just using the requested format name as the format...
Translatewiki [Sun, 28 Feb 2010 23:07:43 +0000 (23:07 +0000)]
Localisation updates from translatewiki.net (2010-02-28)
Translatewiki [Sun, 28 Feb 2010 21:08:48 +0000 (21:08 +0000)]
Fix typo
Tom Hughes [Sun, 28 Feb 2010 16:57:22 +0000 (16:57 +0000)]
Add a "friendly" date/time format and use it whenever we are printing
dates and times on the web site.
Also try and improve formatting of message pages a but, and include the
image of the recipient when viewing a sent message.
Tom Hughes [Sun, 28 Feb 2010 16:04:30 +0000 (16:04 +0000)]
Get the location for "Where Am I?" from the view tab's link instead of
by asking the map so that it works in edit mode as well. Closes #2383.
Tom Hughes [Sun, 28 Feb 2010 15:13:06 +0000 (15:13 +0000)]
Tidy up error handling in the message controller, and make it redirect to
the login page if you are logged in as the wrong user. Closes #1569.
Tom Hughes [Sun, 28 Feb 2010 14:36:07 +0000 (14:36 +0000)]
Allow a logged in user to relogin as a different user just by visiting
the login page.
Tom Hughes [Sun, 28 Feb 2010 14:23:51 +0000 (14:23 +0000)]
Commit missing resource for user image hint.
Kai Krueger [Sun, 28 Feb 2010 09:30:40 +0000 (09:30 +0000)]
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.
Tom Hughes [Sun, 28 Feb 2010 09:01:19 +0000 (09:01 +0000)]
Add user images to lists of diary entries.
Tom Hughes [Sun, 28 Feb 2010 08:55:01 +0000 (08:55 +0000)]
Add a note to the user image upload suggesting an appropriate size.
Tom Hughes [Sun, 28 Feb 2010 08:41:10 +0000 (08:41 +0000)]
Clamp the maximum width and height of user images. This ensures they can't
get too big but means we don't get any upscaling.
Kai Krueger [Sun, 28 Feb 2010 08:16:05 +0000 (08:16 +0000)]
Create a branch to play around with some ideas for integrating OpenStreetBugs into the rails_port
Ævar Arnfjörð Bjarmason [Sun, 28 Feb 2010 05:13:00 +0000 (05:13 +0000)]
use i18n kthx
Tom Hughes [Sun, 28 Feb 2010 00:31:44 +0000 (00:31 +0000)]
Remove border from anonymous user images as we add it with CSS now.
Tom Hughes [Sun, 28 Feb 2010 00:24:33 +0000 (00:24 +0000)]
Add user images to diary view.
Tom Hughes [Sun, 28 Feb 2010 00:11:17 +0000 (00:11 +0000)]
Add a border to user images.
Tom Hughes [Sat, 27 Feb 2010 23:58:26 +0000 (23:58 +0000)]
Align relation membership details to the top.
Tom Hughes [Sat, 27 Feb 2010 18:38:46 +0000 (18:38 +0000)]
Only specify the width for the user image for now.
Tom Hughes [Sat, 27 Feb 2010 18:12:27 +0000 (18:12 +0000)]
Show the "anonymous user" picture for users with no picture.
Tom Hughes [Sat, 27 Feb 2010 18:11:04 +0000 (18:11 +0000)]
Rework the user details screen to be less crap... Highlights include:
- Map is smaller and placed to the side with lists of friends
and nearby users (now excluding friends) beside it.
- Map includes friends as well as nearby users.
- Friend and nearby user lists include photos and links to
friend/unfriend as appropriate.
- OAuth settings link moved up with all the other links in the
main navigation bar.
The addition of friends to the map also carries through to the user
settings page.
Translatewiki [Sat, 27 Feb 2010 17:14:35 +0000 (17:14 +0000)]
Localisation updates from translatewiki.net (2010-02-27)
Translatewiki [Sat, 27 Feb 2010 17:13:26 +0000 (17:13 +0000)]
Localisation updates from translatewiki.net (2010-02-27)
Tom Hughes [Sat, 27 Feb 2010 12:58:23 +0000 (12:58 +0000)]
If Nominatim can't give us a location, just return the coordinates.
Tom Hughes [Sat, 27 Feb 2010 12:52:30 +0000 (12:52 +0000)]
Make sure we report "no results" when Nominatim's reverse geocoder fails
to find any results.
Tom Hughes [Sat, 27 Feb 2010 12:41:56 +0000 (12:41 +0000)]
Use Nominatim to reverse geocode diary location information and display
a friendly human readable location instead of some coordinates.
Tom Hughes [Sat, 27 Feb 2010 00:14:13 +0000 (00:14 +0000)]
Remote "change my settings" link from user page as it duplicates the
main "my settings" link at the top of the page.
Tom Hughes [Sat, 27 Feb 2010 00:12:16 +0000 (00:12 +0000)]
Remote the user settings page to make it a bit more readable.
Tom Hughes [Sat, 27 Feb 2010 00:02:22 +0000 (00:02 +0000)]
Remove unused set_home method from user controller.
Tom Hughes [Fri, 26 Feb 2010 23:44:43 +0000 (23:44 +0000)]
Move support for adding and deleting user images to the user settings
page and reposition the user image ont he user page in the top right
corner of the page.
Tom Hughes [Fri, 26 Feb 2010 19:49:27 +0000 (19:49 +0000)]
Revert the nofollow attributes - they aren't really needed if sites
obey robots.txt and don't do what Firefishy thought they did.