Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Better moderation #184

Merged
merged 25 commits into from
Oct 20, 2023
Merged

Better moderation #184

merged 25 commits into from
Oct 20, 2023

Conversation

tnix100
Copy link
Member

@tnix100 tnix100 commented Oct 14, 2023

  • Overhauls the moderation system
  • Loads account details via auth payload (due to this behavior, these changes stop the client from being able to interact with older servers)
  • Loads chats once after authentication from the REST API and listens to chat creation/update/deletion events from CL for updating chats
  • Adds post editing
  • Add DMs (direct messages)
  • Adds the ability to edit group chat nicknames
  • Adds the ability to transfer ownership of a group chat
  • Adds the ability to block users
  • Adds the ability to favourite chats
  • Cleans up the way modals are handled, now uses a modalStack, you now pass a modal object to showModal instead of having a massive if/else chain in _layout.svelte
  • Adds a better reporting system
  • Adds temporary/permanent account restrictions and temporary account bans
  • Adds reasons to punishments

@tnix100 tnix100 added the enhancement New feature or request label Oct 14, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 14, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d7374bd
Status: ✅  Deploy successful!
Preview URL: https://df0ed445.meower-svelte.pages.dev
Branch Preview URL: https://better-moderation.meower-svelte.pages.dev

View logs

@tnix100 tnix100 marked this pull request as ready for review October 20, 2023 11:03
@tnix100 tnix100 merged commit ea192a8 into develop Oct 20, 2023
@tnix100 tnix100 deleted the better-moderation branch October 20, 2023 11:03
tnix100 added a commit that referenced this pull request Oct 20, 2023
* Initial commit

* BACKUP: potentially unstable

Co-authored-by: 3r1s-s <eris@meower.org>

* New modals & clm.updateProfile() systems

* Cleaned up more modals and fixed admin perms

* prettier formatting

* * Cleanup modals some more
* Add ability to manage netblocks

* Add markdown, external links, and mentions

* Add the ability to set user restrictions

* * Add recent users and netblocks lists
* Add netblock notes
* Fix user settings controls

* Fix modals and run prettier

* Mod update!!

* Forgot to run prettier, oops

* Set default restrictions on restriction ban state

* Change meower.eu.org for beta.meower.org

And enable beta flag for now

* Add .routify back to .gitignore

* Delete .routify folder

* Fix group chats height

* Upper post character limit to 4k

* Move dependencies to devDependencies

* Check chat members limit

* Add 'del' and 'code' as allowed tags for markdown

* New markdown system

* Add back mentions and quote containers

* Update Post.svelte

---------

Co-authored-by: 3r1s-s <eris@meower.org>
tnix100 added a commit that referenced this pull request Oct 28, 2023
* fix repair mode check on connection failed modal

* Rename title of inbox button for consistency (#181)

* Bump postcss from 8.4.21 to 8.4.31 (#185)

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.21 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.21...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dependencies  + minor development changes (#183)

* The big dependency bump!

* Minor CONTRIBUTING.md change, make vite not scream at the user that much
(Fixes the autocomplete warning messages)

---------

Co-authored-by: Tnix <tnix@meower.org>

* Merge Better moderation (#184)

* Initial commit

* BACKUP: potentially unstable

Co-authored-by: 3r1s-s <eris@meower.org>

* New modals & clm.updateProfile() systems

* Cleaned up more modals and fixed admin perms

* prettier formatting

* * Cleanup modals some more
* Add ability to manage netblocks

* Add markdown, external links, and mentions

* Add the ability to set user restrictions

* * Add recent users and netblocks lists
* Add netblock notes
* Fix user settings controls

* Fix modals and run prettier

* Mod update!!

* Forgot to run prettier, oops

* Set default restrictions on restriction ban state

* Change meower.eu.org for beta.meower.org

And enable beta flag for now

* Add .routify back to .gitignore

* Delete .routify folder

* Fix group chats height

* Upper post character limit to 4k

* Move dependencies to devDependencies

* Check chat members limit

* Add 'del' and 'code' as allowed tags for markdown

* New markdown system

* Add back mentions and quote containers

* Update Post.svelte

---------

Co-authored-by: 3r1s-s <eris@meower.org>

* Blocs 1.7 (#180)

* capitalization

* whh

* a

* Dear Matt Oshry, Brad Porter, and Michael Bodell

I hate you

* audio and video

* Attachment audio

* cleanup

* comments

* tinting and main color for custom  themes

* finished custom themes

* preview

* ok hopefully better

* why

* first easter eggs

* a couple more things

* AAAA THERES TOO MANY

group cat

* Move modals to another file

* remove uneeded TODOs, new icon 21

* start profile easter egg

* ok alot

* fix

* final sorry

* im done

* Add new catblock pfp

* Delete src/assets/avatars/icon_22_old.svg

* * Add JSON to custom theme modal
* Cleanup some other code

* Change store name for custom theme

* whar

* I doubt this will work

* Revert "I doubt this will work"

This reverts commit e485b5f.

* Revert "whar"

This reverts commit b9b4510.

* Revert "Change store name for custom theme"

This reverts commit 25c203e.

* changeTheme.js > ChangeTheme.js

* Merge branch 'develop' into better-moderation

* Fix routify and remove levels from easteregg page

* Clean up easteregg page a bit

* THERES > THERE'S

* Delete installthenrun.py

Should be bash and PowerShell/batch scripts if we're going to add something like this.

* Delete src/lib/Modals.svelte

No longer needed as part of the new modals system already in the develop branch.

* Update groupcat.svelte

Fix formatting.

* Fix post attachments & gc member limit check

---------

Co-authored-by: Tnix <hi@tnix.dev>
Co-authored-by: Tnix <tnix@meower.org>

* fix relationship loading

* Remove escaping HTML on posts

The MD lib already does that

* Add the 1.8.0 changelog

* Add password confirmation

Co-authored-by: ajskateboarder <81255936+ajskateboarder@users.noreply.github.com>

* Run Prettier

* Merge fallbacks (#188)

* fallbacks

fallbacks for attachments and oobe

* default

* Fix caps in Attachment error

---------

Co-authored-by: Tnix <tnix@meower.org>

* Re-run Prettier

* Merge About page (#187)

* About page

* Add DaCatBlock's title (Web developer)

* Make 'Learn more' & 'Source code' open in new tab

* Move changelog to about page

---------

Co-authored-by: Tnix <tnix@meower.org>
Co-authored-by: Tnix <hi@tnix.dev>

* Disable beta flag & run Prettier

* Attempt fixing some markdown errors

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: theotherhades <64885838+theotherhades@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: CST1229 <68464103+CST1229@users.noreply.github.com>
Co-authored-by: 3r1s-s <eris@meower.org>
Co-authored-by: Bloctans <93960460+Bloctans@users.noreply.github.com>
Co-authored-by: ajskateboarder <81255936+ajskateboarder@users.noreply.github.com>
@tnix100 tnix100 mentioned this pull request Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant