Andy Allan
|
5e76b66271
|
Use named paths for a few trace links
|
2018-03-28 16:55:10 +08:00 |
|
Andy Allan
|
c71fd544e0
|
Avoid sending a commit value from from the search button
|
2018-03-28 11:05:46 +08:00 |
|
Andy Allan
|
918a382cad
|
Use options_for_select to set the selected items in the search form
|
2018-03-28 11:05:46 +08:00 |
|
Andy Allan
|
32d1afbb18
|
Create a report_link helper, and use text instead of a flag icon
|
2018-03-28 11:05:46 +08:00 |
|
Tom Hughes
|
1f2ac59d1d
|
Fix new rubocop warnings
|
2018-03-26 19:00:03 +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 |
|
Štefan Baebler
|
26b47fdd18
|
Fix warning: 'value', 'index' is defined but never used.
|
2018-03-20 01:52:54 +01:00 |
|
Štefan Baebler
|
15ea756ae6
|
Cleanup leftover console log
|
2018-03-20 01:39:37 +01:00 |
|
Štefan Baebler
|
ef7f700594
|
Smaller colour preview boxes
|
2018-03-20 01:37:38 +01:00 |
|
Štefan Baebler
|
aa39179777
|
Using javascript and data attribute instead of inline css
|
2018-03-20 01:37:18 +01:00 |
|
Štefan Baebler
|
74694bcdcd
|
Using ruby helpers to construct html, changed div to span
|
2018-03-19 10:51:21 +01:00 |
|
Štefan Baebler
|
46c3c826c4
|
Disabled OutputSafety rubocop rule just for the line, not whole browse_helper.rb
|
2018-03-19 09:38:39 +01:00 |
|
Štefan Baebler
|
23fa74823a
|
marked html as html_safe to avoid htmlencoding
|
2018-03-19 07:51:24 +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
|
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 |
|