Commit graph

6631 commits

Author SHA1 Message Date
Thijs Alkemade
17f926fefb Fix two issues with the remember_me_openid button
1. It didn't work, the code only checked the remember_me button, not
   the remember_me_openid button.

2. It did not have a unique id, making the label next to it not work
   for selecting the checkbox.
2015-02-01 10:33:45 +00:00
Tom Hughes
d423ae9137 Default background for input fields to white
Some browsers apparently default form fields to a background based
on the desktop theme, and don't inherit from body.

Fixes #883
2015-02-01 10:15:00 +00:00
Sarah Hoffmann
2f6f627a76 update list of key-value pairs for nominatim 2015-01-31 22:36:28 +01:00
Tom Hughes
16b875b271 Fix broken interpolation 2015-01-26 22:43:52 +00:00
Siebrand Mazeland
32dfa68f90 Localisation updates from https://translatewiki.net. 2015-01-26 23:03:30 +01:00
Siebrand Mazeland
9ad586f08e Localisation updates from https://translatewiki.net. 2015-01-19 09:35:56 +01:00
Tom Hughes
44e44a5198 Only log at info level in production 2015-01-18 19:43:21 +00:00
Amir Wilf
103ba7977f Vagrant deploy works
Creating extension btree_gist for test DB 'osm_test'
2015-01-18 14:14:53 +02:00
Tom Hughes
cd2ca12d42 Merge branch 'rails42' 2015-01-17 11:09:13 +00:00
Tom Hughes
821a22c607 Update old changesets to subscribe the creator 2015-01-11 19:44:58 +00:00
Tom Hughes
6e56580278 Remove some (hopefully) redundant code 2015-01-11 12:54:17 +00:00
Tom Hughes
7f81de2065 Don't try and match xmlns as an attribute
This doesn't seem to work with the new nokogiri based matching
in rails 4.2 probably because the attribute is removed by the
parser and used to set the namespace of the element.
2015-01-11 12:54:17 +00:00
Tom Hughes
8fa9763281 Set default formats in the database now that rails handles enums
Because rails now reads the defaults from the database correctly it
no longer works to set them conditionally in after_initialise as they
have already been set.
2015-01-11 12:54:16 +00:00
Tom Hughes
a9a9ae2cbb Updated for changes in rails HTML testing 2015-01-11 12:53:06 +00:00
Tom Hughes
046fbdc177 Replace deprecated reset method with restore method 2015-01-11 12:53:06 +00:00
Tom Hughes
360d68ea5c Replace deprecated deliver method with deliver_now 2015-01-11 12:53:06 +00:00
Tom Hughes
ac7bb003ec Cleanup migrations
Cleanup our migrations, replacing as much of our custom code
and monkey patching with modern standard rails methods.
2015-01-11 12:53:01 +00:00
Tom Hughes
e65e41a694 Update to rails 4.2.0 2015-01-10 17:46:58 +00:00
Tom Hughes
0ebbccdcef Fix invalid CSS selectors 2015-01-10 17:45:10 +00:00
Tom Hughes
428f379eef Restore removal of div and style elements when sanitizing HTML 2015-01-10 17:41:17 +00:00
Tom Hughes
dc5c3d6eea Fix login tests to check whether logins succeed/fail as expected 2015-01-10 17:41:00 +00:00
Tom Hughes
84c802d1a9 Use correct URL 2015-01-10 17:40:55 +00:00
Tom Hughes
75a32ff879 Fix broken translations 2015-01-10 15:59:19 +00:00
Tom Hughes
25337c0b04 Use assert_dom_equal to compare HTML text 2015-01-10 15:59:09 +00:00
Tom Hughes
0d7f7944bb Fix invalid CSS selectors 2015-01-10 15:58:30 +00:00
Tom Hughes
316ebb7570 Don't pass ActiveRecord objects to find and exists? 2015-01-10 12:41:16 +00:00
Tom Hughes
6af8f8a9e3 Fix invalid CSS selectors 2015-01-10 12:41:09 +00:00
Tom Hughes
5781674c1b Remove unused performance test stub 2015-01-10 12:41:04 +00:00
Tom Hughes
3058135d9a Update to rails 4.1.9 2015-01-08 10:06:22 +00:00
Siebrand Mazeland
6ac1a593a9 Localisation updates from https://translatewiki.net. 2015-01-02 11:04:15 +01:00
Siebrand Mazeland
b9493f56a3 Localisation updates from https://translatewiki.net. 2014-12-27 17:05:10 +01:00
Tom Hughes
716846b480 Update Potlatch 2 to 2.3-650-gad99430 build 2014-12-20 11:41:47 +00:00
Bryan Housel
068471fc0e Don't raise APIAlreadyDeletedError when deleting with if-unused
related: openstreetmap/iD#2475
2014-12-15 23:39:46 -05:00
Tom Hughes
4e6fe811a0 Don't render the offline page for XHR requests 2014-12-14 00:32:50 +00:00
Tom Hughes
2b823b7b07 Make development mode work when the database is offline 2014-12-14 00:27:48 +00:00
Tom Hughes
281dc29c5c Disable the "add note" button in database offline mode 2014-12-14 00:27:31 +00:00
Tom Hughes
a6c24e3e5b Query mode doesn't need the database 2014-12-14 00:18:46 +00:00
Tom Hughes
1bfc96ec76 Update bundle 2014-12-08 08:02:00 +00:00
Adam Conrad
9934eed190 Remove unnecessary local variable
The local variable `app` was unused and therefore not needed
to be declared with initialization
2014-12-08 07:59:49 +00:00
David Gumberg
b1a1d45576 Losslessly compressed all images using optipng and advpng 2014-12-07 16:36:39 -08:00
Sean Hussey
f2c23d1d91 Fix typo 2014-12-03 11:24:07 -05:00
Tom Hughes
36592f72bc Fix exception when message limit is hit 2014-12-02 21:29:12 +00:00
Tom Hughes
b00b156ef4 Prefer a key=value match over a key only match for object descriptions 2014-11-24 11:00:24 +00:00
Tom Hughes
4d44f188e1 Include number of recent diary entries in spam scoring 2014-11-20 21:18:00 +00:00
Tom Hughes
3dbc55fc16 Make sure button_to buttons are separated by whitespace 2014-11-19 00:21:58 +00:00
Tom Hughes
eb6b1ae733 Don't paginate redactions
The index view doesn't render any pagination controls, and there
aren't enough redactions for pagination to be necessary yet.

Fixes #735
2014-11-19 00:11:51 +00:00
Tom Hughes
a994f5df0b Update ohauth 2014-11-18 17:58:45 +00:00
Tom Hughes
557dcd8614 Update jQuery plugins 2014-11-18 17:57:21 +00:00
Tom Hughes
ab671bd1e1 Update html5shiv 2014-11-18 17:57:09 +00:00
Tom Hughes
aeb524095c Update vendor URLs 2014-11-18 17:56:42 +00:00