Commit Graph
11 Commits
Author SHA1 Message Date
some weird guy 328485d04c stuff
- Fixed community edit audit logs being created even if the user owns the community.
- Simple ban page that shows you the reason, expiration date, and time left.
- Removing unused models
- other small changes
2023-09-18 16:46:28 -07:00
some weird guy bdab42a155 Bug fixes, Additional admin shit, removal of is_active
Django handles is_active for you, If your account is disabled, The site will act as if you are not authenticated.  This means that all is_active checks are now pointless.

- Fixed C-Token deduction
- Removed is_active middleware
- Removed check for signup_addr when signing up
- Removed is_active logout message
- Added lazy asf check that makes a profile for you if one is not found.
- Removed community owner exception for rank_needed_to_post
- Removed unused permission thing
- Improved the admin interface even more.
2023-09-16 15:43:30 -07:00
some weird guy 61ca96d37d Cedar now uses Django's Perms and groups.
You'll have to do some manual editing to give yourself superuser.

- /admin/ now uses perms and groups. So you can fine tune who has access to what model.
- Moved the metadata button to the user sidebar
- Removed metaview lists from showing in user settings and in the metadata page.
2023-09-15 16:03:37 -07:00
some weird guy a2e607fff3 My pi server will not grab IPs otherwise. 2023-08-31 09:35:20 -07:00
some weird guy f381d1d1af deez 2023-08-29 11:56:34 -07:00
some weird guy e49d856f71 god dead
- Changed HTML to support the new fancy ban system
- Added "banned" and "active_ban" bits in models.py
- IP bans are supported now.
2023-08-24 12:20:32 -07:00
some weird guy ca09f3295b Login page moved to forms.py, New warning and ban system, a bunch of other shit.
- Change password page from profile settings has been moved over to forms.py
- Login page has been moved over to forms.py. There is no JavaScript right now, however it is still functional.
-Profile_tools_Form has been altered to remove a few unneeded fields that administrators don't need to mess with.
- warned_reason and warned fields are gone from User_tools_Form and will be removed from models.py at a later point.

- a new ban system has been implemented. While bans are still incomplete and lack capabilities to ban IP addresses as of right now, the groundwork is now here and those features can be added later.
- manage_bans page was added.

- A new warning system has been implemented. If a Warning is created, a notification is created automatically with it.  A warning notification replaces the "new announcement" notification type.
- Warning notifications are larger and stand out compared to normal notifications
- When posting, commenting or messaging someone, a check is performed to make sure you've seen the warning notification.
- manage_warnings page was added. This page will also show you the warning history.

- help_text was added to a bunch of fields.
2023-08-23 16:47:28 -07:00
some weird guy 1b33a2aad1 oh god
- Merge with closedverse-video-support
- user_tools moved to forms.py
- community_tools moved to forms.py
2023-08-19 17:17:00 -07:00
some weird guy 74ef0db34c Finished the merge, Disabling comments, Community bans. 2023-08-12 14:55:51 -07:00
some weird guy 0d30171496 Invite only setting, stolen code, bunch of other random shit. 2023-08-01 06:32:59 -04:00
some weird guy ecd8d3b1b7 The first steps or whatever
balls
2023-02-08 18:33:16 -08:00