gollum 6.0.1 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +4 -4
- data/Gemfile +11 -0
- data/HISTORY.md +15 -0
- data/LATEST_CHANGES.md +4 -5
- data/README.md +2 -0
- data/bin/gollum +1 -1
- data/docker-run.sh +8 -1
- data/gollum.gemspec +5 -5
- data/lib/gollum/public/assets/.sprockets-manifest-6c4a0bc907c3e25cb7e69c0faf6e71d2.json +1 -1
- data/lib/gollum/public/assets/app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js.gz +0 -0
- data/lib/gollum/public/assets/app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css.gz +0 -0
- data/lib/gollum/public/assets/criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css.gz +0 -0
- data/lib/gollum/public/assets/{editor-5ac2983673c8540e50683c3ae37f1635882e94a04a1e823776a663740fdb3aa7.js → editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js} +3 -3
- data/lib/gollum/public/assets/editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js.gz +0 -0
- data/lib/gollum/public/assets/gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js.gz +0 -0
- data/lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js +118 -0
- data/lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js.gz +0 -0
- data/lib/gollum/public/assets/katex/dist/katex-709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f.css.gz +0 -0
- data/lib/gollum/public/assets/print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css.gz +0 -0
- data/lib/gollum.rb +1 -1
- data/package.json +1 -1
- data/yarn.lock +517 -379
- metadata +7 -7
- data/lib/gollum/public/assets/editor-5ac2983673c8540e50683c3ae37f1635882e94a04a1e823776a663740fdb3aa7.js.gz +0 -0
- data/lib/gollum/public/assets/gollum.mermaid-ccc590b7d9655deec94c9975f25d74fbe38f703c927e26cf81169d63fea7cd50.js +0 -117
- data/lib/gollum/public/assets/gollum.mermaid-ccc590b7d9655deec94c9975f25d74fbe38f703c927e26cf81169d63fea7cd50.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d92e7f609dd007e366009ec8c451349f988c7e39f2d69b172165f6a3cdf1196
|
4
|
+
data.tar.gz: c527dfaaab7d77bdbd0218e18849734ad5bf994aaaeb1f25964fc054d5d89c4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5404211ceae4fac51554bf3d2f147f23fe3984b41529d205bdc8f3e69da615b79e1acde3a3ff2fbe471360a8047ad72928c94a7e3fdd002e696a8a4aa7ab083f
|
7
|
+
data.tar.gz: 9378bdf8cdeba9fbcbcf4b93ecdfe34345b93d2fb4a84b45ad95ed5138bbb631e3094328e3c2c3d18080bd892fdacd6600b90d515a23ad9df9d7f84b2c97c4ac
|
data/Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
FROM ruby:3.
|
1
|
+
FROM ruby:3.3-alpine AS builder
|
2
2
|
|
3
3
|
RUN apk add --update \
|
4
4
|
--no-cache \
|
@@ -28,10 +28,10 @@ WORKDIR /app
|
|
28
28
|
COPY . /app
|
29
29
|
RUN bundle exec rake install
|
30
30
|
|
31
|
-
FROM ruby:3.
|
31
|
+
FROM ruby:3.3-alpine
|
32
32
|
|
33
|
-
ARG UID
|
34
|
-
ARG GID
|
33
|
+
ARG UID=1000
|
34
|
+
ARG GID=1000
|
35
35
|
|
36
36
|
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/
|
37
37
|
|
data/Gemfile
CHANGED
@@ -2,6 +2,17 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
gem 'warbler', git: 'https://github.com/jruby/warbler' if RUBY_PLATFORM == 'java'
|
4
4
|
|
5
|
+
# FIXME: There is an upstream JRuby 9.4.9.0 issue with `psych` and the latest
|
6
|
+
# version of `jar-dependencies`. The issue will be resolved with the release of
|
7
|
+
# 9.4.10.0. Then, we can remove this `jar-dependencies` dependency lock.
|
8
|
+
#
|
9
|
+
# Gollum end users using JRuby may need to add this lock to their own project
|
10
|
+
# Gemfiles, too, unfortunately. :-(
|
11
|
+
#
|
12
|
+
# For more information, see: https://github.com/jruby/jruby/issues/8488
|
13
|
+
#
|
14
|
+
gem 'jar-dependencies', '< 0.5'
|
15
|
+
|
5
16
|
group :test do
|
6
17
|
gem 'selenium-webdriver', require: false
|
7
18
|
gem 'capybara', require: false
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
# 6.1.0 / 2024-12-23
|
2
|
+
|
3
|
+
## Fixes & Improvements
|
4
|
+
* Fixed a typo in the deprecation message for `--mathjax` (@DavidForster)
|
5
|
+
* Update Mermaid to 11.4
|
6
|
+
* Add wiki permission check to docker run script
|
7
|
+
|
8
|
+
# 6.0.1 / 2024-07-25
|
9
|
+
|
10
|
+
## Fixes & Improvements
|
11
|
+
|
12
|
+
* Use static assets when `APP_ENV` is `development` (@dometto)
|
13
|
+
* Explicitly require Rack 3 or greater (@dometto)
|
14
|
+
* Let the `--base-path` wiki option handle prefixed and suffixed slashes in path values. (i.e. `--base-path /my-wiki`) (@dometto)
|
15
|
+
|
1
16
|
# 6.0.0 / 2024-05-03
|
2
17
|
|
3
18
|
# Breaking Changes
|
data/LATEST_CHANGES.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
# 6.0
|
1
|
+
# 6.1.0
|
2
2
|
|
3
3
|
## Fixes & Improvements
|
4
|
-
|
5
|
-
*
|
6
|
-
*
|
7
|
-
* Let the `--base-path` wiki option handle prefixed and suffixed slashes in path values. (i.e. `--base-path /my-wiki`) (@dometto)
|
4
|
+
* Fixed a typo in the deprecation message for `--mathjax` (@DavidForster)
|
5
|
+
* Update Mermaid to 11.4
|
6
|
+
* Add wiki permission check to docker run script
|
data/README.md
CHANGED
@@ -67,6 +67,8 @@ The [latest Release](https://github.com/gollum/gollum/releases/) of Gollum will
|
|
67
67
|
|
68
68
|
`java -jar gollum.war -S gollum <your-gollum-arguments-here>`
|
69
69
|
|
70
|
+
When using the `.war`, please be sure to pass [absolute paths](https://github.com/gollum/gollum/wiki/Gollum-via-Java-WAR#absolute-paths-issue) to your Gollum arguments.
|
71
|
+
|
70
72
|
### Misc
|
71
73
|
|
72
74
|
See [below](#running-from-source) for information on running Gollum from source, as a Rack app, and more.
|
data/bin/gollum
CHANGED
@@ -121,7 +121,7 @@ MSG
|
|
121
121
|
puts "To set a custom configuration for #{wiki_options[:math]} please add it to \'#{default_math_config}\' and commit it to the repo."
|
122
122
|
end
|
123
123
|
opts.on('--mathjax', 'Enable rendering of mathematical equations via mathjax.') do |mode|
|
124
|
-
puts 'DEPRECATION WARNING: --mathjax. This switch will be removed in the future. Please use: "--math
|
124
|
+
puts 'DEPRECATION WARNING: --mathjax. This switch will be removed in the future. Please use: "--math mathjax".'
|
125
125
|
puts "If you are using a custom mathjax.config.js, please remame it to #{default_math_config}."
|
126
126
|
wiki_options[:math] = :mathjax
|
127
127
|
wiki_options[:math_config] = default_math_config
|
data/docker-run.sh
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
#!/bin/bash
|
2
2
|
|
3
|
+
# Check if /wiki directory exists and is writable
|
4
|
+
if [ ! -d "/wiki" ] || [ ! -w "/wiki" ]; then
|
5
|
+
echo "Warning: /wiki directory does not exist or is not writable. Adjust permissions to mapped host volume."
|
6
|
+
else
|
7
|
+
echo "The /wiki directory exists and is writable."
|
8
|
+
fi
|
9
|
+
|
3
10
|
# Initialize the wiki
|
4
11
|
if [ ! -d .git ] && [ "$(git rev-parse --is-bare-repository 2>/dev/null)" != "true" ]; then
|
5
12
|
git init
|
@@ -14,4 +21,4 @@ if [ ${GOLLUM_AUTHOR_EMAIL:+1} ]; then
|
|
14
21
|
fi
|
15
22
|
|
16
23
|
# Start gollum service
|
17
|
-
exec gollum $@
|
24
|
+
exec gollum $@
|
data/gollum.gemspec
CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
|
|
3
3
|
s.required_ruby_version = '>= 2.6'
|
4
4
|
|
5
5
|
s.name = 'gollum'
|
6
|
-
s.version = '6.0
|
6
|
+
s.version = '6.1.0'
|
7
7
|
s.license = 'MIT'
|
8
8
|
|
9
9
|
s.summary = 'A simple, Git-powered wiki.'
|
@@ -80,12 +80,12 @@ Gem::Specification.new do |s|
|
|
80
80
|
lib/gollum/public/assets/app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css.gz
|
81
81
|
lib/gollum/public/assets/criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css
|
82
82
|
lib/gollum/public/assets/criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css.gz
|
83
|
-
lib/gollum/public/assets/editor-
|
84
|
-
lib/gollum/public/assets/editor-
|
83
|
+
lib/gollum/public/assets/editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js
|
84
|
+
lib/gollum/public/assets/editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js.gz
|
85
85
|
lib/gollum/public/assets/gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js
|
86
86
|
lib/gollum/public/assets/gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js.gz
|
87
|
-
lib/gollum/public/assets/gollum.mermaid-
|
88
|
-
lib/gollum/public/assets/gollum.mermaid-
|
87
|
+
lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js
|
88
|
+
lib/gollum/public/assets/gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js.gz
|
89
89
|
lib/gollum/public/assets/katex/dist/fonts/KaTeX_AMS-Regular.woff2
|
90
90
|
lib/gollum/public/assets/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2
|
91
91
|
lib/gollum/public/assets/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2
|
@@ -1 +1 @@
|
|
1
|
-
{"files":{"app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js":{"logical_path":"app.js","mtime":"2024-
|
1
|
+
{"files":{"app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js":{"logical_path":"app.js","mtime":"2024-11-19T15:21:21-08:00","size":192041,"digest":"05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113","integrity":"sha256-Ba3KMvj08+/+EPj0zybf1qQZuphrzmDT9RqX5AVdQRM="},"editor-5ac2983673c8540e50683c3ae37f1635882e94a04a1e823776a663740fdb3aa7.js":{"logical_path":"editor.js","mtime":"2024-04-16T09:10:02+02:00","size":859495,"digest":"5ac2983673c8540e50683c3ae37f1635882e94a04a1e823776a663740fdb3aa7","integrity":"sha256-WsKYNnPIVA5QaDw6438WNYgulKBKHoI3dqZjdA/bOqc="},"gollum.mermaid-ccc590b7d9655deec94c9975f25d74fbe38f703c927e26cf81169d63fea7cd50.js":{"logical_path":"gollum.mermaid.js","mtime":"2024-04-16T09:10:02+02:00","size":3322948,"digest":"ccc590b7d9655deec94c9975f25d74fbe38f703c927e26cf81169d63fea7cd50","integrity":"sha256-zMWQt9llXe7JTJl18l10++OPcDySfibPgRadY/6nzVA="},"gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js":{"logical_path":"gollum.katex.js","mtime":"2024-11-19T15:21:21-08:00","size":277670,"digest":"e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68","integrity":"sha256-5wwdUaCOv+dZ7suzP77VTzAMzX+40OhuJRyq9OUPa2g="},"app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css":{"logical_path":"app.css","mtime":"2024-11-19T15:21:21-08:00","size":830320,"digest":"e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e","integrity":"sha256-4iSzddgk8BcfySbWJNwIh79FPbg/SFsZkrwIWcQRDj4="},"criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css":{"logical_path":"criticmarkup.css","mtime":"2024-11-19T15:21:21-08:00","size":643,"digest":"7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405","integrity":"sha256-e2b3pTuFS8nkFovltHJco44rxunEHVwFCp9g2alMtAU="},"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css":{"logical_path":"print.css","mtime":"2024-11-19T15:21:21-08:00","size":75,"digest":"512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb","integrity":"sha256-USSYw2i+DT+xuhBd+oQomuSDgOyfy++Ui9TiOwsJW/s="},"katex/dist/katex-709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f.css":{"logical_path":"katex/dist/katex.css","mtime":"2024-11-19T15:21:21-08:00","size":23381,"digest":"709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f","integrity":"sha256-cJ1BkcTwBVFqcJN3955GjTQ/TmyRoppv8YjRPRJLpV8="},"editor-52c4e18ed80e69236a112b7a226635e8179d790f2c458341af2ed295b260c25c.js":{"logical_path":"editor.js","mtime":"2024-11-09T16:06:31-05:00","size":859489,"digest":"52c4e18ed80e69236a112b7a226635e8179d790f2c458341af2ed295b260c25c","integrity":"sha256-UsThjtgOaSNqESt6ImY16BedeQ8sRYNBry7SlbJgwlw="},"gollum.mermaid-845d23a58401ae1e6573d87a9a050b1f5cea01a0d5b1adc9803194d35cb3e5d5.js":{"logical_path":"gollum.mermaid.js","mtime":"2024-11-09T16:06:31-05:00","size":2547926,"digest":"845d23a58401ae1e6573d87a9a050b1f5cea01a0d5b1adc9803194d35cb3e5d5","integrity":"sha256-hF0jpYQBrh5lc9h6mgULH1zqAaDVsa3JgDGU01yz5dU="},"editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js":{"logical_path":"editor.js","mtime":"2024-11-19T15:21:21-08:00","size":859503,"digest":"9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52","integrity":"sha256-m+9UYrtdri24TW2NU0tVxbtaQw4RNEs8I/nqRBAxL1I="},"gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js":{"logical_path":"gollum.mermaid.js","mtime":"2024-11-19T15:21:21-08:00","size":2547934,"digest":"06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3","integrity":"sha256-Bv0vVJQZnbJQYYBDMSwndwcgUEtQw/bKmdLS31KcfaM="}},"assets":{"app.js":"app-05adca32f8f4f3effe10f8f4cf26dfd6a419ba986bce60d3f51a97e4055d4113.js","editor.js":"editor-9bef5462bb5dae2db84d6d8d534b55c5bb5a430e11344b3c23f9ea4410312f52.js","gollum.mermaid.js":"gollum.mermaid-06fd2f5494199db250618043312c27770720504b50c3f6ca99d2d2df529c7da3.js","gollum.katex.js":"gollum.katex-e70c1d51a08ebfe759eecbb33fbed54f300ccd7fb8d0e86e251caaf4e50f6b68.js","app.css":"app-e224b375d824f0171fc926d624dc0887bf453db83f485b1992bc0859c4110e3e.css","criticmarkup.css":"criticmarkup-7b66f7a53b854bc9e4168be5b4725ca38e2bc6e9c41d5c050a9f60d9a94cb405.css","print.css":"print-512498c368be0d3fb1ba105dfa84289ae48380ec9fcbef948bd4e23b0b095bfb.css","katex/dist/katex.css":"katex/dist/katex-709d4191c4f005516a709377f79e468d343f4e6c91a29a6ff188d13d124ba55f.css"}}
|
Binary file
|
Binary file
|