Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
LocoDelAssembly committed Jul 20, 2022
2 parents e11c30f + 3dc2a84 commit 20df034
Show file tree
Hide file tree
Showing 65 changed files with 2,519 additions and 1,990 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
uses: actions/cache@v2
with:
path: spec/fixtures/vcr_cassettes
key: ${{ runner.os }}-vcr-${{ steps.datetime.outputs.year_week }}-${{ hashFiles('**/Gemfile.lock') }}-${{ matrix.worker }}
key: ${{ runner.os }}-vcr-rev2-${{ steps.datetime.outputs.year_week }}-${{ hashFiles('**/Gemfile.lock') }}-${{ matrix.worker }}

- name: Install apt packages
run: |
Expand Down
30 changes: 29 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,36 @@ This project <em>does not yet</em> adheres to [Semantic Versioning](https://semv

\-

## [0.27.3] - 2022-07-20
### Added
- Soft_validation for the year of taxon description compared to person years of life [#2595]
- Pagination to Image matrix task

### Fixed
- Fixes rendering the author string in the catalogue [#2825]
- Include facet is not working properly in Filter nomenclature [#3023]
- Role picker changes order of roles after removing one [#3003]
- Observation matrix TNT export failed due to undefined method error [#3034]
- Date start and Date end display flipped in "Filter Collecting Events" [#3039]
- Role picker list doesn't display suffix and preffix
- By user facet is passing member id
- Project user last seen at correctly reported

### Changed
- ElectronicPulbications moved from NomenNudum to Unavailable.
- Updated Ruby gems and Node packages
- OTU name string into link in Observation matrices dashboard task

[#3003]: https://github.com/SpeciesFileGroup/taxonworks/issues/3003
[#3023]: https://github.com/SpeciesFileGroup/taxonworks/issues/3023
[#3034]: https://github.com/SpeciesFileGroup/taxonworks/issues/3034
[#3039]: https://github.com/SpeciesFileGroup/taxonworks/issues/3039

## [0.27.2] - 2022-06-22

### Fixed

- Updated csv output for an observation matrix [#3040]
- Content panel in browse OTU not working properly
- Darwin Core Export failing on specific combinations of data attributes selection.

Expand Down Expand Up @@ -2746,7 +2773,8 @@ This project <em>does not yet</em> adheres to [Semantic Versioning](https://semv

[#1532]: https://github.com/SpeciesFileGroup/taxonworks/issues/1532

[unreleased]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.27.2...development
[unreleased]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.27.3...development
[0.27.3]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.27.2...v0.27.3
[0.27.2]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.27.1...v0.27.2
[0.27.1]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.27.0...v0.27.1
[0.27.0]: https://github.com/SpeciesFileGroup/taxonworks/compare/v0.26.2...v0.27.0
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ group :test, :development do
gem 'byebug', '~> 11.1', {}.merge(ENV['RM_INFO'] ? {require: false} : {})
gem 'factory_bot_rails', '~> 6.2'
gem 'webdrivers', '~> 5.0', require: false
gem 'selenium-webdriver', '~> 4.2.0'
gem 'prawn', '~> 2.4.0'
gem 'puma', '~> 5.5'
end
Expand Down
147 changes: 75 additions & 72 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -80,63 +80,63 @@ GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
actioncable (6.1.6)
actionpack (= 6.1.6)
activesupport (= 6.1.6)
actioncable (6.1.6.1)
actionpack (= 6.1.6.1)
activesupport (= 6.1.6.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.1.6)
actionpack (= 6.1.6)
activejob (= 6.1.6)
activerecord (= 6.1.6)
activestorage (= 6.1.6)
activesupport (= 6.1.6)
actionmailbox (6.1.6.1)
actionpack (= 6.1.6.1)
activejob (= 6.1.6.1)
activerecord (= 6.1.6.1)
activestorage (= 6.1.6.1)
activesupport (= 6.1.6.1)
mail (>= 2.7.1)
actionmailer (6.1.6)
actionpack (= 6.1.6)
actionview (= 6.1.6)
activejob (= 6.1.6)
activesupport (= 6.1.6)
actionmailer (6.1.6.1)
actionpack (= 6.1.6.1)
actionview (= 6.1.6.1)
activejob (= 6.1.6.1)
activesupport (= 6.1.6.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.6)
actionview (= 6.1.6)
activesupport (= 6.1.6)
actionpack (6.1.6.1)
actionview (= 6.1.6.1)
activesupport (= 6.1.6.1)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.6)
actionpack (= 6.1.6)
activerecord (= 6.1.6)
activestorage (= 6.1.6)
activesupport (= 6.1.6)
actiontext (6.1.6.1)
actionpack (= 6.1.6.1)
activerecord (= 6.1.6.1)
activestorage (= 6.1.6.1)
activesupport (= 6.1.6.1)
nokogiri (>= 1.8.5)
actionview (6.1.6)
activesupport (= 6.1.6)
actionview (6.1.6.1)
activesupport (= 6.1.6.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.6)
activesupport (= 6.1.6)
activejob (6.1.6.1)
activesupport (= 6.1.6.1)
globalid (>= 0.3.6)
activemodel (6.1.6)
activesupport (= 6.1.6)
activerecord (6.1.6)
activemodel (= 6.1.6)
activesupport (= 6.1.6)
activemodel (6.1.6.1)
activesupport (= 6.1.6.1)
activerecord (6.1.6.1)
activemodel (= 6.1.6.1)
activesupport (= 6.1.6.1)
activerecord-postgis-adapter (7.1.1)
activerecord (~> 6.1)
rgeo-activerecord (~> 7.0.0)
activestorage (6.1.6)
actionpack (= 6.1.6)
activejob (= 6.1.6)
activerecord (= 6.1.6)
activesupport (= 6.1.6)
activestorage (6.1.6.1)
actionpack (= 6.1.6.1)
activejob (= 6.1.6.1)
activerecord (= 6.1.6.1)
activesupport (= 6.1.6.1)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (6.1.6)
activesupport (6.1.6.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand Down Expand Up @@ -293,7 +293,7 @@ GEM
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
i18n (1.10.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
indefinite_article (0.2.5)
activesupport
Expand All @@ -309,6 +309,7 @@ GEM
turbolinks
jquery-ui-rails (6.0.1)
railties (>= 3.2.16)
json (2.6.2)
kaminari (1.2.2)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2)
Expand Down Expand Up @@ -347,7 +348,7 @@ GEM
rake
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.1)
minitest (5.16.2)
modularity (3.0.1)
multi_json (1.15.0)
multipart-post (2.2.3)
Expand All @@ -362,7 +363,7 @@ GEM
timeout
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.13.6)
nokogiri (1.13.7)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
notiffany (0.1.3)
Expand All @@ -375,7 +376,7 @@ GEM
paperclip-meta (3.1.0)
paperclip (>= 5.0)
parallel (1.22.1)
parallel_tests (3.11.0)
parallel_tests (3.11.1)
parallel
parser (3.1.2.0)
ast (~> 2.4.1)
Expand All @@ -390,7 +391,7 @@ GEM
hashery (~> 2.0)
ruby-rc4
ttfunk
pg (1.4.0)
pg (1.4.1)
polyglot (0.3.5)
postgresql_cursor (0.6.4)
activerecord (>= 3.1.0)
Expand All @@ -405,27 +406,27 @@ GEM
puma (5.6.4)
nio4r (~> 2.0)
racc (1.6.0)
rack (2.2.3.1)
rack (2.2.4)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-proxy (0.7.2)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.1.6)
actioncable (= 6.1.6)
actionmailbox (= 6.1.6)
actionmailer (= 6.1.6)
actionpack (= 6.1.6)
actiontext (= 6.1.6)
actionview (= 6.1.6)
activejob (= 6.1.6)
activemodel (= 6.1.6)
activerecord (= 6.1.6)
activestorage (= 6.1.6)
activesupport (= 6.1.6)
rack-test (2.0.2)
rack (>= 1.3)
rails (6.1.6.1)
actioncable (= 6.1.6.1)
actionmailbox (= 6.1.6.1)
actionmailer (= 6.1.6.1)
actionpack (= 6.1.6.1)
actiontext (= 6.1.6.1)
actionview (= 6.1.6.1)
activejob (= 6.1.6.1)
activemodel (= 6.1.6.1)
activerecord (= 6.1.6.1)
activestorage (= 6.1.6.1)
activesupport (= 6.1.6.1)
bundler (>= 1.15.0)
railties (= 6.1.6)
railties (= 6.1.6.1)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
Expand All @@ -440,9 +441,9 @@ GEM
rails (>= 3.2)
rails_or (1.1.9)
activerecord (>= 3)
railties (6.1.6)
actionpack (= 6.1.6)
activesupport (= 6.1.6)
railties (6.1.6.1)
actionpack (= 6.1.6.1)
activesupport (= 6.1.6.1)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand All @@ -455,7 +456,7 @@ GEM
link_header (~> 0.0, >= 0.0.8)
rdoc (6.3.3)
redcarpet (3.5.1)
redis (4.6.0)
redis (4.7.1)
regexp_parser (2.5.0)
request_store (1.5.1)
rack (>= 1.4)
Expand All @@ -478,7 +479,7 @@ GEM
rgeo (>= 1.0.0)
rgeo-proj4 (3.1.1)
rgeo (~> 2.0)
rmagick (4.2.5)
rmagick (4.2.6)
roo (2.9.0)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
Expand Down Expand Up @@ -513,7 +514,8 @@ GEM
rspec-support (~> 3.10)
rspec-support (3.11.0)
rtesseract (3.1.2)
rubocop (1.30.1)
rubocop (1.31.2)
json (~> 2.3)
parallel (~> 1.10)
parser (>= 3.1.0.0)
rainbow (>= 2.2.2, < 4.0)
Expand All @@ -522,20 +524,20 @@ GEM
rubocop-ast (>= 1.18.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.18.0)
rubocop-ast (1.19.1)
parser (>= 3.1.1.0)
rubocop-faker (1.1.0)
faker (>= 2.12.0)
rubocop (>= 0.82.0)
rubocop-performance (1.14.2)
rubocop-performance (1.14.3)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.15.0)
rubocop-rails (2.15.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-rspec (2.11.1)
rubocop (~> 1.19)
rubocop-rspec (2.12.1)
rubocop (~> 1.31)
ruby-graphviz (1.2.5)
rexml
ruby-ole (1.2.12.2)
Expand Down Expand Up @@ -563,7 +565,7 @@ GEM
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
semantic_range (3.0.0)
shakapacker (6.4.1)
shakapacker (6.5.0)
activesupport (>= 5.2)
rack-proxy (>= 0.6.1)
railties (>= 5.2)
Expand Down Expand Up @@ -617,7 +619,7 @@ GEM
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (2.0.4)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2022.1)
tzinfo (>= 1.0.0)
Expand All @@ -626,7 +628,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (2.1.0)
unicode-display_width (2.2.0)
validates_timeliness (4.1.1)
timeliness (>= 0.3.10, < 1)
vcr (6.1.0)
Expand Down Expand Up @@ -759,6 +761,7 @@ DEPENDENCIES
sassc-rails (~> 2.1.0)
sdoc (~> 2.2.0)
seedbank (~> 0.5.0)
selenium-webdriver (~> 4.2.0)
serrano!
shakapacker (~> 6.3)
shortener (~> 0.8.0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ def index

# GET /tasks/observation_matrices/image_matrix/37/key
def key
@key = Tools::ImageMatrix.new(**key_params)
@key = Tools::ImageMatrix.new(**image_key_params)
end

protected

#params[:observation_matrix_id, :project_id, :observation_matrix, :language_id, :keyword_ids, :row_filter,
# :otu_filter, :identified_to_rank]
def key_params
# :per, :page, :otu_filter, :identified_to_rank]
def image_key_params
params.permit(
:observation_matrix_id,
:language_id,
Expand All @@ -25,6 +25,8 @@ def key_params
:error_tolerance,
:identified_to_rank,
:selected_descriptors,
:per,
:page,
keyword_ids: [] # arrays must be at the end
).to_h.symbolize_keys.merge(project_id: sessions_current_project_id)
end
Expand Down
Loading

0 comments on commit 20df034

Please sign in to comment.