Commit graph

45 commits

Author SHA1 Message Date
Tom Hughes
a52558ecc4 Switch to using annotaterb for annotations 2025-02-28 17:22:54 +00:00
Holger Jeromin
0f76726392 Migrate eslint config to esmodules
And upgrade `@stylistic/eslint-plugin-js` to `4.0.x`

closes #5704
2025-02-19 09:54:07 +01:00
Tom Hughes
275228dec7 Move eslint ignore rules to the configuration file
Instead of having the rake task select which files to check, just
check the whole tree and have eslint ignore third party files and
generated files that we don't control.
2025-02-09 19:38:47 +00:00
Marwin Hochfelsner
bc18e85d5c Add eslint-plugin-erb for .js.erb file linting
* Add eslint-plugin-erb to provide linting of our .js.erb files
* Lint osm.js.erb and API-ify OSM.params()
---------
Co-authored-by: Andy Allan <git@gravitystorm.co.uk>
2025-02-05 17:00:38 +01:00
Tom Hughes
17bc0853a0 Drop support for OAuth 1 2024-09-01 03:43:02 +03:00
Tom Hughes
d17b5b6d4f Move token expiry to a rake task 2024-08-08 20:45:10 +01:00
Tom Hughes
f61ac2586f Add support for per-user limits on the size of changes that can be made 2024-06-19 00:46:34 +01:00
Tom Hughes
938037d6a2 Update eslint to v9 2024-04-07 12:13:06 +01:00
Tom Hughes
2f11b77309 Add support for per-user limits on the rate changes can be made 2023-11-02 08:59:57 +00:00
Tom Hughes
0e74b21cb2 Fix new rubocop warnings 2023-10-31 18:16:46 +00:00
Gregory Igelmund
aa573ce1bb
.github/workflows/lint.yml: Add task verifying annotations are up2date 2023-10-14 11:28:44 +08:00
Tom Hughes
92b122759f Remove support for legacy trace files 2022-03-03 19:47:40 +00:00
Tom Hughes
b244905cd2 Add a rake task to migrate trace data to ActiveStorage 2021-12-16 18:45:31 +00:00
Andy Allan
4c785792fb Switch to using 'rails test:all' in documentation and CI
Fixes #3116.

This allows us to drop our custom patch for running system tests,
as well as opening up all the usual rails test goodies like running
individual files or directories.
2021-05-19 13:39:37 +01:00
Tom Hughes
6db5b2e6f3 Fix rubocop Rake/MethodDefinitionInTask warnings 2021-05-13 19:28:26 +01:00
Andy Allan
93ecedf02a Use the rake extension for remaining files, for consistency 2021-04-28 12:05:25 +01:00
Andy Allan
46c3e70ec6 Remove some unused scripts 2020-06-03 16:15:24 +02:00
Tom Hughes
57f5b7840e Fix rubocop warnings 2019-12-04 19:31:53 +00:00
Tom Hughes
8072a82f1d Exclude node_modules form eslint checks 2019-10-22 20:37:39 +01:00
Tom Hughes
826b70fdc5 Replace migrations that rely on models with rake tasks
Replace some migrations that rely on relationships between
models to add subscriptions with rake tasks.
2019-07-17 18:55:15 +01:00
Tom Hughes
3cfffc2258 Update gravatar methods to check for Active Storage images 2019-07-16 22:29:07 +01:00
Tom Hughes
d2d3f2c9fd Fix rubocop warning 2019-07-15 21:18:13 +01:00
Tom Hughes
11c4aa7d73 Skip uploading images for users that have a new style avatar 2019-07-15 19:17:01 +01:00
Tom Hughes
6da536e5c8 Add a rake task to move user avatars to Active Storage 2019-07-15 19:09:50 +01:00
Tom Hughes
d67b057851 Replace eslint-rails-ee with direct calls to eslint 2019-06-12 19:27:58 +01:00
Tom Hughes
6142980d07 Fix new rubocop warnings 2018-10-31 19:14:39 +00:00
Tom Hughes
31133683b4 Don't add system tests if the user specified which tests to run 2017-12-09 10:52:19 +00:00
Tom Hughes
d581fbfaf1 Make system tests run by default 2017-11-15 19:14:31 +00:00
Tom Hughes
9e929de530 Add framework for system tests 2017-11-15 19:14:31 +00:00
Andy Allan
4d406fcdfd Rubocop fixes 2017-10-22 22:35:34 +01:00
Andy Allan
b2a8df0bd7 Add annotate gem and associated rake task. Annotate models. 2017-10-22 22:18:26 +01:00
Tom Hughes
81deb35331 Update to rails 5.0.4 2017-06-27 08:26:44 +01:00
Tom Hughes
5d3ecffa28 Fix new rubocop warnings 2016-02-05 13:35:26 +00:00
Tom Hughes
c9d35839be Fix new rubocopy warnings 2015-08-18 20:57:14 +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
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
Tom Hughes
98184dfb9c Reorganise tests to match modern rails test layout 2014-02-26 00:13:19 +00:00
Gabriel Ebner
6c31dbaaec split_node_tags: Remove old unused files. 2008-05-04 09:04:40 +00:00
Nick Black
051e44c63a fixed bug in add version rake task 2008-01-25 17:02:43 +00:00
Nick Black
2ce8177333 fixed null value bug in rake task 2008-01-25 14:26:39 +00:00
Nick Black
6f6e827702 added task to add version numbers to nodes table 2008-01-23 18:39:29 +00:00
Nick Black
c93c841ed2 updated rake task to grab 1000 records at a time 2008-01-23 12:49:34 +00:00
Nick Black
e6fab03800 rake task to populate node_tags and current_node_tags tables with values from the nodes and current_nodes tables. migration 011 and 012 must be applied before this task. 2008-01-23 11:44:34 +00:00