Commit graph

5260 commits

Author SHA1 Message Date
Andy Allan
0444187cb6 Update annotations after 91a37235ac 2019-07-17 10:39:10 +02:00
Tom Hughes
40ac2aa528 Use the configured host name for user image URLs 2019-07-16 22:41:37 +01:00
Tom Hughes
91a37235ac Remove support for old style user images 2019-07-16 22:33:26 +01:00
Tom Hughes
3cfffc2258 Update gravatar methods to check for Active Storage images 2019-07-16 22:29:07 +01:00
Tom Hughes
b911b45961 Return absolute URLs for user images 2019-07-16 22:28:36 +01:00
Tom Hughes
cea0ba5137 Merge remote-tracking branch 'upstream/pull/2313' 2019-07-16 11:56:13 +01:00
Tom Hughes
905a7eadb6 Defer deletion of avatars to a background job 2019-07-16 08:27:14 +01:00
Tom Hughes
5cb96cd1a2 Send trace import result notification immediately
If we delay sending failure notifications then they will fail
because the trace will no longer exist.

As trace imports are running in the background anyway there
doesn't seem to be any good reason to defer the emails.

Fixes #2312
2019-07-15 21:45:07 +01:00
Tom Hughes
6dd451c7ee Stop creating a shared global querystring variable 2019-07-15 20:28:54 +01:00
Tom Hughes
a47c0a4411 Update querystring references 2019-07-15 10:03:09 +01:00
Tom Hughes
c162c065c6 Merge remote-tracking branch 'upstream/pull/2296' 2019-07-15 08:19:30 +01:00
Tom Hughes
492a640530 Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Tom Hughes
807750023a Fix eslint warning 2019-07-13 17:46:23 +01:00
Tom Hughes
6c202448ad Move user images to Active Storage with paperclip as a fallback 2019-07-09 19:17:30 +01:00
Tom Hughes
d021bdf5cf Merge remote-tracking branch 'upstream/pull/2223' 2019-07-07 16:14:32 +01:00
Tom Hughes
e8e44dbb9f More tweaks for RTL email
Fixes #2297
2019-07-03 14:19:45 +01:00
Tom Hughes
f9109b7a75 Fix styling of email notifications in RTL languages
Fixes #2297
2019-07-03 09:49:46 +01:00
mmd-osm
84faaaf795 Rubocop 2019-06-28 22:05:38 +02:00
mmd-osm
fb953006a1 Replace respond_to with render xml format 2019-06-28 21:56:42 +02:00
mmd
11cc4a5e60
Merge branch 'master' into patch/view_migration 2019-06-27 22:40:51 +02:00
mmd-osm
8ad1ce9798 Refactoring 2019-06-27 22:28:40 +02:00
mmd-osm
b9ae40d978 Remove non functioning changeset_cache, user_display_name_cache 2019-06-27 21:26:11 +02:00
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
89f8f7af35 Merge remote-tracking branch 'upstream/pull/2281' 2019-06-26 19:19:58 +01: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
d2d5d48f29 Allow signups to be blocked by MX host 2019-06-23 11:21:03 +01:00
Tom Hughes
16cbc2eb79 Merge remote-tracking branch 'upstream/pull/2267' 2019-06-20 19:02:31 +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