52 Commits

Author SHA1 Message Date
BenClaw f3369b8fa9 Bump to 4.0.0 — switch from simply_stored to simply_couch
BREAKING: Models now use SimplyCouch::Model instead of SimplyStored::Couch.
Gem dependency changed from simply_stored to simply_couch.
devise_simply_stored → devise_simply_couch.
2026-06-07 18:25:28 +02:00
BenClaw 74cbca706b Switch from simply_stored to simply_couch
- All models: SimplyStored::Couch → SimplyCouch::Model
- Gemfile: simply_stored → simply_couch
- devise_simply_stored → devise_simply_couch
- Remove stale couch_potato require (not used)
2026-06-07 18:24:21 +02:00
BenClaw 4ae6e557b6 refactor: has_attachment moved to simply_stored gem
Remove from cmtool lib/ — it's a SimplyStored module with no
cmtool dependency. Now required from simply_stored directly.
2026-05-30 20:57:49 +02:00
BenClaw 1785e9ca0b chore: keep JSON parse setter as safety net until couch_potato updated 2026-05-30 20:44:14 +02:00
BenClaw 24415b64c0 refactor: use type: Hash for page_settings (coercion in couch_potato) 2026-05-30 20:43:25 +02:00
BenClaw 548a227617 feat: add page_settings JSON property + ACE JSON mode
- Add property :page_settings (Hash, default {}) to Page model
- JSON.parse string input in setter (form submits as text)
- Add collapsible 'Page Settings (JSON)' section to page form
- Support data-mode='json' attribute for ACE editor
  (html_edit.js.coffee: check textarea data-mode attribute)
2026-05-30 20:33:15 +02:00
BenClaw 37cbb428c6 Add SimplyStored::HasAttachment — Paperclip replacement for CouchDB
- New module lib/simply_stored/has_attachment.rb
  Drop-in replacement using MiniMagick for thumbnail generation.
  Same file paths as Paperclip — zero migration of existing files.
  Auto-declares CouchDB properties for attachment metadata.
  Proxy object mimics Paperclip::Attachment API for view compat.
- Wired into lib/cmtool.rb
- Added TODO migration comments to Image, News, Quote models
2026-05-18 04:41:56 +02:00
bterkuile 1a1edf675b ensure return even if not found does not return tru 2026-02-08 20:02:27 -05:00
bterkuile 69a0291ab7 Forgot to commit long used code, see what happens 2026-02-04 14:25:50 -05:00
bterkuile 647cc38bad Better ruby3 forwarding for localization and have a default locale of en 2025-09-25 17:47:17 -05:00
bterkuile fc3c2f268a Fixes for rails 8 support 2025-08-27 11:55:13 -05:00
bterkuile a451ea622a Fase out bourbon 2025-02-13 11:44:53 -05:00
bterkuile 54e295836f Move autoload constant using initializer to after_initialize in application load order for zeitwerk 2022-09-19 08:14:59 -05:00
bterkuile 30e5a72dc0 More explicit initializer for rails 7 compatibility 2022-09-11 08:47:20 -05:00
bterkuile 3aa204aa30 Changes for mozo host 2020-03-05 11:36:19 -05:00
bterkuile 23bd4c9a58 better 404 handling by forcing html format for unknowns 2016-06-15 12:48:58 +02:00
bterkuile cb77ce5921 upgrade and force html responses 2016-06-02 20:09:51 +02:00
bterkuile b327bf596b Bump version to 2 2015-07-22 17:58:32 +02:00
bterkuile 1d5dd62c68 Display full url in sitemap 2015-07-14 14:14:37 +02:00
bterkuile 42cc5afe6d Update dependencies, feature specs and sitemap 2015-07-14 14:11:33 +02:00
bterkuile 6a191e5d07 Add template support 2015-03-07 21:19:34 +01:00
bterkuile c3c4c09c4a fast fix 2015-03-07 17:17:30 +01:00
bterkuile 3d98bcc89b Use ace to edit pages, and ass yml_files and preview setup 2015-03-07 16:56:07 +01:00
bterkuile 829921d382 Formatted source editing and sitemap overload option 2015-03-06 09:59:43 +01:00
bterkuile 323e68bcad With working specs 2015-01-13 16:59:53 +01:00
bterkuile 978832bf25 Use configured available locales 2015-01-13 16:56:06 +01:00
bterkuile a4bef656cc Depricate haml 2014-12-11 13:41:09 +01:00
bterkuile b6fec4f880 Add sitemap functionality and better documentation 2014-11-05 20:21:57 +01:00
bterkuile af57f93892 stringify i18n locale 2014-07-09 18:03:01 +02:00
bterkuile cc8ba8f005 spec updates 2014-04-29 15:53:16 +02:00
bterkuile b67280eb31 Debourbonify cmtool 2014-04-29 13:17:04 +02:00
bterkuile 370aa0369e Fix page namespacing 2013-03-03 13:58:56 +01:00
bterkuile bab1f3b949 Update README and add top_menu accessor for page 2013-03-03 13:56:12 +01:00
bterkuile 42bad2fb7e Explicitly require tinymce-rails in the engine 2013-03-03 12:30:56 +01:00
bterkuile 7fca504195 Fix bug and add covering tests 2012-12-26 21:01:29 +01:00
bterkuile bf83d33527 add engine link option 2012-12-26 20:45:22 +01:00
bterkuile 55efff20a8 additions for extra security and plugin integration, based on couch_i18n development 2012-12-17 15:57:13 +01:00
bterkuile c1ff4a9e50 refactor for better plugin integration 2012-12-17 14:19:04 +01:00
bterkuile e02a93bda1 cleaner menu layout, moved into partial 2012-12-15 12:53:03 +01:00
bterkuile 90fd490909 change load behaviour in a better engine way and add more tests 2012-12-14 18:19:04 +01:00
bterkuile aa55a7081d fix helper inclusion 2012-12-13 17:18:59 +01:00
bterkuile cde1037871 remove less dependency and require relative helpers 2012-12-13 16:29:05 +01:00
bterkuile 44e078ac69 untested test update 2012-11-25 16:32:48 +01:00
bterkuile 545a2b66e6 new stuff 2012-11-25 15:41:02 +01:00
bterkuile d4652bdf74 boost version 2012-11-25 11:49:27 +01:00
bterkuile 58f7ba93b6 migrate to new menu handling system 2012-11-25 09:52:46 +01:00
bterkuile e71ab89984 fix failing tests, ugly solution that should be handled by rspec in the future 2012-06-25 11:02:47 +02:00
bterkuile 0a10dada4d fix cmtool pages index 2012-06-22 13:32:05 +02:00
bterkuile 2ef63f0517 initialize test framenwork and add form handlers for newsletter and contact forms 2012-04-02 18:04:47 +02:00
bterkuile 664b001e5c add changes 2012-03-28 15:47:20 +02:00