Rodrigo Villablanca
87dfbc13c0
SessionStore migration ( #15002 )
...
* Finished
* Fiximports
* Fix i18n
2020-07-15 18:56:28 +05:30
Doug Lauder
b317ee5cf2
MM-25394 session expired push notifications ( #14732 )
...
* new job type created that checks for expired mobile sessions and pushes notifications.
* only send session expired notifications if ExtendSessionLengthWithActivity is enabled.
* includes schema change: field added to Sessions table
2020-06-17 14:47:54 -04:00
Doug Lauder
5e59b5f70c
MM-23935 extend session expiry on user activity ( #14275 )
...
* MM-23935 extend session expiry on user activity
- if user types anything before a session expires the session will be extended to now + session length
- ensures new session expiries are not written to DB too frequently
- new session store func for updating session ExpiresAt
- session length defaults for mobile and web/ldap changed from 180 days to 30 days
2020-05-06 15:41:10 -04:00
Miguel de la Cruz
2259b7f2a8
[MM-19948] Set version on module file and internal paths ( #13186 )
...
* [MM-19948] Set version on module file and internal paths
* Fixes after merge
* Fix i18n checker error
2019-11-28 14:39:38 +01:00
jfrerich
1802c575e5
[MM-18119] Add methods for getting teams and count when query… ( #12020 )
...
* Add methods to handle include_total_count api parameter when permissions
for authenticated user is not sysadmin
* Add translations for app errors
* Add Mocks
* Add tests for new methods
* When running at the TeamStore testing level, the number of returned
teams is different than running tests individually. Fix for now and
submit help wanted do proper teardown after each test
* correct value when running test at the top level
* Add helper function to delete previous teams in db
* Instead of checking against numbers of teams returned, check against the
actual teams returned.
When creating test teams, use unique DisplaName values so the return
array will be sorted consistantly.
When testing private and public team counts, add teams that should not
be counted. Also create odd number of public/private teams for better
error protections. Don't want 1 of each type
2019-09-10 11:50:27 -05:00
Jesús Espino
fe8a0f6485
Guest accounts feature ( #11428 )
...
* MM-14139: Creating permissions for invite/promote/demote guests (#10778 )
* MM-14139: Creating permissions for invite/promote/demote guests
* Fixing tests
* Adding invite guest api endpoint (#10792 )
* Adding invite guest api endpoint
* Adding i18n
* Adding some tests
* WIP
* Migrating Token.Extra info to bigger size (2048)
* Fixing tests
* Adding client function for invite guests
* Adding send guests invites tests
* Renaming file from guest to guest_invite
* Adding Promote/Demote users from/to guest endpoints (#10791 )
* Adding Promote/Demote users from/to guest endpoints
* Adding i18n translations
* Adding the client functions
* Using getQueryBuilder function
* Addressing PR review comments
* Adding default channels to users on promte from guest (#10851 )
* Adding default channels to users on promte from guest
* Addressing PR review comments
* Fixing merge problems
* Sending websockets events on promote/demote (#11403 )
* Sending websockets events on promote/demote
* Fixing merge problems
* Fixing govet shadowing problem
* Fixing feature branch tests
* Avoiding leaking users data through websockets for guest accounts (#11489 )
* Avoiding leaking users data through websockets for guest accounts
* Adding tests and fixing code error
* Fixing i18n
* Allow to enable/disable guests and other extra config settings (#11481 )
* Allow to enable/disable guests and other extra config settings
* Fixing tests and moving license and config validation to api level
* Update api4/role_test.go
Co-Authored-By: George Goldberg <george@gberg.me >
* Update api4/role_test.go
Co-Authored-By: George Goldberg <george@gberg.me >
* Fixing typo
* fixing tests
* Managing correctly the guest channel leave behavior (#11578 )
* MM-15134: Removing guests from teams or system on leave channels if needed
* WIP
* No deactivating the guest user when leave the last team
* Adding a couple of tests
* Fixing shadow variables
* Fixing tests
* fixing tests
* fixing shadow variables
* Adding guest counts for channel stats (#11646 )
* Adding guest counts for channel stats
* Adding tests
* Fixing tests
* Fixing guest domain restrictions (#11660 )
* Adding needed migration for the database
* Fixing migration
2019-07-22 22:13:39 +02:00
piperRyan
2f36158adb
[MM-15797] Migrate Session.Remove to Sync by default ( #11069 )
...
* [MM-15797] Migrate Session.Remove to Sync by default
* Remove unnecessary channel logic and simplify
* Refactor code to be more consistent with code base
* Rename variable to avoid shadow declaration
* Add missing checks in tests
* Regenerate the mocks
* Run gofmt over code
2019-06-13 22:02:52 +02:00
Bolarinwa Balogun
58e126b910
MM-15801 Migrate "Session.UpdateRoles" to Sync by default ( #11015 )
2019-06-12 20:45:47 +02:00
Marc Argent
b0ad3c10e9
GH-10932 Migrate 'Session.UpdateLastActivityAt' to Sync by default ( #11078 )
...
* Migrate Session.UpdateLastActivityAt to Sync by default
* GH-10932 fix tests
* GH-10932 update add session code
2019-06-11 19:40:05 +02:00
Mounica Paladugu
978ee13262
Migrate Session.RemoveAllSessions to Sync by default ( #11037 )
2019-06-06 16:03:20 +01:00
KimSeungHyeon
367ffbfb42
MM - 15795 Migrate "Session.GetSessions" to Sync by default ( #11000 )
2019-06-04 06:15:31 +02:00
Bolarinwa Balogun
4cfe61393b
[MM-15802] Migrate "Session.UpdateDeviceId" to Sync by default ( #11017 )
2019-06-03 16:16:50 +02:00
Woolim Cho
d1f81842a5
[MM-15799] Migrate "Session.PermanentDeleteSessionsByUser" to Sync by default ( #11038 )
2019-06-03 13:22:02 +02:00
GianOrtiz
ec20d3a844
MM-15794 Migrate "Session.Get" to Sync by default ( #10990 )
2019-05-30 23:22:19 +02:00
Evan do Carmo
ae6fed827a
#10939 Migrate "Session.Save" to Sync by default ( #10944 )
...
* Migrate "Session.Save" to Sync by default
* fixing unreachable code
* removing shadowing
* whitespace changes, refactoring flow control logic
* removing unnecessary whitespace
2019-05-30 12:10:24 -04:00
Bolarinwa Balogun
bdcee4d979
MM-15796 Migrate "Session.GetSessionsWithActiveDeviceIds" to Sync by default ( #10954 )
...
* MM-15796 Migrate "Session.GetSessionsWithActiveDeviceIds" to Sync by default
* Change API Call to use Sync approach
2019-05-28 15:55:04 +02:00
Bolarinwa Balogun
674b6f2285
[MM-15803] Migrate "Session.AnalyticsSessionCount" to Sync by default ( #10948 )
...
* [MM-15803] Migrate "Session.AnalyticsSessionCount" to Sync by default
* Use Explict Async for sessionChan in analytics.go
2019-05-27 18:54:46 +02:00
Jesús Espino
6bf09e2c34
MM-11384: Add system install date information to the client config ( #9218 )
...
* MM-11384: Add system install date information to the client config
* Fixing translation text
* Fixes from Peer Review
2018-08-08 12:04:36 +02:00
George Goldberg
1f65f0e3d6
MM-10233: Add scheme importing to bulk importer. ( #8928 )
2018-06-21 12:02:35 +01:00
Christopher Speller
d8dd271e43
MM-4998 Adding LoginIdAttribute to allow LDAP users to change their login ID without losing their account ( #8756 )
...
* Adding LoginIdAttribute
* Modifying LDAP to use loginIDAttribute.
* Adding IDAttribute migration and AD objectGUID support.
* Removing unused idea.
* Fix typo.
2018-05-10 09:46:09 -07:00
Joram Wilander
dce0616305
ABC-73 Move session clean-up to daily task ( #8095 )
...
* Move session clean-up to daily task
* Split delete query into batches
2018-01-17 08:50:49 -05:00
Chris
6f6005c617
Store mocks ( #7724 )
...
* store mocks
* add example
2017-10-26 11:36:54 -05:00