Commit graph

4 commits

Author SHA1 Message Date
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
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
fba477581f Fix some validation errors in the blog 2019-03-19 14:44:20 -04:00
Kevin MacMartin
a9aca7d4fe Amalgamate the api route controller functionality into a single ApiController, and implement both vue component and traditional blade versions of a blog page on the public facing part of the site 2018-04-26 20:26:18 -04:00