diff --git a/app/assets/javascripts/my_page.js b/app/assets/javascripts/my_page.js
deleted file mode 100644
index aff02b0a02..0000000000
--- a/app/assets/javascripts/my_page.js
+++ /dev/null
@@ -1,139 +0,0 @@
-//-- copyright
-// OpenProject is a project management system.
-// Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License version 3.
-//
-// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-// Copyright (C) 2006-2017 Jean-Philippe Lang
-// Copyright (C) 2010-2013 the ChiliProject Team
-//
-// This program is free software; you can redistribute it and/or
-// modify it under the terms of the GNU General Public License
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software
-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-// See docs/COPYRIGHT.rdoc for more details.
-//++
-
-jQuery(document).ready(function($) {
-
- // Add block
- $('.my-page--block-form').submit(function (evt) {
- var form = $(this);
- var block = $('#block-options').val();
- evt.preventDefault();
-
- jQuery
- .ajax(
- {
- url: form.attr('action'),
- type: 'POST',
- dataType: 'html',
- data: {
- block: block
- }
- })
- .fail(function(error, text) {
- jQuery(window).trigger(
- 'op:notifications:add',
- {
- type: 'error',
- message: I18n.t('js.error.cannot_save_changes_with_message', { error: _.get(error, 'responseText', 'Internal error') })
- }
- );
- })
- .done(function(response) {
- // Add partial to the top container.
- jQuery("#top").prepend(response);
-
- // Revert options selection back to the default one.
- jQuery('#block-options option').first().prop('selected', true);
-
- // Disable the option for this block in the blocks-to-add-to-page dropdown.
- jQuery('#block-options option[value="' + block + '"]').attr("disabled", "true");
- });
-
- return false;
- });
-
- // Remove block
- $('.my-page--container')
- .on('click', '.my-page--remove-block', function (evt) {
- evt.preventDefault();
-
- var link = $(this);
- var block = link.data('name');
- var dasherized = link.data('dasherized');
-
- jQuery
- .ajax(
- {
- url: link.attr('href'),
- type: 'POST',
- dataType: 'html',
- data: {
- block: block
- }
- })
- .fail(function(error) {
- jQuery(window).trigger(
- 'op:notifications:add',
- {
- type: 'error',
- message: I18n.t('js.error.cannot_save_changes_with_message', { error: _.get(error, 'responseText', 'Internal error') })
- }
- );
- })
- .done(function() {
- jQuery("#block-" + dasherized).remove();
- // Enable the option for this block in the blocks-to-add-to-page dropdown.
- jQuery('#block-options option[value="' + block + '"]').removeAttr("disabled");
- });
-
- return false;
- });
-
- // Canonical list of containers that will exchange draggable elements.
- var containers = jQuery('.dragula-container').toArray();
- var drake = dragula(containers);
-
- // On 'el' drop, we fire an Ajax request to persist the order chosen by
- // the user. Actual ordering details are handled on the server.
- drake.on('drop', function(el, target, source, sibling){
- var url = window.gon.my_order_blocks_url;
-
- // Array of target ordered children after this drop.
- var target_ordered_children = jQuery(target).find('.block-wrapper').map(function(){
- return jQuery(this).data('name');
- }).get();
-
- // Array of source ordered children after this drop.
- var source_ordered_children = jQuery(source).find('.block-wrapper').map(function(){
- return jQuery(this).data('name');
- }).get();
-
- // We send the source, target, and the new order of the children in both
- // containers to the server.
- jQuery.ajax({
- url: url,
- type: 'POST',
- data: {
- target: jQuery(target).attr('id'),
- source: jQuery(source).attr('id'),
- target_ordered_children: target_ordered_children,
- source_ordered_children: source_ordered_children
- }
- });
- });
-});
diff --git a/app/views/my/_block.html.erb b/app/views/my/_block.html.erb
deleted file mode 100644
index 2d7c01612e..0000000000
--- a/app/views/my/_block.html.erb
+++ /dev/null
@@ -1,46 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-
-
- <% content_for "#{block_name}-remove-block" do %>
-
- <% end %>
- <% end %>
-<% end %>
diff --git a/app/views/my/add_block.html.erb b/app/views/my/add_block.html.erb
deleted file mode 100644
index 26806015a2..0000000000
--- a/app/views/my/add_block.html.erb
+++ /dev/null
@@ -1,4 +0,0 @@
-<%= render partial: 'block',
- locals: { user: @user,
- block_name: @block
- } %>
diff --git a/app/views/my/blocks/_calendar.html.erb b/app/views/my/blocks/_calendar.html.erb
deleted file mode 100644
index 9609d7bd20..0000000000
--- a/app/views/my/blocks/_calendar.html.erb
+++ /dev/null
@@ -1,45 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-<% else %>
- <%= render partial: 'work_packages/me_list_simple', locals: { user_filter: user_filter } %>
-<% end %>
diff --git a/app/views/my/blocks/_issuesassignedtome.html.erb b/app/views/my/blocks/_issuesassignedtome.html.erb
deleted file mode 100644
index 54f4dbdfe6..0000000000
--- a/app/views/my/blocks/_issuesassignedtome.html.erb
+++ /dev/null
@@ -1,46 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-
-<%= render partial: 'my/blocks/embedded_work_package_table',
- locals: { edit: edit, user_filter: :assignee } %>
-
-<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom,
- work_packages_assigned_to_me_path({format: 'atom', key: User.current.rss_key}),
- {title: l(:label_assigned_to_me_work_packages)}) %>
-<% end %>
diff --git a/app/views/my/blocks/_issuesreportedbyme.html.erb b/app/views/my/blocks/_issuesreportedbyme.html.erb
deleted file mode 100644
index aa2fc09f2a..0000000000
--- a/app/views/my/blocks/_issuesreportedbyme.html.erb
+++ /dev/null
@@ -1,46 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-
-<%= render partial: 'my/blocks/embedded_work_package_table',
- locals: { edit: edit, user_filter: :author } %>
-
-<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom,
- work_packages_reported_by_me_path({format: 'atom', key: User.current.rss_key}),
- {title: l(:label_reported_work_packages)}) %>
-<% end %>
diff --git a/app/views/my/blocks/_issueswatched.html.erb b/app/views/my/blocks/_issueswatched.html.erb
deleted file mode 100644
index 7dd0a046b4..0000000000
--- a/app/views/my/blocks/_issueswatched.html.erb
+++ /dev/null
@@ -1,39 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-
-<%= render partial: 'my/blocks/embedded_work_package_table',
- locals: { edit: edit, user_filter: :watcher } %>
diff --git a/app/views/my/blocks/_news.html.erb b/app/views/my/blocks/_news.html.erb
deleted file mode 100644
index 256dfd6c46..0000000000
--- a/app/views/my/blocks/_news.html.erb
+++ /dev/null
@@ -1,63 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-<% news = News.limit(10)
- .order("#{News.table_name}.created_on DESC")
- .where("#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})")
- .includes(:project, :author) unless @user.projects.empty? %>
-
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-<% end %>
diff --git a/app/views/my/blocks/_timelog.html.erb b/app/views/my/blocks/_timelog.html.erb
deleted file mode 100644
index 2964e31736..0000000000
--- a/app/views/my/blocks/_timelog.html.erb
+++ /dev/null
@@ -1,142 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-<% end %>
diff --git a/app/views/my/blocks/_workpackagesresponsiblefor.html.erb b/app/views/my/blocks/_workpackagesresponsiblefor.html.erb
deleted file mode 100644
index 5b5b4a9bba..0000000000
--- a/app/views/my/blocks/_workpackagesresponsiblefor.html.erb
+++ /dev/null
@@ -1,45 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-<% if defined? block_name %>
- <%= content_for "#{block_name}-remove-block" %>
-<% end %>
-
-
-
-<%= render partial: 'my/blocks/embedded_work_package_table',
- locals: { edit: edit, user_filter: :responsible } %>
-
-<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom,
- work_packages_responsible_for_path({format: 'atom', key: User.current.rss_key}),
- {title: l(:label_responsible_for_work_packages)}) %>
-<% end %>
diff --git a/app/views/my/page_layout.html.erb b/app/views/my/page_layout.html.erb
deleted file mode 100644
index 8080d9e4f9..0000000000
--- a/app/views/my/page_layout.html.erb
+++ /dev/null
@@ -1,69 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-<%= javascript_include_tag 'my_page' %>
-<%= include_gon(nonce: content_security_policy_nonce(:script)) %>
-
-<%= toolbar title: l(:label_my_page) do %>
- <%= styled_form_tag({ action: "add_block" }, class: 'my-page--block-form') do %>
- <% options = ""
- .html_safe
- .concat(options_for_select(@block_options)) %>
-
-
-
-<% html_title(l(:label_my_page)) -%>
diff --git a/app/views/work_packages/_me_list_simple.html.erb b/app/views/work_packages/_me_list_simple.html.erb
deleted file mode 100644
index ad3d408307..0000000000
--- a/app/views/work_packages/_me_list_simple.html.erb
+++ /dev/null
@@ -1,46 +0,0 @@
-<%#-- copyright
-OpenProject is a project management system.
-Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License version 3.
-
-OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-Copyright (C) 2006-2017 Jean-Philippe Lang
-Copyright (C) 2010-2013 the ChiliProject Team
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-See docs/COPYRIGHT.rdoc for more details.
-
-++#%>
-
-<%
- query_properties = {
- 'columns[]': %w(id project type subject),
- filters:
- JSON.dump([{ user_filter => { operator: '=', values: ['me'] } }, { status: { operator: 'o', values: []}}]).to_s
- }
-
- configuration = {
- actionsColumnEnabled: false,
- columnMenuEnabled: false,
- contextMenuEnabled: false
- }
-%>
-
-
-
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
index dcb9b4f9bf..a77d305f36 100644
--- a/config/initializers/assets.rb
+++ b/config/initializers/assets.rb
@@ -8,14 +8,12 @@ OpenProject::Application.configure do
accessibility.js
admin_users.js
autocompleter.js
- calendar/lang/*.js
copy_issue_actions.js
date-de-DE.js
date-en-US.js
locales/*.js
members_form.js
members_select_boxes.js
- my_page.js
new_user.js
project/responsible_attribute.js
project/description_handling.js
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 46a93b2fc5..3a5cfc188b 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -736,7 +736,6 @@ en:
button_print: "Print"
button_quote: "Quote"
button_remove: Remove
- button_remove_widget: "Remove widget"
button_rename: "Rename"
button_replace: "Replace"
button_reply: "Reply"
@@ -1649,7 +1648,6 @@ en:
label_keyboard_shortcut_go_preview: "Go to preview the current edit (on edit pages only)"
label_keyboard_shortcut_focus_previous_item: "Focus previous list element (on some lists only)"
label_keyboard_shortcut_focus_next_item: "Focus next list element (on some lists only)"
- label_visible_elements: Visible elements
auth_source:
using_abstract_auth_source: "Can't use an abstract authentication source."