riseuplabs / crabgrass-core Goto Github PK
View Code? Open in Web Editor NEWThis repository has moved to https://0xacab.org/riseuplabs/crabgrass
License: Other
This repository has moved to https://0xacab.org/riseuplabs/crabgrass
License: Other
We're a group of 30 people who have used crabgrass on we.riseup.net for the last 3, 4 years. Really great to see that development continues now!
One missing feature that has always bugged us all the time is that uploaded LibreOffice files (e.g. meeting meetings, strategic documents and others) are not included in the search.
I think the same goes for PDF files (where pdftotext might be used).
Is there any log when sending emails fails?
These are my settings:
# e.g. smtp
email:
delivery_method: :smtp
smtp_settings:
domain: localhost
address: smtp.1und1.de
port: 587
authentication: :plain
user_name: [email protected]
password: XXXXXX
The setting for smtp I have from my provider
EDIT: users get notifications but it still does not send any emails. Maybe I am missing some packages on debian? Or is it easier to configure a sendmail server and do it like that?
Hey!
So here is how to reproduce the bug :
Thanks!
Hello.. I am trying to install crabgrass on a debian machine and it just throws an error. I don't know if this error is with bundler or with the crabgrass gemfile.
I ran the command /usr/local/bin/bundler install
and I expected Bundler to install crabgrass
Instead, what actually happened was this error
Error details
TypeError: no implicit conversion of Array into String
/usr/lib/ruby/2.1.0/rubygems/specification.rb:2448:in `directory?'
/usr/lib/ruby/2.1.0/rubygems/specification.rb:2448:in `block in validate'
/usr/lib/ruby/2.1.0/rubygems/specification.rb:2448:in `delete_if'
/usr/lib/ruby/2.1.0/rubygems/specification.rb:2448:in `validate'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/rubygems_integration.rb:51:in `block in validate'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/ui/shell.rb:80:in `silence'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/rubygems_integration.rb:51:in `validate'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:346:in `block in load_gemspec_uncached'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:53:in `chdir'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:53:in `block in chdir'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/shared_helpers.rb:52:in `chdir'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:339:in `load_gemspec_uncached'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler.rb:329:in `load_gemspec'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/source/path.rb:135:in `block in load_spec_files'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/source/path.rb:134:in `each'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/source/path.rb:134:in `load_spec_files'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/source/path.rb:92:in `local_specs'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/source/path.rb:100:in `specs'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/definition.rb:564:in `block in converge_locked_specs'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/definition.rb:546:in `converge_locked_specs'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/definition.rb:192:in `resolve'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/definition.rb:163:in `missing_specs'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/installer.rb:187:in `block in resolve_if_need'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/ui/shell.rb:80:in `silence'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/installer.rb:184:in `resolve_if_need'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/installer.rb:69:in `run'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/installer.rb:21:in `install'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/cli/install.rb:105:in `run'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/cli.rb:172:in `install'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/cli.rb:10:in `start'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/exe/bundler:19:in `block in <top (required)>'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/lib/bundler/friendly_errors.rb:7:in `with_friendly_errors'
/var/lib/gems/2.1.0/gems/bundler-1.11.2/exe/bundler:17:in `<top (required)>'
/usr/local/bin/bundler:23:in `load'
/usr/local/bin/bundler:23:in `<main>'
Environment
Bundler 1.11.2
Rubygems 2.2.2
Ruby 2.1.5p273 (2014-11-13 revision 0) [x86_64-linux-gnu]
GEM_HOME /var/lib/gems/2.1.0
GEM_PATH /var/lib/gems/2.1.0:/home/master/.gem/ruby/2.1.0:/usr/share/rubygems-integration/2.1.0:/usr/share/rubygems-integration/2.1:/usr/share/rubygems-integration/all
Git 2.1.4
I take this chance to say hello :).
When I receive a notification from Crabgrass sent via email, that email leaks some information about my activities on Crabgrass. I use GnuPG wherever I can to encrypt my email for privacy reasons, and this is a suggested best practice by RiseUp's own security guide. However, as far as I know, Crabgrass offers me no way to indicate to it that I would like any emails it sends to me to be encrypted in this way.
Implementing this feature would make me feel better about using the email notifications feature, particularly about using it to notify other collaborators without worrying that the notification will leak info about our organizing activities to the insecure world of email.
Thanks.
Also, for what it's worth, I'd be happy to work on this myself (I just recently wrote WP PGP Encrypted Emails, which is a plugin for WordPress blogs that implements this feature) but I am not a skilled Ruby (on Rails) programmer and might need some general pointers.
I've deleted a group in we.riseup.net, but I still see tasks from this group that is assigned to me in the page https://we.riseup.net/me/tasks.
During the last two years it was unclear to us, if crabgrass would be continued. So we were fearful of using a maybe discontinued software (deadend)... At the same time having all our group's files and documents on a "foreign" server (that might once be seized or shutdown) and no backup leaves us still a bit "unsettled"
Would be great if there was a way to backup all of a group's content easily. Just having everything in an zip-archive would be fine (simple html as it is seen in the browser), not really database dump. We already thought of crawling all our files using something like wget or ScrabBook, but we were afraid that these tools might hit the "Delete" links within crabgrass and therefore accidentically remove all our content.
Spawned from #236 (comment)
What is really needed is something more like WordPress's XWR format that exports the content but not the internal structure of a particular blog, so it is easy to move content from one instance of the WordPress software to another, independent of the underlying database.
Currently user are "trapped" to using crabgrass.
@meitar cc
Adding organizations to networks, beyond the first one when the network is created, is either impossible or incredibly hard to find the option.
There's no help about groups at https://we.riseup.net/crabgrass/groups except an outdated screenshot of the groups page, and all comments are more than 3 years old.
This is a follow-up from #384.
For various "supported" files the thumbnail generation often fails. Here is an example file generated using simple-scan (the Ubuntu default scan program): https://seacloud.cc/f/d4fbcb9078/ The PDF is actually fine (interestingly, I also cannot upload this PDF here at github, too. OTHO, thumbnail generation works at seacloud):
$ file just_a_test_scanned_pdf.pdf
just_a_test_scanned_pdf.pdf: PDF document, version 1.3
But #384 nonetheless cannot created a thumbnail.
For OpenDocument it sometimes fails and sometimes works (I could maybe send you files privately)
Databases like sqlite or PostgreSQL do not support indices on partical column values, As index creation seems to be hard coded in the schema, setup of other Databases will fail, e.g.
SQLite3::SQLException: near "(": syntax error: CREATE INDEX subject_0_4_0 ON activities (subject_id,subject_type(4),access)
Is there a special reason why crabgrass needs indices on partial values only? Is that reason strong enoug to break compatibility with other databases?
I've changed my image under Settings > Icon
to another image (anyway, why is the profile image called "Icon"? (german)).
Afterwards all new pages and files I upload have the new image attached to them (good!). However, at the old files (that I upload before changing the image) there is still my old profile image (bad!)
This causes confusion as one might think that these are two different persons. (Actually, I just changed my profile image to a photo of mine because someone with the same first name joined our group... Now it's really a bit confusing, 2 people with similar name and 3 photos/icons ;-)
Maybe an reindexing of the user's files or similar should be done when changing the image.
While trying to deploy crabgrass I get the following:
rake cg:compile_assets --trace
rake aborted!
Don't know how to build task 'cg:compile_assets'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in `[]'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:149:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
There are various issues here, in order of priority:
title
attribute, so that hovering with the mouse over it says something like "Click to open"Thumbnails itself are nice but not that important, having a tiny thumbnail so that people do not find the actual file is a real showstopper.
For context: We frequently upload OpenDocument, PDFs but also gnucash files.
ActionController::RoutingError in Groups/home#show
Showing app/views/groups/structures/_show_in_sidebar.html.haml where line #6 raised:
No route matches {:what=>"committees", :updated_at=>1361143475, :action=>"show", :may_admin=>true, :expires_in=>126031, :authenticity_token=>nil, :lang=>"de", :_context=>"zukunftssommerwochen", :version=>1, :access=>nil, :path=>nil, :controller=>"groups/home"}
Spawned from #236 (comment):
Main idea is to be able to export one's (group) dataset in order to import it into another crabgrass instance.
The ability to export one's dataset makes using the hosted Crabgrass instance much more approachable because it means that one's data is not forever in some format that is only meaningfully accessible if the remote service is available.
Further, I work in some environments where the absense of a local backup precludes the use of Crabgrass by policy. Adding this feature would help me make the case to certain groups to move to Crabgrass away from less safe and less philosophically aligned alternatives such as Gogle Docs.
See also the many, many dupes of this feature request:
https://labs.riseup.net/code/issues/475
https://labs.riseup.net/code/issues/754
https://labs.riseup.net/code/issues/1270
https://labs.riseup.net/code/issues/1702
https://labs.riseup.net/code/issues/4099
https://labs.riseup.net/code/issues/4419
TL;DR: Please implememt this feature regardless of commitments to keep we.riseup.net alive. It is an important data portability issue and software libre issue on its own merit. Thank you!
@meitar cc
Sometimes I find myself wanting to move an attachment from one page to another. This usually occurs when the attachment (usually a work file such as an image or a PDF) is attached to a page by someone else, but during re-organization, I want to attach it to a different page.
Currently, I am forced to re-upload a new copy of the attached file; this isn't a huge burden but it seems sub-optimal. It also has the potential to cause confusion due to the inherent fragmentation, unless I also remove the attachment from the original page.
This is also distinct from the "File" option available in Crabgrass. I tend to see "File" pages as working documents that my group and I create ourselves, things we iterate over and over, want to keep versions of, and so on. Attachments, on the other hand, are often things we are given from individuals outside our own group, like reports, deliverables, and so on. These are things we should not change ourselves.
It would be great if Crabgrass allowed me to attach a single document to more than one Wiki page, for instance, or at least to be able to re-assign an uploaded attachment asset from one page to another.
I dont know if this is the right place to report this, as it might be specific for we.riseup.net, but anyhow: Please add this feature and make we.riseup.net more secure!
Hi!
I am not sure what is going on, but currently if you visit https://we.riseup.net/cgdev group, its summary (release notes) flashed and after replaced by mess of wiki diff, header and footer sections.
Its hard to describe, just take a look:
Ubuntu 14.04.2 LTS x86_64
Google Chrome: Version 43.0.2357.125 (64-bit)
Clearing of browser cache does not help.
Hi I couldn't figure out how else to contact the ppl involved with this project... I'm a new Ruby developer and I'd like to help out with Crabgrass but I'm having issues getting it running locally. Also, I notice it's still running Rails 3. Is an upgrade to Rails 4 or 5 in the works? If anyone is willing to help me get this current version up and running so I can try to help with some Issues, or has any info on Crabgrass' upgrade status, I'd love for you to let me know here or email me at [email protected] so I can contribute. Thanks in advance!
Seems to me like a regression bug. Prior the 0.6 update when I entered a link like https://we.riseup.net/group+folder/some-document in a wiki then the link would extend to:
<a href="/group+folder/some-document">title of the document</a>
Now it does extend to just the URL (which is of course less meaningfull than the title):
<a href="https://we.riseup.net//group+folder/some-document">we.riseup.net//group+folder/some-document...</a>
I would like to have the old behaviour back ๐ญ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.