Coder Social home page Coder Social logo

Comments (7)

jakobfdev avatar jakobfdev commented on July 23, 2024 2

#veryofftopic

I guess is has to be RainLab.User with a capital L.

Give it a try

from october.

JohannesMP avatar JohannesMP commented on July 23, 2024

+1. Currently when you install Rainlab.Forum without Rainlab.User you get an error when trying to access the backend: http://i.imgur.com/hvseguS.png

Additionally, if the ability to disable a plugin is implemented (#75) then a plugin that is missing dependencies can be disabled be forced to be disabled, allowing it to remain installed and not cause issues.

from october.

daftspunk avatar daftspunk commented on July 23, 2024

Refs rainlab/userplus-plugin#9

from october.

october-fan avatar october-fan commented on July 23, 2024

I've been a huge fan of OctoberCMS since I completed my last project using it. Very nice work, gentlemen.

I could never understand from the get-go why plugins can't just be plain Composer packages (or can they???). I'm pretty sure this was a design decision that you did not make lightly. But I can't help saying that that you probably would not be wrestling with plugin dependency resolution if they were, since that is what Composer does right out of the box.

from october.

daftspunk avatar daftspunk commented on July 23, 2024

Hey there @october-fan! We did spend quite a bit of time exploring this option, the main problem is composer requires git to be installed and it needs ~1GB of RAM to function. In this light, composer is supported as a second class citizen (so you can use it if you want). The update process used by the October gateway simplifies everything and is much faster. Internally October handles the dependencies just fine, it lacks in the UX/UI department, which is what this issue tries to address.

from october.

valiknet18 avatar valiknet18 commented on July 23, 2024

I've some problem, when i want extend Rainlab.User plugin, and in own plugin use

public $require = [
        'Rainlab.User'
    ];

i get error

Class name is not registered for the component "RegistrationForm". Check the component plugin.

But without this definition, application worked fine

from october.

daftspunk avatar daftspunk commented on July 23, 2024

We can finally see the back of this issue. The server will now process the $require property on plugins and store those relationships. When installing a plugin, the information of those required plugins will also be supplied, the system will check if it has them and if not, it will download the entire bundle for installation.

Note the User Plus plugin has picked up its two dependencies, like a theme would.

from october.

Related Issues (20)

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.