Commit graph

357 commits

Author SHA1 Message Date
Tom Hughes
a328ec84a2 Use rtlcss instead of r2 for RTL support
This ensures that the RTL directives in bootstrap are processed
correctly as it is designed around RTLCSS for RTL support.

Fixes #4347
2023-11-16 22:53:09 +00:00
Andy Allan
aad93b9978 Switch back to bootstrap releases
Bootstrap-rubygem 5.3.2 onwards allows us to use dartsass-sprockets.

Refs #4262
2023-10-26 11:38:10 +01:00
Tom Hughes
dd905b5aa8 Merge remote-tracking branch 'upstream/pull/4262' 2023-10-24 17:37:48 +01:00
Andy Allan
14c20e9835 Upgrade to bootstrap 5.3 2023-10-24 17:37:04 +01:00
Tom Hughes
0de0317425 Update bundle 2023-10-24 17:09:39 +01:00
Tom Hughes
46cd08b1c8 Replace composite_primary_keys with rails builtin support 2023-10-18 18:26:14 +01:00
Tom Hughes
f37ea2fae3 Update to rails 7.1.1 2023-10-18 18:26:13 +01:00
Gregory Igelmund
aa573ce1bb
.github/workflows/lint.yml: Add task verifying annotations are up2date 2023-10-14 11:28:44 +08:00
Tom Hughes
c8fc2218e5 Merge remote-tracking branch 'upstream/pull/4226' 2023-10-03 19:39:41 +01:00
Milan Cvetkovic
1f62a2b342 Add a test for openid connect support 2023-10-03 18:55:10 +01:00
Milan Cvetkovic
8a22bfb222 Add unconfigured doorkeeper-openid_connect
After executing:
rails generate doorkeeper:openid_connect:install
rails generate doorkeeper:openid_connect:install

Split migration script to 2 to avoid deadlock.
2023-10-03 18:53:09 +01:00
Andy Allan
520cffabea Upgrade to bootstrap 5.2 2023-09-29 09:41:35 +01:00
Andy Allan
41f13ac73a Switch from sassc-rails to dartsass-sprockets
sassc-rails, and its underlying libsass, is deprecated. dartsass-sprockets
allows us to use the currently maintained dartsass implementation,
without having to change any of our toolchain.

The version of sass-embedded is pinned to avoid warnings in bootstrap. When
we upgrade bootstrap versions, we can upgrade sass-embedded to match.
2023-09-27 09:35:30 +01:00
Milan Cvetkovic
7428da74c2 Use omniauth-microsoft_graph instead of omniauth-windowslive
Omniauth-microsoft_graph correctly populates 'email' and 'name' fields used by OpenStreetMap.
It also  uses updated endpoints for Microsoft identity provider.

Use email address returned by microsoft_graph provider as a verified address.

Upgrading exisiting users from windowslive to microsoft_graph:
 - upon next login existing `windowslive` users will have to authorizei
   OpenStreetMap application to "Read Your Profile," required for proper reading
   of display name field.

The name of the identity provider in OSM is kept to 'windowslive':
 - the entries in users table with `provider == 'windowslive'`
   can be reused for microsoft_graph provider, since
   the uid field is preserved. Users will not need to repeat the sign up process.
 - OAuth2 callback is still `/auth/windowslive`, no updates to Microsoft Identity Provider portal
   App registration are necessary.
2023-08-17 13:01:15 +00:00
Tom Hughes
52296d1cad Add rubocop-factory_bot and fix warnings 2023-05-16 18:44:14 +01:00
Andy Allan
85dbe7c29a Add the i18n-tasks gem
This can be used for checking our translations, for example to see
if there are unused translations in en.yml
2023-03-08 15:34:54 +00:00
Tom Hughes
2e5e2bc263 Add rubocop-capybara 2023-03-07 17:09:29 +00:00
Tom Hughes
2ee8fcda40 Drop version constraint on mail and update bundle 2023-01-13 09:29:04 +00:00
Tom Hughes
02ed416e12 Update bundle 2022-12-13 20:26:25 +00:00
Tom Hughes
8cef62cd2c Merge remote-tracking branch 'upstream/pull/3301' 2022-11-22 18:47:24 +00:00
Andy Allan
9b0767b80f Relax strict version constraint on rails gem
This lets us receive 7.0.x patch releases without having to edit the Gemfile.
2022-11-16 14:26:05 +00:00
Tom Hughes
20f08f2543 Update bundle 2022-11-01 18:25:36 +00:00
Tom Hughes
460ed0c844 Fix new rubocop warnings 2022-10-25 19:19:57 +01:00
Tom Hughes
00112700d7 Update doorkeeper to 5.6.0 2022-09-12 19:27:33 +01:00
Adam Hoyle
7e5cbe87ed Merge branch 'master' into feature/add-communities-page
# Conflicts:
#	Gemfile.lock
#	package.json
#	yarn.lock
2022-09-10 16:13:17 +01:00
Tom Hughes
f7e168b8e1 Update to rails 7.0.4 2022-09-09 22:45:58 +01:00
Tom Hughes
fb362ef0d8 Enable brotli compression for assets 2022-08-03 19:01:24 +01:00
Tom Hughes
0371cdcfd9 Update bundle 2022-08-02 18:15:49 +01:00
Andy Allan
bb7f5ac2c8 Switch to using FrozenRecord for loading communities
This allows us to query the records to get the local chapters, which
is more flexible and allows us to use other resources too.
2022-07-27 16:19:08 +01:00
Andy Allan
a481915a37 Upgrade to bootstrap 5 2022-07-20 11:13:33 +01:00
Tom Hughes
262b6a9adf Update to rails 7.0.3.1 2022-07-13 16:55:26 +01:00
Tom Hughes
fdd16b28dc Update to rails 7.0.3 2022-05-09 18:11:44 +01:00
Tom Hughes
10200605ee Update to rails 7.0.2.4 2022-04-26 22:59:54 +01:00
dependabot[bot]
a39e3e810f
Bump puma from 5.6.2 to 5.6.4
Bumps [puma](https://github.com/puma/puma) from 5.6.2 to 5.6.4.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.6.2...v5.6.4)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 22:17:25 +00:00
Tom Hughes
694d45cd31 Update to rails 7.0.2.3 2022-03-08 20:25:49 +00:00
Tom Hughes
7eafdca51c Update to rails 7.0.2.2 2022-02-16 14:26:57 +00:00
Tom Hughes
2fe84cc2a8 Update to rails 6.1.4.6 2022-02-11 22:20:11 +00:00
Tom Hughes
8dc5dfe00c Update bundle 2022-01-10 08:05:09 +00:00
Tom Hughes
767051451c Update to rails 6.1.4.4 2021-12-16 18:33:53 +00:00
Tom Hughes
6609047fdb Update to rails 6.1.4.3 2021-12-15 18:13:00 +00:00
Tom Hughes
8adb486130 Update to rails 6.1.4.2 2021-12-14 22:16:49 +00:00
Tom Hughes
cd1dcad31a Update bundle 2021-11-22 20:52:35 +00:00
Tom Hughes
7b1e78e247 Update bundle 2021-11-16 08:48:35 +00:00
Tom Hughes
e342314d8b Merge remote-tracking branch 'upstream/pull/3353' 2021-11-16 08:21:17 +00:00
Tom Hughes
ceebd74bd7 Drop rubocop-rails version lock 2021-11-09 18:31:46 +00:00
Tom Hughes
aad81eb74c Switch to Argon2 for password hashing 2021-11-03 20:39:31 +00:00
Tom Hughes
20a65b2b94 Update bundle 2021-10-19 19:11:20 +01:00
Andy Allan
8bbb021a4a Temporary pin on rubocop-rails until next bugfix release
There is a bug in the Rails/ContentTag cop that causes rubocop to crash. The bug has already been fixed and so should be available in the next release.

See https://github.com/rubocop/rubocop-rails/issues/543
2021-09-15 10:10:21 +01:00
Tom Hughes
10fcaeb164 Update to rails 6.1.4.1 2021-08-21 14:38:08 +01:00
Tom Hughes
2c1a3d5940 Use terser for javascript compression to get ES6 support 2021-07-27 18:42:13 +01:00