2089 Commits

Author SHA1 Message Date
Tetrakern
29cf93b7a3 Add option to log all post changes
This was previously done by default, now it needs to be turned on. Which is arguably better.
2024-09-17 11:38:15 +02:00
Tetrakern
899f730eac Made fictioneer_cleanup_discord_meta() generic 2024-09-17 11:17:29 +02:00
Tetrakern
65d64c7b83 Add additional chapter bulk edit fields 2024-09-16 23:50:07 +02:00
Tetrakern
4354eb7177 Add missing conditions for chapter text icon input 2024-09-16 23:35:50 +02:00
Tetrakern
a007d20f76 Refactor Discord post trigger handling (again)
I didn't like storing all these IDs in an array after all, because I know some cases where this would end up with tens of thousands. New plan: check for both the meta and time since publishing, but delete the meta after a day. The post will then be too old to trigger.
2024-09-16 18:28:49 +02:00
Tetrakern
2227a27917 Improve check for old posts in Discord messages 2024-09-16 14:06:27 +02:00
Tetrakern
d9b067554b Rename some Patreon functions for consistency 2024-09-16 02:16:44 +02:00
Tetrakern
a93b62189a Clean up tab spaces 2024-09-16 02:13:10 +02:00
Tetrakern
2e34bdb096 Update Patreon bulk edit and documentation 2024-09-16 02:11:30 +02:00
Tetrakern
0802dc490e Move log to WP root directory
This is not accessible via URL request and therefore better for security, even if the log does not contain critical information. Better safe than sorry.
2024-09-13 22:35:15 +02:00
Tetrakern
ca78393bbd Update Sortable JS to 1.15.3 2024-09-10 16:57:40 +02:00
Tetrakern
1a07af1988 Remove default chapter icons from post meta
There is no need to bloat the table with them. This also allows to replace the default icon without having to do a database update.
2024-09-10 13:50:53 +02:00
Tetrakern
4f23b4364b Refactor Discord post message memory
Use a single option array instead of a meta field per post. This information is only required when a post is saved for the first time, so there is no need to bloat the post meta table.
2024-09-10 13:07:38 +02:00
Tetrakern
c5b73165f5 Make Discord messages non-blocking outside debug mode 2024-09-10 12:36:39 +02:00
Tetrakern
ffaf30e10c Make type and status in comment Discord message translatable 2024-09-10 12:36:29 +02:00
Tetrakern
e2319511d8 Fix Discord notification for private guest comments 2024-09-10 12:27:33 +02:00
Tetrakern
f5e6e2bf3a Fix doc comment 2024-09-10 12:05:10 +02:00
Tetrakern
3f65c2b883 Fix missing story ID in discord chapter message 2024-09-10 11:52:18 +02:00
Tetrakern
b5a31d7e0b Improve sanitization of fictioneer_chapter_story on save 2024-09-09 21:58:47 +02:00
Tetrakern
1bc5d7dd20 Avoid unnecessary variable declaration while building font file
It's something.
2024-09-08 18:41:28 +02:00
Tetrakern
2b97a1c024 Improve sidebar inclusion 2024-09-07 17:04:23 +02:00
Tetrakern
ef68706cd6 Set log permissions to 0600 2024-09-07 14:33:03 +02:00
Tetrakern
4620a82cec Add cache parameter to shortcodes 2024-09-07 00:28:36 +02:00
Tetrakern
6c8be9eca1 Change showcase param name to min_width 2024-09-06 16:40:32 +02:00
Tetrakern
8feee22a99 Add width param to showcase shortcode 2024-09-06 13:16:01 +02:00
Tetrakern
323d985aa2 Update query args excluded from indexing 2024-09-06 01:36:33 +02:00
Tetrakern
a39a4ceb9b Add Splide
commit e76d41be04166ad5a9a1a17d327a9b47d46149f7
Merge: 9490b992 48b6cf37
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Fri Sep 6 01:26:29 2024 +0200

    Merge branch 'main' into splide

commit 9490b9925ff2ff78f3057a2762aa41aa61028a68
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Fri Sep 6 00:02:52 2024 +0200

    Add height and aspect_ratio params to showcase

commit 8043e35abb95d04192ba5a9399480a37db647b27
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 23:02:12 2024 +0200

    Add Splide to showcase shortcode

commit bc7344d3a89eea93a0727b88c7d7998a2f73b54b
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 22:52:26 2024 +0200

    Start documentation

commit 3e3183e5ec3da66c585f022af1214b3690ad84f6
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 22:13:41 2024 +0200

    Add option to enable Splide globally

commit 60935c24e647889beab8b158bb50aa1f4948e4da
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:48:44 2024 +0200

    Elementor compatibility

commit 1f7c0ca40289597af0b6a250c62ed22621a9668a
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:39:08 2024 +0200

    Optimize Splide for paginated article cards

commit 911c0f6f20d0c3a5bddda280618064eb1309ac5f
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 20:24:52 2024 +0200

    Turn off arrows by default

commit 567205b42031b9e075060c208d1fb93507c7acfa
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 14:05:46 2024 +0200

    Move SCSS to own file

commit 5a91f1dcf0982a78e22362262d4b982784cfdd21
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 13:57:22 2024 +0200

    Update style

commit e3c920ab33c5d6065fd7b8a7f2211d8809630df3
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 11:58:52 2024 +0200

    Add Splide to other shortcodes

commit 7c2275a0c336e7ca7072165d633dd3fbc8a19524
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Thu Sep 5 11:55:39 2024 +0200

    Update style

commit 68bff5aef85af82f1a844de293f443172a5e5d1e
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 19:16:55 2024 +0200

    Improve error handling of invalid JSON

commit ce9159425a6d6674cdef7d8f356724c79db3130b
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 19:05:01 2024 +0200

    Improve Splide loading and initialization

commit 263848a53ddfb77980f88b5b5f973311d792e712
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 16:39:18 2024 +0200

    Improve JSON preparation

commit 8c39131008a50119bd8666b558f01354140c0b00
Merge: d4373db4 57638cdc
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 14:19:28 2024 +0200

    Merge branch 'main' into splide

commit d4373db473e80b05c52565f25ba13034eb81d648
Author: Tetrakern <26898880+Tetrakern@users.noreply.github.com>
Date:   Wed Sep 4 13:48:00 2024 +0200

    Prototype
2024-09-06 01:27:15 +02:00
Tetrakern
48b6cf3719 Exclude internal URL from indexing 2024-09-06 01:26:09 +02:00
Tetrakern
90fd8181e6 Unlisted chapter show no chapter navigation 2024-09-04 14:00:25 +02:00
Tetrakern
4337659a31 Fix unlisted chapters appearing in chapter index popup 2024-09-04 13:53:41 +02:00
Tetrakern
a36409f284 Fix non-published chapter affecting story update dates 2024-09-03 13:21:24 +02:00
Tetrakern
ce292c9eb1 Add admin nonce to tools page 2024-09-02 20:06:17 +02:00
Tetrakern
e3b80a6b4d Remove useless static variable 2024-09-02 16:36:24 +02:00
Tetrakern
d382684dee Fix log style 2024-09-02 02:43:48 +02:00
Tetrakern
e08fa6ca93 Use UTC dates for logging 2024-09-02 02:40:13 +02:00
Tetrakern
04527aa7c6 Fix static variable declarations 2024-09-02 02:31:15 +02:00
Tetrakern
ee8f2d1dbf Show debug log in fictioneer settings 2024-09-02 02:25:58 +02:00
Tetrakern
f591cd8045 Optimize fictioneer_theme_comment() 2024-09-01 20:38:31 +02:00
Tetrakern
e6519fd733 Replace strlen with mb_strlen 2024-09-01 17:01:19 +02:00
Tetrakern
38087b9a86 Replace strtoupper with mb_strtoupper 2024-09-01 16:44:44 +02:00
Tetrakern
992c796cfc Simplify search query construction for authors 2024-09-01 15:28:06 +02:00
Tetrakern
651da90be5 Remove error_log() call 2024-09-01 15:14:21 +02:00
Tetrakern
eb2d4c7a95 Rename and improve fictioneer_get_publishing_authors() 2024-09-01 15:08:16 +02:00
Tetrakern
0f5e864324 Add more adjectives and nouns for random names 2024-09-01 03:55:17 +02:00
Tetrakern
86442b5624 Fix overflow issue with search tokens 2024-09-01 03:29:34 +02:00
Tetrakern
1f8f524eec Fixate search and filter popup menus
Not a great solution for the nav overlay issue but better than nothing.
2024-09-01 02:21:25 +02:00
Tetrakern
1cd71a497c Add fictioneer_get_all_publishing_authors() 2024-09-01 00:48:10 +02:00
Tetrakern
31f5cfd97c Fixed comment edit screen missing moderation meta box 2024-08-31 17:32:22 +02:00
Tetrakern
8be1c912fb Update setting texts 2024-08-31 17:18:34 +02:00
Tetrakern
77463309cf Add helper modal for consent banner 2024-08-31 16:11:26 +02:00