Commit Graph
18 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 ff3e30838a Did not know what the fuck the get_queryset bits did until now.
bitch
2023-09-16 23:23:31 -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 b049458816 For fuck sake.
lol
2023-09-15 17:00:52 -07:00
some weird guy 3154f23e2b Removed this because its unsafe.
fard
2023-09-15 16:56:24 -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 376afb43ce hmm
- Removed the comments inline thing because it was slow
- Sorting by popularity is now limited by posts within 7 days. I am not sure how this will impact performance but hopefully it wont be as slow.
2023-09-09 19:55:38 -07:00
some weird guy bcec15ab07 I had two choices
As cool as this new admin comment thing is, either I have to include all required fields in the inline otherwise it will throw an error when adding a new comment, or simply make it mostly read only and keep it simple.
2023-09-08 13:04:31 -07:00
some weird guy 4197b44b63 Comments show when editing a post in the admin panel.
h
2023-09-08 02:24:08 -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 46844a7cfb hmm
User created communities are now sorted by posts. Some small bug fixes, changed lazy error messages.
2023-08-09 12:37:48 -07:00
some weird guy ef1396fe03 CVS merge
Yet even more code merged.
2023-08-02 02:04:18 -04: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