2022-08-18 07:06:48 +10:00
|
|
|
GIT
|
|
|
|
remote: https://github.com/ClearlyClaire/webpush.git
|
|
|
|
revision: f14a4d52e201128b1b00245d11b6de80d6cfdcd9
|
|
|
|
ref: f14a4d52e201128b1b00245d11b6de80d6cfdcd9
|
|
|
|
specs:
|
|
|
|
webpush (0.3.8)
|
|
|
|
hkdf (~> 0.2)
|
|
|
|
jwt (~> 2.0)
|
|
|
|
|
2016-12-22 05:09:59 +11:00
|
|
|
GEM
|
|
|
|
remote: https://rubygems.org/
|
2016-02-21 08:53:20 +11:00
|
|
|
specs:
|
2024-06-05 17:22:02 +10:00
|
|
|
actioncable (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2017-06-02 04:53:37 +10:00
|
|
|
nio4r (~> 2.0)
|
2018-04-12 22:45:17 +10:00
|
|
|
websocket-driver (>= 0.6.1)
|
2023-10-24 04:58:29 +11:00
|
|
|
zeitwerk (~> 2.6)
|
2024-06-05 17:22:02 +10:00
|
|
|
actionmailbox (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
activejob (= 7.1.3.4)
|
|
|
|
activerecord (= 7.1.3.4)
|
|
|
|
activestorage (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2021-03-24 20:44:31 +11:00
|
|
|
mail (>= 2.7.1)
|
2023-07-13 17:36:07 +10:00
|
|
|
net-imap
|
|
|
|
net-pop
|
|
|
|
net-smtp
|
2024-06-05 17:22:02 +10:00
|
|
|
actionmailer (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
actionview (= 7.1.3.4)
|
|
|
|
activejob (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2016-02-21 08:53:20 +11:00
|
|
|
mail (~> 2.5, >= 2.5.4)
|
2023-07-13 17:36:07 +10:00
|
|
|
net-imap
|
|
|
|
net-pop
|
|
|
|
net-smtp
|
2023-10-24 04:58:29 +11:00
|
|
|
rails-dom-testing (~> 2.2)
|
2024-06-05 17:22:02 +10:00
|
|
|
actionpack (7.1.3.4)
|
|
|
|
actionview (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2023-10-24 04:58:29 +11:00
|
|
|
nokogiri (>= 1.8.5)
|
2023-11-14 00:13:53 +11:00
|
|
|
racc
|
2023-10-24 04:58:29 +11:00
|
|
|
rack (>= 2.2.4)
|
|
|
|
rack-session (>= 1.0.1)
|
2017-09-12 07:03:14 +10:00
|
|
|
rack-test (>= 0.6.3)
|
2023-10-24 04:58:29 +11:00
|
|
|
rails-dom-testing (~> 2.2)
|
|
|
|
rails-html-sanitizer (~> 1.6)
|
2024-06-05 17:22:02 +10:00
|
|
|
actiontext (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
activerecord (= 7.1.3.4)
|
|
|
|
activestorage (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2023-07-13 17:36:07 +10:00
|
|
|
globalid (>= 0.6.0)
|
2021-03-24 20:44:31 +11:00
|
|
|
nokogiri (>= 1.8.5)
|
2024-06-05 17:22:02 +10:00
|
|
|
actionview (7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2016-02-21 08:53:20 +11:00
|
|
|
builder (~> 3.1)
|
2023-10-24 04:58:29 +11:00
|
|
|
erubi (~> 1.11)
|
|
|
|
rails-dom-testing (~> 2.2)
|
|
|
|
rails-html-sanitizer (~> 1.6)
|
2023-10-06 20:43:30 +11:00
|
|
|
active_model_serializers (0.10.14)
|
|
|
|
actionpack (>= 4.1)
|
|
|
|
activemodel (>= 4.1)
|
2017-07-07 12:02:06 +10:00
|
|
|
case_transform (>= 0.2)
|
2017-12-04 02:55:27 +11:00
|
|
|
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
2024-06-05 17:22:02 +10:00
|
|
|
activejob (7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2016-08-18 01:56:23 +10:00
|
|
|
globalid (>= 0.3.6)
|
2024-06-05 17:22:02 +10:00
|
|
|
activemodel (7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
|
|
|
activerecord (7.1.3.4)
|
|
|
|
activemodel (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2023-10-24 04:58:29 +11:00
|
|
|
timeout (>= 0.4.0)
|
2024-06-05 17:22:02 +10:00
|
|
|
activestorage (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
activejob (= 7.1.3.4)
|
|
|
|
activerecord (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2022-03-15 16:05:20 +11:00
|
|
|
marcel (~> 1.0)
|
2024-06-05 17:22:02 +10:00
|
|
|
activesupport (7.1.3.4)
|
2023-10-24 04:58:29 +11:00
|
|
|
base64
|
|
|
|
bigdecimal
|
2016-08-18 01:56:23 +10:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
2023-10-24 04:58:29 +11:00
|
|
|
connection_pool (>= 2.2.5)
|
|
|
|
drb
|
2021-03-24 20:44:31 +11:00
|
|
|
i18n (>= 1.6, < 2)
|
|
|
|
minitest (>= 5.1)
|
2023-10-24 04:58:29 +11:00
|
|
|
mutex_m
|
2021-03-24 20:44:31 +11:00
|
|
|
tzinfo (~> 2.0)
|
2024-06-22 02:13:53 +10:00
|
|
|
addressable (2.8.7)
|
|
|
|
public_suffix (>= 2.0.2, < 7.0)
|
2022-03-09 22:07:35 +11:00
|
|
|
aes_key_wrap (1.1.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
android_key_attestation (0.3.0)
|
2022-02-13 10:04:32 +11:00
|
|
|
annotate (3.2.0)
|
|
|
|
activerecord (>= 3.2, < 8.0)
|
2019-11-12 00:37:34 +11:00
|
|
|
rake (>= 10.4, < 14.0)
|
2021-02-12 02:10:00 +11:00
|
|
|
ast (2.4.2)
|
2024-03-26 20:31:24 +11:00
|
|
|
attr_required (1.0.2)
|
2022-08-18 07:06:48 +10:00
|
|
|
awrence (1.2.1)
|
2023-11-23 20:24:48 +11:00
|
|
|
aws-eventstream (1.3.0)
|
2024-07-01 18:26:08 +10:00
|
|
|
aws-partitions (1.949.0)
|
|
|
|
aws-sdk-core (3.200.0)
|
2023-12-19 23:54:02 +11:00
|
|
|
aws-eventstream (~> 1, >= 1.3.0)
|
2022-12-03 01:07:28 +11:00
|
|
|
aws-partitions (~> 1, >= 1.651.0)
|
2023-12-19 23:54:02 +11:00
|
|
|
aws-sigv4 (~> 1.8)
|
2022-12-03 01:07:28 +11:00
|
|
|
jmespath (~> 1, >= 1.6.1)
|
2024-06-26 23:42:25 +10:00
|
|
|
aws-sdk-kms (1.87.0)
|
|
|
|
aws-sdk-core (~> 3, >= 3.199.0)
|
2019-03-16 00:53:34 +11:00
|
|
|
aws-sigv4 (~> 1.1)
|
2024-07-01 18:26:08 +10:00
|
|
|
aws-sdk-s3 (1.155.0)
|
2024-06-26 23:42:25 +10:00
|
|
|
aws-sdk-core (~> 3, >= 3.199.0)
|
2018-03-24 22:52:45 +11:00
|
|
|
aws-sdk-kms (~> 1)
|
2023-12-19 23:54:02 +11:00
|
|
|
aws-sigv4 (~> 1.8)
|
|
|
|
aws-sigv4 (1.8.0)
|
2020-06-25 18:49:05 +10:00
|
|
|
aws-eventstream (~> 1, >= 1.0.2)
|
2023-07-19 17:02:49 +10:00
|
|
|
azure-storage-blob (2.0.3)
|
|
|
|
azure-storage-common (~> 2.0)
|
|
|
|
nokogiri (~> 1, >= 1.10.8)
|
|
|
|
azure-storage-common (2.0.4)
|
|
|
|
faraday (~> 1.0)
|
|
|
|
faraday_middleware (~> 1.0, >= 1.0.0.rc1)
|
|
|
|
net-http-persistent (~> 4.0)
|
|
|
|
nokogiri (~> 1, >= 1.10.8)
|
2023-11-22 00:23:23 +11:00
|
|
|
base64 (0.2.0)
|
2023-11-08 09:01:09 +11:00
|
|
|
bcp47_spec (0.2.1)
|
2023-11-29 05:36:21 +11:00
|
|
|
bcrypt (3.1.20)
|
2023-06-15 18:41:04 +10:00
|
|
|
better_errors (2.10.1)
|
2017-09-18 12:55:57 +10:00
|
|
|
erubi (>= 1.0.0)
|
2016-02-23 02:00:20 +11:00
|
|
|
rack (>= 0.9.0)
|
2023-06-15 18:13:12 +10:00
|
|
|
rouge (>= 1.0.0)
|
2024-05-10 22:34:20 +10:00
|
|
|
bigdecimal (3.1.8)
|
2024-03-26 20:31:24 +11:00
|
|
|
bindata (2.5.0)
|
|
|
|
binding_of_caller (1.0.1)
|
|
|
|
debug_inspector (>= 1.2.0)
|
2023-02-11 14:02:07 +11:00
|
|
|
blurhash (0.1.7)
|
2024-02-06 23:52:28 +11:00
|
|
|
bootsnap (1.18.3)
|
2022-01-19 13:03:28 +11:00
|
|
|
msgpack (~> 1.2)
|
2024-02-07 00:31:54 +11:00
|
|
|
brakeman (6.1.2)
|
2023-12-29 21:17:31 +11:00
|
|
|
racc
|
2023-03-05 10:33:08 +11:00
|
|
|
browser (5.3.1)
|
2022-12-10 02:57:51 +11:00
|
|
|
brpoplpush-redis_script (0.1.3)
|
2021-03-12 15:39:58 +11:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.5)
|
2022-12-10 02:57:51 +11:00
|
|
|
redis (>= 1.0, < 6)
|
2024-06-22 02:15:09 +10:00
|
|
|
builder (3.3.0)
|
2022-05-29 23:27:31 +10:00
|
|
|
bundler-audit (0.9.1)
|
2019-01-19 01:23:31 +11:00
|
|
|
bundler (>= 1.2.0, < 3)
|
2021-03-15 23:19:16 +11:00
|
|
|
thor (~> 1.0)
|
2024-01-31 23:55:15 +11:00
|
|
|
capybara (3.40.0)
|
2017-04-15 09:21:02 +10:00
|
|
|
addressable
|
2021-10-28 12:20:19 +11:00
|
|
|
matrix
|
2017-09-18 12:55:57 +10:00
|
|
|
mini_mime (>= 0.1.3)
|
2024-01-31 23:55:15 +11:00
|
|
|
nokogiri (~> 1.11)
|
2020-01-29 04:50:44 +11:00
|
|
|
rack (>= 1.6.0)
|
2018-10-03 23:24:48 +10:00
|
|
|
rack-test (>= 0.6.3)
|
2021-02-03 01:47:35 +11:00
|
|
|
regexp_parser (>= 1.5, < 3.0)
|
2018-10-25 01:22:18 +11:00
|
|
|
xpath (~> 3.2)
|
2017-07-07 12:02:06 +10:00
|
|
|
case_transform (0.2)
|
|
|
|
activesupport
|
2024-03-26 20:31:24 +11:00
|
|
|
cbor (0.5.9.8)
|
2024-06-30 06:51:46 +10:00
|
|
|
charlock_holmes (0.7.8)
|
2024-05-06 21:50:45 +10:00
|
|
|
chewy (7.6.0)
|
2021-02-03 01:47:12 +11:00
|
|
|
activesupport (>= 5.2)
|
2024-05-06 21:50:45 +10:00
|
|
|
elasticsearch (>= 7.14.0, < 8)
|
2018-03-06 16:14:26 +11:00
|
|
|
elasticsearch-dsl
|
2021-05-11 01:36:14 +10:00
|
|
|
chunky_png (1.4.0)
|
2024-01-26 02:18:15 +11:00
|
|
|
climate_control (1.2.0)
|
Revamp post filtering system (#18058)
* Add model for custom filter keywords
* Use CustomFilterKeyword internally
Does not change the API
* Fix /filters/edit and /filters/new
* Add migration tests
* Remove whole_word column from custom_filters (covered by custom_filter_keywords)
* Redesign /filters
Instead of a list, present a card that displays more information and handles
multiple keywords per filter.
* Redesign /filters/new and /filters/edit to add and remove keywords
This adds a new gem dependency: cocoon, as well as a npm dependency:
cocoon-js-vanilla. Those are used to easily populate and remove form fields
from the user interface when manipulating multiple keyword filters at once.
* Add /api/v2/filters to edit filter with multiple keywords
Entities:
- `Filter`: `id`, `title`, `filter_action` (either `hide` or `warn`), `context`
`keywords`
- `FilterKeyword`: `id`, `keyword`, `whole_word`
API endpoits:
- `GET /api/v2/filters` to list filters (including keywords)
- `POST /api/v2/filters` to create a new filter
`keywords_attributes` can also be passed to create keywords in one request
- `GET /api/v2/filters/:id` to read a particular filter
- `PUT /api/v2/filters/:id` to update a new filter
`keywords_attributes` can also be passed to edit, delete or add keywords in
one request
- `DELETE /api/v2/filters/:id` to delete a particular filter
- `GET /api/v2/filters/:id/keywords` to list keywords for a filter
- `POST /api/v2/filters/:filter_id/keywords/:id` to add a new keyword to a
filter
- `GET /api/v2/filter_keywords/:id` to read a particular keyword
- `PUT /api/v2/filter_keywords/:id` to edit a particular keyword
- `DELETE /api/v2/filter_keywords/:id` to delete a particular keyword
* Change from `irreversible` boolean to `action` enum
* Remove irrelevent `irreversible_must_be_within_context` check
* Fix /filters/new and /filters/edit with update for filter_action
* Fix Rubocop/Codeclimate complaining about task names
* Refactor FeedManager#phrase_filtered?
This moves regexp building and filter caching to the `CustomFilter` class.
This does not change the functional behavior yet, but this changes how the
cache is built, doing per-custom_filter regexps so that filters can be matched
independently, while still offering caching.
* Perform server-side filtering and output result in REST API
* Fix numerous filters_changed events being sent when editing multiple keywords at once
* Add some tests
* Use the new API in the WebUI
- use client-side logic for filters we have fetched rules for.
This is so that filter changes can be retroactively applied without
reloading the UI.
- use server-side logic for filters we haven't fetched rules for yet
(e.g. network error, or initial timeline loading)
* Minor optimizations and refactoring
* Perform server-side filtering on the streaming server
* Change the wording of filter action labels
* Fix issues pointed out by linter
* Change design of “Show anyway” link in accordence to review comments
* Drop “irreversible” filtering behavior
* Move /api/v2/filter_keywords to /api/v1/filters/keywords
* Rename `filter_results` attribute to `filtered`
* Rename REST::LegacyFilterSerializer to REST::V1::FilterSerializer
* Fix systemChannelId value in streaming server
* Simplify code by removing client-side filtering code
The simplifcation comes at a cost though: filters aren't retroactively
applied anymore.
2022-06-28 17:42:13 +10:00
|
|
|
cocoon (1.2.15)
|
2020-07-06 02:28:25 +10:00
|
|
|
color_diff (0.1)
|
2024-06-10 23:52:57 +10:00
|
|
|
concurrent-ruby (1.3.3)
|
2023-05-23 17:07:01 +10:00
|
|
|
connection_pool (2.4.1)
|
2023-02-17 20:06:24 +11:00
|
|
|
cose (1.3.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
cbor (~> 0.5.9)
|
2022-08-18 07:06:48 +10:00
|
|
|
openssl-signature_algorithm (~> 1.0)
|
2024-03-26 20:31:24 +11:00
|
|
|
crack (1.0.0)
|
2024-02-07 21:56:52 +11:00
|
|
|
bigdecimal
|
2020-12-30 14:17:56 +11:00
|
|
|
rexml
|
2020-01-20 22:45:23 +11:00
|
|
|
crass (1.0.6)
|
2024-04-20 05:45:41 +10:00
|
|
|
css_parser (1.17.1)
|
2018-01-16 13:29:11 +11:00
|
|
|
addressable
|
2024-03-27 00:09:35 +11:00
|
|
|
csv (3.3.0)
|
2023-07-29 07:09:49 +10:00
|
|
|
database_cleaner-active_record (2.1.0)
|
|
|
|
activerecord (>= 5.a)
|
|
|
|
database_cleaner-core (~> 2.0.0)
|
|
|
|
database_cleaner-core (2.0.1)
|
2023-11-14 00:13:53 +11:00
|
|
|
date (3.3.4)
|
2024-03-30 00:30:52 +11:00
|
|
|
debug (1.9.2)
|
2023-12-11 19:45:30 +11:00
|
|
|
irb (~> 1.10)
|
|
|
|
reline (>= 0.3.8)
|
2024-03-26 20:31:24 +11:00
|
|
|
debug_inspector (1.2.0)
|
2024-04-11 19:00:15 +10:00
|
|
|
devise (4.9.4)
|
2016-03-05 23:12:24 +11:00
|
|
|
bcrypt (~> 3.0)
|
|
|
|
orm_adapter (~> 0.1)
|
2019-08-27 00:04:52 +10:00
|
|
|
railties (>= 4.1.0)
|
2016-03-05 23:12:24 +11:00
|
|
|
responders
|
|
|
|
warden (~> 1.2.3)
|
2024-06-22 02:15:09 +10:00
|
|
|
devise-two-factor (5.1.0)
|
2023-10-13 19:52:55 +11:00
|
|
|
activesupport (~> 7.0)
|
2023-05-06 03:48:23 +10:00
|
|
|
devise (~> 4.0)
|
2023-10-13 19:52:55 +11:00
|
|
|
railties (~> 7.0)
|
2023-05-06 03:48:23 +10:00
|
|
|
rotp (~> 6.0)
|
2018-09-15 01:42:45 +10:00
|
|
|
devise_pam_authenticatable2 (9.2.0)
|
2018-02-02 20:18:55 +11:00
|
|
|
devise (>= 4.0.0)
|
2018-04-12 05:40:38 +10:00
|
|
|
rpam2 (~> 4.0)
|
2024-03-22 05:06:32 +11:00
|
|
|
diff-lcs (1.5.1)
|
2023-11-06 20:52:50 +11:00
|
|
|
discard (1.3.0)
|
2021-12-21 11:36:35 +11:00
|
|
|
activerecord (>= 4.2, < 8)
|
2022-12-27 11:37:19 +11:00
|
|
|
docile (1.4.0)
|
2024-03-26 20:31:24 +11:00
|
|
|
domain_name (0.6.20240107)
|
2024-02-16 23:59:51 +11:00
|
|
|
doorkeeper (5.6.9)
|
2019-04-22 23:02:59 +10:00
|
|
|
railties (>= 5)
|
2024-05-07 19:39:04 +10:00
|
|
|
dotenv (3.1.2)
|
2024-03-22 04:39:27 +11:00
|
|
|
drb (2.2.1)
|
2022-01-19 13:04:11 +11:00
|
|
|
ed25519 (1.3.0)
|
2024-05-06 21:50:45 +10:00
|
|
|
elasticsearch (7.17.10)
|
|
|
|
elasticsearch-api (= 7.17.10)
|
|
|
|
elasticsearch-transport (= 7.17.10)
|
|
|
|
elasticsearch-api (7.17.10)
|
2018-02-10 09:04:47 +11:00
|
|
|
multi_json
|
2021-11-19 08:02:08 +11:00
|
|
|
elasticsearch-dsl (0.1.10)
|
2024-05-06 21:50:45 +10:00
|
|
|
elasticsearch-transport (7.17.10)
|
|
|
|
faraday (>= 1, < 3)
|
2018-02-10 09:04:47 +11:00
|
|
|
multi_json
|
2023-11-17 20:50:19 +11:00
|
|
|
email_spec (2.2.2)
|
|
|
|
htmlentities (~> 4.3.3)
|
|
|
|
launchy (~> 2.1)
|
|
|
|
mail (~> 2.7)
|
2024-06-22 02:15:09 +10:00
|
|
|
erubi (1.13.0)
|
2024-04-20 05:45:41 +10:00
|
|
|
et-orbi (1.2.11)
|
2017-05-05 10:23:01 +10:00
|
|
|
tzinfo
|
2024-03-26 20:31:24 +11:00
|
|
|
excon (0.110.0)
|
2023-11-28 20:17:00 +11:00
|
|
|
fabrication (2.31.0)
|
2024-05-29 19:34:36 +10:00
|
|
|
faker (3.4.1)
|
2022-03-09 23:30:35 +11:00
|
|
|
i18n (>= 1.8.11, < 2)
|
2023-02-14 02:33:34 +11:00
|
|
|
faraday (1.10.3)
|
2021-11-19 08:02:08 +11:00
|
|
|
faraday-em_http (~> 1.0)
|
|
|
|
faraday-em_synchrony (~> 1.0)
|
|
|
|
faraday-excon (~> 1.1)
|
2022-02-13 04:07:42 +11:00
|
|
|
faraday-httpclient (~> 1.0)
|
|
|
|
faraday-multipart (~> 1.0)
|
2021-02-03 01:47:12 +11:00
|
|
|
faraday-net_http (~> 1.0)
|
2022-02-13 04:07:42 +11:00
|
|
|
faraday-net_http_persistent (~> 1.0)
|
2021-11-19 08:02:08 +11:00
|
|
|
faraday-patron (~> 1.0)
|
|
|
|
faraday-rack (~> 1.0)
|
2022-02-13 04:07:42 +11:00
|
|
|
faraday-retry (~> 1.0)
|
2021-11-19 08:02:08 +11:00
|
|
|
ruby2_keywords (>= 0.0.4)
|
|
|
|
faraday-em_http (1.0.0)
|
|
|
|
faraday-em_synchrony (1.0.0)
|
|
|
|
faraday-excon (1.1.0)
|
|
|
|
faraday-httpclient (1.0.1)
|
2023-02-14 02:33:34 +11:00
|
|
|
faraday-multipart (1.0.4)
|
|
|
|
multipart-post (~> 2)
|
2021-02-03 01:47:12 +11:00
|
|
|
faraday-net_http (1.0.1)
|
2021-11-19 08:02:08 +11:00
|
|
|
faraday-net_http_persistent (1.2.0)
|
|
|
|
faraday-patron (1.0.0)
|
|
|
|
faraday-rack (1.0.0)
|
2022-02-13 04:07:42 +11:00
|
|
|
faraday-retry (1.0.3)
|
2023-07-19 17:02:49 +10:00
|
|
|
faraday_middleware (1.2.0)
|
|
|
|
faraday (~> 1.0)
|
2021-08-20 19:47:45 +10:00
|
|
|
fast_blank (1.0.1)
|
2024-04-02 20:15:24 +11:00
|
|
|
fastimage (2.3.1)
|
2024-03-26 20:31:24 +11:00
|
|
|
ffi (1.16.3)
|
2024-04-20 05:45:41 +10:00
|
|
|
ffi-compiler (1.3.2)
|
|
|
|
ffi (>= 1.15.5)
|
2020-01-13 01:49:30 +11:00
|
|
|
rake
|
2024-06-27 17:42:57 +10:00
|
|
|
flatware (2.3.2)
|
|
|
|
thor (< 2.0)
|
|
|
|
flatware-rspec (2.3.2)
|
|
|
|
flatware (= 2.3.2)
|
|
|
|
rspec (>= 3.6)
|
2024-01-09 23:06:19 +11:00
|
|
|
fog-core (2.4.0)
|
2017-09-06 07:17:06 +10:00
|
|
|
builder
|
2023-11-09 20:06:57 +11:00
|
|
|
excon (~> 0.71)
|
|
|
|
formatador (>= 0.2, < 2.0)
|
2018-10-04 23:35:18 +10:00
|
|
|
mime-types
|
2018-10-04 09:07:13 +10:00
|
|
|
fog-json (1.2.0)
|
|
|
|
fog-core
|
2017-09-06 07:17:06 +10:00
|
|
|
multi_json (~> 1.10)
|
2024-06-14 23:24:26 +10:00
|
|
|
fog-openstack (1.1.3)
|
2023-11-09 20:06:57 +11:00
|
|
|
fog-core (~> 2.1)
|
2017-09-06 07:17:06 +10:00
|
|
|
fog-json (>= 1.0)
|
2023-11-09 20:06:57 +11:00
|
|
|
formatador (1.1.0)
|
2024-03-26 20:31:24 +11:00
|
|
|
fugit (1.10.1)
|
2022-04-22 03:33:04 +10:00
|
|
|
et-orbi (~> 1, >= 1.2.7)
|
2021-06-11 00:46:18 +10:00
|
|
|
raabro (~> 1.4)
|
2021-01-05 04:09:39 +11:00
|
|
|
fuubar (2.5.1)
|
2017-04-11 06:47:41 +10:00
|
|
|
rspec-core (~> 3.0)
|
2016-02-25 10:17:01 +11:00
|
|
|
ruby-progressbar (~> 1.4)
|
2023-10-24 04:58:29 +11:00
|
|
|
globalid (1.2.1)
|
|
|
|
activesupport (>= 6.1)
|
2024-05-10 22:40:20 +10:00
|
|
|
google-protobuf (3.25.3)
|
|
|
|
googleapis-common-protos-types (1.14.0)
|
|
|
|
google-protobuf (~> 3.18)
|
2023-12-13 20:52:33 +11:00
|
|
|
haml (6.3.0)
|
2020-01-05 08:48:57 +11:00
|
|
|
temple (>= 0.8.2)
|
2016-09-24 21:40:42 +10:00
|
|
|
thor
|
2016-02-21 08:53:20 +11:00
|
|
|
tilt
|
2023-02-13 14:59:30 +11:00
|
|
|
haml-rails (2.1.0)
|
|
|
|
actionpack (>= 5.1)
|
|
|
|
activesupport (>= 5.1)
|
|
|
|
haml (>= 4.0.6)
|
|
|
|
railties (>= 5.1)
|
2024-04-29 18:08:43 +10:00
|
|
|
haml_lint (0.58.0)
|
2024-01-09 03:43:38 +11:00
|
|
|
haml (>= 5.0)
|
2023-03-15 14:15:36 +11:00
|
|
|
parallel (~> 1.10)
|
|
|
|
rainbow
|
2023-07-12 20:31:10 +10:00
|
|
|
rubocop (>= 1.0)
|
2023-03-15 14:15:36 +11:00
|
|
|
sysexits (~> 1.1)
|
2024-02-07 21:56:52 +11:00
|
|
|
hashdiff (1.1.0)
|
2022-04-08 14:44:40 +10:00
|
|
|
hashie (5.0.0)
|
2023-05-17 07:27:35 +10:00
|
|
|
hcaptcha (7.1.0)
|
|
|
|
json
|
2024-04-20 05:45:41 +10:00
|
|
|
highline (3.0.1)
|
2018-11-09 16:55:19 +11:00
|
|
|
hiredis (0.6.3)
|
2017-07-14 06:15:32 +10:00
|
|
|
hkdf (0.3.0)
|
2016-03-12 02:47:36 +11:00
|
|
|
htmlentities (4.3.4)
|
2024-04-23 00:02:47 +10:00
|
|
|
http (5.2.0)
|
2021-09-14 18:52:19 +10:00
|
|
|
addressable (~> 2.8)
|
2024-04-23 00:02:47 +10:00
|
|
|
base64 (~> 0.1)
|
2016-02-21 08:53:20 +11:00
|
|
|
http-cookie (~> 1.0)
|
2020-01-13 01:49:30 +11:00
|
|
|
http-form_data (~> 2.2)
|
2024-04-23 00:02:47 +10:00
|
|
|
llhttp-ffi (~> 0.5.0)
|
2022-06-27 21:54:46 +10:00
|
|
|
http-cookie (1.0.5)
|
2016-02-21 08:53:20 +11:00
|
|
|
domain_name (~> 0.5)
|
2020-04-29 01:21:53 +10:00
|
|
|
http-form_data (2.3.0)
|
2017-06-30 21:42:04 +10:00
|
|
|
http_accept_language (2.1.1)
|
2022-03-09 22:07:35 +11:00
|
|
|
httpclient (2.8.3)
|
2024-06-11 00:04:44 +10:00
|
|
|
httplog (1.7.0)
|
2022-09-24 20:38:46 +10:00
|
|
|
rack (>= 2.0)
|
2018-10-03 12:56:00 +10:00
|
|
|
rainbow (>= 2.0.0)
|
2024-05-10 22:34:20 +10:00
|
|
|
i18n (1.14.5)
|
2017-10-31 22:22:32 +11:00
|
|
|
concurrent-ruby (~> 1.0)
|
2024-05-10 22:34:20 +10:00
|
|
|
i18n-tasks (1.0.14)
|
2018-10-30 11:06:47 +11:00
|
|
|
activesupport (>= 4.0.2)
|
|
|
|
ast (>= 2.1.0)
|
|
|
|
erubi
|
|
|
|
highline (>= 2.0.0)
|
|
|
|
i18n
|
2023-10-16 20:08:13 +11:00
|
|
|
parser (>= 3.2.2.1)
|
2018-10-30 11:06:47 +11:00
|
|
|
rails-i18n
|
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
|
|
|
terminal-table (>= 1.5.1)
|
2022-11-23 01:10:45 +11:00
|
|
|
idn-ruby (0.1.5)
|
2024-03-19 20:03:15 +11:00
|
|
|
inline_svg (1.9.0)
|
|
|
|
activesupport (>= 3.0)
|
|
|
|
nokogiri (>= 1.6)
|
2024-01-25 23:33:56 +11:00
|
|
|
io-console (0.7.2)
|
2024-06-17 20:22:05 +10:00
|
|
|
irb (1.13.2)
|
2024-05-02 18:28:13 +10:00
|
|
|
rdoc (>= 4.0.0)
|
2024-01-10 02:17:18 +11:00
|
|
|
reline (>= 0.4.2)
|
2022-12-03 01:34:04 +11:00
|
|
|
jmespath (1.6.2)
|
2024-04-05 18:57:20 +11:00
|
|
|
json (2.7.2)
|
2023-12-05 23:57:16 +11:00
|
|
|
json-canonicalization (1.0.0)
|
2024-03-07 22:11:14 +11:00
|
|
|
json-jwt (1.15.3.1)
|
2022-03-09 22:07:35 +11:00
|
|
|
activesupport (>= 4.2)
|
|
|
|
aes_key_wrap
|
|
|
|
bindata
|
2023-01-31 02:46:27 +11:00
|
|
|
httpclient
|
2023-12-05 23:57:16 +11:00
|
|
|
json-ld (3.3.1)
|
2020-01-14 05:01:43 +11:00
|
|
|
htmlentities (~> 4.3)
|
2023-12-05 23:57:16 +11:00
|
|
|
json-canonicalization (~> 1.0)
|
2020-01-14 05:01:43 +11:00
|
|
|
link_header (~> 0.0, >= 0.0.8)
|
2022-01-19 13:12:01 +11:00
|
|
|
multi_json (~> 1.15)
|
2023-04-18 18:11:39 +10:00
|
|
|
rack (>= 2.2, < 4)
|
2023-11-08 09:01:09 +11:00
|
|
|
rdf (~> 3.3)
|
2023-11-08 09:03:09 +11:00
|
|
|
json-ld-preloaded (3.3.0)
|
|
|
|
json-ld (~> 3.3)
|
|
|
|
rdf (~> 3.3)
|
2024-03-27 20:59:50 +11:00
|
|
|
json-schema (4.3.0)
|
2022-12-16 01:43:05 +11:00
|
|
|
addressable (>= 2.8)
|
2019-07-23 19:10:42 +10:00
|
|
|
jsonapi-renderer (0.2.2)
|
2023-06-15 18:13:12 +10:00
|
|
|
jwt (2.7.1)
|
2022-01-06 11:54:38 +11:00
|
|
|
kaminari (1.2.2)
|
2017-04-11 09:11:41 +10:00
|
|
|
activesupport (>= 4.1.0)
|
2022-01-06 11:54:38 +11:00
|
|
|
kaminari-actionview (= 1.2.2)
|
|
|
|
kaminari-activerecord (= 1.2.2)
|
|
|
|
kaminari-core (= 1.2.2)
|
|
|
|
kaminari-actionview (1.2.2)
|
2017-04-11 09:11:41 +10:00
|
|
|
actionview
|
2022-01-06 11:54:38 +11:00
|
|
|
kaminari-core (= 1.2.2)
|
|
|
|
kaminari-activerecord (1.2.2)
|
2017-04-11 09:11:41 +10:00
|
|
|
activerecord
|
2022-01-06 11:54:38 +11:00
|
|
|
kaminari-core (= 1.2.2)
|
|
|
|
kaminari-core (1.2.2)
|
2024-01-19 20:21:07 +11:00
|
|
|
kt-paperclip (7.2.2)
|
2023-06-05 22:40:35 +10:00
|
|
|
activemodel (>= 4.2.0)
|
|
|
|
activesupport (>= 4.2.0)
|
|
|
|
marcel (~> 1.0.1)
|
|
|
|
mime-types
|
2024-01-19 20:21:07 +11:00
|
|
|
terrapin (>= 0.6.0, < 2.0)
|
2023-07-13 19:11:55 +10:00
|
|
|
language_server-protocol (3.17.0.3)
|
2023-04-25 03:07:45 +10:00
|
|
|
launchy (2.5.2)
|
|
|
|
addressable (~> 2.8)
|
2024-04-03 00:31:03 +11:00
|
|
|
letter_opener (1.10.0)
|
|
|
|
launchy (>= 2.2, < 4)
|
2024-05-15 18:34:50 +10:00
|
|
|
letter_opener_web (3.0.0)
|
|
|
|
actionmailer (>= 6.1)
|
|
|
|
letter_opener (~> 1.9)
|
|
|
|
railties (>= 6.1)
|
2021-11-18 11:20:31 +11:00
|
|
|
rexml
|
Fix #24 - Thread resolving for remote statuses
This is a big one, so let me enumerate:
Accounts as well as stream entry pages now contain Link headers that
reference the Atom feed and Webfinger URL for the former and Atom entry
for the latter. So you only need to HEAD those resources to get that
information, no need to download and parse HTML <link>s.
ProcessFeedService will now queue ThreadResolveWorker for each remote
status that it cannot find otherwise. Furthermore, entries are now
processed in reverse order (from bottom to top) in case a newer entry
references a chronologically previous one.
ThreadResolveWorker uses FetchRemoteStatusService to obtain a status
and attach the child status it was queued for to it.
FetchRemoteStatusService looks up the URL, first with a HEAD, tests
if it's an Atom feed, in which case it processes it directly. Next
for Link headers to the Atom feed, in which case that is fetched
and processed. Lastly if it's HTML, it is checked for <link>s to the Atom
feed, and if such is found, that is fetched and processed. The account for
the status is derived from author/name attribute in the XML and the hostname
in the URL (domain). FollowRemoteAccountService and ProcessFeedService
are used.
This means that potentially threads are resolved recursively until a dead-end
is encountered, however it is performed asynchronously over background jobs,
so it should be ok.
2016-09-21 09:34:14 +10:00
|
|
|
link_header (0.0.8)
|
2024-04-23 00:02:47 +10:00
|
|
|
llhttp-ffi (0.5.0)
|
2021-08-29 02:17:59 +10:00
|
|
|
ffi-compiler (~> 1.0)
|
|
|
|
rake (~> 13.0)
|
2024-06-21 21:37:47 +10:00
|
|
|
logger (1.6.0)
|
2023-10-12 01:21:59 +11:00
|
|
|
lograge (0.14.0)
|
2018-04-12 22:45:17 +10:00
|
|
|
actionpack (>= 4)
|
|
|
|
activesupport (>= 4)
|
|
|
|
railties (>= 4)
|
2017-09-18 12:55:57 +10:00
|
|
|
request_store (~> 1.0)
|
2023-11-22 00:23:23 +11:00
|
|
|
loofah (2.22.0)
|
2017-10-31 22:22:32 +11:00
|
|
|
crass (~> 1.0.2)
|
2023-05-23 17:06:43 +10:00
|
|
|
nokogiri (>= 1.12.0)
|
2023-03-08 21:44:23 +11:00
|
|
|
mail (2.8.1)
|
2017-12-04 02:55:27 +11:00
|
|
|
mini_mime (>= 0.1.1)
|
2023-01-18 21:40:21 +11:00
|
|
|
net-imap
|
|
|
|
net-pop
|
|
|
|
net-smtp
|
2024-03-26 20:31:24 +11:00
|
|
|
marcel (1.0.4)
|
2018-04-12 22:45:17 +10:00
|
|
|
mario-redis-lock (1.2.1)
|
|
|
|
redis (>= 3.0.5)
|
2021-10-28 12:20:19 +11:00
|
|
|
matrix (0.4.2)
|
2023-07-19 17:02:49 +10:00
|
|
|
md-paperclip-azure (2.2.0)
|
|
|
|
addressable (~> 2.5)
|
|
|
|
azure-storage-blob (~> 2.0.1)
|
|
|
|
hashie (~> 5.0)
|
2024-06-17 18:56:33 +10:00
|
|
|
memory_profiler (1.0.2)
|
2024-01-02 19:50:08 +11:00
|
|
|
mime-types (3.5.2)
|
2016-08-18 01:56:23 +10:00
|
|
|
mime-types-data (~> 3.2015)
|
2024-06-14 23:24:26 +10:00
|
|
|
mime-types-data (3.2024.0604)
|
2023-08-10 18:44:00 +10:00
|
|
|
mini_mime (1.1.5)
|
2024-06-05 17:22:02 +10:00
|
|
|
mini_portile2 (2.8.7)
|
2024-05-27 19:19:44 +10:00
|
|
|
minitest (5.23.1)
|
2023-10-31 19:24:04 +11:00
|
|
|
msgpack (1.7.2)
|
2020-07-28 11:18:02 +10:00
|
|
|
multi_json (1.15.0)
|
2024-04-20 05:45:41 +10:00
|
|
|
multipart-post (2.4.0)
|
2023-11-22 00:23:23 +11:00
|
|
|
mutex_m (0.2.0)
|
2024-01-05 21:45:55 +11:00
|
|
|
net-http (0.4.1)
|
2023-02-14 00:36:07 +11:00
|
|
|
uri
|
2023-07-19 17:02:49 +10:00
|
|
|
net-http-persistent (4.0.2)
|
|
|
|
connection_pool (~> 2.2)
|
2024-06-05 17:22:02 +10:00
|
|
|
net-imap (0.4.12)
|
2023-01-18 21:40:21 +11:00
|
|
|
date
|
|
|
|
net-protocol
|
2024-01-04 20:15:56 +11:00
|
|
|
net-ldap (0.19.0)
|
2023-01-18 21:40:21 +11:00
|
|
|
net-pop (0.1.2)
|
|
|
|
net-protocol
|
2023-11-14 00:13:53 +11:00
|
|
|
net-protocol (0.2.2)
|
2022-12-03 01:08:04 +11:00
|
|
|
timeout
|
2024-04-20 05:45:41 +10:00
|
|
|
net-smtp (0.5.0)
|
2022-12-03 01:08:04 +11:00
|
|
|
net-protocol
|
2024-05-17 18:28:22 +10:00
|
|
|
nio4r (2.7.3)
|
2024-06-14 00:37:54 +10:00
|
|
|
nokogiri (1.16.6)
|
2023-05-30 17:42:41 +10:00
|
|
|
mini_portile2 (~> 2.8.2)
|
2021-01-06 06:01:31 +11:00
|
|
|
racc (~> 1.4)
|
2024-02-06 20:33:11 +11:00
|
|
|
nsa (0.3.0)
|
|
|
|
activesupport (>= 4.2, < 7.2)
|
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
|
|
sidekiq (>= 3.5)
|
|
|
|
statsd-ruby (~> 1.4, >= 1.4.0)
|
2024-06-11 00:05:57 +10:00
|
|
|
oj (3.16.4)
|
2023-12-12 21:40:54 +11:00
|
|
|
bigdecimal (>= 3.0)
|
2024-03-08 05:02:24 +11:00
|
|
|
omniauth (2.1.2)
|
2020-03-21 13:23:25 +11:00
|
|
|
hashie (>= 3.4.6)
|
2023-08-08 16:57:18 +10:00
|
|
|
rack (>= 2.2.3)
|
|
|
|
rack-protection
|
2024-03-08 05:02:24 +11:00
|
|
|
omniauth-cas (3.0.0)
|
2024-01-13 09:39:23 +11:00
|
|
|
addressable (~> 2.8)
|
|
|
|
nokogiri (~> 1.12)
|
|
|
|
omniauth (~> 2.1)
|
2023-08-08 16:57:18 +10:00
|
|
|
omniauth-rails_csrf_protection (1.0.1)
|
2020-11-28 15:17:53 +11:00
|
|
|
actionpack (>= 4.2)
|
2023-08-08 16:57:18 +10:00
|
|
|
omniauth (~> 2.0)
|
|
|
|
omniauth-saml (2.1.0)
|
|
|
|
omniauth (~> 2.0)
|
|
|
|
ruby-saml (~> 1.12)
|
2023-03-08 21:44:23 +11:00
|
|
|
omniauth_openid_connect (0.6.1)
|
2023-02-14 01:47:50 +11:00
|
|
|
omniauth (>= 1.9, < 3)
|
|
|
|
openid_connect (~> 1.1)
|
2023-01-31 02:46:27 +11:00
|
|
|
openid_connect (1.4.2)
|
2022-03-09 22:07:35 +11:00
|
|
|
activemodel
|
|
|
|
attr_required (>= 1.0.0)
|
2023-01-31 02:46:27 +11:00
|
|
|
json-jwt (>= 1.15.0)
|
|
|
|
net-smtp
|
|
|
|
rack-oauth2 (~> 1.21)
|
|
|
|
swd (~> 1.3)
|
2022-03-09 22:07:35 +11:00
|
|
|
tzinfo
|
|
|
|
validate_email
|
|
|
|
validate_url
|
2023-01-31 02:46:27 +11:00
|
|
|
webfinger (~> 1.2)
|
2023-12-29 21:13:29 +11:00
|
|
|
openssl (3.2.0)
|
2023-02-17 20:06:24 +11:00
|
|
|
openssl-signature_algorithm (1.3.0)
|
|
|
|
openssl (> 2.0)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (1.2.5)
|
|
|
|
opentelemetry-common (0.20.1)
|
|
|
|
opentelemetry-api (~> 1.0)
|
2024-06-22 02:14:41 +10:00
|
|
|
opentelemetry-exporter-otlp (0.28.0)
|
|
|
|
google-protobuf (>= 3.18)
|
2024-05-10 22:40:20 +10:00
|
|
|
googleapis-common-protos-types (~> 1.3)
|
|
|
|
opentelemetry-api (~> 1.1)
|
|
|
|
opentelemetry-common (~> 0.20)
|
|
|
|
opentelemetry-sdk (~> 1.2)
|
|
|
|
opentelemetry-semantic_conventions
|
|
|
|
opentelemetry-helpers-sql-obfuscation (0.1.0)
|
|
|
|
opentelemetry-common (~> 0.20)
|
2024-06-11 23:58:40 +10:00
|
|
|
opentelemetry-instrumentation-action_mailer (0.1.0)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-active_support (~> 0.1)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-instrumentation-action_pack (0.9.0)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-instrumentation-rack (~> 0.21)
|
|
|
|
opentelemetry-instrumentation-action_view (0.7.0)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-active_support (~> 0.1)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-instrumentation-active_job (0.7.1)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-instrumentation-active_model_serializers (0.20.1)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-05-11 05:18:53 +10:00
|
|
|
opentelemetry-instrumentation-active_record (0.7.2)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-instrumentation-active_support (0.5.1)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-instrumentation-base (0.22.3)
|
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-registry (~> 0.1)
|
2024-05-10 23:16:02 +10:00
|
|
|
opentelemetry-instrumentation-concurrent_ruby (0.21.3)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-excon (0.22.3)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-24 20:18:51 +10:00
|
|
|
opentelemetry-instrumentation-faraday (0.24.5)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-05-11 05:18:53 +10:00
|
|
|
opentelemetry-instrumentation-http (0.23.3)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-http_client (0.22.6)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-net_http (0.22.6)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-05-13 19:42:08 +10:00
|
|
|
opentelemetry-instrumentation-pg (0.27.3)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-helpers-sql-obfuscation
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-rack (0.24.5)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-11 23:58:40 +10:00
|
|
|
opentelemetry-instrumentation-rails (0.30.2)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
2024-06-11 23:58:40 +10:00
|
|
|
opentelemetry-instrumentation-action_mailer (~> 0.1.0)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-instrumentation-action_pack (~> 0.9.0)
|
|
|
|
opentelemetry-instrumentation-action_view (~> 0.7.0)
|
|
|
|
opentelemetry-instrumentation-active_job (~> 0.7.0)
|
|
|
|
opentelemetry-instrumentation-active_record (~> 0.7.0)
|
|
|
|
opentelemetry-instrumentation-active_support (~> 0.5.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-redis (0.25.6)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
2024-06-19 18:45:51 +10:00
|
|
|
opentelemetry-instrumentation-sidekiq (0.25.5)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-api (~> 1.0)
|
|
|
|
opentelemetry-instrumentation-base (~> 0.22.1)
|
|
|
|
opentelemetry-registry (0.3.1)
|
|
|
|
opentelemetry-api (~> 1.1)
|
|
|
|
opentelemetry-sdk (1.4.1)
|
|
|
|
opentelemetry-api (~> 1.1)
|
|
|
|
opentelemetry-common (~> 0.20)
|
|
|
|
opentelemetry-registry (~> 0.2)
|
|
|
|
opentelemetry-semantic_conventions
|
|
|
|
opentelemetry-semantic_conventions (1.10.0)
|
|
|
|
opentelemetry-api (~> 1.0)
|
2016-03-05 23:12:24 +11:00
|
|
|
orm_adapter (0.5.0)
|
2024-03-22 05:09:45 +11:00
|
|
|
ox (2.14.18)
|
2024-06-11 00:29:26 +10:00
|
|
|
parallel (1.25.1)
|
2024-06-13 18:26:09 +10:00
|
|
|
parser (3.3.3.0)
|
2020-06-25 18:22:53 +10:00
|
|
|
ast (~> 2.4.1)
|
2023-06-14 02:42:51 +10:00
|
|
|
racc
|
2020-04-29 02:39:21 +10:00
|
|
|
parslet (2.0.0)
|
2020-07-29 01:51:15 +10:00
|
|
|
pastel (0.8.0)
|
2019-10-04 11:19:54 +10:00
|
|
|
tty-color (~> 0.5)
|
2024-03-08 04:33:54 +11:00
|
|
|
pg (1.5.6)
|
2024-06-05 17:56:52 +10:00
|
|
|
pghero (3.5.0)
|
2023-01-23 09:09:02 +11:00
|
|
|
activerecord (>= 6)
|
2024-03-26 20:31:24 +11:00
|
|
|
premailer (1.23.0)
|
2018-01-16 13:29:11 +11:00
|
|
|
addressable
|
2022-12-03 01:08:04 +11:00
|
|
|
css_parser (>= 1.12.0)
|
2018-01-16 13:29:11 +11:00
|
|
|
htmlentities (>= 4.0.0)
|
2022-12-03 01:08:04 +11:00
|
|
|
premailer-rails (1.12.0)
|
2019-07-23 00:05:34 +10:00
|
|
|
actionmailer (>= 3)
|
2022-12-03 01:08:04 +11:00
|
|
|
net-smtp
|
2018-01-16 13:29:11 +11:00
|
|
|
premailer (~> 1.7, >= 1.7.9)
|
2024-05-31 23:29:37 +10:00
|
|
|
propshaft (0.9.0)
|
2023-12-06 21:19:24 +11:00
|
|
|
actionpack (>= 7.0.0)
|
|
|
|
activesupport (>= 7.0.0)
|
|
|
|
rack
|
|
|
|
railties (>= 7.0.0)
|
2023-12-21 20:13:10 +11:00
|
|
|
psych (5.1.2)
|
2023-10-24 04:58:29 +11:00
|
|
|
stringio
|
2024-06-22 05:37:22 +10:00
|
|
|
public_suffix (6.0.0)
|
2024-01-08 20:57:12 +11:00
|
|
|
puma (6.4.2)
|
2019-07-18 09:06:14 +10:00
|
|
|
nio4r (~> 2.0)
|
2024-05-10 23:15:54 +10:00
|
|
|
pundit (2.3.2)
|
2017-05-30 02:22:22 +10:00
|
|
|
activesupport (>= 3.0.0)
|
2021-06-11 00:46:18 +10:00
|
|
|
raabro (1.4.0)
|
2024-05-21 03:04:21 +10:00
|
|
|
racc (1.8.0)
|
2024-03-21 21:43:37 +11:00
|
|
|
rack (2.2.9)
|
2023-08-04 00:29:18 +10:00
|
|
|
rack-attack (6.7.0)
|
|
|
|
rack (>= 1.0, < 4)
|
2024-03-06 01:09:52 +11:00
|
|
|
rack-cors (2.0.2)
|
2019-11-27 13:59:57 +11:00
|
|
|
rack (>= 2.0.0)
|
2023-01-31 02:46:27 +11:00
|
|
|
rack-oauth2 (1.21.3)
|
2022-03-09 22:07:35 +11:00
|
|
|
activesupport
|
|
|
|
attr_required
|
|
|
|
httpclient
|
|
|
|
json-jwt (>= 1.11.0)
|
|
|
|
rack (>= 2.1.0)
|
2024-03-08 05:02:24 +11:00
|
|
|
rack-protection (3.2.0)
|
|
|
|
base64 (>= 0.1.0)
|
|
|
|
rack (~> 2.2, >= 2.2.4)
|
2024-04-20 05:45:41 +10:00
|
|
|
rack-proxy (0.7.7)
|
2017-09-27 22:41:54 +10:00
|
|
|
rack
|
2024-01-17 20:11:22 +11:00
|
|
|
rack-session (1.0.2)
|
2023-10-24 04:58:29 +11:00
|
|
|
rack (< 3)
|
2023-03-16 12:33:26 +11:00
|
|
|
rack-test (2.1.0)
|
2022-07-30 02:39:38 +10:00
|
|
|
rack (>= 1.3)
|
2023-10-24 04:58:29 +11:00
|
|
|
rackup (1.0.0)
|
|
|
|
rack (< 3)
|
|
|
|
webrick
|
2024-06-05 17:22:02 +10:00
|
|
|
rails (7.1.3.4)
|
|
|
|
actioncable (= 7.1.3.4)
|
|
|
|
actionmailbox (= 7.1.3.4)
|
|
|
|
actionmailer (= 7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
actiontext (= 7.1.3.4)
|
|
|
|
actionview (= 7.1.3.4)
|
|
|
|
activejob (= 7.1.3.4)
|
|
|
|
activemodel (= 7.1.3.4)
|
|
|
|
activerecord (= 7.1.3.4)
|
|
|
|
activestorage (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2021-03-24 20:44:31 +11:00
|
|
|
bundler (>= 1.15.0)
|
2024-06-05 17:22:02 +10:00
|
|
|
railties (= 7.1.3.4)
|
2020-06-29 23:43:34 +10:00
|
|
|
rails-controller-testing (1.0.5)
|
|
|
|
actionpack (>= 5.0.1.rc1)
|
|
|
|
actionview (>= 5.0.1.rc1)
|
|
|
|
activesupport (>= 5.0.1.rc1)
|
2023-10-12 01:21:59 +11:00
|
|
|
rails-dom-testing (2.2.0)
|
2023-08-04 00:11:37 +10:00
|
|
|
activesupport (>= 5.0.0)
|
|
|
|
minitest
|
2017-05-15 00:30:14 +10:00
|
|
|
nokogiri (>= 1.6)
|
2023-06-01 18:01:21 +10:00
|
|
|
rails-html-sanitizer (1.6.0)
|
|
|
|
loofah (~> 2.21)
|
|
|
|
nokogiri (~> 1.14)
|
2024-03-23 03:22:52 +11:00
|
|
|
rails-i18n (7.0.9)
|
2018-04-12 22:45:17 +10:00
|
|
|
i18n (>= 0.7, < 2)
|
2023-07-13 17:36:07 +10:00
|
|
|
railties (>= 6.0.0, < 8)
|
2024-06-05 17:22:02 +10:00
|
|
|
railties (7.1.3.4)
|
|
|
|
actionpack (= 7.1.3.4)
|
|
|
|
activesupport (= 7.1.3.4)
|
2023-10-24 04:58:29 +11:00
|
|
|
irb
|
|
|
|
rackup (>= 1.0.0)
|
2022-03-15 16:05:20 +11:00
|
|
|
rake (>= 12.2)
|
2023-10-24 04:58:29 +11:00
|
|
|
thor (~> 1.0, >= 1.2.2)
|
|
|
|
zeitwerk (~> 2.6)
|
2022-01-19 12:53:03 +11:00
|
|
|
rainbow (3.1.1)
|
2024-04-20 05:45:41 +10:00
|
|
|
rake (13.2.1)
|
2023-11-08 09:01:09 +11:00
|
|
|
rdf (3.3.1)
|
|
|
|
bcp47_spec (~> 0.2)
|
2017-08-26 21:47:38 +10:00
|
|
|
link_header (~> 0.0, >= 0.0.8)
|
2024-01-19 05:42:07 +11:00
|
|
|
rdf-normalize (0.7.0)
|
|
|
|
rdf (~> 3.3)
|
2024-06-22 02:15:09 +10:00
|
|
|
rdoc (6.7.0)
|
2023-10-24 04:58:29 +11:00
|
|
|
psych (>= 4.0.0)
|
2023-02-01 21:19:30 +11:00
|
|
|
redcarpet (3.6.0)
|
2023-03-05 02:38:28 +11:00
|
|
|
redis (4.8.1)
|
2023-06-14 19:18:37 +10:00
|
|
|
redis-namespace (1.11.0)
|
2022-08-19 10:06:07 +10:00
|
|
|
redis (>= 4)
|
2022-12-03 01:39:41 +11:00
|
|
|
redlock (1.3.2)
|
|
|
|
redis (>= 3.0.0, < 6.0)
|
2024-05-21 03:04:21 +10:00
|
|
|
regexp_parser (2.9.2)
|
2024-06-17 20:22:05 +10:00
|
|
|
reline (0.5.9)
|
2023-10-24 04:58:29 +11:00
|
|
|
io-console (~> 0.5)
|
2024-04-20 05:45:41 +10:00
|
|
|
request_store (1.6.0)
|
2018-04-12 22:45:17 +10:00
|
|
|
rack (>= 1.4)
|
2023-10-12 18:35:25 +11:00
|
|
|
responders (3.1.1)
|
2023-02-21 20:41:28 +11:00
|
|
|
actionpack (>= 5.2)
|
|
|
|
railties (>= 5.2)
|
2024-07-01 18:35:19 +10:00
|
|
|
rexml (3.3.1)
|
2024-06-12 22:59:32 +10:00
|
|
|
strscan
|
2023-10-24 04:58:29 +11:00
|
|
|
rotp (6.3.0)
|
2024-03-26 20:31:24 +11:00
|
|
|
rouge (4.2.1)
|
2018-04-12 05:40:38 +10:00
|
|
|
rpam2 (4.0.2)
|
2023-05-23 17:25:43 +10:00
|
|
|
rqrcode (2.2.0)
|
2017-01-28 06:28:46 +11:00
|
|
|
chunky_png (~> 1.0)
|
2021-05-11 01:36:14 +10:00
|
|
|
rqrcode_core (~> 1.0)
|
2021-08-31 21:58:34 +10:00
|
|
|
rqrcode_core (1.2.0)
|
2024-06-27 17:42:57 +10:00
|
|
|
rspec (3.13.0)
|
|
|
|
rspec-core (~> 3.13.0)
|
|
|
|
rspec-expectations (~> 3.13.0)
|
|
|
|
rspec-mocks (~> 3.13.0)
|
2024-03-18 20:19:38 +11:00
|
|
|
rspec-core (3.13.0)
|
|
|
|
rspec-support (~> 3.13.0)
|
2024-06-20 17:42:28 +10:00
|
|
|
rspec-expectations (3.13.1)
|
2016-02-21 08:53:20 +11:00
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
2024-03-18 20:19:38 +11:00
|
|
|
rspec-support (~> 3.13.0)
|
2023-10-18 03:28:09 +11:00
|
|
|
rspec-github (2.4.0)
|
|
|
|
rspec-core (~> 3.0)
|
2024-05-16 17:43:31 +10:00
|
|
|
rspec-mocks (3.13.1)
|
2016-02-21 08:53:20 +11:00
|
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
2024-03-18 20:19:38 +11:00
|
|
|
rspec-support (~> 3.13.0)
|
2024-06-20 17:42:28 +10:00
|
|
|
rspec-rails (6.1.3)
|
2023-03-03 01:55:37 +11:00
|
|
|
actionpack (>= 6.1)
|
|
|
|
activesupport (>= 6.1)
|
|
|
|
railties (>= 6.1)
|
2024-03-22 05:06:32 +11:00
|
|
|
rspec-core (~> 3.13)
|
|
|
|
rspec-expectations (~> 3.13)
|
|
|
|
rspec-mocks (~> 3.13)
|
|
|
|
rspec-support (~> 3.13)
|
2024-05-16 17:43:31 +10:00
|
|
|
rspec-sidekiq (5.0.0)
|
2023-08-24 17:03:40 +10:00
|
|
|
rspec-core (~> 3.0)
|
|
|
|
rspec-expectations (~> 3.0)
|
|
|
|
rspec-mocks (~> 3.0)
|
|
|
|
sidekiq (>= 5, < 8)
|
2024-03-18 20:19:38 +11:00
|
|
|
rspec-support (3.13.1)
|
2024-05-31 19:08:31 +10:00
|
|
|
rubocop (1.64.1)
|
linting: RuboCop update, config fixes (#20574)
* fix(rubocop): update gems and add performance and rspec
fix(rubocop): update gems and add performance and rspec
- update present rubocop gems
- add rubocop-rspec and rubocop-performance gems
- move rubocop gems to gem group :development, :test in order to
make linting in a github action that runs with RAILS_ENV=test possible
* feat(rubocop): disable some annoyance RSpec cops
To mee these prooved to be more annoying than helpful.
If not agreed, they can be enabled any time.
* fix(rubocop): do not ignore spec/**/*
Because rubocop-rspec should lint the specs as well, and they
deserve to be readable in general. It is relevant code, after all.
* fix(rubocop): change ignore db/**/* to db/schema.rb
because rails cops do some lints for migrations.
E.g. reversable migrations linting and more.
* fix(rubocop): tune rules configs
Bunch of commits squashed:
fix(rubocop): enable Layout/LineLength cop
Because this project has code with line lenghts > 500 chars.
This is not good practice at all, so I strongly suggest to
change the practice in the future.
But allow heredoc, URI and comments to still be long lines
and make the default Max: 120 explicit, by repeating it in the
config. To me this max length seems reasonable. Perhaps
a bit more could be ok for some. But > 500 chars in one line
Seems to be way too long IMHO.
fix(rubocop): Metrics/CyclomaticComplexity Max to 12
The default is 7, perhaps quite strict. But 25 is too loose,
the rule becomes pointless like that.
fix(rubocop): AllCops ruby version, cacheing and more info
- fix the target ruby version from 2.5 to 3.0
- have the cop error messages to be more informative and helpful
- enable cacheing in /tmp
fix(rubocop): Metrics/AbcSize to 34 from 115
Rubocops default is 17. If the rule is at 115 is becomes
pointless.
fix(rubocop): Metrics/BlockLength improvements
- instead of ignoring tasks completely, ignore only the
long blocks that are specific to tasks (task, namespace)
- ignore also concern specific block methods (included, class_methods)
fix(rubocop): Metrics/ClassLength count heredoc array as one line
fix(rubocop): Metrics/MethodLength Max to 25
- the default is 10, but 65 is too loose, so perhaps 25?
fix(rubocop): Metrics/ModuleLength array and heredoc count as one
fix(rubocop): Metrics/PerceivedComplexity to 16 from 25
Rubocops default is 8, so how about only doubling that, instead
of > than tripple it?
fix(rubocop): enable Style/RedundantAssignment
Because I think that this rule would never really hurt,
but improve code quality and readability.
fix(rubocop): enable Style/RescueStandardError
I think everyone that ever had to debug what this can bring
will hopefully agree that this rule totally makes sense.
In the super rare exeptions where this is totally needed,
it can be excluded by disabling comment in that place.
fix(rubocop): Metrics/ParameterLists add explicit defaults and some excludes
2022-12-16 02:39:59 +11:00
|
|
|
json (~> 2.3)
|
2023-07-13 19:11:55 +10:00
|
|
|
language_server-protocol (>= 3.17.0)
|
2017-05-30 02:18:06 +10:00
|
|
|
parallel (~> 1.10)
|
2024-01-24 22:50:41 +11:00
|
|
|
parser (>= 3.3.0.2)
|
2018-04-12 22:45:17 +10:00
|
|
|
rainbow (>= 2.2.2, < 4.0)
|
2020-12-30 02:12:03 +11:00
|
|
|
regexp_parser (>= 1.8, < 3.0)
|
2022-05-19 04:27:55 +10:00
|
|
|
rexml (>= 3.2.5, < 4.0)
|
2024-03-22 04:39:27 +11:00
|
|
|
rubocop-ast (>= 1.31.1, < 2.0)
|
2016-02-21 08:53:20 +11:00
|
|
|
ruby-progressbar (~> 1.7)
|
2023-01-18 21:13:31 +11:00
|
|
|
unicode-display_width (>= 2.4.0, < 3.0)
|
2024-05-03 18:48:09 +10:00
|
|
|
rubocop-ast (1.31.3)
|
|
|
|
parser (>= 3.3.1.0)
|
2024-06-11 00:29:26 +10:00
|
|
|
rubocop-capybara (2.21.0)
|
2023-01-18 21:14:12 +11:00
|
|
|
rubocop (~> 1.41)
|
2024-06-17 18:44:58 +10:00
|
|
|
rubocop-performance (1.21.1)
|
2023-12-18 23:41:22 +11:00
|
|
|
rubocop (>= 1.48.1, < 2.0)
|
2024-04-03 04:00:07 +11:00
|
|
|
rubocop-ast (>= 1.31.1, < 2.0)
|
2024-07-01 18:35:19 +10:00
|
|
|
rubocop-rails (2.25.1)
|
2020-06-16 00:26:27 +10:00
|
|
|
activesupport (>= 4.2.0)
|
2019-06-17 22:16:03 +10:00
|
|
|
rack (>= 1.1)
|
linting: RuboCop update, config fixes (#20574)
* fix(rubocop): update gems and add performance and rspec
fix(rubocop): update gems and add performance and rspec
- update present rubocop gems
- add rubocop-rspec and rubocop-performance gems
- move rubocop gems to gem group :development, :test in order to
make linting in a github action that runs with RAILS_ENV=test possible
* feat(rubocop): disable some annoyance RSpec cops
To mee these prooved to be more annoying than helpful.
If not agreed, they can be enabled any time.
* fix(rubocop): do not ignore spec/**/*
Because rubocop-rspec should lint the specs as well, and they
deserve to be readable in general. It is relevant code, after all.
* fix(rubocop): change ignore db/**/* to db/schema.rb
because rails cops do some lints for migrations.
E.g. reversable migrations linting and more.
* fix(rubocop): tune rules configs
Bunch of commits squashed:
fix(rubocop): enable Layout/LineLength cop
Because this project has code with line lenghts > 500 chars.
This is not good practice at all, so I strongly suggest to
change the practice in the future.
But allow heredoc, URI and comments to still be long lines
and make the default Max: 120 explicit, by repeating it in the
config. To me this max length seems reasonable. Perhaps
a bit more could be ok for some. But > 500 chars in one line
Seems to be way too long IMHO.
fix(rubocop): Metrics/CyclomaticComplexity Max to 12
The default is 7, perhaps quite strict. But 25 is too loose,
the rule becomes pointless like that.
fix(rubocop): AllCops ruby version, cacheing and more info
- fix the target ruby version from 2.5 to 3.0
- have the cop error messages to be more informative and helpful
- enable cacheing in /tmp
fix(rubocop): Metrics/AbcSize to 34 from 115
Rubocops default is 17. If the rule is at 115 is becomes
pointless.
fix(rubocop): Metrics/BlockLength improvements
- instead of ignoring tasks completely, ignore only the
long blocks that are specific to tasks (task, namespace)
- ignore also concern specific block methods (included, class_methods)
fix(rubocop): Metrics/ClassLength count heredoc array as one line
fix(rubocop): Metrics/MethodLength Max to 25
- the default is 10, but 65 is too loose, so perhaps 25?
fix(rubocop): Metrics/ModuleLength array and heredoc count as one
fix(rubocop): Metrics/PerceivedComplexity to 16 from 25
Rubocops default is 8, so how about only doubling that, instead
of > than tripple it?
fix(rubocop): enable Style/RedundantAssignment
Because I think that this rule would never really hurt,
but improve code quality and readability.
fix(rubocop): enable Style/RescueStandardError
I think everyone that ever had to debug what this can bring
will hopefully agree that this rule totally makes sense.
In the super rare exeptions where this is totally needed,
it can be excluded by disabling comment in that place.
fix(rubocop): Metrics/ParameterLists add explicit defaults and some excludes
2022-12-16 02:39:59 +11:00
|
|
|
rubocop (>= 1.33.0, < 2.0)
|
2024-03-22 04:39:27 +11:00
|
|
|
rubocop-ast (>= 1.31.1, < 2.0)
|
2024-06-12 22:59:32 +10:00
|
|
|
rubocop-rspec (3.0.1)
|
|
|
|
rubocop (~> 1.61)
|
|
|
|
rubocop-rspec_rails (2.30.0)
|
|
|
|
rubocop (~> 1.61)
|
|
|
|
rubocop-rspec (~> 3, >= 3.0.1)
|
2024-01-10 01:40:24 +11:00
|
|
|
ruby-prof (1.7.0)
|
2023-03-17 20:13:28 +11:00
|
|
|
ruby-progressbar (1.13.0)
|
2024-04-20 05:45:41 +10:00
|
|
|
ruby-saml (1.16.0)
|
2023-06-15 18:13:12 +10:00
|
|
|
nokogiri (>= 1.13.10)
|
2021-09-10 23:43:28 +10:00
|
|
|
rexml
|
2024-06-06 05:15:39 +10:00
|
|
|
ruby-vips (2.2.1)
|
|
|
|
ffi (~> 1.12)
|
2021-11-19 08:02:08 +11:00
|
|
|
ruby2_keywords (0.0.5)
|
2023-05-02 23:09:43 +10:00
|
|
|
rubyzip (2.3.2)
|
2023-06-15 18:13:12 +10:00
|
|
|
rufus-scheduler (3.9.1)
|
2020-03-18 22:02:34 +11:00
|
|
|
fugit (~> 1.1, >= 1.1.6)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
safety_net_attestation (0.4.0)
|
|
|
|
jwt (~> 2.0)
|
2024-06-13 23:13:06 +10:00
|
|
|
sanitize (6.1.1)
|
2017-04-27 22:42:22 +10:00
|
|
|
crass (~> 1.0.2)
|
2021-08-10 04:46:57 +10:00
|
|
|
nokogiri (>= 1.12.0)
|
2024-04-05 20:04:10 +11:00
|
|
|
scenic (1.8.0)
|
2020-12-14 19:06:34 +11:00
|
|
|
activerecord (>= 4.0.0)
|
|
|
|
railties (>= 4.0.0)
|
2024-06-21 21:37:47 +10:00
|
|
|
selenium-webdriver (4.22.0)
|
2024-01-25 01:55:06 +11:00
|
|
|
base64 (~> 0.2)
|
2024-06-21 21:37:47 +10:00
|
|
|
logger (~> 1.4)
|
2023-07-29 07:09:49 +10:00
|
|
|
rexml (~> 3.2, >= 3.2.5)
|
|
|
|
rubyzip (>= 1.2.2, < 3.0)
|
|
|
|
websocket (~> 1.0)
|
2021-05-07 13:33:21 +10:00
|
|
|
semantic_range (3.0.0)
|
2023-10-12 01:02:51 +11:00
|
|
|
sidekiq (6.5.12)
|
2022-11-16 01:52:44 +11:00
|
|
|
connection_pool (>= 2.2.5, < 3)
|
2020-05-09 02:43:26 +10:00
|
|
|
rack (~> 2.0)
|
2022-09-01 02:15:32 +10:00
|
|
|
redis (>= 4.5.0, < 5)
|
2018-11-22 22:47:36 +11:00
|
|
|
sidekiq-bulk (0.2.0)
|
2017-06-04 08:11:15 +10:00
|
|
|
sidekiq
|
2023-06-01 22:39:43 +10:00
|
|
|
sidekiq-scheduler (5.0.3)
|
2017-05-05 10:23:01 +10:00
|
|
|
rufus-scheduler (~> 3.2)
|
2023-03-08 21:31:46 +11:00
|
|
|
sidekiq (>= 6, < 8)
|
2017-05-05 10:23:01 +10:00
|
|
|
tilt (>= 1.4.0)
|
2024-02-13 18:56:46 +11:00
|
|
|
sidekiq-unique-jobs (7.1.33)
|
2021-03-22 17:35:46 +11:00
|
|
|
brpoplpush-redis_script (> 0.1.1, <= 2.0.0)
|
2019-01-14 20:18:55 +11:00
|
|
|
concurrent-ruby (~> 1.0, >= 1.0.5)
|
2022-12-10 02:57:51 +11:00
|
|
|
redis (< 5.0)
|
|
|
|
sidekiq (>= 5.0, < 7.0)
|
2021-09-29 23:00:52 +10:00
|
|
|
thor (>= 0.20, < 3.0)
|
2022-06-03 13:53:13 +10:00
|
|
|
simple-navigation (4.4.0)
|
2016-12-13 23:42:10 +11:00
|
|
|
activesupport (>= 2.3.2)
|
2024-05-27 19:19:44 +10:00
|
|
|
simple_form (5.3.1)
|
2021-02-19 20:09:30 +11:00
|
|
|
actionpack (>= 5.2)
|
|
|
|
activemodel (>= 5.2)
|
2022-12-27 11:37:19 +11:00
|
|
|
simplecov (0.22.0)
|
2018-04-23 19:29:17 +10:00
|
|
|
docile (~> 1.1)
|
2020-02-18 04:27:19 +11:00
|
|
|
simplecov-html (~> 0.11)
|
2020-12-30 01:40:35 +11:00
|
|
|
simplecov_json_formatter (~> 0.1)
|
2020-09-29 05:11:43 +10:00
|
|
|
simplecov-html (0.12.3)
|
2023-11-15 03:53:38 +11:00
|
|
|
simplecov-lcov (0.8.0)
|
2022-12-27 11:37:19 +11:00
|
|
|
simplecov_json_formatter (0.1.4)
|
2024-01-16 19:32:40 +11:00
|
|
|
stackprof (0.2.26)
|
2023-08-04 04:28:14 +10:00
|
|
|
statsd-ruby (1.5.0)
|
2024-04-03 02:47:40 +11:00
|
|
|
stoplight (4.1.0)
|
2022-12-03 01:39:41 +11:00
|
|
|
redlock (~> 1.0)
|
2024-06-17 20:22:05 +10:00
|
|
|
stringio (3.1.1)
|
2024-03-22 05:09:26 +11:00
|
|
|
strong_migrations (1.8.0)
|
2023-03-27 18:11:10 +11:00
|
|
|
activerecord (>= 5.2)
|
2024-05-16 23:45:17 +10:00
|
|
|
strscan (3.1.0)
|
2022-04-08 14:44:40 +10:00
|
|
|
swd (1.3.0)
|
2022-03-09 22:07:35 +11:00
|
|
|
activesupport (>= 3)
|
|
|
|
attr_required (>= 0.0.5)
|
|
|
|
httpclient (>= 2.4)
|
2023-03-15 14:15:36 +11:00
|
|
|
sysexits (1.2.0)
|
2023-11-29 05:36:16 +11:00
|
|
|
temple (0.10.3)
|
2021-11-13 20:34:28 +11:00
|
|
|
terminal-table (3.0.2)
|
|
|
|
unicode-display_width (>= 1.1.1, < 3)
|
2024-01-26 02:18:15 +11:00
|
|
|
terrapin (1.0.1)
|
|
|
|
climate_control
|
2024-07-01 18:25:52 +10:00
|
|
|
test-prof (1.3.3.1)
|
2024-02-27 22:48:42 +11:00
|
|
|
thor (1.3.1)
|
2023-10-03 19:48:05 +11:00
|
|
|
tilt (2.3.0)
|
2023-11-14 00:13:53 +11:00
|
|
|
timeout (0.4.1)
|
2023-02-17 20:06:24 +11:00
|
|
|
tpm-key_attestation (0.12.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
bindata (~> 2.4)
|
2023-02-17 20:06:24 +11:00
|
|
|
openssl (> 2.0)
|
2022-08-18 07:06:48 +10:00
|
|
|
openssl-signature_algorithm (~> 1.0)
|
2020-12-30 02:08:23 +11:00
|
|
|
tty-color (0.6.0)
|
2020-04-01 12:02:24 +11:00
|
|
|
tty-cursor (0.7.1)
|
2021-04-19 23:34:09 +10:00
|
|
|
tty-prompt (0.23.1)
|
2020-07-29 01:51:15 +10:00
|
|
|
pastel (~> 0.8)
|
|
|
|
tty-reader (~> 0.8)
|
2020-12-30 02:08:23 +11:00
|
|
|
tty-reader (0.9.0)
|
2019-05-29 12:10:24 +10:00
|
|
|
tty-cursor (~> 0.7)
|
2020-07-29 01:51:15 +10:00
|
|
|
tty-screen (~> 0.8)
|
|
|
|
wisper (~> 2.0)
|
2024-03-26 20:31:24 +11:00
|
|
|
tty-screen (0.8.2)
|
2021-03-02 22:02:56 +11:00
|
|
|
twitter-text (3.1.0)
|
|
|
|
idn-ruby
|
2017-02-23 05:35:11 +11:00
|
|
|
unf (~> 0.1.0)
|
2023-02-01 20:58:10 +11:00
|
|
|
tzinfo (2.0.6)
|
2021-03-24 20:44:31 +11:00
|
|
|
concurrent-ruby (~> 1.0)
|
2024-02-06 20:33:41 +11:00
|
|
|
tzinfo-data (1.2024.1)
|
2017-04-03 08:46:44 +10:00
|
|
|
tzinfo (>= 1.0.0)
|
2016-02-21 08:53:20 +11:00
|
|
|
unf (0.1.4)
|
|
|
|
unf_ext
|
2024-03-26 20:31:24 +11:00
|
|
|
unf_ext (0.0.9.1)
|
2023-10-03 19:48:05 +11:00
|
|
|
unicode-display_width (2.5.0)
|
2024-04-20 05:45:41 +10:00
|
|
|
uri (0.13.0)
|
2022-03-09 22:07:35 +11:00
|
|
|
validate_email (0.1.6)
|
|
|
|
activemodel (>= 3.0)
|
|
|
|
mail (>= 2.2.5)
|
2022-07-06 10:44:02 +10:00
|
|
|
validate_url (1.0.15)
|
2022-03-09 22:07:35 +11:00
|
|
|
activemodel (>= 3.0.0)
|
|
|
|
public_suffix
|
2020-09-08 06:10:49 +10:00
|
|
|
warden (1.2.9)
|
|
|
|
rack (>= 2.0.9)
|
2023-12-29 21:13:29 +11:00
|
|
|
webauthn (3.1.0)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
android_key_attestation (~> 0.3.0)
|
|
|
|
awrence (~> 1.1)
|
|
|
|
bindata (~> 2.4)
|
|
|
|
cbor (~> 0.5.9)
|
2022-08-18 07:06:48 +10:00
|
|
|
cose (~> 1.1)
|
2023-02-17 20:06:24 +11:00
|
|
|
openssl (>= 2.2)
|
Add WebAuthn as an alternative 2FA method (#14466)
* feat: add possibility of adding WebAuthn security keys to use as 2FA
This adds a basic UI for enabling WebAuthn 2FA. We did a little refactor
to the Settings page for editing the 2FA methods – now it will list the
methods that are available to the user (TOTP and WebAuthn) and from
there they'll be able to add or remove any of them.
Also, it's worth mentioning that for enabling WebAuthn it's required to
have TOTP enabled, so the first time that you go to the 2FA Settings
page, you'll be asked to set it up.
This work was inspired by the one donde by Github in their platform, and
despite it could be approached in different ways, we decided to go with
this one given that we feel that this gives a great UX.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add request for WebAuthn as second factor at login if enabled
This commits adds the feature for using WebAuthn as a second factor for
login when enabled.
If users have WebAuthn enabled, now a page requesting for the use of a
WebAuthn credential for log in will appear, although a link redirecting
to the old page for logging in using a two-factor code will also be
present.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: add possibility of deleting WebAuthn Credentials
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: disable WebAuthn when an Admin disables 2FA for a user
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* feat: remove ability to disable TOTP leaving only WebAuthn as 2FA
Following examples form other platforms like Github, we decided to make
Webauthn 2FA secondary to 2FA with TOTP, so that we removed the
possibility of removing TOTP authentication only, leaving users with
just WEbAuthn as 2FA. Instead, users will have to click on 'Disable 2FA'
in order to remove second factor auth.
The reason for WebAuthn being secondary to TOPT is that in that way,
users will still be able to log in using their code from their phone's
application if they don't have their security keys with them – or maybe
even lost them.
* We had to change a little the flow for setting up TOTP, given that now
it's possible to setting up again if you already had TOTP, in order to
let users modify their authenticator app – given that now it's not
possible for them to disable TOTP and set it up again with another
authenticator app.
So, basically, now instead of storing the new `otp_secret` in the
user, we store it in the session until the process of set up is
finished.
This was because, as it was before, when users clicked on 'Edit' in
the new two-factor methods lists page, but then went back without
finishing the flow, their `otp_secret` had been changed therefore
invalidating their previous authenticator app, making them unable to
log in again using TOTP.
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
* refactor: fix eslint errors
The PR build was failing given that linting returning some errors.
This commit attempts to fix them.
* refactor: normalize i18n translations
The build was failing given that i18n translations files were not
normalized.
This commits fixes that.
* refactor: avoid having the webauthn gem locked to a specific version
* refactor: use symbols for routes without '/'
* refactor: avoid sending webauthn disabled email when 2FA is disabled
When an admins disable 2FA for users, we were sending two mails
to them, one notifying that 2FA was disabled and the other to notify
that WebAuthn was disabled.
As the second one is redundant since the first email includes it, we can
remove it and send just one email to users.
* refactor: avoid creating new env variable for webauthn_origin config
* refactor: improve flash error messages for webauthn pages
Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
2020-08-25 00:46:27 +10:00
|
|
|
safety_net_attestation (~> 0.4.0)
|
2023-02-17 20:06:24 +11:00
|
|
|
tpm-key_attestation (~> 0.12.0)
|
2022-04-08 14:44:40 +10:00
|
|
|
webfinger (1.2.0)
|
2022-03-09 22:07:35 +11:00
|
|
|
activesupport
|
|
|
|
httpclient (>= 2.4)
|
2024-05-25 00:44:00 +10:00
|
|
|
webmock (3.23.1)
|
2021-08-17 13:49:00 +10:00
|
|
|
addressable (>= 2.8.0)
|
2016-02-29 07:22:56 +11:00
|
|
|
crack (>= 0.3.2)
|
2019-06-17 22:17:45 +10:00
|
|
|
hashdiff (>= 0.4.0, < 2.0.0)
|
2023-02-08 02:39:02 +11:00
|
|
|
webpacker (5.4.4)
|
2020-05-09 01:52:54 +10:00
|
|
|
activesupport (>= 5.2)
|
2017-09-27 22:41:54 +10:00
|
|
|
rack-proxy (>= 0.6.1)
|
2020-05-09 01:52:54 +10:00
|
|
|
railties (>= 5.2)
|
|
|
|
semantic_range (>= 2.3.0)
|
2023-10-24 04:58:29 +11:00
|
|
|
webrick (1.8.1)
|
2023-09-26 18:47:34 +10:00
|
|
|
websocket (1.2.10)
|
2023-08-10 18:44:00 +10:00
|
|
|
websocket-driver (0.7.6)
|
2016-08-18 01:56:23 +10:00
|
|
|
websocket-extensions (>= 0.1.0)
|
2020-06-06 07:56:06 +10:00
|
|
|
websocket-extensions (0.1.5)
|
2019-12-03 00:58:07 +11:00
|
|
|
wisper (2.0.1)
|
2022-08-06 16:47:17 +10:00
|
|
|
xorcist (1.1.3)
|
2018-10-25 01:22:18 +11:00
|
|
|
xpath (3.2.0)
|
2018-04-12 22:45:17 +10:00
|
|
|
nokogiri (~> 1.8)
|
2024-06-20 17:42:28 +10:00
|
|
|
zeitwerk (2.6.16)
|
2016-02-21 08:53:20 +11:00
|
|
|
|
|
|
|
PLATFORMS
|
New Crowdin updates (#19297)
* New translations en.yml (Corsican)
* New translations en.yml (Kabyle)
* New translations en.yml (Taigi)
* New translations simple_form.en.yml (Vietnamese)
* New translations en.yml (Standard Moroccan Tamazight)
* New translations simple_form.en.yml (Sinhala)
* New translations en.yml (Asturian)
* New translations activerecord.en.yml (Bulgarian)
* New translations simple_form.en.yml (Hebrew)
* New translations simple_form.en.yml (Finnish)
* New translations activerecord.en.yml (Finnish)
* New translations devise.en.yml (Finnish)
* New translations activerecord.en.yml (Hebrew)
* New translations activerecord.en.yml (Basque)
* New translations devise.en.yml (Hebrew)
* New translations simple_form.en.yml (Hungarian)
* New translations activerecord.en.yml (Hungarian)
* New translations devise.en.yml (Hungarian)
* New translations simple_form.en.yml (Armenian)
* New translations activerecord.en.yml (Armenian)
* New translations devise.en.yml (Armenian)
* New translations devise.en.yml (Basque)
* New translations simple_form.en.yml (Basque)
* New translations devise.en.yml (Bulgarian)
* New translations simple_form.en.yml (Catalan)
* New translations activerecord.en.yml (Catalan)
* New translations devise.en.yml (Catalan)
* New translations devise.en.yml (Czech)
* New translations simple_form.en.yml (Danish)
* New translations activerecord.en.yml (Danish)
* New translations devise.en.yml (Danish)
* New translations simple_form.en.yml (German)
* New translations activerecord.en.yml (German)
* New translations devise.en.yml (German)
* New translations simple_form.en.yml (Greek)
* New translations activerecord.en.yml (Greek)
* New translations devise.en.yml (Greek)
* New translations simple_form.en.yml (Frisian)
* New translations activerecord.en.yml (Frisian)
* New translations devise.en.yml (Frisian)
* New translations simple_form.en.yml (Italian)
* New translations activerecord.en.yml (Italian)
* New translations activerecord.en.yml (Portuguese)
* New translations activerecord.en.yml (Polish)
* New translations devise.en.yml (Polish)
* New translations simple_form.en.yml (Portuguese)
* New translations devise.en.yml (Portuguese)
* New translations activerecord.en.yml (Norwegian)
* New translations simple_form.en.yml (Russian)
* New translations activerecord.en.yml (Russian)
* New translations devise.en.yml (Russian)
* New translations simple_form.en.yml (Slovak)
* New translations activerecord.en.yml (Slovak)
* New translations devise.en.yml (Slovak)
* New translations simple_form.en.yml (Slovenian)
* New translations devise.en.yml (Norwegian)
* New translations simple_form.en.yml (Norwegian)
* New translations devise.en.yml (Italian)
* New translations activerecord.en.yml (Korean)
* New translations simple_form.en.yml (Japanese)
* New translations activerecord.en.yml (Japanese)
* New translations devise.en.yml (Japanese)
* New translations simple_form.en.yml (Georgian)
* New translations activerecord.en.yml (Georgian)
* New translations devise.en.yml (Georgian)
* New translations simple_form.en.yml (Korean)
* New translations devise.en.yml (Korean)
* New translations devise.en.yml (Dutch)
* New translations activerecord.en.yml (Slovenian)
* New translations devise.en.yml (Slovenian)
* New translations devise.en.yml (Urdu (Pakistan))
* New translations devise.en.yml (Chinese Traditional)
* New translations activerecord.en.yml (Chinese Traditional)
* New translations devise.en.yml (Chinese Simplified)
* New translations activerecord.en.yml (Chinese Simplified)
* New translations devise.en.yml (Ukrainian)
* New translations activerecord.en.yml (Ukrainian)
* New translations simple_form.en.yml (Ukrainian)
* New translations simple_form.en.yml (Chinese Traditional)
* New translations devise.en.yml (Turkish)
* New translations activerecord.en.yml (Serbian (Cyrillic))
* New translations activerecord.en.yml (Turkish)
* New translations simple_form.en.yml (Albanian)
* New translations activerecord.en.yml (Albanian)
* New translations devise.en.yml (Albanian)
* New translations simple_form.en.yml (Serbian (Cyrillic))
* New translations devise.en.yml (Serbian (Cyrillic))
* New translations simple_form.en.yml (Swedish)
* New translations activerecord.en.yml (Swedish)
* New translations devise.en.yml (Swedish)
* New translations simple_form.en.yml (Turkish)
* New translations devise.en.yml (Icelandic)
* New translations activerecord.en.yml (Indonesian)
* New translations simple_form.en.yml (Indonesian)
* New translations devise.en.yml (Portuguese, Brazilian)
* New translations activerecord.en.yml (Portuguese, Brazilian)
* New translations simple_form.en.yml (Portuguese, Brazilian)
* New translations activerecord.en.yml (Vietnamese)
* New translations activerecord.en.yml (Icelandic)
* New translations simple_form.en.yml (Icelandic)
* New translations devise.en.yml (Galician)
* New translations simple_form.en.yml (Galician)
* New translations devise.en.yml (Vietnamese)
* New translations devise.en.yml (Indonesian)
* New translations simple_form.en.yml (Kazakh)
* New translations simple_form.en.yml (Croatian)
* New translations activerecord.en.yml (Croatian)
* New translations devise.en.yml (Croatian)
* New translations simple_form.en.yml (Norwegian Nynorsk)
* New translations activerecord.en.yml (Norwegian Nynorsk)
* New translations devise.en.yml (Norwegian Nynorsk)
* New translations activerecord.en.yml (Kazakh)
* New translations activerecord.en.yml (Thai)
* New translations devise.en.yml (Kazakh)
* New translations simple_form.en.yml (Estonian)
* New translations activerecord.en.yml (Estonian)
* New translations devise.en.yml (Estonian)
* New translations simple_form.en.yml (Latvian)
* New translations activerecord.en.yml (Latvian)
* New translations devise.en.yml (Latvian)
* New translations devise.en.yml (Thai)
* New translations simple_form.en.yml (Thai)
* New translations simple_form.en.yml (Persian)
* New translations activerecord.en.yml (Persian)
* New translations devise.en.yml (Persian)
* New translations simple_form.en.yml (Tamil)
* New translations activerecord.en.yml (Tamil)
* New translations devise.en.yml (Tamil)
* New translations simple_form.en.yml (Spanish, Argentina)
* New translations activerecord.en.yml (Spanish, Argentina)
* New translations devise.en.yml (Spanish, Argentina)
* New translations simple_form.en.yml (Spanish, Mexico)
* New translations activerecord.en.yml (Spanish, Mexico)
* New translations devise.en.yml (Spanish, Mexico)
* New translations simple_form.en.yml (Bengali)
* New translations activerecord.en.yml (Bengali)
* New translations devise.en.yml (Bengali)
* New translations activerecord.en.yml (Marathi)
* New translations activerecord.en.yml (Hindi)
* New translations devise.en.yml (Malayalam)
* New translations activerecord.en.yml (Chinese Traditional, Hong Kong)
* New translations devise.en.yml (Chinese Traditional, Hong Kong)
* New translations simple_form.en.yml (Tatar)
* New translations activerecord.en.yml (Tatar)
* New translations devise.en.yml (Tatar)
* New translations simple_form.en.yml (Malayalam)
* New translations activerecord.en.yml (Malayalam)
* New translations simple_form.en.yml (Breton)
* New translations activerecord.en.yml (Breton)
* New translations devise.en.yml (Breton)
* New translations activerecord.en.yml (Sinhala)
* New translations devise.en.yml (Sinhala)
* New translations simple_form.en.yml (Chinese Traditional, Hong Kong)
* New translations devise.en.yml (Hindi)
* New translations simple_form.en.yml (Welsh)
* New translations activerecord.en.yml (Welsh)
* New translations devise.en.yml (Welsh)
* New translations simple_form.en.yml (Esperanto)
* New translations activerecord.en.yml (Esperanto)
* New translations devise.en.yml (Esperanto)
* New translations simple_form.en.yml (Corsican)
* New translations activerecord.en.yml (Corsican)
* New translations devise.en.yml (Corsican)
* New translations simple_form.en.yml (Sardinian)
* New translations activerecord.en.yml (Sardinian)
* New translations devise.en.yml (Sardinian)
* New translations devise.en.yml (Sorani (Kurdish))
* New translations simple_form.en.yml (Kabyle)
* New translations activerecord.en.yml (Kabyle)
* New translations devise.en.yml (Kabyle)
* New translations simple_form.en.yml (Ido)
* New translations activerecord.en.yml (Ido)
* New translations devise.en.yml (Ido)
* New translations activerecord.en.yml (Sorani (Kurdish))
* New translations simple_form.en.yml (Occitan)
* New translations devise.en.yml (Kannada)
* New translations simple_form.en.yml (Scottish Gaelic)
* New translations activerecord.en.yml (Scottish Gaelic)
* New translations devise.en.yml (Scottish Gaelic)
* New translations simple_form.en.yml (Asturian)
* New translations activerecord.en.yml (Asturian)
* New translations devise.en.yml (Asturian)
* New translations activerecord.en.yml (Occitan)
* New translations simple_form.en.yml (Sorani (Kurdish))
* New translations devise.en.yml (Occitan)
* New translations simple_form.en.yml (Serbian (Latin))
* New translations activerecord.en.yml (Serbian (Latin))
* New translations devise.en.yml (Serbian (Latin))
* New translations simple_form.en.yml (Kurmanji (Kurdish))
* New translations activerecord.en.yml (Kurmanji (Kurdish))
* New translations devise.en.yml (Kurmanji (Kurdish))
* New translations simple_form.en.yml (Standard Moroccan Tamazight)
* New translations activerecord.en.yml (Standard Moroccan Tamazight)
* New translations devise.en.yml (Standard Moroccan Tamazight)
* New translations en.yml (Chinese Simplified)
* New translations en.yml (Russian)
* New translations en.json (Chinese Simplified)
* New translations en.yml (Icelandic)
* New translations en.yml (Vietnamese)
* New translations en.yml (Turkish)
* New translations en.yml (Spanish)
* New translations en.yml (Ukrainian)
* New translations en.yml (Hungarian)
* New translations en.yml (Hungarian)
* New translations en.yml (Czech)
* New translations en.yml (Albanian)
* New translations en.json (Polish)
* New translations en.yml (Polish)
* New translations en.json (French)
* New translations en.yml (French)
* New translations simple_form.en.yml (French)
* New translations en.json (French)
* New translations en.yml (French)
* New translations en.yml (Thai)
* New translations en.yml (Greek)
* New translations en.yml (Catalan)
* New translations en.yml (Danish)
* New translations en.yml (Hebrew)
* New translations en.yml (Hungarian)
* New translations en.yml (French)
* New translations en.yml (German)
* New translations en.yml (Czech)
* New translations en.yml (Chinese Simplified)
* New translations en.yml (Ido)
* New translations en.yml (Spanish)
* New translations en.yml (Turkish)
* New translations en.yml (Albanian)
* New translations en.yml (Ukrainian)
* New translations en.yml (Chinese Traditional)
* New translations en.yml (Slovenian)
* New translations en.yml (Vietnamese)
* New translations en.yml (Galician)
* New translations en.yml (Icelandic)
* New translations en.yml (Dutch)
* New translations en.yml (Italian)
* New translations en.yml (Japanese)
* New translations en.yml (Korean)
* New translations en.yml (Polish)
* New translations en.yml (Portuguese)
* New translations en.yml (Russian)
* New translations en.yml (Scottish Gaelic)
* New translations en.yml (Asturian)
* New translations en.yml (Spanish, Argentina)
* New translations en.yml (Spanish, Mexico)
* New translations en.yml (Latvian)
* New translations en.yml (Kurmanji (Kurdish))
* Fix platform-specific code
* Run `yarn manage:translations`
* Run `bundle exec i18n-tasks normalize`
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-10-08 15:34:58 +11:00
|
|
|
ruby
|
2016-02-21 08:53:20 +11:00
|
|
|
|
|
|
|
DEPENDENCIES
|
2017-07-07 12:02:06 +10:00
|
|
|
active_model_serializers (~> 0.10)
|
2021-07-08 15:35:20 +10:00
|
|
|
addressable (~> 2.8)
|
2022-02-13 10:04:32 +11:00
|
|
|
annotate (~> 3.2)
|
2023-06-01 17:45:10 +10:00
|
|
|
aws-sdk-s3 (~> 1.123)
|
2023-05-04 13:22:50 +10:00
|
|
|
better_errors (~> 2.9)
|
2021-01-07 16:10:49 +11:00
|
|
|
binding_of_caller (~> 1.0)
|
2019-04-27 11:24:09 +10:00
|
|
|
blurhash (~> 0.1)
|
2024-02-06 23:52:28 +11:00
|
|
|
bootsnap (~> 1.18.0)
|
2023-07-11 23:23:57 +10:00
|
|
|
brakeman (~> 6.0)
|
2017-06-26 00:54:30 +10:00
|
|
|
browser
|
2021-09-19 15:44:27 +10:00
|
|
|
bundler-audit (~> 0.9)
|
2023-04-05 21:29:14 +10:00
|
|
|
capybara (~> 3.39)
|
2019-11-27 13:53:50 +11:00
|
|
|
charlock_holmes (~> 0.7.7)
|
2023-04-12 21:47:38 +10:00
|
|
|
chewy (~> 7.3)
|
2024-01-26 02:18:15 +11:00
|
|
|
climate_control
|
Revamp post filtering system (#18058)
* Add model for custom filter keywords
* Use CustomFilterKeyword internally
Does not change the API
* Fix /filters/edit and /filters/new
* Add migration tests
* Remove whole_word column from custom_filters (covered by custom_filter_keywords)
* Redesign /filters
Instead of a list, present a card that displays more information and handles
multiple keywords per filter.
* Redesign /filters/new and /filters/edit to add and remove keywords
This adds a new gem dependency: cocoon, as well as a npm dependency:
cocoon-js-vanilla. Those are used to easily populate and remove form fields
from the user interface when manipulating multiple keyword filters at once.
* Add /api/v2/filters to edit filter with multiple keywords
Entities:
- `Filter`: `id`, `title`, `filter_action` (either `hide` or `warn`), `context`
`keywords`
- `FilterKeyword`: `id`, `keyword`, `whole_word`
API endpoits:
- `GET /api/v2/filters` to list filters (including keywords)
- `POST /api/v2/filters` to create a new filter
`keywords_attributes` can also be passed to create keywords in one request
- `GET /api/v2/filters/:id` to read a particular filter
- `PUT /api/v2/filters/:id` to update a new filter
`keywords_attributes` can also be passed to edit, delete or add keywords in
one request
- `DELETE /api/v2/filters/:id` to delete a particular filter
- `GET /api/v2/filters/:id/keywords` to list keywords for a filter
- `POST /api/v2/filters/:filter_id/keywords/:id` to add a new keyword to a
filter
- `GET /api/v2/filter_keywords/:id` to read a particular keyword
- `PUT /api/v2/filter_keywords/:id` to edit a particular keyword
- `DELETE /api/v2/filter_keywords/:id` to delete a particular keyword
* Change from `irreversible` boolean to `action` enum
* Remove irrelevent `irreversible_must_be_within_context` check
* Fix /filters/new and /filters/edit with update for filter_action
* Fix Rubocop/Codeclimate complaining about task names
* Refactor FeedManager#phrase_filtered?
This moves regexp building and filter caching to the `CustomFilter` class.
This does not change the functional behavior yet, but this changes how the
cache is built, doing per-custom_filter regexps so that filters can be matched
independently, while still offering caching.
* Perform server-side filtering and output result in REST API
* Fix numerous filters_changed events being sent when editing multiple keywords at once
* Add some tests
* Use the new API in the WebUI
- use client-side logic for filters we have fetched rules for.
This is so that filter changes can be retroactively applied without
reloading the UI.
- use server-side logic for filters we haven't fetched rules for yet
(e.g. network error, or initial timeline loading)
* Minor optimizations and refactoring
* Perform server-side filtering on the streaming server
* Change the wording of filter action labels
* Fix issues pointed out by linter
* Change design of “Show anyway” link in accordence to review comments
* Drop “irreversible” filtering behavior
* Move /api/v2/filter_keywords to /api/v1/filters/keywords
* Rename `filter_results` attribute to `filtered`
* Rename REST::LegacyFilterSerializer to REST::V1::FilterSerializer
* Fix systemChannelId value in streaming server
* Simplify code by removing client-side filtering code
The simplifcation comes at a cost though: filters aren't retroactively
applied anymore.
2022-06-28 17:42:13 +10:00
|
|
|
cocoon (~> 1.2)
|
2020-07-06 02:28:25 +10:00
|
|
|
color_diff (~> 0.1)
|
2019-01-15 19:24:35 +11:00
|
|
|
concurrent-ruby
|
2019-07-02 08:34:38 +10:00
|
|
|
connection_pool
|
2024-01-10 20:37:31 +11:00
|
|
|
csv (~> 3.2)
|
2023-07-29 07:09:49 +10:00
|
|
|
database_cleaner-active_record
|
2023-11-22 03:41:04 +11:00
|
|
|
debug (~> 1.8)
|
2023-02-21 20:41:28 +11:00
|
|
|
devise (~> 4.9)
|
2024-05-02 19:31:41 +10:00
|
|
|
devise-two-factor
|
2018-09-15 01:42:45 +10:00
|
|
|
devise_pam_authenticatable2 (~> 9.2)
|
2020-03-26 08:48:52 +11:00
|
|
|
discard (~> 1.2)
|
2022-09-11 23:23:56 +10:00
|
|
|
doorkeeper (~> 5.6)
|
2024-04-20 00:25:14 +10:00
|
|
|
dotenv
|
2022-01-19 13:04:11 +11:00
|
|
|
ed25519 (~> 1.3)
|
2023-11-17 20:50:19 +11:00
|
|
|
email_spec
|
2022-07-30 02:27:12 +10:00
|
|
|
fabrication (~> 2.30)
|
2023-04-18 18:39:46 +10:00
|
|
|
faker (~> 3.2)
|
2017-05-11 19:27:01 +10:00
|
|
|
fast_blank (~> 1.0)
|
2018-02-21 13:40:12 +11:00
|
|
|
fastimage
|
2024-06-27 17:42:57 +10:00
|
|
|
flatware-rspec
|
2022-12-20 21:08:22 +11:00
|
|
|
fog-core (<= 2.4.0)
|
2023-11-09 20:06:57 +11:00
|
|
|
fog-openstack (~> 1.0)
|
2019-11-12 00:05:16 +11:00
|
|
|
fuubar (~> 2.5)
|
2023-02-13 14:59:30 +11:00
|
|
|
haml-rails (~> 2.0)
|
2023-03-15 14:15:36 +11:00
|
|
|
haml_lint
|
2023-05-17 07:27:35 +10:00
|
|
|
hcaptcha (~> 7.1)
|
2017-05-11 19:27:01 +10:00
|
|
|
hiredis (~> 0.6)
|
|
|
|
htmlentities (~> 4.3)
|
2024-04-23 00:02:47 +10:00
|
|
|
http (~> 5.2.0)
|
2017-05-11 19:27:01 +10:00
|
|
|
http_accept_language (~> 2.1)
|
2024-06-11 00:04:44 +10:00
|
|
|
httplog (~> 1.7.0)
|
2024-05-10 22:34:20 +10:00
|
|
|
i18n
|
2022-04-08 21:14:50 +10:00
|
|
|
i18n-tasks (~> 1.0)
|
2017-07-16 01:24:35 +10:00
|
|
|
idn-ruby
|
2024-03-19 20:03:15 +11:00
|
|
|
inline_svg
|
2023-11-22 03:41:04 +11:00
|
|
|
irb (~> 1.8)
|
2020-01-14 05:01:43 +11:00
|
|
|
json-ld
|
2022-01-25 23:23:42 +11:00
|
|
|
json-ld-preloaded (~> 3.2)
|
2023-04-26 22:57:08 +10:00
|
|
|
json-schema (~> 4.0)
|
2020-05-04 21:53:42 +10:00
|
|
|
kaminari (~> 1.2)
|
2023-06-05 22:40:35 +10:00
|
|
|
kt-paperclip (~> 7.2)
|
2022-03-22 13:30:45 +11:00
|
|
|
letter_opener (~> 1.8)
|
2024-05-15 18:34:50 +10:00
|
|
|
letter_opener_web (~> 3.0)
|
2017-05-11 19:27:01 +10:00
|
|
|
link_header (~> 0.0)
|
2022-04-08 14:40:05 +10:00
|
|
|
lograge (~> 0.12)
|
2024-04-05 18:48:45 +11:00
|
|
|
mail (~> 2.8)
|
2017-07-19 22:44:04 +10:00
|
|
|
mario-redis-lock (~> 1.2)
|
2023-07-19 17:02:49 +10:00
|
|
|
md-paperclip-azure (~> 2.2)
|
2018-02-22 09:21:32 +11:00
|
|
|
memory_profiler
|
2023-08-10 18:24:34 +10:00
|
|
|
mime-types (~> 3.5.0)
|
2023-11-08 09:07:12 +11:00
|
|
|
net-http (~> 0.4.0)
|
2023-04-11 20:53:13 +10:00
|
|
|
net-ldap (~> 0.18)
|
2023-05-30 17:42:41 +10:00
|
|
|
nokogiri (~> 1.15)
|
2024-02-06 20:33:11 +11:00
|
|
|
nsa
|
2023-02-18 16:21:10 +11:00
|
|
|
oj (~> 3.14)
|
2023-08-08 16:57:18 +10:00
|
|
|
omniauth (~> 2.0)
|
2024-01-13 09:39:23 +11:00
|
|
|
omniauth-cas (~> 3.0.0.beta.1)
|
2023-08-08 16:57:18 +10:00
|
|
|
omniauth-rails_csrf_protection (~> 1.0)
|
|
|
|
omniauth-saml (~> 2.0)
|
2023-03-08 21:44:23 +11:00
|
|
|
omniauth_openid_connect (~> 0.6.1)
|
2024-05-24 23:13:23 +10:00
|
|
|
opentelemetry-api (~> 1.2.5)
|
2024-06-22 02:14:41 +10:00
|
|
|
opentelemetry-exporter-otlp (~> 0.28.0)
|
2024-05-10 22:40:20 +10:00
|
|
|
opentelemetry-instrumentation-active_job (~> 0.7.1)
|
|
|
|
opentelemetry-instrumentation-active_model_serializers (~> 0.20.1)
|
|
|
|
opentelemetry-instrumentation-concurrent_ruby (~> 0.21.2)
|
|
|
|
opentelemetry-instrumentation-excon (~> 0.22.0)
|
|
|
|
opentelemetry-instrumentation-faraday (~> 0.24.1)
|
|
|
|
opentelemetry-instrumentation-http (~> 0.23.2)
|
|
|
|
opentelemetry-instrumentation-http_client (~> 0.22.3)
|
|
|
|
opentelemetry-instrumentation-net_http (~> 0.22.4)
|
|
|
|
opentelemetry-instrumentation-pg (~> 0.27.1)
|
|
|
|
opentelemetry-instrumentation-rack (~> 0.24.1)
|
|
|
|
opentelemetry-instrumentation-rails (~> 0.30.0)
|
|
|
|
opentelemetry-instrumentation-redis (~> 0.25.3)
|
|
|
|
opentelemetry-instrumentation-sidekiq (~> 0.25.2)
|
|
|
|
opentelemetry-sdk (~> 1.4)
|
2020-12-30 02:08:06 +11:00
|
|
|
ox (~> 2.14)
|
2019-07-27 12:42:08 +10:00
|
|
|
parslet
|
2023-04-27 01:46:01 +10:00
|
|
|
pg (~> 1.5)
|
2023-01-23 09:09:02 +11:00
|
|
|
pghero
|
2018-01-16 13:29:11 +11:00
|
|
|
premailer-rails
|
2023-12-06 21:19:24 +11:00
|
|
|
propshaft
|
2024-06-22 05:37:22 +10:00
|
|
|
public_suffix (~> 6.0)
|
2023-06-01 22:27:58 +10:00
|
|
|
puma (~> 6.3)
|
2022-12-20 21:08:53 +11:00
|
|
|
pundit (~> 2.3)
|
2023-04-27 01:45:49 +10:00
|
|
|
rack (~> 2.2.7)
|
2022-03-12 19:23:53 +11:00
|
|
|
rack-attack (~> 6.6)
|
2023-03-21 12:42:34 +11:00
|
|
|
rack-cors (~> 2.0)
|
2023-03-16 12:33:26 +11:00
|
|
|
rack-test (~> 2.1)
|
2023-10-24 04:58:29 +11:00
|
|
|
rails (~> 7.1.1)
|
2017-05-11 19:27:01 +10:00
|
|
|
rails-controller-testing (~> 1.0)
|
2023-07-13 17:36:07 +10:00
|
|
|
rails-i18n (~> 7.0)
|
2022-01-27 22:25:18 +11:00
|
|
|
rdf-normalize (~> 0.5)
|
2023-02-01 21:19:30 +11:00
|
|
|
redcarpet (~> 3.6)
|
2021-10-20 11:49:36 +11:00
|
|
|
redis (~> 4.5)
|
2022-12-27 11:52:15 +11:00
|
|
|
redis-namespace (~> 1.10)
|
2023-05-23 17:25:43 +10:00
|
|
|
rqrcode (~> 2.2)
|
2023-10-18 03:28:09 +11:00
|
|
|
rspec-github (~> 2.4)
|
2023-03-03 01:55:37 +11:00
|
|
|
rspec-rails (~> 6.0)
|
2024-05-16 17:43:31 +10:00
|
|
|
rspec-sidekiq (~> 5.0)
|
linting: RuboCop update, config fixes (#20574)
* fix(rubocop): update gems and add performance and rspec
fix(rubocop): update gems and add performance and rspec
- update present rubocop gems
- add rubocop-rspec and rubocop-performance gems
- move rubocop gems to gem group :development, :test in order to
make linting in a github action that runs with RAILS_ENV=test possible
* feat(rubocop): disable some annoyance RSpec cops
To mee these prooved to be more annoying than helpful.
If not agreed, they can be enabled any time.
* fix(rubocop): do not ignore spec/**/*
Because rubocop-rspec should lint the specs as well, and they
deserve to be readable in general. It is relevant code, after all.
* fix(rubocop): change ignore db/**/* to db/schema.rb
because rails cops do some lints for migrations.
E.g. reversable migrations linting and more.
* fix(rubocop): tune rules configs
Bunch of commits squashed:
fix(rubocop): enable Layout/LineLength cop
Because this project has code with line lenghts > 500 chars.
This is not good practice at all, so I strongly suggest to
change the practice in the future.
But allow heredoc, URI and comments to still be long lines
and make the default Max: 120 explicit, by repeating it in the
config. To me this max length seems reasonable. Perhaps
a bit more could be ok for some. But > 500 chars in one line
Seems to be way too long IMHO.
fix(rubocop): Metrics/CyclomaticComplexity Max to 12
The default is 7, perhaps quite strict. But 25 is too loose,
the rule becomes pointless like that.
fix(rubocop): AllCops ruby version, cacheing and more info
- fix the target ruby version from 2.5 to 3.0
- have the cop error messages to be more informative and helpful
- enable cacheing in /tmp
fix(rubocop): Metrics/AbcSize to 34 from 115
Rubocops default is 17. If the rule is at 115 is becomes
pointless.
fix(rubocop): Metrics/BlockLength improvements
- instead of ignoring tasks completely, ignore only the
long blocks that are specific to tasks (task, namespace)
- ignore also concern specific block methods (included, class_methods)
fix(rubocop): Metrics/ClassLength count heredoc array as one line
fix(rubocop): Metrics/MethodLength Max to 25
- the default is 10, but 65 is too loose, so perhaps 25?
fix(rubocop): Metrics/ModuleLength array and heredoc count as one
fix(rubocop): Metrics/PerceivedComplexity to 16 from 25
Rubocops default is 8, so how about only doubling that, instead
of > than tripple it?
fix(rubocop): enable Style/RedundantAssignment
Because I think that this rule would never really hurt,
but improve code quality and readability.
fix(rubocop): enable Style/RescueStandardError
I think everyone that ever had to debug what this can bring
will hopefully agree that this rule totally makes sense.
In the super rare exeptions where this is totally needed,
it can be excluded by disabling comment in that place.
fix(rubocop): Metrics/ParameterLists add explicit defaults and some excludes
2022-12-16 02:39:59 +11:00
|
|
|
rubocop
|
2023-03-17 20:13:28 +11:00
|
|
|
rubocop-capybara
|
linting: RuboCop update, config fixes (#20574)
* fix(rubocop): update gems and add performance and rspec
fix(rubocop): update gems and add performance and rspec
- update present rubocop gems
- add rubocop-rspec and rubocop-performance gems
- move rubocop gems to gem group :development, :test in order to
make linting in a github action that runs with RAILS_ENV=test possible
* feat(rubocop): disable some annoyance RSpec cops
To mee these prooved to be more annoying than helpful.
If not agreed, they can be enabled any time.
* fix(rubocop): do not ignore spec/**/*
Because rubocop-rspec should lint the specs as well, and they
deserve to be readable in general. It is relevant code, after all.
* fix(rubocop): change ignore db/**/* to db/schema.rb
because rails cops do some lints for migrations.
E.g. reversable migrations linting and more.
* fix(rubocop): tune rules configs
Bunch of commits squashed:
fix(rubocop): enable Layout/LineLength cop
Because this project has code with line lenghts > 500 chars.
This is not good practice at all, so I strongly suggest to
change the practice in the future.
But allow heredoc, URI and comments to still be long lines
and make the default Max: 120 explicit, by repeating it in the
config. To me this max length seems reasonable. Perhaps
a bit more could be ok for some. But > 500 chars in one line
Seems to be way too long IMHO.
fix(rubocop): Metrics/CyclomaticComplexity Max to 12
The default is 7, perhaps quite strict. But 25 is too loose,
the rule becomes pointless like that.
fix(rubocop): AllCops ruby version, cacheing and more info
- fix the target ruby version from 2.5 to 3.0
- have the cop error messages to be more informative and helpful
- enable cacheing in /tmp
fix(rubocop): Metrics/AbcSize to 34 from 115
Rubocops default is 17. If the rule is at 115 is becomes
pointless.
fix(rubocop): Metrics/BlockLength improvements
- instead of ignoring tasks completely, ignore only the
long blocks that are specific to tasks (task, namespace)
- ignore also concern specific block methods (included, class_methods)
fix(rubocop): Metrics/ClassLength count heredoc array as one line
fix(rubocop): Metrics/MethodLength Max to 25
- the default is 10, but 65 is too loose, so perhaps 25?
fix(rubocop): Metrics/ModuleLength array and heredoc count as one
fix(rubocop): Metrics/PerceivedComplexity to 16 from 25
Rubocops default is 8, so how about only doubling that, instead
of > than tripple it?
fix(rubocop): enable Style/RedundantAssignment
Because I think that this rule would never really hurt,
but improve code quality and readability.
fix(rubocop): enable Style/RescueStandardError
I think everyone that ever had to debug what this can bring
will hopefully agree that this rule totally makes sense.
In the super rare exeptions where this is totally needed,
it can be excluded by disabling comment in that place.
fix(rubocop): Metrics/ParameterLists add explicit defaults and some excludes
2022-12-16 02:39:59 +11:00
|
|
|
rubocop-performance
|
|
|
|
rubocop-rails
|
|
|
|
rubocop-rspec
|
2024-06-12 22:59:32 +10:00
|
|
|
rubocop-rspec_rails
|
2023-07-29 07:16:23 +10:00
|
|
|
ruby-prof
|
2023-04-25 03:07:45 +10:00
|
|
|
ruby-progressbar (~> 1.13)
|
2024-06-06 05:15:39 +10:00
|
|
|
ruby-vips (~> 2.2)
|
2023-05-02 23:09:43 +10:00
|
|
|
rubyzip (~> 2.3)
|
2021-08-10 04:46:57 +10:00
|
|
|
sanitize (~> 6.0)
|
2022-12-20 21:10:09 +11:00
|
|
|
scenic (~> 1.7)
|
2023-07-29 07:09:49 +10:00
|
|
|
selenium-webdriver
|
2022-07-06 10:11:00 +10:00
|
|
|
sidekiq (~> 6.5)
|
2018-11-22 22:47:36 +11:00
|
|
|
sidekiq-bulk (~> 0.2.0)
|
2023-02-13 23:31:42 +11:00
|
|
|
sidekiq-scheduler (~> 5.0)
|
2021-07-01 01:45:49 +10:00
|
|
|
sidekiq-unique-jobs (~> 7.1)
|
2022-06-03 13:53:13 +10:00
|
|
|
simple-navigation (~> 4.4)
|
2023-02-01 21:07:16 +11:00
|
|
|
simple_form (~> 5.2)
|
2022-12-27 11:37:19 +11:00
|
|
|
simplecov (~> 0.22)
|
2023-11-15 03:53:38 +11:00
|
|
|
simplecov-lcov (~> 0.8)
|
2018-05-03 02:58:48 +10:00
|
|
|
stackprof
|
2024-04-03 02:47:40 +11:00
|
|
|
stoplight (~> 4.1)
|
2024-03-22 05:09:26 +11:00
|
|
|
strong_migrations (= 1.8.0)
|
2023-07-29 07:16:23 +10:00
|
|
|
test-prof
|
2022-01-19 13:07:37 +11:00
|
|
|
thor (~> 1.2)
|
2020-12-30 02:08:23 +11:00
|
|
|
tty-prompt (~> 0.23)
|
2021-03-02 22:02:56 +11:00
|
|
|
twitter-text (~> 3.1.0)
|
2023-03-29 19:32:51 +11:00
|
|
|
tzinfo-data (~> 1.2023)
|
2023-02-17 20:06:24 +11:00
|
|
|
webauthn (~> 3.0)
|
2022-08-19 10:27:53 +10:00
|
|
|
webmock (~> 3.18)
|
2021-05-27 18:48:18 +10:00
|
|
|
webpacker (~> 5.4)
|
2022-08-18 07:06:48 +10:00
|
|
|
webpush!
|
Add follower synchronization mechanism (#14510)
* Add support for followers synchronization on the receiving end
Check the `collectionSynchronization` attribute on `Create` and `Announce`
activities and synchronize followers from provided collection if possible.
* Add tests for followers synchronization on the receiving end
* Add support for follower synchronization on the sender's end
* Add tests for the sending end
* Switch from AS attributes to HTTP header
Replace the custom `collectionSynchronization` ActivityStreams attribute by
an HTTP header (`X-AS-Collection-Synchronization`) with the same syntax as
the `Signature` header and the following fields:
- `collectionId` to specify which collection to synchronize
- `digest` for the SHA256 hex-digest of the list of followers known on the
receiving instance (where “receiving instance” is determined by accounts
sharing the same host name for their ActivityPub actor `id`)
- `url` of a collection that should be fetched by the instance actor
Internally, move away from the webfinger-based `domain` attribute and use
account `uri` prefix to group accounts.
* Add environment variable to disable followers synchronization
Since the whole mechanism relies on some new preconditions that, in some
extremely rare cases, might not be met, add an environment variable
(DISABLE_FOLLOWERS_SYNCHRONIZATION) to disable the mechanism altogether and
avoid followers being incorrectly removed.
The current conditions are:
1. all managed accounts' actor `id` and inbox URL have the same URI scheme and
netloc.
2. all accounts whose actor `id` or inbox URL share the same URI scheme and
netloc as a managed account must be managed by the same Mastodon instance
as well.
As far as Mastodon is concerned, breaking those preconditions require extensive
configuration changes in the reverse proxy and might also cause other issues.
Therefore, this environment variable provides a way out for people with highly
unusual configurations, and can be safely ignored for the overwhelming majority
of Mastodon administrators.
* Only set follower synchronization header on non-public statuses
This is to avoid unnecessary computations and allow Follow-related
activities to be handled by the usual codepath instead of going through
the synchronization mechanism (otherwise, any Follow/Undo/Accept activity
would trigger the synchronization mechanism even if processing the activity
itself would be enough to re-introduce synchronization)
* Change how ActivityPub::SynchronizeFollowersService handles follow requests
If the remote lists a local follower which we only know has sent a follow
request, consider the follow request as accepted instead of sending an Undo.
* Integrate review feeback
- rename X-AS-Collection-Synchronization to Collection-Synchronization
- various minor refactoring and code style changes
* Only select required fields when computing followers_hash
* Use actor URI rather than webfinger domain in synchronization endpoint
* Change hash computation to be a XOR of individual hashes
Makes it much easier to be memory-efficient, and avoid sorting discrepancy issues.
* Marginally improve followers_hash computation speed
* Further improve hash computation performances by using pluck_each
2020-10-22 03:04:09 +11:00
|
|
|
xorcist (~> 1.1)
|
2023-06-10 00:34:36 +10:00
|
|
|
|
|
|
|
RUBY VERSION
|
2024-06-04 01:16:46 +10:00
|
|
|
ruby 3.3.2p78
|
2023-06-10 00:34:36 +10:00
|
|
|
|
|
|
|
BUNDLED WITH
|
2024-06-04 01:16:46 +10:00
|
|
|
2.5.11
|