Commit Graph

616 Commits

Author SHA1 Message Date
Alexander Meindl
5e58ceccba revert validation and add exclude rubocop rule 2021-12-26 08:17:22 +01:00
Alexander Meindl
862ec391c6 Fix not required validator error 2021-12-26 06:18:11 +01:00
Alexander Meindl
e664b1defb Fix rubocop offense 2021-12-26 05:57:23 +01:00
Alexander Meindl
10547fceec Increase allowed feed block to 20 - all blocks are async and no problem on server side 2021-12-17 07:16:45 +01:00
Alexander Meindl
5c525fc9db fix spelling mistake resently to recently 2021-12-15 18:16:34 +01:00
Alexander Meindl
9685886a43 Fixed project default dashboard, if project system dashboard is defined 2021-12-15 15:09:38 +01:00
Alexander Meindl
d4568bf377 Cosmetics 2021-12-15 08:57:15 +01:00
Alexander Meindl
a26584c2ce Removed duplicated translation string 2021-12-09 14:49:18 +01:00
Alexander Meindl
cdf18cdbb4 Use redmine_plugin_kit for plugin loading 2021-12-07 18:51:09 +01:00
Alexander Meindl
ec0379492c support ignore_autoload if Rails > 6 2021-12-02 16:10:22 +01:00
Alexander Meindl
93eaf4ace8 Add deface_setup to loader 2021-12-02 11:16:14 +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
248bce1be5 Better comment for ActiveSupport.on_load 2021-12-01 17:07:37 +01:00
Alexander Meindl
8ef1f75869 Add yaml_config_load to AdditionalsLoader 2021-11-27 11:59:21 +01:00
Alexander Meindl
28c68d5210 Fix patch loader for plugins, which gemified 2021-11-27 09:00:31 +01:00
Alexander Meindl
ad2d4b7f1f Introduce AddionalsLoader, refactor plugin loading 2021-11-27 08:01:01 +01:00
Alexander Meindl
543108898e Allow auto refresh for queries 2021-11-24 17:52:57 +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
75d3706cea Show custom field name for long text (and not "description" 2021-11-08 16:58:34 +01:00
Alexander Meindl
a660165bee Cleanup journal helper 2021-11-08 16:46:00 +01:00
Alexander Meindl
80cf3f4685 provide false? for boolean conditions 2021-11-01 17:03:34 +01:00
Alexander Meindl
b710847dc3 Fix rubocop offenses 2021-09-29 15:19:21 +02:00
Alexander Meindl
c9ea96263b use shorter unique key to solve problems on some file systems, which to not support file names, which are longer then 256 characters 2021-09-25 13:49:13 +02:00
Alexander Meindl
c6825cb2d5 remove debugging infos 2021-09-20 16:16:08 +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
08d7b53757 code cleanup: remove unneeded brackets 2021-09-11 19:55:14 +02:00
Alexander Meindl
bc9054b615 better abstraction for system infos 2021-09-03 17:42:57 +02:00
Alexander Meindl
841f69848a strip dashboard name 2021-08-07 10:22:59 +02:00
Alexander Meindl
ff180afc11 Fix menu_items in top_menu 2021-08-06 14:06:47 +02:00
Alexander Meindl
2fb9368522 Fix top menu 2021-08-06 13:41:39 +02:00
Alexander Meindl
5a84c9ef6e refactore handle_top_menu_item 2021-08-04 06:47:41 +02:00
Alexander Meindl
2abae9dd52 mermaid update and journal controller 2021-07-30 18:51:33 +02:00
Alexander Meindl
6b02a6c04a fixed scope of public project dashboards for all projects 2021-07-23 17:04:39 +02:00
Alexander Meindl
3c48536f77 Fix problem with project new message for issues, if no system default is defined 2021-07-18 19:52:29 +02:00
Alexander Meindl
687bb094a4 Fix project new message box, if no message is defined 2021-07-18 19:39:56 +02:00
Alexander Meindl
bfb51b4b86 add api support for new_ticket_message with projects 2021-07-08 21:06:24 +02:00
Alexander Meindl
7f40a9d165 project based new ticket messages added 2021-07-08 16:56:36 +02:00
Alexander Meindl
d216b14fff convert deprecated keyword parameters 2021-07-06 12:28:07 +02:00
Alexander Meindl
d983b4fb34 Fix rubocop offenses 2021-06-30 19:30:58 +02:00
Alexander Meindl
af96b28f90 do not modify issues/list, if redmine_reporting is installed 2021-06-23 11:52:09 +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
b50db217f7 provide additionals_settings_timefield and update to deface 1.8.1 2021-06-19 12:38:50 +02:00
Alexander Meindl
7ec00005ac Optimize export limit warning to fix redmine tests 2021-06-14 20:31:05 +02:00
Alexander Meindl
c7dc414977 do not use member variable in export_options template 2021-06-14 17:59:35 +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
aeb1af33cb refactor dashboard_link_path for more abstruction to support custom types of dashboards 2021-05-02 09:52:32 +02:00
Alexander Meindl
631d096abe Fix namespace for query column 2021-04-21 14:57:24 +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
e3521b20e5 provide info, if async is used for settings 2021-04-06 19:12:13 +02:00
Alexander Meindl
ad7dbba25d dashboard_async_cache abstraction for async cache 2021-04-04 09:46:56 +02:00
Alexander Meindl
307480051e Fix coding standard 2021-04-02 11:14:26 +02:00
Alexander Meindl
aa989f5cee fix redmine 4.2 deface checksums 2021-04-02 10:37:07 +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
c996734d6e Fix modal dialog to reopen after first usage rm#7203 2021-03-29 21:49:32 +02:00
Alexander Meindl
5104aeceb4 remove unused code 2021-03-28 09:37:18 +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
1c470e1431 Use larger fields for test block 2021-03-27 18:48:15 +01:00
Alexander Meindl
2365a16bfe Fix broken coding standard 2021-03-27 15:19:04 +01:00
Alexander Meindl
784c120ae5 helper functions for input fields for settings 2021-03-27 15:16:20 +01:00
Alexander Meindl
f505284cda Default width of dashboard block input fields 2021-03-26 18:05:43 +01:00
Alexander Meindl
56c32d6a25 confirm dashboard block delete 2021-03-26 06:34:53 +01:00
Alexander Meindl
4c55b54481 more abstract helper for check_box_tag 2021-03-25 11:55:06 +01:00
Alexander Meindl
07b3afa0c6 fix rubocop offense 2021-03-24 16:20:33 +01:00
Alexander Meindl
8744465c7e Fix some templates for upcoming Redmine 4.2 2021-03-22 14:27:07 +01:00
Alexander Meindl
195a30c1a6 refactoring live search to get cleaner css structure 2021-03-20 19:10:38 +01:00
Alexander Meindl
6ef5479578 provide global helper link_to_external 2021-03-12 18:09:11 +01:00
Alexander Meindl
c794ba0cdb Do not activate project status filter with projects 2021-03-09 06:38:28 +01:00
Alexander Meindl
3bf153a3ac provide project_identifier_filter 2021-03-09 06:04:39 +01:00
Alexander Meindl
20b9191af0 remove project from sql_for_tags_field 2021-03-04 20:03:27 +01:00
Alexander Meindl
2e24efaaa1 Use list_optional for tag filters 2021-03-04 19:09:28 +01:00
Alexander Meindl
54f98a2022 refactor system information 2021-03-02 11:47:10 +01:00
Alexander Meindl
7fd4d78a59 allow overwriting placeholder for live search 2021-02-19 19:03:13 +01:00
Alexander Meindl
2bf34038ea refactore observeLiveSearchField and drop observe_field 2021-02-19 17:04:21 +01:00
Alexander Meindl
38e04d8d10 Fix limit for news dashboard block on welcome dashboards 2021-02-16 09:39:50 +01:00
Alexander Meindl
2a7727f23b provide additionals_settings_urlfield 2021-02-14 13:54:24 +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
563ff4d961 Support sudo admin switch for async dashboard caching 2021-02-06 07:24:05 +01:00
Alexander Meindl
76b632635f rename codimd to hedgedoc 2021-01-18 08:23:48 +01:00
Alexander Meindl
4494c45157 Use directory name for wiki sidebar template 2021-01-10 18:36:47 +01:00
Alexander Meindl
ae725d1efe Provide fix text filter for queries and updated d3plus 2021-01-06 13:18:58 +01:00
Alexander Meindl
44ba03c200 LiveSearch should use 50% 2021-01-05 12:12:29 +01:00
Alexander Meindl
1237497548 allow public use of clipboardjs_data 2020-12-29 07:57:15 +01:00
Alexander Meindl
50f6d78ff1 Allow customizing mermaid configuration 2020-12-27 17:21:33 +01:00
Alexander Meindl
d149682d82 do not render text with clipboardjs, if no text is provided 2020-12-20 09:12:03 +01:00
Alexander Meindl
b3596e6362 cleanup clipboard helper and provide render_text_with_clipboardjs 2020-12-20 09:10:18 +01:00
Alexander Meindl
0e00985691 Fix html structure for use based macros 2020-12-07 13:47:36 +01:00
Alexander Meindl
b43a23c4cd mermaid updated to version 8.8.4 2020-12-05 17:57:54 +01:00
Alexander Meindl
c05225bfbf Fix sidebar css for dashboards 2020-12-04 16:42:03 +01:00
Alexander Meindl
d72481a8b4 Use lambda for filters, if possible 2020-12-02 19:06:53 +01:00
Alexander Meindl
78a1e97476 tag_values requires parameter 2020-12-02 09:22:18 +01:00
Alexander Meindl
32ba829092 Use lamdba for tag filters 2020-12-01 18:27:20 +01:00
Alexander Meindl
7e4f41db71 Fixing coding standards 2020-12-01 12:01:34 +01:00
Alexander Meindl
aa9fb18bed remove tag helper 2020-11-29 13:45: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
589a18d821 Allow set id for select2 element 2020-11-22 10:07:23 +01:00
Alexander Meindl
880e047fb4 new hooks for wiki 2020-11-20 18:56:45 +01:00
Alexander Meindl
484711d1ce Fix rubocop complains 2020-11-12 17:15:15 +01:00
Alexander Meindl
dd5d074064 Add missing fixtures to dashboard test 2020-11-12 07:08:52 +01:00
Alexander Meindl
a4d5b2f17a Add new dashboard block for text asynchronous 2020-11-06 10:12:25 +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
e0b1518cb6 Fix conding standard 2020-10-29 17:05:41 +01:00
Alexander Meindl
513a7d21c2 Use default width 90% for select2 2020-10-23 16:02:27 +02:00
Alexander Meindl
ac18f8e17f added support for redmine_contacts_helpdesk columns #85 2020-10-22 14:56:29 +02:00
Alexander Meindl
bbfd546fa9 Rubocop/security fix for rss feed 2020-10-21 16:19:21 +02:00
Alexander Meindl
bb9fd79470 Do not add watcher with bot user 2020-10-19 09:45:28 +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
ea013df17b do not check system default dashboard, if project is selected (because this is not a system default dashboard, but a project system default dashboard) 2020-10-07 19:49:12 +02:00
Alexander Meindl
deb0cf28f1 FontAwesome 5.15.0 support and Active Record cleanups 2020-10-05 11:46:20 +02:00
Alexander Meindl
39b45c1cdb Fix deface checksome for contacts 2020-09-29 09:36:19 +02:00
Alexander Meindl
cf46389bd8 Do not show assign to me, if assigned_to is disabled 2020-09-28 18:42:12 +02:00
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