Commit graph

110 commits

Author SHA1 Message Date
Kevin MacMartin
ae2f980135 Only force unique columns to be unique when they aren't empty (otherwise, use required to ensure the column is empty) 2023-07-03 22:18:19 -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
f5b83ce994 Upgrade to laravel 10.1.1 2023-05-05 15:31:58 -04:00
Kevin MacMartin
6b111a301a Upgrade to laravel 10.0.4 2023-03-13 17:33:19 -04:00
Kevin MacMartin
719b932ac7 Update to laravel 9.3.8 2022-10-11 18:14:02 -04:00
Kevin MacMartin
d16f5ebbce Allow image previews in the dashboard edit list 2022-07-25 17:16:55 -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
8516092b1d Fix some of the library credit urls 2021-07-29 18:13:01 -04:00
Kevin MacMartin
e0ffe81e51 Don't allow navigating to dashboard pages for models that aren't listed in the menu 2021-07-29 17:37:33 -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
03697178ee Update to laravel 8.5.16 2021-04-20 17:11:13 -04:00
Kevin MacMartin
1c5c214e44 Re-add the $namespace property to the RouteServiceProvider 2020-12-09 16:20:27 -05: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
4e125a57bd Upgrade to 7.12.0 2020-07-23 16:12:26 -04:00
Kevin MacMartin
65bc4d8f4b Replace the CACHE_BUST in the init with a gulp-managed one so we can update the value with gulp watch 2020-04-24 22:09:23 -04: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
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
07526e6693 Conclude the update to laravel 6.12.0, including the removal of tinx as it's no longer maintained 2020-02-25 16:26:38 -05:00
Kevin MacMartin
aca480023f Pull in additional upstream updates that don't sync cleanly 2020-02-25 16:05:35 -05:00
Kevin MacMartin
72e77aba76 Pull in upstream updates to the auth controllers 2020-02-25 16:02:36 -05:00
Kevin MacMartin
c2c66e460b Pull in upstream changes to the mail variables 2020-02-25 15:41:15 -05:00
Kevin MacMartin
333827eaae Fix capitalization on file class 2020-02-25 15:40:15 -05:00
Kevin MacMartin
54843cbdf2 Use the model_name to both check for a class and retrieve it 2019-11-18 16:01:36 -05:00
Kevin MacMartin
f7dec13812 Point a few other redirectTo values to the correct places 2019-10-31 17:27:49 -04:00
Kevin MacMartin
3a94d3ea48 Redirect to / when the intended url fails in the confirmpasswordcontroller 2019-10-31 17:25:52 -04:00
Kevin MacMartin
0b5da4bca9 Upgrade to laravel 6.4 2019-10-31 17:24:53 -04:00
Kevin MacMartin
7eb198555e Upgrade to laravel 6.0 2019-09-06 01:32:11 -04:00
Kevin MacMartin
6237b500ff Replace pickadate with flatpickr so we can also pick time 2019-07-17 01:11:09 -04:00
Kevin MacMartin
7e629af810 Send a new instance of the model_class with the getModel function so the __constructor is run if one exists (allowing variable $dashboard_columns data) 2019-07-17 00:51:25 -04:00
Kevin MacMartin
f569b37da5 Upgrade to laravel 5.8 2019-03-19 17:40:13 -04:00
Kevin MacMartin
1e265d4f78 Patch in laravel 5.7 updates that do merge cleanly 2018-11-02 18:12:07 -04:00
Kevin MacMartin
7e8c3cba6d Manually pull in laravel 5.7 updates that don't merge cleanly 2018-11-02 18:11:14 -04:00
Kevin MacMartin
1e1c062f56 Fix spreadsheet export filename 2018-07-12 11:40:33 -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
3a3ddd09d3 Consider the reorder column if present when adding and deleting new rows 2018-05-01 20:14:00 -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