Commit graph

460 commits

Author SHA1 Message Date
Max Leiter
a1fa7dbb8a remove @vercel/og, use bundled package 2023-05-20 15:47:37 -07:00
Max Leiter
c416f5d5e8 migrate header info back to client-side 2023-05-20 15:42:21 -07:00
Max Leiter
dc11f8eb0c bump next and deps, fix header buttons 2023-05-20 15:16:50 -07:00
David Schultz
5e4ecbb803
Fix isAdmin check to be by role and not uid (#147)
* isAdmin should be based on role, not uid

* move admin link before sign in/out
2023-05-20 12:35:33 -07:00
Zdeněk Janeček
0f58c44261
fix: build errors (#145) 2023-05-13 00:00:47 -07:00
Max Leiter
d0a73a7cbc fix sign out, theme switch, auth provider icons 2023-04-13 20:13:08 -07:00
Zdeněk Janeček
55e19381a7
fix: add keys to header buttons (#142)
Co-authored-by: Zdeněk Janeček <zdenek.janecek@firma.seznam.cz>
2023-03-28 09:38:05 -07:00
Zdeněk Janeček
3433371930
feat: add keycloak login (#139)
Co-authored-by: Zdeněk Janeček <zdenek.janecek@firma.seznam.cz>
2023-03-28 00:37:27 -07:00
Max Leiter
7887b42404
components/header: rm memo from RSC (#141) 2023-03-28 00:37:10 -07:00
Max Leiter
68fc679864 SSR theme and auth in header. Move auth check to middleware. Bump next 2023-03-27 20:16:11 -07:00
Max Leiter
cb7d9ebc6b Bump next.js and deps 2023-03-01 20:11:48 -08:00
Max Leiter
3041da80e2 Fix useSessionSWR() expecting Drift's API interface instead of next-auths 2023-02-26 18:49:32 -08:00
Max Leiter
a54a22f142 chore: linting 2023-02-26 15:22:05 -08:00
Max Leiter
27a604dc90 fix building by adjusting types 2023-02-26 15:21:43 -08:00
Max Leiter
6cf544fc72 opt-out tests-backup from eslint/tsc 2023-02-26 14:46:04 -08:00
Max Leiter
86e323fbca Add some (WIP) tests 2023-02-26 14:44:32 -08:00
Max Leiter
b64281b1ac Slight shell script improvements 2023-02-26 01:21:08 -08:00
Max Leiter
9c3375cbd0 Add shell script for uploading files to drift 2023-02-26 01:15:17 -08:00
Max Leiter
806b173d22 Make CmdK dynamic 2023-02-25 22:46:55 -08:00
Max Leiter
590cc51ec8 Migrate some CSS to nested 2023-02-25 22:43:11 -08:00
Max Leiter
85f21bf505 Add cmdk, nested postcss 2023-02-25 22:36:29 -08:00
Max Leiter
cc2215629d lint, internally refactor header 2023-02-25 16:29:03 -08:00
Max Leiter
aaf2761004 add total-typescript ts-reset 2023-02-25 16:27:38 -08:00
Max Leiter
88c65f2e9f Bump deps 2023-02-25 16:27:23 -08:00
Max Leiter
6d184906b1 Switch to new Metadata API 2023-02-24 18:07:40 -08:00
Max Leiter
afd18d19a9 Remove /home rewrite, replace with page 2023-02-23 23:56:13 -08:00
Max Leiter
f2d42a6c0c Add ErrorBoundary to /mine, remove header underline 2023-02-23 23:46:26 -08:00
Max Leiter
0b6d31373d Add toast for revoked api key 2023-02-23 23:45:26 -08:00
Max Leiter
d1e5dca3d0 markdown: use --link for link color 2023-02-23 23:44:41 -08:00
Max Leiter
a5704e0a6d @next/font -> next/font 2023-02-23 23:44:02 -08:00
Max Leiter
86c2fb4a73 mobile header improvements 2023-02-23 20:40:07 -08:00
Max Leiter
fec58f2465 dep bumps, add pages feature, bug fixes, type improvements 2023-02-23 20:35:25 -08:00
Max Leiter
e21d896669 Improve list item skeleton on desktop 2023-02-21 23:48:34 -08:00
Max Leiter
9a811e85b5 chore: lint 2023-02-21 23:34:09 -08:00
Max Leiter
817a12fffb Add .env.default, support VERCEL_URL in lib/config 2023-02-21 23:27:03 -08:00
Max Leiter
e51815eb16 Bump next.js and related deps 2023-02-21 23:20:10 -08:00
Max Leiter
64cfe9033e Add (unworking) route handler for raw files 2023-02-21 23:19:55 -08:00
Max Leiter
072516bdb0 temporarily switch to /api/ route for raw files 2023-02-21 22:52:51 -08:00
Max Leiter
b5b4bf08f6 Fix post creation/text input 2023-01-29 00:31:24 -08:00
Max Leiter
98cbbf2347 Add suspense boundar around useSearchParams 2023-01-29 00:24:55 -08:00
Max Leiter
c813ffaf56 convert datepicker to next/dynamic 2023-01-29 00:14:04 -08:00
Max Leiter
eda977b203 ts fixes 2023-01-28 23:58:00 -08:00
Max Leiter
f3d588c0eb button style improvements, homepage and navbar refactors 2023-01-28 23:53:45 -08:00
Max Leiter
a64cc78eed Add loading.tsx for mine 2023-01-28 23:52:04 -08:00
Max Leiter
1acbb52e27 Add react-loading-boundary and error component 2023-01-28 23:51:40 -08:00
Max Leiter
3048d842de Add stack component 2023-01-28 23:51:22 -08:00
Max Leiter
41a7a90bda unstable_getServerSession -> getServerSession 2023-01-28 23:51:14 -08:00
Max Leiter
08abdd4642 bump deps 2023-01-28 21:58:21 -08:00
Max Leiter
be73154b4e some file cleanup, add api/og function 2023-01-23 21:05:17 -08:00
Max Leiter
acfcc04af4 Apply proper align-items to tabs on small screens 2023-01-13 15:50:31 -08:00