booru / philomena

Next-generation imageboard software. This software development project is independent from any image hosting project.
GNU Affero General Public License v3.0
9 stars 10 forks source link

Place limitations on names. #35

Closed alamais-df closed 4 years ago

alamais-df commented 4 years ago

Before you begin


Adds two new plugs, NotableNamePlug with associated DB table schema, which will block registration or changing to any name in the notable_names table, if it exists, and NameLengthLimiterPlug, which...limits the lengths of names (to 80 characters max). Adds Registration.NewController to handle new user registration, passing through the new plugs. Modifies NameController to use new plugs. Modifies Router to use new controller, and controller callbacks to remove old captcha-verification registration callback.