Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
Open

Test #389

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0b35f6b
Security Updates (#62)
nrmay Nov 5, 2022
24b235f
Version 1.4.3 (#69)
dresa-org-au Jan 28, 2023
b67f4c3
374 invite email (#70)
dresa-org-au Jan 28, 2023
d77ac77
Merge nmay/master (#71)
dresa-org-au Jan 28, 2023
22eebeb
Update CHANGE_LOG.md (#72)
dresa-org-au Jan 29, 2023
42c3952
test
kuroro-jya Jul 27, 2023
3058c67
test
kuroro-jya Jul 27, 2023
1ee1a5c
.
kuroro-jya Aug 8, 2023
e8d658d
.
kuroro-jya Aug 10, 2023
c7dbba9
Merge branch 'nrmay:master' into test
dresa-org-au Aug 10, 2023
85db419
.
kuroro-jya Aug 10, 2023
5497f3c
Merge branch 'test' of https://github.com/dresa-org-au/TeSS into test
kuroro-jya Aug 10, 2023
5cce63f
Update activities_controller.rb
dresa-org-au Aug 10, 2023
22a3f01
Update application_controller.rb
dresa-org-au Aug 10, 2023
599ec14
Update application_controller.rb
dresa-org-au Aug 10, 2023
78e0ef4
Update application_controller.rb
dresa-org-au Aug 10, 2023
ea37cd2
Update application_controller.rb
dresa-org-au Aug 10, 2023
3581f54
Update users_controller.rb
dresa-org-au Aug 10, 2023
83a8a62
Update production.rb
dresa-org-au Aug 10, 2023
a4b9934
Update production.rb
dresa-org-au Aug 10, 2023
14a6446
git add bin files
kuroro-jya Aug 10, 2023
3417777
Update show.html.erb
dresa-org-au Aug 14, 2023
afe4a4d
update user show view
kuroro-jya Aug 14, 2023
7414be6
Test (#73)
dresa-org-au Aug 14, 2023
b7ed595
upload gemfile uri version
kuroro-jya Aug 14, 2023
605f6da
Update Gemfile.lock uri version
dresa-org-au Aug 31, 2023
20676c9
Merge branch 'master' into test
dresa-org-au Aug 31, 2023
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
6 changes: 4 additions & 2 deletions CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Version Change Log
The sections below refer to the release tags for this repository:
<<<<<<< HEAD
## [Version 1.4.3](https://github.com/dresa-org-au/TeSS/releases/tag/v1.4.2)

Deployed: *TBA*
Deployed: *28<sup>th</sup> January, 2023*

- Updates:
- [Invite Email: Add Getting Started Information](https://github.com/nrmay/issues/374)

- [Optimize Search Fields](https://github.com/nrmay/TeSS/issues/321)

- Fixes:
- [Security Updates 4](https://github.com/nrmay/TeSS/issues/373)
- [Security Updates 5](https://github.com/nrmay/TeSS/issues/385)


## [Version 1.4.2](https://github.com/dresa-org-au/TeSS/releases/tag/v1.4.2)
Expand Down
15 changes: 11 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ gem 'dynamic_sitemaps', github: 'lassebunk/dynamic_sitemaps', branch: 'master'
gem 'whenever', '~> 1.0.0'

# These are required for Sidekiq, to look up scientific topics
gem 'httparty'
gem 'httparty', '~> 0.21.0'
gem 'sidekiq', '~> 6.5.6'
gem 'slim'

Expand Down Expand Up @@ -109,7 +109,7 @@ gem 'icalendar', '~> 2.4.1'

gem 'bootstrap-datepicker-rails', '~> 1.6.4.1'

gem 'rack', '~> 2.2.3.1'
gem 'rack', '~> 2.2.6.2'

gem 'rack-cors', require: 'rack/cors'

Expand Down Expand Up @@ -148,7 +148,7 @@ gem 'rest-client'

# for converting html to markdown
gem 'reverse_markdown'
gem 'nokogiri', '~> 1.13.6'
gem 'nokogiri', '~> 1.13.10'

# eventbrite api
gem 'eventbrite_sdk'
Expand All @@ -160,7 +160,14 @@ gem 'sassc', '= 2.1.0'
gem 'psych', '< 4'

# rails html sanitizer security update
gem 'rails-html-sanitizer', '~> 1.4.3'
gem 'rails-html-sanitizer', '~> 1.4.4'
gem 'loofah', '~> 2.19.1'

# fix net-protocol warnings by specifically importing net-http
gem 'net-http'

# security update 5
gem 'globalid', '~> 1.0.1'

source 'https://rails-assets.org' do
gem 'rails-assets-clipboard', '~> 1.5.12'
Expand Down
34 changes: 20 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ GEM
friendly_id (5.2.5)
activerecord (>= 4.0.0)
geocoder (1.8.0)
globalid (1.0.0)
globalid (1.0.1)
activesupport (>= 5.0)
gravtastic (3.2.6)
haml (5.0.4)
Expand All @@ -181,8 +181,8 @@ GEM
http-accept (1.7.0)
http-cookie (1.0.5)
domain_name (~> 0.5)
httparty (0.20.0)
mime-types (~> 3.0)
httparty (0.21.0)
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
httpclient (2.8.3)
i18n (1.12.0)
Expand Down Expand Up @@ -277,7 +277,7 @@ GEM
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.18.0)
loofah (2.19.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
lunchy (0.10.4)
Expand Down Expand Up @@ -307,6 +307,8 @@ GEM
multi_json (1.15.0)
multi_xml (0.6.0)
nested_form (0.3.2)
net-http (0.3.2)
uri
net-http-persistent (4.0.1)
connection_pool (~> 2.2)
net-protocol (0.1.3)
Expand All @@ -317,7 +319,7 @@ GEM
timeout
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.13.8-x86_64-linux)
nokogiri (1.13.10-x86_64-linux)
racc (~> 1.4)
nokogumbo (2.0.5)
nokogiri (~> 1.8, >= 1.8.4)
Expand Down Expand Up @@ -358,8 +360,8 @@ GEM
public_suffix (5.0.0)
pundit (1.1.0)
activesupport (>= 3.0.0)
racc (1.6.0)
rack (2.2.3.1)
racc (1.6.2)
rack (2.2.6.2)
rack-cors (1.1.1)
rack (>= 2.0.0)
rack-oauth2 (1.21.2)
Expand Down Expand Up @@ -395,8 +397,8 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.3)
loofah (~> 2.3)
rails-html-sanitizer (1.4.4)
loofah (~> 2.19, >= 2.19.1)
rails-i18n (5.1.3)
i18n (>= 0.7, < 2)
railties (>= 5.0, < 6)
Expand Down Expand Up @@ -626,6 +628,7 @@ GEM
unicorn (6.1.0)
kgio (~> 2.6)
raindrops (~> 0.7)
uri (0.12.2)
validate_email (0.1.6)
activemodel (>= 3.0)
mail (>= 2.2.5)
Expand Down Expand Up @@ -674,10 +677,11 @@ DEPENDENCIES
font-awesome-sass (~> 4.7.0)
friendly_id (~> 5.2.4)
geocoder
globalid (~> 1.0.1)
gravtastic (~> 3.2.6)
haml (~> 5.0.4)
handlebars_assets
httparty
httparty (~> 0.21.0)
i18n_data
icalendar (~> 2.4.1)
iso_country_codes
Expand All @@ -690,10 +694,12 @@ DEPENDENCIES
kt-paperclip (~> 6.4, >= 6.4.1)
linkeddata
listen
loofah (~> 2.19.1)
lunchy
minitest (= 5.10.3)
money-rails
nokogiri (~> 1.13.6)
net-http
nokogiri (~> 1.13.10)
omniauth-rails_csrf_protection
omniauth_openid_connect
pg
Expand All @@ -702,7 +708,7 @@ DEPENDENCIES
psych (< 4)
public_activity (~> 1.6.4)!
pundit (~> 1.1.0)
rack (~> 2.2.3.1)
rack (~> 2.2.6.2)
rack-cors
rails (~> 5.2.8.1)
rails-assets-clipboard (~> 1.5.12)!
Expand All @@ -711,7 +717,7 @@ DEPENDENCIES
rails-assets-markdown-it (~> 7.0.1)!
rails-assets-moment (~> 2.15.0)!
rails-controller-testing
rails-html-sanitizer (~> 1.4.3)
rails-html-sanitizer (~> 1.4.4)
rails-i18n
rails_admin
rdoc (>= 6.3.1)
Expand Down Expand Up @@ -745,4 +751,4 @@ DEPENDENCIES
will_paginate

BUNDLED WITH
2.3.21
2.3.14
Empty file modified app/assets/images/markdown_logo.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/markdown_logo.png.orig
Binary file not shown.
4 changes: 2 additions & 2 deletions app/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class Event < ApplicationRecord
# :target_audience, :venue)

def self.facet_fields
field_list = %w( city country content_provider cost_basis eligibility end
event_types fields keywords online organizer start
field_list = %w( city country content_provider cost_basis eligibility
event_types fields keywords online organizer
target_audience venue )
field_list.append('operations') unless TeSS::Config.feature['disabled'].include? 'operations'
field_list.append('scientific_topics') unless TeSS::Config.feature['disabled'].include? 'topics'
Expand Down
2 changes: 1 addition & 1 deletion app/views/search/common/_search_info.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ resource_type - type of result objects returned by SOLR, may or may not be passe
<% local_assigns.fetch :resource_type, 'result' %>
<%# RESULTS COUNT %>
<div class="search-results-count">
<%= pluralize( resources.total, resource_type.humanize.downcase ) %> found
<%=resources.total.to_s%> <%=resource_type.humanize.downcase.pluralize(resources.total)%> found
</div>
6 changes: 3 additions & 3 deletions app/views/users/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
<div id="events" class="tab-pane fade in active">
<div class="row">
<div class="search-results-count">
<%= (upcoming_events.count > 0 ? "Showing" : "Found") + " #{pluralize(events.count, "upcoming event")}#{(upcoming_events.count > resource_limit) ? " out of #{upcoming_events.count}" : ''}." %>
<%= "Found #{pluralize(past_events.count, "past event")}." %>
<%= (upcoming_events.count > 0 ? "Showing" : "Found") + events.count.to_s + " #{"upcoming event".pluralize(events.count)}#{(upcoming_events.count > resource_limit) ? " out of #{upcoming_events.count}" : ''}." %>
<%= "Found “ + past_events.count.to_s + #{"past event".pluralize(past_events.count)}." %>
</div>
<ul>
<% if upcoming_events.count > resource_limit %>
Expand Down Expand Up @@ -227,7 +227,7 @@
<div id="packages" class="tab-pane fade">
<div class="row">
<div class="search-results-count">
<%= (packages.count > 0 ? "Showing" : "Found") + " #{pluralize(packages.count, "package")}#{(@user.packages.count > resource_limit) ? " out of #{@user.packages.count}" : ''}." %>
<%= (packages.count > 0 ? "Showing" : "Found") + " " + packages.count.to_s + " #{"package".pluralize(packages.count)}#{(@user.packages.count > resource_limit) ? " out of #{@user.packages.count}" : ''}." %>
<%= link_to('View all results.', packages(user: @user.username)) if (@user.packages.count > resource_limit) %>
</div>
<% packages.each do |package| %>
Expand Down
Empty file modified bin/bundle
100755 → 100644
Empty file.
Empty file modified bin/rails
100755 → 100644
Empty file.
Empty file modified bin/rake
100755 → 100644
Empty file.
Empty file modified bin/setup
100755 → 100644
Empty file.
Empty file modified bin/spring
100755 → 100644
Empty file.
Empty file modified bin/update
100755 → 100644
Empty file.
Empty file modified bin/yarn
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion config/initializers/version.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
APP_VERSION = '1.4.2'
APP_VERSION = '1.4.3'
2 changes: 1 addition & 1 deletion config/tess.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ dresa: &dresa
logo_open_graph: 'dresa/DReSA_Symbol.png'
logo_email: 'dresa/DReSA_Extended_Default.png'
theme: 'en-AU'
repository: 'https://github.com/nrmay/TeSS'
repository: 'https://github.com/dresa-org-au/TeSS'
supported_by: 'dresa_supported_by.erb'
widget_example: 'elixir_widget_example'
gmaps:
Expand Down
10 changes: 5 additions & 5 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,13 @@
t.string "slug"
t.boolean "public", default: false
t.text "description"
t.string "expertise_academic", default: [], array: true
t.string "expertise_technical", default: [], array: true
t.text "location"
t.string "orcid"
t.string "experience"
t.text "interest", default: [], array: true
t.text "activity", default: [], array: true
t.string "expertise_academic", default: [], array: true
t.string "expertise_technical", default: [], array: true
t.string "interest", default: [], array: true
t.string "activity", default: [], array: true
t.string "language", default: [], array: true
t.string "social_media", default: [], array: true
t.string "type", default: "Profile"
Expand Down Expand Up @@ -443,7 +443,7 @@
t.integer "invitations_count", default: 0
t.index ["authentication_token"], name: "index_users_on_authentication_token"
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["email"], name: "index_users_on_email"
t.index ["identity_url"], name: "index_users_on_identity_url", unique: true
t.index ["invitation_token"], name: "index_users_on_invitation_token", unique: true
t.index ["invited_by_id"], name: "index_users_on_invited_by_id"
Expand Down