muhlisbc / discourse-images-guardian Goto Github PK
View Code? Open in Web Editor NEWDiscourse plugin that would prevent non-authenticated users from accessing uploaded images
License: GNU General Public License v2.0
Discourse plugin that would prevent non-authenticated users from accessing uploaded images
License: GNU General Public License v2.0
With this plugin enabled doing:
git pull
./launcher rebuild app
Fails with:
185:M 13 Mar 2019 13:27:05.267 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 422 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
0944e42e48c4560b449e8210bcf47abc05b3526cc0e71a1920f3d17c6526a0d4
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
When these two lines are commented out in containers/app.yml
:
# - git clone https://github.com/muhlisbc/discourse-images-guardian.git
# - erb /var/www/discourse/plugins/discourse-images-guardian/nginx.sample.conf.erb > /var/www/discourse/config/nginx.sample.conf
Then the app can be rebuilt.
@muhlisbc do you have any idea what the problem might be here?
The way in which icons are added to Discourse has changed and this means that this plugin is no longer working, see this thread on meta.discourse.org, what would be involved to update this plugin so that it can be used again?
I have also flagged this up on the plugin thread on meta.discourse.org.
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.