Commit graph

9615 commits

Author SHA1 Message Date
Andy Allan
41ba976d5a DMCA page is now available over https 2019-10-16 11:25:16 +02:00
Andy Allan
6b6245365a
Merge pull request #2374 from tordans/patch-1
Add reference to settings.local.yml-file in installation.md
2019-10-16 10:32:17 +02:00
translatewiki.net
ea037d0258 Localisation updates from https://translatewiki.net. 2019-10-14 17:39:42 +02:00
Tom Hughes
4b8f0a7389 Give factory created traces a size
Traces which are marked as inserted are expected to have a size.
2019-10-13 12:18:57 +01:00
Tom Hughes
f0324b60b1 Make trace.trace.count_points a plural string 2019-10-13 10:55:02 +01:00
Tom Hughes
3b636ddb6f Don't try and commas to the trace size
It breaks pluralisation lookups in the locale and in any case
adding a comma every three digits is locale specific.

Fixes #2388
2019-10-13 10:54:47 +01:00
hikemaniac
651342197a Added landuse icons and fixed some mistakes in browse.scss
Closes #2385
2019-10-09 17:48:07 +01:00
Matt Amos
7fb5bcaf3f Clarify that there is no pure SQL version of xid_to_int4 for diff replication. 2019-10-09 15:18:05 +01:00
Matt Amos
2423d86914 Make documentation clearer and shorter by deferring complicated shared-library SQL explanations to 'advanced' documentation. Also mention in the CONFIGURING.md. 2019-10-09 12:13:27 +01:00
Tom Hughes
d96a5c9c87 Switch to use v4.0 of the Facebook API for authentication 2019-10-08 18:36:27 +01:00
Tom Hughes
3938f1008e Update rubocop todo 2019-10-07 20:38:03 +01:00
Tom Hughes
bbd03b1bae Update bundle 2019-10-07 20:30:01 +01:00
translatewiki.net
059da1617b Localisation updates from https://translatewiki.net. 2019-10-07 19:56:25 +02:00
Matt Amos
809b194030 Reverting part of the db/structure.sql change which had been unintentionally committed. (perhaps PG version difference?) 2019-10-04 15:38:42 +01:00
Matt Amos
098e73479b Remove shared lib PG functions from committed DB structure. 2019-10-04 13:40:27 +01:00
Matt Amos
ced8ac86ab Remove need for shared library PostgreSQL functions
This repo contains code for three functions to be loaded into PostgreSQL as a shared library:

1. `maptile_for_point`, which is used only by the `/changes` API call. This API call is little-used and IMHO should be deprecated and removed. However, even now it's hardly on the hot path for most development activities.
2. `tile_for_point`, which is used only in migrations. At this point, it seems unlikely that anyone will be doing a migration on existing data which would call this function (most developers will be running migrations on an empty database, to set it up).
3. `xid_to_int4`, which is only used for replication using Osmosis and isn't used in the Rails code at all. Hopefully this will be replaced Real Soon Now, but until then it's a quite advanced feature that most developers won't need.

Therefore, this patch proposes to replace the above three shared library functions with SQL implementations of the first two. These are _much_ slower - by a factor of about 30x, however this makes no difference when they're run on a completely empty database. In return, we're able to drop a dependency on the PostgreSQL server development package, and clean a few lines out of the installation instructions.

It's still possible to make and install the shared library functions, and I've included instructions about how to do that - although it shouldn't be necessary for the vast majority of `openstreetmap-website` developers.
2019-10-04 13:25:00 +01:00
translatewiki.net
1d7e4a4c46 Localisation updates from https://translatewiki.net. 2019-10-03 19:47:17 +02:00
translatewiki.net
83983bfc6a Localisation updates from https://translatewiki.net. 2019-10-01 16:41:10 +02:00
translatewiki.net
136ebc82a0 Localisation updates from https://translatewiki.net. 2019-09-26 20:38:09 +02:00
translatewiki.net
aa8cc45579 Localisation updates from https://translatewiki.net. 2019-09-23 18:02:20 +02:00
Tobias
be9db818b2
Add reference to settings-file in installation.md
This way new developers will not have to look up this error themselves.
2019-09-23 16:45:25 +02:00
translatewiki.net
4b41eee8bd Localisation updates from https://translatewiki.net. 2019-09-19 14:41:09 +02:00
translatewiki.net
48764d33c6 Localisation updates from https://translatewiki.net. 2019-09-16 19:04:07 +02:00
translatewiki.net
271b330b79 Localisation updates from https://translatewiki.net. 2019-09-12 16:10:59 +02:00
translatewiki.net
b845406087 Localisation updates from https://translatewiki.net. 2019-09-09 19:26:49 +02:00
translatewiki.net
74f7aa7ee3 Localisation updates from https://translatewiki.net. 2019-09-06 07:09:19 +02:00
Tom Hughes
e219916dcb When overriding setup make sure to call the superclass 2019-09-05 21:24:20 +01:00
Andy Allan
374668c7cc
Merge pull request #1779 from stefanb/tag-colour-preview
Added color preview box in tag browser sidebar
2019-09-04 15:15:06 +02:00
translatewiki.net
5dfa747823 Localisation updates from https://translatewiki.net. 2019-09-03 09:38:41 +02:00
Michael Reichert
357060d96f Add banner for SotM 2019 2019-09-01 17:21:25 +02:00
Stefan Baebler
379401d76c fixed line lengths 2019-08-31 13:15:33 +02:00
Stefan Baebler
c47bd173ff fixed some rubocop violations 2019-08-31 12:10:36 +02:00
Stefan Baebler
e968ad038a Fixed 2 new eslint errors 2019-08-31 11:59:44 +02:00
Stefan Baebler
fe2bd1ee1a Colour preview moved into new browse_tags_helper
In 74d2c4336b browse_helper was split int two
2019-08-31 11:40:42 +02:00
Stefan Baebler
e731dd71a7 Merge branch 'master' into tag-colour-preview-rebase 2019-08-31 11:34:57 +02:00
translatewiki.net
7c8779709f Localisation updates from https://translatewiki.net. 2019-08-29 20:29:03 +02:00
Tom Hughes
d99374434e Merge remote-tracking branch 'upstream/pull/2362' 2019-08-28 17:49:35 +01:00
Tom Hughes
783b5e3729 Merge remote-tracking branch 'upstream/pull/1926' 2019-08-28 17:23:10 +01:00
Andy Allan
0baa293699 Make the logo on the error page clickable
Also use the same picture/srcset code as on the main header
2019-08-28 16:02:34 +02:00
Andy Allan
a7092491b0
Merge pull request #2266 from systemed/patch-2
Add user_<uid> class to diary entry div
2019-08-28 15:20:21 +02:00
Tom Hughes
bf1b9a9b60 Exclude all vendored code from rubocop checking 2019-08-27 15:33:23 +01:00
Tom Hughes
8d102e2dc5 Drop ancient imported daemon generator 2019-08-27 15:23:30 +01:00
Tom Hughes
d515e1b0e4 Update bundle 2019-08-27 15:21:15 +01:00
Tom Hughes
bfd4f4993a Update yarn bundle 2019-08-27 15:09:31 +01:00
Tom Hughes
e1f2390d28 Merge remote-tracking branch 'upstream/pull/2359' 2019-08-27 14:59:53 +01:00
Bryan Housel
39896c76f8 Update to iD v2.15.5 2019-08-26 14:16:28 -04:00
translatewiki.net
94033b3a08 Localisation updates from https://translatewiki.net. 2019-08-26 12:29:57 +02:00
translatewiki.net
a973ca794f Localisation updates from https://translatewiki.net. 2019-08-23 06:49:42 +02:00
Tom Hughes
135ec35a91 Fix numericality validation to use correct integer only constraint
Fixes #2355
2019-08-22 12:14:06 +01:00
mmd-osm
549be4adba Overpass query to use map precision 2019-08-21 10:13:41 +02:00