Commit graph

8186 commits

Author SHA1 Message Date
Andy Allan
cbe707b33e Validate the assigned role, and remove the :type activrecord enum 2017-12-06 17:15:11 +00:00
Andy Allan
0df788d742 Rename 'issue_type' to 'assigned_role', set defaults in the model and test. 2017-12-06 17:15:11 +00:00
Andy Allan
c40ad9de02 Remove the hardcoded pixel width for columns. 2017-12-06 15:26:40 +00:00
Andy Allan
ca032e0b44 Convert issue search tests to system tests 2017-11-29 18:58:51 +00:00
Andy Allan
9ce00608a4 Remove the test around missing report_type, since we're not currently requiring that. 2017-11-29 18:04:31 +00:00
Andy Allan
f0bcdae908 Put the expected value first in assert_equal 2017-11-29 18:02:26 +00:00
Andy Allan
1766c3216f Move controller tests for new reports into seperate file, and adapt to new form structure. 2017-11-29 17:59:42 +00:00
Andy Allan
8e859b0f1d Index page no longer redirects when there's no issues. 2017-11-29 17:37:29 +00:00
Andy Allan
a09e3f3fe0 Move and amend the issue comment controller tests. 2017-11-29 17:28:37 +00:00
Andy Allan
3276063fcf Remove column sorting
It's not tested, not working, and so it can come later in a separate PR.
2017-11-29 17:28:09 +00:00
Andy Allan
9f65820336 Rubocop fixes. 2017-11-29 16:48:01 +00:00
Andy Allan
546d13c25f Remove the reassign boolean display 2017-11-29 16:47:36 +00:00
Andy Allan
1956ab5913 Use a simple user_id for tables with one owning user
This is the standard way of naming in rails, and it avoids having
to tell rails which models are actually required.
2017-11-29 16:23:13 +00:00
Andy Allan
1d24228a3b Combine migrations into one
This makes it easier to review, rather than having a PR with migrations that
correct each other.
2017-11-29 16:13:32 +00:00
Andy Allan
2dd8f09395 Remove the reassign column from issue_comments
Reassigning is an effect of a controller action, not something that
should be stored in the database like this.
2017-11-29 16:05:12 +00:00
Andy Allan
68213e3812 Adjust for rails5 convention on migrations. 2017-11-29 16:03:27 +00:00
Andy Allan
fc0096289d Annotate models. 2017-11-29 12:34:04 +00:00
Andy Allan
f5228657fe Refactor factories to use FactoryBot 2017-11-29 12:33:23 +00:00
Andy Allan
3115fd41b1 Remove minitest-rails-capybara and convert feature tests to system tests 2017-11-29 12:33:03 +00:00
Andy Allan
effb1b7f41 Merge branch 'master' into moderation 2017-11-29 12:18:39 +00:00
translatewiki.net
8f1676b71a Localisation updates from https://translatewiki.net. 2017-11-27 08:12:19 +01:00
Tom Hughes
986779966b Extend form-action policies for Chrome
It seems that unlike other browsers Chrome requires that if a form
submission redirects that the redirected URL also match the form-action
policy rather than just requiring the original URL to match.
2017-11-25 12:04:02 +00:00
Tom Hughes
a3519348c6 Remove inline javascript from user settings page 2017-11-24 16:20:50 +00:00
Tom Hughes
afa5d420d3 Allow iD to fetch gpx files from arbitrary locations 2017-11-24 08:38:51 +00:00
Tom Hughes
527ec293c2 Fix security policy for mapillary in iD 2017-11-24 01:09:27 +00:00
Tom Hughes
6a1a4a3f7d Fix remote editing security policy 2017-11-24 00:46:27 +00:00
Tom Hughes
2cd81daf34 Add security policy for remote control editing 2017-11-24 00:43:14 +00:00
Tom Hughes
4950ae3c1f Allow iD to connect to nominatim 2017-11-24 00:10:38 +00:00
Tom Hughes
bb116b85df Allow third party images in user content 2017-11-23 22:39:05 +00:00
Tom Hughes
3c4774a5f7 Allow images to be loaded from piwik 2017-11-23 22:22:01 +00:00
Tom Hughes
a2c7c09f7c Merge remote-tracking branch 'upstream/pull/1687' 2017-11-23 13:24:47 +00:00
Andy Allan
4954e9815b Update CONTRIBUTING to remove reference to cruise and use link to Travis 2017-11-23 11:31:15 +00:00
translatewiki.net
874957f54e Localisation updates from https://translatewiki.net. 2017-11-23 07:48:25 +01:00
Andy Allan
50dce49d1f Add the OpenStreetMap Blog to the list of community links
Although the content is currently duplicated into the blog aggregator,
it's still worth having an explicit link, and making it the first one,
since it contains entries of more significant interest to the community.
2017-11-22 15:51:32 +00:00
Andy Allan
1b181d4c1d Put specific page titles at the start
The makes the shortened titles commonly shown on browser tabs more
useful.
2017-11-22 14:57:26 +00:00
Andy Allan
cb87f02642 Merge branch 'pull/843' into titles 2017-11-22 14:42:16 +00:00
Andy Allan
15b104f4ff Merge branch 'p' of https://github.com/jfirebaugh/openstreetmap-website into jfirebaugh-p
Refs #139
2017-11-22 10:47:18 +00:00
translatewiki.net
6e612d953a Localisation updates from https://translatewiki.net. 2017-11-20 09:29:08 +01:00
Tom Hughes
e813a31d7a Make context menu use from/to for directions
This ensures that the router will try to geocode the values rather
than assuming that they are latitude/longitude pairs.

Fixes #1684
2017-11-19 19:49:39 +00:00
Tom Hughes
7ce94ad0ec Add openstreetcam.org to security policy for iD 2017-11-16 10:17:22 +00:00
Tom Hughes
38efb6c957 Merge remote-tracking branch 'upstream/pull/1682' 2017-11-16 10:17:06 +00:00
translatewiki.net
67c5c36482 Localisation updates from https://translatewiki.net. 2017-11-16 11:10:07 +01:00
Bryan Housel
2c0588dba1 Update to iD v2.5.1 2017-11-16 00:50:21 -05:00
Tom Hughes
d581fbfaf1 Make system tests run by default 2017-11-15 19:14:31 +00:00
Tom Hughes
9e929de530 Add framework for system tests 2017-11-15 19:14:31 +00:00
Andy Allan
aa1fb6dbb8 Merge branch 'wheres_this' of https://github.com/pnorman/openstreetmap-website into pnorman-wheres_this
Fixes #412
2017-11-15 18:25:51 +00:00
translatewiki.net
181ed81c8e Localisation updates from https://translatewiki.net. 2017-11-13 09:26:31 +01:00
Bryan Housel
2168c2867c Add iD disable_features parameter 2017-11-10 15:57:37 -05:00
Bryan Housel
c3df2a5180 Update to iD v2.5.0 2017-11-10 15:55:11 -05:00
Simon Poole
0cf41126ff
Remove link to wiki legal FAQ as confusing and unmaintained 2017-11-10 11:13:03 +01:00