Commit graph

28 commits

Author SHA1 Message Date
ro
c5afbb9131
API Decouplng Part 2
removed all remaining API requests from the front end and removed the
FipamoAdminAPI js file, changing it to ContentRequest as it now handles
posting data to the system directly, authenticating it self by checking
the embedded CSRF token that regulary rotates

also renamed MaintenanceManager to Maintenance request and moved it to
the same dir as ContentRequest as they are both libraries that connect
to the backend
2024-07-17 15:08:10 -06:00
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
458b076f73
FEATURE: full asset restore from backup archive
the current restore process only restored images and not the additional
file types that are allowed, so that has been added

also tweaked the reset request to include the correct token so the
request does not fail API authorization
2024-07-09 16:26:01 -06:00
ro
d51071b2d3
added additional asset folders to back up script
the current file backup included images, but the additional asset types
such as sound files, video and docs were not being added if they
existed, so those have been added.

also tweaked the front end script to include the correct token for the
API so the backup request doesn't fail the auth check
2024-07-09 14:27:03 -06:00
ro
4520c9b608
FIX: misnamed sorting attribute for uploaded files
when creating new ui elements for uploaded files, the 'data-source'
attribute was being created to store the upload path for the file which
is used to save that info in the page doc.

that attribute should be 'data-id' as that is what sortablejs looks for
when sorting element data into arrays
2024-07-09 13:38:02 -06:00
ro
4113418c83
reorganized api, added token validation
regrouped api calls for better organization and to add a bit more
security. it now checks to make sure the incoming token matches the
current session to authorize requests
2024-07-06 17:41:32 -06:00
ro
ac543f3856
UPDATE: page deletion
page editor was missing soft delete of page as it had not been wired up
to the new api yet. oops
2024-07-06 16:23:23 -06:00
ro
4e880092c1
FEATURE: File Backup
Turned on file backups that grabs uploaded images in the public
directory and saves them in a zip so they can be downloaded and
archived.
2024-07-03 14:30:32 -06:00
ro
bc7b1fe7ec
FEATURE: Restore to default
plugged in a new feature that will allow the site to be reset to its
default state, clearing out all content and configurations to start
fresh
2024-07-02 17:09:27 -06:00
ro
37120efe18
asset moving for themes fixed, settings save patch
When testing themes, the script wasn't moving all assets that were in
subdirectories of the theme css folder, so that's been fixed so it moves
everything when testing a theme and rendering the site

there was also an issue with saving settings options because the script
was referencing email data that was no longer being provided from the
front end, so it was erroring out trying to save it. those references
have been removed so it's smooth sailing
2024-06-25 15:33:42 -06:00
ro
b37e64d062
Updated Mailer (#113)
Removed email settings from settings.json and moved them to the .env
file to use Laravel's mailer functionality.

references to the old mailer has been removed from settings.json,
data sorting class and the settings template file

the front end script has also been updated to accomodate different
message types, starting with a test message so members can make sure the
settings defined in the .env are working
2024-06-05 13:33:11 -06:00
ro
a5cf8816f0
themes setting tabbed styled
the themes tab has been brought into alignment with the new design, so
the only thing that remains is redoing responsive styles for the
settings page

whew
2024-05-26 14:38:46 -06:00
ro
9bc0ae8bed
site features tab restyled
the section housing site features has been restyled and brough into
alignment with the new design

still needs responsive work
2024-05-24 16:22:11 -06:00
ro
ab158c99b0
settings page tab conversion part 1
the settings page needed to be updated to make space for incoming
features and settins, so a tab system has been plugged in to reorganize
the options availble

of course, everything needs to be restyled to match the new comps
https://www.figma.com/design/JQSy6XtVtSkiIxzXEM46IU/Fipamo-Dash?node-id=1204%3A285&t=kDgzU2ONXr3k5yUe-1
but the base structure is in, so now it's just about getting the css
right
2024-05-21 19:15:47 -06:00
ro
8c375e6ba1
update member info from settings
setting sync is working but member data was not being updated in the
folks file or in the current active session, so that's been addressed

still need to turn on avatar updating as well, but that is tied to
updating the settings page, so that will be handled when image uploads
for that area are reactivated
2024-05-13 13:36:06 -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
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
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
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
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
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
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
6ce5e91624
file upload service added
ported over the new file uploader from the old build and made it a
service make for from some additonal file processing
i.e. image optimization or video converstion before it is saved to the system
2024-03-11 16:32:38 -06:00
ro
bd5f57b9ac
fixed page asset reference paths for saving
switched to using sortjs method for collecting urls for assets
associated with page
2024-03-10 18:47:40 -06:00
ro
b9b04f1ab2
page api rewire, pt 1
start building out the new version of the page editing api while making
some changes to the original scripts for added flexibility and using the
full range of HTTP methods that weren't being used before.

currenlty, it's just an end to end test to make sure the plumbing works
as it should data is being passed and can be processed.

now that it all works, the guts of page editing can be completed

update sortablejs to the latest since it's been awhile and got rid of
the old version
2024-03-07 15:42:11 -06:00
ro
1e37580869
added front end scripting to recreate API
dropped in js from the old site to begin the process of wiring up the
API, but this time around, scripts will be served directly in browswer
rather than being transpiled through NPM/Babel, eliminating the need for
NPM.

also scripting will new modularized and served specifically for the
requirements of the page loading it. no more front loading everything.
only script that is needed for that page will be retrieved. if no
scripting is needed, none will be loaded.

The only casualty so far has been syntax highlighting due to prismjs
still being a common js module, but either this will be replaced with
another library or a custom syntax enginge will be created at a later
date
2024-03-06 11:53:40 -06:00