Commit Graph

574 Commits

Author SHA1 Message Date
Alexander Meindl
baf0b9a6ec add rake task redmine:additionals:reset_resently_dashboards to reset recently used dashboards 2021-12-15 17:30:38 +01:00
Alexander Meindl
a0ca97a85e add require for redmine_plugin_kit 2021-12-07 19:03:09 +01:00
Alexander Meindl
3e14e90f2d Working on fix PluginBase include 2021-12-07 18:59:17 +01:00
Alexander Meindl
cdf18cdbb4 Use redmine_plugin_kit for plugin loading 2021-12-07 18:51:09 +01:00
Alexander Meindl
32f0526211 Use after_plugins_loaded. See https://www.redmine.org/issues/36245 2021-12-02 08:18:43 +01:00
Alexander Meindl
ad2d4b7f1f Introduce AddionalsLoader, refactor plugin loading 2021-11-27 08:01:01 +01:00
Alexander Meindl
ddad9822d7 Allow auto_refresh for async block. refresh_time = cache_expires_in 2021-11-24 11:56:33 +01:00
Alexander Meindl
ae7ed302d3 require version 2021-11-23 20:30:24 +01:00
Alexander Meindl
bf11e49466 Fix rubocop offenses 2021-11-23 19:23:08 +01:00
Alexander Meindl
1c23f13ec7 Working on zeitwerk support 2021-11-23 19:16:49 +01:00
Alexander Meindl
82a70fd57a Support ActiveRecord::Relation with autocomplete_select_entries 2021-11-07 13:45:05 +01:00
Alexander Meindl
696745b3d8 Add stylelint and eslint to github actions 2021-11-07 05:27:38 +01:00
Alexander Meindl
80cf3f4685 provide false? for boolean conditions 2021-11-01 17:03:34 +01:00
Alexander Meindl
4bf39637a1 fix avatar for ruby 3 2021-10-30 16:01:11 +02:00
Alexander Meindl
d230818cfd Ruby 2.5 is unsupported. Use Ruby 2.6 or newer 2021-10-17 11:33:57 +02:00
Alexander Meindl
b710847dc3 Fix rubocop offenses 2021-09-29 15:19:21 +02:00
Alexander Meindl
535854a948 provide link_to_url helper 2021-09-27 16:39:10 +02:00
Alexander Meindl
f41004705b Add tests for access_control and remove caching available_project_modules (because there are problems with it) 2021-09-20 17:04:48 +02:00
Alexander Meindl
48c2af51f0 try to fix installation problems with missing tables (if redmine migration was not run) 2021-09-20 13:21:42 +02:00
Alexander Meindl
9bf3eef553 Mermaid and d3 updated. Plugin methods to check installation. Do not allow project modules, if there are disabled 2021-09-20 12:44:10 +02:00
Alexander Meindl
ae0e5cc100 better solution to overwrite available_project_modules 2021-09-18 14:47:56 +02:00
Alexander Meindl
09a004b413 improved attachment_added callback 2021-09-12 11:19:23 +02:00
Alexander Meindl
a08f59fd76 refactor entity concerns 2021-09-10 23:29:31 +02:00
Alexander Meindl
c190c504b6 Provide helper format_yes 2021-09-01 17:59:19 +02:00
Alexander Meindl
77301ffe94 do not show locked users in memberbox - see https://www.redmine.org/issues/35606 2021-08-29 17:42:00 +02:00
Alexander Meindl
b11e14f797 add time_zone_correct method 2021-08-25 17:55:16 +02:00
Alexander Meindl
f88bc7105a Version bump to stable 3.0.3 2021-08-22 10:07:23 +02:00
Alexander Meindl
b6f10069e2 more journal methods provided 2021-08-10 14:25:49 +02:00
Alexander Meindl
582b55849d provide entity.list css and remove debug info 2021-07-31 18:41:27 +02:00
Alexander Meindl
9b08ce0d03 more abstract additionals_list_title 2021-07-31 13:06:04 +02:00
Alexander Meindl
2abae9dd52 mermaid update and journal controller 2021-07-30 18:51:33 +02:00
Alexander Meindl
7f40a9d165 project based new ticket messages added 2021-07-08 16:56:36 +02:00
Alexander Meindl
1a184c4def #103 remove issue macro, which is now included with Redmine core 2021-07-03 14:37:47 +02:00
Alexander Meindl
d983b4fb34 Fix rubocop offenses 2021-06-30 19:30:58 +02:00
Alexander Meindl
e4553dc2e4 fix rubocop rails offenses 2021-06-21 14:52:57 +02:00
Alexander Meindl
5eed75d49c render query methods required in all controllers (because of possible usage with macros 2021-06-20 16:16:38 +02:00
Alexander Meindl
696f4de447 Provide split_ids method and refactor query description 2021-06-13 19:17:30 +02:00
Alexander Meindl
8328491851 Use dynamic columns for export dialog 2021-06-10 13:13:36 +02:00
Alexander Meindl
75350aeba8 provide join_enabled_module for Wiki 2021-05-26 16:55:14 +02:00
Alexander Meindl
f3a3914e15 Fix hidden roles for Redmine 4.2 2021-05-06 12:51:56 +02:00
Alexander Meindl
0580a1da03 Fixing export for tags 2021-04-20 09:53:07 +02:00
Alexander Meindl
07c306fa66 Working on ruby 2.7 updates and warning fixes 2021-04-18 13:34:55 +02:00
Alexander Meindl
a48ee5b4a7 Set version for dev 2021-04-10 17:13:05 +02:00
Alexander Meindl
bf46775ac7 Version bump to 3.0.2 2021-04-10 16:35:43 +02:00
Alexander Meindl
8c3bf2ded5 Fix tests and ruby 2.5 is required 2021-04-02 11:20:44 +02:00
Alexander Meindl
bac05942b4 Fix problem frozen string and do not overwrite watcher_values for issues 2021-03-31 14:27:49 +02:00
Alexander Meindl
701c847fd5 Try to fix dashboard block settings style and added tests for Redmine 4.2 2021-03-28 08:55:30 +02:00
Alexander Meindl
4c55b54481 more abstract helper for check_box_tag 2021-03-25 11:55:06 +01:00
Alexander Meindl
b49106ed88 Check if version is already defined 2021-03-22 16:02:32 +01:00
Alexander Meindl
8744465c7e Fix some templates for upcoming Redmine 4.2 2021-03-22 14:27:07 +01:00
Alexander Meindl
91367cf82c strings for stats 2021-03-21 11:10:23 +01:00
Alexander Meindl
195a30c1a6 refactoring live search to get cleaner css structure 2021-03-20 19:10:38 +01:00
Alexander Meindl
7d8d12fd30 Some cosmetics 2021-03-14 17:43:43 +01:00
Alexander Meindl
6ef5479578 provide global helper link_to_external 2021-03-12 18:09:11 +01:00
Alexander Meindl
54f98a2022 refactor system information 2021-03-02 11:47:10 +01:00
Alexander Meindl
ba8394f811 Provide fontawesome methods for charts 2021-02-26 18:19:44 +01:00
Alexander Meindl
2bf34038ea refactore observeLiveSearchField and drop observe_field 2021-02-19 17:04:21 +01:00
Alexander Meindl
a9b4c9d40b Allow any host in issues macro to support domain changing 2021-02-08 17:00:10 +01:00
Alexander Meindl
45c6530586 restore visible_principals, which accidently removed 2021-01-30 11:11:03 +01:00
Alexander Meindl
1aee7d531b provide all_principals_by_role without hidden roles 2021-01-30 11:05:17 +01:00
Alexander Meindl
795c7efd3c Fix coding standards 2021-01-29 08:39:31 +01:00
Alexander Meindl
edb25feb83 Check permissions for wiki pages, if possible 2021-01-18 20:39:36 +01:00
Alexander Meindl
51b011dff7 remove old incompatible_plugins entries 2021-01-16 21:20:46 +01:00
Alexander Meindl
4494c45157 Use directory name for wiki sidebar template 2021-01-10 18:36:47 +01:00
Alexander Meindl
c65a7332cc Fix readme with new stable branch 2020-12-29 12:14:58 +01:00
Alexander Meindl
90e6b21c1b bump version 2020-12-29 12:08:19 +01:00
Alexander Meindl
df94d40b73 provide debug method 2020-12-11 13:35:37 +01:00
Alexander Meindl
709ae43b9e Provide check for database to https://www.redmine.org/issues/33290 2020-12-01 16:21:29 +01:00
Alexander Meindl
3d76540405 Update chartjs and mermaid; do not throw error, if plugin hint file cannot be created 2020-12-01 11:13:17 +01:00
Alexander Meindl
c2a6f0b8b0 Improve tests on github, drop travis and fix slim loading 2020-11-29 16:58:44 +01:00
Alexander Meindl
111149ea7a Working on gemify 2020-11-29 13:17:02 +01:00
Alexander Meindl
a95e32e7f1 Fix new rubocop offenses 2020-11-24 15:52:16 +01:00
Alexander Meindl
484711d1ce Fix rubocop complains 2020-11-12 17:15:15 +01:00
Alexander Meindl
8399e7ba7d Better solution for more performance with projects macro 2020-11-12 16:43:45 +01:00
Alexander Meindl
dd5d074064 Add missing fixtures to dashboard test 2020-11-12 07:08:52 +01:00
Alexander Meindl
68f5aae4f8 drop settings_compatible which was used for Redmine 3.x compatiblitiy, fix coding standards for rubocop update 2020-11-05 14:39:35 +01:00
Alexander Meindl
e4a1ddb60e Working on user macro and provide crud abstruction for tests 2020-11-04 19:29:52 +01:00
Alexander Meindl
89b391f7d3 Working on auto complete user scope 2020-10-30 06:08:45 +01:00
Alexander Meindl
e15d9f1686 assignable_for_issues abstraction 2020-10-29 16:56:32 +01:00
Alexander Meindl
bb9fd79470 Do not add watcher with bot user 2020-10-19 09:45:28 +02:00
Alexander Meindl
67fb59db7b provide class_prefix 2020-10-13 19:41:52 +02:00
Alexander Meindl
36f71b488a use is_a? 2020-10-09 09:50:58 +02:00
Alexander Meindl
4baf5459e6 make rubocop happy 2020-10-09 09:09:56 +02:00
Alexander Meindl
867b1a4bc1 Allow custom parameters for back_url 2020-09-27 09:13:24 +02:00
Alexander Meindl
4a81bdefa4 Fix context_menu actions in dashboard query lists 2020-09-27 07:44:14 +02:00
Alexander Meindl
d744711450 Sql cleanups 2020-09-22 10:58:48 +02:00
Alexander Meindl
1356748948 Fix test name and some cleanups 2020-09-08 09:40:06 +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
1f06dc9309 remove os_is_mac 2020-09-04 20:49:47 +02:00
Alexander Meindl
0faa406fe2 provide is_mac 2020-09-04 20:41:23 +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
5d9e2fc210 provide admin_column_field 2020-09-02 18:17:01 +02:00
Alexander Meindl
1b08f9869b refactore gototop 2020-09-02 14:52:32 +02:00
Alexander Meindl
b075c8ceab Fix coding standards 2020-09-01 10:28:04 +02:00
Alexander Meindl
b2d85ea522 provide can_be_admin? if redmine_sudo is installed 2020-08-31 09:46:22 +02:00
Alexander Meindl
8e45991b9f working on export options 2020-08-19 11:17:17 +02:00
Alexander Meindl
cc26243a64 More code cleanups 2020-08-09 10:11:52 +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
8997af7170 refactor with_permission with subqueries 2020-08-05 18:02:54 +02:00
Alexander Meindl
fe0ac905b4 some cleanups 2020-08-03 18:31:48 +02:00
Alexander Meindl
65a6b4b9e8 Some cosmetics 2020-08-03 17:14:03 +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
4d73777391 Translation cleanups 2020-07-31 18:55:08 +02:00
Alexander Meindl
d63ebc8e22 Remove custom_fields_with_format 2020-07-31 07:10:30 +02:00
Alexander Meindl
7b4cbbf1b5 options for custom_fields_with_format 2020-07-30 21:33:05 +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
e1afe6b20d #80 compatibility to redmine_wiki_extensions 2020-07-27 20:14:48 +02:00
Alexander Meindl
2d21da44ca Fix template error on gantt and calendar 2020-07-27 19:48:08 +02:00
Alexander Meindl
714e1b3f91 First draft of dashboard integration 2020-07-27 10:49:23 +02:00
Alexander Meindl
111390d23d Support multiple modules with additionals_library_load 2020-06-22 20:48:55 +02:00
Alexander Meindl
08b9e58825 textarea_cols helper 2020-05-07 12:30:28 +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
3eaaa94066 Fix role hide for redmine master 2020-04-27 07:16:51 +02:00
Alexander Meindl
bf637901e4 remove redmine_tweaks from incompatible list 2020-04-18 11:58:38 +02:00
Alexander Meindl
0980eb7434 Ruby 2.4 or higher is required 2020-04-16 13:00:07 +02:00
Alexander Meindl
f91d562bb9 Patch integration cleanups 2020-04-12 15:49:53 +02:00
Alexander Meindl
2a5fe8b27c Patch integration cleanups 2020-04-12 09:13:59 +02:00
Alexander Meindl
9d0501e454 Loading cleanups 2020-03-27 15:08:37 +01:00
Alexander Meindl
33016b7ccd Fix formater rendering performance issue for smileys support 2020-03-27 13:15:58 +01:00
Alexander Meindl
187052b8c9 Next try to fix settings problem 2020-03-26 15:02:01 +01:00
Alexander Meindl
8dcf308774 Try to fix settings 2020-03-26 13:53:56 +01:00
Alexander Meindl
49102ffc6f Provide issue join for status 2020-03-23 19:19:31 +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
1eab71c283 improved routing for auto_complete 2020-03-09 19:57:22 +01:00
Kota Shiratsuka
eaf967cdaf
Added asciinema.org macro 2020-01-22 19:32:10 +09: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
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
2bb6641bf4 Run rubocop on travis 2019-12-25 09:27:02 +01:00
Alexander Meindl
211459c414 Drop to complex bootstrap calendar / calendar macro 2019-12-22 08:40:26 +01:00
Alexander Meindl
4bfc7cfff0 Working on Redmine 4.1 support 2019-12-22 07:40:27 +01:00
Alexander Meindl
fb2931c97d Chained uniq optimization 2019-12-19 08:50:18 +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
1e2bd98df4 documentation update for google_docs macro 2019-12-18 17:31:25 +01:00
Alexander Meindl
e644cbd659 Set default width for google_docs to 100% 2019-12-18 16:08:25 +01:00
Alexander Meindl
0b45625718 add google_docs macro 2019-12-18 14:05:35 +01:00
Alexander Meindl
3f322f22da #67 private comments support has been added 2019-12-15 11:38:16 +01:00
Alexander Meindl
e11ec20de5 Update d3 to 5.14.2 2019-12-15 10:08:24 +01:00
Alexander Meindl
09570be9a3 rename d3 libraries 2019-12-15 07:15:30 +01:00
Alexander Meindl
f79d9b82d0 use d3v5 to provide latest d3 version 2019-12-14 19:31:31 +01:00
Alexander Meindl
93087d775b drop d3plus-hierarchy and update d3plus 2019-12-14 19:06:53 +01:00
Alexander Meindl
fdd78c0314 drop stacked100 lib 2019-12-14 18:29:38 +01:00
Alexander Meindl
d42467f5bd with_sum option for members macro 2019-12-14 17:33:41 +01:00
Alexander Meindl
d9c65a45a2 Drop nvd3 library 2019-12-14 16:39:34 +01:00
Alexander Meindl
bf4a8946a2 More tests for queries 2019-11-15 18:27:16 +01:00
Alexander Meindl
3ae7ba7078 Add group support for avatar helper 2019-10-17 21:25:59 +02:00
Alexander Meindl
6531fe6298 Condition cleanups 2019-10-14 16:08:53 +02:00
Alexander Meindl
c518f25da5 Add helper for selcted option 2019-10-08 12:33:58 +02:00
Alexander Meindl
c163c9abb3 Fix uptime for mac os 2019-10-08 10:06:17 +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
d5d72aecdf Fix project filter for members macro 2019-10-01 15:56:03 +02:00
Alexander Meindl
88aff8bb5c Fix users scope with members macro 2019-10-01 15:31:24 +02:00
Alexander Meindl
5399709084 More library updates 2019-10-01 11:21:49 +02:00
Alexander Meindl
ed98182fde chartjs_colorschemes supported and fall back for default settings 2019-06-22 11:39:42 +02:00
Alexander Meindl
0c4084f725 Add chart.js support 2019-06-21 18:22:02 +02:00
Alexander Meindl
f4c3fcd42d d3plus-hierarchy as smaller alternative, if no other features from d3plus are required 2019-06-21 14:58:17 +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
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
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
3c6c7fb493 Move helper method to settings helper 2019-04-30 06:57:06 +02:00
Alexander Meindl
5474e524e7 Do not throw error on unchanged issues for freezed issues 2019-04-27 17:10:18 +02:00
Alexander Meindl
01a3fe9afe Fix issue closed permission bug 2019-04-27 16:58:07 +02:00
Alexander Meindl
23de8adc57 helper for settings 2019-04-24 12:12:34 +02:00
Alexander Meindl
c65721a00f Fix problems with performance changes 2019-04-09 19:04:42 +02:00
Alexander Meindl
f18ba8b557 Some code cleanup and performance tweaks 2019-04-09 17:47:08 +02:00
Alexander Meindl
195038a0ff Fix mail notification if author changed 2019-04-09 14:46:44 +02:00
Alexander Meindl
682dcae823 Check for assignable issue with new issue macro 2019-03-21 19:51:09 +01:00
Alexander Meindl
3672812830 Provide GOTO_LIST symbol 2019-01-27 09:40:17 +01:00
Alexander Meindl
2bb9bdcadd fixed close issue without permission 2019-01-12 14:22:51 +01:00
Alexander Meindl
299ab3f41d Fix coding standards 2019-01-01 10:12:02 +01:00
Alexander Meindl
ff4ada86a5 Fix coding standards 2019-01-01 10:11:19 +01:00
Alexander Meindl
64bdfac972 More abstraction for settings 2018-12-29 21:33:57 +01:00
Alexander Meindl
62d7f321ce problem fixed for migration from redmine 3.x to redmine 4 2018-12-29 18:12:09 +01:00
Alexander Meindl
197dd2c4aa Fix conflicts with hrm #36 2018-12-14 09:13:41 +01:00
Alexander Meindl
7f90894599 Improve custom menu items integration for better performance #34 2018-12-14 09:08:16 +01:00
Alexander Meindl
f440afd0c6 Allow custom date with date macro 2018-12-11 15:14:56 +01:00
Alexander Meindl
0882d7c028 Fix problem with issue macro in notification mails 2018-12-10 12:09:58 +01:00
Alexander Meindl
a16d5d2e6d drop delay_ajax_indicator 2018-12-09 20:21:04 +01:00
Alexander Meindl
7f30a19d56 allow calendar macro at preview 2018-12-09 16:27:04 +01:00
Alexander Meindl
f5b4cdbda5 macro description update 2018-12-08 19:11:16 +01:00
Alexander Meindl
fcd33ad77f change to one date macro with parameter - manual changes required in wiki pages 2018-12-08 16:49:04 +01:00
Alexander Meindl
8b092d0f3f do not show macro button, if no macro is available 2018-12-07 02:07:12 +01:00
Alexander Meindl
9b7c0a1810 Allow to hide macros with macro button and add help for hide role 2018-12-05 13:29:37 +01:00
Alexander Meindl
3cd97243a8 Working on user visibility 2018-12-03 10:15:50 +01:00
Alexander Meindl
44943d04dc Drop hide_in_memberbox permission and add role setting hide 2018-12-02 18:40:47 +01:00
Alexander Meindl
bea37511c1 code cleanup and coding standards fix #3626 2018-12-01 14:29:13 +01:00
Alexander Meindl
ed9852f48b #3626 move javascript to js file 2018-12-01 13:27:00 +01:00
Alexander Meindl
ec955f4048 #3626 test for macro list and code refactoring 2018-12-01 12:26:11 +01:00
Alexander Meindl
54ec5695c0 Working on permission for wiki macros #3626 2018-11-30 12:30:28 +01:00