Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Merge branch 'dev' into feature/15339-share-project-calendars-using-the-icalendar-format

jjabari-op9e26b4791af5
diff --cc app/controllers/my_controller.rb
index f58d71a2488,0de84fa887e..229a0acf617
--- a/app/controllers/my_controller.rb
+++ b/app/controllers/my_controller.rb
@@@ -179,9 -165,24 +175,24 @@@ class MyController < ApplicationControl
helper_method :has_tokens?
def has_tokens?
- Setting.feeds_enabled? || Setting.rest_api_enabled?
+ Setting.feeds_enabled? || Setting.rest_api_enabled? || Token::Ical.where(user: current_user).any?
end
+ def user_params
+ permitted_params.my_account_settings.to_h
+ end
+
+ def notice_account_updated
+ OpenProject::LocaleHelper.with_locale_for(current_user) do
+ t(:notice_account_updated)
+ end
+ end
+
+ def error_account_update_failed(result)
+ errors = result ? result.errors.full_messages.join("\n") : ''
+ [t(:notice_account_update_failed), errors]
+ end
+
def set_current_user
@user = current_user
end
diff --cc config/locales/js-en.yml
index 8c614feb4e9,7a706e5f703..11cdb51bd31
--- a/config/locales/js-en.yml
+++ b/config/locales/js-en.yml
@@@ -345,20 -349,13 +349,21 @@@ en
new_features_html: >
The release contains various new features and improvements: <br>
<ul class="%{list_styling_class}">
- <li>Activate notification date alerts for upcoming dates and overdue tasks.</li>
- <li>We release two-factor authentication (2FA) for the Community edition.</li>
- <li>The work week display option is now also added to the team planner.</li>
- <li>List up to 3 people in a notification card when multiple people were involved in the changes.</li>
+ <li>Upload and link files from work packages to your Nextcloud file storage.</li>
+ <li>Follow-up on project changes with project activity tracking.</li>
+ <li>Add instance-wide public holidays (non-working days).</li>
+ <li>Archive projects by non admins.</li>
+ <li>New default filter for overdue work packages.</li>
</ul>
+ ical_sharing_modal:
+ title: "Share iCalendar"
+ description_1: "You can use the"
+ description_2: "to import or subscribe to this calendar in an external client and view up-to-date work package information from there."
+ warning: "You can also share this URL with external users. However, anyone with this link will be able to view work package details without an account or password."
+ copy_url_label: "Copy URL"
+ copy_url_success_text: "URL copied to clipboard"
+
label_activate: "Activate"
label_assignee: 'Assignee'
label_add_column_after: "Add column after"
@@@ -1155,11 -1151,10 +1159,11 @@@
hide_hierarchy: "Hide hierarchy"
hide_sums: "Hide sums"
save: "Save"
- save_as: "Save as ..."
- export: "Export ..."
- visibility_settings: "Visibility settings ..."
- share_calendar: "Share iCalendar ..."
- page_settings: "Rename view ..."
+ save_as: "Save as"
+ export: "Export"
+ visibility_settings: "Visibility settings"
++ share_calendar: "Share iCalendar"
+ page_settings: "Rename view"
delete: "Delete"
filter: "Filter"
unselected_title: "Work package"