|
|
@@ -29,7 +29,8 @@ CREATE TABLE IF NOT EXISTS `bx_tasks_tasks` (
|
|
|
`reports` int(11) NOT NULL default '0',
|
|
|
`featured` int(11) NOT NULL default '0',
|
|
|
`due_date` int(11) NOT NULL,
|
|
|
- `tasks_list` int(11) NOT NULL,
|
|
|
+ `tasks_list` int(11) NOT NULL,
|
|
|
+ `github_issue` int(11) NOT NULL default '0',
|
|
|
`completed` tinyint(4) NOT NULL DEFAULT '0',
|
|
|
`expired` tinyint(4) NOT NULL DEFAULT '0',
|
|
|
`cf` int(11) NOT NULL default '1',
|
|
|
@@ -52,7 +53,8 @@ CREATE TABLE IF NOT EXISTS `bx_tasks_lists` (
|
|
|
-- TABLE: contexts
|
|
|
CREATE TABLE IF NOT EXISTS `bx_tasks_contexts` (
|
|
|
`id` int(11) NOT NULL DEFAULT '0',
|
|
|
- `repository` varchar(255) NOT NULL,
|
|
|
+ `gh_username` varchar(64) NOT NULL DEFAULT '',
|
|
|
+ `gh_repository` varchar(255) NOT NULL DEFAULT '',
|
|
|
PRIMARY KEY (`id`)
|
|
|
);
|
|
|
|
|
|
@@ -587,16 +589,18 @@ INSERT INTO `sys_form_displays` (`display_name`, `module`, `object`, `title`, `v
|
|
|
('bx_tasks_context_edit', 'bx_tasks', 'bx_tasks_context', '_bx_tasks_form_display_context_edit', 0);
|
|
|
|
|
|
INSERT INTO `sys_form_inputs` (`object`, `module`, `name`, `value`, `values`, `checked`, `type`, `caption_system`, `caption`, `info`, `required`, `collapsed`, `html`, `attrs`, `attrs_tr`, `attrs_wrapper`, `checker_func`, `checker_params`, `checker_error`, `db_pass`, `db_params`, `editable`, `deletable`) VALUES
|
|
|
-('bx_tasks_context', 'bx_tasks', 'repository', '', '', 0, 'text', '_bx_tasks_form_context_input_sys_repository', '_bx_tasks_form_context_input_repository', '', 0, 0, 0, '', '', '', '', '', '', 'Xss', '', 0, 0),
|
|
|
+('bx_tasks_context', 'bx_tasks', 'gh_username', '', '', 0, 'text', '_bx_tasks_form_context_input_sys_gh_username', '_bx_tasks_form_context_input_gh_username', '', 0, 0, 0, '', '', '', '', '', '', 'Xss', '', 0, 0),
|
|
|
+('bx_tasks_context', 'bx_tasks', 'gh_repository', '', '', 0, 'text', '_bx_tasks_form_context_input_sys_gh_repository', '_bx_tasks_form_context_input_gh_repository', '', 0, 0, 0, '', '', '', '', '', '', 'Xss', '', 0, 0),
|
|
|
('bx_tasks_context', 'bx_tasks', 'do_submit', '_bx_tasks_form_context_input_do_submit', '', 0, 'submit', '_bx_tasks_form_context_input_sys_do_submit', '', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0),
|
|
|
('bx_tasks_context', 'bx_tasks', 'do_cancel', '_bx_tasks_form_context_input_do_cancel', '', 0, 'button', '_bx_tasks_form_context_input_sys_do_cancel', '', '', 0, 0, 0, 'a:2:{s:7:"onclick";s:45:"$(''.bx-popup-applied:visible'').dolPopupHide()";s:5:"class";s:22:"bx-def-margin-sec-left";}', '', '', '', '', '', '', '', 1, 0),
|
|
|
('bx_tasks_context', 'bx_tasks', 'controls', '', 'do_submit,do_cancel', 0, 'input_set', '_bx_tasks_form_context_input_sys_controls', '', '', 0, 0, 0, '', '', '', '', '', '', '', '', 1, 0);
|
|
|
|
|
|
INSERT INTO `sys_form_display_inputs` (`display_name`, `input_name`, `visible_for_levels`, `active`, `order`) VALUES
|
|
|
-('bx_tasks_context_edit', 'repository', 2147483647, 1, 1),
|
|
|
-('bx_tasks_context_edit', 'controls', 2147483647, 1, 2),
|
|
|
-('bx_tasks_context_edit', 'do_submit', 2147483647, 1, 3),
|
|
|
-('bx_tasks_context_edit', 'do_cancel', 2147483647, 1, 4);
|
|
|
+('bx_tasks_context_edit', 'gh_username', 2147483647, 1, 1),
|
|
|
+('bx_tasks_context_edit', 'gh_repository', 2147483647, 1, 2),
|
|
|
+('bx_tasks_context_edit', 'controls', 2147483647, 1, 3),
|
|
|
+('bx_tasks_context_edit', 'do_submit', 2147483647, 1, 4),
|
|
|
+('bx_tasks_context_edit', 'do_cancel', 2147483647, 1, 5);
|
|
|
|
|
|
-- FORMS: time
|
|
|
INSERT INTO `sys_objects_form` (`object`, `module`, `title`, `action`, `form_attrs`, `submit_name`, `table`, `key`, `uri`, `uri_title`, `params`, `deletable`, `active`, `override_class_name`, `override_class_file`) VALUES
|