Commit graph

203 commits

Author SHA1 Message Date
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
Tom Hughes
c9d35839be Fix new rubocopy warnings 2015-08-18 20:57:14 +01:00
Tom Hughes
0546ebb7b0 Upgrade vagrant config to use Ubuntu 14.04
This uses the sputnik13/trusty64 image rather then the official
ubuntu/trusty64 image in order to get libvirt provider support as
wall as virtualbox provider support.
2015-05-31 14:55:32 +01:00
Tom Hughes
14d4b9206c Fix vagrant to install all thee 3GL functions 2015-05-07 23:13:07 +01:00
Tom Hughes
dc2a2c8ebd Standardise on double quoted strings 2015-02-20 19:47:26 +00:00
Tom Hughes
5cbd4038ed Fix rubocop style issues 2015-02-20 08:56:16 +00:00
Tom Hughes
baf10cd392 Fix rubocop lint issues 2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c Fix most auto-correctable rubocop issues 2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456 Cleanup trailing whitespace 2015-02-20 08:56:16 +00:00
Amir Wilf
103ba7977f Vagrant deploy works
Creating extension btree_gist for test DB 'osm_test'
2015-01-18 14:14:53 +02:00
Tom Hughes
7c75767c9b Restore original limits for user lists in statistics 2014-08-05 09:24:20 +01:00
Tom Hughes
204486e824 More modernisations for the statistics script 2014-07-25 16:49:40 +01:00
Tom Hughes
ace29736c7 Modernise statistics script to work with rails 4.1 2014-07-25 16:40:53 +01:00
Tom Hughes
3ea2fc48c2 Look for key pages using Template:Feature 2014-06-18 19:54:25 +01:00
Tom Hughes
ce404d1afb Fix update-wiki-pages to resolve redirects correctly 2014-06-18 19:47:30 +01:00
João G. Packer
8d0b4ca40a Change wiki preprocessing script to read redirect pages
The script that preprocess keys and tags metadata from the wiki
was filtering redirect pages when looking for wiki pages with the
template `KeyDescription`.

Some wiki pages like `Key:admin_level` currently redirects to others
like `Tag:boundary=administrative`, but even so, they still contain
a `KeyDescription` template so their metadata can be read by other
programs.

The parameter `eifilterredir` was changed and tested. For more
details, see this parameter in the feature `list=embeddedin` from
https://www.mediawiki.org/w/api.php.
2014-06-04 10:45:27 +01:00
Matt Amos
581d871827 Migrate the database on vagrant up.
Also fix the provisioning script so that it runs correctly when
the VM is upped, regardless of whether it's a clean install or
an 'up' of a previously halted VM.
2014-03-08 11:33:52 +00:00
Matt Amos
3c1371adaf Move vagrant provisioning script to a better location. 2014-02-26 11:35:43 +00:00
Tom Hughes
f735912374 Remove session cleanup code from cleanup script 2013-08-09 17:39:00 +01:00
Tom Hughes
72ce4bc922 Expire special m- and c- reply addresses after a month 2013-02-04 09:10:59 +00:00
Tom Hughes
c94e059d2d Use zip instead of SyncEnumerator in statistics script 2012-11-01 00:35:31 +00:00
Tom Hughes
b135fff9b0 Update spam block script for mass assignment protection changes 2012-04-16 08:44:38 +01:00
Tom Hughes
7be823bb11 Treat messages received by email as plain text
Move creation of a message from an email into the message model and
adjust the logic to treat messages received by email as plain text.
2012-03-17 16:37:00 +00:00
Tom Hughes
2ee961be9f Only mark a message as read after we have validated the email reply 2012-03-16 15:44:40 +00:00
Tom Hughes
300639dfa3 Mark a message as read when we receive an email reply to it 2012-03-16 15:17:50 +00:00