-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #451 from gollum/6.x_rebased
Merge 6.x into master
- Loading branch information
Showing
28 changed files
with
249 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
source 'https://rubygems.org' | ||
|
||
gemspec :name => 'gollum-lib' | ||
gem 'irb' | ||
|
||
if RUBY_PLATFORM == 'java' then | ||
group :development do | ||
gem 'activesupport', '~> 6.0' | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
<<<<<<< HEAD | ||
# 5.2.4 / 2023-03-22 | ||
|
||
* Bugfix release: address XSS vulnerability ( @6661620a, @dometto) | ||
======= | ||
# 6.0 | ||
|
||
* Default to local PlantUML server for security. #412. (@manofstick) | ||
* Allow use of default branch name `main` or `master. Resolves https://github.com/gollum/gollum/issues/1813. (@dometto) | ||
<<<<<<< HEAD | ||
>>>>>>> 462ce53 (Implement default branch detection, move away from master as default. (#424)) | ||
======= | ||
* Support use of commit notes in Gollum::Committer. (@dometto, @bartkamphorst) | ||
<<<<<<< HEAD | ||
>>>>>>> 8384b51 (Support for git notes (#435)) | ||
======= | ||
|
||
### Bugfixes | ||
|
||
* Fix the use of boolean arguments in Macros. #441. (@dometto) | ||
>>>>>>> 0db2ff5 (Ensure boolean Macro arguments are parsed as boolean. Resolves #441 (#447)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
require File.join(File.dirname(__FILE__), 'gemspec.rb') | ||
require File.join(File.dirname(__FILE__), 'lib', 'gollum-lib', 'version.rb') | ||
default_adapter = ['gollum-rjgit_adapter', '~> 0.6'] | ||
default_adapter = ['gollum-rjgit_adapter', '~> 2.0'] | ||
Gem::Specification.new &specification(Gollum::Lib::VERSION, default_adapter, "java") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module Gollum | ||
class Macro | ||
class Flash < Gollum::Macro | ||
def render(message, icon='', type='') | ||
flash_type = ['warn', 'error', 'success'].include?(type) ? "flash-#{type}" : '' | ||
flash_icon = icon.empty? ? '' : %Q(data-gollum-icon="#{icon}") | ||
%Q(<div class="flash #{flash_type} my-2" #{flash_icon}>#{message}</div>) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module Gollum | ||
class Macro | ||
class Icon < Gollum::Macro | ||
def render(icon) | ||
%Q(<div class="gollum-icon" data-gollum-icon="#{icon}"></div>) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.