Compare commits

..

183 Commits

Author SHA1 Message Date
andrzej 243cbf4026 ignore .env!
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details
2024-10-01 12:04:48 +02:00
andrzej dff1c9c9ef Jenkinsfile
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details
2024-10-01 11:58:50 +02:00
andrzej 2e820daf95 readme 2024-10-01 10:54:59 +02:00
andrzej 75e5a95348 tidy up 2024-09-30 16:06:52 +02:00
andrzej 3b32316688 fix: filtering 2024-09-30 16:06:41 +02:00
andrzej bb601d3c82 fix build errors 2024-09-30 14:44:47 +02:00
andrzej a0808ea804 new db entries 2024-09-30 12:06:44 +02:00
andrzej 9650d4ac73 clean up 2024-09-30 12:06:37 +02:00
andrzej 7992a6c76c cleared db entries 2024-09-30 11:49:56 +02:00
andrzej 339837a5d1 misc styling 2024-09-30 11:49:47 +02:00
andrzej b8466a5e38 implement 'edit' functionality for pubs 2024-09-27 13:21:38 +02:00
andrzej 8822a5449c style story form 2024-09-27 11:18:12 +02:00
andrzej 6862f4114a style genre picker 2024-09-27 11:11:03 +02:00
andrzej d7ee4a4a8b fix: show genres in edit story dialog 2024-09-27 11:05:29 +02:00
andrzej dc9b72f0e8 begin implementation of edit story functionality 2024-09-26 12:39:26 +02:00
andrzej 0ab70fec08 fix: janky login/logout refreshes and redirects 2024-09-26 10:48:50 +02:00
andrzej fa52882880 style login page 2024-09-25 19:45:20 +02:00
andrzej ef797f7bce mobile friendly edit submission dialog 2024-09-25 19:39:12 +02:00
andrzej 37e7f4d15f mobile friendly create submission dialog 2024-09-25 19:36:46 +02:00
andrzej 0cf00121b9 controlled create dialogs 2024-09-25 19:06:19 +02:00
andrzej 81b36d0c8c tweak refresh/notifications 2024-09-25 12:55:58 +02:00
andrzej 3998180830 make subs page responsive 2024-09-25 10:31:34 +02:00
andrzej a1708002f9 render textinputcell only on large screens 2024-09-24 12:25:31 +02:00
andrzej f6c9ac9015 add more responsiveness 2024-09-23 18:18:05 +02:00
andrzej c3978b04a4 Merge branch 'auth-third-attempt-JWT' of 192.168.0.184:andrzej/subman-nextjs into auth-third-attempt-JWT 2024-09-23 17:36:36 +02:00
andrzej 60be9f2fdc tailwind changews 2024-09-23 17:35:33 +02:00
andrzej be7e63f675 add responsiveness 2024-09-23 14:15:26 +02:00
andrzej ca6bfb45fe add responsiveness 2024-09-21 17:23:31 +02:00
andrzej d082f4fefb logout functionality 2024-09-21 16:40:19 +02:00
andrzej a0305d3e0f update db 2024-09-20 16:05:54 +02:00
andrzej 1f358c5b84 trim 2024-09-20 16:00:05 +02:00
andrzej 10c64d3883 update sub server actions etc 2024-09-20 15:46:26 +02:00
andrzej 2e947b8e78 fix: update server actions 2024-09-20 15:19:31 +02:00
andrzej 62f0e75abd fix: create server actions 2024-09-19 11:37:01 +02:00
andrzej e1cdba824a redirect on login now works 2024-09-19 10:08:58 +02:00
andrzej 8a04297768 verifying jwt now works
issue - I was importing the textEncoder for browser, rather than using the native one
2024-09-16 14:55:34 +02:00
andrzej 274ee8e4de login endpoint authentication now working 2024-09-16 13:17:15 +02:00
andrzej c0fe9dcf0f begin debugging 2024-09-13 22:01:21 +02:00
andrzej 98f762d31e make it a server component 2024-09-13 21:53:27 +02:00
andrzej 2b64b98d1d fix urls 2024-09-13 21:51:03 +02:00
andrzej cc11e80e78 fix callback 2024-09-13 21:50:41 +02:00
andrzej f97d7e7de1 bcrypt fix
basically webpack tries to compile it which is not good
so I edited to next.config
2024-09-13 19:24:39 +02:00
andrzej 8e5d2d3082 checkout login page from previous attempt 2024-09-13 17:54:20 +02:00
andrzej 2b6125582d create login api route 2024-09-13 12:21:45 +02:00
andrzej 89e338a0ac implement controlled edit / delete dialogs 2024-08-07 15:46:14 +02:00
andrzej 17578d50d6 optimize font 2024-08-06 12:52:15 +02:00
andrzej c8879b04c9 fix tablename 2024-08-06 12:51:23 +02:00
andrzej b7bca4cacc improve title styling 2024-08-06 12:32:55 +02:00
andrzej 71f5a44c8e give each genrePicker cell a unique form id 2024-07-24 22:04:30 +02:00
andrzej cd90c92c6d improve genre picker cell 2024-07-24 17:24:04 +02:00
andrzej 055b3c254d fix missing keys 2024-07-24 17:23:42 +02:00
andrzej 79e3403902 implement genre picker cell (janky) 2024-07-23 17:40:35 +02:00
andrzej 41951a2ac6 move edit submission dialog to context menu 2024-07-21 19:14:20 +02:00
andrzej 0fa28a46eb edit submission, fix client side data validation 2024-07-20 14:07:13 +02:00
andrzej 6ee4128c85 edit submission functionality (partial) 2024-07-20 11:52:19 +02:00
andrzej aec413ba7a rearrange sub cols 2024-07-04 18:31:22 +02:00
andrzej 57cc55f414 delete unused imports 2024-07-03 00:41:20 +02:00
andrzej bc244497cd make inputs work with Enter 2024-07-02 23:01:26 +02:00
andrzej 29ab837aca fix added space 2024-07-02 22:52:10 +02:00
andrzej 1bad3ba5f8 Revert "make form input work with number and string"
This reverts commit 2294d0c0b0.
2024-07-02 22:16:17 +02:00
andrzej 2294d0c0b0 make form input work with number and string 2024-07-02 19:49:00 +02:00
andrzej 2e1409cf46 make fields open with space (to avoid conflicts) 2024-07-02 17:18:23 +02:00
andrzej f3dbd2cb9e fix enter key buy (partially) 2024-07-02 17:11:30 +02:00
andrzej 5206e415ed implement number input data validation (basic functionality) 2024-07-01 17:23:48 +02:00
andrzej fe9878cb7a implement inline number input 2024-06-30 23:28:05 +02:00
andrzej b6a56fca2b make update function concise/flexible 2024-06-30 23:21:48 +02:00
andrzej 8c4b9d27f2 improve tab nav 2024-06-30 20:28:02 +02:00
andrzej 5ea7a61915 add get method 2024-06-30 20:15:57 +02:00
andrzej 7c6f06e194 add open handler 2024-06-30 20:15:30 +02:00
andrzej 540413173c remove unneccessary buttons 2024-06-30 17:42:33 +02:00
andrzej 330226ecd6 implement inline text input 2024-06-30 17:36:44 +02:00
andrzej 23584a0a50 select checkboxes 2024-06-30 14:22:35 +02:00
andrzej 8ad3583c4e begin implementation of edit feature 2024-06-29 21:38:21 +02:00
andrzej c6496130e3 add deselect option to context menu 2024-06-29 16:26:46 +02:00
andrzej 97a537f5a2 fix multi-delete 2024-06-27 23:12:53 +02:00
andrzej 1fca1a2b81 partially implement multi-delete button 2024-06-27 16:49:56 +02:00
andrzej 4aa7194427 enable row selection 2024-06-27 16:08:14 +02:00
andrzej f163de99c8 add multi delete function 2024-06-27 16:08:03 +02:00
andrzej 10408f604a fix layout for smaller (laptop) screens 2024-06-27 15:35:48 +02:00
andrzej ee2a7c4cbf context menu -- keyboard navigation 2024-06-27 12:44:31 +02:00
andrzej 06fb2831ef context menu initial import 2024-06-26 22:52:33 +02:00
andrzej 5b919db59b neaten labels, capitalizations 2024-06-26 21:41:52 +02:00
andrzej 06b69b5ce7 fix focus issues on nested form items
now aria compliant!
2024-06-26 21:40:03 +02:00
andrzej 54a001183a implement basic create submission popover functionality 2024-06-26 19:55:18 +02:00
andrzej d210b13bde implement create pubs popup 2024-06-26 19:33:12 +02:00
andrzej 45af32d091 extrapolate genre picker 2024-06-26 18:21:06 +02:00
andrzej 0c39838f6a add createStoryDialog 2024-06-26 18:19:09 +02:00
andrzej 788051fa10 extrapolate create function 2024-06-26 18:18:44 +02:00
andrzej 191457d6c1 make table clickable 2024-06-26 14:54:04 +02:00
andrzej b5745a3c05 add edit button 2024-06-26 12:45:58 +02:00
andrzej 878daf35bb disable inspect button for submissions 2024-06-26 12:42:18 +02:00
andrzej 494521d51d clean up 2024-06-26 12:07:33 +02:00
andrzej aeb7bc1f6f add redirect 2024-06-26 12:06:55 +02:00
andrzej bea291aa92 clean up story inspect page 2024-06-26 12:06:12 +02:00
andrzej a691250637 add pub inspect page 2024-06-26 12:05:58 +02:00
andrzej 7dd912d6f6 charts 2024-06-25 22:50:54 +02:00
andrzej be83489ea6 add test data to db 2024-06-25 12:21:07 +02:00
andrzej 4145d84d65 improve client side data validation 2024-06-25 12:20:56 +02:00
andrzej ef70bd9d92 properly render null date values 2024-06-25 12:20:41 +02:00
andrzej e1e4ce23f1 delete unneccessary 2024-06-25 12:20:28 +02:00
andrzej 5563de438a clearer headings 2024-06-25 12:20:10 +02:00
andrzej c2bfee6b87 fix create pages 2024-06-25 11:18:30 +02:00
andrzej a4a2ba35cd fix pub create form styling 2024-06-24 23:15:48 +02:00
andrzej 21bee8cc8b add loaders 2024-06-24 23:15:29 +02:00
andrzej 447b4a7edd extrapolate loader 2024-06-24 22:27:36 +02:00
andrzej 26eb4cd9eb use Link instead of onClick in data-table 'create button' 2024-06-24 19:01:11 +02:00
andrzej e91caeb51c style field labels 2024-06-24 18:57:35 +02:00
andrzej 10b512bb5c style main header 2024-06-24 18:57:25 +02:00
andrzej c2107b14a3 misc styling 2024-06-24 18:50:16 +02:00
andrzej 27b368e0cb delete unused 2024-06-24 18:33:59 +02:00
andrzej c4b61069fd style create forms 2024-06-24 18:33:03 +02:00
andrzej be32c7e0a6 style input 2024-06-24 18:29:03 +02:00
andrzej 8d2bf53a1c add styled component for create pages, implement at create/story 2024-06-24 12:29:02 +02:00
andrzej be765fda2a db changes 2024-06-24 12:28:24 +02:00
andrzej b32aabcd08 remove unused import 2024-06-24 11:56:06 +02:00
andrzej f245b8d72d merge navlinks styling 2024-06-24 11:55:31 +02:00
andrzej 04688feb28 add mode toggle 2024-06-24 11:55:19 +02:00
andrzej febaec3220 make badge more legible 2024-06-24 11:53:48 +02:00
andrzej 40f2360ebd add tabletype 2024-06-24 10:27:53 +02:00
andrzej 1546a2ff31 style inspect button 2024-06-24 10:16:05 +02:00
andrzej c8f374f754 extrapolate actions column 2024-06-22 20:28:21 +02:00
andrzej c8b25c36f5 improve nav and layout styling 2024-06-22 18:12:55 +02:00
andrzej 1db71fb21b import globals.css NOT tailwind.css!
I was scratching my head about this for ages
2024-06-22 17:51:15 +02:00
andrzej a9257c2825 correct content field 2024-06-22 17:30:11 +02:00
andrzej 4f41415a80 remove unused import 2024-06-22 17:29:31 +02:00
andrzej 98b2b1e3cc add create link 2024-06-22 17:29:14 +02:00
andrzej c3ee490ce5 install color themes, tweak styling 2024-06-21 00:31:48 +02:00
andrzej e1391bec62 style layout 2024-06-20 23:21:37 +02:00
andrzej 5aaa45cade style navlinks 2024-06-20 20:02:25 +02:00
andrzej 96db18580e add logo 2024-06-20 12:54:56 +02:00
andrzej 782ccb76f5 style layoutr 2024-06-20 12:49:24 +02:00
andrzej c63175a0f8 implement basic story[id] page 2024-06-20 12:29:56 +02:00
andrzej d87eb3b342 implement submissions table 2024-06-20 11:39:35 +02:00
andrzej c7149fc8af implement publications table 2024-06-20 10:35:25 +02:00
andrzej 4a8b6f72df notice that filter doesn't work for nested objects 2024-06-19 23:51:55 +02:00
andrzej 8c62f7addf install radix dialog 2024-06-19 23:22:13 +02:00
andrzej 6ceb035b19 add layout links 2024-06-19 23:21:56 +02:00
andrzej fdf05f2b4c add delete dialog 2024-06-19 23:21:51 +02:00
andrzej ec96a1e988 add inspect button 2024-06-19 22:11:09 +02:00
andrzej 6dc05d2610 better delete icon 2024-06-19 21:58:19 +02:00
andrzej d8a2f3df7e install badge 2024-06-19 21:53:42 +02:00
andrzej b891780881 fix post-delete revalidation 2024-06-19 21:53:36 +02:00
andrzej 525f716f16 partially implement del function 2024-06-19 19:46:30 +02:00
andrzej 7b68a7451e add deleteStory function, fix schema to allow it 2024-06-19 18:01:42 +02:00
andrzej f454f6739e clean up imports 2024-06-19 13:14:41 +02:00
andrzej 99b2fb9628 style table 2024-06-19 13:14:23 +02:00
andrzej 7b994ec06e add genre badges 2024-06-19 13:14:12 +02:00
andrzej 52a30ec141 normalize typing 2024-06-19 13:13:54 +02:00
andrzej 3a91fd7cb4 merge in laptop work
Merge branch 'main' of 192.168.0.184:andrzej/subman-nextjs
2024-06-19 12:40:06 +02:00
andrzej 6839c1c369 tweaks 2024-06-19 11:54:07 +02:00
andrzej 285cef524c split getStory function
it's a waste to be fetching genres unless we're going to use them
2024-06-19 11:53:58 +02:00
andrzej 9583d0da16 add definablei, reusable filtering 2024-06-19 11:34:57 +02:00
andrzej b5b8d8ad09 add fetched data to story table 2024-06-19 11:33:53 +02:00
andrzej 13a9407caa include genres in getStory api call 2024-06-19 11:33:27 +02:00
andrzej 0eb09073ca db updates 2024-06-17 23:31:24 +02:00
andrzej de2c8991c6 add create server actions 2024-06-17 23:23:09 +02:00
andrzej fff436f87c extracted genre picker experiment
I need to properly handle refs for this to work, but this may be more trouble than it's worth
2024-06-17 22:56:24 +02:00
andrzej e7f0cf3fb6 delete test entries 2024-06-17 13:52:09 +02:00
andrzej 1f3655f14c add createStory server action 2024-06-17 13:51:24 +02:00
andrzej 6080037d83 add radix components to publication create form 2024-06-17 12:41:21 +02:00
andrzej 688c260f4b Revert "add fully abstracted genrePicker"
This reverts commit 3a56b1f31e.
2024-06-17 12:20:52 +02:00
andrzej 3a56b1f31e add fully abstracted genrePicker 2024-06-17 10:47:44 +02:00
andrzej 2d340983e6 abstract genre checkbox components 2024-06-16 23:08:17 +02:00
andrzej 3151236ca0 improve genres popover 2024-06-16 17:16:43 +02:00
andrzej d4d73750b3 add rudimentary popover for checkboxes 2024-06-14 22:44:13 +02:00
andrzej 5ad03054a9 make checkboxes submit correct data 2024-06-14 22:41:41 +02:00
andrzej 7539b8a577 working shadcn date picker 2024-06-14 11:42:31 +02:00
andrzej 02d111098d radix select boxes working 2024-06-14 11:25:18 +02:00
andrzej b604ed48da still trying to get shadcn selects to work dynamically 2024-06-13 21:52:44 +02:00
andrzej f503647469 add dynamically fetched checkboxes 2024-06-13 12:11:09 +02:00
andrzej f3e5233171 trial shadcn form 2024-06-12 17:53:19 +02:00
andrzej 47756280d9 build / import table 2024-06-12 17:15:22 +02:00
andrzej 58d1fd1ed4 install and setup shadcn 2024-06-12 14:59:31 +02:00
andrzej ce8b52cb87 install and set up tailwind 2024-06-12 14:48:37 +02:00
andrzej c3ae4721d4 move get functions to lib 2024-06-12 12:19:44 +02:00
andrzej 438599a530 add forms+ 2024-06-12 11:32:15 +02:00
andrzej 50409895c0 add createStory action 2024-06-11 19:21:14 +02:00
andrzej ed8e71694f add create story page 2024-06-11 19:14:30 +02:00
andrzej d54b8180ce fix imports 2024-06-11 19:14:08 +02:00
andrzej b36f0edfb1 rename db with .ts extension
(it turns out typescript/nextjs is buggy with mjs)
2024-06-11 19:13:37 +02:00
andrzej 25f8f728c9 add lettercase function 2024-06-11 19:12:52 +02:00
andrzej d1c69c9c15 attempt to fix imports 2024-06-11 17:17:01 +02:00
andrzej dd07c259ac prisma env 2024-06-11 15:37:41 +02:00

Diff Content Not Available