Commit graph

10677 commits

Author SHA1 Message Date
Tobias Jordans
abc83298cd Diary entries #index: Migrate to bootstrap pagination
Use https://getbootstrap.com/docs/4.5/components/pagination/ for the pagination.

I tried using link_to_if but this does not work well in this case since multiple changes need to happen for the disabled state.
2020-12-30 14:20:13 +01:00
Tom Hughes
e392556444 Revert "Switch to using the zeitwork autoloader"
This reverts commit 127880a73f.
2020-12-29 19:29:36 +00:00
Tom Hughes
5677877ed1 Fix case for zeitwork 2020-12-29 18:54:12 +00:00
Tom Hughes
127880a73f Switch to using the zeitwork autoloader 2020-12-29 18:42:22 +00:00
Tom Hughes
b8a2cf0f2b Update bundle 2020-12-29 18:39:25 +00:00
translatewiki.net
1f2653d476 Localisation updates from https://translatewiki.net. 2020-12-29 09:03:29 +01:00
Andy Allan
4189e150f6
Merge pull request #3018 from tordans/line-break-for-long-urls
Break long URLs in blog post show
2020-12-28 11:15:58 +00:00
Tobias Jordans
b470e01f84 Break long URLs where richtext is used.
For example on the blog post show page.

This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Tom Hughes
8ecc1a4fce Merge remote-tracking branch 'upstream/pull/3017' 2020-12-24 14:07:41 +00:00
Andy Allan
547459314b Refactor diary entry forms to use a custom form builder 2020-12-24 13:32:41 +00:00
Andy Allan
170ea3399b Ensure richtext editing style rules are only applied on standard forms 2020-12-24 13:32:41 +00:00
Tom Hughes
f4885874f0 Merge remote-tracking branch 'upstream/pull/3016' 2020-12-23 15:24:10 +00:00
Tom Hughes
1eb1335bb2 Merge remote-tracking branch 'upstream/pull/3015' 2020-12-23 15:02:04 +00:00
Andy Allan
2519841efe Return the centre of the image if the bbox has no extent
Fixes #3007. If all the provided points in the gpx file have the same
lat/lon, then an image where they are all at the centre seems plausible.
2020-12-23 15:01:01 +00:00
Andy Allan
4f304e2301 Remove SystemTimer and use stdlib Timeout directly
SystemTimer was only needed on ruby 1.8, and we dropped support for
that a long time ago.
2020-12-23 14:25:58 +00:00
translatewiki.net
279787943e Localisation updates from https://translatewiki.net. 2020-12-22 14:04:52 +01:00
Tom Hughes
da42319b2c Update bundle 2020-12-21 09:47:00 +00:00
Tom Hughes
58abbf17f2 Merge remote-tracking branch 'upstream/pull/3014' 2020-12-21 09:45:22 +00:00
dependabot[bot]
5366e67a40
Bump eslint from 7.15.0 to 7.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.15.0...v7.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-21 05:03:00 +00:00
Tom Hughes
c9a4c78146 Make coverage testing work with parallel tests
https://github.com/simplecov-ruby/simplecov/issues/718#issuecomment-538201587
2020-12-18 22:39:23 +00:00
translatewiki.net
c63637f304 Localisation updates from https://translatewiki.net. 2020-12-17 15:21:34 +01:00
Tom Hughes
3f6f62b398 Merge remote-tracking branch 'upstream/pull/3010' 2020-12-17 12:30:05 +00:00
Andy Allan
bd1420a7c5
Merge pull request #3009 from gravitystorm/svg_icons
Add updated authentication icons
2020-12-17 11:44:22 +00:00
Tom Hughes
aeb9c4df97 Merge remote-tracking branch 'upstream/pull/3002' 2020-12-16 19:17:22 +00:00
Andy Allan
1b4a06adef Increase memory given to the virtualbox vm
Fixes #2972

Like others, I found that the previous setting caused OOM failures, and
4096 was sufficient. I suspect lower values will also work, but I don't
have time or inclination to bisect a smaller value.
2020-12-16 18:25:39 +00:00
Andy Allan
c192bd0d40 Use bootstrap utility class instead of custom css 2020-12-16 17:34:12 +00:00
Tom Hughes
2490fdc496 Ignore GPX archive entries that aren't regular files
Fixes #3008
2020-12-16 11:17:51 +00:00
Tom Hughes
384ac46102 Convert id column for oauth_nonces to bigint 2020-12-14 14:48:59 +00:00
translatewiki.net
2168ad2108 Localisation updates from https://translatewiki.net. 2020-12-14 15:14:05 +01:00
Tom Hughes
6e68613545 Update bundle 2020-12-10 14:40:16 +00:00
translatewiki.net
0297cec87b Localisation updates from https://translatewiki.net. 2020-12-10 13:56:16 +01:00
Tom Hughes
41339fffd5 Enable dependabot for github actions 2020-12-10 00:11:50 +00:00
Tom Hughes
93a57af6aa Remove travis-ci support 2020-12-10 00:11:50 +00:00
Tom Hughes
4a9f8a5e69 Move coveralls submission to actions workflow 2020-12-10 00:11:50 +00:00
Tom Hughes
efef67447b Add actions workflow to run tests 2020-12-09 22:07:40 +00:00
Tom Hughes
e027d5fc5c Add actions workflow to run lint tools 2020-12-09 22:07:40 +00:00
Tom Hughes
88ba316abe Merge remote-tracking branch 'upstream/pull/2999' 2020-12-09 14:51:04 +00:00
Tom Hughes
fec3b35762 Merge remote-tracking branch 'upstream/pull/2997' into master 2020-12-08 15:30:59 +00:00
translatewiki.net
1985142ff5 Localisation updates from https://translatewiki.net. 2020-12-08 16:01:22 +01:00
Andy Allan
651217e1bc Add missing html suffix to translation key
The new key was added to the translations config file in a previous commit.
2020-12-08 13:50:22 +00:00
translatewiki.net
f8f327179c Localisation updates from https://translatewiki.net. 2020-12-07 15:56:26 +01:00
Tom Hughes
6bfecfce1f Merge remote-tracking branch 'upstream/pull/2996' into master 2020-12-06 19:21:29 +00:00
dependabot[bot]
d5d92e6056
Bump eslint from 7.14.0 to 7.15.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.14.0 to 7.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.14.0...v7.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-06 18:57:28 +00:00
Tom Hughes
93f3a56487 Update bundle
Pin rubcop to 0.x to avoid erb_lint issues
2020-12-06 18:53:36 +00:00
Tom Hughes
68f147e6d4 Disable dependabot for ruby gems
Closes #2992
2020-12-06 18:47:51 +00:00
Tom Hughes
92712591c9 Merge remote-tracking branch 'upstream/pull/2993' into master 2020-12-06 18:44:33 +00:00
Tom Hughes
d5ba77e42b Merge remote-tracking branch 'upstream/pull/2991' into master 2020-12-06 18:37:45 +00:00
translatewiki.net
2d2b1f1f31 Localisation updates from https://translatewiki.net. 2020-12-03 15:51:48 +01:00
Andy Allan
78dd142df4 Avoid using raw in html mailer views
Use the _html suffix to mark that we expect the translations to contain links.

Unfortunately, we can't use the _html keys for the plain text emails, since the input options (e.g. username, url) will be html-escaped,
before it is passed to the view. So we need to use non-html-suffix keys for the plaintext views, in most cases. Only when the translation
options (e.g. url) are guaranteed to not contain any escapable characters can the same translation key be shared.
2020-12-02 15:13:09 +00:00
Andy Allan
dd8e5f04e3 Add a test for i18n interpolation into plain and html parts
I spent some time working on an alternative translation strategy, without realising some of the plain text implications.
2020-12-02 13:02:25 +00:00