Commit graph

8666 commits

Author SHA1 Message Date
Guillaume RISCHARD
ca36cf2826 Remove support for soon discontinued josm remote https endpoint 2017-12-16 16:15:52 +01:00
mmd-osm
2c7f2b117b Remove extra blank line 2017-12-16 14:06:21 +01:00
mmd-osm
7a396e9dc9 Fix for failing test cases 2017-12-16 13:51:02 +01:00
mmd-osm
b2a3955d93 Allow (un)subscribing discussions also when changeset still open
Fixes #1627
2017-12-16 13:32:04 +01:00
Tom Hughes
30757696bd Move advice on what to enter in a note to guide text 2017-12-14 16:07:32 +00:00
translatewiki.net
c6b66ddeee Localisation updates from https://translatewiki.net. 2017-12-14 08:41:46 +01:00
Andy Allan
e23ff48dce Revert whitespace changes. 2017-12-13 16:50:22 +00:00
Andy Allan
cba08bb454 Simplify permissions check. 2017-12-13 16:43:09 +00:00
Andy Allan
e3054fc15a Fix some reporting links. 2017-12-13 16:35:14 +00:00
Andy Allan
02c9806323 Remove unused update method from issues_controller. 2017-12-13 16:29:47 +00:00
Andy Allan
3d0c905762 Revert en-GB.yml to master.
Only en.yml should be changed in pull requests, en-GB.yml is taken
care of through Translatewiki
2017-12-13 16:29:47 +00:00
Andy Allan
e0faf68437 Remove new issue notifications for now
This can be re-implemented later.
2017-12-13 16:29:46 +00:00
Andy Allan
a79d951db2 Remove a couple of unused style rules. 2017-12-13 16:15:40 +00:00
Andy Allan
63992d83bd Store the report category. 2017-12-13 16:02:55 +00:00
translatewiki.net
90332473b8 Localisation updates from https://translatewiki.net. 2017-12-11 08:10:41 +01:00
Tom Hughes
31133683b4 Don't add system tests if the user specified which tests to run 2017-12-09 10:52:19 +00:00
Martijn van Exel
4d7411eabd A couple more tweaks to Mac install docs
* The URL for the homebrew site  has changed.
* Added phantomjs (test dependency)

Closes #1700
2017-12-07 18:02:26 +00:00
Martijn van Exel
da52b3a778 Add explicit install instructions for libxml2 on MacOS
Closes #1698
2017-12-07 09:26:36 +00:00
translatewiki.net
a749146723 Localisation updates from https://translatewiki.net. 2017-12-07 09:12:58 +01:00
Andy Allan
875e588348 Show issues based on all the users roles
Previously you were prevented from seeing moderator issues if you
were also an administrator.
2017-12-06 18:56:27 +00:00
Andy Allan
8dc8479e12 Re-enable issue reassigning. 2017-12-06 18:01:51 +00:00
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
Guillaume RISCHARD
870e9e41e3 Enable image compression utils for image_optim
Closes #1696
2017-12-06 13:20:26 +00:00
Tom Hughes
fd33ff83f3 Use a memory cache for sessions when memcache is not configured
Fixes #1695
2017-12-04 21:20:23 +00:00
translatewiki.net
5a274a06f2 Localisation updates from https://translatewiki.net. 2017-12-04 09:51:05 +01:00
Tom Hughes
2c52c91b39 Make changeset#query preload users, tags and comments 2017-12-04 07:54:19 +00:00
Tom Hughes
fe2e215d14 Make the AMF getway_old call parse times as UTC
Although it's not entirely clear how to interpret a timestamp from
a client the production servers have effectively been parsing them
as UTC because they run in the UTC time zone all year.

Using Time.zone to do the parse forces it to happen in the rails time
zone rather than the system time zone, which defaults to UTC as well.

Fixes #1688
2017-12-01 19:24:26 +00:00
translatewiki.net
1045b405ae Localisation updates from https://translatewiki.net. 2017-11-30 08:49:14 +01:00
Tom Hughes
b77406ff38 Use decoded strings when parsing XML responses from geocoders
Fixes #1690
2017-11-29 23:07:19 +00:00
Tom Hughes
2ef803b9df Update rack-test and patch test issues 2017-11-29 20:35:17 +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
Tom Hughes
cdf299e4c6 Update bundle 2017-11-29 16:33:56 +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