Fix some typos in last commit, plus make sure urlencode is always used with Microsub requests and that a channel is always set when adding a feed. Javascript for module updated to return urls for author instead of name when setting the channel.
Fixed some typos in previous commit and added some improvements such as removing Twitter auth when a twitter feed is removed and fixed author name clashes by storing url instead of descriptive names.
Add TwitterOAuth library to core files which is used by new Twitter module to connect to Twitter. php/twitter.php provides a callback url for Twitter as well as being able to produce an h-feed for a home timeline. Also improved SimplePie feed discovery when an id is used.
Moved code in Cron method that only runs once a day to the beginning of the function, since the time check was failing because the feed checks were taking more than half an hour.
Webmention endpoint needs to be initialized with the admin user, since it can receive follow posts which adds a feed which checks the feed limit for the current user.
Bug fix following last commit to microsub.php, me parameter can be added without scheme, and json_decode requires second parameter. Also category_markup should set u-category when action is not set.
Created a separate notify endpoint for Microsub, rather than extending Micropub protocol. Micropub settings are no longer required to use the new account on a Microsub server. When an IndieAuth user logs in their token endpoint is now stored in case it's required by the Microsub endpoint, which will now check the provided token. The Microsub endpoint now also expects external users to provide their url as a 'me' parameter added to the endpoint.
The url of a new notify endpoint is now provided by the client when first connecting to a Microsub server. Feed subscription limit is now requested from the Microsub server rather than requiring the limit be set on both the client and server.
Now provides UI for syndicate-to and destination settings found in Micropub config. Also improved native send to twitter option that checks if brid.gy has been set up and provides an option to start an account on brid.gy if not.
category_markup in style.php now only sets u-category on person tags and now that u-repost-of markup is handled by Post module only u-url is required when action provided is repost-of. Simplified the way the repost author is passed along in SimplePie->Parser parse_hcard method. Fixed a bug in parse_hcard in microformats.php where nickname and note were being overwritten with empty strings.
Fixed pubDate format in rss.php which didn't match the spec. Fixed a bug in image.php which tried to fetch the original image but didn't check if there was a problem with it.
Now allows inline editing of item names in edit mode. SendEmail method now sends a separate email for the business so that a reply-to field can be set to the customer.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Added some more border colors and put ihaza profile back the way it was previously to use channels by default now that page select menu bug is fixed in the Control module.
Fixed a Start module bug, the module's javascript wouldn't run when added from account menu because of the initial selector not matching once the dialog has already opened.
Fixed a small bug in indieConfig when only status action was set, status returns correct urls, but they shouldn't be modified if they don't have a matching action set.
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.
deploy.php no longer asks for account details if an email address is provided as a parameter. Also fixed a bug where username wasn't available to the new request.
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.
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.
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.
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.
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.
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.
SimplePie Parser class now also adds quotation-of h-cite content. Don't update images in microformats.php parse_hcard if there's a problem returning the cached version.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
The previous core update to IDNA Convert class means npdata.ser file is no longer required, so try using core_update to remove it. Also fixed another SimplePie bug in Misc.php due to NULL empty string mismatch.
IDNA Convert class has been updated for PHP 7, fixed a bug in SimplePie that caused an empty fragment to be added to urls. Added missing include for new install_module function in several files.
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.
Payment
Stock
Stock
Stock
Stock
Payment
Xero OAuth
Xero OAuth
Invoice
Automatic Updates
xero_callback typo
Xero OAuth
Purchase
Invoice
Group Settings
Shopping Cart
Xero2 module support
Purchase
Reader
Admin editor group
Stock
Reader
Purchase
Group Settings
Manager
Stock
Subdomain Check
Domain Check
Twitter
Reader
Reader
Nickname cache update
Reader
Base
Twitter
Reader
Improvements to previous core update
Reader
Twitter
TwitterOAuth library
Stock
Base
Map Viewer
repost-allowed typo fix
Help getting started
Post
Reader
Writer
check repost-allowed
Reader
Update webmention endpoint
Organiser
Manager
Stock
Post
Reader
User Details
Comment Editor
Autocomplete improvement
Autocomplete bug fix
Add autocomplete to ckeditor
Automatic Updates
Automatic Updates
Manager
Base
Notifications
Stock
Reader
Microsub bug fix
Notify Endpoint
Base
Account Menu
User Settings
Reader
SimplePie Parser bug fix
Reader
File Browser
Writer
Post
Indieauth
repost improvements
Reader
Post
Domain Check
Comment Editor
Comment
Extended Editor
Help getting started
User Settings
Reader
Fix image cache
Shopping Cart
Control Bar
Domain Check
Shopping Cart
Domain Registrar
Reader
Domain Check
Shopping Cart
Shopping Cart
Manager
Shopping Cart
rss fix
Reader
Post
Notifications
Control Bar
Base
Reader
Post
Comment
verification check
Login Form
Extended Editor
Control Bar
Writer
Help getting started
User Settings
Reader
Post
Domain Check
User Details
File Browser
Reader
Reader
Reader
Shopping Cart
Shopping Cart
Shopping Cart
Shopping Cart
Notifications
Reader
Base
Reader
Post
Comment
Comment Editor
Reader
Increase RSS feed items
Reader
Post
core bug fixes
Group Settings
Writer
Help getting started
Reader
Domain Check
Comment Editor
Shopping Cart
Automatic Updates
Extended Editor
Control Bar
Stock
Shopping Cart
Micropub bug fix
Account Menu
Help getting started
Reader
Contact Form
Comment
Reader
Post
Comment
Help getting started
Hosting
parse_hcard bug fix
Domain Check
Login Form
Help getting started
Hosting
Domain Check
Contact Form
token endpoint
webaction bug fix
config set title to server name
Post
Hosting
Domain Check
install_module copy check
Control Bar
View Analytics
Universal Sign-in Button
Help getting started
Reader
Post
Control Bar
Help getting started
Reader
Nickname cache update
Shopping Cart
Reader
Micropub endpoint update
Login Form
Base
User Settings
Reader
User Details
Manager
Shopping Cart
IndieAuth and Microsub fixes
Login Form
User Settings
Reader
User Details
parse_hentry updates
Notifications
Login Form
Reader
Comment
Microsub server
Extended Editor
Control Bar
Help getting started
Reader
Hosting
User Details
Help getting started
indieConfig bug fix
Extended Editor
Help getting started
User Settings
deploy.php account form
Help getting started
User Details
deploy.php email address
Extended Editor
Writer
User Details
Reader
Automatic Updates
Fix Autoupdate version
Post
Fix email sending in deploy
Style Editor
Add Modules
Login Form
Extended Editor
Control Bar
Help getting started
Post
User Details
Contact Form
SimplePie file cache
Reader
Manager
Stock
Login Form
Control Bar
Hosting
Domain Check
Automatic Updates
Custom deploy email
Base
Hosting
Domain Check
Automatic Updates
bug fixes in deploy
Log calls to curl_exec
Reader
Post
File Browser
SimplePie Parser
Reader
Support quotation-of
Reader
SimplePie Parser
Reader
Automatic Updates
SimplePie 1.5.3
Automatic Updates
Base
Automatic Updates
category_markup function
Control Bar
Reader
Post
Hosting
Domain Check
File Browser
Login Form
Extended Editor
Automatic Updates
Automatic Updates
Control Bar
Control Bar
Members
Purchase
Shopping Cart
Automatic Updates
Analytics
Add user verification step.
Automatic Updates
Login Form
Control Bar
Account Menu
Roster
Purchase
Automatic Updates
Install default modules
Account Menu
Post
View Analytics
Report
Payment
Members
Manager
Automatic Updates
Update username
User Details
Automatic Updates
Reader
Automatic Updates
Script versions
Automatic Updates
Post
Single user mode
Install module function and Mf2 Parser
Automatic Updates
Automatic Updates
HTML Purifier
Reader
Test core_update function and SimplePie fix
New version of IDNA Convert class
Automatic Updates
Install Module
Deploy