diff --git a/Dockerfile b/Dockerfile index 7f69bd6..72a63d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6.2-slim +FROM ruby:3.1.3-slim RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs libsqlite3-dev default-libmysqlclient-dev libxml2-dev WORKDIR /app diff --git a/README.md b/README.md index 92b68d5..899f8eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # null Swachalit -This repository contains source code of application used to run https://null.co.in +This repository contains source code of application used to run https://null.community [](https://circleci.com/gh/null-open-security-community/swachalit/tree/master)  diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 27b171e..f7e06ea 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -74,11 +74,11 @@ def sm_icon_with_link(icon, link, size = '40x40') end end - def twitter_icon(url = 'http://www.null.co.in', size = '40x40') + def twitter_icon(url = 'https://www.null.community', size = '40x40') sm_icon_with_link('twitter', url, size) end - def facebook_icon(url = 'http://www.null.co.in', size = '40x40') + def facebook_icon(url = 'https://www.null.community', size = '40x40') sm_icon_with_link('facebook', url, size) end @@ -95,7 +95,7 @@ def safe_url(s) return '#' if s =~ /\Ajavascript/i return '#' if s =~ /\Achrome/i return '#' if s =~ /\Aabout/i - return "http://#{s}" if s !~ /\Ahttp/i # Force protocol + return "https://#{s}" if s !~ /\Ahttp/i # Force protocol return s end diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index 9d7873f..2dd4e40 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -67,11 +67,11 @@ - Share + Share - Tweet + Tweet
diff --git a/app/views/home/about.html.erb b/app/views/home/about.html.erb index f70d767..1d4ba54 100644 --- a/app/views/home/about.html.erb +++ b/app/views/home/about.html.erb @@ -10,7 +10,7 @@- This portal will host event related information for null community. For more details <%= link_to "go here", "http://www.null.co.in", :target => '_blank' %>. + This portal will host event related information for null community. For more details <%= link_to "go here", "https://www.null.community", :target => '_blank' %>.
This application is now open source and available in our <%= link_to "Github", "https://github.com/null-open-security-community/swachalit", target: '_blank', rel: 'noreferer' %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index e38bba5..6182b35 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -77,7 +77,7 @@ null is open, professional, inclusive, responsible, and most importantly complet