Skip to content

Commit

Permalink
Add Markdown editor to admin area
Browse files Browse the repository at this point in the history
  • Loading branch information
dNitza committed Sep 29, 2024
1 parent 37a4508 commit be63fb4
Show file tree
Hide file tree
Showing 12 changed files with 2,039 additions and 60 deletions.
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

ruby "3.3.0"
ruby "3.3.5"

gem "hanami", "~> 2.2.0.beta"
gem "hanami-router", "~> 2.2.0.beta"
Expand Down Expand Up @@ -57,7 +57,6 @@ gem "mail"
gem "que"
gem "connection_pool"
gem "image_processing", "~> 1.0"
gem "mini_magick"
gem "unicode-emoji"

gem "mail_room", github: "dNitza/mail_room", branch: "master"
Expand All @@ -83,7 +82,7 @@ group :development do
gem "bcrypt_pbkdf"
gem "hanami-webconsole", "~> 2.2.0.beta"
gem "guard-puma"
gem "standardrb"
gem "standard", ">= 1.35.1"
gem "capistrano", "~> 3.7", require: false
gem "capistrano-bundler"
gem "capistrano-systemd-multiservice"
Expand All @@ -98,3 +97,7 @@ group :test do
gem "database_cleaner-sequel"
gem "timecop"
end

gem "phlex", github: "phlex-ruby/phlex", branch: "main"

gem "mini_magick", "~> 4.13"
109 changes: 57 additions & 52 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ GIT
specs:
ruby-filemagic (0.7.3)

GIT
remote: https://github.com/phlex-ruby/phlex.git
revision: 739cb8df74e5b5f5a2d119f699f8ece8f098c133
branch: main
specs:
phlex (2.0.0.beta2)

GIT
remote: https://github.com/seuros/capistrano-puma.git
revision: 9cd5e5df4dec324d75493d24b498d91285ddea9e
Expand All @@ -49,7 +56,7 @@ GEM
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
airbrussh (1.5.2)
airbrussh (1.5.3)
sshkit (>= 1.6.1, != 1.7.0)
ast (2.4.2)
babosa (2.0.0)
Expand Down Expand Up @@ -97,7 +104,7 @@ GEM
debug_inspector (1.2.0)
diff-lcs (1.5.1)
domain_name (0.6.20240107)
dotenv (3.1.2)
dotenv (3.1.4)
down (5.4.2)
addressable (~> 2.8)
drb (2.2.1)
Expand Down Expand Up @@ -145,7 +152,7 @@ GEM
dry-types (>= 1.7, < 2)
ice_nine (~> 0.11)
zeitwerk (~> 2.6)
dry-system (1.1.0.beta1)
dry-system (1.1.0.beta2)
dry-auto_inject (~> 1.0)
dry-configurable (~> 1.0)
dry-core (~> 1.0)
Expand All @@ -169,7 +176,7 @@ GEM
erubi (1.13.0)
faker (3.4.2)
i18n (>= 1.8.11, < 2)
faraday (1.10.3)
faraday (1.10.4)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -216,40 +223,40 @@ GEM
guard-compat (~> 1.2)
puma (>= 4.0, < 7)
guess_html_encoding (0.0.11)
hanami (2.2.0.beta1)
hanami (2.2.0.beta2)
bundler (>= 1.16, < 3)
dry-configurable (~> 1.0, >= 1.2.0, < 2)
dry-core (~> 1.0, < 2)
dry-inflector (~> 1.0, >= 1.1.0, < 2)
dry-logger (~> 1.0, < 2)
dry-monitor (~> 1.0, >= 1.0.1, < 2)
dry-system (= 1.1.0.beta1)
hanami-cli (= 2.2.0.beta1)
dry-system (= 1.1.0.beta2)
hanami-cli (= 2.2.0.beta2)
hanami-utils (~> 2.2.beta)
zeitwerk (~> 2.6)
hanami-assets (2.2.0.beta1)
hanami-assets (2.2.0.beta2)
zeitwerk (~> 2.6)
hanami-cli (2.2.0.beta1)
hanami-cli (2.2.0.beta2)
bundler (~> 2.1)
dry-cli (~> 1.0, >= 1.1.0)
dry-files (~> 1.0, >= 1.0.2, < 2)
dry-inflector (~> 1.0, < 2)
rake (~> 13.0)
zeitwerk (~> 2.6)
hanami-controller (2.2.0.beta1)
hanami-controller (2.2.0.beta2)
dry-configurable (~> 1.0, < 2)
dry-core (~> 1.0)
hanami-utils (~> 2.2.beta)
rack (~> 2.0)
zeitwerk (~> 2.6)
hanami-db (2.2.0.beta1)
hanami-db (2.2.0.beta2)
rom (~> 5.3)
rom-sql (~> 3.6, >= 3.6.4)
zeitwerk (~> 2.6)
hanami-reloader (2.2.0.beta1)
hanami-reloader (2.2.0.beta2)
hanami-cli (~> 2.2.beta)
zeitwerk (~> 2.6)
hanami-router (2.2.0.beta1)
hanami-router (2.2.0.beta2)
mustermann (~> 3.0)
mustermann-contrib (~> 3.0)
rack (~> 2.0)
Expand All @@ -258,21 +265,20 @@ GEM
rake (~> 13.0)
rspec (~> 3.12)
zeitwerk (~> 2.6)
hanami-utils (2.2.0.beta1)
hanami-utils (2.2.0.beta2)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0, < 2)
dry-transformer (~> 1.0, < 2)
hanami-validations (2.2.0.beta1)
hanami-validations (2.2.0.beta2)
dry-validation (>= 1.10, < 2)
zeitwerk (~> 2.6.0)
hanami-view (2.2.0.beta1)
hanami-view (2.2.0.beta2)
dry-configurable (~> 1.0)
dry-core (~> 1.0)
dry-inflector (~> 1.0, < 2)
temple (~> 0.10.0, >= 0.10.2)
tilt (~> 2.3)
zeitwerk (~> 2.6)
hanami-webconsole (2.2.0.beta1)
hanami-webconsole (2.2.0.beta2)
better_errors (~> 2.10, >= 2.10.1)
binding_of_caller (~> 1.0)
hansi (0.2.1)
Expand All @@ -284,18 +290,18 @@ GEM
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.14.5)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
image_processing (1.13.0)
mini_magick (>= 4.9.5, < 5)
ruby-vips (>= 2.0.17, < 3)
io-console (0.7.2)
irb (1.14.0)
irb (1.14.1)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.2)
jwt (2.8.2)
jwt (2.9.1)
base64
language_server-protocol (3.17.0.3)
lastfm (1.27.4)
Expand All @@ -305,7 +311,7 @@ GEM
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.6.0)
logger (1.6.1)
lumberjack (1.2.10)
mail (2.8.1)
mini_mime (>= 0.1.1)
Expand All @@ -316,20 +322,20 @@ GEM
method_source (1.1.0)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2024.0820)
mime-types-data (3.2024.0903)
mini_magick (4.13.2)
mini_mime (1.1.5)
minitest (5.25.1)
multi_xml (0.7.1)
bigdecimal (~> 3.1)
multipart-post (2.4.1)
mustermann (3.0.2)
mustermann (3.0.3)
ruby2_keywords (~> 0.0.1)
mustermann-contrib (3.0.2)
mustermann-contrib (3.0.3)
hansi (~> 0.2.0)
mustermann (= 3.0.2)
mustermann (= 3.0.3)
nenv (0.3.0)
net-imap (0.4.14)
net-imap (0.4.16)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -367,18 +373,19 @@ GEM
omdb-api (1.4.3)
activesupport
httparty
ostruct (0.6.0)
parallel (1.26.3)
parser (3.3.4.2)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pg (1.5.7)
pg (1.5.8)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.2)
stringio
public_suffix (6.0.1)
puma (6.4.2)
puma (6.4.3)
nio4r (~> 2.0)
que (2.4.0)
racc (1.8.1)
Expand All @@ -405,7 +412,7 @@ GEM
redis-client (0.22.2)
connection_pool
regexp_parser (2.9.2)
reline (0.5.9)
reline (0.5.10)
io-console (~> 0.5)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
Expand All @@ -414,8 +421,7 @@ GEM
netrc (~> 0.8)
reverse_markdown (2.1.1)
nokogiri
rexml (3.3.6)
strscan
rexml (3.3.8)
rom (5.3.2)
rom-changeset (~> 5.3, >= 5.3.0)
rom-core (~> 5.3, >= 5.3.2)
Expand Down Expand Up @@ -448,14 +454,14 @@ GEM
dry-types (~> 1.0)
rom (~> 5.2, >= 5.2.1)
sequel (>= 4.49)
rouge (4.3.0)
rouge (4.4.0)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-core (3.13.1)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.2)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
Expand All @@ -473,13 +479,13 @@ GEM
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.1)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
ruby-readability (0.7.1)
ruby-readability (0.7.2)
guess_html_encoding (>= 0.0.4)
nokogiri (>= 1.6.0)
ruby-vips (2.2.2)
Expand All @@ -490,7 +496,7 @@ GEM
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
securerandom (0.3.1)
sequel (5.83.1)
sequel (5.84.0)
bigdecimal
shellany (0.0.1)
simple-rss (1.3.3)
Expand All @@ -500,11 +506,12 @@ GEM
snaky_hash (2.0.1)
hashie
version_gem (~> 1.1, >= 1.1.1)
sshkit (1.23.0)
sshkit (1.23.1)
base64
net-scp (>= 1.1.2)
net-sftp (>= 2.1.2)
net-ssh (>= 2.8.0)
ostruct
standard (1.40.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
Expand All @@ -517,26 +524,23 @@ GEM
standard-performance (1.4.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.21.0)
standardrb (1.0.1)
standard
steam-api (1.2.0)
faraday (~> 1.0)
stringio (3.1.1)
strscan (3.1.0)
temple (0.10.3)
thor (1.3.1)
thor (1.3.2)
tilt (2.4.0)
time_math2 (0.1.1)
timecop (0.9.10)
timeout (0.4.1)
transproc (1.1.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
unicode-emoji (3.4.0)
unicode-display_width (2.6.0)
unicode-emoji (3.5.0)
unicode-version (~> 1.0)
unicode-version (1.4.0)
vernier (1.1.2)
vernier (1.2.1)
version_gem (1.1.4)
warning (1.4.0)
whenever (1.0.0)
Expand All @@ -547,7 +551,7 @@ GEM
date
httparty
json (>= 2.0)
zeitwerk (2.6.17)
zeitwerk (2.6.18)

PLATFORMS
arm64-darwin-23
Expand Down Expand Up @@ -597,10 +601,11 @@ DEPENDENCIES
mail
mail_room!
matrix
mini_magick
mini_magick (~> 4.13)
ogpr
omdb-api (= 1.4.3)
pg
phlex!
puma
que
rack-attack (~> 6.7)
Expand All @@ -621,7 +626,7 @@ DEPENDENCIES
sanitize
scraperd!
slim
standardrb
standard (>= 1.35.1)
steam-api
time_math2
timecop
Expand All @@ -631,7 +636,7 @@ DEPENDENCIES
whenever

RUBY VERSION
ruby 3.3.0p0
ruby 3.3.5p100

BUNDLED WITH
2.3.22
2.5.18
Loading

0 comments on commit be63fb4

Please sign in to comment.