aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user/user-notification.ts
Commit message (Collapse)AuthorAgeFilesLines
* Don't inject untrusted inputChocobozzz2022-11-151-1/+2
| | | | | Even if it's already checked in middlewares It's better to have safe modals too
* Refactor a little bit raw sql buildersChocobozzz2022-03-031-3/+2
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-218/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Move uuid stuff in extra utilsChocobozzz2021-12-291-1/+1
| | | | Since it requires an external dependency
* Fix shared importsChocobozzz2021-12-241-1/+1
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-1/+1
|
* Move typescript utils in its own directoryChocobozzz2021-12-161-1/+1
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+1
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Add ability to search by host in serverChocobozzz2021-07-271-0/+3
|
* Stricter models typingChocobozzz2021-05-121-1/+2
|
* Cleanup models directory organizationChocobozzz2021-05-111-0/+665