Commit graph

577 commits

Author SHA1 Message Date
ro
ffe2ccdf5c
damn cdata tag again... 2025-05-20 18:29:50 -06:00
ro
7b94d1bff7
quick fix for malformed CDATA tag 2025-05-20 18:26:14 -06:00
ro
0213c7b180
added feature medio to rss
just thought it would be a nice touch to pull in the featured media into
the descption for some extra pretty in the feed
2025-05-20 18:21:16 -06:00
ro
a21cc74241
rss link fix
item links were pointing to the wrong thing. oops.
2025-05-20 17:28:43 -06:00
ro
4c9fbc3ded
Added RSS
plugged in a simple rss component so fipamo sites can be subscribed to
through feed reeders.

routing needed a bit of updating to make it work, so it's been edited to
accomodate any new url that deviate from created pages.

long live RSS
2025-05-20 17:10:57 -06:00
ro
c4d759c311
changed editor text from mono to san-serif
the editor looked stiff and techy with the monotype, so changed it to a
generic sans-serif just to make it friendler

ha, hopefully nothing breaks...
2025-05-18 13:02:57 -06:00
ro
981d182d1a
style, state and bounding tweaks for editor
new floating text formatter had some reveal state issues, some styling
wonkyness and didn't have any bounding rules, so all of that has been
addressed.

also removed css references to a component that has been removed.
2025-05-18 12:20:39 -06:00
ro
e1ef4ed1d2
removed deleted file reference
file callimg the editor script had a reference to a file that was
removed. fixed.
2025-05-18 07:59:43 -06:00
ro
28a2a2bc1e
text select patch
text select doesn't seem to work on iOS (because of course), so making a
quick adjustment and hopefully that solves the problem
2025-05-18 07:51:58 -06:00
ro
5300c91058
moved login/logout to dash; removed AuthController
Member authorization got moved to the member repo class a long time ago,
so AuthController was a leftover when that process was handled by
something else

moved dashboard login/logout to DashController and got rid of
AuthController as it's not necessary anymore
2025-05-17 08:03:46 -06:00
ro
59ab2e1536
url fix for page browser ui
the ui that is for browsing available pages was using the old url from
the previous routing set up and needed to be updated
2025-05-16 17:55:11 -06:00
ro
743d7c4d90
routing overhaul
previously all the of the page routing was handlede through controller
organized by CRUD methods. it worked, but organizing by CRUD and not
purpose resulted in more time spent looking for a specific task through
controllers, so it turned out not to an effecient way of organizing.

so routing has been completely reorganized into laravel's web routing
section and methods have been moved to their appropriate controller so
tasks are much easier to find

front facing page routing turned out to be a bit more tricky that
anticipated do the overap of routing paths, but it only affects dynamic
page rendering and there's a patch in place that handles that issue
until a better solution is found. Rendered HTML pages works fine.

whew!
2025-05-16 17:37:53 -06:00
ro
42dfdc947e
responsive pass for page edit ui
there were a couple of glaring issues with the responsiveness of the new
page ui layout, so some of the bigger ones have been addressed

there's was also a bug where the sub-menu options weren't getting picked
up when being assigned in the script. fixed
2025-05-14 15:01:53 -06:00
ro
543e615645
syntax highlighting
turned on some subtle syntax highlighting for markdown in the text
editor. colors still need to be tweaked, but so far so good
2025-05-13 19:55:13 -06:00
ro
5e3d2ea49f
improved file upload accessibility
the label for uploading files in the meta ui was not accessible by
keyboard, so that element was changed to a button that can be tabbed to
and clicked to open the file upload ui

there were also so minor css issues with the options toolbar, so those
have been tweaked
2025-05-13 12:56:55 -06:00
ro
6c44f58448
accessbility improvements for issue #109
the bold, italic and strikethrough options now function as toggles for
formatting options and removes them rather than just replacing text

the options buttons under the meta ui now communicate their status
through use of the 'aria pressed' attribute so they can be properly read
by assitive technologies like screen readers
2025-05-13 10:58:21 -06:00
ro
714485c6a6
cleaned up meta ui, made editor display contextual
there were some nagging space issues in the new meta ui layout, so those
were addressed. it'll will probably change a billion more times, but
it's starting from a solid place

the text editor ui now only display when text is selected and goes away
after an operation has been completed or when text is deselected, making
the overall page editing experience streamlined
2025-05-12 14:58:32 -06:00
ro
9c200ea78d
reorganized text editor
moved page meta data to it's own ui to clean up the page editing
experience as it was becoming a bit crowded.

also moved to saving and deleting buttons to title bar so they are
always available

added a note to web routes to reorganize them within the web routes file
to reduce the confusion present by having them in their own Controllers.
it's just an extra layer that's not needed
2025-05-12 13:12:58 -06:00
ro
16856f6c25
cleaned up page edit template, fix formatting
cleaned up the page edit template a bit to make it easier to convert to
the new editor UI.

php formatting also needed to be updated, so the php cs fixer file was
updated and added some setting to prettier to handle blade files
2025-05-08 18:25:57 -06:00
ro
47dfdbb7fc
upgraded laravel to the latest
Larave is at version 12.xx now, so that and its dependencies needed to
be upgraded
2025-05-01 13:57:48 -06:00
ro
3ae9dbea00
dynamic rendering patch
pages being rendered dynamically were not displaying properly due to
hitting a case that was not being captured. patched
2025-03-19 23:39:14 -06:00
ro
44b8e9b5ad
fix for incorrect page rendering
there was a generic place holder that defaulted to the default page
template to render pages. that's been fixed so it refers to the pages
layout to know what template to use
2025-02-04 15:58:50 -06:00
ro
5d74aafc9b
restored link to contribution guide
thought the contriubution guide was lost in the move because it wasn't
in the wiki, but it's a README file

take it easy, moving is hard lol
2025-01-23 19:46:48 -06:00
ro
5692a94ba5
quick key check 2025-01-23 19:39:30 -06:00
ro
1096971995
quick edit for new repo 2025-01-22 17:35:51 -06:00
ro
37c5b6b28f
quick layout fix for restore backup ui
restore from backup screen was a bit wonky because the forms where
running together, so threw in some breaks so it lays properly.
2024-11-08 11:37:31 -06:00
ro
eadbbc59ae Merge pull request '[draft] Make init fresh page more responsive' (#118) from xarvh/fipamo:responsive-init-fresh into develop
Reviewed-on: https://koodu.h-i.works///projects/fipamo/pulls/118
Reviewed-by: ro
2024-11-08 18:28:57 +01:00
xarvh
f88b088b50 separate and clean up atomic css 2024-11-06 18:57:27 +01:00
ro
84c6fa7a1a
theme color correction, editor responsive tweaks
the theme color for the dashboard was incorrect, so that has been
updated and the responsive sticky for the text formatter in the page
editor went funky with posts that had a lot of text so that's been
adjusted so it behaves as it should when it has to resize and stick
2024-11-02 14:07:53 -06:00
ro
f53bb588c5
patch for page preview
page preview from editor was not working because it was not passing the
page uuid correctly so it can be identified and rendered unto the theme
viewer.
2024-11-01 15:23:22 -06:00
ro
9c432db209
fix for link encoding issue
small bug where links in the archive and tag templates where being
rendered as url encoded strings, so that needed to be decoded so it
displays as normal text
2024-10-29 12:05:50 -06:00
xarvh
aa449b12b2 Make init fresh page more responsive 2024-10-29 17:31:23 +01:00
ro
a7354da38f
remove uploaded files page fixed
there was a minor bug that was preventing uploaded files to be removed
from the editor page even thought the remove button was pressed.

found and fixed
2024-09-04 14:52:52 -06:00
ro
c85e145774
added getbyIndex for pages, urlencode page titles
the theme controller was grabbing the index by its page name, which was
bad because that might change. that was replaced with a getById function
since the index id will always be 0 since it's the first page. this is a
seperate function from getByUuid which is a unique indentifier for each
page which was being used interchangably before the fix. all of those
references have been cleaned up to reference which type of id is needed

there was also a bug that happened on rendering when there were special
characters in the title. this was solved by saving the title as a
urlencoded string and then just decodded when it was needed for display
on the front end
2024-09-04 14:32:36 -06:00
ro
a0f7bff67c
updated sanitizer, fixed render on save
the module used to sanitize html is no longer maintained, so updated
that methodology to use symfony's very sexy sanitizer

checked to make sure render on save was working as well.
2024-09-04 13:29:06 -06:00
ro
0e6d4bd2b4
Case patch directory pathing
app was erroring out because classes in the upkeep directory could not
be found due to a case mix up where 'Upkeep' and 'UpKeep' were both
being used causing a path error because the actual directory is 'Upkeep.'
2024-08-30 16:14:15 -06:00
ro
2c8bd10391
added link to contributiong guide to readme
added a link straight to the contribution guide in the repo for easy
access
2024-08-05 15:56:45 -06:00
ro
5f40e7b98d
Contribution Guide
Made a md file for the contribution guide to give guidance to people who
want to help with the project.

It's a living document, so changes will be made as needed.
2024-08-05 15:53:34 -06:00
ro
38c907a08d
Updated project description
updated the README to detail what the project is and its goals. it's the
first draft so it will change over time, but it provides a bit more
insight into what Fipamo is
2024-08-04 14:37:41 -06:00
ro
ea9dbf025e
Settings API, Part 1
the first part of the setting API has been restored, with the methods
sync, publish and nav-sync restored to working order under the new API
pattern. Documentation for the API will be completed after the upgrade
is complete.

There was also a script error when trying to edit a page from the link
menu on the dashboard, so that has been fixed as well
2024-07-26 15:10:37 -06:00
ro
1d206b927d
navigation sync bug fix, api & settings cleanup
there was an error when reordering menu items due to a missing variable
to a service class, so that was patched

also removed unecessary code from api url definitions and settings
service class
2024-07-26 12:43:45 -06:00
ro
d8ed8b62c0
Page Admin API, part 2
page tasks have been changed to accept JSON data for the sake of
consistency across the API. The only API method that will accept form
data is file uploads.

Also restored the post, put and delete pattern for better organization
and clarity describing what each page method is for
2024-07-24 14:57:04 -06:00
ro
321feb9b92
Page Admin API, part 1
API accessible tasks (create, update, delete) have been updated to the
new format.

The controller needs to be cleaned up because it's a bit heavy and the
new API flow still needs to be properly documented, but it's a good
start
2024-07-23 17:46:45 -06:00
ro
4337a20fb8
API Improvements #116
API Security has been reworked to check if request is secure, verifies
the API token created on site setup given to every member, and then
confirms the system is accepting API requests by way of the API enabled
toggle in settings

API usage is now only meant for backend use, so this needs to be noted
in the docs
2024-07-17 16:41:11 -06:00
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
9f6d1970ce
updated wiki link on README
Wiki link in README was still pointing to the old repo, so that needed
to be corrected
2024-07-06 17:45:28 -06:00