Compare commits

..

183 Commits

Author SHA1 Message Date
andrzej 395144cd65 ignore .env!
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details
2024-10-01 12:04:48 +02:00
andrzej 4c2c9c5680 Jenkinsfile 2024-10-01 11:58:50 +02:00
andrzej 058f406e2b readme 2024-10-01 10:54:59 +02:00
andrzej 3c4a999ef7 tidy up 2024-09-30 16:06:52 +02:00
andrzej db613357a7 fix: filtering 2024-09-30 16:06:41 +02:00
andrzej ca097dfb65 fix build errors 2024-09-30 14:44:47 +02:00
andrzej 20d211bdc4 new db entries 2024-09-30 12:06:44 +02:00
andrzej a20dbf3d9e clean up 2024-09-30 12:06:37 +02:00
andrzej 1c8a689b4c cleared db entries 2024-09-30 11:49:56 +02:00
andrzej 91a1bf468e misc styling 2024-09-30 11:49:47 +02:00
andrzej 5b4e961859 implement 'edit' functionality for pubs 2024-09-27 13:21:38 +02:00
andrzej 9bc1750848 style story form 2024-09-27 11:18:12 +02:00
andrzej 91e8a17525 style genre picker 2024-09-27 11:11:03 +02:00
andrzej a4f5467832 fix: show genres in edit story dialog 2024-09-27 11:05:29 +02:00
andrzej 6e501aa75f begin implementation of edit story functionality 2024-09-26 12:39:26 +02:00
andrzej b9d5cfc18d fix: janky login/logout refreshes and redirects 2024-09-26 10:48:50 +02:00
andrzej 454695ca1e style login page 2024-09-25 19:45:20 +02:00
andrzej fa62080e0c mobile friendly edit submission dialog 2024-09-25 19:39:12 +02:00
andrzej d2936f2a6b mobile friendly create submission dialog 2024-09-25 19:36:46 +02:00
andrzej 712c8da465 controlled create dialogs 2024-09-25 19:06:19 +02:00
andrzej 62d8f05d8a tweak refresh/notifications 2024-09-25 12:55:58 +02:00
andrzej bc675cd258 make subs page responsive 2024-09-25 10:31:34 +02:00
andrzej def21a236c render textinputcell only on large screens 2024-09-24 12:25:31 +02:00
andrzej d7a60b331c add more responsiveness 2024-09-23 18:18:05 +02:00
andrzej 2a2a994f90 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 d2815c7356 tailwind changews 2024-09-23 17:35:33 +02:00
andrzej 164097e821 add responsiveness 2024-09-23 14:15:26 +02:00
andrzej 35ac70b62b add responsiveness 2024-09-21 17:23:31 +02:00
andrzej f8bb05d8b9 logout functionality 2024-09-21 16:40:19 +02:00
andrzej f21159b849 update db 2024-09-20 16:05:54 +02:00
andrzej 158d73a6df trim 2024-09-20 16:00:05 +02:00
andrzej 3f22b2ce82 update sub server actions etc 2024-09-20 15:46:26 +02:00
andrzej c0f55be1b5 fix: update server actions 2024-09-20 15:19:31 +02:00
andrzej 0bb8eac362 fix: create server actions 2024-09-19 11:37:01 +02:00
andrzej c7dfbee0e0 redirect on login now works 2024-09-19 10:08:58 +02:00
andrzej 9eb558dc2f 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 9c2148076b login endpoint authentication now working 2024-09-16 13:17:15 +02:00
andrzej fff780922d begin debugging 2024-09-13 22:01:21 +02:00
andrzej 1d13d79682 make it a server component 2024-09-13 21:53:27 +02:00
andrzej 8dc7d08210 fix urls 2024-09-13 21:51:03 +02:00
andrzej f9f2a8352d fix callback 2024-09-13 21:50:41 +02:00
andrzej 5aa503a236 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 1861630bf3 checkout login page from previous attempt 2024-09-13 17:54:20 +02:00
andrzej a9e072ab5f create login api route 2024-09-13 12:21:45 +02:00
andrzej a204eec776 implement controlled edit / delete dialogs 2024-08-07 15:46:14 +02:00
andrzej e5d2aba207 optimize font 2024-08-06 12:52:15 +02:00
andrzej e9ed5ae9ea fix tablename 2024-08-06 12:51:23 +02:00
andrzej fdeeb955c9 improve title styling 2024-08-06 12:32:55 +02:00
andrzej c54720cc67 give each genrePicker cell a unique form id 2024-07-24 22:04:30 +02:00
andrzej 0586b33bcd improve genre picker cell 2024-07-24 17:24:04 +02:00
andrzej 5018422353 fix missing keys 2024-07-24 17:23:42 +02:00
andrzej 1b49672be6 implement genre picker cell (janky) 2024-07-23 17:40:35 +02:00
andrzej 6073a1dce5 move edit submission dialog to context menu 2024-07-21 19:14:20 +02:00
andrzej 2df9738364 edit submission, fix client side data validation 2024-07-20 14:07:13 +02:00
andrzej fb4911c067 edit submission functionality (partial) 2024-07-20 11:52:19 +02:00
andrzej 6e42145e88 rearrange sub cols 2024-07-04 18:31:22 +02:00
andrzej b69a172dd5 delete unused imports 2024-07-03 00:41:20 +02:00
andrzej edfee2c35d make inputs work with Enter 2024-07-02 23:01:26 +02:00
andrzej 83efc850d3 fix added space 2024-07-02 22:52:10 +02:00
andrzej 356c487ed7 Revert "make form input work with number and string"
This reverts commit 2294d0c0b0.
2024-07-02 22:16:17 +02:00
andrzej 349a191d12 make form input work with number and string 2024-07-02 19:49:00 +02:00
andrzej 0138e1aa2a make fields open with space (to avoid conflicts) 2024-07-02 17:18:23 +02:00
andrzej 380fc56d17 fix enter key buy (partially) 2024-07-02 17:11:30 +02:00
andrzej 23058ed48b implement number input data validation (basic functionality) 2024-07-01 17:23:48 +02:00
andrzej 773633d103 implement inline number input 2024-06-30 23:28:05 +02:00
andrzej 6378b358ed make update function concise/flexible 2024-06-30 23:21:48 +02:00
andrzej 0e0c2a71ea improve tab nav 2024-06-30 20:28:02 +02:00
andrzej 52578b7979 add get method 2024-06-30 20:15:57 +02:00
andrzej 6b9a8335de add open handler 2024-06-30 20:15:30 +02:00
andrzej e272894918 remove unneccessary buttons 2024-06-30 17:42:33 +02:00
andrzej a2682f4f05 implement inline text input 2024-06-30 17:36:44 +02:00
andrzej 24ddda4a9e select checkboxes 2024-06-30 14:22:35 +02:00
andrzej d32b689fbb begin implementation of edit feature 2024-06-29 21:38:21 +02:00
andrzej 221323ae83 add deselect option to context menu 2024-06-29 16:26:46 +02:00
andrzej e8c37f794d fix multi-delete 2024-06-27 23:12:53 +02:00
andrzej 2006641bb4 partially implement multi-delete button 2024-06-27 16:49:56 +02:00
andrzej 7a2d536318 enable row selection 2024-06-27 16:08:14 +02:00
andrzej 9bf60c2282 add multi delete function 2024-06-27 16:08:03 +02:00
andrzej d07d54731d fix layout for smaller (laptop) screens 2024-06-27 15:35:48 +02:00
andrzej eb2ecf6618 context menu -- keyboard navigation 2024-06-27 12:44:31 +02:00
andrzej 4f7d12edf5 context menu initial import 2024-06-26 22:52:33 +02:00
andrzej 21c0a1db6b neaten labels, capitalizations 2024-06-26 21:41:52 +02:00
andrzej c8cd1069da fix focus issues on nested form items
now aria compliant!
2024-06-26 21:40:03 +02:00
andrzej ae759de164 implement basic create submission popover functionality 2024-06-26 19:55:18 +02:00
andrzej 61d956b9cd implement create pubs popup 2024-06-26 19:33:12 +02:00
andrzej 527b0d2aac extrapolate genre picker 2024-06-26 18:21:06 +02:00
andrzej d741901afd add createStoryDialog 2024-06-26 18:19:09 +02:00
andrzej 483b9d987a extrapolate create function 2024-06-26 18:18:44 +02:00
andrzej 9c9b010dc1 make table clickable 2024-06-26 14:54:04 +02:00
andrzej b1de1477a6 add edit button 2024-06-26 12:45:58 +02:00
andrzej 5058f5192e disable inspect button for submissions 2024-06-26 12:42:18 +02:00
andrzej d0b7dd5910 clean up 2024-06-26 12:07:33 +02:00
andrzej 7912104e77 add redirect 2024-06-26 12:06:55 +02:00
andrzej 9ac1a7c288 clean up story inspect page 2024-06-26 12:06:12 +02:00
andrzej 9cebe4c2f6 add pub inspect page 2024-06-26 12:05:58 +02:00
andrzej 2fef5ae1cb charts 2024-06-25 22:50:54 +02:00
andrzej 854487a2f2 add test data to db 2024-06-25 12:21:07 +02:00
andrzej 15a1309275 improve client side data validation 2024-06-25 12:20:56 +02:00
andrzej ae25aca0e8 properly render null date values 2024-06-25 12:20:41 +02:00
andrzej 9c0423d4e8 delete unneccessary 2024-06-25 12:20:28 +02:00
andrzej d5cac57485 clearer headings 2024-06-25 12:20:10 +02:00
andrzej f2231ea24d fix create pages 2024-06-25 11:18:30 +02:00
andrzej 8e8228de16 fix pub create form styling 2024-06-24 23:15:48 +02:00
andrzej 2605226e0e add loaders 2024-06-24 23:15:29 +02:00
andrzej a89535c058 extrapolate loader 2024-06-24 22:27:36 +02:00
andrzej d3689ab4b2 use Link instead of onClick in data-table 'create button' 2024-06-24 19:01:11 +02:00
andrzej 06650dcb22 style field labels 2024-06-24 18:57:35 +02:00
andrzej 7bdfe64acd style main header 2024-06-24 18:57:25 +02:00
andrzej 7c33b50a40 misc styling 2024-06-24 18:50:16 +02:00
andrzej 0b4396a25f delete unused 2024-06-24 18:33:59 +02:00
andrzej 78b07861d9 style create forms 2024-06-24 18:33:03 +02:00
andrzej 944864eae2 style input 2024-06-24 18:29:03 +02:00
andrzej 66f5b6ff35 add styled component for create pages, implement at create/story 2024-06-24 12:29:02 +02:00
andrzej 7e7b25cd79 db changes 2024-06-24 12:28:24 +02:00
andrzej 0adc8a5c25 remove unused import 2024-06-24 11:56:06 +02:00
andrzej ad613517f4 merge navlinks styling 2024-06-24 11:55:31 +02:00
andrzej f6784cca29 add mode toggle 2024-06-24 11:55:19 +02:00
andrzej 4ffa702471 make badge more legible 2024-06-24 11:53:48 +02:00
andrzej ff524ac058 add tabletype 2024-06-24 10:27:53 +02:00
andrzej 37ae474de7 style inspect button 2024-06-24 10:16:05 +02:00
andrzej 1a7d439e30 extrapolate actions column 2024-06-22 20:28:21 +02:00
andrzej c339aa5002 improve nav and layout styling 2024-06-22 18:12:55 +02:00
andrzej ef1fba1187 import globals.css NOT tailwind.css!
I was scratching my head about this for ages
2024-06-22 17:51:15 +02:00
andrzej 771534c3d9 correct content field 2024-06-22 17:30:11 +02:00
andrzej fd3b9ac2b4 remove unused import 2024-06-22 17:29:31 +02:00
andrzej a78a2fa260 add create link 2024-06-22 17:29:14 +02:00
andrzej 0670fe87ea install color themes, tweak styling 2024-06-21 00:31:48 +02:00
andrzej f3d221e517 style layout 2024-06-20 23:21:37 +02:00
andrzej 054ba0b224 style navlinks 2024-06-20 20:02:25 +02:00
andrzej 1950e31cfe add logo 2024-06-20 12:54:56 +02:00
andrzej cee081fe61 style layoutr 2024-06-20 12:49:24 +02:00
andrzej 8975263c47 implement basic story[id] page 2024-06-20 12:29:56 +02:00
andrzej bf126255d8 implement submissions table 2024-06-20 11:39:35 +02:00
andrzej 28f85bd714 implement publications table 2024-06-20 10:35:25 +02:00
andrzej 588c37e68b notice that filter doesn't work for nested objects 2024-06-19 23:51:55 +02:00
andrzej f662ae8719 install radix dialog 2024-06-19 23:22:13 +02:00
andrzej 408fbad5fd add layout links 2024-06-19 23:21:56 +02:00
andrzej 4a5e2e4445 add delete dialog 2024-06-19 23:21:51 +02:00
andrzej ddaf2bf1c4 add inspect button 2024-06-19 22:11:09 +02:00
andrzej 99d693df6f better delete icon 2024-06-19 21:58:19 +02:00
andrzej 2dc4bb2279 install badge 2024-06-19 21:53:42 +02:00
andrzej 7df1ffdfaf fix post-delete revalidation 2024-06-19 21:53:36 +02:00
andrzej e0b47622ce partially implement del function 2024-06-19 19:46:30 +02:00
andrzej 37aad4605c add deleteStory function, fix schema to allow it 2024-06-19 18:01:42 +02:00
andrzej 53fbddd846 clean up imports 2024-06-19 13:14:41 +02:00
andrzej d34fb324bd style table 2024-06-19 13:14:23 +02:00
andrzej e05142999f add genre badges 2024-06-19 13:14:12 +02:00
andrzej 4b7549020e normalize typing 2024-06-19 13:13:54 +02:00
andrzej 5de197dfe0 merge in laptop work
Merge branch 'main' of 192.168.0.184:andrzej/subman-nextjs
2024-06-19 12:40:06 +02:00
andrzej 74c8e04fcb tweaks 2024-06-19 11:54:07 +02:00
andrzej bd4a690d95 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 4353536986 add definablei, reusable filtering 2024-06-19 11:34:57 +02:00
andrzej f3472d2a55 add fetched data to story table 2024-06-19 11:33:53 +02:00
andrzej a8f68ff737 include genres in getStory api call 2024-06-19 11:33:27 +02:00
andrzej a8a4538513 db updates 2024-06-17 23:31:24 +02:00
andrzej f1422b5b24 add create server actions 2024-06-17 23:23:09 +02:00
andrzej 0d25299ba6 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 3d571a871e delete test entries 2024-06-17 13:52:09 +02:00
andrzej 0a5095bd5f add createStory server action 2024-06-17 13:51:24 +02:00
andrzej a5e5c8c246 add radix components to publication create form 2024-06-17 12:41:21 +02:00
andrzej b1da7a6856 Revert "add fully abstracted genrePicker"
This reverts commit 3a56b1f31e.
2024-06-17 12:20:52 +02:00
andrzej 9e01f1d4ad add fully abstracted genrePicker 2024-06-17 10:47:44 +02:00
andrzej a650bd7183 abstract genre checkbox components 2024-06-16 23:08:17 +02:00
andrzej 7a7cd39f6e improve genres popover 2024-06-16 17:16:43 +02:00
andrzej c0428e2312 add rudimentary popover for checkboxes 2024-06-14 22:44:13 +02:00
andrzej 6f97e243e2 make checkboxes submit correct data 2024-06-14 22:41:41 +02:00
andrzej 0c4b3167ce working shadcn date picker 2024-06-14 11:42:31 +02:00
andrzej 4cb077e7b9 radix select boxes working 2024-06-14 11:25:18 +02:00
andrzej 87ec3c99c4 still trying to get shadcn selects to work dynamically 2024-06-13 21:52:44 +02:00
andrzej 4f53932f9c add dynamically fetched checkboxes 2024-06-13 12:11:09 +02:00
andrzej 6e640b3181 trial shadcn form 2024-06-12 17:53:19 +02:00
andrzej 114d59e9ed build / import table 2024-06-12 17:15:22 +02:00
andrzej 9585c4843f install and setup shadcn 2024-06-12 14:59:31 +02:00
andrzej c0ec0b0940 install and set up tailwind 2024-06-12 14:48:37 +02:00
andrzej bbea849de9 move get functions to lib 2024-06-12 12:19:44 +02:00
andrzej 34a18cae54 add forms+ 2024-06-12 11:32:15 +02:00
andrzej 877fc08bd6 add createStory action 2024-06-11 19:21:14 +02:00
andrzej 43b75b53b8 add create story page 2024-06-11 19:14:30 +02:00
andrzej f186f32846 fix imports 2024-06-11 19:14:08 +02:00
andrzej 495d6e2311 rename db with .ts extension
(it turns out typescript/nextjs is buggy with mjs)
2024-06-11 19:13:37 +02:00
andrzej db26cb602c add lettercase function 2024-06-11 19:12:52 +02:00
andrzej 7d5540a5f9 attempt to fix imports 2024-06-11 17:17:01 +02:00
andrzej f1d53b93b6 prisma env 2024-06-11 15:37:41 +02:00

Diff Content Not Available