Go MAEDA
4fb1e4bea0
Use fixtures :all to ensure consistent test data and improve test reliability ( #41961 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Marius Balteanu
910842a157
Fixes group icons not displayed only using the SVG icon ( #41853 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-10 23:31:14 +00:00
Marius Balteanu
2d20811f40
Improve watcher list permissions check to explicitly require @view_issue_watchers@ permission ( #40946 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-08 21:28:24 +00:00
Go MAEDA
af6a627d20
Revisions count is wrong on the wiki content page ( #40655 ).
...
Contributed by Karel Pičman (@picman).
git-svn-id: https://svn.redmine.org/redmine/trunk@22877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-13 03:06:04 +00:00
Go MAEDA
a9518e28b8
Fix RuboCop offense Rails/HttpStatus ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-18 05:56:55 +00:00
Marius Balteanu
b4bfb6b581
Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest ( #35217 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
d8263dcdee
Return 404 if revision URL doesn't exist ( #36561 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-18 08:03:52 +00:00
Marius Balteanu
4807beaebf
Explicitly specify text formatting in the tests ( #35952 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
0b8c23f021
Ability to add watchers to Wiki pages ( #7652 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-29 07:30:54 +00:00
Go MAEDA
094628e694
Remove #filename_for_content_disposition for MS browsers ( #29914 , #32914 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:19:16 +00:00
Go MAEDA
78a5d9f667
Add filename header ( #29914 , #32913 ).
...
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 15:16:27 +00:00
Go MAEDA
9c56418f4e
Add edit button to Wiki sidebar ( #32629 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@20850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-26 02:19:02 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
925fbe9263
Ordering wiki pages should not be case sensitive ( #31287 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-06-20 06:50:28 +00:00
Go MAEDA
6e781f6479
Fix that "Successful deletion" notice is not displayed after deleting some types of content ( #33116 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-04 00:43:28 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
f37ed77665
Use #media_type instead of #content_type to test the MIME type of a response ( #32886 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-27 03:54:25 +00:00
Go MAEDA
62fe933eed
Ruby 2.7: Remove deprecated URI.escape/unescape ( #32752 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-23 23:28:34 +00:00
Go MAEDA
f55aa76958
Fix random test failure due to missing call to set_tmp_attachments_directory in WikiControllerTest ( #32653 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-04 04:47:38 +00:00
Toshi MARUYAMA
2efe9dc610
cleanup: rubocop: fix Layout/AlignArguments in test/functional/wiki_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-08 06:26:54 +00:00
Go MAEDA
5ce4a363a9
Fix test failure due to missing call to set_tmp_attachments_directory ( #32122 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-04 11:17:33 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
5e64b4aa67
Show locked badge for protected pages ( #9634 ).
...
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-27 03:31:22 +00:00
Go MAEDA
4f5a3a156c
Enable frozen_string_literal for some files under test directory ( #26561 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
e70c283a22
Remove unnecessary encoding magic comment ( #31034 ).
...
The default script encoding is UTF-8 in Ruby 2.0 or later.
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 06:26:33 +00:00
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files ( #26561 ).
...
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
1d5fd81871
Fix typo ( #29503 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 13:23:25 +00:00
Go MAEDA
e6e02e5e45
Discourage search engines from indexing old versions of wiki pages ( #29503 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-06 00:40:39 +00:00
Jean-Philippe Lang
8eb8cdc06d
Remove link to current version, already present in the page breadcrumb ( #26575 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:58:45 +00:00
Go MAEDA
399a66a9a9
Bulk delete wiki attachments ( #16410 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17453 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-25 14:35:18 +00:00
Jean-Philippe Lang
f57cacb284
Don't repeat revision on each line.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 09:03:57 +00:00
Toshi MARUYAMA
0f6fd7584b
fix file name corruption when export a wiki page with non-ASCII title in MS browsers ( #26599 )
...
Contributed by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-08-30 15:46:45 +00:00
Jean-Philippe Lang
e930ee8e98
Adds a checkbox to set a page as the wiki start page ( #26579 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 07:38:48 +00:00
Jean-Philippe Lang
71423af0b2
Get rid of acts_as_versioned.
...
WikiContent::Version becomes WikiContentVersion.
git-svn-id: http://svn.redmine.org/redmine/trunk@16889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-26 16:41:06 +00:00
Jean-Philippe Lang
5de545fd79
Set the parent page when creating a new wiki page from the "Add page" link ( #26043 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-08 13:51:18 +00:00
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Toshi MARUYAMA
01defc7514
remove trailing white spaces from test/functional/wiki_controller_test.rb
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 04:55:17 +00:00
Jean-Philippe Lang
b834e81d7f
Use Rails 5 syntax for functional tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-31 17:32:34 +00:00
Jean-Philippe Lang
650a64cb00
Creating a wiki page named "Sidebar" without proper permission raises an exception ( #23700 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 19:21:42 +00:00
Jean-Philippe Lang
29ddc82a11
Removes calls to #assert_template and #assigns in functional tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 16:58:59 +00:00
Jean-Philippe Lang
6cc6a918b4
Pass parameters with :params in controller tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 07:43:16 +00:00
Jean-Philippe Lang
2e4e610930
Adds our own class for controller tests.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 09:35:49 +00:00
Jean-Philippe Lang
bda78a4679
Adds "New wiki page" link to create a new wiki page ( #5536 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-22 17:47:11 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
c2fe2d0c06
Fixed that #destroy_version with invalid version destroys wiki page content ( #21155 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-09 17:53:13 +00:00
Jean-Philippe Lang
84ca9ac7fd
Missing fixtures.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14711 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-20 18:04:01 +00:00