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

unknown command 'client' (Redis::CommandError) after 5.0.3 upgrade. #3518

Closed
mattk42 opened this issue Jun 16, 2017 · 13 comments
Closed

unknown command 'client' (Redis::CommandError) after 5.0.3 upgrade. #3518

mattk42 opened this issue Jun 16, 2017 · 13 comments

Comments

@mattk42
Copy link

mattk42 commented Jun 16, 2017

Ruby version: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
Sidekiq version : 5.0.3

We have run into issues listing queues on our sidekiq instances after upgrading to 5.0.3. Rolling back to 5.0.2 fixes this issue. A simple reproduction case below along with the exception.

test.rb

require 'sidekiq'
require 'sidekiq/api'

Sidekiq.configure_client do |sconfig|
  sconfig.redis = { url: "[REDACTED]" }
end

Sidekiq::Queue.all

output with 5.0.3

 # /opt/sensu/embedded/bin/ruby test.rb
/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:121:in `call': ERR unknown command 'client' (Redis::CommandError)
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:104:in `block in connect'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:293:in `with_reconnect'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:100:in `connect'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:364:in `ensure_connected'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:221:in `block in process'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:306:in `logging'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:220:in `process'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis/client.rb:120:in `call'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis.rb:1398:in `block in smembers'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in `block in synchronize'
	from /opt/sensu/embedded/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis.rb:58:in `synchronize'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/redis-3.3.3/lib/redis.rb:1397:in `smembers'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sidekiq-5.0.3/lib/sidekiq/api.rb:207:in `block in all'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sidekiq-5.0.3/lib/sidekiq.rb:95:in `block in redis'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.1/lib/connection_pool.rb:64:in `block (2 levels) in with'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `handle_interrupt'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.1/lib/connection_pool.rb:63:in `block in with'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `handle_interrupt'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/connection_pool-2.2.1/lib/connection_pool.rb:60:in `with'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sidekiq-5.0.3/lib/sidekiq.rb:92:in `redis'
	from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sidekiq-5.0.3/lib/sidekiq/api.rb:207:in `all'
	from test.rb:8:in `<main>'
@mperham
Copy link
Collaborator

mperham commented Jun 16, 2017

Could you show me the output of redis-cli info?

@mperham
Copy link
Collaborator

mperham commented Jun 16, 2017

I'm thinking you might be using Redis < 2.6.9.

@mattk42
Copy link
Author

mattk42 commented Jun 16, 2017

Sorry for the false alarm. I do have a version of redis that includes the client command but it is currently blocked by the provider of my redis instance. Checking locally I can verify that this is not a problem in a traditional set up.

@mattk42 mattk42 closed this as completed Jun 16, 2017
@vassilevsky
Copy link

vassilevsky commented Jun 19, 2017

It's hard to believe, but it looks like a bug in the Redis gem.

irb(main):006:0> redis = Redis.new(host: 'redacted', port: 6379, db: 2)
=> #<Redis client v3.3.3 for redis://redacted:6379/2>
irb(main):007:0> redis_id = Redis.new(host: 'redacted', port: 6379, db: 2, id: 'trololo')
=> #<Redis client v3.3.3 for trololo>
irb(main):008:0> redis.set('a', 1)
=> "OK"
irb(main):009:0> redis_id.set('a', 1)
Redis::CommandError: ERR unknown command 'client'
	from (irb):9
irb(main):010:0> redis.info['redis_version']
=> "3.2.8"

@mperham
Copy link
Collaborator

mperham commented Jun 19, 2017

@vassilevsky You're right and the ID situation is really messed up there. You can pass in :id but id is also a method on client that gives you the server location. Sounds like the Redis client needs to change the :id symbol to :name or something like that.

@vassilevsky
Copy link

I was wrong. The server really doesn't allow this command.

@vassilevsky
Copy link

If you know the renamed CLIENT command, you can remap it:

redis/redis-rb#586 (comment)

@taxpon
Copy link

taxpon commented May 22, 2018

I am trying to run sidekiq on GKE along with Google Cloud Memorystore (Full-managed redis service). But it turned out that Memorystroe prohibits CLIENT command execution. Does it mean that I can not run redis with Memorystore or is there any workaround to avoid this error?

@vassilevsky
Copy link

Set id: nil in Sidekiq options:

Sidekiq.configure_server do |config|
  config.redis = { url: 'redis://redis.example.com:7372/12', id: nil }
end

Sidekiq.configure_client do |config|
  config.redis = { url: 'redis://redis.example.com:7372/12', id: nil }
end

After that Sidekiq will not issue CLIENT command and it will work.

@vassilevsky
Copy link

I have added this information to https://github.com/mperham/sidekiq/wiki/Using-Redis

@taxpon
Copy link

taxpon commented May 22, 2018

@vassilevsky Very thanks for your quick reply! I will follow your instruction.

@ndbroadbent
Copy link

ndbroadbent commented Mar 6, 2020

Hello, sorry to comment on an old issue. I have been successfully using the workaround in this comment for a while (id: nil). I decided to wrap it in a if ENV['REDIS_DISABLE_CLIENT'].present? condition, so that any of my customers using Redis on Google Cloud could set REDIS_DISABLE_CLIENT=true.

I recently ran into this again. Instead of advising people to set REDIS_DISABLE_CLIENT=true after they run into a crash, I was wondering if there is any downside or danger to just doing this by default? Are there any situations where it's better to use the CLIENT command when possible? Or if the Redis instance is only being used for Sidekiq jobs, then maybe this doesn't matter? Thanks!

@mperham
Copy link
Collaborator

mperham commented Mar 6, 2020

I'm suggesting we disable this feature, it's not worth the trouble. You can comment at #4479.

matthewford added a commit to bitzesty/qavs-v2 that referenced this issue Oct 1, 2021
TheDancingClown added a commit to bitzesty/qavs-v2 that referenced this issue Oct 6, 2021
* accessibility fixes (#206)

* fixes styling of nomination step errors

* adds role to success message

* fixes typos

* amends privacy path

* adds error message to terms checkbox

* changes notice to success flash

* adds aria to password guidance on forms

* adds alert role to step errors

* PR comment

* UPgrading CEditor, Moment and jQuery

* only allow LL to update local assessment step

(vulnerability fix)

* custom qavs scrubber for admin comments

* add pending eligibility state

* clean up js validation and add email validation

* user password change (#205)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* refactor

* fix Eligibility#save_as_eligible and related spec

* filter status updates (#215)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* copy change application in progress state

* copy change ineligible questionnaire state

* copy change submitted state

* copy change nomination not submitted state

* copy change withdrawn state

* fixes spec

* copy change admin eligible state

* copy change admin eligible duplicate state

* copy change admin ineligible states

* fixes specs

* copy change admin ineligible states

* copy change local assessment states

* copy change awarded states

* copy change assessors assigned sub state

* fixes specs

* copy change shortlisted state

* fixes typo

* copy change national assessment not recommended state

* copy change national assessment undecided state

* refactor

* fixes spec

* adds sub status filter for lieutenancy not assigned

* adds citation not submitted sub status

* adds sub filter for garden party not submitted

* removes duplicate test

* refactor

* reverts gemfile.lock changes

* revert error

* adds sub status filter for local assessment not started

* adds duplicate for ref to lieutenant filter

* adds sub filter for final verdict outstanding

* adds eligible duplicate to query

* refactor

* user log in update (#217)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* user name login

* adds name fields to admin/users#new

* fixes spec

* permits name params

* Changing ckeditor init method and preventing link injection

* only display edit status link if it's possible to edit el.status

* password length hint in account details (#221)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* password length hint

* pre sign in page

* copy fix

[ci skip]

* removes paragraph from dashboard (#226)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* removes paragraph

* bug fixes (#228)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* previous award winner eligibility changes

* updates copy on worthy questions

* fixes typo

* fixes repeated content in pdf

* login page content change

* refactor

* settings and email notifier updates (#227)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* updates header

* updates copy

* hides mail notification for award year opening

* updates nomination stage deadline message copy

* adds help message to submission reminder mail notification

* updates formatting changes to registration stage

* adds bold font to mail notification header

* updates submission reminder subject

* copy update and date format for submission reminder mailer

* fixes specs

* removes unused deadline translations

* fixes spec

* updates local assessment deadline copy help

* group leader notification mail content

* updates group leader nomination mail subject

* adds group name to notification mailer

* fixes spec

* fixes spec

* adds link formatting

* adds group name to mail spec

* adds total nominations to preview

* update content for local assessment reminder mail

* restrict local assessment notification to advanced role

* fixes spec

* copy help update for local assessment submission deadline

* adds advanced lieutenant restriction for reminder notification

* reformat

* refactors mail renderer

* hides shortlisted stage - for now

* updates copy for end of embargo deadline

* updates copy for citation form deadline

* updates copy for palace invite deadlines

* add copy for palace attendee deadline

* adds successful group leader preview

* pull in citation date to email

* setup group leader winner notification

* remove strike through

* adding unsuccessful group leader notification

* adds test for group leaders winners mailer

* fixes spec

* adds test for unsuccessful group leader notification

* adds mail content for unsuccessful group leaders

* adds unsuccessful group leader mailer

* fixes typo

* adds new notification kind

* adds mailer for unsuccessful group leaders

* adds preview for unsuccessful group leader notification

* adds tests for group leader renderers

* adds test for notify successful nominations mailer

* increases coverage on mailer tests

* completes successful notifier mail content

* adds winners notification service

* adds winners nominator notification preview

* adds help to winners email notification

* adds unsuccessful mailer

* fixes typo

* adds preview for unsuccessful nominations

* updates copy header and help for unsuccessful nominations

* updates copy header and help for garden party invites

* updates mailer for reception invite

* updates notification service for reception invite

* updates preview content for reception invite

* removes unsuccessful feedback mailer

* removes unsuccessful feedback mailer

* fixes spec

* removes business app mailer

* removes duplicate palace invite mailer

* removes media pack deadline

* removes shortlisted from stages

* fixes spec

* update format for buckingham palace deadline

* remove mailto link from email notifications

* update reminder to submit mailer

* fix time format for minutes

* fix spec

* adds test for group leader mailer

* fix typo

* adds name to account mailers

* removes capitals from stage headers

* fixes spec

* removes shortlisted stage

* placeholder deadlines

* remove incorrect scope

* Update cloudtasker.rb

load schedule

* remove old workers and enable cloudtasker cron on servers

* Bump nokogiri from 1.12.4 to 1.12.5

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* disable services that were not yet tested

* Bump nth-check from 2.0.0 to 2.0.1

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](fb55/nth-check@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* try to use deliver_now instead of deliver_later in ENS

* temp fix for local assessor form (#234)

* bug fixes (#235)

* assign award year for email preview

* removes mailto link from email

* removes QAE pressbook section from winners dashboard

* adds empty option to dropdowns

* checks for empty string on email validation (#236)

* removes palace attendee section (#237)

* removes tags from citation body (#238)

* update useful info page to be consistent with side menu (#240)

* updates pdf logo and header to QAVS (#241)

* removes QAE from pdf title

* updates QAVS award type name

* fixes specs

* fixes specs

* fix specs

* adds new qavs logo

* return of the sidekiq

* adds privacy policy link to emails (#242)

* run sidekiq on gcloud and update readme

* Update README.md

* Update sidekiq.rb

sidekiq/sidekiq#3518

* New cookie pages and behaviour (#239)

* New cookie pages and behaviour

* updating cookies table

* Updating link in cookie banner

* Making tables responsive and accessible at same time (#247)

* Making tables responsive and accessible at same time

* Forgot one table

* Fixing table font sizes and rendering

* local assessment form updates (#248)

* updates section E1 questions

* adds new required question E1.9

* removes question E2.5

* add details section to E3.1

* updates to section E4

* updates section E5

* changes to section E6

* updates section E7

* updates section E9

* Lieutenants (#246)

* renames lieutenant roles

* rename main lieutenant

* fixes path for edit users

* state that the phones are optional (#224)

* copy changes to local assessment form (#250)

* local assessment updates

* remove colon

* removes submitted nominations from filter (#251)

Co-authored-by: Mauricio Andre Cinelli <mauricio.cinelli@bitzesty.com>
Co-authored-by: Vasili Kachalko <amarant.st@gmail.com>
Co-authored-by: Matthew Ford <matt@bitzesty.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
TheDancingClown added a commit to bitzesty/qavs-v2 that referenced this issue Oct 12, 2021
* accessibility fixes (#206)

* fixes styling of nomination step errors

* adds role to success message

* fixes typos

* amends privacy path

* adds error message to terms checkbox

* changes notice to success flash

* adds aria to password guidance on forms

* adds alert role to step errors

* PR comment

* UPgrading CEditor, Moment and jQuery

* only allow LL to update local assessment step

(vulnerability fix)

* custom qavs scrubber for admin comments

* add pending eligibility state

* clean up js validation and add email validation

* user password change (#205)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* refactor

* fix Eligibility#save_as_eligible and related spec

* filter status updates (#215)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* copy change application in progress state

* copy change ineligible questionnaire state

* copy change submitted state

* copy change nomination not submitted state

* copy change withdrawn state

* fixes spec

* copy change admin eligible state

* copy change admin eligible duplicate state

* copy change admin ineligible states

* fixes specs

* copy change admin ineligible states

* copy change local assessment states

* copy change awarded states

* copy change assessors assigned sub state

* fixes specs

* copy change shortlisted state

* fixes typo

* copy change national assessment not recommended state

* copy change national assessment undecided state

* refactor

* fixes spec

* adds sub status filter for lieutenancy not assigned

* adds citation not submitted sub status

* adds sub filter for garden party not submitted

* removes duplicate test

* refactor

* reverts gemfile.lock changes

* revert error

* adds sub status filter for local assessment not started

* adds duplicate for ref to lieutenant filter

* adds sub filter for final verdict outstanding

* adds eligible duplicate to query

* refactor

* user log in update (#217)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* user name login

* adds name fields to admin/users#new

* fixes spec

* permits name params

* Changing ckeditor init method and preventing link injection

* only display edit status link if it's possible to edit el.status

* password length hint in account details (#221)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* password length hint

* pre sign in page

* copy fix

[ci skip]

* removes paragraph from dashboard (#226)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* removes paragraph

* bug fixes (#228)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* previous award winner eligibility changes

* updates copy on worthy questions

* fixes typo

* fixes repeated content in pdf

* login page content change

* refactor

* settings and email notifier updates (#227)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* updates header

* updates copy

* hides mail notification for award year opening

* updates nomination stage deadline message copy

* adds help message to submission reminder mail notification

* updates formatting changes to registration stage

* adds bold font to mail notification header

* updates submission reminder subject

* copy update and date format for submission reminder mailer

* fixes specs

* removes unused deadline translations

* fixes spec

* updates local assessment deadline copy help

* group leader notification mail content

* updates group leader nomination mail subject

* adds group name to notification mailer

* fixes spec

* fixes spec

* adds link formatting

* adds group name to mail spec

* adds total nominations to preview

* update content for local assessment reminder mail

* restrict local assessment notification to advanced role

* fixes spec

* copy help update for local assessment submission deadline

* adds advanced lieutenant restriction for reminder notification

* reformat

* refactors mail renderer

* hides shortlisted stage - for now

* updates copy for end of embargo deadline

* updates copy for citation form deadline

* updates copy for palace invite deadlines

* add copy for palace attendee deadline

* adds successful group leader preview

* pull in citation date to email

* setup group leader winner notification

* remove strike through

* adding unsuccessful group leader notification

* adds test for group leaders winners mailer

* fixes spec

* adds test for unsuccessful group leader notification

* adds mail content for unsuccessful group leaders

* adds unsuccessful group leader mailer

* fixes typo

* adds new notification kind

* adds mailer for unsuccessful group leaders

* adds preview for unsuccessful group leader notification

* adds tests for group leader renderers

* adds test for notify successful nominations mailer

* increases coverage on mailer tests

* completes successful notifier mail content

* adds winners notification service

* adds winners nominator notification preview

* adds help to winners email notification

* adds unsuccessful mailer

* fixes typo

* adds preview for unsuccessful nominations

* updates copy header and help for unsuccessful nominations

* updates copy header and help for garden party invites

* updates mailer for reception invite

* updates notification service for reception invite

* updates preview content for reception invite

* removes unsuccessful feedback mailer

* removes unsuccessful feedback mailer

* fixes spec

* removes business app mailer

* removes duplicate palace invite mailer

* removes media pack deadline

* removes shortlisted from stages

* fixes spec

* update format for buckingham palace deadline

* remove mailto link from email notifications

* update reminder to submit mailer

* fix time format for minutes

* fix spec

* adds test for group leader mailer

* fix typo

* adds name to account mailers

* removes capitals from stage headers

* fixes spec

* removes shortlisted stage

* placeholder deadlines

* remove incorrect scope

* Update cloudtasker.rb

load schedule

* remove old workers and enable cloudtasker cron on servers

* Bump nokogiri from 1.12.4 to 1.12.5

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* disable services that were not yet tested

* Bump nth-check from 2.0.0 to 2.0.1

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](fb55/nth-check@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* try to use deliver_now instead of deliver_later in ENS

* temp fix for local assessor form (#234)

* bug fixes (#235)

* assign award year for email preview

* removes mailto link from email

* removes QAE pressbook section from winners dashboard

* adds empty option to dropdowns

* checks for empty string on email validation (#236)

* removes palace attendee section (#237)

* removes tags from citation body (#238)

* update useful info page to be consistent with side menu (#240)

* updates pdf logo and header to QAVS (#241)

* removes QAE from pdf title

* updates QAVS award type name

* fixes specs

* fixes specs

* fix specs

* adds new qavs logo

* return of the sidekiq

* adds privacy policy link to emails (#242)

* run sidekiq on gcloud and update readme

* Update README.md

* Update sidekiq.rb

sidekiq/sidekiq#3518

* New cookie pages and behaviour (#239)

* New cookie pages and behaviour

* updating cookies table

* Updating link in cookie banner

* Making tables responsive and accessible at same time (#247)

* Making tables responsive and accessible at same time

* Forgot one table

* Fixing table font sizes and rendering

* local assessment form updates (#248)

* updates section E1 questions

* adds new required question E1.9

* removes question E2.5

* add details section to E3.1

* updates to section E4

* updates section E5

* changes to section E6

* updates section E7

* updates section E9

* Lieutenants (#246)

* renames lieutenant roles

* rename main lieutenant

* fixes path for edit users

* state that the phones are optional (#224)

* copy changes to local assessment form (#250)

* local assessment updates

* remove colon

* removes submitted nominations from filter (#251)

* Fixing validation and accessibility issues

* local assessment copy change (#254)

* updates final paragraph

* removes palace invite spec files

* citation form copy changes (#133)

* changes checkbox to radio buttons

* remove comments

* update specs

* shows introduction below radio buttons

* adds checkbox to palace invite

* added dates

* adds dates to dashboard

* add placeholder when deadline not set

* fix specs with attendees consent

* checks attendee consent value on submission

* refactor

* adds error for attendee consent

* updates test

* Fixing email validation

* Fixing banner message based on selection

* removes checkbox when not in bulk assignment stage (#255)

* removes checkbox when not in bulk assignment stage

* fixes spec

* Fixing cookies for assessors and admins

* Import nominations from QAVSv1 app

* reverts temp policy change (#257)

* add subgroup import

Co-authored-by: Mauricio Andre Cinelli <mauricio.cinelli@bitzesty.com>
Co-authored-by: Vasili Kachalko <amarant.st@gmail.com>
Co-authored-by: Matthew Ford <matt@bitzesty.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
TheDancingClown added a commit to bitzesty/qavs-v2 that referenced this issue Oct 12, 2021
* accessibility fixes (#206)

* fixes styling of nomination step errors

* adds role to success message

* fixes typos

* amends privacy path

* adds error message to terms checkbox

* changes notice to success flash

* adds aria to password guidance on forms

* adds alert role to step errors

* PR comment

* UPgrading CEditor, Moment and jQuery

* only allow LL to update local assessment step

(vulnerability fix)

* custom qavs scrubber for admin comments

* add pending eligibility state

* clean up js validation and add email validation

* user password change (#205)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* refactor

* fix Eligibility#save_as_eligible and related spec

* filter status updates (#215)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* copy change application in progress state

* copy change ineligible questionnaire state

* copy change submitted state

* copy change nomination not submitted state

* copy change withdrawn state

* fixes spec

* copy change admin eligible state

* copy change admin eligible duplicate state

* copy change admin ineligible states

* fixes specs

* copy change admin ineligible states

* copy change local assessment states

* copy change awarded states

* copy change assessors assigned sub state

* fixes specs

* copy change shortlisted state

* fixes typo

* copy change national assessment not recommended state

* copy change national assessment undecided state

* refactor

* fixes spec

* adds sub status filter for lieutenancy not assigned

* adds citation not submitted sub status

* adds sub filter for garden party not submitted

* removes duplicate test

* refactor

* reverts gemfile.lock changes

* revert error

* adds sub status filter for local assessment not started

* adds duplicate for ref to lieutenant filter

* adds sub filter for final verdict outstanding

* adds eligible duplicate to query

* refactor

* user log in update (#217)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* user name login

* adds name fields to admin/users#new

* fixes spec

* permits name params

* Changing ckeditor init method and preventing link injection

* only display edit status link if it's possible to edit el.status

* password length hint in account details (#221)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* password length hint

* pre sign in page

* copy fix

[ci skip]

* removes paragraph from dashboard (#226)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* removes paragraph

* bug fixes (#228)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* previous award winner eligibility changes

* updates copy on worthy questions

* fixes typo

* fixes repeated content in pdf

* login page content change

* refactor

* settings and email notifier updates (#227)

* adds password change for assessors

* adds group leader password change form

* adds password change for lieutenant

* update policies

* adds admin password change feature

* updates header

* updates copy

* hides mail notification for award year opening

* updates nomination stage deadline message copy

* adds help message to submission reminder mail notification

* updates formatting changes to registration stage

* adds bold font to mail notification header

* updates submission reminder subject

* copy update and date format for submission reminder mailer

* fixes specs

* removes unused deadline translations

* fixes spec

* updates local assessment deadline copy help

* group leader notification mail content

* updates group leader nomination mail subject

* adds group name to notification mailer

* fixes spec

* fixes spec

* adds link formatting

* adds group name to mail spec

* adds total nominations to preview

* update content for local assessment reminder mail

* restrict local assessment notification to advanced role

* fixes spec

* copy help update for local assessment submission deadline

* adds advanced lieutenant restriction for reminder notification

* reformat

* refactors mail renderer

* hides shortlisted stage - for now

* updates copy for end of embargo deadline

* updates copy for citation form deadline

* updates copy for palace invite deadlines

* add copy for palace attendee deadline

* adds successful group leader preview

* pull in citation date to email

* setup group leader winner notification

* remove strike through

* adding unsuccessful group leader notification

* adds test for group leaders winners mailer

* fixes spec

* adds test for unsuccessful group leader notification

* adds mail content for unsuccessful group leaders

* adds unsuccessful group leader mailer

* fixes typo

* adds new notification kind

* adds mailer for unsuccessful group leaders

* adds preview for unsuccessful group leader notification

* adds tests for group leader renderers

* adds test for notify successful nominations mailer

* increases coverage on mailer tests

* completes successful notifier mail content

* adds winners notification service

* adds winners nominator notification preview

* adds help to winners email notification

* adds unsuccessful mailer

* fixes typo

* adds preview for unsuccessful nominations

* updates copy header and help for unsuccessful nominations

* updates copy header and help for garden party invites

* updates mailer for reception invite

* updates notification service for reception invite

* updates preview content for reception invite

* removes unsuccessful feedback mailer

* removes unsuccessful feedback mailer

* fixes spec

* removes business app mailer

* removes duplicate palace invite mailer

* removes media pack deadline

* removes shortlisted from stages

* fixes spec

* update format for buckingham palace deadline

* remove mailto link from email notifications

* update reminder to submit mailer

* fix time format for minutes

* fix spec

* adds test for group leader mailer

* fix typo

* adds name to account mailers

* removes capitals from stage headers

* fixes spec

* removes shortlisted stage

* placeholder deadlines

* remove incorrect scope

* Update cloudtasker.rb

load schedule

* remove old workers and enable cloudtasker cron on servers

* Bump nokogiri from 1.12.4 to 1.12.5

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.12.4...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* disable services that were not yet tested

* Bump nth-check from 2.0.0 to 2.0.1

Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/fb55/nth-check/releases)
- [Commits](fb55/nth-check@v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: nth-check
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* try to use deliver_now instead of deliver_later in ENS

* temp fix for local assessor form (#234)

* bug fixes (#235)

* assign award year for email preview

* removes mailto link from email

* removes QAE pressbook section from winners dashboard

* adds empty option to dropdowns

* checks for empty string on email validation (#236)

* removes palace attendee section (#237)

* removes tags from citation body (#238)

* update useful info page to be consistent with side menu (#240)

* updates pdf logo and header to QAVS (#241)

* removes QAE from pdf title

* updates QAVS award type name

* fixes specs

* fixes specs

* fix specs

* adds new qavs logo

* return of the sidekiq

* adds privacy policy link to emails (#242)

* run sidekiq on gcloud and update readme

* Update README.md

* Update sidekiq.rb

sidekiq/sidekiq#3518

* New cookie pages and behaviour (#239)

* New cookie pages and behaviour

* updating cookies table

* Updating link in cookie banner

* Making tables responsive and accessible at same time (#247)

* Making tables responsive and accessible at same time

* Forgot one table

* Fixing table font sizes and rendering

* local assessment form updates (#248)

* updates section E1 questions

* adds new required question E1.9

* removes question E2.5

* add details section to E3.1

* updates to section E4

* updates section E5

* changes to section E6

* updates section E7

* updates section E9

* Lieutenants (#246)

* renames lieutenant roles

* rename main lieutenant

* fixes path for edit users

* state that the phones are optional (#224)

* copy changes to local assessment form (#250)

* local assessment updates

* remove colon

* removes submitted nominations from filter (#251)

* Fixing validation and accessibility issues

* local assessment copy change (#254)

* updates final paragraph

* removes palace invite spec files

* citation form copy changes (#133)

* changes checkbox to radio buttons

* remove comments

* update specs

* shows introduction below radio buttons

* adds checkbox to palace invite

* added dates

* adds dates to dashboard

* add placeholder when deadline not set

* fix specs with attendees consent

* checks attendee consent value on submission

* refactor

* adds error for attendee consent

* updates test

* Fixing email validation

* Fixing banner message based on selection

* removes checkbox when not in bulk assignment stage (#255)

* removes checkbox when not in bulk assignment stage

* fixes spec

* Fixing cookies for assessors and admins

* Import nominations from QAVSv1 app

* reverts temp policy change (#257)

* add subgroup import

Co-authored-by: Mauricio Andre Cinelli <mauricio.cinelli@bitzesty.com>
Co-authored-by: Vasili Kachalko <amarant.st@gmail.com>
Co-authored-by: Matthew Ford <matt@bitzesty.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants