Commit Graph

106 Commits

Author SHA1 Message Date
Javi Martín
497c542082 Upgrade Ruby to version 3.2.5
So get the latest fixes in the 3.2.x series.

We're also updating the parser gem so we don't get any warnings.
2024-08-19 16:04:38 +02:00
Javi Martín
e666c28c5c Update instructions for the bin/setup command
This command simplifies some of the steps. However, there's a gotcha: it
might fail if the database requires username and password and they
haven't been configured before executing it.
2024-08-07 15:48:21 +02:00
Javi Martín
1b61e8e2e0 Add a more specific link for local installation docs
On our regular README, this link used to point to the documentation
site, which made sense because the documentation used to be on a
different repository. Now that the documentation is on this repository
as well, we can directly link to that file.

And, on the documentation README, we can also link to the local
installation instructions, just like we do in other places.
2024-08-06 15:48:14 +02:00
Javi Martín
5d9f02ae30 Fix typo in Spanish README 2024-08-06 15:48:14 +02:00
Javi Martín
13d31b8668 Add ImageMagick to prerequisites
We include ImageMagick in the local installation instructions as well as
in the installer, but we forgot to add it to the list of prerequisites
in the README.
2024-08-06 15:47:46 +02:00
Javi Martín
5f20b5baac Remove dependency on shared-mime-info
We don't use mimemagic since commit 7212657c0, so we don't need
shared-mime-info anymore.
2024-08-06 12:46:49 +02:00
Javi Martín
819485eb80 Re-add and apply MDL rule MD040
We were following it about half of the time and we even added it to our
former `.mdlrc` file. However, for some reason, MDL doesn't detect this
rule when specified in the `.mdlrc` file, so we didn't notice we weren't
following it in many cases.

Now that we're using a style file to configure MDL, we can enable this
rule again and apply it, since now MDL correctly includes it in its
report.
2024-06-21 15:57:52 +02:00
Javi Martín
4ec7be12fc Update Node.js from 18.18.2 to 18.20.3 2024-06-17 17:37:06 +02:00
Javi Martín
118a4dde89 Upgrade Ruby to version 3.2.4
As usual, we're upgrading the parser gem so we don't get warnings about
the Ruby version when running a rails console.
2024-06-17 15:18:40 +02:00
Javi Martín
16008b5788 Add a note regarding CI when running the tests
Many developers run `bin/rspec` and then are (reasonably) confused when
running the tests takes too long.

So we're clarifying that running the whole test suite should be done
using a CI, and only relevant tests should be run while developing on
your machine.
2024-06-07 20:28:48 +02:00
Javi Martín
7840c98660 Upgrade Ruby to version 3.2.3
As usual, we're updating the bundler version in our Gemfile.lock so it
uses the one included in Ruby 3.2.3, and we're also updating the
`parser` gem so it supports this version.
2024-04-11 17:59:40 +02:00
Javi Martín
6bb587c7da Remove link to gitter chat
We're replacing gitter with GitHub Discussions.
2024-03-22 16:39:10 +01:00
Javi Martín
e7cc823c87 Reorganize badges in README
So now related badges are together. First paragraph, legal stuff.
Second paragraph, technical tools and status. Third paragraph, links
related to collaboration.
2024-03-21 14:25:01 +01:00
Javi Martín
e32818b3fc Remove Rocket Validator badge
We haven't used this service for at least four and a half years.
2024-03-21 14:24:46 +01:00
Javi Martín
ac5fe3e289 Update Node.js from 18.18.0 to 18.18.2 2023-10-18 17:33:58 +02:00
Javi Martín
ed4f8ad6d9 Simplify development environment setup
Rails provides a script that already did most of the steps.
2023-10-17 13:12:20 +02:00
Javi Martín
55ed40e182 Depend on a specific version of Node.js
We're choosing version 18 because if offers support for SSL 3, just
like Ruby 3.1 does.

Note we're symlinking a .nvmrc file as well, in order to make it
compatible with NVM. While the .nvmrc and .node-version files use
different formats, they both support the syntax we're using to
define the version.

The code to install Node.js in the Dockerfile is a simplification of the
code in the Rails Dockerfile template [1].

[1] https://github.com/rails/rails/blob/04c97aec8a/railties/lib/rails/generators/rails/app/templates/Dockerfile.tt#L25
2023-10-17 13:11:58 +02:00
Javi Martín
e74eff217b Upgrade Ruby to version 3.1.4
Note we updated the `mail` gem in commit 103742847, which is necesary
for Ruby 3.1 because it adds the net-smtp dependency. The net-smtp
library was removed from Ruby in Ruby 3.1, and if we don't include it,
we get an error:

```
cannot load such file -- net/smtp (LoadError)
```

We're also updating the Bundler version in the Gemfile.lock so it's the
one included in Ruby 3.1. Without updating it, we get a warning:

```
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)'
has been deprecated. Please call `DidYouMean.correct_error(error_nam e,
spell_checker)' instead.
```

Finally, in order to make Capistrano work, we need to add a couple more
changes:

* Make the net-ssh gem compatible with SSL 3.0; done in commit b2eec088b
* Explicitly allow aliases in the `deploy-secrets.yml` file because
  Psych 4.x (included in Ruby 3.1) doesn't load aliases without this
  option
2023-09-12 15:17:17 +02:00
Javi Martín
054aef3854 Change URLs to use the new domain 2023-07-12 16:05:33 +02:00
Javi Martín
629756dd15 Change URLs referencing our GitHub repositories 2023-07-12 16:05:26 +02:00
Javi Martín
6c8445e3d7 Upgrade Ruby to version 3.0.6
Note the structure of the Gemfile changes slightly because Ruby 3.0
includes a new version of the Bundler gem.
2023-04-13 16:41:07 +02:00
Javi Martín
47a5840c70 Upgrade Ruby to version 2.7.7
So get the latest fixes in the 2.7.x series.

We're also updating the parser gem so we don't get any warnings.
2022-12-21 15:57:02 +01:00
cronopioelectronico
479ee80fba change name 2022-12-06 14:01:57 +00:00
Javi Martín
107c856aea Upgrade Ruby to version 2.7.6
So get the latest fixes in the 2.7.x series.

We're also updating the parser gem so we don't get any warnings.
2022-06-03 20:03:39 +02:00
Javi Martín
0f136d65f0 Update help wanted links to include pull requests
There are some pull requests where we also want help.
2021-11-23 17:57:58 +01:00
Javi Martín
f2330bee2b Upgrade Ruby to version 2.7.4
Note this version includes Bundler 2, so we can finally upgrade.
2021-09-03 12:12:38 +02:00
Javi Martín
9222ea0cf6 Upgrade Ruby to version 2.6.8
So get the latest security fixes in the 2.6.x series and we can update
the parser gem without getting any warnings.
2021-08-09 01:14:08 +02:00
Javi Martín
a2113ae003 Upgrade Ruby to version 2.6.7
So get the latest security fixes in the 2.6.x series.
2021-05-20 16:43:56 +02:00
Javi Martín
7378d2cd8d Update PostgreSQL dependency to version 9.5
Version 9.4 hasn't been maintained since February 2020, so we aren't
supporting it either. And we might start using `UPSERT` instead of
`find_or_create`, which was introduced in PostgreSQL 9.5.

We're still supporting PostgreSQL 9.5 even if it's also unmaintained
because it has only been officially unmaintained for a couple of months.
2021-04-21 19:08:21 +02:00
Javi Martín
683fff935a Add shared-mime-info dependency to README
This is a mimemagic dependency since commit 25c55bfd6.
2021-04-13 21:43:06 +02:00
Javi Martín
c6a90b266d Use Pronto to check code conventions
This way developers can run the checks on their machines and using
`bundle exec` we guarantee the right versions of all our gems are being
used; with Hound we can only use the versions supported by their
service.

When including the pronto-erb_lint gem, we're getting errors in
development where our ERB does not follow the conventions Better HTML
expects. Since we only use Better HTML because ERB Lint depends on it,
and right now we are not ready to follow its conventions, we're
disabling it.

Note pronto depends on rugged, which requires CMake and pkg-config to
build the `libgit2` library it depends on. CMake and pkg-config are
installed by default in some GNU/Linux distributions like Ubuntu, but
might not be installed on other systems, so we're adding them as
development dependencies.
2021-03-02 15:48:24 +01:00
Javi Martín
cb596a8163 Fix build status badge
As mentioned in the GitHub Actions documentation [1]

> Note: Referencing the workflow file using the file path does not work
  if the workflow has a name.

[1] https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/adding-a-workflow-status-badge
2020-11-23 15:06:20 +01:00
Javi Martín
375134ea04 Run the test suite using GitHub Actions
Using GitHub Actions has a few advantages over using Travis CI:

* More jobs can be run in parallel
* All CONSUL repositories on GitHub will be configured automatically

Besides, Travis have recently changed their policy twice. First, they
announced their site for free software projects would be shut down but
free software projects could still use their site for private projects.
And then, they limited the usage of their services for free software
projects.

Just like we used to do with Travis, we're enabling builds for pull
requests but not for pushed branches.

We're also building the master branch. Even if we never push to the
master branch directly, we're aware other CONSUL repositories do, so
we're running the tests for this case.
2020-11-23 14:00:33 +01:00
Javi Martín
8e64d6c1a7 Upgrade Ruby to 2.6.6
Note this version includes the Bundler gem, and so we no longer need to
install it while deploying.
2020-10-29 11:29:45 +01:00
Javi Martín
8941a09e4c Update Travis badge to use travis-ci.com
The domain travis-ci.org will stop working on December 31st, 2020, so
we've now using travis-ci.com for continuous integration.
2020-09-27 12:10:31 +02:00
Javi Martín
4ba4289006 Upgrade Ruby to 2.5.8 2020-07-08 12:39:25 +02:00
Javi Martín
59b625a5f9 Simplify chromedriver installation with webdrivers
This gem will automatically install chromedriver based on the installed
version of Chrome/Chromium.
2020-05-25 15:50:35 +02:00
Javi Martín
9889ed23e7 Replace PRs welcome references with help wanted
As done in commit 7e3eb28c.
2019-11-06 17:21:42 +01:00
Javi Martín
823162ad39 Upgrade Ruby to 2.4.9
This is the latest Ruby in the 2.4.x series.
2019-10-21 21:39:24 +02:00
Javi Martín
a8331c956f Upgrade to Ruby 2.4.6
Many gems have dropped support for Ruby 2.3, including Rails 6.

We've already tested the upgrade on production environments; no issues
so far.
2019-10-13 00:31:13 +02:00
decabeza
e3555ae2bb Update docs link on readme 2019-04-02 10:45:36 +02:00
decabeza
e0d60fc7c7 Update readme file 2019-04-01 18:21:29 +02:00
Bertocq
7a84d3867a Remove gemnasium references, service just shut down
Gemnasium has closed, service stopped.
2018-05-15 14:52:52 +02:00
Angel Perez
4269627790 Include ChromeDriver as prerequisite 2018-03-27 14:47:50 -04:00
Angel Perez
92d7c44639 Add Node.js as requirement on README (spanish) 2018-03-25 21:46:40 -04:00
Bertocq
dea67bb078 Update README.md and translate to README_ES.md
* Links to documentation and project's website were outdated
* There where some linting issues reported from Markdownlinter
2018-01-09 14:52:57 +01:00
Bertocq
18a9564061 Remove brand guidelines from readme on to decide.es website 2017-09-13 19:48:06 +02:00
Bertocq
6a8afcd0c0 Add back basic installation/test/usage tips 2017-09-13 19:09:18 +02:00
Bertocq
392d633d24 Remove documentation already at consul/docs and reference to it on README files 2017-09-13 14:44:29 +02:00
decabeza
5949f7abf0 uppercase all consul name 2017-09-01 12:51:31 +02:00