2934 Commits

Author SHA1 Message Date
Karel Pičman
09ace4d5ff Easy tests 2024-06-22 08:59:23 +02:00
Karel Pičman
a55d913489 Easy tests 2024-06-13 07:05:38 +02:00
Karel Pičman
9272264cce Easy tests 2024-06-12 14:26:32 +02:00
Karel Pičman
1a63b4c834 v3.1.7 devel started 2024-06-04 14:00:31 +02:00
Karel Pičman
8b4547c4a0 v3.1.6 released v3.1.6 2024-06-04 13:58:45 +02:00
Karel Pičman
fce7f5864c #1526 Missing template 2024-06-04 13:26:58 +02:00
Karel Pičman
9d270d2985 v3.1.6 devel started 2024-06-04 10:11:16 +02:00
Karel Pičman
c9487bbb5f v3.1.5 released v3.1.5 2024-06-04 10:07:31 +02:00
Karel Pičman
296e2e06f8 #1464 Digest as the default authentication method 2024-05-28 11:53:15 +02:00
Karel Pičman
d18b557355 #1464 Digest as the default authentication method 2024-05-28 09:13:09 +02:00
Karel Pičman
e72ba2b194 #1464 Digest as the default authentication method 2024-05-28 09:09:50 +02:00
Karel Pičman
641b206b3a Unit tests 2024-05-24 08:10:42 +02:00
Karel Pičman
4e98c1eb69 #1502 Rubocop 2024-05-22 15:20:35 +02:00
Karel Pičman
3cd0105fbe #1502 API requests 2024-05-22 15:19:14 +02:00
Karel Pičman
a88d65cd5b #1502 Text and Markdown files' preview 2024-05-22 14:57:42 +02:00
Karel Pičman
79bc188c75 #1517 Uploading with an empty attachment field 2024-05-22 10:18:16 +02:00
Karel Pičman
f8ebe13249 #1518 Rails 7 2024-05-21 14:12:05 +02:00
Karel Pičman
cda94538e6 #1464 some optimizations 2024-05-20 12:20:54 +02:00
Karel Pičman
9df2d77527 #1464 user's guide 2024-05-17 13:06:15 +02:00
Karel Pičman
d6970b74e4 #1464 Automatic users' digests generation 2024-05-17 13:00:08 +02:00
Karel Pičman
53e44ef32c #1464 Help 2024-05-17 07:30:20 +02:00
Karel Pičman
8f7157ca19 #1464 Digest authentication 2024-05-16 14:54:11 +02:00
Karel Pičman
d9b9cb05f5 Rubocop 2024-05-14 13:02:49 +02:00
Karel Pičman
0b255a9fc1 Easy DMSF 2024-05-14 12:41:36 +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
944d73bb41 v3.1.5 devel started 2024-05-06 17:55:07 +02:00
Karel Pičman
4e3c1d8853 v3.1.4 released v3.1.4 2024-05-06 17:53:08 +02:00
Karel Pičman
0e57a2f952 Use rather token than path 2024-05-06 17:47:57 +02:00
Karel Pičman
98edde3a50 Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2024-05-06 17:38:11 +02:00
Karel Pičman
a877f40257 Use rather token than path 2024-05-06 17:37:51 +02:00
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