aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31 from albertoalmagro/remove-variable-shadowingGeorge Claghorn2018-10-131-8/+8
|\ | | | | Rename shadowed variable
| * Rename shadowed variableAlberto Almagro2018-10-131-8/+8
| | | | | | | | This commit renames shadowed variable `attributes`.
* | Remove unused **optionsAlberto Almagro2018-10-131-3/+3
|/ | | | | | I'm not sure if this is going to be used in the future or not, but for the time being we shouldn't maintain parameters that we aren't using. We can always add them later when needed.
* <active-text-attachment> -> <action-text-attachment>George Claghorn2018-10-121-1/+1
|
* APPLICATION_PATH_PATH -> APPLICATION_PACK_PATHGeorge Claghorn2018-10-121-3/+3
|
* Fix typoswamp092018-10-121-1/+1
|
* Privatize constantsAlberto Almagro2018-10-111-4/+5
| | | | | This constants meant to be private but `private_constant` was missing, this commit makes them fully private by adding `private_constant`.
* Add frozen_string_literal: trueAlberto Almagro2018-10-0818-0/+36
| | | | Adds frozen_string_literal: true comment on top of all currently existing files
* Fix minor typo in code commentven2018-10-061-1/+1
|
* Fix has_rich_text with `:body` keywords error. (#16)Jason Lee2018-10-051-1/+1
|
* Delegate string methods to contentJavan Makhmali2018-10-041-1/+1
| | | | Closes #11
* Install Active Storage extension lazilyGeorge Claghorn2018-10-031-3/+1
| | | | Avoid eagerly loading Active Record during app boot. Reinstall the extension when ActiveStorage::Blob is reloaded in dev.
* The world is our stageDavid Heinemeier Hansson2018-10-031-1/+1
|
* Fix image gallery stylesJavan Makhmali2018-10-033-10/+39
|
* Move attachment rendering to a helperJavan Makhmali2018-10-032-18/+3
| | | | Fixes #5
* WIP: Image gallery supportJavan Makhmali2018-10-033-7/+121
|
* Add support for "presentation" gallery attributeJavan Makhmali2018-10-032-4/+5
|
* Fill in Attachable rich text attributesJavan Makhmali2018-10-031-1/+17
|
* Copy over the blobs/_blob partial so it can be specializedDavid Heinemeier Hansson2018-10-021-0/+4
|
* Add import statement to default pack file if relevantDavid Heinemeier Hansson2018-10-021-0/+9
|
* Use an app template installer instead for nicer overwriting checksDavid Heinemeier Hansson2018-10-022-26/+15
|
* Add via yarn in the installerDavid Heinemeier Hansson2018-10-021-1/+6
|
* No need for the verbose warningDavid Heinemeier Hansson2018-10-021-6/+2
|
* Fix <h1> plain text conversionJavan Makhmali2018-10-021-1/+1
| | | | Fixes #4
* active → actionJavan Makhmali2018-10-021-1/+1
|
* Fix that both migrations wouldnt be copied over because ↵David Heinemeier Hansson2018-10-011-7/+5
| | | | railties:install:migrations could only be invoked once per run
* Ruby Active Storage install last as it may halt the dependency listDavid Heinemeier Hansson2018-10-011-1/+1
|
* Use correct fixtures destination nameDavid Heinemeier Hansson2018-09-121-1/+1
|
* Add default fixtures file on installDavid Heinemeier Hansson2018-09-122-1/+18
|
* Never mind on allowing blankDavid Heinemeier Hansson2018-09-121-12/+1
| | | | More hassle than its worth. Just account for the fact that rich text can be blank instead, but continue to create the record.
* Ensure blank rich text records aren't saved or requiredDavid Heinemeier Hansson2018-09-122-2/+15
|
* You cant run Action Text without Active Storage setup, so lets just set it ↵David Heinemeier Hansson2018-07-301-1/+1
| | | | up for you, rather than ask you to.
* #render already provides something html_safeDavid Heinemeier Hansson2018-06-071-1/+1
|
* Move the escaping choice to the layoutDavid Heinemeier Hansson2018-06-071-1/+1
|
* Some basic documentation for the has_rich_text macroDavid Heinemeier Hansson2018-06-071-0/+18
|
* Add scope to preload embeds as wellDavid Heinemeier Hansson2018-06-071-0/+1
|
* Provide to_html rendering within a layout and use that as the to_s defaultDavid Heinemeier Hansson2018-06-071-1/+5
| | | | | I like the idea of thinking about the rendering as happening within a layout. Since that’s basically what this wrapper is. Thoughts @javan?
* By default, coercing to a string should produce a formatted outputDavid Heinemeier Hansson2018-06-051-1/+1
| | | | | | | Open to other ways of doing this, but didn’t want to require embedding the trix-content class inside the actual HTML that Trix persists. So this seemed like a reasonable alternative. Thoughts @javan or @sstephenson?
* Add installer that copies migration and stylesheet linkDavid Heinemeier Hansson2018-05-292-0/+35
|
* Destroy rich text dependentsDavid Heinemeier Hansson2018-05-291-1/+1
|
* Auto-save changes to rich text modelDavid Heinemeier Hansson2018-05-281-12/+2
|
* Lazy initialization of rich text modelDavid Heinemeier Hansson2018-05-281-1/+1
|
* WIPDavid Heinemeier Hansson2018-04-131-7/+24
|
* Rename from Active Text to Action TextDavid Heinemeier Hansson2018-04-1318-54/+54
| | | | This is more like Action View than Active Model.
* Content has already been through a whitelistDavid Heinemeier Hansson2018-04-131-1/+1
|
* Relieve the need for having to manually set a before_action in ↵David Heinemeier Hansson2018-04-131-0/+7
| | | | ApplicationController
* Use rich_text instead of active_textDavid Heinemeier Hansson2018-04-133-4/+4
| | | | Just like we use has_many_attachments instead of active_storage_attachements.
* Isolated engines don't expose their helpers, so noJavan Makhmali2018-02-141-2/+0
|
* Create ASt::Attachment records for ASt::Blobs in contentJavan Makhmali2018-02-141-0/+7
|
* Make renderer configurableJavan Makhmali2018-02-144-2/+10
|