Commit graph

3068 commits

Author SHA1 Message Date
Tom Hughes
75e60acf66 Allow configuration of storage server URL for security policy 2019-07-09 19:43:03 +01:00
Tom Hughes
77ee8c1a53 Monkey patch Active Storage to set content type when uploading to S3 2019-07-09 19:17:56 +01:00
Tom Hughes
ba627420a3 Add support for Active Storage attachments 2019-07-09 19:17:29 +01:00
translatewiki.net
cec5e4999c Localisation updates from https://translatewiki.net. 2019-07-08 20:23:32 +02:00
Tom Hughes
d0201f4487 Update wiki page data 2019-07-08 11:08:12 +01:00
translatewiki.net
f2ceda5296 Localisation updates from https://translatewiki.net. 2019-07-05 07:26:34 +02:00
Tom Hughes
ee8ed3c682 Add missing space 2019-07-03 08:28:22 +01:00
Tom Hughes
ea2c790a42 Fix text direction for traditional chinese 2019-07-02 19:45:23 +01:00
translatewiki.net
a0660c009c Localisation updates from https://translatewiki.net. 2019-07-01 09:43:51 +02:00
Abijeet Patro
390c7d7624
Fix spellings from aggree to agree
As reported on https://translatewiki.net/wiki/Thread:Support/Found_typo_in_https://translatewiki.net/w/i.php%3Ftitle%3DOsm:Users.terms.tou_explain_html/en
2019-06-30 16:14:38 +05:30
Tom Hughes
4e3527f519 Fix text direction for traditional chinese 2019-06-27 21:53:01 +01:00
translatewiki.net
c1c277186e Localisation updates from https://translatewiki.net. 2019-06-27 18:37:17 +02:00
Tom Hughes
a66c34991a Merge remote-tracking branch 'upstream/pull/2280' 2019-06-26 19:57:12 +01: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
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
translatewiki.net
4440730c9b Localisation updates from https://translatewiki.net. 2019-06-24 17:02:58 +02:00
translatewiki.net
81d6d6a6a3 Localisation updates from https://translatewiki.net. 2019-06-20 21:47:58 +02: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
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
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
translatewiki.net
42269d91fe Localisation updates from https://translatewiki.net. 2019-06-17 19:34:33 +02:00
translatewiki.net
399ade116a Localisation updates from https://translatewiki.net. 2019-06-13 20:22:51 +02:00
Tom Hughes
d9b8ebeb01 Merge remote-tracking branch 'upstream/pull/2257' 2019-06-12 19:50:52 +01:00
Tom Hughes
24b138db09 Merge remote-tracking branch 'upstream/pull/2228' 2019-06-12 19:16:32 +01:00
Andy Allan
a08b65a6ac Use built-in form submit translation keys for traces 2019-06-12 19:24:06 +02:00
Andy Allan
1d09cfcb18 Use built-in form submit translation keys for oauth client applications 2019-06-12 19:24:06 +02:00
Andy Allan
085412f624 Use i18n for submit button for issue comments
Normally when an en-GB.yml translation is missing, rails falls back to en.yml. But when
using the submit helpers, if the en-GB translation is missing, rails knows how to create
a fallback like 'Create {model_name}' without touching the en.yml file. This string might
then be different from what the test expects, e.g. 'Add Comment'.

So it's important to set the language headers, to avoid phantomjs from picking up your desktop
preferences in this specific case.
2019-06-12 19:24:06 +02:00
Andy Allan
5450bade1a Use built-in form sumbit translation keys for diary comments
Also use a diary comment object as the basis for the form
2019-06-12 16:20:29 +02:00
Andy Allan
52782121a6 Use built-in form sumbit translation keys for messages 2019-06-12 16:11:54 +02:00
Andy Allan
cf0b6403aa Use built-in form sumbit translation keys for redactions 2019-06-12 16:08:20 +02:00
Andy Allan
97ff32f528 Use built-in form sumbit translation keys for user blocks 2019-06-12 16:07:18 +02:00
translatewiki.net
35e0f58683 Localisation updates from https://translatewiki.net. 2019-06-10 20:39:47 +02:00
Tom Hughes
6499b2603d Merge remote-tracking branch 'upstream/pull/2248' 2019-06-06 17:51:51 +01:00
translatewiki.net
3478aa8c1e Localisation updates from https://translatewiki.net. 2019-06-06 18:13:35 +02:00
Andy Allan
fdffd22cca Allow admins to unhide diary comments, if they wish 2019-06-06 16:03:42 +02:00
Andy Allan
f2f3fbb1f1 Allow administrators to unhide diary entries, if they wish 2019-06-06 15:59:47 +02:00
translatewiki.net
c3699e206e Localisation updates from https://translatewiki.net. 2019-06-03 17:46:00 +02:00
translatewiki.net
f4e848d9ea Localisation updates from https://translatewiki.net. 2019-05-30 19:35:08 +02:00