View Issue Details

IDProjectCategoryView StatusLast Update
0005642Composr non-bundled addons[All Projects] General / Uncategorisedpublic2024-04-28 01:07
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status closedResolutionwon't fix 
Summary0005642: demonstratr: Re-work Demonstratr for v11
DescriptionRe-work the demonstratr addon for version 11 so it works with composr.app and how the server running composr.app is structured.

composr.app server has tighter security than compo.sr server. So things like root MySQL, direct git access, and domain management cannot be performed via scripts. Therefore, Demonstratr will have to operate differently.

* Set up demo.composr.app. All Demonstratr instances will fall under this sub-domain. Instead of having sub-domains for every instance (cannot do this with the tighter security), each instance will be a subdirectory on this domain. The main demo.composr.app page will just redirect to the page on composr.app for setting up a personal demo.

* Use the XML DB instead of MySQL for personal demos. We can't use root (security), so we can't create databases automatically for instances. It would be much easier just to use XML as it's flat-file (so it can simply and quickly be discarded with the instance / directory). And since these are just temporary personal demos, we don't care about the performance caveats since these will not be production sites anyway.

* Don't use templates. When someone elects to start up a personal demo, just extract the contents of the latest release into the appropriate subdirectory and do_install_to it (with the XML DB). Make sure to install pre-defined content as well.

* Keep track of running instances by member (so require a member account on composr.app to set up a personal demo. This will significantly decrease spam instances and will only allow one instance per member at a time).

* Delete installations after 7 days. Members can always create a new one if they weren't finished exploring the features. This isn't about letting members maintain their demo configuration. It's just about letting them try the features. If they want to save everything, they should install v11 themselves on their own server / host.

* Make sure instances are chrooted. Don't allow doing anything outside the instance's own subdirectory. I think Composr's hack attack system is good enough but double-check on this. Make sure even the administrator can't do anything too damaging (especially in Commandr).

* SSH and FTP cannot be automatically set up either for security reasons. Therefore, perhaps we should also specify a Demonstratr list of non-bundled addons to install as well with every instance. And make WebDAV one of them.

* Lock down any config options that should never be changed on Demonstratr instances even by admins. I think there's a hook to do this. Add a template for this in Demonstrator itself.
Additional InformationBy re-working Demonstratr over time, we can ensure members can still create personal demos to try out v11 before they install it for themselves.
TagsRoadmap: v11
Time estimation (hours)
Sponsorship open

Activities

admin

2024-03-15 20:19

administrator   ~0008399

Automated message: This issue was created using the Report Issue Wizard on the Composr homesite.

Chris Graham

2024-03-24 17:20

administrator   ~0008411

I think you should just drop that feature (keep the code, don't use it). Supporting personal demos is a cost nobody is paying for, and the very notion of hosting such things implies a bigger central authority than we want to exist going forward.
Our competitors don't do it, and it was always horribly difficult to maintain and a performance worry.
Hosting demos would be a great thing for an interested third party to provide, and then this could be linked to our site however people voted for it to be.
We also are holding back the market, as companies maybe would consider having free Composr trials if we didn't effectively do the same thing.

Patrick Schmalstig

2024-03-25 16:33

administrator   ~0008430

Last edited: 2024-03-25 16:34

View 2 revisions

Noted. I don't have enough of a justification to keep it if you desire we just drop it. It is an incredibly complex system to set up and lots of security problems to worry about for little benefit.

Should we leave it in the repos? My suggestion is we make a new repos for "archived" addons so we can keep them out of the main development branch and thus don't have to worry about it breaking anything being there and having to put unnecessary maintenance time into it.

Chris Graham

2024-03-27 13:25

administrator   ~0008448

> My suggestion is we make a new repos for "archived" addons

Great idea!

Patrick Schmalstig

2024-03-27 13:34

administrator   ~0008453

Last edited: 2024-03-27 13:35

View 2 revisions

Noted! On the repository, I was thinking we have a folder for each archived addon (by name). The contents of the folder is the Composr file structure itself for the addon (e.g. the extracted contents of the addon tar file). Or, I can just take the tar files themselves and put them up, but others won't be able to inspect code via GitLab that way.

Chris Graham

2024-03-28 13:58

administrator   ~0008468

"The contents of the folder is the Composr file structure itself for the addon" - agreed

Patrick Schmalstig

2024-04-28 01:07

administrator   ~0008694

demonstrator is up/planned for archiving

Issue History

Date Modified Username Field Change
2024-03-15 20:19 Patrick Schmalstig Tag Attached: Roadmap: v11
2024-03-15 20:23 Patrick Schmalstig Category [All Projects] General => General / Uncategorised
2024-03-15 20:23 Patrick Schmalstig Description Updated View Revisions
2024-03-15 20:26 Patrick Schmalstig Description Updated View Revisions
2024-03-24 17:20 Chris Graham Note Added: 0008411
2024-03-25 16:33 Patrick Schmalstig Note Added: 0008430
2024-03-25 16:34 Patrick Schmalstig Note Edited: 0008430 View Revisions
2024-03-27 13:25 Chris Graham Note Added: 0008448
2024-03-27 13:34 Patrick Schmalstig Note Added: 0008453
2024-03-27 13:35 Patrick Schmalstig Note Edited: 0008453 View Revisions
2024-03-28 13:58 Chris Graham Note Added: 0008468
2024-04-28 01:07 Patrick Schmalstig Assigned To => Patrick Schmalstig
2024-04-28 01:07 Patrick Schmalstig Status non-assigned => closed
2024-04-28 01:07 Patrick Schmalstig Resolution open => won't fix
2024-04-28 01:07 Patrick Schmalstig Note Added: 0008694