Commit graph

16 commits

Author SHA1 Message Date
ro
3d17771f76
API Decoupling, Part 1
The first part of improving the API is removing all admin functions from
the front end so those no admin methods will be available client side.

The urls in the FipamoAdmin js file have been changed to post directly to the
system and they are handled from there. To account for this change
controller routes for every standard method have been created for better
organization and readability.

The FipamoAdmin js file will be integrated with the rest of the front
end code and will not be seperate library
2024-07-13 14:23:01 -06:00
ro
d8ee4926b1
keep RouteController
had some comments referencng a the idea for a refactor of routing, but
decided to stick with RouteController for now becuase of the
flexibility.

if improvements are to be made, they will be made in that class.
2024-05-08 21:42:08 -06:00
ro
770959137a
removed nested buttons from href tags #105
main navigation had buttons nested inside of href tags to house previous
font icons that were removed, so the nesting is no longer needed and it
could introduce accessibility propblems, so it needed to be cleande up

now they are hrefs styled as the previous buttons so there is no visual
change in the UI
2024-05-08 13:23:42 -06:00
ro
ceeb4a2573
page routing rework
routing needed more nuance than what was possible in the web routing
controller, so a new RouteContoller was created to identify requests and
then sending them to the correct controller to get the appropriatie page

this was necessary because routing the previous was erroring out because
when the system was looking for pages to display with dynamic page
creation it would get confused with prexisting routes and choose to
display whatever the Start Controller was capturing, ignoring routes
defined in the web controller.

but that's been cleaned up without having to re-write everything and
continues to use existing controllers
2024-05-06 13:37:26 -06:00
ro
6cb9631a46
intergrated the fipamo theme kit
a basic preview engine has been added to ease the process of editing
pages. currently it previews all basic templates and custom created
pages

this is will replace the external fipamo theme kit tool, which will be
archived
2024-04-25 15:03:06 -06:00
ro
3c6322ec12
actived menu editing
the last ui page that needed to be added was managing the main
navigation menu for rendered pages, so that's been turned on. menu
items can be added by pinning pages to the menu when editing them and
can be removed by unpinning them or deleting them from the navigation
edit ui

it touched quite a few systems so all of those classes needed to be
edited as well tweaking the front end script to work with the new
modular script format
2024-03-22 14:35:44 -06:00
ro
0951005341
added settings page
it's time to get the setting api running so site options can be editied
so the first step is to get the settings page up and running.

the sorting class is getting a bit heavy, but it will hold the method
for gathering settings page info for now.
2024-03-19 13:19:27 -06:00
ro
2420ea193c
added front controller
added a controller class to handle what is being served when the browser
hits the root directory.

very basic to start as it is just a placeholder until it's filled out
2024-03-18 19:48:59 -06:00
ro
a5583debbd
page rendering, part 1
to complete page rendering, the default theme needed to be converted to
use blade templating. rather than update the theme kit as a seperate
progress, it will be integrated into this codebase so themes can be
developed and tested in app.

the basics for the theme kit are in place, so now conversion of the
defualt theme can be completed.

once the that is done, it can then be used to complete the rendering
engine to export HTML files
2024-03-14 16:58:11 -06:00
ro
f7c9558da2
reorganized controller dir, added check for dash
seperated dash controllers for api controllers in the controller
directory to make them easier to manage

also added middleware to check authorization when accessing dash pages
2024-03-07 11:36:31 -06:00
ro
d1c3b4a8f6
page editor template rebuilt
There are some spacing issues that need to be addressed but the page
editor template has been added and the CSS all lines up

scripting is still an issue as the backend that handles content still
isn't in place, but the front facing piece is in place so now those
components can be built

scripting is going to get an overhaul anyway, so this is a good place to
start that process
2024-03-05 15:49:30 -06:00
ro
177f29802b
added page repository and interface
plugged in classes for a page repository to handle editing and
retrieving page content and an interface class for the controller to talk to to
keep the methodoloy seperate from the controller to keep it all clean

now whatever changes that need to be made won't bother the controller
because it will always be looking for the same functions. super sweet
2024-03-05 13:27:27 -06:00
ro
2b437c0173
added page listing template, fixed sub menu items
moved the page listing template over and made all of the apropriate
changes so the CSS lines up as it should

there was also a minor issue that was keeping the sub menu for the start
pages from displaying so that was fixed
2024-03-04 20:06:36 -06:00
ro
c77eeafb2c
Login Auth Flow
Added controller to handle the login process and session management
that stores information about the person that has logged in so that info
is available through out the app when logged in
2024-03-03 13:48:22 -06:00
ro
8d3af5b6e1
Added fipamo content, set up basic routes for test
Added the folder containg Fipamo markdown files to set up a basic route
for the start of the dashboard and quick test to make sure the file
    paths can be read

also added CSS files that will style the new template system, which is
currenlty in twig but will be convereted to blade
2024-02-29 13:00:59 -06:00
ro
45f857e9b8
The Big Flip
Removed the Slim Framework from the codebase and installed the latest
Laravel version to be the new foundation for the project moving forward.

Code from the old version will now be ported to the new version.
2024-02-29 11:09:17 -06:00