[Rt-commit] rt branch, 4.6/lifecycle-ui-dev, repushed
Craig Kaiser
craig at bestpractical.com
Fri Jan 3 06:38:31 EST 2020
The branch 4.6/lifecycle-ui-dev was deleted and repushed:
was 57c331ec200fc7a782f3e81c11fbb645f1c97d41
now 71fc5bebba46d57fb502d070fc89ef0b17009c0e
1: 57c331ec20 ! 1: 71fc5bebba Core lifecycle-UI
@@ -1,6 +1,6 @@
Author: Craig Kaiser <craig at bestpractical.com>
- Lifecycle-UI
+ Core lifecycle-UI
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
--- a/lib/RT/Interface/Web.pm
@@ -388,6 +388,38 @@
+}
+
1;
+
+diff --git a/lib/RT/System.pm b/lib/RT/System.pm
+--- a/lib/RT/System.pm
++++ b/lib/RT/System.pm
+@@
+ }
+ }
+
++=head2 LifecycleCacheNeedsUpdate ( 1 )
++
++Attribute to decide when we need to flush the list of lifecycles
++and re-register any changes. This is needed for the lifecycle UI editor.
++
++If passed a true value, will update the attribute to be the current time.
++
++=cut
++
++sub LifecycleCacheNeedsUpdate {
++ my $self = shift;
++ my $update = shift;
++
++ if ($update) {
++ return $self->SetAttribute(Name => 'LifecycleCacheNeedsUpdate', Content => time);
++ } else {
++ my $cache = $self->FirstAttribute('LifecycleCacheNeedsUpdate');
++ return (defined $cache ? $cache->Content : 0 );
++ }
++}
++
+ =head2 AddUpgradeHistory package, data
+
+ Adds an entry to the upgrade history database. The package can be either C<RT>
diff --git a/share/html/Admin/Lifecycles/Create.html b/share/html/Admin/Lifecycles/Create.html
new file mode 100644
@@ -1308,11 +1340,76 @@
--- a/share/static/css/elevator-light/main.css
+++ b/share/static/css/elevator-light/main.css
@@
+ @import "ticket-lists.css";
@import "ticket-search.css";
@import "print.css";
- @import "ckeditor5.css";
-+
+ at import "lifecycleui.css";
+
+diff --git a/share/static/css/elevator-light/main.css.orig b/share/static/css/elevator-light/main.css.orig
+new file mode 100644
+--- /dev/null
++++ b/share/static/css/elevator-light/main.css.orig
+@@
++ at import "inter.css";
++ at import "jquery-ui.css";
++ at import "jquery-ui-timepicker-addon.css";
++ at import "superfish.css";
++ at import "superfish-navbar.css";
++ at import "superfish-vertical.css";
++ at import "tablesorter.css";
++ at import "farbtastic.css";
++ at import "bootstrap.css";
++ at import "bootstrap-select.css";
++ at import "bootstrap-combobox.css";
++ at import "dropzone.css";
++ at import "dropzone.customized.css";
++
++ at import "base.css";
++ at import "collection.css";
++ at import "forms.css";
++ at import "misc.css";
++ at import "nav.css";
++ at import "ticket-form.css";
++ at import "rights-editor.css";
++ at import "theme-editor.css";
++ at import "ticket.css";
++ at import "accordion.css";
++ at import "record.css";
++ at import "admin.css";
++ at import "articles.css";
++ at import "assets.css";
++ at import "portlets.css";
++ at import "login.css";
++ at import "history-folding.css";
++ at import "history.css";
++ at import "charts.css";
++ at import "chosen.css";
++ at import "ticket-timer.css";
++ at import "keyboard-shortcuts.css";
++ at import "shredder.css";
++ at import "layout.css";
++ at import "boxes.css";
++ at import "dashboards.css";
++ at import "ticket-lists.css";
++ at import "ticket-search.css";
++ at import "print.css";
+
+diff --git a/share/static/css/elevator-light/main.css.rej b/share/static/css/elevator-light/main.css.rej
+new file mode 100644
+--- /dev/null
++++ b/share/static/css/elevator-light/main.css.rej
+@@
++***************
++*** 42,44 ****
++ @import "ticket-search.css";
++ @import "print.css";
++ @import "ckeditor5.css";
++--- 42,46 ----
++ @import "ticket-search.css";
++ @import "print.css";
++ @import "ckeditor5.css";
+++
+++ @import "lifecycleui.css";
diff --git a/share/static/js/d3.min.js b/share/static/js/d3.min.js
new file mode 100644
More information about the rt-commit
mailing list