* edited build-main.yml to have workflow_dispatch
* re-added pgadmindata to docker compose
* removed disclaimer about being run on my personal laptop as that's no longer true
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* add migration to delete duplicates that currently exist in the db
* change model and migration to add a unique index constraint to id and name
* renamed unique index name to be readable
* redid model and migration to use @Unique instead of @Index
* remove //Here comment
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* add migration to delete duplicates that currently exist in the db
* added a name attribute for consistency
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* rearranged update member field and remove member to match expected structure in typeORM
* update docstring
* change insert to save in memberRepo
* added command in package.json
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* forgot to update a reference in messageHelper to memberRepo instead of memberHelper
* turned off data-source logging
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* adding typescript packages for typeORM
* add typeORM initial files
* updating package scripts
* updating compose.yaml to have an exposed port for the postgres
* modifying setup for typeORM
* update database stuff and and package.json to help generate migrations
* made models and migrations in typeORM
* delete unneeded database.js
* made database pattern ignored by jest
* remove sequelize
* separate member repo from member helper
* not sure why i made everything numbers in the model but it's fixed now
* edited package.json script
* remove unused index.ts
* adjusted files to reference repository correctly and appdatasource
* made appdatasource export as named
* removed start-db script
* added init to appdatasource in bot.js
* migrations finally!
* new migration matching model names I want
* updating tests
* removing testpathignore patterns since it seems to be unecessary?
* adjusting migrations to match current schema
* removed reference to secrets file
* delete old migration
* Revert "delete old migration"
This reverts commit db1efa39a7a80d8976878856250ccaac6a753ab2.
* Revert "adjusting migrations to match current schema"
This reverts commit ef89a83f6a2ef0643d6ace0a3fcf9c40f4bc6dd6.
* just deleted system creation since it's got nothing in it anyway
* renamed memberRepository to memberRepo for consistency
* added await back to parseMemberCommand call to memberArgumentHandler
* changed call to memberHelper.getMembersByAuthor to memberRepo
* renamed repo updateMemberValue to updateMemberField
* removed throw references in repo docstrings
* remove unneeded subscriber directory ref
* changed createdAt and updatedAt columns to be auto-generated
made member table have timezone
* changed casing of isInitialized in mock for bot.js
* removed % from ILike query so that it doesn't match substrings/wildcard
* renamed some stray updateMemberValue in mocks -> updateMemberField
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* adding to git ignore
* making imports named not default to not break all my tests
* adjusted setup for memberhelper test
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
* Add files via upload
* Update Docker image for pluralflux service
* removing unnecessary network and container name definitions
---------
Co-authored-by: Aster Fialla <asterfialla@gmail.com>
@@ -7,8 +7,6 @@ PluralFlux is a proxybot akin to PluralKit and Tupperbox, but for [Fluxer](https
[Sponsor the project](https://github.com/sponsors/pieartsy)
[Sponsor the project](https://github.com/sponsors/pieartsy)
If it's not running at the moment, it's because my computer crashed or something. I'm looking to move running it to a somewhat more permanent solution.
## Commands
## Commands
All commands are prefixed by `pf;`. Currently only a few are implemented.
All commands are prefixed by `pf;`. Currently only a few are implemented.
awaitqueryRunner.query(`CREATE TABLE "System" ("id" SERIAL NOT NULL, "shortid" character varying, "userid" character varying NOT NULL, "name" character varying(100), "fronter" character varying(100), "grouptag" character varying, "autoproxy" character varying, "createdAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updatedAt" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), CONSTRAINT "UQ_System_shortid" UNIQUE ("shortid"), CONSTRAINT "UQ_System_userid" UNIQUE ("userid"), CONSTRAINT "PK_b8e3f6855de5a4758fcb59e5567" PRIMARY KEY ("id"))`);
awaitqueryRunner.query(`DELETE from "System" USING "Member" WHERE "System".userid = "Member".userid;`);
}
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.