crabgrass issueshttps://0xacab.org/liberate/crabgrass/-/issues2017-09-07T08:22:57Zhttps://0xacab.org/liberate/crabgrass/-/issues/9Asset type related 500s2017-09-07T08:22:57ZazulAsset type related 500sDuring the last rewrite i changed the asset subclass naming scheme. Now ImageAsset is Asset::Image. This also required an update to the type column in the assets table. This migration has been applied. However I still see errors about wr...During the last rewrite i changed the asset subclass naming scheme. Now ImageAsset is Asset::Image. This also required an update to the type column in the assets table. This migration has been applied. However I still see errors about wrong asset types in the logs occasionally. Maybe this is due to a polymorphic relation?azulazulhttps://0xacab.org/liberate/crabgrass/-/issues/19email notifications are broken2019-05-15T14:36:31Zazulemail notifications are brokenhttps://0xacab.org/liberate/crabgrass/-/issues/33utf8 error in page creation2018-02-13T07:51:52Zazulutf8 error in page creation<pre>
Processing by Page::CreateController#new as */*
Parameters: {"context_id"=>"abc+redacted", "id"=>"!\xC2\xA1\xC2\xA1asdf", "owner"=>"abc+redacted", "type"=>"wiki", "page"=>{"title"=>"[FILTERED]"}}
Rendered ui/_author.html.haml (...<pre>
Processing by Page::CreateController#new as */*
Parameters: {"context_id"=>"abc+redacted", "id"=>"!\xC2\xA1\xC2\xA1asdf", "owner"=>"abc+redacted", "type"=>"wiki", "page"=>{"title"=>"[FILTERED]"}}
Rendered ui/_author.html.haml (1.0ms)
Rendered page/create/_title.html.erb (2.1ms)
Rendered ui/_author.html.haml (0.9ms)
Rendered page/create/_summary.html.erb (1.7ms)
Rendered page/create/_tags.html.erb (3.7ms)
Rendered ui/_author.html.haml (0.8ms)
Rendered page/shares/_list_of_recipients.html.haml (1.7ms)
Rendered page/shares/_add_recipient_widget.html.haml (11.7ms)
Rendered page/create/_sharing.html.erb (17.1ms)
Rendered page/create/_new_form.html.haml (41.5ms)
Rendered page/create/new.html.haml within layouts/application (46.3ms)
Completed 500 Internal Server Error in 66ms (ActiveRecord: 0.6ms)
ActionView::Template::Error (incompatible character encodings: ASCII-8BIT and UTF-8):
16: .create_page
17: = form_tag(create_page_path(page_type: page_type), multipart: @multipart) do
18: = hidden_field_tag 'page_type', page_type
19: = formy(:horizontal_form) do |form|
20: - @form_sections.each do |section|
21: = render section.to_s, form: form
22: = render 'sharing', form: form
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/buffer.rb:8:in `<<'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/element.rb:65:in `raw_puts'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/horizontal_form.rb:66:in `block in close'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/horizontal_form.rb:66:in `each'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/horizontal_form.rb:66:in `close'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/helper.rb:10:in `formy'
app/views/page/create/_new_form.html.haml:19:in `block in _app_views_page_create__new_form_html_haml___4183557255828308916_47522440'
app/views/page/create/_new_form.html.haml:17:in `_app_views_page_create__new_form_html_haml___4183557255828308916_47522440'
app/views/page/create/new.html.haml:3:in `_app_views_page_create_new_html_haml___244467670802220575_47756260'
app/controllers/common/application/before_filters.rb:19:in `render_with_view_setup'
app/controllers/page/create_controller.rb:119:in `render_new_template'
app/controllers/page/create_controller.rb:37:in `new'
app/controllers/dispatch_controller.rb:15:in `dispatch'
</pre>azulazulhttps://0xacab.org/liberate/crabgrass/-/issues/34Missing Template pages/posts/index.html2019-05-08T19:59:25ZazulMissing Template pages/posts/index.html<pre>
Started GET "/pages/xyz/posts" for 127.0.0.1 at 2017-08-14 07:02:59 +0000
Processing by Page::PostsController#index as HTML
Parameters: {"page_id"=>"xyz+2345"}
Completed 500 Internal Server Error in 83ms (ActiveRecord: 70.9ms)
A...<pre>
Started GET "/pages/xyz/posts" for 127.0.0.1 at 2017-08-14 07:02:59 +0000
Processing by Page::PostsController#index as HTML
Parameters: {"page_id"=>"xyz+2345"}
Completed 500 Internal Server Error in 83ms (ActiveRecord: 70.9ms)
ActionView::MissingTemplate (Missing template page/posts/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml, :rjs]}. Searched in:
* "/srv/crabgrass/app/views"
* "/srv/crabgrass/extensions/pages/discussion_page/app/views"
* "/srv/crabgrass/extensions/pages/asset_page/app/views"
* "/srv/crabgrass/extensions/pages/survey_page/app/views"
* "/srv/crabgrass/extensions/pages/rate_many_page/app/views"
* "/srv/crabgrass/extensions/pages/gallery_page/app/views"
* "/srv/crabgrass/extensions/pages/wiki_page/app/views"
* "/srv/crabgrass/extensions/pages/task_list_page/app/views"
* "/srv/crabgrass/extensions/pages/ranked_vote_page/app/views"
* "/srv/crabgrass/extensions/pages/event_page/app/views"
):
app/controllers/common/application/before_filters.rb:19:in `render_with_view_setup'
</pre>https://0xacab.org/liberate/crabgrass/-/issues/35NameError (uninitialized constant Context::Ghost)2019-05-03T14:51:35ZazulNameError (uninitialized constant Context::Ghost)<pre>
Started HEAD "/joquim" for 127.0.0.1 at 2017-08-14 07:40:12 +0000
Processing by Person::HomeController#show as HTML
Parameters: {"id"=>"joquim"}
Completed 500 Internal Server Error in 19ms (ActiveRecord: 12.3ms)
NameError (unini...<pre>
Started HEAD "/joquim" for 127.0.0.1 at 2017-08-14 07:40:12 +0000
Processing by Person::HomeController#show as HTML
Parameters: {"id"=>"joquim"}
Completed 500 Internal Server Error in 19ms (ActiveRecord: 12.3ms)
NameError (uninitialized constant Context::Ghost):
app/helpers/classes/context.rb:55:in `find'
app/controllers/person/base_controller.rb:18:in `setup_context'
app/controllers/common/application/before_filters.rb:18:in `render_with_view_setup'
app/controllers/dispatch_controller.rb:15:in `dispatch'
</pre>https://0xacab.org/liberate/crabgrass/-/issues/36Missing partial session/_login_form2017-08-16T07:36:17ZazulMissing partial session/_login_form<pre>
Started GET "/session/login_form" for 127.0.0.1 at 2017-08-14 08:19:40 +0000
Processing by SessionController#login_form as JS
Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.0ms)
ActionView::MissingTemplate (Missing p...<pre>
Started GET "/session/login_form" for 127.0.0.1 at 2017-08-14 08:19:40 +0000
Processing by SessionController#login_form as JS
Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.0ms)
ActionView::MissingTemplate (Missing partial session/_login_form with {:locale=>[:nl, :en], :formats=>[:js, :html, :xml, :html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml, :rjs]}. Searched in:
* "/srv/crabgrass/app/views"
* "/srv/crabgrass/extensions/pages/discussion_page/app/views"
* "/srv/crabgrass/extensions/pages/asset_page/app/views"
* "/srv/crabgrass/extensions/pages/survey_page/app/views"
* "/srv/crabgrass/extensions/pages/rate_many_page/app/views"
* "/srv/crabgrass/extensions/pages/gallery_page/app/views"
* "/srv/crabgrass/extensions/pages/wiki_page/app/views"
* "/srv/crabgrass/extensions/pages/task_list_page/app/views"
* "/srv/crabgrass/extensions/pages/ranked_vote_page/app/views"
* "/srv/crabgrass/extensions/pages/event_page/app/views"
):
app/controllers/common/application/before_filters.rb:19:in `render_with_view_setup'
app/controllers/session_controller.rb:41:in `login_form'
</pre>Prototype Prepazulazulhttps://0xacab.org/liberate/crabgrass/-/issues/37invalid param triggers 500 - should trigger 4002019-05-03T14:51:35Zazulinvalid param triggers 500 - should trigger 400<pre>
Started GET "/context/page?posts=1'A=0" for 127.0.0.1 at 2017-08-14 08:20:28 +0000
Processing by WikiPageController#show as HTML
Parameters: {"posts"=>"1'A=0", "context_id"=>"context", "id"=>"page"}
Completed 500 Internal Server ...<pre>
Started GET "/context/page?posts=1'A=0" for 127.0.0.1 at 2017-08-14 08:20:28 +0000
Processing by WikiPageController#show as HTML
Parameters: {"posts"=>"1'A=0", "context_id"=>"context", "id"=>"page"}
Completed 500 Internal Server Error in 6ms (ActiveRecord: 2.8ms)
ArgumentError (invalid value for Integer(): "1'A=0"):
app/models/page/comments.rb:22:in `posts'
app/controllers/page/before_filters.rb:74:in `load_posts'
app/controllers/dispatch_controller.rb:15:in `dispatch'
</pre>https://0xacab.org/liberate/crabgrass/-/issues/38ExceptionsController#show as JS triggers undefined method `map' for nil:NilClass2019-05-03T14:51:36ZazulExceptionsController#show as JS triggers undefined method `map' for nil:NilClass<pre>
Started GET "/static/shims.js" for 127.0.0.1 at 2017-08-14 08:28:49 +0000
Processing by ExceptionsController#show as JS
Parameters: {"context_id"=>"static", "id"=>"shims"}
Rescuing from ErrorNotFound.
Completed 500 Internal Serve...<pre>
Started GET "/static/shims.js" for 127.0.0.1 at 2017-08-14 08:28:49 +0000
Processing by ExceptionsController#show as JS
Parameters: {"context_id"=>"static", "id"=>"shims"}
Rescuing from ErrorNotFound.
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
NoMethodError (undefined method `map' for nil:NilClass):
app/controllers/common/application/rescue_errors.rb:236:in `log_exception'
app/controllers/common/application/rescue_errors.rb:227:in `render_error_js'
app/controllers/exceptions_controller.rb:16:in `block (2 levels) in show'
app/controllers/exceptions_controller.rb:10:in `show'
app/controllers/dispatch_controller.rb:15:in `dispatch'
</pre>https://0xacab.org/liberate/crabgrass/-/issues/39page/history/show missing partial pages/history/_show2017-09-14T16:17:42Zazulpage/history/show missing partial pages/history/_show<pre>
Started GET "/pages/.../history?authenticity_token=[FILTERED]" for 127.0.0.1 at 2017-08-14 09:23:26 +0000
Processing by Page::HistoryController#show as JS
Parameters: {"authenticity_token"=>"[FILTERED]", "page_id"=>"..."}
Rende...<pre>
Started GET "/pages/.../history?authenticity_token=[FILTERED]" for 127.0.0.1 at 2017-08-14 09:23:26 +0000
Processing by Page::HistoryController#show as JS
Parameters: {"authenticity_token"=>"[FILTERED]", "page_id"=>"..."}
Rendered ui/_alert.html.haml (0.0ms)
Rendered page/history/show.js.rjs (4.9ms)
Completed 500 Internal Server Error in 81ms (ActiveRecord: 60.5ms)
ActionView::Template::Error (Missing partial pages/history/_show with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml, :rjs]}. Searched in:
* "/srv/crabgrass/app/views"
* "/srv/crabgrass/extensions/pages/discussion_page/app/views"
* "/srv/crabgrass/extensions/pages/asset_page/app/views"
* "/srv/crabgrass/extensions/pages/survey_page/app/views"
* "/srv/crabgrass/extensions/pages/rate_many_page/app/views"
* "/srv/crabgrass/extensions/pages/gallery_page/app/views"
* "/srv/crabgrass/extensions/pages/wiki_page/app/views"
* "/srv/crabgrass/extensions/pages/task_list_page/app/views"
* "/srv/crabgrass/extensions/pages/ranked_vote_page/app/views"
* "/srv/crabgrass/extensions/pages/event_page/app/views"
):
1: standard_update(page)
2: # page << hide_spinner(@wiki)
3: page.replace_html 'history_tab',
4: :partial => '/pages/history/show', :locals => local_assigns
app/views/page/history/show.js.rjs:3:in `block in _app_views_page_history_show_js_rjs__572380955235045320_70187113439760'
app/views/page/history/show.js.rjs:1:in `_app_views_page_history_show_js_rjs__572380955235045320_70187113439760'
app/controllers/common/application/before_filters.rb:19:in `render_with_view_setup'
</pre>Prototype Warmuphttps://0xacab.org/liberate/crabgrass/-/issues/40trying to render missing link as new page png instead of 4042019-05-03T14:51:47Zazultrying to render missing link as new page png instead of 404<pre>
Started GET "/tyse/logo.png" for 127.0.0.1 at 2017-08-14 11:01:38 +0000
Processing by Page::CreateController#new as PNG
Parameters: {"context_id"=>"tyse", "id"=>"logo", "owner"=>"tyse", "type"=>"wiki", "page"=>{"title"=>"[FILTERE...<pre>
Started GET "/tyse/logo.png" for 127.0.0.1 at 2017-08-14 11:01:38 +0000
Processing by Page::CreateController#new as PNG
Parameters: {"context_id"=>"tyse", "id"=>"logo", "owner"=>"tyse", "type"=>"wiki", "page"=>{"title"=>"[FILTERED]"}}
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.6ms)
ActionView::MissingTemplate (Missing template page/create/new with {:locale=>[:en], :formats=>[:png], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :haml, :rjs]}. Searched in:
* "/srv/crabgrass/app/views"
* "/srv/crabgrass/extensions/pages/discussion_page/app/views"
* "/srv/crabgrass/extensions/pages/asset_page/app/views"
* "/srv/crabgrass/extensions/pages/survey_page/app/views"
* "/srv/crabgrass/extensions/pages/rate_many_page/app/views"
* "/srv/crabgrass/extensions/pages/gallery_page/app/views"
* "/srv/crabgrass/extensions/pages/wiki_page/app/views"
* "/srv/crabgrass/extensions/pages/task_list_page/app/views"
* "/srv/crabgrass/extensions/pages/ranked_vote_page/app/views"
* "/srv/crabgrass/extensions/pages/event_page/app/views"
):
app/controllers/common/application/before_filters.rb:19:in `render_with_view_setup'
app/controllers/page/create_controller.rb:119:in `render_new_template'
app/controllers/page/create_controller.rb:37:in `new'
app/controllers/dispatch_controller.rb:15:in `dispatch'
</pre>https://0xacab.org/liberate/crabgrass/-/issues/48can not accept request to create a council2019-05-03T14:52:13ZCognatacan not accept request to create a councilblue has a council request pending for rainbow.
red cannot accept it despite being in the group.
Is this a fixture issue?blue has a council request pending for rainbow.
red cannot accept it despite being in the group.
Is this a fixture issue?springhttps://0xacab.org/liberate/crabgrass/-/issues/90username not fully cleared on deleting users2019-05-05T13:01:21Zazulusername not fully cleared on deleting userswhen a user is deleted on crabgrass, the 'style title' and tooltip from
things they created (ie comments) still contains their username.when a user is deleted on crabgrass, the 'style title' and tooltip from
things they created (ie comments) still contains their username.https://0xacab.org/liberate/crabgrass/-/issues/100Too many key upload emails2018-01-25T16:10:49ZdgtToo many key upload emailsOn key upload, we send out emails with the following content:
"You just uploaded a new key. It will be used for encrypted email notifications (experimental feature, coming soon)..§
Currently, this email is sent whenever the profile is s...On key upload, we send out emails with the following content:
"You just uploaded a new key. It will be used for encrypted email notifications (experimental feature, coming soon)..§
Currently, this email is sent whenever the profile is saved - no matter if the key (or anything else) is changed.Prototype Focusdgtdgthttps://0xacab.org/liberate/crabgrass/-/issues/102edit link for public wikis point to private wiki2019-05-05T18:54:31Zkardanedit link for public wikis point to private wiki1. go to https://we.riseup.net/riseuphelp+de
2. click on the edit link in the top right
3. it shows an empty private wiki instead of an editable textarea for the public wiki1. go to https://we.riseup.net/riseuphelp+de
2. click on the edit link in the top right
3. it shows an empty private wiki instead of an editable textarea for the public wikihttps://0xacab.org/liberate/crabgrass/-/issues/108Error when clicking structure of group settings2018-02-20T11:22:05ZCognataError when clicking structure of group settingsConsole output, Error reproduced in development, but exists also live:
```
Started GET "/groups/rainbow+the-cold-colors/structure" for 127.0.0.1 at 2018-01-04 13:08:20 +0100
Processing by Group::StructuresController#show as HTML
Param...Console output, Error reproduced in development, but exists also live:
```
Started GET "/groups/rainbow+the-cold-colors/structure" for 127.0.0.1 at 2018-01-04 13:08:20 +0100
Processing by Group::StructuresController#show as HTML
Parameters: {"group_id"=>"rainbow+the-cold-colors"}
User Load (0.5ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 4 LIMIT 1
Group Load (0.6ms) SELECT `groups`.* FROM `groups` WHERE `groups`.`name` = 'rainbow+the-cold-colors' ORDER BY `groups`.`id` ASC LIMIT 1
Group Load (0.4ms) SELECT `groups`.* FROM `groups` WHERE `groups`.`id` = 3 LIMIT 1
RequestToDestroyOurGroup Exists (0.5ms) SELECT 1 AS one FROM `requests` WHERE `requests`.`type` IN ('RequestToDestroyOurGroup') AND (state = 'pending') AND `requests`.`requestable_type` = 'Group' AND `requests`.`requestable_id` = 32 LIMIT 1
Rendered group/structures/show.html.haml within layouts/application (105.7ms)
Completed 500 Internal Server Error in 115ms (ActiveRecord: 2.0ms)
ActionView::Template::Error (undefined method `link_to_with_confirm' for #<#<Class:0x007f35d19dd8a8>:0x007f35e3294760>
Did you mean? link_to_icon):
24: - else
25: - r.input :none.t
26: - r.info :network_description.t
27: - if destroy_group_link.present?
28: - f.row do |r|
29: - r.label :structure.t
30: - r.input destroy_group_link
app/helpers/group/links_helper.rb:90:in `destroy_group_link'
app/views/group/structures/show.html.haml:27:in `block in _app_views_group_structures_show_html_haml__2816599227234779948_69934563416340'
vendor/crabgrass_plugins/crabgrass_formy/lib/formy/helper.rb:8:in `formy'
app/views/group/structures/show.html.haml:1:in `_app_views_group_structures_show_html_haml__2816599227234779948_69934563416340'
app/controllers/common/application/before_filters.rb:6:in `render'
```dgtdgthttps://0xacab.org/liberate/crabgrass/-/issues/116page of deleted user becomes unaccessible2019-05-05T13:01:04Zazulpage of deleted user becomes unaccessibleIf the owner of a page deletes their account the page becomes unaccessible by anyone else who previously had access.
Steps to reproduce:
* create a page as green granting access to red
* visit page as both... it's accessible
* delete acc...If the owner of a page deletes their account the page becomes unaccessible by anyone else who previously had access.
Steps to reproduce:
* create a page as green granting access to red
* visit page as both... it's accessible
* delete account as green
* try to visit page as red
Result:
'Page could not be found'
Desired result:
See the same page as before. Maybe change the owner of that page to green.https://0xacab.org/liberate/crabgrass/-/issues/122Editing Wiki page lag time between saving text and being able to continue edi...2020-09-03T18:02:56ZmakechangesEditing Wiki page lag time between saving text and being able to continue editing current draftWhen I edit a preexisting wiki page (version 1) that contains some text already, I erase the old text by pasting what becomes the beginning of a new draft. I then click "Save" to create the current draft (version 2) start the editing pro...When I edit a preexisting wiki page (version 1) that contains some text already, I erase the old text by pasting what becomes the beginning of a new draft. I then click "Save" to create the current draft (version 2) start the editing process. Once I have saved the version 2, I then click on 'Edit' to begin the revision process. The text that appears is not the version 2, but version 1. It seems like there is a lag time of 5 minutes or so before I can edit version 2 of the wiki page.
It's a bummer, because if you go back into edit and don't realize that text you are expecting to be version 2 is actually version 1, and then hit save you will replace the version 2 with a combination of the version 1 and the third draft edits. It also makes working go really slow as there is a long lag time.
I've tried to see if logging out, logging back in and then refreshing will expedite the process but it seems to either not work or not work consistently.https://0xacab.org/liberate/crabgrass/-/issues/123Wiki Version paging not working anymore2018-02-09T18:43:11ZdgtWiki Version paging not working anymoreAfter the last merge the paging buttons stopped working.After the last merge the paging buttons stopped working.dgtdgthttps://0xacab.org/liberate/crabgrass/-/issues/124Wiki diff button not working2020-07-07T21:59:18ZdgtWiki diff button not workingBring back previous and next linksBring back previous and next linksdgtdgthttps://0xacab.org/liberate/crabgrass/-/issues/129Page notification emails not working (Share page / send notification)2018-05-11T14:54:19ZdgtPage notification emails not working (Share page / send notification)Checking the box "Send Email" does not have any effect.Checking the box "Send Email" does not have any effect.Prototype Focusdgtdgt