docbrown/config/initializers/reserved_words.rb
Michael Kohl 09828853f6
✂✂✂ Remove Connect (#14734)
* Remove Connect

* Remove more Connect specs

* Remove a lot more Connect code

* 🚮

* It all has to go

* Explicitly add httpclient

* Update application layout

* Remove messages association from User

* Start fixing specs

* reintroduce util function and refactor references

* Remove Connect Cypress test

* Fix more specs

* Remove Connect from listings

* Ignore contact_via_connect column on listings

* Remove contact_via_connect usages

* Ignore mod_chat_channel_id on tags

* Drop Connect tables

* Remove email_connect_messages from user notification settings

* Re-add httpclient 2.8.3

This was mistakenly removed as a merge conflict

* Don't need to exclude removed chat channel file

* Remove unneeded style for chat channels

* Remove unneeded channel list prop type

* Remove chat channels index/connect-link from getPageEntries

* Re-add comment from httpclient in Gemfile

* Remove connect references from mailers

Tag Moderators no longer have a chat channel

No longer will users be notified about new messages (there won't be
any)

No longer will users be notified about channel invites (you can't
invite anyone anymore)

* Don't configure Pusher and remove PUSHER_* from .env_sample

since it's removed from gemfile, the Pusher constant will not resolve, if this is
configured in the environment variables we'll fail to boot.

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
Co-authored-by: Dan Uber <dan@forem.com>
2021-11-18 08:21:00 -06:00

232 lines
2.7 KiB
Ruby

class ReservedWords
BASE_WORDS = %w[
1024
404
500
about
account
additional_content_boxes
admin
administrate
ads
advertising
amp
anal
analysis
analytics
answers
api
app
article
articles
asset
assets
async_info
binary
bit
bits
blocks
butt
byte
bytes
cast
challenge
changelog
chat
code
code-of-conduct
coffee
comment
comments
computer
connect
contact
crayons
csv_exports
daily
dash
dashboard
day
deep
delayed_job_admin
delete
design
designer
destroy
dev
developer
developertea
drole
edit
el
email_subscriptions
enter
faq
features
feed
feedback_messages
flip
followers
following
follows
forloop
fuck
fun
funnies
funny
future
gag
gags
getting-started
gigs
guide
guides
hack
hackers
haskell
help
history
image
images
infinite
infiniteloop
internal
iot
java
javascript
job
job_application
job_applications
job_listings
jobs
joke
jokes
journal
ki
kilo
kilobyte
kis
latest
leader
leaderboard
leaders
legal
libraries
library
links
linux
listen
live
live_articles
loop
machinelearning
mag
magazine
me
medium
mega
megabyte
members
membership
merch
merchandise
meta
new
new
news
night
nightly
notification_subscriptions
notifications
onboarding_checkbox_update
onboarding_update
one-of-us
online
ons
opensource
opps
ops
oreilly
org
organizations
orgs
orly
orlybooks
orlygenerator
oss
pc
phishing
pod
podcast
podcasts
privacy
programmer
programming
pulse
pulses
push_notification_subscriptions
python
questions
rails
reactions
react
reactjs
readinglist
repo
report-abuse
reports
repos
retro
rly
rlygenerator
rlyslack
rlyweb
robots
rss
ruby
script
search
security
sedaily
settings
shoutouts
signout_confirm
social
social_previews
software
sounds
start
started
startups
swagnets
tag
tags
tea
tech
terms
things
top
tos
track
tv
twilio_tokens
twitter
update
uploads
user
users
video_states
videos
welcome
work
yes
].freeze
class << self
def all
@all || BASE_WORDS
end
attr_writer :all
end
end