issue #446 apps usability - disable app if attached to a plugin that is uninstalled, allow system apps to be soft deleted and undeleted from the edit pane.

This commit is contained in:
zotlabs
2016-12-14 19:11:01 -08:00
parent 63efbdffe6
commit bae28965ab
9 changed files with 90 additions and 33 deletions

View File

@@ -114,7 +114,7 @@ CREATE TABLE IF NOT EXISTS `app` (
`app_sig` char(255) NOT NULL DEFAULT '',
`app_author` char(255) NOT NULL DEFAULT '',
`app_name` char(255) NOT NULL DEFAULT '',
`app_desc` text NOT NULL,
`app_desc` text NOT NULL DEFAULT '',
`app_url` char(255) NOT NULL DEFAULT '',
`app_photo` char(255) NOT NULL DEFAULT '',
`app_version` char(255) NOT NULL DEFAULT '',
@@ -125,6 +125,7 @@ CREATE TABLE IF NOT EXISTS `app` (
`app_requires` char(255) NOT NULL DEFAULT '',
`app_deleted` int(11) NOT NULL DEFAULT '0',
`app_system` int(11) NOT NULL DEFAULT '0',
`app_plugin` char(255) NOT NULL DEFAULT '',
`app_created` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
`app_edited` datetime NOT NULL DEFAULT '0001-01-01 00:00:00',
PRIMARY KEY (`id`),