Commit graph

9450 commits

Author SHA1 Message Date
mmd-osm
cf3cf5216f Avoid unnecessary arrays 2019-06-27 18:33:12 +02:00
mmd-osm
d0de9967b9 Simplify partial rendering 2019-06-26 22:29:18 +02:00
mmd-osm
45e7c9a32e Avoid using @variables in partials 2019-06-26 21:34:40 +02:00
Tom Hughes
a66c34991a Merge remote-tracking branch 'upstream/pull/2280' 2019-06-26 19:57:12 +01:00
Tom Hughes
b25f10eb56 Merge remote-tracking branch 'upstream/pull/2282' 2019-06-26 19:23:18 +01:00
Tom Hughes
89f8f7af35 Merge remote-tracking branch 'upstream/pull/2281' 2019-06-26 19:19:58 +01:00
Andy Allan
fd61706e4c Split some extremely long strings over multiple lines using squiggly heredocs
I'm not entirely convinced that testing walls of text like this is useful
anyway, but at least this approach makes the lines significantly less long.
2019-06-26 18:24:57 +02:00
Andy Allan
0dbb33016f Rename @edits variable to @changesets, for clarity 2019-06-26 17:07:49 +02:00
Andy Allan
2398614349 Add support for an unversioned 'versions' API call
This will eventually replace the unversioned 'capabilities' call.
Client applications can use this versions call to find out what versions
are available, if they support multiple versions. The capabilities
of each version, and the format of the capabilities call, is then
able to change between versions. If a client only supports one version
they can jump straight to the versioned capabilities call.

Additionally, supported versions are now a list of version identifiers,
without any implications surrounding min/max values (e.g. guesswork
for supported intermediate versions).

Fixes #2162
2019-06-26 16:52:10 +02:00
Tom Hughes
cbea796ef4 Merge remote-tracking branch 'upstream/pull/2207' 2019-06-26 14:30:30 +01:00
Tom Hughes
899fc66a62 Merge remote-tracking branch 'upstream/pull/2279' 2019-06-26 14:07:29 +01:00
Andy Allan
f77d4dc4f7 Avoid stating the action to render when it just matches the current action 2019-06-26 14:50:35 +02:00
Tom Hughes
f280dcb2d7 Merge remote-tracking branch 'upstream/pull/2278' 2019-06-26 13:36:44 +01:00
Andy Allan
0211141c08 Simplify render calls for changesets 2019-06-26 14:25:34 +02:00
Andy Allan
3914050fcc Simplify partial rendering when the partial is named after the model 2019-06-26 14:13:09 +02:00
Andy Allan
c24b0e9399 Rework to ensure views are named after the controller method name 2019-06-26 13:45:40 +02:00
Tom Hughes
16c3c53302 Merge remote-tracking branch 'upstream/pull/2271' 2019-06-26 11:22:19 +01:00
Tom Hughes
5b4636d521 Fix text direction for traditional chinese 2019-06-25 08:20:18 +01:00
Tom Hughes
1817032c87 Update bundle 2019-06-25 08:16:36 +01:00
translatewiki.net
4440730c9b Localisation updates from https://translatewiki.net. 2019-06-24 17:02:58 +02:00
Tom Hughes
d2d5d48f29 Allow signups to be blocked by MX host 2019-06-23 11:21:03 +01:00
Tom Hughes
fc67e63589 Block indexing of diary entries 2019-06-23 00:23:21 +01:00
Tom Hughes
dd281a19c4 Update Potlatch 2 to 2.5-83-g28c84372 build 2019-06-21 11:25:36 +01:00
translatewiki.net
81d6d6a6a3 Localisation updates from https://translatewiki.net. 2019-06-20 21:47:58 +02:00
Tom Hughes
16cbc2eb79 Merge remote-tracking branch 'upstream/pull/2267' 2019-06-20 19:02:31 +01:00
Tom Hughes
80427b3e5e Merge remote-tracking branch 'upstream/pull/2270' 2019-06-20 18:58:38 +01:00
Tom Hughes
6b6345ecdb Merge remote-tracking branch 'upstream/pull/2269' 2019-06-20 18:54:44 +01:00
Andy Allan
23dfc4d3bd Update note comments to use friendly_date_ago helper
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
220ad92766 Use friendly_date_ago for notes display
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
e5d8bd539f Use friendly_date_ago for user blocks
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
75bf96c4f3 Use friendly_date_ago helper for changeset comments
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
3167e6b4bb Use friendly_date_ago helper for chnagesets
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
5e06815214 Use friendly_date_ago helper for user_blocks
Refs #2255

Removes two unused translations.
2019-06-19 18:04:08 +02:00
Andy Allan
cd5e28406b Use friendy_date_ago helper for notes
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
f284d57c62 Add a friendly_date_ago helper
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
54e0c7afb2 Use distance_in_words_ago scope for user blocks
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
00f75c175e Use scope for common details and changeset display in browse pages
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
47e653ffe0 Use scope for time_ago when viewing users
Refs #2255.

Also removes unused translation referencing ago, that was unneeded
after cbf71f04c2
2019-06-19 18:04:08 +02:00
Andy Allan
50d469a74a Use distance_in_words_ago scope for issues display
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
df560bd71d Use the distance_in_words_ago scope for diary comments pages
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
1298d80549 Use the distance_in_words_ago scope for trace display
Refs #2255
2019-06-19 18:04:08 +02:00
Andy Allan
cbb3c2bdf0 Use user models, not ids, in assertions 2019-06-19 17:03:13 +02:00
Andy Allan
d33b1f6b29 Pass the models, not the ids, when dealing with friendships 2019-06-19 16:56:31 +02:00
Andy Allan
2169c503ef Rename user.friend_users to user.friends
This is possible now since we've renamed Friend to Friendship
2019-06-19 16:51:35 +02:00
Andy Allan
1cf8fec58d Rename Friend model to Friendship
This better describes what the model represents, which is the relationship
between the two users.
2019-06-19 16:39:25 +02:00
Andy Allan
74af87d9d1 Add translations for distance_in_time_ago
This allows translators to accurately translate times when they
need to modify the distance_in_time beyond just adding 'ago'.

Refs #2255
2019-06-19 10:42:09 +02:00
Tom Hughes
31edc7dff6 Merge remote-tracking branch 'upstream/pull/2226' 2019-06-18 21:10:07 +01:00
Tom Hughes
657ed03d8b Update bundle 2019-06-18 19:13:49 +01:00
Bryan Housel
7fb85f1ca6 Pass through photo_overlay parameter
(re: https://github.com/openstreetmap/iD/issues/6492)
2019-06-17 17:26:24 -04:00
Bryan Housel
7ee554ed64 Update to iD v2.15.2 2019-06-17 16:10:54 -04:00