2951 Commits

Author SHA1 Message Date
Karel Pičman
6896256d85 :wqMerge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2024-10-03 14:27:15 +02:00
Karel Pičman
5e81d5e9c6 Zip attachments and raw data extension 2024-10-03 14:27:02 +02:00
Karel Pičman
88bab64122
Merge pull request #1552 from xmera-circle/improvement/adds-further-text-to-reset-button-of-webdav-digest
Adds further text to reset button of webdav digest
2024-10-03 09:54:15 +02:00
Karel Pičman
98df43eb50
Merge pull request #1551 from xmera-circle/bugfix/token-action-name-for-webdav-digest-stil-uses-kebab-case
Changes token action name for WebDAV digest
2024-10-03 09:51:33 +02:00
Karel Pičman
461c85f147
Merge pull request #1550 from xmera-circle/bugfix/some-contoller-hooks-wont-get-loaded
Some controller hooks won't get loaded
2024-10-03 09:50:00 +02:00
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
Liane Hampe
7a6187236f Changes token action name for WebDAV digest
The partial views/hooks/redmine_dmsf/_view_my_account.html.erb uses a
finder method where the action name still uses kebab case but since
migration 20240829093801_rename_dmsf_digest_token.rb it is required to
use snake case.

That is, dmsf-webdav-digest needs to be renamed to dmsf_webdav_digest
to find the token of the current user.
2024-09-28 15:25:07 +02:00
Liane Hampe
752fe9f405 Some controller hooks won't get loaded
There are several hooks in lib/redmine_dmsf.rb listed to get loaded but
two of them in lib/redmine_dmsf/hooks/controllers are missing:

- account_controller_hooks
- search_controller_hooks

Therefore, webdav digest won't be created and the search feature
(not Redmine default) won't be available.
2024-09-28 12:14:57 +02:00
Karel Pičman
4a72aaa487 #1548 documentation update 2024-09-27 09:21:44 +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
c12961028b v3.2.2 devel started 2024-09-02 09:22:51 +02:00
Karel Pičman
e1840b32e7 v3.2.1 release v3.2.1 2024-09-02 09:21:08 +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
d27a77b063 Internal error while opening Settings page #1424 2024-08-13 08:17:25 +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
26d2b2a602 Easy styles moved elsewhere 2024-08-07 09:58:45 +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
bd09edfa54 #1541 No need to create a digest when authentication is not digest 2024-08-05 08:16:13 +02:00
Karel Pičman
c801f578c4 Merge branch 'master' into devel 2024-07-23 13:20:19 +02:00
Karel Pičman
85eec1a75b Rubocop 3.2.0 2024-07-23 13:20:04 +02:00
Karel Pičman
83058e0dd5 v3.2.1 devel started 2024-07-23 13:13:30 +02:00
Karel Pičman
af1869f5e4 v3.2.0 released 2024-07-23 13:11:51 +02:00
Karel Pičman
18301d2148
Merge pull request #1538 from RomanIOPSYS/1537-exempt-products-from-notifiable
Add redmine_products to obsolete plugin list
2024-07-19 10:10:38 +02:00
Roman Azarenko
72358a82c0
Add redmine_products to obsolete plugin list
With redmine_products (and its dependency redmine_contacts) installed,
SystemStackError occurs when going to administrative settings:

	I, [2024-07-18T20:22:39.380403 #1]  INFO -- : Started GET "/settings" for 172.17.0.1 at 2024-07-18 20:22:39 +0000
	I, [2024-07-18T20:22:39.381060 #1]  INFO -- : Processing by SettingsController#index as HTML
	I, [2024-07-18T20:22:39.384106 #1]  INFO -- :   Current user: admin (id=1)
	I, [2024-07-18T20:22:39.396807 #1]  INFO -- : Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.4ms | Allocations: 11130)
	F, [2024-07-18T20:22:39.532960 #1] FATAL -- :
	SystemStackError (stack level too deep):

	plugins/redmine_products/lib/redmine_products/patches/notifiable_patch.rb:35:in `all_with_products'
	plugins/redmine_dmsf/lib/redmine_dmsf/patches/notifiable_patch.rb:37:in `all'
	...
	plugins/redmine_products/lib/redmine_products/patches/notifiable_patch.rb:35:in `all_with_products'
	plugins/redmine_dmsf/lib/redmine_dmsf/patches/notifiable_patch.rb:37:in `all'
	app/controllers/settings_controller.rb:37:in `edit'
	app/controllers/settings_controller.rb:32:in `index'
	lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Fixes: 648bed260cdf ("Adminstration-settings cannot open after dmsf installed #1506")
Fixes danmunn/redmine_dmsf#1537
Related to danmunn/redmine_dmsf#1506
2024-07-19 09:55:01 +02:00
Karel Pičman
d791279b6c v3.2.0 devel started 2024-07-18 12:38:52 +02:00
Karel Pičman
06020d5806 v3.1.9 released v3.1.9 2024-07-18 12:36:42 +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
8d88c6845f A typo 2024-07-15 15:25:47 +02:00
Karel Pičman
6366d61141 Easy global menu 2024-07-15 15:24:36 +02:00
Karel Pičman
a6f2379f97 Unlock icon 2024-07-11 13:22:02 +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
Karel Pičman
01a6fd02a0 Use the common partial 2024-07-08 15:15:39 +02:00
Karel Pičman
844bc5ca35 v3.1.9 devel started 2024-07-04 16:57:21 +02:00
Karel Pičman
4752e83a59 v3.1.8 released v3.1.8 2024-07-04 16:55:15 +02:00
Karel Pičman
d5524c543d Merge branch 'devel' of github.com:danmunn/redmine_dmsf into devel 2024-07-04 16:43:19 +02:00