Commit graph

3031 commits

Author SHA1 Message Date
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
Tom Hughes
f99c383318 Merge remote-tracking branch 'upstream/pull/2225' 2019-05-30 18:06:58 +01:00
Tom Hughes
b92c699a66 Merge remote-tracking branch 'upstream/pull/2237' 2019-05-30 09:20:37 +01:00
Andy Allan
3e414a5025 Use strong_migrations to help developers avoid problems in production database schema changes 2019-05-30 10:11:17 +02:00
Tom Hughes
e49953f141 Merge remote-tracking branch 'upstream/pull/2239' 2019-05-29 17:41:08 +01:00
Andy Allan
6ed749e7eb Allow a configurable delay to keep diary entries from being published in feeds
This is to provide another tool to help spam fighting.

The configuration value is set to zero hours for new deploys in
order to be 'least surprising'. You can change the setting without
interfering with your test suite.
2019-05-29 16:56:15 +02:00
Andy Allan
1b1d90a0f9 Refactor diary entry form
This uses the built-in helpers for naming form elements, rather than
having to override with specific i18n labels. It also changes the label
to 'Update', and capitalizes the title on the edit page.
2019-05-29 16:09:14 +02:00
Andy Allan
fbcd2bc10a Refactor some diary entry routes to use resources 2019-05-29 15:55:27 +02:00
Andy Allan
b7893df84e Refactor diary entries to use create and update methods
This brings it slightly more into line with resourceful routing.
2019-05-29 15:37:23 +02:00
translatewiki.net
ab66a001eb Localisation updates from https://translatewiki.net. 2019-05-27 16:54:08 +02:00
translatewiki.net
2af5f21578 Localisation updates from https://translatewiki.net. 2019-05-23 14:31:35 +02:00
translatewiki.net
fd13c753e2 Localisation updates from https://translatewiki.net. 2019-05-20 14:03:37 +02:00
Tom Hughes
e78859aeaf Merge remote-tracking branch 'upstream/pull/2028' 2019-05-19 17:14:19 +01:00
Simon Poole
c5a7d64522 Remove left over string from first draft 2019-05-19 17:17:59 +02:00
translatewiki.net
1aa6710c2e Localisation updates from https://translatewiki.net. 2019-05-17 12:35:45 +02:00
Andy Allan
90ac07d071 Allow user_blocks to be created for longer periods
This avoids admins from having to manually change end periods in the database
2019-05-15 11:30:28 +02:00
Simon Poole
1be8d599e8 Add checkbox for contributor terms and improve text 2019-05-13 16:54:29 +02:00
Simon Poole
ac9319f4d4 Rename string to avoid translation confusion 2019-05-13 16:54:29 +02:00
Simon Poole
72d78db168 Move link to ToU to attribution footer 2019-05-13 16:54:29 +02:00
Simon Poole
077834704e Add links to the ToU and include them in signup
- this adds links to the ToU in the Welcome box and on the About page
- adds a timestamp column to the users table to record acceptance of the ToU
- require ToU to be accepted before signup can proceed
- rearrange and change text on signup page
2019-05-13 16:52:18 +02:00
translatewiki.net
da66044021 Localisation updates from https://translatewiki.net. 2019-05-13 14:55:56 +02:00
translatewiki.net
82e3dd6967 Localisation updates from https://translatewiki.net. 2019-05-09 17:24:10 +02:00
translatewiki.net
7d8cb70ccd Localisation updates from https://translatewiki.net. 2019-05-06 17:01:54 +02:00
translatewiki.net
714468a883 Localisation updates from https://translatewiki.net. 2019-05-02 18:16:12 +02:00
translatewiki.net
128fbf1ea0 Localisation updates from https://translatewiki.net. 2019-04-29 17:46:20 +02:00
translatewiki.net
24c375a68b Localisation updates from https://translatewiki.net. 2019-04-25 20:31:39 +02:00
Tom Hughes
9f57f60b87 Fix new rubocop warnings 2019-04-23 09:33:34 +01:00
translatewiki.net
e4b0b6cd6a Localisation updates from https://translatewiki.net. 2019-04-22 22:27:01 +02:00
translatewiki.net
da11ecacb9 Localisation updates from https://translatewiki.net. 2019-04-18 17:17:44 +02:00
translatewiki.net
ef2c09559b Localisation updates from https://translatewiki.net. 2019-04-15 17:52:58 +02:00
Tom Hughes
15841e8d2a Merge remote-tracking branch 'upstream/pull/2205' 2019-04-14 16:09:04 +01:00
translatewiki.net
f88d11e0e6 Localisation updates from https://translatewiki.net. 2019-04-11 18:04:13 +02:00
Andy Allan
e66c719294 Resourceful(ish) naming for api/users_controller 2019-04-10 17:06:15 +02:00
Andy Allan
5444af981c Resourceful route names for api/trace_controller 2019-04-10 16:52:20 +02:00
translatewiki.net
36817f777c Localisation updates from https://translatewiki.net. 2019-04-08 16:59:31 +02:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
8030e7b5d6 Enable some more eslint checks 2019-04-06 17:27:17 +01:00