Commit graph

541 commits

Author SHA1 Message Date
ro
36d04c8f68
reorganized services
service classes are beginning to swell as there functionality is being
fleshed out, so a new organizational structure was needed to make sure
class sizes don't become too large and to increase site managability and
legibilty as more features get added and the code base grows.

data is for retrieving, managing site information, assets interact with external files
and upkeep is for maintenance.

some additional tweaks were also made to the options menu template to
prep it for it's transition to a toolbar component
2024-05-12 22:14:53 -06:00
ro
a2053df931
edits for issues #104 and #110
logo images did not have an alt tag, so they've been added

buttons on the options menu were generic, so an interactive description
was added through the use of aria labels
2024-05-09 13:28:15 -06:00
ro
7f1654d13b
controller reorganization
cleaned up the controller directory and renamed files to more approriate
names.

made the appropriate changes to RouteController as well as tweaking the
routing so it's simpler and easier to follow
2024-05-09 11:24:12 -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
e09d85292a
added labels to forms (#102), init templates added
added some labels to login and set up forms for better accesibility and
clarity about what info is being requested.

found a bug in setting where the site would error out if it can't find
the correct config files instead of going to set up, so when config
files aren't present, it loads template files to continue to process.
still thinking about a better fix for this

also discovered that the init files needed for a fresh install had been
removed, so those are back in place
2024-05-08 15:55:27 -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
bd25c0b104
route controller auth checking
there was no auth checking for dashboard and theme routing, so that's
been added
2024-05-08 12:27:56 -06:00
ro
b6425e2c07
quick clean up
changes to front end scripting has rendered some files obsolete so they
have been removed.

removed some todo notes that have already been implemented
2024-05-07 14:17:18 -06:00
ro
e224410cfa
navigation route fix
the route to show menu order was erroring because it was calling a
misspelled method, so that was fixed

also added some notes to improve the StartController
2024-05-06 15:18:05 -06:00
ro
cb99c44a33
implemented dynamic page rendering
html page rendering works, so the next step was to get dynamic page
rendering up and running, meaning instead of pages being exported to
html, they are instead rendered on the fly when the corresponding URL is
hit.

the StartController that handles page routing needs to be organized a
bit better as there is some confusion between index and regular page
files so it's clear where requests are going and what is the expected
response
2024-05-06 15:09:24 -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
8bf640ee18
edited asset moving class
conversion of markdown files to html works fine, but the coresponding
css, js and image assets were not being moved, so the class responsible
for moving them was edited so theme assets are moved to their
    appropriate directories when the site is published.

also made some css and image edits, and removed a legacy css files that
were no longer in use
2024-04-25 13:17:24 -06:00
ro
a92e124957
default theme clean up
the default theme included with fipamo was a bit janky, so that's been
cleaned to bring it more inline with current accessiblility standards,
an updated mobile friendly menu, updated the logo and plugged in the
fresh colors.

the layout is still a bit boring but the main purpose of the default is
to show how templating works, so it needs to be kept as simple as
possible

but it still has some room for making it pop a bit more.
2024-04-23 13:41:41 -06:00
ro
69eb9905a2
update tags on page save
the list of tags was not being updated when an edited page was saved,
which is needed for the front end tags page.

all cleaned up and active
2024-04-22 15:19:06 -06:00
ro
234453b900
update site back up and restore process
the back up process did not include saving document and video assets so
that needed to be updated to save all of those references along with
images

once that was done, the restore process had to be updated to look for
docs and videos and create the corresponding directories to move them
too

the script responsible for moving those assets was also streamlined so a
seperate process was not needed for each asset type.

the last update date in the settings template was displaying
incorrectly, so that was fixed as well.
2024-04-22 13:11:51 -06:00
ro
b2493820e9
activated image transfer for restore process
rather than make a massive downloadable archive file for ever image on
the site (which still may happen), a method has been added to make
copies of imags from an external site and store them on the fresh
install based on the image list saved in the created back up file

it's clean but some additional error checking is needed so the process
does not crash out when a file can't be located and upon completion the
user can be notified of what images did not make it over in the process
2024-04-18 14:36:05 -06:00
ro
2f0e1fdc62
implemented install from scratch
activated the fresh install process for setting up a brand new fipamo
install
2024-04-16 15:36:57 -06:00
ro
08b79cecdf
upgrade to laravel 11
laraval had a milestone update to version 11, so the codebase needed an
updgrade.

there was one package that wasn't needed that was blocking the upgrade
because it was attached to a hard coded dependency in an older version
of laravel so it was removed.

this changed required an edit of some template files, so those changes
were made as well
2024-04-15 15:54:13 -06:00
ro
70e984dc96
added license
GNU GP3 V3 open source license has been added. finally.
2024-04-15 14:35:12 -06:00
ro
8e9752d619
color contrast tweak
secondary highlight color contrast was a bit weak against the primary
color, so that was cleaned up so it pops a bit more
2024-04-05 12:42:26 -06:00
ro
f8005aa60d
turned on backups
ported over the backup functionality from the old build to the new while
making  few tweaks

instead of packaging up all files in the site to create massive zip
files, now a list of files is created for the user and blog directories
that the system will use to download and put them in the appropriate
directories, resulting in a such slimmer backup file.

archiving images my be added at a later date, but will be kept seperate
from the current back up process
2024-04-05 12:29:38 -06:00
ro
1f62e6f816
reworked sorting service class
decided to keep the sorting service class as is and remix how it works to
return data objects rather than just settings information to render
pages.

the overall size of the class is still large but now there are
some opportunites to move around some methodolgy to reduce it.

also made the necessary changes in the render service class and the
theme controller to use the new methodology
2024-03-28 16:42:37 -06:00
ro
9a716acb29
removed string service
moved methods of string service to helper function and got rid of the
string service class

still messing around with the sorter helper to see how dependecies work.
sorting as a helper may be a bit too complex for what help functions are
supposed to be
2024-03-28 15:13:13 -06:00
ro
65220fe06a
added helper function scaffolding
some serivce classes are getting to heavy, so some functionality will be
offloaded to custom helper function for better manageability and
readability.

a couple of place holders have been added to demonstrate how helpers
will be organized
2024-03-27 14:04:19 -06:00
ro
fe36bae01e
removed role from frame and settings script
there was an unused layer that had an impropper role attribute and
improper usage in the settings script, so both have been removed
2024-03-25 13:46:43 -06:00
ro
f2a97af3f5
role removed from navigation edit ui
improperly used role attributes have been removed from navigation edit
template

there was also a duplicate class attribute error in notifications that
has been fixed
2024-03-25 13:36:58 -06:00
ro
f3b565bb1e
removed improper role attribute from book template
incorrect usage of the role attribute has been removed from the book
template and corresponding styles
2024-03-25 13:20:14 -06:00
ro
a10dbcdeff
change role for icons to class
role was being used incorrectly for icon styling, so that has been
corrected to use the class attribute instead
2024-03-25 12:59:24 -06:00
ro
a53723f7c8
changed role attritubet to class in page editor ui
the role attribute is being used incorrectly through out the site, which
is bad for screen reader, so they need to be removed and replaced with
the class attribute

the page editor was the biggest culprit, so that one has been converted
first
2024-03-25 12:53:31 -06:00
ro
3b5c753c9a
cleaned up logos, sprite sheet tweaks
there were some random logos in the global images folder, so that was
cleaned up and replaced with primary and secondary options according to
the current color palette for the sake of flexibility

found a nice repo of svg icons, so experimented with adding one to the
sprite sheet to see if it works, which it does
2024-03-22 20:15:18 -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
989a4c7b69
removed all font icons
the notifications and page editor ui elements where the only remaining
space that still contained font icons, so they've been removed and
replaced with svg

some styling tweaks are still needed so that will handlded as the css
edits continue
2024-03-21 20:10:09 -06:00
ro
33d6688af3
sprite test
a quick test to see if more svg icons can be added to the base sprite
file to keep them all in the same place

it worked, so additional icons will be added to sprite file
2024-03-21 16:41:29 -06:00
ro
4d20f62915
replaced icons for pages page
all font icons have been removed for the page listing page
2024-03-21 15:29:32 -06:00
ro
56b0b984d4
icons replaced for settings page
all font icons on the setting page have been removed and replaced with
svg images
2024-03-21 15:09:37 -06:00
ro
8794ffc715
Color Adjustments
The colors just needed to be tweaked a bit for the sake on better
contrast and readability.

Still some trouble spots but will adjust as needed
2024-03-21 14:51:24 -06:00
ro
82984635b5
removed stylelint
stylelint was becoming cumbersome, so I just removed it for now...
2024-03-21 14:04:15 -06:00
ro
8c727d4414
accessibility audit, icons part 1
using a font for icons isn't great for site accessibility, so all font
icons will be removed and replaced with svgs.

nav and sub nav, page options and recent meta have been replaced
2024-03-20 15:13:50 -06:00
ro
252059df19
settings syncing active
turned on the abiity to save settings to config file via the settings
page

the current member session needs to updated by the data coming in but
that will be handled by a specific member service that hasn't been built
yet, so just commenting it out for now

also fixed a minor bug that was stopping the save on render toggle from
working correctly, so now it's saving and updating the status properly
now
2024-03-19 16:35:02 -06:00
ro
eda377aba3
publish site from settings active
with the setting page set up, now the the settings api can be added,
beginning with the ability to render all files from settings.

the base settings api class is set up, so now the rest of the methods
can be added
2024-03-19 15:34:01 -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
a6b63ca551
implemented render engine
page rendering for tags, archives and markdown pages is now up and
running and being exported to html when requested.

currently it only works when saving a page, so now the settings page
needs to be plugged in so those features can be activated and toggled
through that UI

error checking will probably be added in the near future just in case
something unforeseen happens in the render process, resulting in the
site erroring out.
2024-03-18 16:14:17 -06:00
ro
efb2e4f0bd
created asset service class to handle file moving
theme controller was getting top heavy, so an asset service class was
plugged in to handle moving assets around for theme testing and
eventually to production when HTML rendering is set up
2024-03-16 12:36:51 -06:00
ro
4eed4489f4
page options fixes
with the archive template up and running a bug with page creation and
editing was revealed which was certain options were not being set
correctly due to property not being set correctly when an markdown page
was being edited.

also added a null state check for page submissions that do not have a
layout set, so it defaults to 'page'

also patched theme service class to look for blade templates instead of
twig, which it was still doing
2024-03-15 15:18:10 -06:00
ro
2f2955e865
converted page, archive and tags files
the remaining base template pages have beeen converted to blade as well
as filling out the data they need to render being added to the sorting
service class

theming controller and and sorting service still need to be optimized
but they work so now they can be refined

once they have been cleaned up, the render service is class is ready to
be finished
2024-03-15 14:28:26 -06:00
ro
ba2e75b186
converted index template to blade
started the front end template conversion with the index page
2024-03-14 20:03:46 -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
950ca6f7ea
added sorting and render service classes
plugged in sorting class to gather the info necessary for the render
class to convert markown files to html and move them to the correct
location in the public diretory
2024-03-14 12:39:43 -06:00