colibri-software / locomotive_plugins

This gem is used to develop plugins for Locomotive CMS
16 stars 11 forks source link

Production ready #2

Open nonfungibletunji opened 10 years ago

nonfungibletunji commented 10 years ago

Have you used this gem in a production environment. Will the changes to locomotivecms v3 change this gem structure?

greeneca commented 10 years ago

Yes we are currently using it in our production app serving up about 30 sites. Hopefully The new changes will not affect any plugins developed too much but it will probably require this gem to be changed.

nonfungibletunji commented 10 years ago

Thanks for the reply. I am going to try the basic authentication. I need to be able to authenticate users/people and have them update a profile and protected pages, password resets for lost passwords, etc.

S. Tunji Turner Sightuary :: @sightuary

On May 21, 2014, at 8:11, greeneca notifications@github.com wrote:

Yes we are currently using it in our production app serving up about 30 sites. Hopefully The new changes will not affect any plugins developed too much but it will probably require this gem to be changed.

— Reply to this email directly or view it on GitHub.

greeneca commented 10 years ago

The basic auth plugin won't do that for you unfortunately. It will just let you do http basic auth on some of your pages. We have an Identity Plugin that will do most of that. I will see if I can open source it.

nonfungibletunji commented 10 years ago

Thx. I will help contribute to fixes and testing. Any timetable? Or email to take this conversation offline.

S. Tunji Turner Sightuary :: @sightuary

On May 21, 2014, at 10:08, greeneca notifications@github.com wrote:

The basic auth plugin won't do that for you unfortunately. It will just let you do http basic auth on some of your pages. We have an Identity that will do most of that. I will see if I can open source it.

— Reply to this email directly or view it on GitHub.

greeneca commented 10 years ago

I have open sourced the plugin. You can find it here https://github.com/colibri-software/identity_plugin

nonfungibletunji commented 10 years ago

gem 'locomotive_plugins', '~> 1.0', :git => 'git://github.com/colibri-software/locomotive_plugins.git'

was needed to get the latest version with the HAML updates, do i need :require => 'locomotive/plugin'

greeneca commented 10 years ago

The locomotive plugins gem should be included in the gemspec of any plugins you generate. It dosen't need to be included in your Gemfile of your main engine app. I usually add require 'locomotive_plugins' in the main file in the gem lib folder.

Charlie Greene greeneca@gmail.com

On Mon, Jun 9, 2014 at 12:44 PM, S. Tunji Turner notifications@github.com wrote:

gem 'locomotive_plugins', '~> 1.0', :git => 'git:// github.com/colibri-software/locomotive_plugins.git'

was needed to get the latest version with the HAML updates, do i need :require => 'locomotive/plugins'

— Reply to this email directly or view it on GitHub https://github.com/colibri-software/locomotive_plugins/issues/2#issuecomment-45505802 .

nonfungibletunji commented 10 years ago

so if i was using the identity plugin, that would be included in the gemfile of the main app.

On Jun 9, 2014, at 11:54 AM, greeneca notifications@github.com wrote:

The locomotive plugins gem should be included in the gemspec of any plugins you generate. It dosen't need to be included in your Gemfile of your main engine app. I usually add require 'locomotive_plugins' in the main file in the gem lib folder.

Charlie Greene greeneca@gmail.com

On Mon, Jun 9, 2014 at 12:44 PM, S. Tunji Turner notifications@github.com wrote:

gem 'locomotive_plugins', '~> 1.0', :git => 'git:// github.com/colibri-software/locomotive_plugins.git'

was needed to get the latest version with the HAML updates, do i need :require => 'locomotive/plugins'

— Reply to this email directly or view it on GitHub https://github.com/colibri-software/locomotive_plugins/issues/2#issuecomment-45505802 .

— Reply to this email directly or view it on GitHub.

greeneca commented 10 years ago

Yes you need to include the identity plugin in the main app gem file under the group locomotive_plugins

Charlie Greene greeneca@gmail.com

On Mon, Jun 9, 2014 at 1:00 PM, S. Tunji Turner notifications@github.com wrote:

so if i was using the identity plugin, that would be included in the gemfile of the main app.

On Jun 9, 2014, at 11:54 AM, greeneca notifications@github.com wrote:

The locomotive plugins gem should be included in the gemspec of any plugins you generate. It dosen't need to be included in your Gemfile of your main engine app. I usually add require 'locomotive_plugins' in the main file in the gem lib folder.

Charlie Greene greeneca@gmail.com

On Mon, Jun 9, 2014 at 12:44 PM, S. Tunji Turner < notifications@github.com> wrote:

gem 'locomotive_plugins', '~> 1.0', :git => 'git:// github.com/colibri-software/locomotive_plugins.git'

was needed to get the latest version with the HAML updates, do i need :require => 'locomotive/plugins'

— Reply to this email directly or view it on GitHub < https://github.com/colibri-software/locomotive_plugins/issues/2#issuecomment-45505802>

.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub https://github.com/colibri-software/locomotive_plugins/issues/2#issuecomment-45507903 .