Commit Graph

86 Commits (3269dfc0dc2de039c721ca72f0c8b85e7790a71c)

Author SHA1 Message Date
Max Leiter 683cad2a8d
server: lint, renovate: weekly updates 4 years ago
Joaquin "Florius" Azcarate c0566efc98
Import a single Gist by ID (#76) 4 years ago
Max Leiter 00b03db3ef
client: lint and fix building due to missing type 4 years ago
Joaquin "Florius" Azcarate b9d26e16f7
Change post visibility (#83)
* Change post visibility

Closes #64

* Fix imports + right align controls
4 years ago
Joaquin "Florius" Azcarate 5df56fbdae
Add description to posts (#71)
Closes #37
4 years ago
Max Leiter 16103f2fcb
client: temp. remove ability to view files in posts as admin 4 years ago
Max Leiter 7d08570915
client/server: admin page improvements; add deleting users and changing roles 4 years ago
Max Leiter 67e1b9889b
client: remove need for multiple post page URLs 4 years ago
Max Leiter fe589d63d8
client: mine page fixes, remove lodash.debounce 4 years ago
Max Leiter 2a9e7ba6fc
server: linting 4 years ago
Max Leiter 5dabbbe64b
client/server: re-add removed config test line, remove unnecessary import 4 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.
4 years ago
Max Leiter c73b7f66a3
server: move middleware tests to middleware/__tests__, set yarn test to mute console logs 4 years ago
Max Leiter 0e57e28b6c
server: add basic jwt middleware tests 4 years ago
Max Leiter 6c39d1c7c0
server: secret-key middleware tests 4 years ago
Max Leiter c6f89a28ad
server/client: replace JWTDenyList model with AuthToken, update middleware and routes 4 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>
4 years ago
Max Leiter 9cbcfd3397
server/client: remove unnecessary console.logs 4 years ago
Max Leiter 808314658d
server: fix private posts being accessible for authed accounts 4 years ago
Max Leiter e5b9b65b55
server: add basic is-admin tests and bug fixes 4 years ago
Max Leiter 3a879edc23
client/server: move markdown rendering from client/ entirely to server/ 4 years ago
Joaquin "Florius" Azcarate d495d7b222
server: replace process.env with our env thoughout (#70)
Bonus: tests!
4 years ago
Joaquin "Florius" Azcarate 76a2b50c6b
server: throw if secretKey not set in production, set default in development (#59) 4 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
4 years ago
Max Leiter b8cdc2cf72
client/server: add the ability to copy a post, view a posts parent 4 years ago
Max Leiter 06fad98ee1
client: add new-post error if no files are present 4 years ago
Max Leiter f20fa72b6d
client: password modal fixes for protected posts 4 years ago
Max Leiter ead3b0af9d
server: fix accessing password protected posts 4 years ago
Max Leiter 702dad14cb
server: address deprecated sequelize logger option 4 years ago
Max Leiter 24157ff10e
server: improve error message if NODE_ENV is unknown value 4 years ago
Max Leiter dafc0c37f8
client/server: use `config` dictionary on server, improve types on client 4 years ago
Joaquin "Florius" Azcarate 8da6d62cea
Destoy files when destroying post (#62) 4 years ago
Joaquin "Florius" Azcarate 6a6a2a3496
server: `drift_home` already has a default (#61)
`||` on an exsiting string does nothing
4 years ago
Max Leiter 76e7bb8013
server: allow expiresAt to be null for new posts 4 years ago
Max Leiter 752b2c0980
client/server: add support for expiring posts 4 years ago
Max Leiter 0504bd57e2
server: fix post 500 errors 4 years ago
Max Leiter 6de415ed99
server: fix auth 500 errors 4 years ago
Max Leiter 85ae8173bb
client/server: lint 4 years ago
Max Leiter 6afc4c915e
client/server: search cleanup, admin work 4 years ago
Max Leiter fb8f14fd98
server: dockerfile updates and switch to bcryptjs 4 years ago
Max Leiter fd7d0be6ba
server: add `yarn start` and building support with tsc 4 years ago
Max Leiter 333e3647e0
server: fix post creation 4 years ago
Max Leiter e0b0102603
server: rework migrations/sequelize, add basic admin page/role, bug fixes 4 years ago
Max Leiter 73e2edfe2b
server: error on post with no files 4 years ago
Max Leiter 5ac73718cf
server/client: add post deletion 4 years ago
Max Leiter 62bc7af004
client: misc style improvements, error handling 4 years ago
Max Leiter 0815d43ee8
client: lint and minor scroll button/file explorer adjustments 4 years ago
Max Leiter bb893fa6ba
server: sort search results 4 years ago
Max Leiter 951088bacf
client/server: add post searching 4 years ago
Max Leiter e5f467b26a
client: improve theming variable consistency 4 years ago