docbrown/spec
Ridhwana e74890680a
Generalize meta content and copyright year (#6887)
* chore: remove the description

* feat: change the meta og:site_name property from The Practical DEV to The <COMMUNITY_NAME> Community consistently

* refactor: change the canonical link to be more dynamic using the <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %>

* refactor: update the path to be dynamic

* refactor: change some other meta properties to be dynamic

* refactor: update the index

* refactor: update the sitename to just read <%= ApplicationConfig["COMMUNITY_NAME"] %> Community

* feat: copyright year should be dynamic

* feat: change the meta og:url content to be dynamic by using <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> for the former part of the url

* feat: space

* refactor: move the copyright notice to a helper

* refactor: use the community_qualified_name helper!

* refactor: start year is already a string

* refactor: use app url helper instead of <%= ApplicationConfig["APP_PROTOCOL"] %><%= ApplicationConfig["APP_DOMAIN"] %> everywhere

* chore:oops

* refactor: Change  <meta name="twitter:image:src" content="http://i.imgur.com/B4JNl1w.png"> to `<meta name="twitter:image:src" content="<%= SiteConfig.main_social_image %>">` consistently.

* refactor: Replace  `<meta property="og:image" content="http://i.imgur.com/B4JNl1w.png" />` with `  <meta property="og:image" content="<%= SiteConfig.main_social_image %>" />`

* chore: update some other meta's

* feat: replace 'The Practical DEV' with 'DEV Community' and

* test: remove The :)

* test: copyright_notice

* fix: syntax error

* feat: name of community

* refactor: use app url

* fix: template strings

* fix: tag

* feat: update the app url parameters

* feat: add a community_name helper so we don't have to refer to an environment variable in the templates

* feat: take into account the case when the start year is a blank string

* feat: single quotes to double quotes

* test: add a test for the #community_name

* chore: update or codeclimate

* chore: amend the community helper

* refactor: use the community_name helper in here

* feat: update ApplicationConfig["COMMUNITY_NAME"]  with community_name

* fix: Time.current.year needs to be a string :(

* chore: extra space

* chore: change to use community_qualified_name
2020-03-31 16:15:57 +02:00
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators Switch decorators to Rails builtin decorations - take 2 (#6125) [deploy] 2020-02-19 15:30:53 -05:00
factories [deploy] Prompt new users to customize their experience (#6959) 2020-03-30 19:17:52 -04:00
fixtures Allow an article's main_image to be removed (#5687) [deploy] 2020-03-10 08:29:59 -07:00
helpers Generalize meta content and copyright year (#6887) 2020-03-31 16:15:57 +02:00
initializers Add Rack::Attack Gem to Throttle Requests, Only Search to start (#6841) [deploy] 2020-03-30 12:09:40 -04:00
labor return default aspect ratio of 1 if gif id is not present and refactor (#6837) [deploy] 2020-03-25 11:21:47 -05:00
lib Add pagination to tag pages for better SEO crawling (#6771) [deploy] 2020-03-27 10:34:42 -04:00
liquid_tags Allow KaTeX to render inline (#6670) [deploy] 2020-03-17 10:42:41 +01:00
mailers Add a form to email users from internal (#6668) 2020-03-17 11:19:42 -04:00
models Correctly save Tweet reply ids (#6951) 2020-03-31 11:09:19 +02:00
policies Ignore unused articles columns (#6781) 2020-03-25 17:48:42 -04:00
requests Remove POST /api/reactions endpoint (#6968) [deploy] 2020-03-31 16:12:30 +02:00
routing Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
serializers/search Create Reactions Index in Elasticsearch and Serializer (#6899) 2020-03-27 18:44:54 -04:00
services [deploy] Prompt new users to customize their experience (#6959) 2020-03-30 19:17:52 -04:00
support Correctly save Tweet reply ids (#6951) 2020-03-31 11:09:19 +02:00
system Fix response templates edit and delete buttons (#6952) 2020-03-30 15:43:01 -04:00
uploaders Some RSpec fixes (#6757) 2020-03-24 13:16:19 -04:00
views Create specs for users/edit.html.erb (#6739) 2020-03-20 11:29:20 -04:00
workers Implement authentication welcome notification (#6846) 2020-03-27 15:21:40 -04:00
rails_helper.rb Add Rack::Attack Gem to Throttle Requests, Only Search to start (#6841) [deploy] 2020-03-30 12:09:40 -04:00
spec_helper.rb Temporarily comment out random (#2486) 2019-04-18 11:56:38 -04:00