-
Notifications
You must be signed in to change notification settings - Fork 17
Tn/add groups #762
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
Merged
Merged
Tn/add groups #762
Changes from 1 commit
Commits
Show all changes
108 commits
Select commit
Hold shift + click to select a range
70f818b
create tables for user groups
TylerNoblett 31a2454
add slug to group
TylerNoblett 39e08a3
combine two migrations into one
TylerNoblett ca5354d
add user group functions and tests
TylerNoblett 09b2e28
basic group page UI but no group data
TylerNoblett c435c6f
Group list page is working correctly
TylerNoblett 6e05303
add users when creating group (FE & BE)
TylerNoblett f8e23f9
fix test to match new return items
TylerNoblett 10f4929
add seed data
TylerNoblett c627fbe
add test to list
TylerNoblett 1388f82
support showing groups with no users
TylerNoblett d700db0
clean up css on modal
TylerNoblett 69d9677
remove outdated TODOs
TylerNoblett 943a8c9
add length check of usergroups to test
TylerNoblett 5ab3320
set user selector columns less far apart
TylerNoblett d8f703e
remove TODOs due to complexity
TylerNoblett 55f05df
fix hide deleted groups
TylerNoblett 9737e12
clean up if statement
TylerNoblett c44e705
lint fixes
TylerNoblett a40d5cd
add missing migration
TylerNoblett b9de1a0
fix pagination bug
TylerNoblett f90f994
get checkbox to look like others
TylerNoblett b40d01c
set up delete route
TylerNoblett bc86eeb
correct test
TylerNoblett 0bda32f
fix testing error issues
TylerNoblett 959e05d
add name field to user groups
TylerNoblett 64ad3a0
modify user group is working
TylerNoblett a80d006
bug fix - show all deleted groups as deleted
TylerNoblett 02d1f84
fix bug when there are no groups
TylerNoblett 54fb599
break test into two
TylerNoblett 5629f57
add modify test
TylerNoblett da4d8f1
add additoinal TODO
TylerNoblett 596a34a
add slug cleaning to user groups
TylerNoblett fd1ee40
get rid of unused helper func
TylerNoblett 97d0296
fix console error message by adding in key
TylerNoblett 9621a5a
change names to match convention
TylerNoblett 116c6dd
change var name for clarity
TylerNoblett 3d931ce
make name shorter
TylerNoblett 092cc9a
remove duplicate struct
TylerNoblett 7affcbb
add frontend to opertion for user groups
TylerNoblett 62c4469
mimic endpoints for groups
TylerNoblett 9eb422f
fix endpoints
TylerNoblett 4c02cc2
get group functionality working
TylerNoblett f73c27c
edit group role
TylerNoblett f316bac
fix bug where op wasn't showing up via group
TylerNoblett 2c7d3bb
fix bug where user viewed op after group deletion
TylerNoblett 4e8433c
remove unused refs & outdated TODOs
TylerNoblett eb3ae22
add todos
TylerNoblett b786ae5
remove outdate todos
TylerNoblett 4bc358a
correct misspelling
TylerNoblett 4d204e3
endpoints can now be accessed by op admin
TylerNoblett 396ca87
add permission checks to non-admin routes
TylerNoblett 137f685
change column name to match convention
TylerNoblett db6b365
add permission check for operation group
TylerNoblett 2b6de84
add tests for adding and removing users
TylerNoblett f63cc49
add test for SetUserGroupOperationRole
TylerNoblett 8b854e4
add additonal tests for new functions
TylerNoblett 0f0b061
remove completed TODOS
TylerNoblett 0d875df
fix issues with modify endpoint/test
TylerNoblett 95552f2
make labels sing or plural
TylerNoblett f2feffa
allow admins of all types to view groups
TylerNoblett bc71321
remove duplicate line
TylerNoblett ade301c
fix where clause for user groups
TylerNoblett 726885f
simplify logic
TylerNoblett 444d822
add return values for user group funcs
TylerNoblett 14c5f0f
add back line I accidentally removed
TylerNoblett 0c2ab8f
remove function to enable transactions
TylerNoblett ab24a0e
ensure user don't create duplicate named groups
TylerNoblett 66aea87
change add users to use transaction
TylerNoblett 5abcd46
break up ListUserGroupsForAdmin
TylerNoblett 472097b
remove todo that wasn't actually an issue
TylerNoblett ca07d68
correct typo
TylerNoblett d6c4fd8
fix react render error
TylerNoblett 22700f1
patch name now showing up (look into fix later)
TylerNoblett a434ef4
use formfield API to update form
TylerNoblett 909724d
make name unique
TylerNoblett 28fb2f3
fix key error
TylerNoblett 48a46e8
fix lowercase error
TylerNoblett c07e4a2
break up funciton + add tests for user groups
TylerNoblett 2aca046
remove unneeded TODO
TylerNoblett 8d039b6
add error and get rid of todo
TylerNoblett 81185ba
add dto to gentypes
TylerNoblett f4a2746
update copywrite messages
TylerNoblett 58d621d
lint fixes
TylerNoblett ba59a45
fix copywrite
TylerNoblett da01a4f
clarify variable name
TylerNoblett 9e6705b
test if filtering deleted groups works
TylerNoblett 6f29b19
fix linting errors
TylerNoblett e2ed9ed
respond to Joel's feedback
TylerNoblett ce31c95
Update backend/services/helpers_test.go
0c17dfa
fix formatting error
TylerNoblett ca7a2a6
swtiched to transaction
TylerNoblett 54226f6
update date on checkbox file
b95f03c
simplify input names
TylerNoblett 0e47fed
combine two operations into one
TylerNoblett 7420085
use a transaction for grouped ops
TylerNoblett a4e2f89
update param name for clarity
TylerNoblett 7528b33
reduce multiple queries into one
TylerNoblett 26e939f
iterate through userSlugs once instead of twice
TylerNoblett 3490857
simplify sql query for users
TylerNoblett 9624629
correct test and clarify var name
TylerNoblett 9b96df8
Update frontend/src/pages/admin_modals/index.tsx
734ce73
simplify updating logic
TylerNoblett 14d61ad
Simplify AddUsersToGroup Query
72cf448
remove unused fmt
TylerNoblett 90cc690
merge multiple delete statements into one
TylerNoblett 021e24b
remove pagination for user groups
TylerNoblett 68e9144
fix tests now that paginatino is gone
TylerNoblett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.