Karel Pičman
a252e60437
Merge pull request #1520 from xmera-circle/xapian-indexing-with-further-option-for-db-setting
...
Support option -d to set xapian index database via CLI
2024-04-02 16:04:09 +02:00
Liane Hampe
d59fe0d0ce
Fixes rubocop complaint about too long line
2024-04-02 15:58:43 +02:00
Liane Hampe
0e499ebb26
Support option -d to set xapian index database via CLI
...
For running xapian indexer it is necessary to configure it to use the same database for indexing as defined in the user interface on plugin settings.
In order to make the configuration of xapian indexer some kind of persistence the command line options in `redmine_dmsf/extra/xapian_indexer.rb` could be extended by providing a further option for the index database path:
```shell
ruby redmine_dmsf/extra/xapian_indexer.rb -d <path/to/my/custom/index/database>
```
With this additional option it is possible to move the index database outside of redmine root to keep it even after running updates. Furthermore, custom configuration in `redmine_dmsf/extra/xapian_indexer.rb` won't be overridden when updating this plugin.
2024-03-31 09:29:02 +02:00
Karel Pičman
c532bbbada
Merge pull request #1515 from xmera-circle/bug/missing-safe-attribute-for-dmsf-not-inheritable
...
Adds missing safe_attribute for dmsf_not_inheritable
2024-03-19 16:08:42 +01:00
Liane Hampe
7093e1baac
Adds missing safe_attribute for dmsf_not_inheritable
...
Dmsf custom field settings are extended with a further attribute called
dmsf_not_inheritable. This attribute is added to Redmine
CustomField.safe_attributes.
Hence dmsf_not_inheritable will be saved now!
2024-03-19 15:40:35 +01:00
Karel Pičman
0c95a29154
Digest can't be null
2024-03-06 09:37:45 +01:00
Karel Pičman
3684e48dc2
Issue notifications #1503
2024-02-23 12:35:51 +01:00
Karel Pičman
62c3a937a7
Adminstration-settings cannot open after dmsf installed #1506
2024-02-23 11:05:25 +01:00
Karel Pičman
648bed260c
Adminstration-settings cannot open after dmsf installed #1506
2024-02-23 10:57:12 +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
Karel Pičman
2676eaba74
Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel
2024-02-23 09:46:12 +01:00
Karel Pičman
292b91ca5e
'Redmine like' error handling in macros
2024-02-23 09:45:57 +01:00
Karel Pičman
b0ae0f5c88
Merge pull request #1511 from xmera-circle/bug-fix/ActiveRecord-ValueTooLong
...
Adds further validations
2024-02-22 17:48:58 +01:00
Liane Hampe
63257b5773
Fixes tests for DmsfFileRevision
2024-02-22 14:24:23 +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
Karel Pičman
d0ffda1c80
Merge pull request #1505 from xmera-circle/bug-fix/no-metod-error-in-dmdf-query
...
Adds an extra check in DmsfQuery#dmsf_node
2024-02-15 09:14:14 +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
c6c505ec8c
Xapian indexer v3
2024-01-05 13:09:04 +01:00
Karel Pičman
962c3a8f23
DMSF doesn't ignore filepattern when LOCK and UNLOCK requests. #1495
2024-01-04 11:42:55 +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
00896902af
Omitting default arguments
2023-11-30 15:16:06 +01:00
Karel Pičman
90f8f48683
Empty system folders #1491
2023-11-27 13:57:16 +01:00
Karel Pičman
0604fe3983
v3.1.4 devel started
2023-11-15 14:35:57 +01:00
Karel Pičman
53ba6c1a07
v3.1.3 released
v3.1.3
2023-11-15 14:18:20 +01:00
Karel Pičman
6206c928c7
test branch merged into devel
2023-11-15 13:59:58 +01:00
Karel Pičman
6cd6cb078d
Rubocop
2023-11-15 13:58:06 +01:00
Karel Pičman
38dc4b1cfa
Wrong redirection
2023-11-15 13:46:08 +01:00
Karel Pičman
d8eb26e33a
Expected response to be a <2XX: success>, but was a <404: Not Found>
2023-11-15 13:39:36 +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
8946ad97ec
Changes title_approval translation
...
The English translation "Approve document" fits better in the workflow
steps than "Approval" only:
1. "Assign workflow"
2. "Start workflow"
3. "Approve document" (Approve x Reject x Delegate)
4. "" (As soon as the workflow is finished, there is no item related to the workflow in the menu.)
The German translation is modified accordingly.
2023-10-26 14:02:34 +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
Liane Hampe
b5cb1461de
Changes workflow related translations
...
Will change some keys such that :title_assignment, :title_start,
:title_approval to make the dialog less mistakable.
2023-10-26 08:21:47 +02:00
Karel Pičman
8b7f158951
Easy icons
2023-10-25 15:02:17 +02:00
Karel Pičman
b005bf8d50
Merge pull request #1485 from xmera-circle/bug/rename-locales-ua.yml
...
Renames locales/ua.yml
2023-10-25 09:26:35 +02:00
Liane Hampe
fd048ba8fa
Renames locales/ua.yml
...
The localization in ua.yml is made under the key 'uk' representing
Ukrainian. Therefore, the YAML file should use the same language code.
2023-10-25 08:13:26 +02:00