Comments (15)
Hi!
You should see a "powerbox request" menu appear, giving you the option to select any of your grains to add to the collection.
What browser are you using? Do you see any errors in the browser debug console? Is this on Oasis or on a private Sandstorm instance?
from collections-app.
I attached the menu I see:
Neither clicking on "Add grain.." nor on "+" trigger any functionality, not even a message in the debug console. Looking on the registered handlers for the corresponding button-tag it seems that the handler to tr.add-grains is "emptyFunction()", maybe that is a hint?
I use chrome on a chromebook (56.0.2920.0 dev (64-bit)) and the sandstorm-instance is private, using also a private wildcard-certificate.
from collections-app.
Is the certificate self-signed? Do you have any ad-blocking plugins enabled?
from collections-app.
The certificate is signed by a CA that is installed on the client side. All other installed apps on our sandstorm-instance work flawlessly with this setup. No ad-blocking plugin is enabled.
from collections-app.
Do you see the same behavior in a Collections grain on Oasis? You can try through the demo: https://oasis.sandstorm.io/apps
from collections-app.
No, on the demo-site I actually do get a "Powerbox request" menu.
from collections-app.
Clicking on the "add grain" row initiates a postMessage()
to the grain iframe's parent frame. The grain is served from your WILDARD_HOST
, and the parent is server from BASE_URL
. Is your WILDCARD_HOST
not a subdomain of your BASE_URL
? I vaguely remember hearing about other people getting in trouble when that was the case. @paulproteus probably knows more than I do about such problems.
from collections-app.
(oops, I intially tagged the wrong person for @paulproteus)
from collections-app.
I expect that the (+) button in the Wekan app under "members" will also not work for you on your private server, because it uses a similar powerbox postMessage()
.
from collections-app.
these are our settings in the sandstorm.conf:
BASE_URL=https://foo.bar.com
WILDCARD_HOST=sandstorm-*.foo.bar.com:443
Semantically, WILDCARD_HOST refers to subdomains underneath of BASE_URL. Maybe there is a formal mismatch?
Indeed, in the Wekan app, I can not add members.
from collections-app.
Does it help to remove the ":443" from the WILDCARD_HOST
?
from collections-app.
Bazinga, that worked indeed! I can now add grains to the collection!
Thanks for the tip!
PS: I blindly followed someone's HOWTO on how to setup a self-hosted, wildcarded sandstorm instance and, IIRC, providing the port on the WILDCARD_HOST was part of it.
from collections-app.
Cool! I'm happy to have helped.
If you happen to still have a link to that tutorial, I'd be interested in seeing it.
from collections-app.
Thanks to both of you for looking into this and discovering the solution, and I'm looking forward to making it harder to make these kinds of mistakes.
from collections-app.
I'm can't recall the links to the various resources/howtos I used other than the sandstorm-docs - the links I get from google right now aren't the ones I used.
However, actually, it might very well be I was confused about this (from the sandstorm FAQ):
Make sure the WILDCARD_HOST has valid syntax. In the Sandstorm config file (typically /opt/sandstorm/sandstorm.conf), look for the WILDCARD_HOST config item. Note that this should not have a protocol as part of it but does need a port number if BASE_URL specifies a port number. A valid line might be:
WILDCARD_HOST=*.yourname.sandcats.io:6080
(highlight is mine) I probably ignored the highlighted part and simply extrapolated from ":6080" to ":443".
from collections-app.
Related Issues (12)
- reverse collection ID storage to grainID HOT 2
- Feature request: bulk add to Collections HOT 4
- Grains dropped from collection if unlinked/renamed
- UiView.PowerboxTag.title is not filled in when calling offer() HOT 2
- Feature Request: See what permissions are granted for each grain HOT 2
- search not working when adding grains HOT 2
- Should it be possible to add a collection to itself? Twice? HOT 2
- Feature request: collections across sandstorm servers HOT 1
- Feature request: "Add to collection" function HOT 1
- Grain renames not updating in collection HOT 2
- Feature request: sorting of grains HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collections-app.