Commit graph

222 commits

Author SHA1 Message Date
Max Leiter
13040ab8cc
server: begin implementing header auth 2022-05-06 21:34:19 -07:00
Max Leiter
6a951cad78
client: add more formatting icons and improve formatting bar responsiveness 2022-04-22 15:42:54 -07:00
Max Leiter
a52e9a1c62
client/server: linting and fix next building 2022-04-21 22:01:59 -07:00
Max Leiter
bceeb5cee8
Revert "client/server: lint and add functionality for admin to update homepage"
This reverts commit b5024e3f45.
2022-04-20 01:52:07 -07:00
Max Leiter
b5024e3f45
client/server: lint and add functionality for admin to update homepage 2022-04-20 01:49:34 -07:00
Max Leiter
be6de7c796
client/server: clean-up admin page, re-implement user deletion/role toggling 2022-04-19 23:36:56 -07:00
Max Leiter
519b6cdc71
client/server: add user settings page; add displayName, email, bio fields to user model (#108) 2022-04-19 22:14:08 -07:00
renovate[bot]
a884fdbfef
chore(deps): update all non-major dependencies (#105)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 18:50:21 -07:00
Max Leiter
265f7b6161
client: delete protected/ dir and SSG homepage again, but with graceful fallback (#107) 2022-04-19 18:05:21 -07:00
Max Leiter
57cded29c3
client: remove unnecessary signedIn state from post-page 2022-04-18 14:51:02 -07:00
Max Leiter
4177897691
client: redirect unauthed users from all /new paths 2022-04-18 14:48:08 -07:00
Max Leiter
454ea303a6
client: remove get-post-path and usage of it, fix view parent btn on post page not working due to SSR 2022-04-14 17:18:47 -07:00
Max Leiter
00b03db3ef
client: lint and fix building due to missing type 2022-04-14 14:32:20 -07:00
Joaquin "Florius" Azcarate
b9d26e16f7
Change post visibility (#83)
* Change post visibility

Closes #64

* Fix imports + right align controls
2022-04-14 14:27:38 -07:00
Joaquin "Florius" Azcarate
5df56fbdae
Add description to posts (#71)
Closes #37
2022-04-14 14:25:31 -07:00
renovate[bot]
2ba613d562
chore(deps): update dependency @types/react to v18.0.5 (#103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 12:42:59 -07:00
renovate[bot]
3c2f902877
fix(deps): update all non-major dependencies (#100)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 17:41:54 -07:00
renovate[bot]
f687152455
fix(deps): pin dependency rc-table to 7.24.1 (#99)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 15:44:52 -07:00
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
2022-04-13 15:31:38 -07:00
Max Leiter
3d747f41cc
client: remove unused param in post-table 2022-04-13 12:42:20 -07:00
Max Leiter
7ce6acf5fe
client: fix admin imports 2022-04-13 12:37:15 -07:00
Max Leiter
16103f2fcb
client: temp. remove ability to view files in posts as admin 2022-04-12 21:24:04 -07:00
Max Leiter
7d08570915
client/server: admin page improvements; add deleting users and changing roles 2022-04-12 21:14:10 -07:00
Max Leiter
7d5afbc682
client: fix building with react 18 2022-04-12 19:19:06 -07:00
Max Leiter
9df1a22aa7
client: update to react 18 2022-04-12 19:09:41 -07:00
Max Leiter
16d5780110
client: redirect /private/ and /protected/ links to /post to handle backwards compat 2022-04-12 16:54:02 -07:00
Max Leiter
67e1b9889b
client: remove need for multiple post page URLs 2022-04-12 16:48:12 -07:00
renovate[bot]
873db86fb1
fix(deps): update all non-major dependencies (#91)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 13:52:42 -07:00
Max Leiter
917e85196e
client: remove unused dependencies 2022-04-12 13:44:08 -07:00
renovate[bot]
d17e240e1c
fix(deps): pin dependencies (#89)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 13:25:48 -07:00
Max Leiter
fe589d63d8
client: mine page fixes, remove lodash.debounce 2022-04-11 23:07:52 -07:00
Max Leiter
1369bdf996
client: remove unnecessary prop in edit-document-list 2022-04-11 22:47:45 -07:00
Max Leiter
f510813e4b
client: add textarea-markdown-editor package and replace current editor textarea 2022-04-11 22:39:35 -07:00
Max Leiter
481d4ae36c
client: add / auto-increment number at end of copied posts instead of 'copy of' text 2022-04-11 19:57:41 -07:00
Max Leiter
83def0ec86
client: remove preact to fix file dropdown process crash 2022-04-10 20:05:42 -07:00
Max Leiter
401a0df63b
client: add type to please next lint 2022-04-09 17:54:08 -07:00
Max Leiter
36e255ad2b
client: lint tsx files with prettier 2022-04-09 17:48:19 -07:00
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>
2022-04-09 13:19:35 -07:00
Max Leiter
d1415d1ee2
client: don't re-direct the owner of a file if it's expired 2022-04-08 23:30:07 -07:00
Max Leiter
9fe9b818c4
client: remove console.log from /mine 2022-04-08 22:44:46 -07:00
Max Leiter
bc6362e412
client: improve error page design, fix isPageRequest regex in middleware 2022-04-06 16:31:41 -07:00
Max Leiter
18dff00a93
client: cleanup middleware redirect code 2022-04-06 14:42:18 -07:00
Max Leiter
5dabbbe64b
client/server: re-add removed config test line, remove unnecessary import 2022-04-06 10:48:41 -07:00
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.
2022-04-06 10:41:42 -07:00
Max Leiter
c6f89a28ad
server/client: replace JWTDenyList model with AuthToken, update middleware and routes 2022-04-06 09:08:51 -07:00
Max Leiter
9cbcfd3397
server/client: remove unnecessary console.logs 2022-04-06 08:36:20 -07:00
Max Leiter
e5b9b65b55
server: add basic is-admin tests and bug fixes 2022-04-05 16:17:08 -07:00
Max Leiter
3a879edc23
client/server: move markdown rendering from client/ entirely to server/ 2022-04-04 18:13:18 -07:00
Max Leiter
f8ba5b32c9
client: mobile post page adjustments with longer button bar 2022-04-03 13:09:04 -07:00
Max Leiter
5e9288e9fb
client: stop middleware from signing out on /signout pre-fetch 2022-04-02 00:53:06 -07:00