1376 Commits

Author SHA1 Message Date
Liane Hampe
d577f559e1 Adds an extra check in DmsfQuery#dmsf_node
This change stablizes the query with DmsfLink objects since they could
have stored a project_id of -1 causing a nil error.

This may happen when the linking of a dms document with an issue was
not successful or aborted as observed with https://github.com/danmunn/redmine_dmsf/pull/1466.
2024-01-30 19:33:18 +01:00
Karel Pičman
29a3b9231a Problem clicking action menu (three dots) in DMS file grid #1501 2024-01-10 10:27:26 +01:00
Karel Pičman
0adcc6291c NoMethodError for intersect if running on Ruby 2.7.6 #1500 2024-01-09 13:15:57 +01:00
Karel Pičman
94a654fb50 NoMethodError for intersect if running on Ruby 2.7.6 #1500 2024-01-08 08:33:45 +01:00
Karel Pičman
04645bc36d Get rid of changing years in file headers 2024-01-05 14:04:46 +01:00
Karel Pičman
0a51b6e556 #1494 Preview 2023-12-22 08:51:35 +01:00
Karel Pičman
4f60034d6f Missing translation :notice_account_unknown_email #1493 2023-12-06 12:56:03 +01:00
Karel Pičman
90f8f48683 Empty system folders #1491 2023-11-27 13:57:16 +01:00
Karel Pičman
6cd6cb078d Rubocop 2023-11-15 13:58:06 +01:00
Karel Pičman
8842fd69ea Expected false to be truthy 2023-11-15 13:25:36 +01:00
Karel Pičman
763871577c Expected false to be truthy 2023-11-15 13:07:53 +01:00
Karel Pičman
9cd943f056 Expected false to be truthy 2023-11-15 12:48:02 +01:00
Karel Pičman
16beb8ddbe Expected false to be truthy 2023-11-15 12:30:04 +01:00
Karel Pičman
81447e04f9 Redmine 5.1 2023-11-15 11:59:56 +01:00
Karel Pičman
4b37284140 Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2023-11-02 09:53:39 +01:00
Karel Pičman
d2f66a8380 Setting.plugin_redmine_dmsf['dmsf_index_database']: undefined method 'strip' for nil:NilClass #1483 2023-11-02 09:53:26 +01:00
Karel Pičman
aace2e9b06
Merge pull request #1486 from xmera-circle/improvement/translation-of-title-assignment-key
Some context menu improvements
2023-10-26 14:13:02 +02:00
Liane Hampe
171d2aa2be Deletes needless closing erb bracket
In DMS file context menu there is a redundant closing erb bracket (%>)
which breaks the li item in the menu.
2023-10-26 08:33:09 +02:00
Karel Pičman
8b7f158951 Easy icons 2023-10-25 15:02:17 +02:00
Karel Pičman
fc141b7e3b \Author should be kept when moving a folder #1484 2023-10-24 09:58:37 +02:00
Karel Pičman
06cc71efd0 Easy icons 2023-10-24 08:21:28 +02:00
Karel Pičman
e66f8c4f88 #1477 PedroTeixido's patch 2023-10-04 12:46:04 +02:00
Karel Pičman
6a1985255f Failed upgrade up to version 3.1.1 from version 3.0.12 #1472 2023-10-04 10:52:25 +02:00
Karel Pičman
8b41216517 #1132 Missing sub-folders 2023-09-14 13:59:59 +02:00
Karel Pičman
eeefbafc04 Persistent users selection when paginationg 2023-09-14 10:12:04 +02:00
Karel Pičman
0515547bd1 Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2023-09-11 12:25:23 +02:00
Karel Pičman
de3d262965 #1132 Unit tests 2023-09-07 15:50:56 +02:00
Karel Pičman
06d7bb8762 #1132 Copying/Moving of multiple entries 2023-09-07 09:30:08 +02:00
Liane Hampe
c096fa2ed7 Removes main menu from workflows controller
Usually the main menu is not displayed in admin area. Therefore, it
will be removed with this commit to increase consistency.
2023-09-06 10:18:19 +02:00
Karel Pičman
4120744315 Can't access a folder under watch, but works again when unwatching the folder #1469 2023-08-23 09:10:18 +02:00
Karel Pičman
6b940757cc Link to project 2023-08-22 13:23:03 +02:00
Liane Hampe
2543f6a1a6 Fixes Uncaught TypeError: $(...).select2 is not a function
The error occured when trying to create a dmsf link. In such a case
select2 must be used in a javascript snippet after jquery and the
select2 plugin are loaded.

Adding the 'document ready' function ensures that everything is loaded
properly before the inline javascript will be executed.
2023-08-15 16:03:44 +02:00
Liane Hampe
3edf629389 Changes arguments of DmsfLinksHelper#files_for_select
The second argument 'folder_id' is set to nil by default. This could
be overridden if necessary.

Defining a default value for the helper method prevents the view
partial 'dmsf_links/_form.html.erb' to raise an ActionView::Template::Error
due to a missing argument.
2023-08-15 14:55:27 +02:00
Karel Pičman
7aeed17a94 A typo 2023-07-12 13:49:17 +02:00
Karel Pičman
f31534ce58 Xapian Easy search 2023-07-12 12:07:49 +02:00
NGeb1
9c8cab0072
fix .zero? error in id_attribute check 2023-07-02 13:39:51 +03:00
Karel Pičman
df7cf6e752 After file convert view permissions missing #1454 2023-06-06 12:13:40 +02:00
Karel Pičman
2a2ef8ba60 Documents' preview 2023-06-05 14:18:18 +02:00
Karel Pičman
9ce4fc481c Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2023-06-02 16:56:40 +02:00
Karel Pičman
c502b834c4 An option to remove the original Documents module 2023-06-02 16:56:00 +02:00
Karel Pičman
f08a9f1f67 I downloaded files from devel branch and put them into plugin folder. Then I run #1453 2023-06-02 12:43:13 +02:00
Karel Pičman
5262fdcf10 Rubocop 2023-06-01 14:53:46 +02:00
Karel Pičman
377dd56f14 Rubocop 2023-06-01 13:44:55 +02:00
Karel Pičman
24a965e798 Style/NegatedIf: Favor unless over if for negative conditions. 2023-05-30 12:23:23 +02:00
Karel Pičman
32c9435430 gem xapian-ruby 2023-05-30 12:04:49 +02:00
Karel Pičman
2dbedfa649 Rubocop: Layout/EmptyLineAfterMagicComment 2023-05-30 11:54:16 +02:00
Karel Pičman
5e058f5aef Empty array of notifications recipients 2023-05-23 15:15:27 +02:00
Karel Pičman
2914eef375 Approval workflow actions 2023-05-23 13:57:40 +02:00
Karel Pičman
c58c71b759 @target_folder_id is always null 2023-05-23 09:29:35 +02:00
Karel Pičman
a22081a34f match.nil? -> match? 2023-05-23 09:04:32 +02:00