Commit Graph

499 Commits

Author SHA1 Message Date
Alexander Meindl
421d1efa9b Force query selection for dashboards not to use descendants 2020-09-27 10:52:02 +02:00
Alexander Meindl
4a81bdefa4 Fix context_menu actions in dashboard query lists 2020-09-27 07:44:14 +02:00
Alexander Meindl
2e3ee658d0 provide grouped_name_for 2020-09-25 15:16:03 +02:00
Alexander Meindl
ec76c85044 Journal helper extentions 2020-09-25 10:42:03 +02:00
Alexander Meindl
f71f0059f4 Fix dashboard error, if custom query fields are defined and query has been deleted 2020-09-24 08:47:52 +02:00
Alexander Meindl
d744711450 Sql cleanups 2020-09-22 10:58:48 +02:00
Alexander Meindl
19e42a0dc4 Add external class to project homepage and remove external for attachments 2020-09-21 17:11:17 +02:00
Alexander Meindl
3ffe0e19ca Fix coding standard 2020-09-18 06:53:53 +02:00
Alexander Meindl
40ed393a08 Only load contact hook, if missing 2020-09-17 11:11:17 +02:00
Alexander Meindl
4e07606e42 provide contacts/_form hook 2020-09-17 11:07:48 +02:00
Alexander Meindl
fe6f239564 Plugin.installed? instead of db field 2020-09-17 07:22:08 +02:00
Alexander Meindl
058e171a53 Log on info for unknown block and do not load user hooks, if hrm is installed 2020-09-16 20:44:14 +02:00
Alexander Meindl
8aa14af0a8 Fix dashboard name in sidebar 2020-09-06 17:31:10 +02:00
Alexander Meindl
ed9e68a72c Drop wiki and footer header, which required RedCloth3::ALLOWED_TAGS div 2020-09-05 17:12:04 +02:00
Alexander Meindl
6c05e81aac Updated javascript libraries, strings for copy-to-clipboard has been added 2020-09-04 18:16:36 +02:00
Alexander Meindl
1b08f9869b refactore gototop 2020-09-02 14:52:32 +02:00
Alexander Meindl
80b5b9b80a Fix conding standards 2020-09-02 14:26:28 +02:00
Alexander Meindl
22dddfdca4 custom items are never subitems 2020-09-02 13:40:05 +02:00
Alexander Meindl
fabe62a166 Fix top menu submenu, which conflicted with existing js 2020-09-02 13:19:59 +02:00
Alexander Meindl
bd408ed849 Fix top menu submenu, which conflicted with existing js 2020-09-02 13:18:05 +02:00
Alexander Meindl
b075c8ceab Fix coding standards 2020-09-01 10:28:04 +02:00
Alexander Meindl
ba0d3dcfb6 Fix top menu with submenu for better support with other plugins and custom themes 2020-09-01 09:15:02 +02:00
Alexander Meindl
a2224d7432 Do not show private dashboards, if user has no permission to save dashboards 2020-08-29 15:56:30 +02:00
Alexander Meindl
09a9acb97b Add info for project configuration in dashboard and sort strings 2020-08-28 07:44:48 +02:00
Alexander Meindl
e168f5dbfe do not allow to set project on project system default dashboard #82 2020-08-25 06:29:39 +02:00
Alexander Meindl
fbaa8af970 Adjust deface checksum 2020-08-23 14:03:30 +02:00
Alexander Meindl
aaddaf2094 Fix project information with empty custom fields 2020-08-23 10:50:46 +02:00
Alexander Meindl
0f35a4efca do not show project information block without information 2020-08-23 10:31:23 +02:00
Alexander Meindl
8e45991b9f working on export options 2020-08-19 11:17:17 +02:00
Alexander Meindl
9ca9ac5315 option for disable columns for export 2020-08-19 10:32:06 +02:00
Alexander Meindl
4a0eef61ec Fix tooltips for dashboard block after update 2020-08-10 19:37:41 +02:00
Alexander Meindl
f8fbcc7806 use log_time permission instead of view_time_entries to show dashboard block my_spent_time 2020-08-10 18:49:48 +02:00
Alexander Meindl
7b15151ab5 use number feld for days 2020-08-10 18:42:26 +02:00
Alexander Meindl
8605261171 Add my spent time block 2020-08-10 18:28:52 +02:00
Alexander Meindl
9bff56e0dc increase cache for feeds and optimize unique_params 2020-08-10 16:19:03 +02:00
Alexander Meindl
dd59c06f28 Fixing coding standards 2020-08-09 12:51:01 +02:00
Alexander Meindl
cc26243a64 More code cleanups 2020-08-09 10:11:52 +02:00
Alexander Meindl
39ee9e4805 Drop some not required brakets 2020-08-08 18:44:40 +02:00
Alexander Meindl
98d8a148de Code cleanups 2020-08-08 17:53:49 +02:00
Alexander Meindl
89fb57f078 Fix syntax error 2020-08-08 12:19:01 +02:00
Alexander Meindl
7da3d5d1a9 Fixing coding standards 2020-08-08 12:13:03 +02:00
Alexander Meindl
400ac2f2f8 Do not allow disable system_default at current system default dashboard 2020-08-07 20:55:50 +02:00
Alexander Meindl
8969158111 do not check visible for query settings 2020-08-07 20:03:16 +02:00
Alexander Meindl
5116eb36f3 Fix form for dashboards and roles 2020-08-07 18:24:23 +02:00
Alexander Meindl
9530005860 Fix dashboard visibility. An author of a dashboard can always view his dashboard 2020-08-07 18:10:18 +02:00
Alexander Meindl
bab0a776d6 Rubocop fixes 2020-08-06 08:18:30 +02:00
Alexander Meindl
1ed492f35f do not allow use of recently used dashboard without permission 2020-08-05 18:18:23 +02:00
Alexander Meindl
aa08c8df42 Fix settings if block is used multiple times on some dashboard 2020-08-04 20:14:19 +02:00
Alexander Meindl
7c63863a87 Increase max blocks to 8 2020-08-04 19:09:18 +02:00
Alexander Meindl
268dd31df9 Some refactoring of User.with_permission 2020-08-03 17:02:04 +02:00
Alexander Meindl
6d0a6ae54e First draft of author scope for dashboards and refactoring of users_by_role 2020-08-03 15:08:33 +02:00
Alexander Meindl
4c1951e79e Do not show expose_always, if set_system_default is not viewable 2020-08-01 19:04:59 +02:00
Alexander Meindl
bfd4a9796e Take care of rare case, if someone owns a system dashboard without set_system_default 2020-08-01 17:30:10 +02:00
Alexander Meindl
597012e285 Remove membersbox class on project overview and fix news scope for welcome page 2020-08-01 16:48:03 +02:00
Alexander Meindl
05145687a9 Correct settings for a dashboard with permission set_system_dashboards or manage_shared_dashboards 2020-08-01 15:26:20 +02:00
Alexander Meindl
d87938fdd5 #6184 show sidebar for all users, before "add dashboards" permission was required to view sidebar 2020-07-31 17:46:57 +02:00
Alexander Meindl
832fd537af Do not show all users for author selection on dashboards 2020-07-31 15:56:52 +02:00
Alexander Meindl
e32b224869 Fix problem with system default dashboard in project, if projects should be deleted 2020-07-31 08:35:08 +02:00
Alexander Meindl
6c14692107 introduce CustomField scope 2020-07-30 20:59:04 +02:00
Alexander Meindl
3e567d0d22 Working on brakeman issues and travis work 2020-07-30 14:41:44 +02:00
Alexander Meindl
fe4fea2f8a Dashboard scope fix 2020-07-29 19:51:17 +02:00
Alexander Meindl
75a778f044 Fix news block for redmine_wysiwyg_editor 2020-07-29 18:48:25 +02:00
Alexander Meindl
4e413dc68f Provide project info for lambda 2020-07-29 18:36:20 +02:00
Alexander Meindl
09e18afafc add rescue for invalid dashboard block 2020-07-29 16:20:42 +02:00
Alexander Meindl
a1c3b083ac Support other plugins with @query in query lists 2020-07-29 06:22:20 +02:00
Alexander Meindl
9f8a0de16d Fix project assign for dashboards 2020-07-28 21:35:10 +02:00
Alexander Meindl
191ad8a239 Fix project scope for query lists 2020-07-28 19:38:53 +02:00
Alexander Meindl
adb2a16dbd Fix brakeman warning 2020-07-28 19:09:34 +02:00
Alexander Meindl
af05a6a255 Fix sort order in dashboard query liss 2020-07-28 18:15:13 +02:00
Alexander Meindl
c313cb3010 Fix news for projects and make news dashboard compatible with redmine_wysiwyg_editor 2020-07-28 10:42:45 +02:00
Alexander Meindl
d16a6be1b8 Fix query list columns for lists without projects 2020-07-27 21:28:12 +02:00
Alexander Meindl
367c9601e4 Fix query list columns 2020-07-27 21:11:52 +02:00
Alexander Meindl
03c7e385f0 Fix caching for query_list 2020-07-27 20:35:45 +02:00
Alexander Meindl
e7b28fb991 Fix coding standards 2020-07-27 11:39:17 +02:00
Alexander Meindl
714e1b3f91 First draft of dashboard integration 2020-07-27 10:49:23 +02:00
Alexander Meindl
7755e10c60 provide relation_detail for journal entities 2020-06-22 10:29:39 +02:00
Alexander Meindl
55d17b717a Provide journals helper 2020-06-22 10:12:32 +02:00
Alexander Meindl
45007eb316 Switch back from session[:session_id] to session.id, because rack fixed bug for it, see https://github.com/rack/rack/blob/master/CHANGELOG.md#220---2020-02-08 2020-05-20 17:07:35 +02:00
Alexander Meindl
e6c1072fe7 Provide prefix filter method for queries 2020-05-12 10:50:50 +02:00
Alexander Meindl
9c134bc3fc Use calculated cols for admin textareas 2020-05-07 14:41:37 +02:00
Alexander Meindl
3539292e6e Provide helper for custom field types to overwrite text format settings 2020-05-05 21:03:33 +02:00
Alexander Meindl
6c86a3fe7d Provide preload method for last_notes 2020-05-05 15:25:23 +02:00
Alexander Meindl
5986fa05f7 Use block columns to detect exportable columns for hidden fields 2020-05-05 08:06:12 +02:00
Alexander Meindl
c4080f5bd2 last_notes support for export template 2020-05-05 07:29:15 +02:00
Alexander Meindl
4c072e0b5f Another solution for css problem with https://www.redmine.org/issues/33339 2020-04-27 06:53:26 +02:00
Alexander Meindl
a5e6cca15b Hotfix for bug with plugin settings with https://www.redmine.org/issues/33339 2020-04-26 13:01:14 +02:00
Alexander Meindl
0980eb7434 Ruby 2.4 or higher is required 2020-04-16 13:00:07 +02:00
Alexander Meindl
63250211f1 Fix link to correct redmine version for changelog and d3 update 2020-04-08 07:55:04 +02:00
Alexander Meindl
18da7b6664 Merge branch 'master' of git.alphanodes.com:additionals 2020-03-21 10:48:52 +01:00
Alexander Meindl
8bab29678a visible support for additionals_select2_search_users 2020-03-21 10:48:46 +01:00
Alexander Meindl
0fe20a538e Fix problem with invisible_captcha 2020-03-20 10:56:26 +01:00
Alexander Meindl
ad3772bd90 remove old checks for Redmine 3.4 (which is not supported anymore 2020-03-18 18:41:56 +01:00
Alexander Meindl
a41fb19070 remove logic from additionals_group_view 2020-03-17 12:58:17 +01:00
Alexander Meindl
4d12e658e9 Fix query 2020-03-16 15:08:22 +01:00
Alexander Meindl
6bd48a98b5 activerecord abstraction 2020-03-16 14:50:37 +01:00
Alexander Meindl
1eab71c283 improved routing for auto_complete 2020-03-09 19:57:22 +01:00
Alexander Meindl
7f0847f2da Fix deface hash for welcome/redmine 4.1 2020-02-01 18:32:25 +01:00
Alexander Meindl
2122df1201 Fix deface hash for redmine 4.1 2020-02-01 18:18:23 +01:00
Alexander Meindl
210f898d3a Provide relation validation method and sort translations 2020-01-23 15:15:12 +01:00
Alexander Meindl
aed85b0065 Allow admin to copy, archive and delete project from project overview 2020-01-19 08:41:55 +01:00
Alexander Meindl
9023009454 Provide mermaid converter for fontawesome icons 2020-01-18 17:45:04 +01:00
Alexander Meindl
e1d87d9de9 Provide group name view template and fix translation string name for invalid fontaweome icon 2020-01-04 12:25:39 +01:00
Alexander Meindl
213e865bc8 Cleanup and refactoring additionls hooks 2020-01-01 10:35:56 +01:00
Alexander Meindl
17a7964463 Working on fontawesome ajax loader 2019-12-30 16:09:04 +01:00
Alexander Meindl
aeeecedd88 Fix project overview page for Redmine 4.1 2019-12-28 14:23:08 +01:00
Alexander Meindl
d138e5e6e1 #68 fix welcome page positions for Redmine 4.1 2019-12-25 14:37:45 +01:00
Alexander Meindl
211459c414 Drop to complex bootstrap calendar / calendar macro 2019-12-22 08:40:26 +01:00
Alexander Meindl
99a03c734e Drop Redmine 3.4 support, Redmine 4.0 is required 2019-12-22 08:12:08 +01:00
Alexander Meindl
f1fa7780e1 provider test helper 2019-12-20 12:58:12 +01:00
Alexander Meindl
49e2e1b110 Provide regex for font_awesome icons 2019-12-20 09:06:05 +01:00
Alexander Meindl
7f08095e6b disable rubocop for deface overwrite - version 2 2019-12-19 16:47:24 +01:00
Alexander Meindl
30dc8998ec disable rubocop for deface overwrite 2019-12-19 16:27:20 +01:00
Alexander Meindl
b2772d2286 Fix Rack 2.0.8 or newer error with session.id - session[:session_id] is now used without problems. Rubocop update and standard fixes 2019-12-19 08:28:27 +01:00
Alexander Meindl
0b45625718 add google_docs macro 2019-12-18 14:05:35 +01:00
Alexander Meindl
5528e980f3 Fix list import and provide initialize_project_status_filter for queries 2019-12-17 16:34:36 +01:00
Alexander Meindl
eceb28c987 Optimize query filter 2019-11-23 07:54:21 +01:00
Alexander Meindl
045aa94975 use settings string from redmine 2019-11-20 18:43:19 +01:00
Alexander Meindl
a6c2044ae6 remove whitspace 2019-11-19 10:02:07 +01:00
Alexander Meindl
c6aa4a02e9 provide approval values 2019-11-19 09:59:06 +01:00
Alexander Meindl
5308168f5c Provide all tags method 2019-11-18 15:54:42 +01:00
Alexander Meindl
bf4a8946a2 More tests for queries 2019-11-15 18:27:16 +01:00
Alexander Meindl
3a6732fa51 Use assigned_to_values for add_available_filter with groups 2019-10-18 17:19:39 +02:00
Alexander Meindl
6531fe6298 Condition cleanups 2019-10-14 16:08:53 +02:00
Alexander Meindl
65e7533d60 Provide ActiveJob class 2019-10-13 16:29:39 +02:00
Alexander Meindl
1ba1adb1df Add journal class 2019-10-11 15:41:46 +02:00
Alexander Meindl
6043b3c52b Fix coding standards 2019-10-03 18:17:55 +02:00
Alexander Meindl
f37892c189 Fix problem with constants for charts 2019-10-03 17:58:39 +02:00
Alexander Meindl
f7c154b5a3 Fix missing sanitize_sql for charts 2019-10-03 17:49:02 +02:00
Alexander Meindl
2c9055fbdd Fix constants for charts 2019-10-03 17:43:46 +02:00
Alexander Meindl
5275a921f5 Provide chart functions 2019-10-03 17:35:12 +02:00
Alexander Meindl
6fce170f7e Use fontawesome for paste button 2019-10-02 10:52:39 +02:00
Alexander Meindl
baff5c8fa9 Drop zeroclipbard 2019-10-02 09:24:03 +02:00
Alexander Meindl
d27efdcbb9 Fix users scope for issue reports 2019-10-01 17:19:31 +02:00
Alexander Meindl
f84acbbba4 Fix query class raise message 2019-09-08 21:53:27 +02:00
Alexander Meindl
d51cfbea8d provide helper function for colorscheme 2019-06-22 16:09:13 +02:00
Alexander Meindl
ed98182fde chartjs_colorschemes supported and fall back for default settings 2019-06-22 11:39:42 +02:00
Alexander Meindl
173335f1b5 Working on clipboardjs and select2 support 2019-06-13 19:33:59 +02:00
Alexander Meindl
dd3c24fd47 hierarchy support for projects macro #45 2019-06-11 17:47:18 +02:00
Alexander Meindl
2fc53b1df7 Sort module names 2019-06-04 21:30:09 +02:00
Alexander Meindl
120bbcbc73 activate rubocop-rails and code cleanups 2019-06-03 12:55:27 +02:00
Alexander Meindl
55b18816b1 Fix StatementInvalid for queries 2019-05-22 16:34:36 +02:00
Alexander Meindl
a6e5f9b5c3 provide sql_for_enabled_module 2019-05-22 12:26:14 +02:00
Alexander Meindl
c76384c0d0 #47 remove issue_close_with_open_children, because it is provided by redmine 3.4.x or newer 2019-05-20 12:20:25 +02:00
Alexander Meindl
ff3b7f52c9 do not set FrozenStringLiteral before Redmine itself use it 2019-05-15 19:54:06 +02:00
Alexander Meindl
43eb4b2f9e Deface 1.3.2 does not like frozen_string_literal true 2019-05-15 18:45:28 +02:00
Alexander Meindl
fb84871fda Fix coding standards 2019-05-14 14:56:05 +02:00
Alexander Meindl
7e8b08b961 Working on frozen_string_literal support. Min requirements is ruby 2.3 or newer 2019-05-14 14:43:28 +02:00
Alexander Meindl
79f53b9da9 Fix problem with closed issues and time log 2019-05-12 17:07:29 +02:00
Alexander Meindl
425a0c35bf Fix deface hash for user-contextual-hook 2019-05-09 07:59:48 +02:00
Alexander Meindl
f17e3b195a Fix deface hash 2019-05-04 19:18:34 +02:00