mirror of
https://github.com/neocities/neocities.git
synced 2025-07-25 03:48:22 +02:00
Neocities.org - the web site. Yep, the backend is open source!
There is a legacy bug I just caught, where many accounts would have the same email but then have different casing. In extreme scenarios, this would lead to them creating a new user with the same email, or having issues with password reset and username lookup. This doesn't merge in the existing duplicates, but makes sure to only allow insensitive lowercase emails from here on out. It also will check for emails in a case insensitive way for such things as resets and logins if the sensitive lookup doesn't work. The implementation was not wrong per se - email is supposed to be case sensitive for usernames. But of course, nobody (nor do most/all email servers) treat them that way, leading to confusion situations where the user sometimes camelcases their email and then switches to lowercase later. |
||
---|---|---|
app | ||
ext | ||
files | ||
migrations | ||
models | ||
public | ||
sass | ||
tests | ||
vagrant | ||
views | ||
workers | ||
.gitignore | ||
.travis.yml | ||
app.rb | ||
app_helpers.rb | ||
code-of-conduct.txt | ||
config.ru | ||
config.yml.template | ||
config.yml.travis | ||
environment.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.txt | ||
puma_config.rb | ||
rainbows_config.rb | ||
Rakefile | ||
README.md | ||
Vagrantfile |
Neocities.org
The web site for Neocities! It's open source. Want a feature on the site? Send a pull request!
Getting Started
Neocities can be quickly launched in development mode with Vagrant. Vagrant builds a virtual machine that automatically installs everything you need to run Neocities as a developer. Install Vagrant, then from the command line:
vagrant up --provision
vagrant ssh
cd /vagrant
bundle exec rackup -o 0.0.0.0
Now you can access the running site from your browser: http://127.0.0.1:9292
Want to contribute?
If you'd like to fix a bug, or make an improvement, or add a new feature, it's easy! Just send us a Pull Request.
- Fork it (http://github.com/YOURUSERNAME/neocities/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request