Commit graph

839 commits

Author SHA1 Message Date
Dan
fb56df58da Update editor.css
See: #843
2025-03-19 13:21:18 +07:00
Dan
82b1233ae3 Add file accept image/webp 2025-03-19 12:27:05 +07:00
Dan
04c5ab3a3d Fix form styling 2025-03-19 12:20:36 +07:00
Dan
be90f88708 Form builder styling 2025-03-18 19:53:56 +07:00
Dan
c372b37980 Update edit-content.html.php 2025-03-18 15:47:38 +07:00
Dan
9d06bcf9f8 Fix edit content 2025-03-18 15:44:52 +07:00
Dan
65afc01fe5 Add info properties 2025-03-18 15:27:21 +07:00
Dan
b51bbd2d60 Update form.builder.js 2025-03-18 09:44:57 +07:00
Dan
0214d31817 Update form.builder.js
Remove spaces for select value and options value
2025-03-18 04:57:40 +07:00
Dan
22b6210caf Update htmly.php 2025-03-17 20:17:54 +07:00
Dan
fda3af37f4 Clean toc heading link
The heading link only show up when we hovering it
2025-03-17 20:00:37 +07:00
Dan
6e667b4348 Added $p->raw/$author->raw
Use this to get the data from get_field().
2025-03-17 16:06:57 +07:00
Dan
3ca9ed1922 Simple custom fields
Currently only supports text, textarea, checkbox and select types.

Can add custom fields to posts, pages/subpages, profile.
2025-03-17 16:02:16 +07:00
Dan
ea2c17473f Update Markdown.Editor.js
Use triple backticks instead of four spaces for <code> block.
2025-03-17 07:29:57 +07:00
Dan
4081319e52 Remove space before and after 2025-03-02 22:30:22 +07:00
Dan
d92cef494a Update htmly.php
See: #876
2025-03-02 21:39:08 +07:00
Dan
b02cd40a3c Update admin.php 2025-02-19 08:02:17 +07:00
Dan
bed4998e4e Update version 2025-02-17 12:22:19 +07:00
Dan
809b7aa594 Update functions.php 2025-02-16 11:00:08 +07:00
Dan
0eeeec058c Add lang key 2025-02-15 10:28:38 +07:00
Dan
e9589b1dc2 Add clear index button 2025-02-15 06:17:05 +07:00
Dan
529cb62ae5 Update dispatch.php 2025-02-14 16:07:08 +07:00
Dan
3d17ca5254 Update search-reindex.html.php 2025-02-14 12:28:26 +07:00
Dan
e4dfc429d7 Fulltext search index 2025-02-14 10:21:17 +07:00
Dan
ed5faba993 Bug fix. See #870 2025-02-01 14:57:54 +07:00
splifingate
6a7002657c three-character minimum for $keyword
limit $keyword to a minimum of three characters
2025-01-29 05:43:42 -05:00
splifingate
ffee888eab Revert "cleanup"
This reverts commit 9a6e4b83ee.
2025-01-29 05:41:28 -05:00
splifingate
9a6e4b83ee cleanup
fix errant tabbing
2025-01-29 05:37:15 -05:00
splifingate
a88411150d three-character minimum for $keyword
system/includes/functions.php:

add function to limit $keyword to three, or more, characters; cleanup

themes/doks/main.html.php:

remove color <span>
2025-01-29 05:33:56 -05:00
Dan
5d873dceec Change version 2025-01-27 08:09:27 +07:00
Dan
5804cbcdd7 Cleaning up 2025-01-27 07:58:10 +07:00
splifingate
002b25d158 Update functions.php
extra / *oops*
2025-01-26 15:14:12 -05:00
splifingate
9ac3fc114a Add Searching The Contents Blog Post Contents
By Default, Search in HTMLy only queries the filename.

I have added code that enables the Search function to capture whole-word results from the *contents* of each blog post.

See:

https://splifingate.net/blog/

vs

https://splifingate/test/blog/

My Study:

https://andyrew.info/blog/2025/01/searching-inside-htmly-content
2025-01-26 14:35:35 -05:00
Dan
6747b0e3c5 Improve MFA
Temporarily save username and password during MFA login to session file and not into hidden input
2025-01-24 23:28:06 +07:00
Dan
eb4330abc8 Autosave message
Added a message why the draft was not saved
2025-01-24 09:09:31 +07:00
Dan
3397d76b01 Improve insert image. See: #851
Minus search image.
2025-01-23 20:33:12 +07:00
Dan
41cddd2a49 Update dispatch.php 2025-01-23 09:43:25 +07:00
Dan
015e631e27 Update htmly.php 2025-01-23 08:17:44 +07:00
Dan
c0bcb5c5cc MFA domain
Remove http/https
2025-01-23 07:31:31 +07:00
Dan
39a8c50cfd Fix autosave bugs. See: #858 2025-01-22 11:36:00 +07:00
KuJoe
b660382bbe Fixed CSRF check and error messages for MFA
Added CSRF check for MFA page and error checking/reporting.
2025-01-15 19:47:35 -05:00
KuJoe
c46fa1985c Clean up MFA display
Added a new page so users are only prompted for MFA if it's enabled for their account.

Also displays the blog domain properly in MFA applications.
2025-01-15 19:40:38 -05:00
Dan
e234ea11b4 Update functions.php 2024-12-30 12:56:39 +07:00
Dan
788ccf36be Cleaning up 2024-12-11 06:18:32 +07:00
Joduai
fa1fd04352
Update get_pagination() - see #800
Since generation of canonical metatags were updated for paginated pages - which was a good change towards SEO - another "problem" arised with "_Alternate page with proper canonical tag_". It basically relates to the 1st paginated page with "?page=1" in url. Although it contains proper canonical tag indicating main page with blog posts.
I wanted to:
1. get rid of this duplicated page in pagination so that all other pages point to the main blog page instead of page=1, allowing me to also get rid of above mentioned notification in g.search console
2. generate proper relative urls for paginated pages. All html hrefs contain "?page=N" no matter what page is used for blog posts listing. Either it is index page or any other declared page like /blog

Since I use /blog page for posts list I achieved proper href values both on index pages and decalred page, so I'm sharing the changes.
This commit affects only pagination generated using `<?php echo $pagination['html'];?>` which is used afaik only in "blog" theme. All other themes show only previous/next buttons to navigate through posts list, thus additional changes would have to be made per theme basis which is out of scope in this commit.

As a suggestion it would be nice to achieve friendly urls in pagination but I couldn't find out how url routing is solved in htmly.
2024-11-26 00:25:23 +00:00
danpros
90417620f7 Update functions.php 2024-11-21 05:45:40 +07:00
danpros
d2fe54d166 Prepare release 2024-11-21 05:44:18 +07:00
danpros
4abd8b29f4 Add new theme
Based on Tailwind Starter Blog theme, see https://github.com/timlrx/tailwind-nextjs-starter-blog
2024-11-20 13:01:17 +07:00
Robert Pfotenhauer
56f5460839 Added Bluesky to social accounts
As Twitter is becoming more and more of a muckraker, the alternative should be shown here as well.
2024-11-19 11:02:33 +01:00
danpros
973a2c5a05 Add new vars for easy theming 2024-11-19 12:33:54 +07:00