Git Product home page Git Product logo

minds's Introduction

Minds

Minds is an open-source, encrypted and reward-based social networking platform. https://minds.com

Docs

Full documentation can be found at https://developers.minds.com/. We suggest getting started at the introduction.

Repositories

Minds is split into multiple repositories:

  • Engine - Backend code & APIs
  • Front - Client side Angular2 web app
  • Sockets - WebSocket server for real-time communication
  • Mobile - React Native mobile apps

Development Installation

See our installation guide to get your local stack up and running

Troubleshooting

Having trouble with your local stack? See troubleshooting

Contributing

If you'd like to contribute to the Minds project, check out how to contribute or head right over to the Minds Open Source Community. If you've found or fixed a bug, let us know in the Minds Help and Support Group!

Security reports

Please report all security issues to [email protected].

License and Copyright

General license and copyright information is located here, and the AGPLv3 fine print is available here. In addition, please see the license file of each repository.

minds's People

Contributors

adayth avatar alejandronegri avatar beck24 avatar bgunn avatar blacktooth avatar brettp avatar brianhatchet avatar cash avatar edgebal avatar eiennohi avatar ewinslow avatar franzliedke avatar gthouret avatar jdalsem avatar jeabakker avatar johnsome avatar jrtilson avatar manishoo avatar mapkyca avatar markharding avatar mcloughlin3 avatar migrax avatar mrclay avatar nachosarnaglia avatar ottman avatar perjensen avatar ronileco avatar srokap avatar teamwebgalli avatar zackwy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minds's Issues

Toggle "Enable advertising in your account"

Hi there :)

This ticket is a bug report about Minds.com. John Ottman said he was able to reproduce this bug. The toggle switch is not working for "Enable advertising in your account" at https://www.minds.com/wallet/ad-sharing
I would be happy to contribute testing on Minds.com if needed.

Steps to reproduce

  1. Sign-up for a merchant account at https://www.minds.com/wallet/merchants
  2. Go to https://www.minds.com/wallet/ad-sharing
  3. Click on the toggle switch next to "Enable advertising in your account". When you click that toggle doesn't switch from off to on. Nothing happens. It just remain off. Looks like a bug. Also when you click that "Enable advertising in your account" toggle, another toggle "Disable points animation" located at the bottom left side of that same page does switch from off to on. But the "Enable advertising in your account" does not switch.

Notes

Related comment at https://www.minds.com/newsfeed/701867658223558657

Can't clone repository

The submodules front and engine are easy to fix, but the sockets submodule doesn't seem to exist?

in .gitmodules I'd assume

[submodule "engine"]
	path = engine
	url = https://github.com/minds/engine.git
[submodule "front"]
	path = front
	url = https://github.com/minds/front.git
[submodule "sockets"]
	path = sockets
	url = https://github.com/minds/sockets.git

That's my best guess.

(feat): ongoing subscription sync with other social media platforms

Since minds.com users can link to their Twitter and Facebook accounts, it would be great if I could just select an option somewhere that I want to follow all the people I follow on Facebook and Twitter on minds.com as well; and to have that get updated on some periodic basis automatically, so that as users I follow elsewhere create minds.com accounts and link their minds.com accounts to their Facebook and Twitter accounts, I start following them automatically on minds.com as well.

It'd be awesome if YouTube was also added as an account type to link because a lot of YouTube creators seems to be moving partially or fully to minds.com; I definitely hear minds.com mentioned way more on YouTube than on Twitter or Facebook.

Improvement: Share to gab.ai

Add support for linking Gab.ai account so Minds.com posts can share to Gab. A bit like how Minds has the option to link Twitter account and share posts. Gab does have an API.

Enable SPDY

If I see correctly, minds.com is running on nginx v1.6.2. That version is too old to allow for genuine HTTP/2, but is good to go for SPDY/3.1, which is basically an unpolished version of HTTP/2. Enabling SPDY may yield latency and load improvements and is easily done: Change listen 443 ssl; into listen 443 ssl spdy; and reload nginx.

Further reading: nginx spdy module documentation

installation notes

Some notes re installations (& waiting for keyspaces infomation):

Under Ubuntu 14.04:


run 'npm install' under /front

Problem: /usr/bin/env: node: No such file or directory

Solved by running:

sudo ln -s /usr/bin/nodejs /usr/bin/node


run 'composer install' under /engine
Problem:
- Installation request for mongodb/mongodb 1.0.2 -> satisfiable by mongodb/mongodb[1.0.2].
- mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system.
Reason:
PHP mongodb extension is not installed for 7.1 under ubuntu 14.04
Solved by:
remove php 7.1, use php 7.0

change php_version="7.1" to php_version="7.0" in bootstrap-ubuntu.sh under /bin

change server unix:/run/php/php7.1-fpm.sock; to server unix:/run/php/php7.0-fpm.sock; in nginx.conf under /conf


run 'composer install' under /engine
Problem:

[RuntimeException]
Failed to execute git clone --no-checkout 'https://:[email protected]/m
inds/minds-php-sdk.git' '/home/admin/Documents/Minds/minds/engine/vendo
r/minds/minds-php-sdk' && cd '/home/admin/Documents/Minds/minds/engine/
vendor/minds/minds-php-sdk' && git remote add composer 'https://:
_
@github.com/minds/minds-php-sdk.git' && git fetch composer
Cloning into '/home/admin/Documents/Minds/minds/engine/vendor/minds/min
ds-php-sdk'...
remote: Repository not found.
fatal: repository 'https://:***@github.com/minds/minds-php-sdk.git/'
not found

Solved by:
delete
"minds/minds-php-sdk": "dev-master@dev",
repository for minds-php-sdk
from composer.json and delete composer.lock

rerun composer install

run 'gulp build && gulp build.indexfront' under /front

Problem:
Error: EPERM, chmod '/home/admin/Documents/Minds/minds/front/app/src/plugins/Groups/card'
Solved by run:
sudo npm install -g npm-check-updates
sudo npm install npm@latest -g
sudo npm update
sudo chown admin -R front
cd front

gulp build && gulp build.index

open http://localhost/minds/ or http://10.54.0.111/ under Vagrant


Problem:

nginx error log:

[Thu Aug 18 10:08:58.311591 2016] [:error] [pid 2889] [client 127.0.0.1:38308] Error connecting to 127.0.0.1: cassandra\InvalidRequestException:
[Thu Aug 18 10:08:58.312365 2016] [:error] [pid 2889] [client 127.0.0.1:38308] Error connecting to 127.0.0.1: cassandra\InvalidRequestException:
[Thu Aug 18 10:08:58.313457 2016] [:error] [pid 2889] [client 127.0.0.1:38308] Error connecting to 127.0.0.1: cassandra\InvalidRequestException:
[Thu Aug 18 10:08:58.313890 2016] [:error] [pid 2889] [client 127.0.0.1:38308] Error connecting to 127.0.0.1: cassandra\InvalidRequestException:
[Thu Aug 18 10:08:58.314410 2016] [:error] [pid 2889] [client 127.0.0.1:38308] Exception #1471478938: exception 'InstallationException' with message 'Unable to handle this request. This site is not configured or the database is down.' in /var/www/html/minds/engine/lib/configuration.php:531\nStack trace:\n#0 /var/www/html/minds/engine/lib/elgglib.php(2056): _elgg_load_site_config()\n#1 [internal function]: _elgg_engine_boot('boot', 'system', NULL)\n#2 /var/www/html/minds/engine/Core/Events/Dispatcher.php(131): call_user_func_array('_elgg_engine_bo...', Array)\n#3 /var/www/html/minds/engine/lib/elgglib.php(623): Minds\Core\Events\Dispatcher::trigger('boot', 'elgg/event/syst...', NULL, true)\n#4 /var/www/html/minds/engine/Core/Minds.php(74): elgg_trigger_event('boot', 'system')\n#5 /var/www/html/minds/engine/start.php(23): Minds\Core\Minds->start()\n#6 /var/www/html/minds/index.php(3): require_once('/var/www/html/m...')\n#7 {main}

Solved by

add and change in settings.php

$CONFIG->installed = true;
$CONFIG->path = '/var/www/Minds/';
$CONFIG->plugins_path = '/var/www/Minds/plugins/';
$CONFIG->pluginspath = '/var/www/Minds/plugins/';
$CONFIG->dataroot = '/home/vagrant/tmpdata/'; //create the folder
$CONFIG->default_site = '1';
$CONFIG->site_id = '1';
$CONFIG->site_secret = '8c4e4baf87bb8681e67f3668b02fb86b';

$CONFIG->site_guid = '0';
$CONFIG->site_name = 'Test minds';
$CONFIG->site_url = '127.0.0.1';
$CONFIG->wwwroot = 'localhost/Minds';
$CONFIG->site_email = '';
$CONFIG->site_description = 'Test12';


Problem:

PHP message: Error connecting to 127.0.0.1: Thrift\Exception\TException: TSocket: Could not connect to 127.0.0.1:9160 (Connection refused [111])
PHP message: Error connecting to 127.0.0.1: Thrift\Exception\TException: TSocket: Could not connect to 127.0.0.1:9160 (Connection refused [111])
PHP message: Error connecting to 127.0.0.1: Thrift\Exception\TException: TSocket: Could not connect to 127.0.0.1:9160 (Connection refused [111])
PHP message: PHP WARNING: 2016-08-26 05:58:09 (UTC): "socket_connect(): unable to connect [111]: Connection refused" in file /var/www/Minds/engine/vendor/duoshuo/php-cassandra/src/Connection/Socket.php (line 57)
PHP message: PHP WARNING: 2016-08-26 05:58:09 (UTC): "Declaration of Minds\Core\Data\indexes::get($key_id, array $options = Array) should be compatible with Minds\Core\Data\Call::get($offset = '', $limit = 10)" in file /var/www/Minds/engine/Core/Data/indexes.php (line 0)
PHP message: Error connecting to 127.0.0.1: Thrift\Exception\TException: TSocket: Could not connect to 127.0.0.1:9160 (Connection refused [111])
PHP message: Error connecting to 127.0.0.1: Thrift\Exception\TException: TSocket: Could not connect to 127.0.0.1:9160 (Connection refused [111])" while reading response header from upstream, client: 10.54.0.1, server: _, request: "GET /api/v1/blog/featured?limit=4 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "10.54.0.111", referrer: "http://10.54.0.111/"

Solved by install
php-curl
elasticsearch
restart cassandra
check:
nodetool status


Cassandra keyspaces data and structure need to be set up

See engine/settings.php:
$CONFIG->cassandra = (object) [
'keyspace' => 'minds',
'servers' => [ '127.0.0.1' ],
'cql_servers' => [ '127.0.0.1:9042' ]
];

and engine/Spec/bootstrap.php:
$CONFIG->cassandra->keyspace = 'phpspec';
$CONFIG->cassandra->servers = array('127.0.0.1');
$CONFIG->cassandra->cql_servers = array('127.0.0.1:9042');

cqlsh> CREATE KEYSPACE minds WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'datacenter1' : 3 };
cqlsh> CREATE KEYSPACE phpspec WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'datacenter1' : 3 };


Waiting for keyspaces information for next step

(feat): Translating Minds into other languages

Hi everyone,

I'm here to translate the package into German and I found this language file: https://github.com/Minds/minds/tree/master/languages

A few questions:

  1. Is that the correct file?
  2. php files usually end with ?> I haven't found one..
  3. does the visible text for users have these " double quotation marks or are the messages with ' single quotation marks for users visible, too? If so, it is inconsistent.
  4. in line 518 it says // argh, this is ugly ;-) is it possible, that the language file needs some more work before it can be translated?

Ingmar

Fix HTTP Strict Transport Security

The current Strict-Transport-Security header on minds.com is reading max-age=0; includeSubdomains;. As Minds is a https-only site, the max-age=0 part makes little sense. Setting it to at least 10886400 (18 weeks) may prove to be advantageous.

Bonus: redirecting minds.com to www.minds.com before going https would make the domain eligable to being included in the HSTS Preload List. Chromium (and other clients relying on that list) will then know to connect via https natively. The header would have to include the preload token, though.

Furhter reading: RFC 6797 — HTTP Strict Transport Security

GUI

There is any way to manage my site using graphical user interface

Suggestion: postinstall

In the instructions you have run "npm install" and then "npm run build". You could utilize NPM's "postinstall" and perform the build when completed. I see you have a typings install, but you could easily append && npm run build

Use Redis Session Handler

As a redis server is already part of the infrastructure and the redis PHP extension is being installed anyways, it is probably a good idea to use it as a session storage as well. This will introduce no code changes and may help relieve the host system of i/o pressure. Per this example, the following configuration changes are needed:

session.save_handler = redis
session.save_path    = "tcp://127.0.0.1:6379?persistent=1"

This can be further improved by eliminating the TCP/IP overhead when using unix sockets directly:

session.save_path    = "unix:///var/run/redis/redis.sock?persistent=1"

With regards to #24, msgpack could be used as a session serialization format:

session.serialization_handler = msgpack

⚠️ Changing the serialization format will require clearing all sessions!

On a related note it may be worth investigating if the I/O scheduler on the host is adjusted correctly. By default, Linux is using the cfq scheduler which is intended for interactive tasks. Server and virtualized environments may profit from deadline (recommended for Amazon, btw) or even noop. The default is controlled by the elevator kernel parameter. Check the settings for existing devices with cat $(find /sys/devices/ -name scheduler).

Privacy of post

All social network provide post privacy level so introduce the post privacy and profile privacy as wwll

bootstrap-ubuntu.sh fails near end of script when it attempts to create the config file

When trying to get to run on the vBox virtual machine using Vagrant:

==> default: Installing Minds...
==> default: - Checking passed options:
==> default: OK
==> default: - Building configuration file:
==> default:
==> default: cli.php: [ERROR] Configuration key sns-secret is not present on defaults or command line arguments
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

When I manually run the bash ./bootstrap-ubuntu.sh:

Installing Minds...
PHP Warning: mkdir(): File exists in /var/www/Minds/bin/regenerateDevKeys.php on line 13

Installing Minds...

  • Checking passed options: OK

  • Building configuration file:
    cli.php: [ERROR] Configuration key sns-secret is not present on defaults or command line arguments

    This is on a Ubuntu 14.04.2 LTS fresh install with all the prerequisites installed as per the DOCS section of minds.org, using php 7:

    PHP 7.0.20-2ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jun 14 2017 05:55:23) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.20-2ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies

    I apologize, I do not know why github wants to strike through most of the version information above.

    Thank you very much for fixing the animations javascript thing. This is the next place I got stuck.

    Also in case hardware matters, this is on an i7-6850 based machine with the physical host
    with 128GB of RAM, running Zesty 17.04 Ubuntu. Under that, minds.eskimo.com is a virtual machine, 6 CPU, 16GB RAM, and that is the host Vagrant / VirtualBox is running under.

    If there is any other relevant information that would be helpful, please feel free to contact me. I am very much anxious to become a part of the Minds community.

Feature Request - Custom Profiles

I feel like since the death of the original myspace we lost the ability to make profiles into our very own personal space. Facebook owns the cover photo and the like button, but they don't allow people to express themselves creatively and boldly.

My feature request is to allow custom background images for profiles. We have plenty of open space to allow a background to compliment the vast space. To keep it from clashing with the default blocks, I think a gradually increase transparency with the option of dark or light would give content somewhat of a highlight.

If this feature is already implemented I do apologize. I also have some feature request I want to put in for usability and navigation simplification.

(feat): Clarify Help Text Ad Sharing

Suggestion

On the Ad Sharing page at https://www.minds.com/wallet/ad-sharing
To reduce risk of confusion, I suggest to add that help text above that text field instead of into that text field. Find that mockup to clarify.

Otherwise some users might not understand that help text is actually a field which is required to be filled. The risk is that if it's not obvious some user will leave that field empty, because they don't even know it's a field. Then they will try to click the APPLY button. But doing so would not work because the text field is required to activate the APPLY button. Related ticket #42.

Help text: Why do you want to participate in the Minds Ad Sharing program? Please, list your other social media accounts and quantity of followers.

Mockup

ad---question---mockup---ubertus---2017-04-22---14-02-00---wn

Screenshot present form

ad---screenshot---ubertus---2017-04-22---13-04-37---wn

Notes

Related comment at #42 (comment)
Related ticket #42

(chore): Remove third party web dependencies.

Although this may seem silly to some, on principle, Facebook for example does not use Google for analytics or any third party web dependencies which may compromise privacy or security. (Double-click is present after login.)

Keep in mind (no pun intended) that there is nothing wrong with including 3rd party scripts on public facing pages as long as they can be blocked and the site still work. Apparently Minds.com relies on other third party scripts to run properly.

But, let me be clear, it is ABSOLUTELY inappropriate to have present any 3rd party script on a page with a login. Period. I'll won't assume you understand why and I'll explain: Regardless of the perfectly reviewed benevolence of a 3rd party script, it is 3rd party and could change without 1st party control which could compromise any number of users. All scripts behind a login should be 1st party only.
Also remember that including Google Analytics on your website provides an open window for Google to build a perfect profile of who you are on a social network. Isn't that the job of the social network and not Google?

Minds.com uMatrix Profile

image

Facebook's uMatrix Profile

facebook

Confusing after first Boost

I boosted a post with 200 points. I got confused because first of all I got a notification saying "200 views for your post is awaiting approval.", so I go to the post and there's no indication it has been boosted (except that it "charged" me the 200 points), it actually shows the "Boost" button still, as if I could do another boost, or worse, giving me the impression (this plus the notification) that I didn't actually boost it and that I have to for some reason approve the boost somwhere (which I can't find).

Minds git install prompting for username. !???

$ git clone https://github.com/minds/minds.git --recursive
Cloning into 'minds'...
remote: Counting objects: 157892, done.
remote: Compressing objects: 100% (86/86), done.
remote: Total 157892 (delta 91), reused 123 (delta 81), pack-reused 157722
Receiving objects: 100% (157892/157892), 221.06 MiB | 5.67 MiB/s, done.
Resolving deltas: 100% (99294/99294), done.
Submodule 'engine' (https://github.com/minds/engine-internal.git) registered for path 'engine'
Submodule 'front' (https://github.com/minds/front-internal.git) registered for path 'front'
Submodule 'sockets' (https://github.com/minds/sockets.git) registered for path 'sockets'
Cloning into 'engine'...
Username for 'https://github.com':

Image URLS not apt for downloading.

In Facebook I download images very regularly. Just tried to download one in Minds and it got saved with the name "SaveImageRouter.xlarge". This is inconvenient for 2 reasons. No unique name, so saving them more than 1 image will prompt the user to what to do. No extension, the image doesn't work without completely rewriting the file name.

I think being able to download images easily is crucial.

PHP Warning: require_once(/var/www/Minds/bin/../engine/vendor/autoload.php):

There was a problem with the completion of the installation. I get the following information:

PHP Warning:  require_once(/var/www/Minds/bin/../engine/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/Minds/bin/cli.php on line 9
PHP Fatal error:  require_once(): Failed opening required '/var/www/Minds/bin/../engine/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/Minds/bin/cli.php on line 9

uniting elgg programmers with the minds platform

i am not clear how much minds uses of elgg now, am i correct in thinking that the basis of minds.com is still elgg? and that when elgg releases an upgrade then minds upgrades it's elgg parts too?
i saw the post in the elgg community a few weeks ago announcing the release on github of the minds code (https://elgg.org/discussion/view/2528547/minds-just-open-sourced-a-fork-of-elgg-on-angular2-cassandra-and-more#elgg-object-2541161) and am wondering how best to approach the opening of a creative flow back into elgg from minds and thus to then also expand the flow of input into minds from the elgg community.

for example, elgg lacks realtime notifications and minds has handled that pretty well it seems. how would we port that functionality into elgg? also, how do we find out whether our own code is of use to minds.com?

(bug): Cassandra PHP library not installing

==> default: CMake Warning at cmake/modules/CppDriver.cmake:242 (message):
==> default: Could not find zlib, try to set the path to zlib root folder in the system
==> default: variable ZLIB_ROOT_DIR
==> default: Call Stack (most recent call first):
==> default: CMakeLists.txt:122 (CassUseZlib)
==> default:
==> default:
==> default: CMake Warning at cmake/modules/CppDriver.cmake:243 (message):
==> default: zlib libraries will not be linked into build
==> default: Call Stack (most recent call first):
==> default: CMakeLists.txt:122 (CassUseZlib)


==> default: In file included from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:22:0:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ring_buffer_bio.hpp: In static member function ‘static cass::rb::RingBuffer* cass::rb::RingBufferBio::from_bio(BIO*)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ring_buffer_bio.hpp:59:40: error: invalid use of incomplete type ‘BIO {aka struct bio_st}’
==> default: return static_cast<RingBuffer*>(bio->ptr);
==> default: ^
==> default: In file included from /usr/include/openssl/crypto.h:31:0,
==> default: from /usr/include/openssl/comp.h:16,
==> default: from /usr/include/openssl/ssl.h:47,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.hpp:21,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl.hpp:108,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:17:
==> default: /usr/include/openssl/ossl_typ.h:79:16: error: forward declaration of ‘BIO {aka struct bio_st}’
==> default: typedef struct bio_st BIO;
==> default: ^
==> default: In file included from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:27:0:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: In function ‘int cass::SSL_CTX_use_certificate_chain_bio(SSL_CTX*, BIO*)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:149:12: error: ‘SSL_F_SSL_CTX_USE_CERTIFICATE_CHAIN_FILE’ was not declared in this scope
==> default: SSLerr(SSL_F_SSL_CTX_USE_CERTIFICATE_CHAIN_FILE,ERR_R_PEM_LIB);
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:168:12: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: if (ctx->extra_certs != NULL) {
==> default: ^
==> default: In file included from /usr/include/openssl/crypto.h:31:0,
==> default: from /usr/include/openssl/comp.h:16,
==> default: from /usr/include/openssl/ssl.h:47,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.hpp:21,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl.hpp:108,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:17:
==> default: /usr/include/openssl/ossl_typ.h:145:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: typedef struct ssl_ctx_st SSL_CTX;
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:169:27: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: sk_X509_pop_free(ctx->extra_certs, X509_free);
==> default: ^
==> default: In file included from /usr/include/openssl/crypto.h:31:0,
==> default: from /usr/include/openssl/comp.h:16,
==> default: from /usr/include/openssl/ssl.h:47,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.hpp:21,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl.hpp:108,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:17:
==> default: /usr/include/openssl/ossl_typ.h:145:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: typedef struct ssl_ctx_st SSL_CTX;
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:170:10: error: invalid use of incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: ctx->extra_certs = NULL;
==> default: ^
==> default: In file included from /usr/include/openssl/crypto.h:31:0,
==> default: from /usr/include/openssl/comp.h:16,
==> default: from /usr/include/openssl/ssl.h:47,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.hpp:21,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl.hpp:108,
==> default: from /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:17:
==> default: /usr/include/openssl/ossl_typ.h:145:16: error: forward declaration of ‘SSL_CTX {aka struct ssl_ctx_st}’
==> default: typedef struct ssl_ctx_st SSL_CTX;
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: In static member function ‘static cass::OpenSslVerifyIdentity::Result cass::OpenSslVerifyIdentity::match_common_name_ipaddr(X509*, const string&)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:281:57: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:281:77: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: In static member function ‘static cass::OpenSslVerifyIdentity::Result cass::OpenSslVerifyIdentity::match_common_name_dns(X509*, const string&)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:312:57: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:312:77: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: In static member function ‘static cass::OpenSslVerifyIdentity::Result cass::OpenSslVerifyIdentity::match_subject_alt_names_ipadd(X509*, const cass::Address&)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:352:29: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: unsigned char* ip = ASN1_STRING_data(str);
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:352:49: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: unsigned char* ip = ASN1_STRING_data(str);
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: In static member function ‘static cass::OpenSslVerifyIdentity::Result cass::OpenSslVerifyIdentity::match_subject_alt_names_dns(X509*, const string&)’:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:389:59: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:389:79: error: ‘unsigned char* ASN1_STRING_data(ASN1_STRING*)’ is deprecated (declared at /usr/include/openssl/asn1.h:553) [-Werror=deprecated-declarations]
==> default: const char* common_name = reinterpret_cast<char*>(ASN1_STRING_data(str));
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp: At global scope:
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:114:13: error: ‘void cass::crypto_locking_callback(int, int, const char*, int)’ defined but not used [-Werror=unused-function]
==> default: static void crypto_locking_callback(int mode, int n, const char* file, int line) {
==> default: ^
==> default: /home/vagrant/php-driver/lib/cpp-driver/src/ssl/ssl_openssl_impl.cpp:130:22: error: ‘long unsigned int cass::crypto_id_callback()’ defined but not used [-Werror=unused-function]
==> default: static unsigned long crypto_id_callback() {
==> default: ^
==> default: cc1plus: all warnings being treated as errors
==> default: make[2]: *** [CMakeFiles/cpp-driver.dir/src/ssl/ssl_openssl_impl.cpp.o] Error 1
==> default: make[1]: *** [CMakeFiles/cpp-driver.dir/all] Error 2
==> default: make: *** [all] Error 2


==> default: /tmp/vagrant-shell: line 109: node: command not found
==> default: dpkg: error: --compare-versions takes three arguments:
==> default:


==> default: 2017-08-02 22:14:29 (610 KB/s) - ‘composer-setup.php’ saved [305728/305728]
==> default: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/cassandra.so' - /usr/lib/php/20151012/cassandra.so: cannot open shared object file: No such file or directory in Unknown on line 0


==> default: Error connecting to 127.0.0.1: LegacyCassandra\InvalidRequestException:
==> default: Error connecting to 127.0.0.1: LegacyCassandra\InvalidRequestException:
==> default: PHP Fatal error: Uncaught Error: Class 'Cassandra' not found in /var/www/Minds/engine/Core/Data/Cassandra/Client.php:23
==> default: Stack trace:
==> default: #0 /var/www/Minds/engine/Core/Data/Client.php(34): Minds\Core\Data\Cassandra\Client->__construct(Array)
==> default: #1 /var/www/Minds/engine/Core/Provisioner/Provisioners/CassandraProvisioner.php(85): Minds\Core\data\Client::build('\Minds\Core\Dat...', Array)
==> default: #2 /var/www/Minds/engine/Core/Provisioner/Installer.php(181): Minds\Core\Provisioner\Provisioners\CassandraProvisioner->provision(Array)
==> default: #3 /var/www/Minds/engine/Controllers/Cli/Install.php(41): Minds\Core\Provisioner\Installer->setupStorage()
==> default: #4 /var/www/Minds/bin/cli.php(50): Minds\Controllers\Cli\Install->exec()
==> default: #5 {main}
==> default: thrown in /var/www/Minds/engine/Core/Data/Cassandra/Client.php on line 23

After setup, 'There seems to be a problem.'

Hi, I followed the wiki instructions for installing from windows 10.

After doing vagrant up at the end initially, I was getting some 404 error at dev.minds.io.

So I ran through npm install, gulp build, gulp build.index as noted.

Now I just see:

minds-prob

Can't find any info yet about how this might be resolved.

Thanks, Best

Trying to install having issues

Hi,

I was trying to set up a version of minds on an ubuntu server so I could start to understand it.

I have installed (following this guide https://minds.org/docs/install/download.html) all the pre-requisites (including optional) and I have tried to git (git clone https://github.com/minds/minds.git --recursive). This requires a login when it gets to the engine module. My login for here doesn't work so this engine download fails.

Then when I run bin/bootstrap-ubuntu.sh after changing the folder name from minds to Minds and giving permissions I receive error...

PHP Warning: require_once(/var/www/Minds/bin/../engine/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/Minds/bin/cli.php on line 9
PHP Fatal error: require_once(): Failed opening required '/var/www/Minds/bin/../engine/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/Minds/bin/cli.php on line 9

Which makes sense as that file is indeed missing so I obtained the https://github.com/Minds/engine.git and placed it in engine under Minds but that made no difference.

Any ideas how I fix this issue?

Any help greatly appreciated.

Thanks

Ted

After changing your password, chat unlock still uses old password.

I've recently changed my password, however to connect to my chats it will not use the new password. My understanding is that the reason for this is because your chats are encrypted with the password you use to sign up for the site.

However is there a way to change this password without creating a new account?

Install

Hi,

How to install without composer?

gulp build has an error in build.sass

10:24:06] Starting 'build.sass'...
Error in plugin 'sass'
Message:
app/stylesheets/components/mature.scss
Error: Undefined variable: "$minds-padding".
on line 128 of app/stylesheets/components/mature.scss

top: $minds-padding;

---------^

[10:24:23] Finished 'build.sass' after 18 s

(feat): polls

The one thing I can think of that's missing from the Minds feature set, is the ability to make poll posts. Where can we make it happen?

Feature request: technology overview

Dear Minds developers,

As technologists we (software developers) are often asked to recommend up and coming social networks to our friends and customers, and asked for brief reviews and analysis. As people who care about privacy we are often asked what we think the next social network will be. A lot of social networks have come and fallen by the wayside and we always seem to come up with the same core questions whenever a new arrival comes on the scene. Now I think I have after a lot of research into minds answered many of these questions to my satisfaction but it would be really useful to have answers to all of these questions available in one place so that people seeking to evaluate the platform would be able to do so. These questions include:

  • What is the network architecture of the Minds application? Is it client-server, or fully-distributed? Does it support network sharding and nodes (like Diaspora)? Is there an API compatibility layer to allow multiple Minds servers to talk to each other using some common protocol?
  • What software stack does Minds currently use? What is the original provinence and genealogy of the codebase? What other projects did it draw technical inspiration from and which was it forked from?
  • Which Minds components are open-source and which are not? How does each Minds component interrelate? Is there a shared and open API?
  • Which transports are encrypted, what encryption standards are used? What data do the Minds servers have access to? How is key exchange undertaken and who is responsible for it? How do client applications (including the browser) verify the code they are being asked to run during key exchanges and other cryptographic operations?
  • What major technical challenges were encountered in the Minds' development and what architectural decisions were made to overcome them?
  • How far is the codebase along its strategic features roadmap and what major features are still planned for future releases?

To this end I would suggest many of these questions can be simply answered diagrammatically and submitted as pages on the minds.org website and documentation. Being able to quickly answer these questions would certainly boost minds' reach within the technology and associated communities and lead to greater penetration and uptake as a result.

Furthermore, I would request more links on the minds.com homepage to minds.org, and links to this Github repository in the footer.

Ad Sharing APPLY Button

Hi there :)

This ticket is a bug report about Minds.com
I would be happy to contribute testing on Minds.com if needed

Summary

On the Ad Sharing page the APPLY button is not working

Steps to reproduce

  1. Go to https://www.minds.com/wallet/ad-sharing

  2. Click on the "Enable advertising in your account" toggle button. That now works. It was fix with that other ticket at #40

  3. Check the box titled "I agree to the Minds Merchant & Ad Sharing program Terms of Service."

  4. After that nothing happens. The APPLY button is still disable and not clickable. So the bug is that the user is not able to click on the APPLY button. Find that screenshot to clarify location.

  5. Expected result is that user should be able to click that APPLY button

  6. Things I tried but the APPLY button is still not working
    1. The following help text is confusing. It seems to be referring to other field to complete. Maybe a form. But there are none on that page.
    1. Help text: Why do you want to participate in the Minds Ad Sharing program? Please, list your other social media accounts and quantity of followers.
    1. Clear all browser cache. With hard refresh
    1. Log-out Minds.com. Then log back in. Try again.
    1. Go to https://www.minds.com/settings/general Connected with Facebook.

Notes

Using

  • Mozilla Firefox 45.8.0
  • Google Chrome Version 49.0.2623.112 (64-bit)
  • Debian 7 Wheezy
  • 64-bit

Related comment on "Help & Support" Group on Minds.com at https://www.minds.com/newsfeed/702617748613636112

Screenshot

ad---screenshot---ubertus---2017-04-22---13-04-37---wn

With infinite Minds Love ♥

Expand Hide or Collapsing Text

Sure, there are many ways to Expand and Collapse text. I am looking into these codes and I am wondering if it would be possible to incorporate into the channel timeline posting area. The code example can be found here; Thanks!
http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/

div id="headerDivImg">

<div id="titleTextImg">Let's use images!</div>

<a id="imageDivLink" href="javascript:toggle5('contentDivImg', 'imageDivLink');"><img src="/wp-includes/images/minus.png"></a>
This demo uses plus and minus images for hiding and showing your div dynamically via JavaScript.

Here is the JavaScript code:

function toggle5(showHideDiv, switchImgTag) {

        var ele = document.getElementById(showHideDiv);

        var imageEle = document.getElementById(switchImgTag);

        if(ele.style.display == "block") {

                ele.style.display = "none";

		imageEle.innerHTML = '<img src="/wp-includes/images/plus.png">';

        }

        else {

                ele.style.display = "block";

                imageEle.innerHTML = '<img src="/wp-includes/images/minus.png">';

        }

}

I found another interesting approach that use on CSS and HTML,
http://adrianroselli.com/2015/07/showhide-script-free-which-means-css-only.html

HTML

  • The Tick
    • Has superhuman strength and mass;
    • Is nigh-invulnerable;
    • Has powers that increase as the situation becomes more dramatic;
    • Does not seem to require oxygen;
    • Cannot keep his balance if his antennae are removed.
  • Sewer Urchin
    • Has slime & stench secreting spikes on his suit enable him to stick on any surface;
    • Is equipped with lemon grenades, butter shooters, bars of soap and other various apparel to aid him in his underground endeavors;
    • Has an oxygen tank and mask which enable him to breath in the thickest of sewer sludge;
    • Has a submarine that he garbage-picked.
  • Arthur
    • Has a suit that enables wobbly flight;
    • Has an accounting background.
Rerun

CSS
/* Standard Bits */

@import url(http://fonts.googleapis.com/css?family=Lato:400,700);

body {
background-color: #6D695C;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAACVBMVEUAAAAAAAAAAACDY+nAAAAAA3RSTlMmDQBzGIDBAAAAG0lEQVR42uXIIQEAAADCMHj/0NdkQMws0HEeAqvwAUGJthrXAAAAAElFTkSuQmCC);
font-size: 100%;
color: #fff;
font-family: Lato, Arial, sans-serif;
padding: 0;
margin: 0;
line-height: 1.4;
}

main {
display: block;
box-sizing: border-box;
width: 90%;
margin: 1em auto;
padding: 1em 2em;
color: #000;
background-color: rgba(204,204,204,.7);
border: .07em solid rgba(0,0,0,.5);
border-radius: .5em;
}

/* Expando Bits */

.expando {
display: none;
}

.expando:target {
display: block;
}

(Feat) NSFW/SFW filtering options?

I would like to browse from work however, there is no indication (in settings or timeline) that I can find that allows you to decide if posts marked as mature or not will appear.

Some minor enhancements & question about location of issues

First of all, Would like to ask if locations should be made on the repo of that particular module or on this module.

Other than this, Would just like to suggest some minor design tweaks, All my own opinion. Feel free to submit suggestions and I can make a PR with the changes if needed.

  • Make .newsfeed-grid and similar elements a little wider. (Default (900px), Suggested (1000px)). Would also suggest that max-width shouldn't be in the element style, Is there something going on with the JS? Slow internet so I can't look at the repo properly right now, Sorry If I'm being dumb.
  • Make notifications a popup type thing. (Like this)

Great website, Thanks for making it.

Block Channel

Hi there :) It's my first time reporting a bug about Minds.com is this the correct github project? If not could you please redirect this ticket to the correct github project.

I tried minds.com for the last few weeks. So far I love it 👍 Minds is one of my favourite alternative to YouTube and Twitter.

The following is a bug report

Summary

Blocking a Channel is not fully working. Seems like a major bug with privacy.

Steps to reproduce

  1. View any Channel page. Click on the cog wheel icon. Which is located around the top right side of the Channel. Select "Block @USERNAME" option.

  2. The bug is that the blocked Channel CAN still:
    1. View all your Channel content
    1. View all your Blogs. Set to "loggedin" or "Unlisted".

  3. The blocked Channel can NOT
    1. Subscribe to your Channel
    1. Post comment to your Channel
    1. Post comment to your Group content
    1. Post comment to your Blogs content. Set to "loggedin" or "Unlisted".

  4. Expected result is that the blocked Channel(s) should NOT be able to
    1. View all your Channel content
    1. View all your Blogs. Set to "loggedin" or "Unlisted".

If this expected result is not a bug, but by design, then this expected result is a suggestion for your consideration to improve privacy

I would be happy to contribute testing on Minds.com if needed

Notes

Related post at https://www.minds.com/newsfeed/702273945809723412

(feat): support right to left languages

im a web developer myself and can help with this. but i wonder how does it works.

i want to add a test whether a text was submitted "rtl" or "ltr" and add it as an attribute to message post request.

this, in turn, has to be saved on the database along with the message.

the third thing will be adding a "direction" style to the post display.

how should i start? (i cloned the whole thing)

(feat): add blocking to boost feeds

There are a few posts that are quite specifically designed to be advertisements, and I noticed that blocking their OP doesn't remove their boosted posts from headlines. Would it be possible to filter boosted posts from blocked posters from headlines?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.