Commit graph

5883 commits

Author SHA1 Message Date
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
36970bcf50 Use underscore versions of model names for translation keys. 2018-03-14 12:12:24 +08: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
Štefan Baebler
1fc4fb9f63 Colour preview box: simplified key regex
and slightly reduced number of tests
2018-03-07 17:46:11 +01:00
Štefan Baebler
25d5c58c5c Added support for int_ref and _bg, _tx colours for all ref keys
Improves #1779
2018-03-06 09:23:43 +01:00
Štefan Baebler
76adaa0985 Added color preview box in tag browser sidebar 2018-03-05 22:10:30 +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
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
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
Andy Allan
04a87bb121 Rubocop fixes 2018-02-28 16:23:25 +08:00
Andy Allan
a20e28809f Merge branch 'master' into moderation 2018-02-28 15:55:28 +08:00
Andy Allan
424b6ef1cf Merge branch 'master' into moderation 2018-02-28 15:46:25 +08:00
Andy Allan
7821bf48ad Reposition the note and user report flags 2018-02-28 15:43:22 +08:00
Andy Allan
8587c2a02b Rework the new report form text and layout 2018-02-28 15:27:01 +08:00
Andy Allan
05ae0755a4 Rearrange issues table and combine some columns. 2018-02-28 14:56:47 +08:00
Andy Allan
3006ce9713 Remove reporting of changesets 2018-02-28 14:39:40 +08:00
Andy Allan
80a241f798 Allow reporting of anonymous notes 2018-02-28 14:26:40 +08:00
Andy Allan
3bd06529c7 Refactor reportable_url to just return the url
Allows removal of the largely duplicate instance_url helper (which
returned the same urls, but with a hard-coded title).
2018-02-28 13:30:17 +08:00
Andy Allan
2a89bf2e6c Refactor reportable_url helper to focus on just the title choices. 2018-02-28 11:53:43 +08:00
Andy Allan
38efcc2f33 Remove the report_type helper and use the model_name.human to look up translations. 2018-02-28 11:40:00 +08:00
Andy Allan
b955a7e78e Link to diary comments using anchors, rather than showing them alone
Neither way is perfect, but this is less surprising than seeing a diary
entry with only one comment visible.
2018-02-28 11:24:00 +08:00
Andy Allan
75e178e6b8 Allow the status to be translated in the table of results 2018-02-28 10:50:27 +08:00
Andy Allan
0366c2eabb Rework status search to avoid relying on the enum ids, and also to allow translations 2018-02-28 10:44:50 +08:00
Holger Jeromin
f9745fd2b1
Move abbr style from border to text-decoration 2018-02-27 21:25:03 +01:00
Tom Hughes
81241b3083 Exclude hidden diary entries and comments from spam scoring 2018-02-26 22:35:06 +00:00
Tom Hughes
f9eccfe64f Use bolded version of destinations 2018-02-25 21:29:54 +00:00
Tom Hughes
d8eda6ba03 Show exit numbers for off ramps in OSRM directions
Fixes #1768
2018-02-25 20:51:11 +00:00
biswesh456
646dcb62fc Allow admins and moderators to delete traces
Fixes #1625
2018-02-24 20:36:12 +05:30
Andy Allan
2d915b0e24 Avoid submit_tag to avoid 'Save changes' default 2018-02-23 12:30:37 +08:00
Andy Allan
549acfa918
Merge pull request #1732 from tomhughes/npemap
Remove npemap as a source for UK postcodes
2018-02-23 10:23:22 +08:00
Andy Allan
7b5e0d91f3 resolve last_reported_by vs last_updated_by duplication 2018-02-23 10:18:57 +08:00
Jamie Guthrie
58a0184fc0 Fix route path 'hovering' when marker positions are changed
Closes #1755
2018-02-15 17:58:59 +00:00
Jamie Guthrie
4a9f20a485 Fix directions for roundabout without exit number
Closes #1756
2018-02-15 17:53:54 +00:00
Tom Hughes
aafb1db2be Avoid relying on global state to detect when we are dragging
We can't guarantee what order getRoute calls will finish in so
relying on global state is dangerous - capture it in the closure
instead so that each route knows what it is doing.
2018-02-14 17:58:01 +00:00
Tom Hughes
20e4909230 Stop map zooming out after dropping marker
Closes #1751
2018-02-14 17:53:33 +00:00
mmd-osm
cea403dce0 Remove BBOX expansion performance optimization
Closes #1749
Fixes #1742
2018-02-14 17:23:06 +00:00
Jamie Guthrie
93d94bb1f9 Correctly swap from and to values when reversing directions
Closes #1752
Fixes #1748
2018-02-14 17:22:39 +00:00
Jamie Guthrie
161ce947c3 Improve OSRM directions for on and off ramps
Try and show both the name of the road being turned on to and the
destination depending on what is available.

Closes #1740
2018-02-13 17:32:57 +00:00
Jamie Guthrie
97f75e82c0 Add padding to directions popups
Clicking on a direction step now pans to the popup, but includes some
padding so that the popup is not hidden in the corner of the screen.

Closes #1745
2018-02-13 17:25:56 +00:00
Jamie Guthrie
c12ed85233 Use both name and ref when naming roads in directions
Closes #1741
2018-02-12 20:12:57 +00:00
Tom Hughes
96cc9abd23 Use https when redirecting to the render server 2018-02-09 22:31:45 +00:00
Tom Hughes
ab926ef4e6 Use correct class to disable zoom buttons
Fixes #1365
2018-02-09 18:50:31 +00:00
Tom Hughes
2515c77276 Use configured protocol for URLs in diary feeds 2018-02-05 22:31:27 +00:00