Commit Graph

470 Commits (refactor)
 

Author SHA1 Message Date
Max Leiter 917e85196e
client: remove unused dependencies 3 years ago
renovate[bot] 9850c9a9ca
chore(deps): update actions/checkout action to v3 (#92)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
renovate[bot] 6481de22d4
chore(deps): update actions/setup-node action to v3 (#93)
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 05826aa344
renovate: change group:all to group:allNonMajor 3 years ago
Max Leiter fe589d63d8
client: mine page fixes, remove lodash.debounce 3 years ago
Max Leiter 1369bdf996
client: remove unnecessary prop in edit-document-list 3 years ago
Max Leiter f510813e4b
client: add textarea-markdown-editor package and replace current editor textarea 3 years ago
Max Leiter 481d4ae36c
client: add / auto-increment number at end of copied posts instead of 'copy of' text 3 years ago
Max Leiter 83def0ec86
client: remove preact to fix file dropdown process crash 3 years ago
Max Leiter 401a0df63b
client: add type to please next lint 3 years ago
Max Leiter 36e255ad2b
client: lint tsx files with prettier 3 years ago
renovate[bot] c44ab907bb
renovate: Configure Renovate (#82)
* chore(deps): add renovate.json
* renovate: group all PRs

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Max Leiter <maxwell.leiter@gmail.com>
3 years ago
dependabot[bot] 8ada3a6300
build(deps): bump minimist from 1.2.5 to 1.2.6 in /client (#80)
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
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 d1415d1ee2
client: don't re-direct the owner of a file if it's expired 3 years ago
Max Leiter 9fe9b818c4
client: remove console.log from /mine 3 years ago
Max Leiter bc6362e412
client: improve error page design, fix isPageRequest regex in middleware 3 years ago
Max Leiter 2a9e7ba6fc
server: linting 3 years ago
Max Leiter 18dff00a93
client: cleanup middleware redirect code 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 32cc1f861e
server/client: mute vercel github comments 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
Joaquin "Florius" Azcarate 06d847dfa3
Only run the backend CI when a change happens in the server (#73) 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 f8ba5b32c9
client: mobile post page adjustments with longer button bar 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 5e9288e9fb
client: stop middleware from signing out on /signout pre-fetch 3 years ago
Max Leiter 52dc5e41a5
client: remove signout() function from useSignedIn
We now use the middleware-implemented /signout route
3 years ago
Max Leiter a1fef656bb
client: refactor header component for improved SSR 3 years ago
Max Leiter e7cec9b827
client: remove console.log 3 years ago
Max Leiter 763cb1dadc
Merge pull request #65 from MaxLeiter/dupePosts
client/server: add the ability to copy a post, view a posts parent
3 years ago
Max Leiter b8cdc2cf72
client/server: add the ability to copy a post, view a posts parent 3 years ago
Max Leiter ce01eba9c0
client: don't run middleware if the request isn't a page 3 years ago
Max Leiter f927fae9ed
client: improve clicking jump to file button 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