Commit graph

9243 commits

Author SHA1 Message Date
Tom Hughes
1f2ac59d1d Fix new rubocop warnings 2018-03-26 19:00:03 +01:00
Tom Hughes
6fba59724a Update rubocop 2018-03-26 18:49:50 +01:00
Tom Hughes
85f942bb62 Revert to dalli 2.7.6 2018-03-26 09:44:33 +01:00
Tom Hughes
df19865364 Update bundle 2018-03-26 08:54:38 +01:00
translatewiki.net
b25636465a Localisation updates from https://translatewiki.net. 2018-03-26 08:19:11 +02:00
Tom Hughes
1a2bdacf17 Merge remote-tracking branch 'upstream/pull/1788' 2018-03-25 14:27:16 +01:00
translatewiki.net
f68099eb8e Localisation updates from https://translatewiki.net. 2018-03-22 08:19:26 +01:00
Andy Allan
ee1a8637d3 Convert issue status to an enum 2018-03-21 12:05:08 +08:00
Andy Allan
9f84c6f46e Use user_path links. Fixes #1785 2018-03-21 11:33:45 +08:00
translatewiki.net
eb7b0c05e3 Localisation updates from https://translatewiki.net. 2018-03-19 21:07:35 +01:00
translatewiki.net
701334bcc6 Localisation updates from https://translatewiki.net. 2018-03-15 16:10:33 +01:00
Andy Allan
facce9d0bb Refactor set_default_assigned_role to be more easily read. 2018-03-14 17:35:58 +08:00
Andy Allan
696bbd169b Redirect to the reportable after creating a report. 2018-03-14 17:24:41 +08:00
Andy Allan
2fc70be734 Add a redirect and error message if user ends up trying to report something without the correct parameters 2018-03-14 17:09:57 +08:00
Andy Allan
85bf9adb91 Handle issue_types properly if current_user is both and admin and a moderator 2018-03-14 16:47:45 +08:00
Andy Allan
283cffdfdb Handle current_user being both an admin and a moderator for building user list 2018-03-14 16:47:45 +08:00
Andy Allan
6bcffbf499 Unwind the set_issues method 2018-03-14 16:34:19 +08:00
Andy Allan
e7e12a38c6 Create a more accurate permissions check message 2018-03-14 16:29:47 +08:00
Andy Allan
5310c7000c Remove cascading deletes, add another foreign key, and switch index around. 2018-03-14 16:15:39 +08:00
Andy Allan
3e5a4a14df Ensure reports have an issue id and a user id 2018-03-14 15:36:46 +08:00
Andy Allan
5e7abf67fb Remove nonsense has_one relationship 2018-03-14 15:20:04 +08:00
Andy Allan
c1bb412033 Fix class name 2018-03-14 15:18:47 +08:00
Andy Allan
870a497f94 Remove unnecessary div 2018-03-14 15:16:51 +08:00
Andy Allan
04901868fa Apply list styling to list of related reports 2018-03-14 15:14:35 +08:00
Andy Allan
e41751fb32 Use th instead of td and b 2018-03-14 14:56:06 +08:00
Andy Allan
9e46754c88 User user_path to generate links to users 2018-03-14 14:21:43 +08:00
Andy Allan
05b871db99 Avoid wrapping in the reports count column 2018-03-14 13:06:32 +08:00
Andy Allan
aaaeb211de Combine last_updated_by and last_updated_at columns on issues index
Also change to use time as a distance, and link to the user.
2018-03-14 12:51:22 +08:00
Andy Allan
e44f856b53 Combine category and reporting user 2018-03-14 12:51:22 +08:00
Andy Allan
13e7a4b0e9 Increase padding around report disclaimer 2018-03-14 12:51:22 +08:00
Andy Allan
e85110957a Remove vandalism as an option for reporting notes. 2018-03-14 12:51:22 +08:00
Andy Allan
59ca99d17c Use lower case to refer to reportable objects 2018-03-14 12:13:43 +08:00
Andy Allan
36970bcf50 Use underscore versions of model names for translation keys. 2018-03-14 12:12:24 +08:00
Andy Allan
0737c4f169 Fix grammar 2018-03-14 11:58:55 +08:00
translatewiki.net
d2f7188d15 Localisation updates from https://translatewiki.net. 2018-03-12 09:10:50 +01:00
Bryan Housel
08edaf794b Update to iD v2.7.1 2018-03-11 11:58:48 -04:00
Andy Allan
0f5ad1f3cc Merge branch 'pull/1765' 2018-03-09 15:57:24 +08:00
Andy Allan
b2ff9f3aad Simplify redirect. 2018-03-09 15:56:56 +08:00
translatewiki.net
5cfc163bc2 Localisation updates from https://translatewiki.net. 2018-03-08 09:43:51 +01:00
Štefan Baebler
36a382bb43 Added support for 2 more secondary wikidata tag links
Listed on in https://wiki.openstreetmap.org/wiki/Key:wikidata :
* name:etymology:wikidata
* network:wikidata
2018-03-05 08:38:50 +00:00
Bryan Housel
e019a1f031 Update to iD v2.7.0 2018-03-05 08:38:50 +00:00
translatewiki.net
2b5c4c69e7 Localisation updates from https://translatewiki.net. 2018-03-05 09:32:42 +01:00
Andy Allan
508bb04f21 Remove unused code 2018-03-05 10:19:11 +08:00
Tom Hughes
276859d0c9 Validate user location is sensible 2018-03-04 10:53:14 +00:00
Tom Hughes
9361478e74 Use home_tile to find nearby users 2018-03-04 09:59:24 +00:00
Tom Hughes
9f170663fc Make OSM::GreatCircle#bounds return a BoundingBox object 2018-03-04 09:59:23 +00:00
Tom Hughes
f1e9dcc66a Add an indexed home_tile column to the user table 2018-03-04 09:59:23 +00:00
biswesh456
674589ce2c Change test case 2018-03-03 20:20:52 +05:30
translatewiki.net
5fb55b8a05 Localisation updates from https://translatewiki.net. 2018-03-01 08:22:44 +01:00
Andy Allan
04a87bb121 Rubocop fixes 2018-02-28 16:23:25 +08:00