leafpub

Simple, beautiful, open source publishing.

GPL-3.0 License

Stars
645
Committers
19

Bot releases are visible (Hide)

leafpub - Leafpub 1.2.0-beta7 Latest Release

Published by karsasmus almost 7 years ago

  • Added an option to force url building with https
leafpub - Leafpub 1.2.0-beta6

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2.0-beta6 released 🎉

Notable changes

  • sitemaps und robot.txt added
  • make the use of Google AMP optional
  • add table functionality to the editor
  • add external images to the content via image panel
  • Bootstrap tooltips are disabled for now as they block functions on mobile
  • added opacitiy to admin menu
leafpub - Leafpub 1.2.0-beta5

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2.0-beta5 released 🎉

Notable changes

  • more AMP ⚡ elements (YouTube, Vimeo, Soundcloud and Facebook)
  • Cache::flush deletes all cashed images
  • Length of meta title and meta description added to the settings panel
  • minor bugifxes in several classes (Backup, Post)
  • Page slug has been added to the body class (Format: lp-slug)
    So you're able to style several pages with CSS
    ex: <body class="page-template lp-features">
  • Updated the demo images
  • Possibilty added to change the logo on login screen.
    You only need to uncomment to code seen here: https://github.com/Leafpub/leafpub/commit/26edcacdf1717fb7dd5392eb91ccada95f0ccada#diff-d76f02f65e745babab62a8315f90a897R6
leafpub - Leafpub 1.2-beta4

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2-beta4 released 🎉

Notable changes

  • updated Range to 1.1.0
  • Bugfix in Post::ampify
  • Bugfix in Update::extractZip
leafpub - Leafpub 1.2-beta3

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2-beta3 released 🎉

Notable changes

  • Language are getting downloaded and installed ( #117 )
  • AMP support added ( #97 )
  • Icon changes on locked posts: you'll only see a lock, if another user locked the post.
  • setting the correct timezone in database class
  • Bugfix in editor.js: figure and figcaption are getting saved correctly now
leafpub - Leafpub 1.2-beta2

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2-beta2 released 🎉

Notable changes

Updates to Wordpress importer

leafpub - Leafpub 1.2-beta1

Published by karsasmus over 7 years ago

🎉 Leafpub 1.2-beta1 released 🎉

Updating

Replace index.php and source/

Notable changes

  • Leafpub is now able to update itself, the installed plugins/themes and languages (see #3)
  • Leafpub got a dashboard with widgets (see #110)
    At the moment, there are 2 dashboard widgets. You'll find them at here and here
  • Slug creation got an update, non-latin characters will be replaced with ANSII character (see #113)
  • Posts are getting locked on editing. (see #109)
  • increased schemeVersion to 3:
    • added table post_meta
  • added event PostViewed(slug, requestObject):
    This event gets raised if a post gets viewed at the front-end. Leafpub listens to this event and increases the field post_meta.viewCount.
leafpub - Leafpub 1.1.8

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.8 released 🎉

Notable changes

[fix] #112 (thanks to @jstemberg)

leafpub - Leafpub 1.1.7

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.7 released 🎉

Notable changes

[fix] Bugfix in AbstractModel::isAllowedCaller() introduced with last release

leafpub - Leafpub 1.1.6

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.6 released 🎉

Notable changes

[fix] added missing log directory
[fix] #108

leafpub - Leafpub 1.1.5

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.5 released 🎉

Notable changes

[fix] #107
[fix] bug in Database::updateToVersion2

leafpub - Leafpub 1.1.4

Published by karsasmus over 7 years ago

Leafpub 1.1.4 released

Notable changes

[fix] #105
[fix] #106

leafpub - Leafpub 1.1.3

Published by karsasmus over 7 years ago

Leafpub 1.1.3 released

Notable changes

[fix] bug in AbstractImporter: $adapter->beginTransaction() doesn't exist

leafpub - Leafpub 1.1.2

Published by karsasmus over 7 years ago

Leafpub 1.1.2 released

Notable changes

[enh] adding media list to user's avatar and blog cover

leafpub - Leafpub 1.1.1

Published by karsasmus over 7 years ago

Leafpub 1.1.1 released

Notable changes

  • [fix] User model: created has no standard value
  • [upd] polish language file
leafpub - Leafpub 1.1.0

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.0 🎉

Updating

  • Be sure you're using at least php v5.6+!
  • Replace index.php and source/
  • If you're updating from the last release (beta4), add a new setting to your settings table:
    name: 'schemeVersion', value: 2
  • If you're updating from the latest stable release, be prepared to run a database update. Leafpub will you guide through this update.

Notable changes

  • [enh] Event System
  • [enh] Plugin support
  • [enh] Media Manager
  • [enh] ORM (Zend Db)
  • [enh] database updates via ORM and schemeVersion, no more need to run SQL queries
  • [enh] support for image captions
  • [enh] Importer for WordPress
leafpub - Leafpub 1.1.0-beta4

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.0-beta4 🎉

Updating

  • Replace index.php and source/
  • open database.php and add 'driver' => 'Pdo_Mysql', 'charset' => 'utf8mb4' to array

Notable changes

  • added ORM (Zend Db):
    • reorganised classes in /models and /models/tables
    • removed database.sql script. Installation is now made via Zend Ddl classes
    • Leafpub supports more database system see Zend Db Manual
  • added route /admin/regenerateThumbnails: a simple hack to regenerate missing image thumbnails
leafpub - Leafpub 1.1.0-beta3

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.0-beta3 🎉

Updating

Replace index.php and source/

Notable changes

  • added missing language strings
  • fixed a bug in Uploads
  • fixed regex in WordPress Importer Dropin

❗ DB FIX ❗

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.

leafpub - Leafpub 1.1.0-beta2

Published by karsasmus over 7 years ago

🎉 Leafpub 1.1.0-beta2 🎉

Updating

Replace index.php and source/

Updating the database

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;

Notable changes

  • [enh] Media management
    • new menu item
    • overview of existing media files
    • generate tags
    • auto-generate thumbnails
    • insert an image into a post via media manager
    • save image to post relations

❗ ATTENTION ❗

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.

leafpub - Leafpub 1.1.0-beta1

Published by karsasmus almost 8 years ago

✨ Leafpub 1.1.0-beta1 ✨

Updating

Replace index.php and source/ and add folder 'content/plugins' to update.

Updating the database

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;

Notable changes

  • [enh] Event System
  • [enh] Plugin System
  • [enh] Mailer Interface
  • [enh] first Plugin (SwiftMailer)