Commit graph

3840 commits

Author SHA1 Message Date
Andy Allan
b5046fdcd0 Move browse#new_note to notes#new
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Andy Allan
f7367baa6b Rename api_notes resource to avoid conflict with non-API resource
This allows using e.g. note_path for notes#show in the future.
2023-01-25 19:01:57 +00:00
translatewiki.net
175615f226 Localisation updates from https://translatewiki.net. 2023-01-23 13:13:19 +01:00
translatewiki.net
63708f4a52 Localisation updates from https://translatewiki.net. 2023-01-19 13:16:50 +01:00
translatewiki.net
b278bc06ef Localisation updates from https://translatewiki.net. 2023-01-16 13:13:25 +01:00
translatewiki.net
c8cbf2457d Localisation updates from https://translatewiki.net. 2023-01-12 13:15:28 +01:00
Tom Hughes
2ee5a63ead Merge remote-tracking branch 'upstream/pull/3886' 2023-01-11 10:57:04 +00:00
Tom Hughes
4e0c5f5fcb Make distances in directions translatable
Fixes #3888
2023-01-10 20:58:10 +00:00
Richard Fairhurst
b7887b049f Remove Geonames and geocoder.ca 2023-01-09 21:23:48 +00:00
Tom Hughes
152e524002 Make error pages translatable
Fixes #3877
2023-01-09 19:32:22 +00:00
Tom Hughes
1e5ffd1389 Fix some translation issues for diary_entry#new
Fixes #3880
2023-01-09 19:02:11 +00:00
translatewiki.net
e28a8fd992 Localisation updates from https://translatewiki.net. 2023-01-09 13:28:11 +01:00
Tom Hughes
f42a7a2d8d Make sanitize convert text alignment styles to bootstrap classes
The kramdown converter for markdown uses inline styles for table
column alignment which gets lost when we strip the styles so add
bootstrap classes to replace it.
2023-01-09 11:10:11 +00:00
Andy Allan
fbbcbf5c63
Merge pull request #3874 from tomhughes/offline
Allow models to load when the database is offline
2023-01-06 13:10:28 +00:00
Tom Hughes
4a5d509adf Allow models to load when the database is offline
It used to be necessary to stop ActiveRecord loading because
it would immediately try and connect the database but with the
introduction of switchable database connections it now only connects
when a model is used for the first time.

Fixes #3858
2023-01-05 20:25:34 +00:00
translatewiki.net
74f444d453 Localisation updates from https://translatewiki.net. 2023-01-05 13:20:08 +01:00
translatewiki.net
2be5332689 Localisation updates from https://translatewiki.net. 2023-01-02 13:14:32 +01:00
Tom Hughes
18b642bfa9 Merge remote-tracking branch 'upstream/pull/3863' 2022-12-30 11:48:49 +00:00
mmd-osm
b6869e2a43 Update wiki_pages.yml 2022-12-30 08:35:44 +01:00
Tom Hughes
6033359bd0 Preserve rel=me on links in rich text
Fixes #3859
2022-12-29 18:02:23 +00:00
Tom Hughes
27e9965dd2 Require integer IDs for diary_entries#show
Fixes #3865
2022-12-29 17:14:05 +00:00
ZhengLin Li
381b83e08c
Change Save to Comment
For comment submit buttons we currently have:

"Comment" (Changeset Comments)
"Add Comment" (Issue Comments)
"Comment" (Note Comments)
"Save" (Diary Comments)

So, to make them consistent, I'd propose to change "Save" to "Comment"
2022-12-29 02:03:02 -08:00
translatewiki.net
88b4555472 Localisation updates from https://translatewiki.net. 2022-12-26 13:16:29 +01:00
Tom Hughes
3ff8ef52b7 Merge remote-tracking branch 'upstream/pull/3848' 2022-12-22 16:43:41 +00:00
Christian Beiwinkel
1e33272153 consistent naming of FOSSGIS routers 2022-12-22 17:39:50 +01:00
translatewiki.net
336571f12e Localisation updates from https://translatewiki.net. 2022-12-22 13:14:21 +01:00
Tom Hughes
3218e40f52 Fix resource names for Oauth 2 bottons
Fixes #3850
2022-12-18 19:42:48 +00:00
Christian Beiwinkel
85f627c5c2 added valhalla routing engine 2022-12-16 17:05:36 +01:00
translatewiki.net
7b72e4f3c3 Localisation updates from https://translatewiki.net. 2022-12-15 13:14:33 +01:00
Tom Hughes
eb26f8f62b Fix new rubocop warnings 2022-12-13 20:26:25 +00:00
translatewiki.net
6663e23d43 Localisation updates from https://translatewiki.net. 2022-12-12 13:12:45 +01:00
Tom Hughes
23f73d0be0 Avoid duplicate initialisation warnings 2022-12-10 15:33:49 +00:00
translatewiki.net
222f4615a3 Localisation updates from https://translatewiki.net. 2022-12-08 13:13:52 +01:00
translatewiki.net
9273f7d4a7 Localisation updates from https://translatewiki.net. 2022-12-05 13:12:45 +01:00
translatewiki.net
d90bbff346 Localisation updates from https://translatewiki.net. 2022-12-01 13:13:32 +01:00
Andy Allan
a11e156f56 Use mail_to help to avoid handcrafting mailto links
This also reworks the user suspended page to avoid having html in
the translation strings.
2022-11-30 11:13:44 +00:00
translatewiki.net
77d43fd1d1 Localisation updates from https://translatewiki.net. 2022-11-28 13:12:01 +01:00
translatewiki.net
71c636e18e Localisation updates from https://translatewiki.net. 2022-11-24 13:13:38 +01:00
Andy Allan
067b0de439
Merge pull request #3676 from harry-wood/notes-disappear-time
Display how long until a note will disappear
2022-11-23 15:44:26 +00:00
Tom Hughes
8cef62cd2c Merge remote-tracking branch 'upstream/pull/3301' 2022-11-22 18:47:24 +00:00
translatewiki.net
7c9b3229e6 Localisation updates from https://translatewiki.net. 2022-11-21 13:11:49 +01:00
Tom Hughes
17e87ab67a Merge remote-tracking branch 'upstream/pull/3805' 2022-11-17 17:51:46 +00:00
Tom Hughes
14e73fd9c2 Merge remote-tracking branch 'upstream/pull/3804' 2022-11-17 17:49:58 +00:00
Tom Hughes
c0278a01da Merge remote-tracking branch 'upstream/pull/3803' 2022-11-17 17:49:17 +00:00
Andy Allan
97b7bac956 Use the mail_to method to construct a mailto link for browse tag values
This is easier than building a mailto link ourselves. Also implement
the missing title tag and write a test for it.
2022-11-17 12:53:33 +00:00
Andy Allan
f17912cebc Enable more brakeman checks
These have been refactored already, so no longer need to be skipped.
2022-11-17 12:15:02 +00:00
translatewiki.net
ccc898b8a0 Localisation updates from https://translatewiki.net. 2022-11-17 13:12:56 +01:00
Andy Allan
1559d88048 Create a second title_user translation, to avoid using html_safe 2022-11-17 12:10:49 +00:00
Andy Allan
972249ce9d Reconfigure the suspended flash message to avoid html_safe
This also avoids having raw html in the translation strings
2022-11-17 12:04:28 +00:00
Andy Allan
aab33eee87 Use rails 7.0 configuration defaults
All the entries in the new framework defaults were enabled a while
ago, apart from the cookies serializer which is already defined in
config/initializers/cookies_serializer.rb
2022-11-16 15:29:30 +00:00