Commit graph

149 commits

Author SHA1 Message Date
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
Ro
a9c88f1430
Edits for #86 and #92
Fixed the issue where the text edit controller would scroll right off
the screen. Now it stick when it's the bottom of the header.

Also changed the background color of page links on the Start and Book
pages to indicate there is no image. It's just cleaner
2023-04-28 16:17:15 -07:00
Ro
181225329a
CSS and icon fixes
Fixes for issues #93, #88, #87
2023-04-13 14:31:43 -07:00
Ro
f1850ce7f7
Site Creation Hot Fix
There was an error in the request to set up a fresh site on the front
end and handling the respective object on the backend that was causing
the process to error out.

Also added the source map for the dash script because it's eventually
going to be fully transparent anyway.
2023-04-06 17:59:31 -07:00
Ro
e7cd52bd12
Fixed script after removing dependency
Removed 'carot-ps' from dependencies so it had to be removed from
scripts calling that package.

Also renamed dash script to 'dash.js' just so it's clear it is for the
dashboard
2023-04-05 17:14:21 -07:00
Ro
3f9506ac6b
Responsive P 4 - Dash, Index, Editor, Nav, Menu
Cleaned up resonsive for the rest of the remaining pages: the dash
index, page index, page editor, navigation editor and plugged in a
mobile nav that activates when the viewport gets skinny.

Whew.
2023-04-05 14:40:14 -07:00
Ro
e7fd91c152
Responsive Pt 3 - Pass Reset, Site Create/Restore
Rebuilt forms for resetting the password, creating a fresh site and
restoring a site from a backup, as well as adjusting the accompanying
scripts that handle those processes.
2023-03-31 16:20:11 -07:00
Ro
5adf196783
Responsive Part 2 - Login
Updated Login CSS and cleaned up login notifications to alert when
something is amiss.
2023-03-30 14:27:56 -07:00
Ro
2ce86fad2e
Settings CSS Remix
Wasn't feeling the previous CSS responsive structure, so edited it to be
a bit more streamline.

Also fixed small issue with the backup API request.

Made a small change to notifications so the alert stays live while the
system is processing a request rather than going back to an unalert
state.
2023-03-30 13:40:59 -07:00
Ro
bfb0873f5f
Reponsive: Part 1 - Settings
Started cleaning up responsive styles for the site starting with the
Settings section. Still needs some tweaking but the structure for that
section is in so it's just a matter of police.

Some changes need to be made to the main nav as reduced viewport throws
off the alignment.
2023-03-28 18:19:40 -07:00
Ro
97278e3a90
Notifications Rework #81
Integrated the Notifications UI component into the header to streamline
user alerts into the overall experience.

Also added titles to use the space created by moving the notifications
compoenent to it's own space.
2023-03-26 19:47:42 -07:00
Ro
78bfe4596b
Styled Nav Editor
Created new CSS styles for dash nav editor and updated the appropriate
controller scripts.

Also updated the icons for the main nav.
2023-03-25 20:28:38 -07:00
Ro
1b89d1d072
Restyled Settings UI
Rebuilt the css for the Settings UI, which also led to some changed in
the FilesAPI so it knows what to do with specific targets. There's still
some additional styling needed to polish it, but the core structure is
in place so now it can just be tweaked. The controller for this page was
adjusted as needed.

Also moved the settings sub nav convtrols to the header menu since it's
sticky now.
2023-03-25 16:44:35 -07:00
Ro
fcca7357bc
Fixes for removing media items and page deletion
The upload process changed, so some tweaks needed to me made to the page
deletion process, which just marks the page as deleted but keeps the
file. Also updated the file manager to properly delete items from the
display list.

The css for page listings also had to updated [forgot to put that on the
list] so the styles for that were updated and the template pages
adjusted accordingnly.

Also forgot to mention changes to the notification display in the last
commit. It's basic as of right now but it will be enhanced as needed.
2023-03-24 14:57:01 -07:00
Ro
07b422a9c3
CSS Overhaul Part 1
This one is a doozy, so let's breakt it down into what areas where
touched.

-   updated package json to remove unneeded dependencies.
-   rebuilt file uploading to simply a very convuluted process
-   began proces to replace icons with https://tabler-icons.io
-   began process of removing the need for css preprocessor and using
    pure css
        - login completed
        - dashboard index completed
        - page edit ui completed
- page edit ui text editor tweaked so syntax highlighting is cleaner and
  more accurate

The settings and navigation UIs still remain and then polishing the
responsive for the new css structure
2023-03-23 13:55:34 -07:00
Ro
ec1dc49ba1
Login Hotfix
The script that handles logggin in and the form for getting that
information were both posting the info which would result in an
intemittent uncaught error.

An attribute was added to the form so it does not submit at the same
time the JS sends a request.

A minor bug but it was annoying.
2022-11-04 12:52:19 -07:00
Ro
61ae73a9e5
Issue #83 Round 1
First pass for CSS refactor for the dashboard, including the login and
index templates. Still rough but the basic structure is in place for
both as well as the re-worked css that will be added to the repo later
once all the pages have been updated.

Lots to do still but a good start.
2022-11-03 13:46:36 -07:00
Ro
3260e3b76b Updated dependencies, replaced Moment
Composer package dependencies hadn't been updated in awhile, so a part
of the clean up for the php 8.1 install, that has been handled

Moment was being used to handle date formatting but it hasn't been
updated in awhile either, so I switched to Carbon which is still in
active development.
2022-09-18 13:07:52 -07:00
Are0h
3fa3a9e0e6 removed stray console command for #78 updated
just had a stray trace in there that was removed and correct the issue
referene from the last update. oops.
2022-05-18 16:49:16 -07:00
Are0h
8734baf85e Fix for #76, editing upload que
Whew it took a bit but now the upload que on the page edit page is
editable. You can add and remove files as needed without having to add
all your files at once, which us how it previously worked. Still needs
to be tested a bit but the plumbing is up and running.

Also removed a stray php format config as it is no longer needed.
2022-05-18 16:41:25 -07:00
Are0h
63eaba08e2 Added config for PHP formatting (PSR2)
I needed some consistent php formatting, so I plugged in a php fixer
config and then reformatted all PHP files so it's all consistent.

Fixed an ID issue with the page-edit template that was causing page
editing to fail.
2022-05-16 17:41:15 -07:00
Are0h
d9c9f7744e Fixed white space issue, page edit style tweaks
There was a white space issue that made text displayed title and tags
text appear missaligned. It turned out to be a small layout problem that
was cleaned up by getting rid of white space in the textarea element
itself.

Also got in there and fixed some lingering css issues that was causing
the svg icon colors to be off in some of the butttons.
2022-05-11 17:41:56 -07:00
Are0h
b2c7dae322 Page Editor style fixes
The page editor UI was looking very shaky, so I went in there and
cleaned it up. The nesting is a bit intense, so I'm gonna think about
better ways of laying that out that aren't so convoluted.
2022-05-10 18:48:34 -07:00
Are0h
2501a19685 UI design tweaks
There were some inconsistencies in the UI due to all the changes that
were made to the styleshets, so I fixed the obvious ones that were show
stoppers.

There's more in there to be smoothed out, so this is just the start.
2022-05-10 18:05:41 -07:00
Are0h
b8b763637f finished scss stylint refactor for remaining pages
finished up refacting all of the style sheets to be brought in line with
the stylint scss standard. the standard will probably change as i tweak
the rules but the foundation is solid and it's rendering so it's a
great place to start

i'll go through the ui to make sure everything is in tact and i'll make
the necessary adjustments

i should probably refactor some structures as well as they nesting is a
bit overly complicated
2022-05-10 17:19:46 -07:00
Are0h
61b9acb280 I swapped out sass for scss file for styling because scss is a bit more
accessible because of its similarity with base css.

I also plugged in stylint to normalize a css standard throughout the
project to work with prettier, which handles formatting

The structure scss file has been brought in line with the new standard
but the remaining need to be adjusted as well. Those will be added with
an additional commit.
2022-05-10 14:13:31 -07:00
Are0h
aa3301fb66 hotfix for images in editor uploads 2022-04-23 11:28:20 -07:00
are0h
a841063ddb template update and clean up 2022-03-20 15:14:23 -07:00
are0h
692926c816 script check 2022-03-19 20:05:15 -07:00
are0h
b230f3f15d fixes for nav editing 2022-03-19 19:36:15 -07:00
are0h
382c314af0 fixes for restore from backup file 2022-03-19 16:15:56 -07:00
Ro
6279ad4730 fixes for site init 2022-03-19 14:55:56 -07:00
Ro
2b7db3cc88 removed unecessary mixins 2022-03-19 14:17:24 -07:00
Ro
8ad3fa38c5 respeced class imports to psr-4 standard, fixed asset moving, upgraded theme rendering 2022-03-18 16:00:51 -07:00
Ro
1351b98ee4 cleaned up create page process, update page edit template to handle empty files 2022-03-15 16:56:37 -07:00
Ro
2210e39aee added remaining upload types, updated templates for new file types 2022-03-13 17:46:42 -07:00
Ro
523b611ac5 fixed weird form post bug, updated page listing display for new assets 2022-03-13 14:22:22 -07:00
Ro
fe74fd6e07 fixed css issue with text edit area 2022-02-23 16:42:25 -08:00
Ro
f24a6b5099 implemented video uploading, updated styles and templates 2022-02-23 15:48:11 -08:00
Ro
3c52bca8ba started implementation of multiple file uploads and sorting 2022-02-12 18:35:09 +00:00
Ro
8f9021bb7d added progress bar to entry image uploads 2022-01-26 16:25:05 -08:00
Ro
53864becc1 implemented progress upload indicator in notifications 2022-01-26 15:57:27 -08:00
Ro
601fd6b1ab fix for weird css file deletion thing 2022-01-26 13:26:41 -08:00
Ro
b69559541a edit format bar always stays on screen 2022-01-25 15:17:41 -08:00
Ro
8684c8b1ac removed stray var dump... oops 2022-01-17 16:31:05 -08:00
Ro
c15b6cdc5b updated production assets 2022-01-16 13:48:36 -08:00
Ro
7cabb1d1f0 more text editor touch ups, fix for page delete option 2022-01-16 13:33:04 -08:00
Ro
f1a8ef67bc another patch for textarea misalignment bug 2022-01-13 15:43:38 -08:00
Ro
10081c4323 fix for text editor alignment issue. finally 2022-01-12 14:56:24 -08:00
Ro
b70308d990 fixed src removal from image tags with relative urls, add iframe tag to allowed list 2022-01-07 15:45:35 -08:00
Ro
d2f02eea50 edited ignore file to include new script. duh. 2022-01-04 13:39:28 -08:00
Ro
0742e06c45 cleand up text editor layout, tweaked editor colors, re-activated editor options 2021-12-28 14:48:54 -08:00
Ro
682406515d added assets compiling scripts, added syntax highlighting for text editor, fix for #73 2021-12-27 16:42:10 -08:00
Ro
4f4fee807c fix for #69, updated settings ui 2021-12-18 16:09:26 -08:00
Ro
1c2ba579df fix for #68, updated page edit ui 2021-12-18 15:42:16 -08:00
Ro
03c629462b fix for #75, fix for adding image to entry text 2021-12-18 12:05:13 -08:00
Ro
7e38b4edb8 quick patch for #66 2021-11-22 16:52:26 -08:00
Ro
3994e97829 moved layout selector in page edit ui 2021-11-22 14:29:50 -08:00
Ro
c867b6c508 adde page preview feature, updated page edit ui with preview option button 2021-11-22 14:24:26 -08:00
Ro
49e53a9638 added styled page layout selector, page renders selected layout 2021-11-18 14:59:59 -08:00
Ro
e6cda301cf #59 - added toggle to render pages when page is edited 2021-11-08 13:52:33 -08:00
Ro
4796431076 completes #58 default theme links adapt to dynamic rendering, no page rendering if dynamic active 2021-11-03 15:19:52 -07:00
Ro
35c780bba6 added dynamic page rendering for index, archives, tages and blog pages 2021-11-02 16:19:03 -07:00
Ro
e5cffd39d7 fix for #60 - render flag false fix 2021-10-27 14:37:42 -07:00
Ro
1bb13ce771 #57 notifications ui position tweak 2021-09-23 13:15:03 -07:00
Ro
ccbf55bb54 added form token auth to page editing, updated API 2021-09-13 15:43:54 -07:00
Ro
fdc6cb2cf2 added form token to session to validate form submission from frontend 2021-09-12 14:40:27 -07:00
Ro
f2450b2be5 fixed incorrect input type (#52), cleaned up site restore process (#53) 2021-08-25 16:12:35 -07:00
Ro
8df5e68024 re-activated site back up... for now... 2021-08-09 14:04:49 -07:00
Ro
734c6d36f1 Admin API tweaks, added check for theme render flag for one pagers 2021-08-08 15:09:13 -07:00
Ro
183a620b1e changed auth process to just ask server if session is active 2021-08-03 14:31:13 -07:00
Ro
b3c47d6721 overdid it with the image upload auth, making it a regular upload 2021-08-02 15:34:21 -07:00
Ro
cad32ace74 fixed image upload request that required token authorization 2021-08-02 15:13:46 -07:00
Ro
83b4aff716 added admin API method for getting site and member info 2021-07-21 12:46:14 -07:00
Ro
13c9d05019 tweaks for API classes, filled out commenting for docs, added jsdoc config 2021-07-02 14:45:35 -07:00
Ro
1f1c611afe fixed token check, fixed empty image page post 2021-06-30 14:06:13 -07:00
Ro
ab40219d9b added key check to use AdminAPI, updated front end classes 2021-06-28 13:47:06 -07:00
Ro
2785ef6982 updated AdminAPI for remote use, removed UtilityAPI from public library (methods should only be local) 2021-06-27 13:48:17 -07:00
Ro
b9056b64df more commenting for API classess, edited constructor for Admin and Util, updated backend API, added jsdoc 2021-06-25 14:53:37 -07:00
Ro
ebdda2c089 updated front end controller scripts 2021-06-24 11:58:55 -07:00
Ro
e40e566302 edited and commented Admin API, removed DataEvents class 2021-06-22 13:18:16 -07:00
Ro
f7e3b3b55e edited and commented methods for Utility API, removed DataEvents class 2021-06-22 12:13:11 -07:00
Ro
8101b16cf9 edited method names for Content and Utility API, updated base class 2021-06-21 14:36:06 -07:00
Ro
45fd8be25f reorganized API methods into new files 2021-06-17 13:26:04 -07:00
Ro
24242d4bf0 updated API request URLs to use keys 2021-06-14 13:16:23 -07:00
Ro
65def75433 added api key to settings UI 2021-06-13 14:24:20 -07:00
Ro
3df2720009 added CORS handling, added external API access toggle to settings UI and updated front end script 2021-06-09 13:36:08 -07:00
Ro
2f1f6678b7 changed fipamo logo name to avoid confusion with imported theme logo 2021-06-03 12:26:11 -07:00
Ro
a542b2d884 removed data events from fipamo api, added content api methods, cleaned up front end js 2021-06-02 10:04:04 -07:00
Ro
20fc9c64a1 ui overall part 4: responsive touch up 2021-05-25 11:04:30 -07:00
Ro
0765ea4555 ui overall part 3: settings, site menu editor 2021-05-24 14:42:46 -07:00
Ro
033fe5e48b ui overall part 2: dash index, pages index 2021-05-23 19:27:33 -07:00
Ro
8e3d359486 ui overall part 1: login, init, pass reset forms 2021-05-21 14:07:25 -07:00
Ro
8f1e3a55e7 #44 password recovery plugged in 2021-05-06 12:45:39 -07:00
Ro
9462b91246 added phpmailer to dependencies for mail services(smtp, mailgun), update js Mailer class 2021-05-03 15:48:20 -07:00
Ro
7002ba8014 ignore button clicks when processing requests 2021-04-27 19:38:36 +00:00
Ro
c89fe5be30 removed redundant restore button, WIP’d mail button, move theme assets on render 2021-04-27 01:28:11 +00:00
Ro
4d44ea2a06 added base style and script assets for dash 2021-04-27 00:31:49 +00:00
Ro
dca45315f4 edited git ignore file to add default global images 2020-07-09 14:48:56 -07:00