Commit Graph

293 Commits (jest)
 

Author SHA1 Message Date
Max Leiter c5d2e9ac63
client: add jest and basic lib/ tests 3 years ago
Max Leiter 454ea303a6
client: remove get-post-path and usage of it, fix view parent btn on post page not working due to SSR 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] 2ba613d562
chore(deps): update dependency @types/react to v18.0.5 (#103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
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
renovate[bot] 3c2f902877
fix(deps): update all non-major dependencies (#100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
3 years ago
Max Leiter 4658d90c8c
README: add table of contents, add Running with Docker section (#101)
* README: add table of contents, add Running with Docker section

* Remove outdated REGISTRATION_PASSWORD details
3 years ago
renovate[bot] f687152455
fix(deps): pin dependency rc-table to 7.24.1 (#99)
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 3d747f41cc
client: remove unused param in post-table 3 years ago
Max Leiter 7ce6acf5fe
client: fix admin imports 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 7d5afbc682
client: fix building with react 18 3 years ago
Max Leiter 9df1a22aa7
client: update to react 18 3 years ago
Max Leiter 16d5780110
client: redirect /private/ and /protected/ links to /post to handle backwards compat 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
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