Git Product home page Git Product logo

demo.activeadmin.info's Introduction

demo.activeadmin.info's People

Contributors

deivid-rodriguez avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar eshaiju avatar fabiolnm avatar fivell avatar gregbell avatar javierjulio avatar karoid avatar pcreux avatar seanlinsley avatar tagliala avatar timoschilling avatar ultrawebmarketing avatar varyonic avatar workgena avatar zonque avatar zorab47 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

demo.activeadmin.info's Issues

CUSTOMIZING FILTERS

I need to customize filters which are shown in the sidebar pane a new filter named SELECT should be available as a select list which contains the numbers showing the records to be displayed on that page.
By default Active admin displays 30 records in the interface . in that select list i will be having numbers like 10 20 30... and if i select a number say 10 from select list , the interface should display 10 records only

new setup

We have now a automatic deploy to Heroku if the commit is on master and passes the travis CI.

Configure `rack-attack`

We should add rack-attack to prevent abusive usage of our demo application. Main reason is that otherwise our free dyno hours are usually over by the end of the month, and the site goes offline.

undefined method `span_size' for #<Arbre::HTML::TextNode:0xaf250ddc>

activeadmin (1.0.0.pre)

When I have 2 'columns' on same page, rails throws this message:
undefined method `span_size' for #Arbre::HTML::TextNode:0xaf250ddc

Here's an example:


ActiveAdmin.register_page "Dashboard" do
    menu :priority => 1, :label => proc{ I18n.t("active_admin.dashboard") }

    content :title => proc{ I18n.t("active_admin.dashboard") } do
        columns do

        end
        columns do 

        end
    end
end

Styling of button

A minor issue but worth noting.

This happened on my iPad in Safari running iOS 11.

075c8d1d-d778-4f6e-92c6-d8091077721b

Update to Latest Active Admin Version?

Think it is worth updating this to the latest version of Active Admin? I know that you guys have been working on a lot of stuff for ActiveAdmin, so it may be useful to update this. Happy to take a stab at it too.

Make demo branch the default branch

It doesn't make sense the have a master branch with no activity. Why not make the demo branch the default and remove the master branch, that way when people clone they will get the correct branch's source code?

Empty DB and adding new records isn't working

Not sure what I missed, but I have it up but when I use the form to add new products it just redirects back to the same page. How can I populate the DB with either dummy data or get the forms working?

Github Auth as Login

To prevent spam on the demo side, we could use Github OAuth as login.

What do you think @activeadmin/owners?

Customizing dashboard

Any idea how to customize dashboard, not the columns in the sections, I am talking about the sections which are showing at the dashboard. how to customize there look and feel.

prevent heroku instance from sleeping

demo.activeadmin.info has a long startup time on heroku, thats sometimes results in a timeout, if the instance starts up in a request.

We should us a monitoring service like new relic to monitor the app, they ping demo.activeadmin.info each minute and prevent the app from going to sleep. That should resolve all the new 'demo page down' tickets.

HABT and has_many association delete example

As the title says.

The question is what kind of model do we want to delete? Currently I'm thinking of the only association User -> AdminUser, but giving that functionality in the demo site will be a big security risk.

I can provide a PR later today.

Implement a permanent IP ban

We ultimately need a permanent IP ban to prevent the unending spam. Preferably the list would be stored on disk, but on Heroku you can't rely on that for persistent storage. That seems to only leave the database. The problem with that is the database itself isn't meant to be permanent; the demo app comes with a rake task to build data so there's something to look at.

A messy workaround would be to update the rake task to copy any IPs currently in the database, then to re-insert them when the database is re-seeded.

Partial not rendering in section

Hi,

I have a section and trying to render a partial in it like this:

       section "Subscribers", :priority => 1 do
    render "user_dash"
       end

my _user_dash.html.erb file has a table and some independent text. But for some reason it renders a blank section. Is this a bug that you know of?

Thanks!

"Fork" the heroku app so we have full permissions

In order to enable continuous deployment and review apps in the app, we need ownership permissions. Unfortunately, only @gregbell has that, and he's been unreachable for a long time.

As originally suggested by @javierjulio in #67 (comment):

@deivid-rodriguez do you know if you have access to change the domain for that Heroku app? If we do, I wonder if it would just be easier for us to create a new Heroku app and deploy the demo app there. That way full ownership is shared amongst the maintainers.

We can try forking the app and pointing the domain to the new app.

For now I've deployed the latest master but I'm also opening a new issue to keep track of the progress on this.

Payments Using Paypal Gateway

How would you implement the payment side of things. This is a great demo but for newbies it falls short where it really matters. Would be grateful is someone was kind enough to give a few pointers or extend the demo for noobness sake.

Thanks for taking the time.

How to deal with comments

I think the timeouts come from to much comments in the database.

Since now we have a Heroku scheduler wich deletes the comments each hour.

I have following the logs during the first scheduler run, before it starts we have 99% timeouts, ~1 minute after the run the timeouts going down to 0%.

There are 3 way to go for the future:

  1. turing off comments (#22)
  2. IP blocking (#14)
  3. login required comments (#21)
  4. Comment Captcha
  5. cleanup
  6. delete all comments each hour (current behavior)
  7. delete comments older then x hours each hour

My opinions are:

  1. it reduce the fictionality ๐Ÿ‘Ž
  2. it never catch all IP's and sometimes to many ๐Ÿ‘Ž
  3. will stop users from trying the demo ๐Ÿ‘Ž
  4. it's ok, but nobody likes Captchas ๐Ÿ‘Ž
  5. can result in adding a comment and don't seeing it ๐Ÿ‘Ž
  6. removing old comments should not disturb anybody ๐Ÿ‘

I'm interested in, what others think about this? // cc: @seanlinsley, @pcreux, @eshaiju

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.