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

filtering users by name and account type while exporting #318

Closed
wants to merge 5 commits into from

Conversation

saga0p
Copy link

@saga0p saga0p commented Mar 27, 2022

Now the users are getting filtered according to account type and name when we export users, rather than exporting all the accounts , only the filtered accounts are getting downloaded

saurabhhere and others added 4 commits March 30, 2021 19:59
Fixed permission error coming while installing docker compose in install.md
Fixed Permission error in install.md
@saga0p saga0p closed this Mar 27, 2022
@saga0p saga0p reopened this Mar 27, 2022
@saga0p saga0p closed this Mar 27, 2022
@saga0p saga0p reopened this Mar 27, 2022
@saga0p
Copy link
Author

saga0p commented Mar 27, 2022

issue #313

@NikhilM98
Copy link
Collaborator

There are several changes which are not relevant to the issue (comments, unwanted spaces). Can you please remove them?

Also, if you look at the git diff, you'll find some "end of line" errors, can you please get rid of them too?

@saga0p
Copy link
Author

saga0p commented Apr 3, 2022

sure, I'll do that

@saga0p saga0p changed the base branch from master to dev April 4, 2022 07:29
@saga0p
Copy link
Author

saga0p commented Apr 4, 2022

@NikhilM98 done

Copy link
Owner

@llaske llaske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job. It works and it's useful.
BTW it's no longer possible to export every users which is require.
I suggest to add an option to do that in the combo to allow Students/Teacher/Admin + All.

See also my comments below and remove comments on every line of your change.

@@ -2,4 +2,4 @@ if ! [ $# -eq "3" ] ; then echo "You should provide user, password and URL" ; ex
newuser=$1
newpassword=$2
newobject="user=%7B%22name%22%3A%22${newuser}%22%2C%22role%22%3A%22admin%22%2C%22password%22%3A%22${newpassword}%22%2C%22language%22%3A%22en%22%7D"
curl -k -i -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "${newobject}" $3
curl -k -i -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "${newobject}" $3
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this change from the PR

@@ -14,7 +14,7 @@ To run Sugarizer Server using Docker and Docker Compose:

Install Docker Compose

curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" > /usr/local/bin/docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this change from the PR

@@ -1,3 +1,4 @@
version = 1.4.0
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this change from the PR

@@ -1,12806 +1,8 @@
{
"name": "sugarizer-server",
"version": "1.4.0",
"lockfileVersion": 2,
"lockfileVersion": 1,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove changes in this file from the PR

@llaske
Copy link
Owner

llaske commented Feb 4, 2023

Closed due to lack of activity.

@llaske llaske closed this Feb 4, 2023
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

Successfully merging this pull request may close these issues.

4 participants