fix signout, add press article, add dns bl client

This commit is contained in:
Kyle Drake 2023-11-13 13:18:11 -06:00
parent 7f354bf8f6
commit 9fa4cc0e13
4 changed files with 16 additions and 5 deletions

View file

@ -61,6 +61,7 @@ gem 'zip_tricks'
gem 'adequate_crypto_address'
gem 'twilio-ruby'
gem 'phonelib'
gem 'dnsbl-client'
group :development, :test do
gem 'pry'

View file

@ -63,6 +63,7 @@ GEM
rexml
crass (1.0.6)
dante (0.2.0)
dnsbl-client (1.1.1)
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
@ -337,6 +338,7 @@ DEPENDENCIES
certified
coveralls_reborn
dav4rack!
dnsbl-client
erubis
fabrication
facter

4
app.rb
View file

@ -75,9 +75,9 @@ before do
content_type :json
elsif request.path.match /^\/webhooks\//
# Skips the CSRF/validation check for stripe web hooks
elsif email_not_validated? && !(request.path =~ /^\/site\/.+\/confirm_email|^\/settings\/change_email|^\/signout|^\/welcome|^\/supporter/)
elsif email_not_validated? && !(request.path =~ /^\/site\/.+\/confirm_email|^\/settings\/change_email|^\/signout|^\/welcome|^\/supporter|^\/signout/)
redirect "/site/#{current_site.username}/confirm_email"
elsif !email_not_validated? && current_site && current_site.phone_verification_needed? && !(request.path =~ /^\/site\/.+\/confirm_phone/)
elsif !email_not_validated? && current_site && current_site.phone_verification_needed? && !(request.path =~ /^\/site\/.+\/confirm_phone|^\/signout/)
redirect "/site/#{current_site.username}/confirm_phone"
else
content_type :html, 'charset' => 'utf-8'

View file

@ -13,6 +13,11 @@
<div class="col-left">
<div class="col col-66" style="min-height: 43em;">
<div class="press-news">
<h3><a href="https://www.techspot.com/news/99085-neocities-bringing-eye-bleeding-spirit-geocities-back-modern.html"><strong>TechSpot</strong>: Neocities is bringing the eye-bleeding "spirit" of GeoCities back to the modern web</a></h3>
<blockquote>
Neocities is yet another alternative to social networking and pure nostalgia trips down memory lane. It offers a hosting space for hundreds of thousands of websites that don't need to comply with static rules or well-defined design policies to be online. Neocities introduces itself as a "social network" that brings back the "lost individual creativity of the web."
</blockquote>
<h3><a href="http://www.hostingadvice.com/blog/neocities-empowers-site-owners-to-showcase-their-creativity-online/"><strong>Hosting Advice</strong>: How a Blank-Canvas, Static Hosting Approach Empowers Site Owners to Showcase Their Creativity Online</a></h3>
<blockquote>
Neocities has acquired upward of 100,000 users in its relatively short lifespan, which is a testament to its focus on creative web design and its offer of cost-free hosting without host-branded ads — a service thats the exception rather than the rule in the industry. By embracing ingenuity and a templateless-approach, the organization has effectively picked up where early hosts have left off — with a crucial difference. Neocities provides the modern tools, such as an in-browser HTML editor and a command line prompt, among other features, that make web development a bit more accessible to todays crop of web visionaries.
@ -57,17 +62,20 @@ Why We All Need to Make the Internet Fun Again</a></h3>
<h3><a href="http://www.fastcodesign.com/3037028/why-the-internet-is-time-traveling-back-to-1994"><strong>Fast Company</strong>: Oh, Snap! '90s Web Design Is Hot Again</a></h3>
<blockquote>“What I'm trying to do with Neocities is re-enable that creativity, and show people that it isnt just a nostalgia thing any more,” [Kyle Drake] says, adding that the site now hosts about 26,000 sites and has proven financially self-sustaining.</blockquote>
<h3><a href="http://www.wired.com/2013/07/neocities/"><strong>Wired</strong>: NeoCities Wants to Save Us From the Crushing Boredom of Social Networking</a></h3>
<h3><a href="http://www.wired.com/2013/07/neocities/"><strong>Wired</strong>: Neocities Wants to Save Us From the Crushing Boredom of Social Networking</a></h3>
<blockquote>There needs to be an alternative to the current pre-formatted, template-driven, standardizing platforms, which make it easy to have a web presence, but hard to make that presence your own.</blockquote>
<h3><a href="https://www.vice.com/en/article/d77mpw/neocities-is-recreating-the-garish-web-10-creativity-of-geocities"><strong>Vice</strong>: NeoCities Is Recreating the Garish, Web 1.0 Creativity of Geocities</a></h3>
<h3><a href="https://www.vice.com/en/article/d77mpw/neocities-is-recreating-the-garish-web-10-creativity-of-geocities"><strong>Vice</strong>: Neocities Is Recreating the Garish, Web 1.0 Creativity of Geocities</a></h3>
<blockquote>The project is a way to recreate not only the aesthetic of the early personal websites, but also the original mission of Geocities: to give anyone with internet access a free place on the web.</blockquote>
<h3><a href="http://arstechnica.com/tech-policy/2014/05/web-host-gives-fcc-a-28-8kbps-slow-lane-in-net-neutrality-protest/"><strong>Ars Technica</strong>: Web host gives FCC a 28.8Kbps slow lane in net neutrality protest</a></h3>
<blockquote>Lots of people are angry about FCC Chairman Tom Wheeler's Internet "fast lane" proposal that would let Internet service providers charge Web services for priority access to consumers. But one Web hosting service called NeoCities isn't just writing letters to the FCC. Instead, the company found the FCC's internal IP address range and throttled all connections to 28.8Kbps speeds.</blockquote>
<blockquote>Lots of people are angry about FCC Chairman Tom Wheeler's Internet "fast lane" proposal that would let Internet service providers charge Web services for priority access to consumers. But one Web hosting service called Neocities isn't just writing letters to the FCC. Instead, the company found the FCC's internal IP address range and throttled all connections to 28.8Kbps speeds.</blockquote>
</div>
</div>
<div class="col col-33">
<p>When writing about us, we prefer "Neocities" over "NeoCities". Thank you!</p>
<h2 style="margin-bottom: 9px;">Contact Us</h2>
<p><a href="https://neocities.org/contact"><i class="fa fa-envelope-o"></i> Contact Form</a></p>