Commit graph

22 commits

Author SHA1 Message Date
Kevin MacMartin
2d8fc06dae Use a post route for metadata so we can request paths that are more than one layer deep 2024-04-22 20:46:55 -04:00
Kevin MacMartin
6b2126e5a0 Add buttons to image and file uploads on edit-item pages that clear the currently selected upload content 2024-04-10 18:39:48 -04:00
Kevin MacMartin
2f5ed84e2b Handle metadata in the database for a few reasons: the method is the same between traditional and vue, the user has control over the values, we can create dynamic titles a bit more easily, and with vue the values are populated before the SPA loads so search engines can pick it up more easily 2024-04-03 22:35:43 -04:00
Kevin MacMartin
8a11d94707 Don't produce an error when the edit list is empty and the filter column isn't 2023-10-03 14:22:42 -04:00
Kevin MacMartin
31fb84f579 Fix back button scroll behaviour 2023-04-05 22:02:43 -04:00
Kevin MacMartin
a4df62741c Update npm dependencies and update the axios import to reflect new requirements 2022-10-20 21:40:57 -04:00
Kevin MacMartin
b758203d06 Fix broken 404 page 2022-10-20 21:33:40 -04:00
Kevin MacMartin
254ecb57cc Fix the 404 page for vue3 2022-08-01 17:31:24 -04:00
Kevin MacMartin
729e2b058c Fix language selection by using window.axios rather than http in the vuex mutation 2022-07-20 17:07:24 -04:00
Kevin MacMartin
e67a816b5a Fix scroll behaviour between pages 2022-07-12 00:16:46 -04:00
Kevin MacMartin
f12efa7755 Also watch textareas for changes on the dashboard edit item pages 2022-06-16 16:47:40 -04:00
Kevin MacMartin
db7deb0fdc Reuse dashboard logic much more, delete images and files when the associated item is deleted, rework dashboard lists so their items can be configured in the $dashboard_columns of their own class, allow dashboard lists to upload images, delete images when dashboard list items are deleted, add a default image extension variable to dashboard model items rather than hard-coding it so it can be reconfigured, improve the dashboard styles some more, and improve the readme (including documenting the new dashboard list update) 2022-06-14 01:36:21 -04:00
Kevin MacMartin
ef617ac409 Upgrade to Vue 3, replace vue-resource with axios, update other libraries, set the NODE_ENV to production in the gulpfile when --production is specified rather than in the init.sh, and improve the README 2022-06-13 18:04:19 -04:00
Kevin MacMartin
afce4734c1 Allow the date picker to be configured without time 2021-09-17 17:46:50 -04:00
Kevin MacMartin
2a615b75a7 Use a non-static function for getDashboardHeader so we can use getTable and not have to worry about sending the model, pull file and image saving and deletion into the dashboard model so it can be used by seeders and other things, allow filetype to be specified for images so more than just jpg is possible, if the image filetype isn't svg also save a webp version of a given image, add a dashboard model method to get the uploads path so we aren't hard-coding that to one degree or another in a whole bunch of places, allow a max width and/or height to be specified for image uploads to avoid giant images, don't send unnecessary parameters from the back-end to the front-end and through the api back to the back-end, add the ability to show error text to the dashboard alert model, show an error if a file of an incorrect type is uploaded, add webp suport detection logic to the vue-based front end as well as a method that selects the appropriate format of image (falling back on the provided format) 2021-07-29 16:40:55 -04:00
Kevin MacMartin
e7643992b1 Reset the state correctly if a dashboard modal is cancelled with the escape button 2021-07-13 18:06:46 -04:00
Kevin MacMartin
0fa1663c1d Fix missing icons in the dashboard 2020-04-29 00:36:25 -04:00
Kevin MacMartin
7f9f9bce1b Add support for linking dashboard tables, adding lists connected to other tables, formatted currency inputs, multi-line text fields without markdown, paginated edit lists (with working search), errors for columns not being unique or required (with modal popup), improve comments, and use links instead of javascript for the edit and new buttons 2020-04-24 00:22:42 -04:00
Kevin MacMartin
bf1b3ea9aa Update to laravel 7.6, darken the dashboard modal, and use links for the dashboard edit buttons instead of javascript 2020-04-23 22:17:13 -04:00
Kevin MacMartin
586fcb6066 Replace simplemde with easymde as it's actually maintained, and include fontawesome 5 as it's supported by easymde and makes the project fully MIT again 2020-02-25 17:43:02 -05:00
Kevin MacMartin
b6a95813e9 Remove the root key from the vue-router initialization as this no longer appears to do anything 2020-01-02 14:41:00 -05:00
Kevin MacMartin
e3dcafc623 Move resources/assets content to resources to match upstream laravel 2019-11-14 21:14:53 -05:00