All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Now compatible with MySQL/MariaDB
- Github issue #3
- Rename Thoth to Rethoth in some boilerplate text
- Released gem to Rubygems.org as Rethoth
- Upgraded dependencies to
rake-12.0.0
due toRuby 2.4
- Renamed the project to Rethoth due to Rubygems project name clashes
- Renamed Thoth in documentation
0.4.0 - 2017-06-07
- Tested with Ruby 2.4.0
- Tested with Sequel 4.46.0
- Updated the documentation with minor edits
- Welcome to 2017!
- Forked on January 9th 2017.
- It seems that the original code which I forked was last updated on 2012/11/28.
- Thank you Ryan Grove (@rgrove) for Thoth :-)
- This CHANGELOG
- Added John Pagonis (@pagojo) to copyright messages.
- Added the BSD-3-Clause licence to the GemSpec in the Rakefile
Thoth::filesize_format
- README
- Requires Ruby 2.3.0
- Requires Ramaze 2012.12.08
- Requires Innate 2015.10.28
- Requires Sequel 4.42.0
- Requires Rake 11.2.2
- Documentation (see wiki)
- Updated
Thoth::APP_VERSION
and the version.rb - Updated HISTORY with latest deps
- Update the GemSpecs authors to include both Ryan and John
- fixed
add_runtime_dependency
- Corrected gemspec runtime dependencies. Specifying a strict gem requirement for Ramaze and Innate from the main code was removed since the gemspec should handle this, unless there is a very good reasondo do it explicitly from the code (which there was none).
- Updated the Rakefile
- Moved the main controller view inside
view/thoth/
because Innate expects a main controller which belongs to a module to be in a subpath named after that module. Basically these daysModule::MainController
should map to/module
.
This also fixed "no index page found for MainController" - Fixed innate rendering of Admin
MainController
-> "No Action:css
onThoth::MainController
"
It didn't find the views required from thelayout
. When the MainController views are moved into theview/thoth
folder it works - Moved the util views inside
views/thoth/util
and revisited all views that use Main controller util views and updated their paths
This also fixes all calls from within views to Thoth::MainController.render_view('util/helper_view_x') calls which were failing - Fixed media file upload: In media.rhtml (NoMethodError at /media/edit/1 , undefined method
filesize_format
)
removed filesize_format for now and addedThoth::filesize_format
- Fixed media list:
NoMethodError
at/media/list
undefined methodfilesize_format
for Fixnum
filesize_format
seems to have moved to rack from Ramaze and then disappeared? It has moved to theRack::Directory
middleware. UsedThoth::filesize_format
instead - Fixed
NoMethodError
: undefined methoddesc
for:created_at:Symbol
onpost/list
This was due to theSequel.desc
incompatibility between Thoth and newer Sequel - Finally gave up and fixed
map '/'
inMainController
- Fixed
NoMethodError
at/page/list
, undefined methodpaginate
forThoth::Page:Class
Refactored to use the Sequel pagination plugin and reordered the location of pagination
@pages = Page.order(@order == :desc ? Sequel.desc(@sort) : @sort).paginate(page, 20)
Used Sequel.desc
- Fixed
NoMethodError
at/comment/list
, undefined methodpaginate
forThoth::Comment:Class
Refactored to use the Sequel pagination plugin - Fixed
NoMethodError
at/media/list
, undefined methodpaginate
forThoth::Media:Class
- Fixed Login, At the moment
auth_key_valid?
seemed not to work due tocookie(:thoth_auth)
being empty
The correct credentials seem to be recognised on the Admin::login action
Cookie setting didn't work because the path given to the cookie was/thoth/
and not'/'
This needs to be revisited and probably refactored in the Cookie Helper - Fixed
page/new
to set the right cookie path to'/'
It did not render the form because theauth_key_valid?
failed and the path for thethoth_auth
cookie was set to/admin
because the default path setting was the path of the controller it was set in - Fixed
page/preview
to set the right cookie path to'/'
theform_token_valid?
failed to authenticate due toform_token
because theform_token
cookie didn't seem exist.
Again the problem was the path of the cookie which was set to the MainController. This is a problem because the main controller does not get wired on '/', so the assumption is broken. - Fixed
NoMethodError
: undefined methodpaginate
inlib/thoth/model/post.rb:84
:inrecent
"
Refactored to use the Sequel Pagination extension. - Updated to the latest Ramaze Middleware API
- Update to the latest rack middleware wiring
- Fixed
Model/Page
incompatibility with latest Sequel - Updated
Rakefile
to modern rake. - Wiki documentation regarding custom themes
- The HISTORY file is now there for ....historic reasons
require 'rubygems'
was removed from the code- Twitter plugin
- Thoth logo