Commit Graph

110 Commits (renovate/major-nextjs-monorepo)

Author SHA1 Message Date
dependabot[bot] 53059e14ad
build(deps): bump sqlite3 from 5.0.2 to 5.0.3 in /server (#128)
Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.2 to 5.0.3.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Commits](https://github.com/TryGhost/node-sqlite3/compare/v5.0.2...v5.0.3)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Max Leiter 55c5ecfe6c
Update to next 13, switch to pnpm (#127)
* switch to pnpm

* dep improvements, style fixes, next/link codemod

* server: upgrade sqlite
3 years ago
renovate[bot] 04ed522566
fix(deps): update all non-major dependencies (#111)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Max Leiter a52e9a1c62
client/server: linting and fix next building 3 years ago
Max Leiter bceeb5cee8
Revert "client/server: lint and add functionality for admin to update homepage"
This reverts commit b5024e3f45.
3 years ago
Max Leiter b5024e3f45
client/server: lint and add functionality for admin to update homepage 3 years ago
Max Leiter be6de7c796
client/server: clean-up admin page, re-implement user deletion/role toggling 3 years ago
Max Leiter 3d2bec0d5e
Revert "server: switch to sqlite3 package from pinned commit"
This reverts commit 3269dfc0dc.
3 years ago
Max Leiter a3c733f82e
server: remove unnecessary console.log 3 years ago
Max Leiter 519b6cdc71
client/server: add user settings page; add displayName, email, bio fields to user model (#108) 3 years ago
Max Leiter 3269dfc0dc
server: switch to sqlite3 package from pinned commit 3 years ago
Max Leiter 683cad2a8d
server: lint, renovate: weekly updates 3 years ago
Joaquin "Florius" Azcarate c0566efc98
Import a single Gist by ID (#76) 3 years ago
Max Leiter 00b03db3ef
client: lint and fix building due to missing type 3 years ago
Joaquin "Florius" Azcarate b9d26e16f7
Change post visibility (#83)
* Change post visibility

Closes #64

* Fix imports + right align controls
3 years ago
Joaquin "Florius" Azcarate 5df56fbdae
Add description to posts (#71)
Closes #37
3 years ago
renovate[bot] 6bb73b877e
server: fix(deps): update react monorepo to v18 (#98)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
kinghat 43aa68e082
cleaned up multi-service compose (#75)
* cleaned up multi-service compose
* refactor docker setup
* add all ENVs and remove unneeded variables
* remove comments, unneeded vars and syntax
3 years ago
Max Leiter 16103f2fcb
client: temp. remove ability to view files in posts as admin 3 years ago
Max Leiter 7d08570915
client/server: admin page improvements; add deleting users and changing roles 3 years ago
Max Leiter 67e1b9889b
client: remove need for multiple post page URLs 3 years ago
Max Leiter 4bcf791c86
Revert "fix(deps): update sqlite3 digest to 11c988c (#90)"
This reverts commit 90d9fabd27.
3 years ago
renovate[bot] 873db86fb1
fix(deps): update all non-major dependencies (#91)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
renovate[bot] 90d9fabd27
fix(deps): update sqlite3 digest to 11c988c (#90)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
renovate[bot] d17e240e1c
fix(deps): pin dependencies (#89)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Max Leiter fe589d63d8
client: mine page fixes, remove lodash.debounce 3 years ago
dependabot[bot] b6af63671b
server: build(deps): bump minimist from 1.2.5 to 1.2.6 in /server (#81)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Max Leiter 2a9e7ba6fc
server: linting 3 years ago
Max Leiter 5dabbbe64b
client/server: re-add removed config test line, remove unnecessary import 3 years ago
Max Leiter 2ecf1b21ca
client: remove server as build requirement
This means public/unlisted posts and the home-page are no longer
generated at build-time, so TTFB may be increased for the first user to
load/access a page. Cache-Control headers are set so if the RP / server
supports it the results should be cached for future users.
3 years ago
Max Leiter c73b7f66a3
server: move middleware tests to middleware/__tests__, set yarn test to mute console logs 3 years ago
Max Leiter 0e57e28b6c
server: add basic jwt middleware tests 3 years ago
Max Leiter 6c39d1c7c0
server: secret-key middleware tests 3 years ago
Max Leiter c6f89a28ad
server/client: replace JWTDenyList model with AuthToken, update middleware and routes 3 years ago
NDI Lionel b6439858df
server: add JWTDenyList table and signout route (#52)
* add models and signout route
* add migration file for JWTDenylist

Closes #25 

Co-authored-by: Max Leiter <maxwell.leiter@gmail.com>
3 years ago
Max Leiter 9cbcfd3397
server/client: remove unnecessary console.logs 3 years ago
Max Leiter 808314658d
server: fix private posts being accessible for authed accounts 3 years ago
Max Leiter e5b9b65b55
server: add basic is-admin tests and bug fixes 3 years ago
Max Leiter 3a879edc23
client/server: move markdown rendering from client/ entirely to server/ 3 years ago
Joaquin "Florius" Azcarate d495d7b222
server: replace process.env with our env thoughout (#70)
Bonus: tests!
3 years ago
Max Leiter f6cd545ca7
server: modify jest config to ignore node_modules, dist directories
without this, invoking `jest` would cause this warning:
jest-haste-map: Haste module naming collision: sequelize-typescript-starter
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/package.json
    * <rootDir>/dist/package.json
3 years ago
Joaquin "Florius" Azcarate 76a2b50c6b
server: throw if secretKey not set in production, set default in development (#59) 3 years ago
Joaquin "Florius" Azcarate ef005ef0b2
server: Add first e2e test, github action, health endpoint (#68)
And a bonus health endpoint to make the simplest test possible
3 years ago
Max Leiter b8cdc2cf72
client/server: add the ability to copy a post, view a posts parent 3 years ago
Max Leiter 06fad98ee1
client: add new-post error if no files are present 3 years ago
Max Leiter f20fa72b6d
client: password modal fixes for protected posts 3 years ago
Max Leiter ead3b0af9d
server: fix accessing password protected posts 3 years ago
Max Leiter 702dad14cb
server: address deprecated sequelize logger option 3 years ago
Max Leiter 24157ff10e
server: improve error message if NODE_ENV is unknown value 3 years ago
Max Leiter 64e9c58d5d
client: remove sequelize-cli-ts 3 years ago