Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rate limits module and alter webforms canonical route with a custom cache tag. #623

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
d23c7d2
Merge branch 'feature/enabling-translate-button' into develop
baptisten Jul 20, 2021
4e0c35c
Merge branch 'feature/enabling-translate-button' into develop
baptisten Jul 21, 2021
6e1316e
Merge branch 'feature/srl-479-back-button-without-parent-link' into d…
baptisten Jul 21, 2021
d0646d6
Merge pull request #481 from chapter-three/security/sa-core-2021-004
melwong-jcc Jul 21, 2021
5a6d4f4
Merge branch 'master' into develop
robdecker Jul 23, 2021
959b50a
Merge pull request #484 from chapter-three/feature/SRL-485-responsive…
baptisten Jul 26, 2021
c9c31d9
Merge pull request #485 from chapter-three/feature/SRL-485-responsive…
baptisten Jul 26, 2021
6599a74
Merge pull request #488 from chapter-three/feature/tmgmt-auto-accept-…
baptisten Jul 30, 2021
5f6b7f4
Merge pull request #489 from chapter-three/bugfix/SRL-488--missing-ac…
melwong-jcc Jul 31, 2021
89b4365
Merge pull request #490 from chapter-three/bugfix/SRL-488--missing-ac…
melwong-jcc Jul 31, 2021
05aa786
Merge pull request #491 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 2, 2021
bff7fbf
Merge pull request #492 from chapter-three/feature/SRL-494-case-type-…
baptisten Aug 3, 2021
0434989
Merge pull request #493 from chapter-three/feature/SRL-494-case-type-…
baptisten Aug 4, 2021
6678cf5
Merge pull request #494 from chapter-three/feature/SRL-494-case-type-…
baptisten Aug 4, 2021
3e587d7
Merge pull request #498 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 11, 2021
caa16aa
Merge pull request #500 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 12, 2021
6c1b4ce
Merge pull request #501 from chapter-three/update/security-core-update
baptisten Aug 12, 2021
838ff82
Merge pull request #504 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 13, 2021
ff2bcbb
Merge pull request #505 from chapter-three/feature/SRL-496-dynamic-tr…
baptisten Aug 13, 2021
341ec9d
Merge pull request #506 from chapter-three/feature/SRL-496-dynamic-tr…
baptisten Aug 13, 2021
7ea6cfe
Merge pull request #507 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 17, 2021
d450758
Merge pull request #508 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 17, 2021
4f69db3
Merge pull request #509 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 17, 2021
d8c8e99
SRL-443: fixed render conflict with feedback component
melwong-jcc May 29, 2021
f0257c3
Merge pull request #510 from chapter-three/feature/SRL-491-json-rest-ui
baptisten Aug 18, 2021
29fd258
SRL-443: updated courtyard with webform selector change
melwong-jcc Aug 18, 2021
5835418
Merge branch 'feature/SRL-443--update-feedback-chat' into develop
melwong-jcc Aug 18, 2021
f633c2e
SRL-443: fixed render conflict with feedback component
melwong-jcc May 29, 2021
40c74bb
SRL-443: updated courtyard with webform selector change
melwong-jcc Aug 18, 2021
ab5466f
SRL-443: button color correction
melwong-jcc Aug 20, 2021
760fb44
Merge branch 'feature/SRL-443--update-feedback-chat' into develop
melwong-jcc Aug 20, 2021
89f2369
SRL-443: updated courtyad with button and modal fixes
melwong-jcc Aug 20, 2021
5417fd3
Merge pull request #515 from chapter-three/feature/SRL-443--update-fe…
melwong-jcc Aug 21, 2021
6e24233
Merge branch 'bugfix/SRL-490-492--timeline-and-footer' into develop
melwong-jcc Aug 24, 2021
17848d3
SRL-443: updated courtyard with dialog height and chat timing
melwong-jcc Aug 25, 2021
911a7e9
Merge branch 'feature/SRL-443--update-feedback-chat' into develop
melwong-jcc Aug 25, 2021
45d10f0
Merge branch 'feature/SRL-443--update-feedback-chat' into develop
melwong-jcc Aug 26, 2021
f09fc5a
Merge pull request #522 from chapter-three/feature/SRL-443--update-fe…
melwong-jcc Aug 27, 2021
1c43ae2
Merge pull request #523 from chapter-three/feature/SRL-443--update-fe…
melwong-jcc Aug 27, 2021
cf243d9
Merge pull request #525 from chapter-three/bugfix/SRL-506--sendgrid-a…
melwong-jcc Sep 1, 2021
738cf21
Merge pull request #526 from chapter-three/security/SRL-505--module-p…
melwong-jcc Sep 1, 2021
11bbfe2
Merge pull request #527 from chapter-three/bugfix/SRL-506--sendgrid-a…
melwong-jcc Sep 1, 2021
0595819
Merge branch 'feature/SRL-497-implement-case-index' into develop
baptisten Sep 3, 2021
d367f97
Merge branch 'develop' of github.com:chapter-three/jcc-srl into develop
baptisten Sep 3, 2021
ad85c01
manual merge
baptisten Sep 7, 2021
e102742
Merge pull request #531 from chapter-three/feature/SRL-497-implement-…
baptisten Sep 7, 2021
7454862
composer update
baptisten Sep 8, 2021
82f2c61
Merge pull request #534 from chapter-three/feature/SRL-503--youtube-w…
melwong-jcc Sep 8, 2021
9df9552
Merge pull request #535 from chapter-three/feature/SRL-503--youtube-w…
melwong-jcc Sep 8, 2021
b905ef6
merge courtyard
baptisten Sep 8, 2021
a94cf9a
Merge pull request #539 from chapter-three/bugfix/SRL-508--deployment…
melwong-jcc Sep 9, 2021
53d5f50
Merge pull request #540 from chapter-three/feature/SRL-498-webform-js…
baptisten Sep 13, 2021
6cb8643
Merge pull request #541 from chapter-three/feature/SRL-498-webform-js…
baptisten Sep 13, 2021
7aa6b2f
Merge pull request #542 from chapter-three/feature/SRL-507-carrots-fo…
baptisten Sep 14, 2021
03220b2
merged feature/SRL-497-implement-case-index-improvments
baptisten Sep 15, 2021
2c68f90
Merge pull request #544 from chapter-three/feature/SRL-497-implement-…
baptisten Sep 15, 2021
a0b31a6
Merge pull request #546 from chapter-three/updates/SRL-security-updates
baptisten Sep 15, 2021
4b63745
Merge pull request #548 from chapter-three/feature/SRL-497-hero-styling
baptisten Sep 28, 2021
8e1a06c
Merge pull request #549 from chapter-three/feature/SRL-497-hero-styling
baptisten Sep 28, 2021
ae6298b
Merge pull request #550 from chapter-three/feature/SRL-497-hero-styling
baptisten Sep 29, 2021
5d8212f
Merge branch 'feature/SRL-514--livechat-integration' into develop
melwong-jcc Sep 30, 2021
057ff43
Merge pull request #552 from chapter-three/feature/SRL-514--livechat-…
melwong-jcc Oct 4, 2021
d43f0b3
Merge pull request #553 from chapter-three/feature/SRL-514--livechat-…
melwong-jcc Oct 4, 2021
845ebc2
Merge pull request #554 from chapter-three/feature/SRL-514--livechat-…
melwong-jcc Oct 5, 2021
2242ca1
Merge pull request #555 from chapter-three/feature/SRL-514--livechat-…
melwong-jcc Oct 5, 2021
70d7bb9
Merge pull request #558 from chapter-three/fix/dark-backgound-hero-vi…
baptisten Oct 12, 2021
d04bea4
Fix multivalve forms import issue.
minnur Oct 12, 2021
1f7ebe5
Merge pull request #561 from chapter-three/feature/SRL-512-ban-ip-add…
baptisten Oct 12, 2021
d40d611
SRL-521: updated config file for preservation thru deployments
melwong-jcc Oct 12, 2021
118e4ea
Merge pull request #562 from chapter-three/bugfix/SRL-521--email-sett…
melwong-jcc Oct 12, 2021
a0f3e07
Merge pull request #567 from chapter-three/fix/SRL-webform-paragraph-…
baptisten Oct 14, 2021
5870869
Merge pull request #560 from chapter-three/feature/jcc-forms-xlsx-import
robdecker Oct 14, 2021
512d08d
Merge pull request #569 from chapter-three/feature/SRL-477--form-pdf-…
ivanbueno-jcc Oct 15, 2021
ec310cb
Merge pull request #570 from chapter-three/feature/SRL-520-update-rob…
baptisten Oct 19, 2021
79c68ea
Merge pull request #571 from chapter-three/feature/custom-request-tmg…
baptisten Oct 19, 2021
3fcc518
Merge pull request #576 from chapter-three/bugfix/SRL-524--dead-print…
melwong-jcc Oct 27, 2021
f1a92df
Merge branch 'feature/SRL-523--module-maintenance' into develop
melwong-jcc Oct 27, 2021
1fbe043
Merge pull request #581 from chapter-three/feature/SRL-525--print-sha…
melwong-jcc Nov 3, 2021
f444dfc
Merge pull request #585 from chapter-three/feature/SRL-522--enable-re…
melwong-jcc Nov 4, 2021
a44dbdb
Merge pull request #586 from chapter-three/feature/SRL-522--enable-re…
melwong-jcc Nov 4, 2021
b942bd0
Merge pull request #587 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 10, 2021
2c07194
Merge pull request #588 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 16, 2021
e9e86e3
Merge pull request #589 from chapter-three/bugfix/SRL-531--remove-sha…
melwong-jcc Nov 17, 2021
4668e6f
Merge pull request #590 from chapter-three/bugfix/SRL-527--banner-lin…
melwong-jcc Nov 17, 2021
a19ce7c
Merge pull request #594 from chapter-three/feature/SRL-532-robotstxt-…
baptisten Nov 22, 2021
3bab312
Merge pull request #595 from chapter-three/feature/SRL-532-robotstxt-…
baptisten Nov 23, 2021
21e1f82
Merge branch 'feature/SRL-526-enable-search-in-develop' into develop
baptisten Nov 23, 2021
78b09d9
Merge pull request #597 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 23, 2021
448410a
Merge pull request #598 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 29, 2021
95fa28e
Merge pull request #599 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 30, 2021
ec32052
Merge pull request #600 from chapter-three/feature/SRL-526-enable-sea…
baptisten Nov 30, 2021
653c6e5
Merge pull request #601 from chapter-three/feature/SRL-526-enable-sea…
baptisten Dec 1, 2021
54c1fad
Merge branch 'bugfix/SRL-543--read-more-text-formatting' into develop
melwong-jcc Dec 1, 2021
1e88d31
Merge branch 'feature/SRL-502--feedback-adjustments' into develop
melwong-jcc Dec 1, 2021
a3aad56
Merge pull request #604 from chapter-three/bugfix/SRL-546--recaptcha-…
melwong-jcc Dec 1, 2021
04b0d05
SRL-545: courtyard v272 with component adjustments
melwong-jcc Dec 1, 2021
4237c93
Merge branch 'feature/SRL-545--chat-visible-on-load' into develop
melwong-jcc Dec 1, 2021
0b3ed32
Merge branch 'bugfix/SRL-528--hero-trail-nav-translation' into develop
melwong-jcc Dec 9, 2021
91da8e8
Merge pull request #609 from chapter-three/feature/SRL-526-enable-sea…
baptisten Dec 9, 2021
9c87cf0
Merge pull request #610 from chapter-three/security/SRL-547--core-update
melwong-jcc Dec 10, 2021
fe9ca75
Merge pull request #613 from chapter-three/hotfix/robotstxt-patch-update
baptisten Dec 15, 2021
019ea6f
Merge branch 'bugfix/SRL-555--chatbot-mobile-placement' into develop
melwong-jcc Dec 17, 2021
caabed9
Merge pull request #620 from chapter-three/bugfix/SRL-555--chatbot-mo…
melwong-jcc Dec 17, 2021
3a9b6cf
Add Rate limits module and alter webforms canonical route with a cust…
minnur Jan 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions composer-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ packages:
drupal/console-core: 1.9.4
drupal/console-en: 1.9.4
drupal/console-extend-plugin: 0.9.3
drupal/core: 8.9.19
drupal/core: 8.9.20
drupal/core-composer-scaffold: 8.9.10
drupal/core-project-message: 8.9.1
drupal/core-recommended: 8.9.19
drupal/core-recommended: 8.9.20
drupal/core-vendor-hardening: 8.9.10
drupal/crop: 2.1.0
drupal/csv_serialization: 2.0.0
Expand Down Expand Up @@ -106,6 +106,7 @@ packages:
drupal/r4032login: 1.1.0
drupal/rabbit_hole: 1.0.0-beta7
drupal/range: 1.2.0
drupal/rate_limits: 2.0.1
drupal/recaptcha: 3.0.0
drupal/redirect: 1.6.0
drupal/restui: 1.20.0
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
"drupal/r4032login": "^1.1",
"drupal/rabbit_hole": "^1.0@beta",
"drupal/range": "^1.1",
"drupal/rate_limits": "^2.0",
"drupal/recaptcha": "^3.0",
"drupal/redirect": "^1.3",
"drupal/restui": "^1.20",
Expand Down
72 changes: 56 additions & 16 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/config-default/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ module:
r4032login: 0
rabbit_hole: 0
range: 0
rate_limits: 0
recaptcha: 0
redirect: 0
responsive_image: 0
Expand Down
20 changes: 20 additions & 0 deletions config/config-default/rate_limits.rate_limit_config.webforms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: 8cb1febd-80f3-432c-887d-535c2f08956f
langcode: en
status: true
dependencies: { }
id: webforms
label: Webforms
user_flood_route:
uid_only: false
ip_limit: 50
ip_window: 3600
user_limit: 5
user_window: 21600
user_flood_global:
uid_only: false
ip_limit: 50
ip_window: 3600
user_limit: 5
user_window: 21600
tags:
- webform_canonical
2 changes: 1 addition & 1 deletion config/config-prod/mimemail.settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
format: basic_html
name: 'JCC SRL'
mail: webdev@jud.ca.gov
mail: no-reply@courtinfo.ca.gov
linkonly: false
textonly: false
sitestyle: true
Expand Down
5 changes: 5 additions & 0 deletions web/modules/custom/jcc_admin/jcc_admin.services.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
jcc_admin.route_subscriber:
class: Drupal\jcc_admin\Routing\RouteSubscriber
tags:
- { name: event_subscriber }
24 changes: 24 additions & 0 deletions web/modules/custom/jcc_admin/src/Routing/RouteSubscriber.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

namespace Drupal\jcc_admin\Routing;

use Drupal\Core\Routing\RouteSubscriberBase;
use Symfony\Component\Routing\RouteCollection;

/**
* See Webform tags.
*/
class RouteSubscriber extends RouteSubscriberBase {

/**
* {@inheritdoc}
*/
protected function alterRoutes(RouteCollection $collection) {
if ($route = $collection->get('entity.webform.canonical')) {
$options = $route->getOptions();
$options['tags'] = ['webform_canonical'];
$route->setOptions($options);
}
}

}