Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/Mintplex-Labs/anything-llm. Pull mirroring updated .
  1. May 22, 2024
  2. Mar 26, 2024
  3. Feb 06, 2024
    • Sean Hatfield's avatar
      [FEAT] Automated audit logging (#667) · d789920a
      Sean Hatfield authored
      
      * WIP event logging - new table for events and new settings view for viewing
      
      * WIP add logging
      
      * UI for log rows
      
      * rename files to Logging to prevent getting gitignore
      
      * add metadata for all logging events and colored badges in logs page
      
      * remove unneeded comment
      
      * cleanup namespace for logging
      
      * clean up backend calls
      
      * update logging to show to => from settings changes
      
      * add logging for invitations, created, deleted, and accepted
      
      * add logging for user created, updated, suspended, or removed
      
      * add logging for workspace deleted
      
      * add logging for chat logs exported
      
      * add logging for API keys, LLM, embedder, vector db, embed chat, and reset button
      
      * modify event logs
      
      * update to event log types
      
      * simplify rendering of event badges
      
      ---------
      
      Co-authored-by: default avatartimothycarambat <rambat1010@gmail.com>
      d789920a
  4. Jan 22, 2024
    • Timothy Carambat's avatar
      Implement total permission overhaul (#629) · 9a237db3
      Timothy Carambat authored
      * Implement total permission overhaul
      Add explicit permissions on each flex and strict route
      Patch issues with role escalation and CRUD of users
      Patch permissions on all routes for coverage
      Improve middleware to accept role array for clarity
      
      * update comments
      
      * remove permissions to API-keys for manager. Manager could generate API-key and using high-privelege api-key give themselves admin
      
      * update sidebar permissions for multi-user and single user
      
      * update options for mobile sidebar
      9a237db3
  5. Jan 02, 2024
  6. Nov 16, 2023
  7. Nov 14, 2023
  8. Nov 02, 2023
  9. Sep 28, 2023
    • Sean Hatfield's avatar
      Replace custom sqlite dbms with prisma (#239) · a126b5f5
      Sean Hatfield authored
      
      * WIP converted all sqlite models into prisma calls
      
      * modify db setup and fix ApiKey model calls in admin.js
      
      * renaming function params to be consistent
      
      * converted adminEndpoints to utilize prisma orm
      
      * converted chatEndpoints to utilize prisma orm
      
      * converted inviteEndpoints to utilize prisma orm
      
      * converted systemEndpoints to utilize prisma orm
      
      * converted workspaceEndpoints to utilize prisma orm
      
      * converting sql queries to prisma calls
      
      * fixed default param bug for orderBy and limit
      
      * fixed typo for workspace chats
      
      * fixed order of deletion to account for sql relations
      
      * fix invite CRUD and workspace management CRUD
      
      * fixed CRUD for api keys
      
      * created prisma setup scripts/docs for understanding how to use prisma
      
      * prisma dependency change
      
      * removing unneeded console.logs
      
      * removing unneeded sql escape function
      
      * linting and creating migration script
      
      * migration from depreciated sqlite script update
      
      * removing unneeded migrations in prisma folder
      
      * create backup of old sqlite db and use transactions to ensure all operations complete successfully
      
      * adding migrations to gitignore
      
      * updated PRISMA.md docs for info on how to use sqlite migration script
      
      * comment changes
      
      * adding back migrations folder to repo
      
      * Reviewing SQL and prisma integraiton on fresh repo
      
      * update inline key replacement
      
      * ensure migration script executes and maps foreign_keys regardless of db ordering
      
      * run migration endpoint
      
      * support new prisma backend
      
      * bump version
      
      * change migration call
      
      ---------
      
      Co-authored-by: default avatartimothycarambat <rambat1010@gmail.com>
      a126b5f5
  10. Sep 11, 2023
  11. Aug 24, 2023
    • Timothy Carambat's avatar
      Full developer api (#221) · defe6054
      Timothy Carambat authored
      * Autodocument Swagger API with JSDocs on /v1/ endpoints for API access
      implement single-player API keys
      WIP Admin API Keys
      
      * Create new api keys as both single and multi-user
      
      * Add boot and telem
      
      * Complete Admin API
      
      * Complete endpoints
      dark mode swagger
      
      * update docs
      
      * undo debug
      
      * update docs and readme
      defe6054
Loading