Commit graph

14 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
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
d24df50d96
FEATURE: Full site restore
content restore was already enabled, so the last step was completing
file restorartion if there was a file archive uploaded

now that this has been added, full site restore from backup archives now
works.
2024-07-05 13:17:53 -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
7d78476870
restore site error path
there was minor error with pathing to remove the back up zip once the
restore process finised

fixed
2024-06-12 15:09:58 -06:00
ro
e02f99da94
restore asset url check
in the restore init process, there is a space that restores assets from
a previous install but grabbing them directly from the site and saving
them to the install.

a check was added so this script only runs if that url has been set in
the init restore form
2024-06-12 14:59:07 -06:00
ro
59b9f481af
removed hard-coded environment paths; updated .env
there were places in the codebase where path to fipamo specific paths
and file were hard-coded into the system, reducing flexibility and
customozation for people that want to define their own path.

those hard-coded elements have been removed and replaced with references
to the env file so those paths can be changed to whatever is needed

the .env.example file has also been updated to contain default paths for
easier installation.
2024-06-12 14:53:10 -06:00
ro
728a2e5a69
incorrect error capture for creating member secret
the init process was erroring out because instead of re-running the
script to make a valid token, it was not capturing the correct error, so
it would just fail

also the folder for saving config files needed to be created to save
them, so that addition was made as well
2024-06-02 21:33:20 -06:00
ro
2f405ffb6d
incorrect path to template files
init process was looking for template settings file in incorrect
location. fixed
2024-06-02 21:04:42 -06:00
ro
787c00a75b
improper reference in init class
init class needed to be udpated to correct the reference to the doc
services class.
2024-06-02 21:00:52 -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
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