Bot releases are visible (Hide)
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2.0-beta6 released 🎉
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2.0-beta5 released 🎉
Cache::flush
deletes all cashed images<body class="page-template lp-features">
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2-beta4 released 🎉
Post::ampify
Update::extractZip
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2-beta3 released 🎉
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2-beta2 released 🎉
Updates to Wordpress importer
Published by karsasmus over 7 years ago
🎉 Leafpub 1.2-beta1 released 🎉
Replace index.php
and source/
schemeVersion
to 3:
post_meta
PostViewed(slug, requestObject)
:post_meta.viewCount
.Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.8 released 🎉
[fix] #112 (thanks to @jstemberg)
Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.7 released 🎉
[fix] Bugfix in AbstractModel::isAllowedCaller()
introduced with last release
Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.6 released 🎉
[fix] added missing log
directory
[fix] #108
Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.5 released 🎉
[fix] #107
[fix] bug in Database::updateToVersion2
Published by karsasmus over 7 years ago
Leafpub 1.1.4 released
[fix] #105
[fix] #106
Published by karsasmus over 7 years ago
Leafpub 1.1.3 released
[fix] bug in AbstractImporter
: $adapter->beginTransaction() doesn't exist
Published by karsasmus over 7 years ago
Leafpub 1.1.2 released
[enh] adding media list to user's avatar and blog cover
Published by karsasmus over 7 years ago
Leafpub 1.1.1 released
created
has no standard valuePublished by karsasmus over 7 years ago
🎉 Leafpub 1.1.0 🎉
php v5.6+
!index.php
and source/
name: 'schemeVersion', value: 2
Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.0-beta4 🎉
index.php
and source/
database.php
and add 'driver' => 'Pdo_Mysql', 'charset' => 'utf8mb4'
to array/models
and /models/tables
/admin/regenerateThumbnails
: a simple hack to regenerate missing image thumbnailsPublished by karsasmus over 7 years ago
🎉 Leafpub 1.1.0-beta3 🎉
Replace index.php
and source/
Attached you'll find db_upload_fix.php
. Copy this file into your Leafpub folder, open a terminal and execute the file via php pathToLeafpub/db_upload_fix.php
The file fixes the data in path
and filename
fields and generates the thumbnails.
Published by karsasmus over 7 years ago
🎉 Leafpub 1.1.0-beta2 🎉
Replace index.php
and source/
ALTER TABLE __uploads ADD COLUMN `caption` VARCHAR(191) DEFAULT NULL AFTER id;
ALTER TABLE __uploads DROP INDEX `path`;
ALTER TABLE __uploads ADD UNIQUE INDEX `filename`(filename);
ALTER TABLE __tags ADD COLUMN `type` enum('post','upload') NOT NULL DEFAULT 'post';
CREATE TABLE IF NOT EXISTS `__upload_tags` (
`upload` int(11) NOT NULL,
`tag` int(11) NOT NULL,
KEY `upload` (`upload`),
KEY `tag` (`tag`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
CREATE VIEW __view_posts AS
SELECT
a.id, a.slug, a.created, a.pub_date, c.slug as author, a.title, a.content,
a.meta_title, a.meta_description, a.status, a.page, a.featured, a.sticky,
CONCAT_WS('.', CONCAT(b.path, b.filename), b.extension) as image
FROM
`__posts` a
LEFT JOIN
`__uploads` b
ON
a.image = b.id
INNER JOIN
`__users` c
ON
a.author = c.id
CREATE TABLE `__post_uploads` (
`post` int(11) NOT NULL,
`upload` int(11) NOT NULL,
KEY `post` (`post`),
KEY `upload` (`upload`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
As of the new media management your post image and your content images won't be shown.
I'll give you later a script to fix your database.
Published by karsasmus almost 8 years ago
✨ Leafpub 1.1.0-beta1 ✨
Replace index.php
and source/
and add folder 'content/plugins' to update.
CREATE TABLE IF NOT EXISTS `__plugins` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(51) NOT NULL,
`description` varchar(100) NOT NULL,
`author` varchar(51) NOT NULL,
`version` varchar(8) NOT NULL,
`requires` varchar(8) NOT NULL,
`license` varchar(8) NOT NULL,
`dir` varchar(51) NOT NULL,
`img` varchar(100) NOT NULL,
`link` varchar(100) DEFAULT NULL,
`isAdminPlugin` tinyint(1) NOT NULL DEFAULT '0',
`isMiddleware` tinyint(1) NOT NULL DEFAULT '0',
`install_date` datetime NOT NULL,
`enabled` tinyint(1) NOT NULL DEFAULT '0',
`enable_date` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
UNIQUE KEY `dir` (`dir`),
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;