Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default Admin view lists wrong # of active collectors #1

Closed
libbyh opened this issue Jan 30, 2017 · 15 comments
Closed

default Admin view lists wrong # of active collectors #1

libbyh opened this issue Jan 30, 2017 · 15 comments
Assignees

Comments

@libbyh
Copy link
Member

libbyh commented Jan 30, 2017

Most of these projects has at least one active collector, and it shows as active on the project's individual page.

screen shot 2017-01-30 at 12 28 06 pm

@pratik27shah
Copy link

Hi,The backend part to fix the issue has been completed with the database on the server,now i need to make changes in the code to make this functionality dynamic

@libbyh
Copy link
Member Author

libbyh commented Mar 23, 2017 via email

@pratik27shah
Copy link

on the backend their is a Db named config which consist of list of active collectors,but by default all of them were set to 0 ,so for now,,before the entire functionality is complete I changed active to 1 for all active collectors...

@libbyh
Copy link
Member Author

libbyh commented Mar 24, 2017 via email

@pratik27shah
Copy link

Yes currently I am working on it...but please take the git update to and restart the server,so that the other fixed issues can be pushed to production...

@libbyh
Copy link
Member Author

libbyh commented Mar 24, 2017

Done. Waiting to close the issue until the underlying problem is solved.

@pratik27shah
Copy link

the issue has been fixed works fine on local,,need to test on the production,,please take git update and restart server

@pratik27shah
Copy link

command to update in db db.config.update({"collectors.name":"wnipd"},{$set:{"collectors.0.active":1}},{upsert:true})

@libbyh
Copy link
Member Author

libbyh commented Mar 26, 2017 via email

@pratik27shah
Copy link

pratik27shah commented Mar 26, 2017

this is only an example to update the db manually...directly through mongo..without using the code...if required in future..this is the syntax of the command.The code changes have been made to update the active collector value only when the collector has been started

@libbyh
Copy link
Member Author

libbyh commented Apr 8, 2017

These values are wrong again. Not sure what happened here.
screen shot 2017-04-08 at 7 57 44 am

Collectors for potus45, queer-fans, and mil2 are all running.

screen shot 2017-04-08 at 7 58 41 am

@libbyh libbyh reopened this Apr 8, 2017
@pratik27shah
Copy link

needs discussion.

@libbyh
Copy link
Member Author

libbyh commented Apr 12, 2017

Let's just delete the column - users can find out what's active by clicking on the collector to view its details.

@pratik27shah
Copy link

the UI has been changed..but it is not very pleasing,I suggest you have a look at it once,before closing the issue

@libbyh
Copy link
Member Author

libbyh commented Apr 12, 2017

It looks ok. I can worry about the third column later.

@libbyh libbyh closed this as completed Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants