Skip to content

Web scribe#272

Open
slassen wants to merge 10 commits into
developfrom
web-scribe
Open

Web scribe#272
slassen wants to merge 10 commits into
developfrom
web-scribe

Conversation

@slassen
Copy link
Copy Markdown
Collaborator

@slassen slassen commented Dec 1, 2024

This PR has several functions which together will allow posts on the website w/o manually creating a JSON file.

  • Adds a privilege named WEB_SCRIBE
  • Allows accounts with the privilege WEB_SCRIBE (indicated by the bit mask 2 on the priv column, accounts table) to write and delete posts on the website.
  • Moves the validate middleware to validateJWT in the utils folder
  • Adds a clear function for cache
  • Adds an admin tab for the website that currently only has posting available
  • Adds two new queries, misc/trash and misc/write that modify posts on the website
  • Updates misc/news to read from the db
  • A couple Prettier updates because it was throwing big red errors on dev
  • CSS + React component for writing in Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant