Commit graph

452 commits

Author SHA1 Message Date
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
ro
4f7bbcdf86
cleaned up new page creation
editing page works but making new pages was still wonky, so that was
fixed and now page creation works fine

made some minor tweaks to prettier config for css formatting
2024-03-12 16:16:36 -06:00
ro
6a0c583a4f
file upload extensions hot fix
upload script for file types was still looking at mime types instead of
extensions so made that flip so files are sorted properly
2024-03-11 16:42:46 -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
7024285b70
page update api up and running
the first part of the page editing API is working again after porting it over
form the old fipamo build. a few changes where made to make the code a
big more managable, but the end to end process works for updating pages.

the remaining page editing methods will be activated after the rendering
engine is in place because that's going to be a pretty siginficant
effort.

but this is a big step.
2024-03-08 14:09:43 -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
65854e3dbd
Fix for api not being to see session data
so there was an error when trying to use services for API controllers
that was happening because the api middleware didn't pass the same info
as web middleware, resulting in session info not being passed to
controllers used in the api

after a bit of reading discovered necessary middleware could be added to
api routing so session data is available in in api routing

whew
2024-03-07 13:45:45 -06:00
ro
166e19a656
AuthAPI, favicon tweak
Got the first part of the API working, which checks to see if there is a
valid session active to set up requests

also some small changes to get the favicon working, yeah, yeah, but it's
cool looking...
2024-03-07 12:04:52 -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
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
ro
b527884c51
added theme service class
page editing was missing the selector to choose what template the page
was using, so a theme class was created to handle retrieving and sorting
what classes where avaiable in the themes directory

still looking for twig files because themes haven't been converted over
yet, but one step at a time
2024-03-06 10:27:41 -06:00
ro
ad57c29e8d
filled out auth service class
expanded the auth service class to store member info in the current
session so validation is easier

also added a token to session data that expires every hour so people
won't be logged in forever and take breaks

hey, you matter too
2024-03-06 09:50:09 -06:00
ro
47c8f7b008
spacing fix, removed scratch file
spacing is weird in blade, so some tweaks were made to account for it

took out a file that was being used for referecne
2024-03-06 09:13:31 -06:00
ro
8a81ec25fc
fix for empty files array in pages
page was erroring out because no files array was being set there are not
files, so put in a quick patch for that
2024-03-05 17:46:15 -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
57d47909b9
dash controller clean up
there was some stuff in there that wasn't being used anymore, so it's
been removed
2024-03-03 19:50:14 -06:00
ro
eda7fd4d3e
dash index quick clean up
just a quick tweak to make the sorting a bit cleaner
2024-03-03 18:07:23 -06:00
ro
2395278893
added content collector and pagination
plugged in the dash index template which required grabbing markdown
pages and converting them to data the system can use and then pagination
that is used to sort content into pages

start page now switches from login screen to index based on session, but
that might be changes so it's a bit more clean to work with middleware
2024-03-03 17:49:05 -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
367f20d8fa
Started template conversion
Brought over a template from the old build to see how the conversion
process would go (it's not bad) and see if the CSS would still stick (it
did)

The wiring will be finished when the auth class is completed
2024-03-01 18:16:24 -06:00
ro
a748b2c098
Added Auth and Settings service class
Plugged in a basic auth classs for verifying members and a setting class
to retrieve site settings and return necessary info.

Very bare bones to start just to get it working and prep for the
additional features
2024-03-01 13:34:36 -06:00
ro
4abf8bc911
Added Meta to composer config
Updated the composer file with relavent project information
2024-02-29 14:48:49 -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
ed60baff53
removed cache folder
legacy cache folder for parcel stuff removed
2024-02-29 11:36:24 -06:00
ro
6219d68b01
Upated git ignore file
removes parcel cache from repo
2024-02-29 11:34:31 -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
ro
c29513945b
Formating tweaks, minor controller edits
There were some outstanding changes made a few months ago that haven't
been checked in, so getting those as the final commit before the
transition to Laravel
2024-02-29 10:37:40 -06:00
Ro
49c1f2d3f2
Taiga Intergration Test 2
First one used the wrong hook type.

TG-3 #testing
2023-08-05 11:16:46 -07:00
Ro
2ce0a4eb82
Taiga Integration Test
Just seeing if this thing actually work

TG-3 #testing
2023-08-05 10:15:58 -07:00
Ro
599fca18f1
Removed invalid role attributes from Settings page
Cleaned up the settings page by removing the improper usage of the role
tag and replaced it with class to maintain current design integrity.
Also updated the script files that was referencing the old role tags
2023-08-01 15:51:33 -07:00
Ro
bea40049fc
Removed invalid role attributes from dash index
Converted role tags to class to remove the invalid role attributes
used.
2023-07-31 14:21:54 -07:00
Ro
df8e301a0b
Confirming Verify Commit Error
I tried submitting an updated through and IDE and it does not properly
verify signed commits.

Using git from the command line works fine.
2023-07-28 16:03:40 -07:00
Ro
16de29c399
testing verified commits 2023-07-28 16:01:00 -07:00
Ro
ac08c77813
Removed role from header, notification and login
Began the process of removing all invalid role attributes starting with the header, login, and notifications components. Updated the corresponding scripts as well. 

Made a few structural changes to the header to simply it and then tested it to ensure notification still worked.
2023-07-28 15:55:16 -07:00
Ro
2f0b83b492
Added License
Decided to go with GNU General Public License v3.0 because all
improvements to the codebase should be shared with the public
2023-05-16 15:08:48 -07:00
Ro
f824b53f2a
Update versioning to 2.6.1
All the issues in milestone 2.6.1 have been completed, so now it's time for an update
2023-05-14 18:00:53 -07:00
Ro
8461d88dd6
Settings CSS Cleanup
The Settings UI needed some responsive polish, so that's been given a
bit more love.
2023-05-14 17:37:39 -07:00