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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
baseline api: add timestamps to cache key
Sebastian Fiedlschusteracb05262d1d2
diff --git a/lib/api/v3/work_packages/work_package_representer.rb b/lib/api/v3/work_packages/work_package_representer.rbindex 2246f6d2fe6..095961688f7 100644--- a/lib/api/v3/work_packages/work_package_representer.rb+++ b/lib/api/v3/work_packages/work_package_representer.rb@@ -354,6 +354,8 @@ module API'timestamp': timestamps.last.to_s}}+ },+ uncacheable: trueproperty :id,render_nil: true@@ -501,7 +503,7 @@ module APIattrsend,embedded: true,- uncachable: true+ uncacheable: trueproperty :attributes_by_timestamp,as: :attributesByTimestamp,@@ -530,7 +532,7 @@ module APIendend,embedded: true,- uncachable: true+ uncacheable: trueassociated_resource :category@@ -736,6 +738,7 @@ module APII18n.locale,json_key_representer_parts,represented.cache_checksum,+ timestamps,Setting.work_package_done_ratio,Setting.feeds_enabled?]end