Liane Hampe
92586c78b1
Adds further text to reset button of webdav digest
...
When a user has 2FA enabled the WebDAV digest won't be created on sign
in. The reason is in RedmineDmsf::Hooks::Controllers::
AccountControllerHooks#controller_account_success_authentication_after
where the digest will be created only if the controller parameter
':password' is present. This works for a user authentication with login
name and password only. A user with 2fa enabled runs differently through
the authentication process and crosses the hook not before the 2fa
token was checked. Hence, there won't be a password parameter anymore.
Instead of manipulating controller params to provide the password
only the button text for reseting the digest will be changed if the
user has 2FA but no digest yet. This would make it more explicit that
the token is not expected to exist and can be created if missing.
2024-09-28 20:17:20 +02:00
Karel Pičman
11b3d445f2
#1548 Upload & Commit button's text
2024-09-27 09:17:10 +02:00
Karel Pičman
911d03af5e
#1548 '[+]' locked files
2024-09-20 13:36:14 +02:00
Karel Pičman
a56fcc33a2
#1548 '[+]' icon and help
2024-09-20 09:02:11 +02:00
Karel Pičman
8b1018b06f
#1548 Documents upload in one step
2024-09-19 15:48:08 +02:00
Karel Pičman
e0532a81b2
#1548 Issue attachments
2024-09-18 11:00:48 +02:00
Karel Pičman
62bfc18357
Missing mime type
2024-09-12 07:50:12 +02:00
Karel Pičman
2a7c421f5e
Missing mime type
2024-09-11 15:07:01 +02:00
Karel Pičman
c4d3f2aa3e
Inline displaying of HTML files
2024-09-11 14:58:09 +02:00
Karel Pičman
7df0cbca6d
Deleted uploaded file and uploaded a different file. #1544 (patch by chinstrap784)
2024-09-05 08:15:05 +02:00
Karel Pičman
c235baa1db
Compatibility with Easy
2024-09-04 15:27:22 +02:00
Karel Pičman
06d818964c
Missing Digest #1541
2024-08-29 10:03:05 +02:00
Karel Pičman
8d9b06ae9d
Macro enabled Excel documents not editable
2024-08-28 10:58:53 +02:00
Karel Pičman
b0a53abc48
Macro enabled Excel documents not editable
2024-08-27 14:40:31 +02:00
Karel Pičman
bae3185995
Activity stream is not showing the document name #1540
2024-08-13 07:44:23 +02:00
Karel Pičman
77f4c02aef
Formatting
2024-08-13 07:43:53 +02:00
Karel Pičman
ed71944b17
Also available in with no options
2024-08-06 10:29:20 +02:00
Karel Pičman
b309371a34
A typo
2024-08-06 10:15:36 +02:00
Karel Pičman
574bf6815d
Undefined size method for nil class
2024-07-18 06:06:51 +02:00
Karel Pičman
a776c42c94
Easy unlock icon
2024-07-16 13:49:58 +02:00
Karel Pičman
bcc153582a
#1534 Comment column formating
2024-07-11 12:20:26 +02:00
Karel Pičman
01a6fd02a0
Use the common partial
2024-07-08 15:15:39 +02:00
Karel Pičman
6338949fbf
'Target folder and project are the same as current' error when copying a document from one project to another #1532
2024-07-04 16:42:45 +02:00
Karel Pičman
00ced02fcd
Mysql2::Error::TimeoutError
2024-07-04 09:15:26 +02:00
Karel Pičman
1f8ad9bf4d
Use an existing hook rather than re-rendering the original view (prevent view_paths.unshift)
2024-07-02 10:12:43 +02:00
Karel Pičman
5728ff4632
Easy tests
2024-06-28 09:17:13 +02:00
Karel Pičman
0be8d1c44d
Digest & menu
2024-06-27 17:11:36 +02:00
Karel Pičman
fce7f5864c
#1526 Missing template
2024-06-04 13:26:58 +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
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