Dobrado updates feed

Reader

Reader module fix errors seen recently showing content that is too long to fit in the reader_items table by switching to mediumtext.
reader 29 true

Post

Webmention improvements, pick up on bad source url after fetch and ignore empty comments which are generated for permalink pages.
post 14 false

Post

Posts created from webactions had empty content so they were deleted as soon as they were made. Also fixed a bug in LookupName which replaced the existing author with the username from settings.
post 13 false

Reader

More improvements, feeds subscribed to automatically via a list are now only shown in the feed dialog. "Add Feed" label is now Search and will filter the feed list based on input so you can check if you're already subscribed to a feed.
reader 27 true

Reader

Added feed export. Removed restriction on importing files via Microsub, and improved importer which can now set the channel for each feed if category is provided.
reader 26 true

Reader

Another fix related to the previous one. When the reader is checking for new items don't look at older tables because it's not required that a set amount of new items be returned. Also improved previous fix to channel count updates.
reader 25 true

Reader

Tried to fix a bug that shows up when using Microsub, last read gets set to an old timestamp when the reader fetches newer items after the initial channel load. Also made a few small UI improvements.
reader 24 true

Reader

bug fixes: AddFeed was returning an error when a feed had been added previously. Channel count was getting reset in javascript because value was set to false instead of 0. Following method now looks for target using Microsub API when in client mode.
reader 23 true

Reader

A few small fixes following last commit: unset cached token on microsub error, make sure a nickname result is returned when not found in the database, and fixed looking for the repost author when creating a tooltip.
reader 22 true

Reader

Added a manual check feed button to feed settings. Improved microsub search, if there's only one feed returned just subscribe to that. Lots of small microsub bug fixes and improvements after trying to use it for a few weeks. Nickname method now returns all details for a url so that Post module can store them locally. Improved tooltips so that the channel matches the repost author.
reader 21 true

Post

SetContent method now tries to cache author details by calling Reader->Nickname. Also set the author to the user's preferred username in single user mode.
post 11 false

core bug fixes

install_module.php tried to fix a race condition bug where copied files are read before they are written to disk. remove.php was missing some includes that could be required due to extra work done by Post module Remove method.
core 38 false

Reader

reader_items table was created with the wrong collation last time CreateItemsTable was run, so check the value and fix next time.
reader 20 true

Shopping Cart

weight is lost when an item is removed, so calculate it using the name of the item being added. Items can now be grouped together in edit mode so that re-ordering items can be done more easily.
cart 4 true

Reader

Reader module Microsub client improvements and bug fixes (paging wasn't working at all). Also nickname cache will now try local copy and then Microsub server if no result found.
reader 17 true

Shopping Cart

Bug fixes following previous Cart module commit, now that date is not always selected need to make sure valid date checks are also done on the server. Also don't try and use the datepicker in js when the matching html hasn't been added to the page.
cart 3 true

User Details

Detail module doesn't have access to user settings when logged out so look up required values. Also reload the page when user details are updated instead of only updating the profile picture.
detail 8 true

Shopping Cart

Cart module now supports an option to not show a date input to logged out users. Also removed tracking column from cart_tracking table as just being in the table now means an item is tracked.
cart 2 true

IndieAuth and Microsub fixes

Made IndieAuth a bit friendlier by allow bare domains to be used as input and the endpoints will sort out what scheme to use. Microsub server wasn't looking in the right place for IndieAuth tokens and was also expecting all requests to come in via HTTP GET.
core 29 false

Reader

Added some better error checking to previous Reader modules changes, and fixed a typo which should've shown up as an error.
reader 12 true

Comment

Some small improvements to Comments module based on changes to microformats.php parse_hentry which changes the way mention types are used.
comment 2 false

Extended Editor

Added reader-microsub-client to the list of templates that can't be changed in single user mode. Improved control-page-options editing by resetting the session variable when changed so that the menu gets recreated on page refresh.
extended 5 false

Extended Editor

Fixed a bug in Extended module, couldn't save config in single user mode because the user field is not shown. Also prevent settings-display template from being modified in single user mode.
extended 4 false

Reader

Reader module can't change timestamp for autoupdate url, also fix long titles because MySQL will no longer try to store fields longer than their defined length.
reader 10 true

Extended Editor

Fixed a few bugs in Exended module, tabs were switching after adding a new selector and extra rules were displayed when 'new style rule' button was clicked. Also fixed related bug in style.php where the new rule was set as readonly.
extended 2 false

Post

Post module now saves all comment types as normal comments and leaves display up to the Commenteditor module. Also fixed a bug that prevented comments with multiple photos being displayed with a lightbox.
post 6 false

Stock

Add customizable taxable header field to Stock module downloads. Stock module js now ignores the taxable header when checking for the header row and can also import the new file format for Sovereign Foods.
stock 1 true

Automatic Updates

Fixed a few timing bugs in Autoupdate module that need to wait for files to be written. Also older updates that can be skipped are now marked as installed to simplify how updates are checked.
autoupdate 17 true

bug fixes in deploy

Fixed a bug in deploy.js where a class name wasn't removed so couldn't progress to the next step. Fixed a bug in deploy.php, HTMLPurifier wants a Serializer directory created for it. parse_hentry microformats function now uses SimplePie image cache when displaying photo properties for comments.
core 18 false

category_markup function

deploy.php doesn't set single user mode if username is admin. Exit testing if an out of date instance.php was found in create.php. category_markup function in style.php now supports an action parameter.
core 12 false

Reader

Reader module now avoids using SimplePie sanitation since HTMLPurifier is also used when the content is saved. No longer lower cases feed urls because it can contain a query string which is not case insensitive. Special case for twitter-atom was removed because the mf2 version of the feed is now available.
reader 4 true

Post

Post module removed hidden webaction link modified in previous commit because it required css which is not used when displayed on other sites. The proper markup is now added to the link saved as a category, which isn't displayed on other sites.
post 4 false

Login Form

Login module now checks DNS records to get TTL when a login code is used but verification is not set. This helps the user know how long the records are cached for before they can try logging in again.
login 2 true

Shopping Cart

Cart module changed sorting cart items to only be available in edit mode. Shipping is no longer calculated for logged in customers. Tracked items are removed from the cart when tracking is turned off from the stock item.
cart 1 true

Add user verification step.

Added new verification step to deploy.php. Dependency checks have changed, so installer.php now expects an array back from install_module and creates a message to return. User class will now check for a verification string when a code is used and look for a matching DNS TXT record.
core 11 false

Automatic Updates

Autoupdate module now stores the id's for the posts it creates so it can remove them if an update is removed. Also forgot to include call to AddTemplateDescription from Install method so try again on next Update. Title placement in module-info was right the first time, just needed to reset the margin. Removed call to sleep when extracting a tar file as the problem was actually a typo in install_module.
autoupdate 9 true

Post

Changed html for links due to the way ckeditor re-writes html, post_draft table entry is now removed when the draft is published.
post 3 false

User Details

Detail module query stopped working with reminder_repeat set to empty string in latest version of MariaDB so added an extra value to the enum.
detail 2 true

Automatic Updates

Fixed a typo in javascript call for finishInstall, also Update method wasn't called during last update of this module, so leaving new style rules in to check process.
autoupdate 7 true

Automatic Updates

Improved UI for Autoupdate module, check version number for updates that haven't been installed so that it can be run manually. Fixed a bug where categories must be unique by changing the display value to a string. Updates that are removed from the feed now have their latest version number removed too.
autoupdate 6 true

Script versions

This update adds a script_version table that stores version numbers for the javascript files linked to from page.php. These numbers are increased whenever a module is updated or installed to prevent the browser caching the old files.
core 8 false

Automatic Updates

Autoupdate->InstallModule required an extra step so that the new module could be included, so added FinishInstall function. Also made some changes to how updates feed is published on the build server. There's now an autoupdate-testing template to publish a testing feed when calling CreatePost. This means some sites can choose to receive automatic updates earlier, and if there are any problems the update can now be removed so that a new update can be built with the same version number.
autoupdate 5 1

Single user mode

Added support to User class for single user mode and using a login code. Both are used by deploy.php, single user mode will be set if an email address is passed to the script as a url parameter, a login code will be created if a password is not provided.
core 7 0

Install module function and Mf2 Parser

Added update_only parameter to install_module function since it can't include module.php when called from a module, which means new modules can only be autoloaded via a new request. Updated Mf2 parser to latest version. Fixed a bug in update.php, Reader module must be created with an owner set so that notifications can be created from the Autoupdate module which requires an owner.
core 6 0

Automatic Updates

Add Autoupdate notifications for the user installing the module. Fixed a query typo in SaveItem and add some more logging. Made some UI improvements to Autoupdate js using autocomplete.
autoupdate 3 1

Reader

Improved url checks for saving posts to Automatic Updates module. Fixed a bug in RenewHub due to urls containing a fragment identifier. Add a special case for twitter feed to look up old names in the nickname cache.
reader 2 1

Deploy

This is the first core update to Dobrado created using the new Automatic Updates module! It contains the new deploy.php file, which can be copied to a web server and run as a stand-alone file. It follows a step by step process to get Dobrado running on the server.
core 1 0