Commit Graph

1921 Commits

Author SHA1 Message Date
Toshi MARUYAMA
c15eaf46db Remove duplicate notifiable require (#26312).
This duplication was introduced as part of r10909.

Contributed by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 07:16:52 +00:00
Jean-Philippe Lang
2cc8759175 Display menu items if user is allowed.
git-svn-id: http://svn.redmine.org/redmine/trunk@16727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-28 20:14:21 +00:00
Jean-Philippe Lang
b03e03b770 Global News view should not be allowed without permission (#7068).
git-svn-id: http://svn.redmine.org/redmine/trunk@16721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:49:02 +00:00
Jean-Philippe Lang
f3523f25fd Fixed that time entry queries cannot be saved when issue tracking is disabled (#14790).
git-svn-id: http://svn.redmine.org/redmine/trunk@16718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-26 19:30:36 +00:00
Jean-Philippe Lang
ad5a4c5d10 Removes SVG from libs (#26253).
git-svn-id: http://svn.redmine.org/redmine/trunk@16700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 13:51:57 +00:00
Jean-Philippe Lang
bd9e5447ea Set version to 3.4.
git-svn-id: http://svn.redmine.org/redmine/trunk@16695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 09:20:07 +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
Jean-Philippe Lang
7b6e6b9370 Removes plugins_path from configuration file (#24007).
git-svn-id: http://svn.redmine.org/redmine/trunk@16675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 10:40:51 +00:00
Jean-Philippe Lang
ca1fbf1ea1 Render all possible inline textile images even if an invalid one exists (#26157).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 07:45:08 +00:00
Jean-Philippe Lang
5744bfc2c6 Removes duplicate shell_quote method (#26149).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 07:42:54 +00:00
Toshi MARUYAMA
ce9edd07e3 gannt: not show %done if the field is disabled for the tracker (#25876)
Contributed by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-15 04:14:58 +00:00
Jean-Philippe Lang
4d4f330b0c Highlight menu item when viewing an attachment (#25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 10:48:34 +00:00
Toshi MARUYAMA
06babbec7e remove is_binary_data? from String (#25563)
git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-10 04:29:15 +00:00
Jean-Philippe Lang
7f4767418b Generate markup for uploaded image dropped into wiki-edit textarea (#26071).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@16643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 21:01:45 +00:00
Jean-Philippe Lang
9b0fcdaf2b New permission: view news (#7068).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:25:25 +00:00
Jean-Philippe Lang
b674e80128 New Permission: View Forum (#4866).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:20:22 +00:00
Jean-Philippe Lang
f902860955 Link to user in wiki syntax (#4179).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:10:57 +00:00
Jean-Philippe Lang
52b9b9cb02 Use stored ref. to array holding supported languages symbols via a constant (#26055).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:55:57 +00:00
Jean-Philippe Lang
9f5bd0c139 Pull-up retrieve_supported_languages private class method (#26055).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:55:29 +00:00
Jean-Philippe Lang
6198bde366 Remove internal CodeRay scanners (#26055).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-06 21:54:55 +00:00
Jean-Philippe Lang
8dca980a35 Make sure we can call #values.
git-svn-id: http://svn.redmine.org/redmine/trunk@16604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-03 08:44:29 +00:00
Jean-Philippe Lang
4df797956d Errors#get is deprecated in Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-01 21:30:39 +00:00
Jean-Philippe Lang
335a16e4fd Cusotom field label should not be associated to the first input (#25760).
git-svn-id: http://svn.redmine.org/redmine/trunk@16574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 08:49:08 +00:00
Jean-Philippe Lang
8ba7b6a2b2 Highlight language aliases are no more supported (#25634).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-27 07:53:16 +00:00
Jean-Philippe Lang
0c90a19eb2 Updates for 3.3.3 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@16532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-09 08:28:03 +00:00
Jean-Philippe Lang
4f2c5a9945 Filter arbitrary class names and ids in rendered HTML output (#25503).
* Disallow setting arbitrary classes and ids via Textile syntax
* Only allow valid/supported languages for syntax highlighted code blocks

Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:41:52 +00:00
Jean-Philippe Lang
281b26e2f5 Helper methods to find out if a given language is supported (#25503).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:37:18 +00:00
Jean-Philippe Lang
99fa41011f Add kbd to ALLOWED_TAGS (#25503).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 16:34:52 +00:00
Jean-Philippe Lang
88a3a351d0 Don't hardcode the groups on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:17:47 +00:00
Jean-Philippe Lang
5c7aaa4d1e Makes Attachments column available on the issue list (#25515).
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-04 17:07:13 +00:00
Jean-Philippe Lang
ee84b6b24c Adds a rake task to update attachments digests to SHA256 (#25240).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:38:06 +00:00
Toshi MARUYAMA
6139e0033a spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Toshi MARUYAMA
14cfe2c67a git: use '--no-renames' option in 'show' command (#25371)
git-svn-id: http://svn.redmine.org/redmine/trunk@16428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-24 15:53:04 +00:00
Toshi MARUYAMA
47dff44278 Git 2.9 compatibility (#25371)
git-svn-id: http://svn.redmine.org/redmine/trunk@16422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-20 17:17:55 +00:00
Toshi MARUYAMA
064067fbf2 set "warning = false" for "rake test:scm:units" and "rake test:scm:functionals"
git-svn-id: http://svn.redmine.org/redmine/trunk@16421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-20 17:17:44 +00:00
Jean-Philippe Lang
23131d14f5 Use helper methods for rendering blocks.
git-svn-id: http://svn.redmine.org/redmine/trunk@16414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 18:26:43 +00:00
Jean-Philippe Lang
4cfd513373 Allow multiple instances of custom queries on My page (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-16 18:02:43 +00:00
Jean-Philippe Lang
f828a985ae Let user display a custom query on "My page" (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-15 17:59:31 +00:00
Jean-Philippe Lang
8c7898bb5d Let user choose columns and sort order of issue lists on "My page" (#1565).
git-svn-id: http://svn.redmine.org/redmine/trunk@16400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-14 18:18:19 +00:00
Jean-Philippe Lang
71d88e5535 Get rid of sort_helper when using queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
b714c71402 Get the count by group from the query directly.
git-svn-id: http://svn.redmine.org/redmine/trunk@16387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-09 20:01:01 +00:00
Jean-Philippe Lang
f338fe9075 Allow to set multiple values in emails for list custom fields (#16549).
git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-08 19:55:56 +00:00
Jean-Philippe Lang
2503731d3c Removes invalid attributes from gravatar img tag.
git-svn-id: http://svn.redmine.org/redmine/trunk@16372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:55:13 +00:00
Jean-Philippe Lang
91d10c63f0 Show Last Comment in Issue list (#1474).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 07:58:07 +00:00
Jean-Philippe Lang
fdb8b93f85 Fix PDF formatting (#21705).
Patch by Greg T.

git-svn-id: http://svn.redmine.org/redmine/trunk@16362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:25:44 +00:00
Jean-Philippe Lang
ddef0ad7c1 Moves redcloth3.rb to lib/redmine/wiki_formatting/textile.
git-svn-id: http://svn.redmine.org/redmine/trunk@16358 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-03 17:16:53 +00:00
Jean-Philippe Lang
eaf8fb9885 Ruby 2.4: Fixed "key must be 32 bytes" error of OpenSSL::Cipher (#25048).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 22:48:11 +00:00
Jean-Philippe Lang
64b30de787 Turns @@languages_lookup into a cache by using ||= (#25014).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 19:42:18 +00:00
Jean-Philippe Lang
7d04dca697 Prevent warning about already defined constant.
git-svn-id: http://svn.redmine.org/redmine/trunk@16345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:16:13 +00:00
Jean-Philippe Lang
dac7903da3 Fixes uploading of empty files (#25115).
- prevents creation of attachment records without existing diskfile and empty
  digest
- adds test case to check file upload API response
- also removes the file size check in ActsAsAttachable which still prevented
  attachment of zero size attachments to containers but only for clients
  without Javascript (where save_attachments is called with the actual file
  upload).
  
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@16341 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-02-28 18:05:17 +00:00