1387 Commits

Author SHA1 Message Date
Karel Pičman
f8ebe13249 #1518 Rails 7 2024-05-21 14:12:05 +02:00
Karel Pičman
8f7157ca19 #1464 Digest authentication 2024-05-16 14:54:11 +02:00
Karel Pičman
e25fc851cf The file is not uploaded to the custom file field #1517 2024-05-09 14:22:37 +02:00
Karel Pičman
0e57a2f952 Use rather token than path 2024-05-06 17:47:57 +02:00
Karel Pičman
a877f40257 Use rather token than path 2024-05-06 17:37:51 +02:00
Karel Pičman
3684e48dc2 Issue notifications #1503 2024-02-23 12:35:51 +01:00
Karel Pičman
a95001aa48 Uncaught SyntaxError: Redecclaration of let modal in Approval Workflow Log #1510 2024-02-23 10:22:13 +01:00
Karel Pičman
625faa5e0a Honour allowed extensions 2024-02-23 10:06:38 +01:00
Liane Hampe
152f0f71b2 Adds further validations
The models DmsfFile and DmsfFileRevision will
get validations on database restricted strings
such that title, name, disk_filename.
2024-02-22 12:43:37 +01:00
Karel Pičman
d4f4d4a37d #1505 2024-02-15 09:17:44 +01:00
Liane Hampe
360c195f1a Adds further condition in DmsfQuery#dmsf_nodes
It will make sure that a pending link will be
deleted from the query and hence not displayed
to the user.

A pending link has no project assigned. For those
links the case statement in DmsfQuery#dmsf_nodes
will now return true what causes the link to be
deleted from the query result.
2024-02-15 08:27:42 +01:00
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