rails.git
8 years agoUpdate to rails 3.0.5, arel 2.0.9 and composite_primary_keys 3.1.4
Tom Hughes [Tue, 15 Mar 2011 18:47:48 +0000 (18:47 +0000)]
Update to rails 3.0.5, arel 2.0.9 and composite_primary_keys 3.1.4

8 years agoUpdate versions of several gems to match what we are testing with
Tom Hughes [Thu, 10 Feb 2011 00:45:19 +0000 (00:45 +0000)]
Update versions of several gems to match what we are testing with

8 years agoRequire arel 2.0.8 or later to avoid problems with Postgres enums
Tom Hughes [Thu, 10 Feb 2011 00:34:59 +0000 (00:34 +0000)]
Require arel 2.0.8 or later to avoid problems with Postgres enums

8 years agoUpdate to rails 3.0.4 and composite_primary_keys 3.1.1
Tom Hughes [Wed, 9 Feb 2011 21:46:47 +0000 (21:46 +0000)]
Update to rails 3.0.4 and composite_primary_keys 3.1.1

8 years agoRemoved extension from assert_template calls
Tom Hughes [Tue, 7 Dec 2010 21:57:20 +0000 (21:57 +0000)]
Removed extension from assert_template calls

8 years agoFix tests to copy with new style mail objects
Tom Hughes [Tue, 7 Dec 2010 21:53:50 +0000 (21:53 +0000)]
Fix tests to copy with new style mail objects

8 years agoSet the preferred language for all test users
Tom Hughes [Tue, 7 Dec 2010 21:41:44 +0000 (21:41 +0000)]
Set the preferred language for all test users

Users with no preferred language will have one set by any request
which has an Accept-Language so in order to stop one test accidentally
affecting another by changing the language we need to make sure all
the users have a preferred language set to start with.

8 years agoRail 3 has renamed fieldWithErrors to field_with_errors
Tom Hughes [Tue, 7 Dec 2010 21:37:04 +0000 (21:37 +0000)]
Rail 3 has renamed fieldWithErrors to field_with_errors

8 years agoSet Accept-Language in a rails 3 compatible way
Tom Hughes [Tue, 7 Dec 2010 21:25:23 +0000 (21:25 +0000)]
Set Accept-Language in a rails 3 compatible way

8 years agoTemporary fix for postgres enums pending rails 3.0.4
Tom Hughes [Tue, 7 Dec 2010 00:23:37 +0000 (00:23 +0000)]
Temporary fix for postgres enums pending rails 3.0.4

8 years agoDo validation in the :save context when testing email address validations
Tom Hughes [Mon, 6 Dec 2010 23:03:20 +0000 (23:03 +0000)]
Do validation in the :save context when testing email address validations

8 years agoUse validates_email_format_of as a gem instead of a plugin
Tom Hughes [Mon, 6 Dec 2010 21:49:50 +0000 (21:49 +0000)]
Use validates_email_format_of as a gem instead of a plugin

8 years agoUpdate to composite_primary_keys 3.0.9
Tom Hughes [Mon, 29 Nov 2010 21:35:48 +0000 (21:35 +0000)]
Update to composite_primary_keys 3.0.9

8 years agoUpdate to rails 3.0.3 and composite_primary_keys 3.0.0.b3
Tom Hughes [Tue, 16 Nov 2010 22:58:31 +0000 (22:58 +0000)]
Update to rails 3.0.3 and composite_primary_keys 3.0.0.b3

8 years agoRework AMF controller's streaming output for rails 3
Tom Hughes [Wed, 22 Sep 2010 21:59:19 +0000 (22:59 +0100)]
Rework AMF controller's streaming output for rails 3

8 years agoAvoid empty content_for blocks as they trigger warnings
Tom Hughes [Wed, 22 Sep 2010 17:40:17 +0000 (18:40 +0100)]
Avoid empty content_for blocks as they trigger warnings

8 years agoRename notifier views to new style names
Tom Hughes [Wed, 22 Sep 2010 17:36:53 +0000 (18:36 +0100)]
Rename notifier views to new style names

8 years agoUpdate oauth support for rails 3 version of oauth plugin
Tom Hughes [Wed, 22 Sep 2010 17:29:27 +0000 (18:29 +0100)]
Update oauth support for rails 3 version of oauth plugin

8 years agoDuplicate records raise RecordNotUnique now, not StatementInvalid
Tom Hughes [Tue, 21 Sep 2010 21:21:55 +0000 (22:21 +0100)]
Duplicate records raise RecordNotUnique now, not StatementInvalid

8 years agoAdd fixtures for user blocks and tokens
Tom Hughes [Tue, 21 Sep 2010 21:12:09 +0000 (22:12 +0100)]
Add fixtures for user blocks and tokens

8 years agoRequire iconv directly as rails no longer loads it
Tom Hughes [Tue, 21 Sep 2010 20:37:54 +0000 (21:37 +0100)]
Require iconv directly as rails no longer loads it

8 years agoAvoid use of deprecated methods on error objects
Tom Hughes [Tue, 21 Sep 2010 20:26:58 +0000 (21:26 +0100)]
Avoid use of deprecated methods on error objects

8 years agoUse last_modified method instead of setting the header manually
Tom Hughes [Thu, 9 Sep 2010 23:12:35 +0000 (00:12 +0100)]
Use last_modified method instead of setting the header manually

8 years agoUpdate ActiveRecord queries to use arel
Tom Hughes [Thu, 9 Sep 2010 09:56:19 +0000 (10:56 +0100)]
Update ActiveRecord queries to use arel

8 years agoSwitch to using the rails-i18n-updater gem instead of the rails-i18n plugin
Tom Hughes [Sun, 5 Sep 2010 23:12:16 +0000 (00:12 +0100)]
Switch to using the rails-i18n-updater gem instead of the rails-i18n plugin

8 years agoGo back to the rails 3 based upstream version of session-persistence
Tom Hughes [Sun, 5 Sep 2010 21:40:12 +0000 (22:40 +0100)]
Go back to the rails 3 based upstream version of session-persistence

8 years agoReflect move of u_unpack from Chars to Unicode
Tom Hughes [Fri, 3 Sep 2010 23:23:55 +0000 (00:23 +0100)]
Reflect move of u_unpack from Chars to Unicode

8 years agoUse an observer to detect changes to the selected legale
Tom Hughes [Fri, 3 Sep 2010 23:11:16 +0000 (00:11 +0100)]
Use an observer to detect changes to the selected legale

8 years agoUpdate validates_email_format_of plugin
Tom Hughes [Fri, 3 Sep 2010 18:09:22 +0000 (19:09 +0100)]
Update validates_email_format_of plugin

8 years agoFix some deprecation warnings in the file_column plugin
Tom Hughes [Fri, 3 Sep 2010 17:50:28 +0000 (18:50 +0100)]
Fix some deprecation warnings in the file_column plugin

8 years agoUse symbols consistently for names of content blocks
Tom Hughes [Fri, 3 Sep 2010 16:25:06 +0000 (17:25 +0100)]
Use symbols consistently for names of content blocks

8 years agoDeclare callbacks explicitly
Tom Hughes [Fri, 3 Sep 2010 16:17:27 +0000 (17:17 +0100)]
Declare callbacks explicitly

8 years agoUse config.filter_parameters instead of filter_parameter_logging
Tom Hughes [Fri, 3 Sep 2010 16:04:42 +0000 (17:04 +0100)]
Use  config.filter_parameters instead of filter_parameter_logging

8 years agoReplace request.request_uri with request.fullpath
Tom Hughes [Fri, 3 Sep 2010 16:02:13 +0000 (17:02 +0100)]
Replace request.request_uri with request.fullpath

8 years agoUse form_tag instead of building forms by hand
Tom Hughes [Fri, 3 Sep 2010 15:53:01 +0000 (16:53 +0100)]
Use form_tag instead of building forms by hand

In order for CSRF protection to work we need to use form_for or form_tag
to build all forms so that the authenticity token is added.

8 years agoDon't allow STARTTLS to be used when sending mail
Tom Hughes [Fri, 3 Sep 2010 15:52:31 +0000 (16:52 +0100)]
Don't allow STARTTLS to be used when sending mail

Ruby's mail library seems to be very picky about the certificate
validity if STARTTLS is used, so disable it.

8 years agoAdd the dynamic form plugin to get error_messages_for support back
Tom Hughes [Fri, 3 Sep 2010 14:41:00 +0000 (15:41 +0100)]
Add the dynamic form plugin to get error_messages_for support back

8 years agoMake helpers return text instead of appending to the output buffer
Tom Hughes [Fri, 3 Sep 2010 14:25:11 +0000 (15:25 +0100)]
Make helpers return text instead of appending to the output buffer

8 years agoReplace various HTML entities with normal characters
Tom Hughes [Fri, 3 Sep 2010 00:05:59 +0000 (01:05 +0100)]
Replace various HTML entities with normal characters

8 years agoMark some strings that shouldn't be escaped as raw
Tom Hughes [Thu, 2 Sep 2010 23:58:23 +0000 (00:58 +0100)]
Mark some strings that shouldn't be escaped as raw

8 years agoUpdate notifiers to use new ActionMailer API
Tom Hughes [Thu, 2 Sep 2010 23:39:09 +0000 (00:39 +0100)]
Update notifiers to use new ActionMailer API

8 years agoUse new ActionMail API to send emails
Tom Hughes [Thu, 2 Sep 2010 22:40:49 +0000 (23:40 +0100)]
Use new ActionMail API to send emails

8 years agoUse <%= instead of <% for block helpers that use concat
Tom Hughes [Thu, 2 Sep 2010 22:30:56 +0000 (23:30 +0100)]
Use <%= instead of <% for block helpers that use concat

8 years agoUse link_to and form_tag instead of link_to_remote and form_remote_tag
Tom Hughes [Thu, 2 Sep 2010 22:00:44 +0000 (23:00 +0100)]
Use link_to and form_tag instead of link_to_remote and form_remote_tag

8 years agoUse before_validation with :on rather than before_validation_on_xxx
Tom Hughes [Thu, 2 Sep 2010 21:53:01 +0000 (22:53 +0100)]
Use before_validation with :on rather than before_validation_on_xxx

8 years agoUse Rails.xxx instead of RAILS_XXX
Tom Hughes [Thu, 2 Sep 2010 21:49:30 +0000 (22:49 +0100)]
Use Rails.xxx instead of RAILS_XXX

8 years agoUpdate to rails 3
Tom Hughes [Wed, 1 Sep 2010 10:02:58 +0000 (11:02 +0100)]
Update to rails 3

8 years agoRemove old process management scripts
Tom Hughes [Wed, 28 Sep 2011 23:25:38 +0000 (00:25 +0100)]
Remove old process management scripts

8 years agoUpdate Potlatch 2 to 2.3-89-ga94491f build
Tom Hughes [Fri, 11 Nov 2011 19:58:05 +0000 (19:58 +0000)]
Update Potlatch 2 to 2.3-89-ga94491f build

8 years agoAdd a link to the OpenStreetMap Google+ page
Tom Hughes [Mon, 7 Nov 2011 22:38:56 +0000 (22:38 +0000)]
Add a link to the OpenStreetMap Google+ page

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 6 Nov 2011 09:36:35 +0000 (10:36 +0100)]
Localisation updates from translatewiki.net.

8 years agoUpdate Potlatch 2 to 2.3-88-gc431f56 build
Tom Hughes [Tue, 1 Nov 2011 16:24:12 +0000 (16:24 +0000)]
Update Potlatch 2 to 2.3-88-gc431f56 build

8 years agoPrevent map popup from disappearing on mouseout
Martijn van Exel [Sat, 29 Oct 2011 18:24:38 +0000 (12:24 -0600)]
Prevent map popup from disappearing on mouseout

By stopping it closing we allow the user to click on the name of any
nearby mappers or friends in the map on the user page.

8 years agoBounds should be treated as floating point
Tom Hughes [Mon, 31 Oct 2011 10:08:49 +0000 (10:08 +0000)]
Bounds should be treated as floating point

8 years agoFix some XSS issues
Tom Hughes [Sun, 30 Oct 2011 17:23:39 +0000 (17:23 +0000)]
Fix some XSS issues

8 years agoUpdate Potlatch 2 to 2.3-79-g633f140 build
Tom Hughes [Fri, 14 Oct 2011 21:57:06 +0000 (22:57 +0100)]
Update Potlatch 2 to 2.3-79-g633f140 build

8 years agoUpdate Potlatch 2 to 2.3-78-g5634629 build
Tom Hughes [Tue, 11 Oct 2011 07:51:56 +0000 (08:51 +0100)]
Update Potlatch 2 to 2.3-78-g5634629 build

8 years agoUpdate Potlatch 2 to 2.3-75-g0d119e0 build
Tom Hughes [Sat, 8 Oct 2011 11:50:23 +0000 (12:50 +0100)]
Update Potlatch 2 to 2.3-75-g0d119e0 build

8 years agoAdd an inner div for the plugin as swfobject will replace it
Grant Slater [Thu, 6 Oct 2011 00:53:13 +0000 (01:53 +0100)]
Add an inner div for the plugin as swfobject will replace it

8 years agoReplace swfobject 1.5 with swfobject 2
Grant Slater [Wed, 5 Oct 2011 23:05:46 +0000 (00:05 +0100)]
Replace swfobject 1.5 with swfobject 2

8 years agoUpdate Potlatch 2 to 2.3-29-gffe3474 build
Tom Hughes [Mon, 3 Oct 2011 17:19:49 +0000 (18:19 +0100)]
Update Potlatch 2 to 2.3-29-gffe3474 build

8 years agoUpdate Potlatch 2 to 2.3-27-gb6d4754 build
Tom Hughes [Mon, 3 Oct 2011 14:09:49 +0000 (15:09 +0100)]
Update Potlatch 2 to 2.3-27-gb6d4754 build

8 years agoUpdate Potlatch 2 to 2.3-22-g7ed0c35 build
Tom Hughes [Mon, 3 Oct 2011 13:06:44 +0000 (14:06 +0100)]
Update Potlatch 2 to 2.3-22-g7ed0c35 build

8 years agoUpdate Potlatch 2 to 2.3-19-gf15d9bc build
Tom Hughes [Mon, 3 Oct 2011 11:17:39 +0000 (12:17 +0100)]
Update Potlatch 2 to 2.3-19-gf15d9bc build

8 years agoUpdate Potlatch 2 to 2.3-17-ge235e7f build
Tom Hughes [Mon, 3 Oct 2011 07:42:27 +0000 (08:42 +0100)]
Update Potlatch 2 to 2.3-17-ge235e7f build

8 years agoUpdate Potlatch 2 to 2.3-15-gdbaf30f build
Tom Hughes [Sun, 2 Oct 2011 15:13:53 +0000 (16:13 +0100)]
Update Potlatch 2 to 2.3-15-gdbaf30f build

8 years agoUpdate Potlatch 2 to 2.3-11-gfd60020 build
Tom Hughes [Sat, 1 Oct 2011 09:59:16 +0000 (10:59 +0100)]
Update Potlatch 2 to 2.3-11-gfd60020 build

8 years agoFlash 10 is now required
Grant Slater [Sat, 1 Oct 2011 01:22:27 +0000 (03:22 +0200)]
Flash 10 is now required

8 years agoUpdate Potlatch 2 to 2.3-1-gfe8365a build
Tom Hughes [Fri, 30 Sep 2011 18:04:50 +0000 (19:04 +0100)]
Update Potlatch 2 to 2.3-1-gfe8365a build

8 years agoUpdate Potlatch 2 to 2.2-48-ga7cff2e build
Tom Hughes [Thu, 29 Sep 2011 08:49:18 +0000 (09:49 +0100)]
Update Potlatch 2 to 2.2-48-ga7cff2e build

8 years agoRemove old process management scripts
Tom Hughes [Wed, 28 Sep 2011 23:25:38 +0000 (00:25 +0100)]
Remove old process management scripts

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Wed, 28 Sep 2011 23:43:04 +0000 (16:43 -0700)]
Localisation updates from translatewiki.net.

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Wed, 28 Sep 2011 20:33:22 +0000 (13:33 -0700)]
Localisation updates from translatewiki.net.

8 years agoFix some substitution markers to use %{...} instead of {{...}}
Tom Hughes [Wed, 28 Sep 2011 08:03:05 +0000 (09:03 +0100)]
Fix some substitution markers to use %{...} instead of {{...}}

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 25 Sep 2011 22:03:10 +0000 (00:03 +0200)]
Localisation updates from translatewiki.net.

8 years agoCoerce the API version to a string
Tom Hughes [Sat, 24 Sep 2011 16:02:27 +0000 (17:02 +0100)]
Coerce the API version to a string

8 years agoAvoid using underscore in anchor names
Tom Hughes [Sat, 24 Sep 2011 15:03:15 +0000 (16:03 +0100)]
Avoid using underscore in anchor names

Perl's YAML parser (wrongly as far as I can see) rejects any anchor
name with an underscore in it.

8 years agoMark all users which have seen the terms as having accepted them
Tom Hughes [Sat, 24 Sep 2011 14:23:24 +0000 (15:23 +0100)]
Mark all users which have seen the terms as having accepted them

8 years agoAdd some tests for password logins
Tom Hughes [Sat, 24 Sep 2011 14:19:34 +0000 (15:19 +0100)]
Add some tests for password logins

8 years agoUpdate tests for changes to login form
Tom Hughes [Sat, 24 Sep 2011 14:13:40 +0000 (15:13 +0100)]
Update tests for changes to login form

8 years agoAdd support for manual tracking of a Piwik goal on signup
Tom Hughes [Tue, 20 Sep 2011 20:40:53 +0000 (21:40 +0100)]
Add support for manual tracking of a Piwik goal on signup

8 years agoRemove SOTM advert
Tom Hughes [Tue, 20 Sep 2011 20:31:11 +0000 (21:31 +0100)]
Remove SOTM advert

8 years agoAdd some more languages to the OpenLayers build
Tom Hughes [Sun, 18 Sep 2011 23:11:56 +0000 (00:11 +0100)]
Add some more languages to the OpenLayers build

8 years agoAdd support for Piwik analytics
Tom Hughes [Fri, 16 Sep 2011 23:11:53 +0000 (00:11 +0100)]
Add support for Piwik analytics

8 years agoMake sure asking a node for it's history returns an ordered list
Tom Hughes [Wed, 14 Sep 2011 09:16:44 +0000 (10:16 +0100)]
Make sure asking a node for it's history returns an ordered list

8 years agoAdd the PinchZoom control to the OpenLayers build
Tom Hughes [Mon, 12 Sep 2011 13:46:13 +0000 (14:46 +0100)]
Add the PinchZoom control to the OpenLayers build

8 years agoUpgrade to OpenLayers 2.11
Tom Hughes [Sun, 11 Sep 2011 16:45:54 +0000 (17:45 +0100)]
Upgrade to OpenLayers 2.11

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Sun, 11 Sep 2011 14:24:59 +0000 (16:24 +0200)]
Localisation updates from translatewiki.net.

8 years agoUse parent.tile.openstreetmap.org for the export URL
Tom Hughes [Thu, 8 Sep 2011 10:47:00 +0000 (11:47 +0100)]
Use parent.tile.openstreetmap.org for the export URL

8 years agoRemove link to ethnio script which was never used
Tom Hughes [Tue, 23 Aug 2011 10:12:29 +0000 (11:12 +0100)]
Remove link to ethnio script which was never used

8 years agoRemove :root qualifiers as they don't seem to work in rails 2.3.14
Tom Hughes [Mon, 22 Aug 2011 21:42:38 +0000 (22:42 +0100)]
Remove :root qualifiers as they don't seem to work in rails 2.3.14

8 years agoUpdate to rails 2.3.14
Tom Hughes [Mon, 22 Aug 2011 21:24:16 +0000 (22:24 +0100)]
Update to rails 2.3.14

8 years agoDisable the openid_url field when it isn't shown
Tom Hughes [Mon, 22 Aug 2011 10:40:08 +0000 (11:40 +0100)]
Disable the openid_url field when it isn't shown

8 years agoFix incorrect interpolation variable
Tom Hughes [Mon, 22 Aug 2011 10:16:41 +0000 (11:16 +0100)]
Fix incorrect interpolation variable

8 years agoDon't show the openid field if the URL is the empty string
Tom Hughes [Mon, 22 Aug 2011 10:00:42 +0000 (11:00 +0100)]
Don't show the openid field if the URL is the empty string

8 years agoHide and show the openid field on the signup page correctly
Tom Hughes [Mon, 22 Aug 2011 09:59:49 +0000 (10:59 +0100)]
Hide and show the openid field on the signup page correctly

8 years agoFix issues with variables.
Siebrand Mazeland [Mon, 15 Aug 2011 08:53:31 +0000 (10:53 +0200)]
Fix issues with variables.

8 years agoFix old variables.
Siebrand Mazeland [Mon, 15 Aug 2011 08:41:10 +0000 (10:41 +0200)]
Fix old variables.

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 15 Aug 2011 08:38:06 +0000 (10:38 +0200)]
Localisation updates from translatewiki.net.

8 years agoLocalisation updates from http://translatewiki.net.
Siebrand Mazeland [Mon, 15 Aug 2011 08:22:11 +0000 (10:22 +0200)]
Localisation updates from translatewiki.net.