Andy Allan
9809750401
Remove imagemagick from dependencies
2022-03-09 17:18:43 +00:00
Tom Hughes
ddb140f387
Switch to using vips for image processing
2022-03-02 19:44:56 +00:00
Tom Hughes
b5f06e06c1
Fix rubocop Rails/TimeZone warnings
2022-03-01 22:55:10 +00:00
Harry Wood
448fd1b3bd
Fix vagrant storage.yml config
...
Tell vagrant to copy the example storage.yml config file into place as per INSTALL.md instructions. Allows the migrations to run.
2022-02-12 00:13:42 +00:00
Tom Hughes
81c3ebe03c
Remove xid_to_int4 postgres function
...
Fixes #3288
2021-08-06 00:15:40 +01:00
Fredrik
7917c1cc92
Escape characters
2021-02-17 21:53:04 +00:00
Fredrik
49e06f2f14
Update statistics
2021-02-17 21:32:38 +00:00
mmd-osm
4e6d729529
Remove /api/0.6/changes endpoint
...
Also removes sql functions which are only used by this endpoint
2021-02-03 14:06:34 +00:00
Tom Hughes
0654be27f9
Fix new rubocop warnings
2021-01-11 19:17:31 +00:00
Tom Hughes
efef67447b
Add actions workflow to run tests
2020-12-09 22:07:40 +00:00
Tom Hughes
bfffe7ed96
Prefer string interpolation to concatenation
2020-11-13 11:32:28 +00:00
Andy Allan
8fb3aa48e2
Fix call to UserMailer in message delivery
...
Fixes #2895
2020-10-20 13:58:08 +02:00
Tom Hughes
c1c459734d
Merge remote-tracking branch 'upstream/pull/2864'
2020-10-01 08:57:36 +01:00
Andy Allan
865d20af80
Use the db:seed task to load languages
...
This is seed data that should reasonably be loaded into every database,
even those that are otherwise empty (e.g. no geo data). Using the seeds
process means that it will usually be loaded by default, and is easier
to find for existing rails developers.
2020-09-30 15:09:49 +02:00
Andy Allan
76f141fbd5
Remove unused locale scripts
...
We no longer need these scripts, given our current translatewiki workflows
2020-09-30 13:17:43 +02:00
Tom Hughes
e9483dcc5d
Attempt to modernise vagrant configuration
2020-08-25 20:57:50 +01:00
Tom Hughes
93c15f377a
Extend cleanup script to cleanup old OAuth tokens
2020-08-22 16:15:09 +01:00
Tom Hughes
abca51e4d8
Fix some Style/StringConcatenation warnings
2020-08-09 19:48:16 +01:00
Tom Hughes
f721f94d42
Ignore emails from inactive users
...
Fixes #2758
2020-08-07 17:19:49 +01:00
Tom Hughes
ea59d95f4a
Fix some new rubocop warnings
2020-08-06 22:27:30 +01:00
Tom Hughes
0e2a66e8de
Fix new rubocop warnings
2020-08-06 18:42:16 +01:00
Andy Allan
46c3e70ec6
Remove some unused scripts
2020-06-03 16:15:24 +02:00
Tom Hughes
a7781f62cf
Update vagrant provision script for switch to selenium
2020-04-22 16:44:53 +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
Tom Hughes
dc5cdebc29
Create config/settings.local.yml in Vagrant provisioning script
2019-08-08 09:50:13 +01:00
Tom Hughes
2a9346adb0
Make sure phantomjs is installed
2019-08-07 17:29:26 +01:00
Tom Hughes
4efe7cdc10
Fix vagrant provisioning script
...
Fixes #2343
2019-08-07 17:27:25 +01:00
Tom Hughes
3cfffc2258
Update gravatar methods to check for Active Storage images
2019-07-16 22:29:07 +01:00
Tom Hughes
a5735683e9
Avoid bundler 2.x for now
...
Fixes #2149
2019-02-20 21:46:21 +00:00
Tom Hughes
b4d1a7ad67
Update vagrant config to use Ubuntu 18.04
2018-09-28 19:55:38 +01:00
Tom Hughes
6d68c0b22d
Stop wiki update script trying to be "helpful"
...
Instead of trying to advise how to import some (but not all) of
the modules, just require them in the normal way.
Closes #1763
2018-09-26 22:43:30 +01:00
Tom Hughes
64146b4f36
Fix Style/SafeNavigation rubocop warnings
2018-09-22 17:21:06 +01:00
Tom Hughes
6c2093b29d
Fix new rubocop warnings
2018-09-22 17:12:29 +01:00
Tom Hughes
eeb8bbba49
Require people replying to diary notifications to be subscribed
2018-08-30 18:34:15 +01:00
Tom Hughes
e9acb894a3
Fix daily cleanup script for rails 5.2 compatibility
2018-06-20 08:51:11 +01:00
Tom Hughes
98de681e47
Update to rails 5.2.0
2018-06-19 00:16:24 +01:00
Tom Hughes
619fa7d802
Update vagrant configuration
...
Use a common box for all platforms and fix up various
issues with the provisioning script.
2018-05-31 22:53:22 +01:00
Tom Hughes
1f2ac59d1d
Fix new rubocop warnings
2018-03-26 19:00:03 +01:00
mmd-osm
d3e91a79ff
Update wiki_pages.yml, fix http url in update script
2018-02-12 20:12:07 +00:00
Tom Hughes
c7762fed23
Normalise newlines in incoming emails
...
Fixes #1708
2018-01-30 00:27:01 +00:00
Tom Hughes
5b33f3f8e3
Fix rubocop warnings
2017-06-02 00:08:30 +01:00
Tom Hughes
c8671c137a
Update rubocop
2017-02-05 11:12:37 +00:00
Grant Slater
89ba5eab46
Switch vagrant Ubuntu Trusty -> Xenial
2017-01-03 12:42:35 +00:00
Tom Hughes
de6c33814b
Make sure email replies to diary comments come from the right user
2016-11-29 19:30:23 +00:00
Tom Hughes
a5a4ab8bcc
Expire old oauth nonces
2016-11-07 11:31:58 +00:00
Tom Hughes
d82f9d12ce
Fix new rubocop warnings
2016-09-15 19:21:00 +01:00
Simon Poole
ad0e7b2c22
Add stupid script to bulk check the gravatar status
2016-08-16 22:09:11 +02:00
Tom Hughes
8fd70ff44f
Make vagrant provision script stop on error
2016-03-28 22:45:20 +01:00
Victor Grousset
1efbcc3ff4
Vagrant: Fix locale setup problem
...
Because dozens of red locale errors during provisioning are scary
2015-12-31 01:22:11 +01:00
Victor Grousset
fb6830dbb2
Update vagrant provision script with current install commands
...
From INSTALL.md
2015-12-31 00:31:44 +01:00