Commit graph

36 commits

Author SHA1 Message Date
Kevin MacMartin
8e3cc32e77 Revert "Revert the User model password hash cast as this breaks things"
This reverts commit 340f3e1f23.
2023-07-14 16:40:08 -04:00
Kevin MacMartin
340f3e1f23 Revert the User model password hash cast as this breaks things 2023-07-13 22:10:02 -04:00
Kevin MacMartin
74ee87cf5d Upgrade to laravel 10.2.5 2023-07-13 17:09:38 -04:00
Kevin MacMartin
8f4764f9b6 Add helper function to the DashboardModel that converts line breaks to <br />s 2023-07-03 21:15:43 -04:00
Kevin MacMartin
ced98ebb81 Allow the main_ext to be webp by not creating or deleting a webp copy when this is the case, and delete thumbnails when DashboardModel items are deleted 2023-05-31 23:21:14 -04:00
Kevin MacMartin
f8aa6e9984 Generate thumbnails for images that get used in the edit-list (and potentially elsewhere) 2023-05-24 00:02:27 -04:00
Kevin MacMartin
719b932ac7 Update to laravel 9.3.8 2022-10-11 18:14:02 -04:00
Kevin MacMartin
345e315272 Be a bit more explicit about the saveImage aspect ratio preservation (even though in theory intervention/image handles that) 2022-07-19 15:20:29 -04:00
Kevin MacMartin
472a830999 Fix the documented return types in DashboardModel 2022-07-19 15:03:04 -04:00
Kevin MacMartin
e5ba9e38e3 Move the opening brace for the DashboardModel boot to the next line 2022-06-20 18:27:07 -04:00
Kevin MacMartin
7d2e3cd782 Add blank line between two if conditional blocks in the dashboard model 2022-06-16 16:00:54 -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
31f9ceaffa Upgrade to laravel 9.1.8 2022-05-23 21:01:33 -04:00
Kevin MacMartin
bd537c8ee6 Fix the DashboardModel saveFile function for seeders 2021-09-18 00:57:11 -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
ecda451890 Pull in the upstream changes to sync up with 8.4.4 2020-12-09 16:00:01 -05:00
Kevin MacMartin
a063aaa1a1 Get blog tags working again 2020-04-24 14:56:57 -04:00
Kevin MacMartin
12a5e6b19b Remove the blog help text as it was for the comma-separated tagging system 2020-04-24 01:48:37 -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
c2e3610638 Remove a second blank line in DashboardModel 2018-06-17 23:55:40 -04:00
Kevin MacMartin
abecbf062d Don't have classes that extend DashboardModel include Illuminate\Database\Eloquent\Model when DashboardModel already does this 2018-06-17 23:36:28 -04:00
Kevin MacMartin
c48db55fb5 Version the blog entry images to bust the cache 2018-05-11 00:31:34 -04:00
Kevin MacMartin
734268c1dd Use the $sort_direction variable to determine the orderBy direction so setting $dashboard_reorder to true will always use 'desc' 2018-05-01 19:58:37 -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
Kevin MacMartin
6afe85c2d9 Use a common trait to provide the timestamp function to both the DashboardModel and User classes, add an optional license key to the dashboard library_credits that adds a (license) link beside the project and add the license (as required by their license) to the fontawesome entry, and implement user profile image view, upload and deletion (with a default black question mark fallback) in the dashboard settings page 2018-04-25 01:22:33 -04:00
Kevin MacMartin
a71404bb09 Remove app/Models/Dashboard.php (this should have been done in the previous commit) 2018-04-23 23:47:29 -04:00
Kevin MacMartin
10f11f8480 Use a timestamp function to version dashboard edit-item assets 2018-04-23 23:13:40 -04:00
Kevin MacMartin
58902bb5ee Add a credits page to the dashboard showing the project authors and front-facing libraries used on the website, use /dashboard/edit for both the edit-list and edit-item pages, organize the dashboard styles a bit better, use relative paths instead of the url() function to render the dashboard URLs, add active nav link functionality to links other than the main dashboard pages, pull the nav blade out of the sections folder now that it's the only section, and keep the traditional template in sync 2018-04-18 23:32:22 -04:00
Kevin MacMartin
a676c91370 Reorganize the dashboard functionality such that everything can be configured in app/Models/Dashboard.php and a given model, add support for user-bound lists, improve security, fix some style issues, and update the readme 2018-04-18 00:38:11 -04:00
Kevin MacMartin
94c31b1ff4 Organize the dashboard menu a bit better and include both form submission view pages under the same menu item 2018-04-17 18:52:44 -04:00
Kevin MacMartin
b55e0096c8 Move the dashboard menu functionality to app/Models/DashboardMenu.php and allow for dropdown items 2018-01-12 22:57:31 -05:00
Kevin MacMartin
5613c72d0c Implement support for uploading multiple images, move the dashboard columns for a given table to its model, and clean a bunch of things up 2018-01-11 01:13:58 -05:00
Kevin MacMartin
2d9e500ebe Format Models like the updated User model 2016-09-03 00:30:02 -04:00
Kevin MacMartin
753a169c74 Clean up formatting in the models 2016-08-02 22:43:15 -04:00
Kevin MacMartin
79824835de Update + add in dashboard functionality, and document how to setup the dashboard in the readme 2016-01-26 23:20:08 -05:00
Kevin MacMartin
392ffaf572 Implement contact form functionality 2016-01-03 19:08:53 -05:00