summaryrefslogtreecommitdiffstats
path: root/api/team.go
Commit message (Collapse)AuthorAgeFilesLines
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-23/+23
|
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-011-16/+10
|
* Merge branch 'release-4.1'Christopher Speller2017-08-171-4/+4
|\
| * PLT-7336: Fix team API endpoints.George Goldberg2017-08-111-3/+3
| |
| * Minor updates to teamJoramWilander2017-08-081-1/+1
| |
* | PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-1/+1
|/ | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* PLT-6198: Use added to channel system message on default channels. (#5969)George Goldberg2017-04-041-1/+1
| | | | Use a different sytem message when a user was added to a default channel by someone else than when they joined themselves.
* PLT-5900 Removed automatic configuration of SiteURL (#5952)Harrison Healey2017-04-041-5/+5
| | | | | | | | | | | | | | | | * Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)" This reverts commit a8e68bd8905972ae59de90fa33d5b3e3c274dc47. * Removed automatic configuration of SiteURL * Reverted unintentional config changes * Updated help text * Added link to docs in Site URL warning * Fixed merge conflict
* PLT-5765 Passed SiteURL to SendNotifications (#5705)Harrison Healey2017-03-101-4/+4
|
* Implement a few team endpoints for APIv4 (#5296)Joram Wilander2017-02-071-1/+1
| | | | | | | | * Implement GET /teams/{team_id} endpoint for APIv4 * Implement GET /users/{user_id}/teams endpoint for APIv4 * Implement GET /teams/{team_id}/members/{user_id} endpoint for APIv4
* Fix adding user to team and add test check (#5172)Joram Wilander2017-01-231-1/+1
|
* Move permissions code into app package (#5146)Joram Wilander2017-01-231-134/+41
| | | | | | * Move permissions code into app package * Revert getPosts permission
* Move Slack Import to App Layer. (#5135)George Goldberg2017-01-201-1/+1
|
* Migrate functions to app package (#5106)Joram Wilander2017-01-191-417/+91
| | | | | | | | | | | | | | | | | | * Refactor and move session logic into app package * Refactor email functions into the app package * Refactor password update into app package * Migrate user functions to app package * Move team functions into app package * Migrate channel functions into app package * Pass SiteURL through to app functions * Update based on feedback
* Refactor and migrate more functions out of api into app package (#5063)Joram Wilander2017-01-131-1/+4
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-126/+55
| | | | | | | | | | * Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge
* Allow joining team from an invite before setting up MFA (#5022)Joram Wilander2017-01-091-1/+1
|
* Fix SiteURL in join team email (#4979)Joram Wilander2017-01-061-5/+5
|
* Removing old signup team API (#4950)Christopher Speller2017-01-041-52/+0
|
* Removing old createTeamFromSignup api (#4945)Christopher Speller2017-01-031-89/+1
|
* Remove new user event handling on client (#4822)Joram Wilander2016-12-221-5/+0
|
* Fix teams unread count (#4848)enahum2016-12-211-2/+31
| | | | | | | | * Fix teams unread * Moving logic out of the store * fix unit test
* Adding metrics for caching mechanisms (#4828)Christopher Speller2016-12-191-1/+1
|
* PLT-4167 Team Sidebar (#4569)enahum2016-12-191-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-4167 Team Sidebar * Address feedback from PM * change route from my_members to members * bug fixes * Updating styles for teams sidebar (#4681) * Added PM changes * Fix corner cases * Addressing feedback * use two different endpoints * Bug fixes * Rename model and client functions, using preferences to store last team and channel viewed * Fix mobile notification count and closing the team sidebar * unit test, fixed bad merge and retrieve from cached when available * bug fixes * use id for last channel in preferences, query optimization * Updating multi team css (#4830)
* Add API call to get a team by its name (#4690)Carlos Tadeu Panato Junior2016-12-081-0/+22
| | | | | | | | | | * Add API call to get a team by its name * add tests for client side and update route regex * remove action * add check for permissions and create tests
* PLT-4853 Adding cache purging to the server (server) (#4735)Corey Hulen2016-12-081-2/+1
| | | | | | * PLT-4853 Adding caching invalidation to HA * PLT-4853 Adding cach purging to the server
* Improving command line interface (#4689)Christopher Speller2016-12-061-36/+20
|
* Add Team Description to the Team Settings (#4652)Carlos Tadeu Panato Junior2016-12-011-0/+2
| | | | | | | | | | | | | | * draft * Add Team Description to the Team Settings * add tooltips for team description * made changes per PM review * add message when there is no description set in the team * squash
* PLT-4429 disabling at_all at_channel metions mentions when channel has more ↵Corey Hulen2016-11-241-1/+1
| | | | | | | | | | | | than 1k users (#4627) * PLT-4429 disabling explicit mentions when channel has more than 1k users * Fixing test case * Adding setting to the admin console * Fixing bad translation
* PLT-4618 Fix email subjects (#4537)enahum2016-11-141-6/+4
|
* PLT-4481 Fix member count for team user lists and channel invite list (#4422)Joram Wilander2016-11-041-5/+16
| | | | | | * Fix member count for team user lists and channel invite list * Fix client unit test
* Fixing websocket and team store issues when leaving team (#4412)Christopher Speller2016-11-011-4/+6
|
* PLT-4430 improve slow channel switching (#4331)enahum2016-10-271-4/+4
| | | | | | | | | | * PLT-4430 improve slow channel switching * Update client side unit tests * Convert getChannelsUnread to getMyChannelMembers and address other feedback * Pull channel members on websocket reconnect
* PLT-4165 removing team name reserved words (#4289)Corey Hulen2016-10-211-1/+1
|
* Merging performance branch into master (#4268)Joram Wilander2016-10-191-9/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * improve performance on sendNotifications * Fix SQL queries * Remove get direct profiles, not needed anymore * Add raw data to error details if AppError fails to decode * men * Fix decode (#4052) * Fixing json decode * Adding unit test * Initial work for client scaling (#4051) * Begin adding paging to profiles API * Added more paging functionality * Finish hooking up admin console user lists * Add API for searching users and add searching to all user lists * Add lazy loading of profiles * Revert config.json * Fix unit tests and some style issues * Add GetProfilesFromList to Go driver and fix web unit test * Update etag for GetProfiles * Updating ui for filters and pagination (#4044) * Updating UI for pagination * Adjusting margins for filter row * Adjusting margin for specific modals * Adding relative padding to system console * Adjusting responsive view * Update client user tests * Minor fixes for direct messages modal (#4056) * Remove some unneeded initial load calls (#4057) * UX updates to user lists, added smart counts and bug fixes (#4059) * Improved getExplicitMentions and unit tests (#4064) * Refactor getting posts to lazy load profiles correctly (#4062) * Comment out SetActiveChannel test (#4066) * Profiler cpu, block, and memory profiler. (#4081) * Fix TestSetActiveChannel unit test (#4071) * Fixing build failure caused by dependancies updating (#4076) * Adding profiler * Fix admin_team_member_dropdown eslint errors * Bumping session cache size (#4077) * Bumping session cache size * Bumping status cache * Refactor how the client handles channel members to be large team friendly (#4106) * Refactor how the client handles channel members to be large team friendly * Change Id to ChannelId in ChannelStats model * Updated getChannelMember and getProfilesByIds routes to match proposal * Performance improvements (#4100) * Performance improvements * Fixing re-connect issue * Fixing error message * Some other minor perf tweaks * Some other minor perf tweaks * Fixing config file * Fixing buffer size * Fixing web socket send message * adding some error logging * fix getMe to be user required * Fix websocket event for new user * Fixing shutting down * Reverting web socket changes * Fixing logging lvl * Adding caching to GetMember * Adding some logging * Fixing caching * Fixing caching invalidate * Fixing direct message caching * Fixing caching * Fixing caching * Remove GetDirectProfiles from initial load * Adding logging and fixing websocket client * Adding back caching from bad merge. * Explicitly close go driver requests (#4162) * Refactored how the client handles team members to be more large team friendly (#4159) * Refactor getProfilesForDirectMessageList API into getAllProfiles API * Refactored how the client handles team members to be more large team friendly * Fix js error when receiving a notification * Fix JS error caused by current user being overwritten with sanitized version (#4165) * Adding error message to status failure (#4167) * Fix a few bugs caused by client scaling refactoring (#4170) * When there is no read replica, don't open a second set of connections to the master database (#4173) * Adding connection tacking to stats (#4174) * Reduce DB writes for statuses and other status related changes (#4175) * Fix bug preventing opening of DM channels from more modal (#4181) * Fixing socket timing error (#4183) * Fixing ping/pong handler * Fixing socket timing error * Commenting out status broadcasting * Removing user status changes * Removing user status changes * Removing user status changes * Removing user status changes * Adding DoPreComputeJson() * Performance improvements (#4194) * * Fix System Console Analytics queries * Add db.SetConnMaxLifetime to 15 minutes * Add "net/http/pprof" for profiling * Add FreeOSMemory() to manually release memory on reload config * Add flag to enable http profiler * Fix memory leak (#4197) * Fix memory leak * removed unneeded nil assignment * Fixing go routine leak (#4208) * Merge fixes * Merge fix * Refactored statuses to be queried by the client rather than broadcast by the server (#4212) * Refactored server code to reduce status broadcasts and to allow getting statuses by IDs * Refactor client code to periodically fetch statuses * Add store unit test for getting statuses by ids * Fix status unit test * Add getStatusesByIds REST API and move the client over to use that instead of the WebSocket * Adding multiple threads to websocket hub (#4230) * Adding multiple threads to websocket hub * Fixing unit tests * Fixing so websocket connections from the same user end up in the same… (#4240) * Fixing so websocket connections from the same user end up in the same list * Removing old comment * Refactor user autocomplete to query the server (#4239) * Add API for autocompleting users * Converted at mention autocomplete to query server * Converted user search autocomplete to query server * Switch autocomplete API naming to use term instead of username * Split autocomplete API into two, one for channels and for teams * Fix copy/paste error * Some final client scaling fixes (#4246) * Add lazy loading of profiles to integration pages * Add lazy loading of profiles to emoji page * Fix JS error when receiving post in select team menu and also clean up channel store
* PLT-3734 Cleaning up shouldSendEvent function (#4024)enahum2016-09-271-3/+5
| | | | | | * PLT-3734 Cleaning up shouldSendEvent function * Fix LHS unread highlight and jewel mentions
* Fixing update roles API (#4060)Christopher Speller2016-09-221-0/+57
|
* Modifying permissions system. (#3897)Christopher Speller2016-09-131-32/+30
|
* Some improvments to slack import (#4010)Christopher Speller2016-09-121-2/+6
|
* Changed /teams/all api to only return teams the current user is a member of ↵Harrison Healey2016-08-221-4/+11
| | | | if they're not an admin (#3853)
* PLT-3822 after admin leaves team he cannot get admin access anymore (#3814)Corey Hulen2016-08-171-4/+5
|
* PLT-3881 Fix websocket errors after leaving the team (#3815)Corey Hulen2016-08-171-0/+2
|
* Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-121-2/+2
|
* PLT-2863 adding remove user from team (#3429)Corey Hulen2016-07-061-4/+111
| | | | | | | | | | | | | | * PLT-2863 adding remove user from team * PLT-2863 adding the client side UI * Fixing trailing space * Fixing reported issues * Adding documentatino * Switching to final javascript driver
* PLT-3346/PLT-3342/PLT-3360 EE: Add the ability to restrict channel ↵Joram Wilander2016-07-061-2/+2
| | | | | | | | management permissions (#3453) * EE: Add the ability to restrict channel management permissions * Always allow last user in a channel to delete that channel
* enabled team creation for sysadmins (#3433)David Lu2016-06-301-1/+1
|
* EE: Add the ability to restrict the user roles that can send team invites ↵Joram Wilander2016-06-291-1/+13
| | | | (#3442)
* PLT-3261 Fix Can't create a team with GitLab if the email domain is ↵enahum2016-06-211-0/+7
| | | | restricted (#3379)