525 Commits

Author SHA1 Message Date
Karel Pičman
0b58ff6118 #1370 Security enhancement 2025-01-31 08:15:00 +01:00
Karel Pičman
c7fd1c0a02 Zeitwerk 2025-01-29 07:51:15 +01:00
Liane Hampe
1d9f244076 Updates api test to consider workflow state
The get_document test in dmsf_file_api_test.rb will be extended by
a further assertion for the workflow approval state to make sure
the data is included in the response.
2025-01-21 15:10:37 +01:00
Karel Pičman
8ddab40673 Inconsistent default values in settings #1577 2025-01-14 13:53:01 +01:00
Karel Pičman
14da15a607 #1574 tests 2025-01-09 16:54:14 +01:00
Karel Pičman
0bada5f790 Rubocop 2024-12-21 08:51:11 +01:00
Karel Pičman
a6caa75343 Easy tests 2024-12-21 07:47:59 +01:00
Karel Pičman
2818561261 undefined method 'field_format' for nil:NilClass 2024-12-17 14:16:38 +01:00
Karel Pičman
687042e5e6 undefined method 'field_format' for nil:NilClass 2024-12-17 14:10:25 +01:00
Karel Pičman
1818fd2a0f Setting module 2024-11-27 14:49:40 +01:00
Karel Pičman
bffe457ab3 Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2024-11-25 17:51:18 +01:00
Karel Pičman
48da1908d7 Plugin settings 'Display notified recipients' does not apply! #1565 2024-11-25 17:51:01 +01:00
Karel Pičman
5412ab1d69
Merge pull request #1567 from xmera-circle/bugfix/dmsf_mail_notification_cannot_be_null
Fixes Column 'dmsf_mail_notification' cannot be null
2024-11-25 11:30:02 +01:00
Liane Hampe
82ad02ad10 Fixes rubocop Layout/ArgumentAlignment warning 2024-11-25 11:06:29 +01:00
Liane Hampe
77df49993c Fixes Column 'dmsf_mail_notification' cannot be null
The partial app/views/dmsf_state/_user_pref.html.erb uses a condition
to include the email_notify setting only if the corresponding
notified_event is enabled. The database field email_notify, however,
does not accept a null value. But this is what occurs when the notified
event is disabled.

This patch changes the DmsfStateController to assign params[:email_notify]
only if the notified_event for dmsf_legacy_notifications is enabled.
2024-11-25 10:29:36 +01:00
Karel Pičman
d5312aea06 #1563 file icons 2024-11-22 10:09:56 +01:00
Karel Pičman
fa62c09d87 #1563 delete_link 2024-11-21 15:20:27 +01:00
Karel Pičman
77c0c071cb #1563 help 2024-11-21 09:57:36 +01:00
Karel Pičman
347fed7ce1 #1563 help 2024-11-21 09:52:25 +01:00
Karel Pičman
de02696e8b #1563 icons 2024-11-21 07:56:33 +01:00
Karel Pičman
aa969a3fdd Misssing digests 2024-11-19 13:03:07 +01:00
Karel Pičman
fac322f0f1 Redmine 6 #1563 2024-11-18 17:55:46 +01:00
Karel Pičman
22510b90fd DmsfFileNotFoundError 2024-10-16 09:39:06 +02:00
Karel Pičman
5e81d5e9c6 Zip attachments and raw data extension 2024-10-03 14:27:02 +02:00
Karel Pičman
62bfc18357 Missing mime type 2024-09-12 07:50:12 +02:00
Karel Pičman
06d818964c Missing Digest #1541 2024-08-29 10:03:05 +02:00
Karel Pičman
bdc8a1fd75 #1534 tests 2024-07-11 12:25:10 +02:00
Karel Pičman
bcc153582a #1534 Comment column formating 2024-07-11 12:20:26 +02:00
Liane Hampe
8bcc5a5217 Fixing NoMethodError in DmsfFileRevisionFormat
When an issue with a custom field format DmsfFileRevision
should be created by a non-member an exception would be
raised without this commit.

A non-member could always be an admin or in fact a non-member
in case of a public project.
2024-07-04 13:15:20 +02:00
Karel Pičman
0be8d1c44d Digest & menu 2024-06-27 17:11:36 +02:00
Karel Pičman
09ace4d5ff Easy tests 2024-06-22 08:59:23 +02:00
Karel Pičman
296e2e06f8 #1464 Digest as the default authentication method 2024-05-28 11:53:15 +02:00
Karel Pičman
641b206b3a Unit tests 2024-05-24 08:10:42 +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
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
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
62c3a937a7 Adminstration-settings cannot open after dmsf installed #1506 2024-02-23 11:05:25 +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
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
29a3b9231a Problem clicking action menu (three dots) in DMS file grid #1501 2024-01-10 10:27:26 +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
90f8f48683 Empty system folders #1491 2023-11-27 13:57:16 +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